]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
23 months agokbd: upgrade 2.6.1 -> 2.6.2
Wang Mingyu [Thu, 31 Aug 2023 02:32:11 +0000 (10:32 +0800)] 
kbd: upgrade 2.6.1 -> 2.6.2

Changelog:
==========
loadkeys:
    Don't look for keymap in the current directory.

keymaps:
    Add colemak mod-dh keymaps.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agogit: upgrade 2.41.0 -> 2.42.0
Wang Mingyu [Thu, 31 Aug 2023 02:30:38 +0000 (10:30 +0800)] 
git: upgrade 2.41.0 -> 2.42.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agoell: upgrade 0.57 -> 0.58
Wang Mingyu [Thu, 31 Aug 2023 02:30:05 +0000 (10:30 +0800)] 
ell: upgrade 0.57 -> 0.58

Changelog:
 Add support for handling sysctl settings.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobluez5: upgrade 5.68 -> 5.69
Wang Mingyu [Thu, 31 Aug 2023 02:28:09 +0000 (10:28 +0800)] 
bluez5: upgrade 5.68 -> 5.69

fix-check-ell-path.patch
removed since it's included in 5.69

Changelog:
=========
 Fix issue with BAP enabling state correctly when resuming.
 Fix issue with detaching source ASEs only after Stop Ready.
 Fix issue with handling VCP audio location and descriptor.
 Fix issue with generating IRK for adapter with privacy enabled.
 Add support for BAP broadcast sink.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agobind: upgrade 9.18.17 -> 9.18.18
Wang Mingyu [Thu, 31 Aug 2023 02:28:00 +0000 (10:28 +0800)] 
bind: upgrade 9.18.17 -> 9.18.18

Changelog:
============
 Deprecate the 'dialup' and 'heartbeat-interval' options.
 Ignore 'max-zone-ttl' on 'dnssec-policy insecure'.
 Return REFUSED to GSS-API TKEY requests if GSS-API support is not configured.
 Mark a primary server as temporarily unreachable if the TCP connection attempt times out.
 Don't process detach and close netmgr events when the netmgr has been paused.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agooe-depends-dot: improve '-w' behavior
Chen Qi [Wed, 30 Aug 2023 08:21:58 +0000 (01:21 -0700)] 
oe-depends-dot: improve '-w' behavior

The '-w' option is not giving very helpful information. For example,
if we add 'spice' to IMAGE_INSTALL, bitbake -g core-image-minimal,
and then run `oe-depends-dot -k nspr -w task-depends.dot', the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss
  core-image-minimal -> nss -> nspr

The result is not showing the full dependency chain which brings in nspr.
With this patch, the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss libcacard spice
  core-image-minimal -> spice -> libcacard -> nss -> nspr

This patch also fixes a typo in help message: recipe-depends.dot -> task-depends.dot.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agostress-ng: disable DEBUG_BUILD
Chen Qi [Wed, 30 Aug 2023 04:48:00 +0000 (12:48 +0800)] 
stress-ng: disable DEBUG_BUILD

We get do_compile error when DEBUG_BUILD is enabled:

  error: inlining failed in call to 'always_inline' '_mm512_storeu_si512': target specific option mismatch

To reproduce the issue, set the following lines in local.conf
and then `bitbake stress-ng'.

  MACHINE = "qemux86-64"
  DEBUG_BUILD = "1"

A new issue is filed for stress-ng to track it:
https://github.com/ColinIanKing/stress-ng/issues/315

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
23 months agokernel.bbclass: Add force flag to rm calls
Ryan Eatmon [Thu, 31 Aug 2023 19:26:29 +0000 (14:26 -0500)] 
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.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogtk4: upgrade 4.12.0 -> 4.12.1
Markus Volk [Tue, 29 Aug 2023 05:46:15 +0000 (07:46 +0200)] 
gtk4: upgrade 4.12.0 -> 4.12.1

Overview of Changes in 4.12.1, 25-08-2023
=========================================

* GtkGridView:
* Wayland:
 - Fix a crash with compositors other than gnome-shell

* Translation updates:
 Polish
 Swedish

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agosystemd-boot: remove old gummiboot TUNE_CCARGS
Jose Quaresma [Tue, 29 Aug 2023 14:34:58 +0000 (14:34 +0000)] 
systemd-boot: remove old gummiboot TUNE_CCARGS

Looks like this only is required when build with clang toolchain
and the fix is alredy merged [1] on meta-clang.

[1] https://github.com/kraj/meta-clang/commit/83c94b8690f0a2922d28d0db9907c722382263c2

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig
Jaeyoon Jung [Wed, 30 Aug 2023 12:38:56 +0000 (21:38 +0900)] 
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.

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agowic: Add gpt-hybrid partition layout
Joshua Watt [Wed, 30 Aug 2023 14:20:17 +0000 (08:20 -0600)] 
wic: Add gpt-hybrid partition layout

Add support for formatting a disk with a hybrid MBR & GPT partition
scheme. In this scheme, the primary partitioning method is GPT, but a
valid MBR header is also written than can point to a subset of the GPT
partitions on the disk (any partitions marked with the `--mbr` flag will
be included in this MBR). The primary purpose of this method is to allow
for SoCs that can only find a bootloader in an MBR partition to use GPT
once the bootloader is running. As an example, older versions of the
Raspberry Pi firmware can only parse MBR partitions to find a kernel (or
other bootloader like u-boot), but once those have booted GPT partitions
can be used.

In addition to the partitions annotated with the `--mbr`, a "protective"
GPT partition of type 0xEE is added, as the existence of such a
partition is the indication to tooling that this a hybrid MBR and that
the GPT partition table should be parsed instead.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoglib-networking: use gnutls backend for TLS sockets
Ross Burton [Thu, 31 Aug 2023 10:02:43 +0000 (11:02 +0100)] 
glib-networking: use gnutls backend for TLS sockets

As per upstream:

  There are hacks in half the tests where this backend doesn't return
  the expected error code or doesn't work as expected. I do hope to
  enable this backend by default in the future. For now, it's not there
  yet.

https://gitlab.gnome.org/GNOME/glib-networking/-/commit/8e1d80c1e0fc52d17d08a21946fa4a86ec30e1db

[RP: Add note to recipe about reasoning]
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoglib-networking: enable build with GnuTLS if PKCS#11 was disabled
Ross Burton [Thu, 31 Aug 2023 10:02:42 +0000 (11:02 +0100)] 
glib-networking: enable build with GnuTLS if PKCS#11 was disabled

If GnuTLS is built without PKCS#11 support then glib-networking will
fail to build the tests. Backport a patch to fix this issue.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinetutils: remove obsolete cruft from do_configure
Ross Burton [Thu, 31 Aug 2023 11:22:50 +0000 (12:22 +0100)] 
inetutils: remove obsolete cruft from do_configure

glob/ doesn't exist and the other files are copied by autotools.bbclass

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinetutils: remove obsolete patches
Ross Burton [Thu, 31 Aug 2023 11:22:49 +0000 (12:22 +0100)] 
inetutils: remove obsolete patches

fix-disable-ipv6.patch: we don't support uclibc, and most libcs don't
have optional support for IPv6.

inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch and
inetutils-1.8-0003-wchar.patch: these don't appear to be needed anymore.

inetutils-only-check-pam_appl.h-when-pam-enabled.patch: configure.ac
doesn't fail if PAM is disabled anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinetutils: don't guess target paths
Ross Burton [Thu, 31 Aug 2023 11:22:48 +0000 (12:22 +0100)] 
inetutils: don't guess target paths

inetutils guesses a lot of target paths in cross builds, and warns that
some of them are known to be wrong (for example, whether /proc/net/dev
exists is guessed as 'no').

Add a post-configure function to check for these warnings, and pass
--with-path-* as appropriate to set the paths explicitly.

This means we can remove the patch which was setting PATH_PROCNET_DEV,
and the autoconf cache value inetutils_cv_path_login.

The downside is that these --with-path-* options are not real autoconf
options, so the "unknown options" warning is emitted.  Losing those is
an acceptable compromise, so disable it.

Musl doesn't implement utmp and has stub defines for _PATH_UTMP but not
_PATH_UTMPX, so we need to set the X variants explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoweston: fix comment
Ulrich Ölmann [Fri, 1 Sep 2023 07:24:58 +0000 (09:24 +0200)] 
weston: fix comment

Fixes: be7da75827b4 ("weston: update 11.0.1 -> 12.0.1")
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agosite: remove at-spi2-core values
Ross Burton [Wed, 30 Aug 2023 09:36:52 +0000 (10:36 +0100)] 
site: remove at-spi2-core values

at-spi2-core is built with Meson now, so these values are not needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoyocto-uninative: Update to 4.3
Michael Halstead [Fri, 1 Sep 2023 18:37:29 +0000 (11:37 -0700)] 
yocto-uninative: Update to 4.3

Add in stable updates to glibc 2.38 to fix malloc bugs

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoREADME: Update to point to new contributor guide
Richard Purdie [Wed, 30 Aug 2023 15:31:34 +0000 (16:31 +0100)] 
README: Update to point to new contributor guide

Now we have a contributor guide combining various wiki pages, point at
that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoglibc: Add glibc 2.38 stable updates
Richard Purdie [Fri, 1 Sep 2023 10:21:20 +0000 (11:21 +0100)] 
glibc: Add glibc 2.38 stable updates

Pull in the following stable branch updates:

1aed90c9c8f8be9f68b58e96b6e4cd0fc08eb2b1 sysdeps: tst-bz21269: fix -Wreturn-type
ad9b8399537670a990572c4b0c4da5411e3b68cf sysdeps: tst-bz21269: handle ENOSYS & skip appropriately
c8ecda6251dd4a0dfe074e0a6011211cadeef742 sysdeps: tst-bz21269: fix test parameter
2af141bda3cd407abd4bedf615f9e45fe79518e2 malloc: Remove bin scanning from memalign (bug 30723)
98c293c61f770b6b7a22f89a6ea81b711ecb1952 malloc: Enable merging of remainders in memalign (bug 30723)
7ac405a74c6069b0627dc2d8449a82a621f8ff06 i686: Fix build with --disable-multiarch
6135d50e44233d8c89ca788f78c669941ad09fb9 x86_64: Fix build with --disable-multiarch (BZ 30721)
5ea70cc02626d9b85f1570153873d8648a47bf95 x86: Fix incorrect scope of setting `shared_per_thread` [BZ# 30745]
6b99458d197ab779ebb6ff632c168e2cbfa4f543 nscd: Do not rebuild getaddrinfo (bug 30709)
ced101ed9d3b7cfd12d97ef24940cb00b8658c81 x86: Fix for cache computation on AMD legacy cpus.
d97cca1e5df812be0e4de1e38091f02bb1e7ec4e stdlib: Improve tst-realpath compatibility with source fortification

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agodhcpcd: fix buffer overflow
Yi Zhao [Tue, 29 Aug 2023 11:06:35 +0000 (19:06 +0800)] 
dhcpcd: fix buffer overflow

Backport a patch to fix buffer overflow for strlcpy:

$ dhcpcd enp0s3
dhcpcd-10.0.2 starting
*** buffer overflow detected ***: terminated
dhcpcd_fork_cb: truncated read 0 (expected 4)

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>
23 months agodhcpcd: upgrade 10.0.1 -> 10.0.2
Yi Zhao [Tue, 29 Aug 2023 11:06:34 +0000 (19:06 +0800)] 
dhcpcd: upgrade 10.0.1 -> 10.0.2

Changelog:
https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.2

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>
23 months agouninative.bbclass: sync to use UNINATIVE_STAGING_DIR
Chen Qi [Tue, 29 Aug 2023 07:33:30 +0000 (15:33 +0800)] 
uninative.bbclass: sync to use UNINATIVE_STAGING_DIR

All other places in this bbclass are using ${UNINATIVE_STAGING_DIR}-uninative,
we should sync to use that too, although UNINATIVE_STAGING_DIR's default
value is STAGING_DIR.

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>
23 months agosystemd-bootchart: musl fixes have been rejected upstream
Alexander Kanavin [Mon, 28 Aug 2023 12:03:40 +0000 (14:03 +0200)] 
systemd-bootchart: musl fixes have been rejected upstream

Systemd upstream has reiterated that the only supported libc
implementation is glibc.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agowebkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES
Mingli Yu [Mon, 28 Aug 2023 08:07:33 +0000 (16:07 +0800)] 
webkitgtk: Add opengl to REQUIRED_DISTRO_FEATURES

webkitgtk depends on gtk4 which has the below logic, so add the
same logic for webkitgtk.
REQUIRED_DISTRO_FEATURES = "opengl"

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/oe-core/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb DEPENDS on or otherwise requires it)
  gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'webkitgtk', 'gtk4']

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>
23 months agocore-image-ptest: Define a fallback for SUMMARY field
Khem Raj [Sun, 27 Aug 2023 21:10:06 +0000 (14:10 -0700)] 
core-image-ptest: Define a fallback for SUMMARY field

Fixes errors like below seen with bitbake core-image-ptest-fast

WARNING: core-image-ptest-apr-util-1.0-r0 do_recipe_qa: QA Issue: Recipe core-image-ptest-apr-util in /mnt/b/yoe/master/sources/poky/meta/recipes-core/images/core-image-ptest.bb does not contain a SUMMARY. Please a
dd an entry. [missing-metadata]

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>
23 months agoqemu: Fix CVE-2023-40360
Khem Raj [Sun, 27 Aug 2023 16:38:09 +0000 (09:38 -0700)] 
qemu: Fix CVE-2023-40360

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>
23 months agoinetutils: Apply devtool formatting suggestions
Khem Raj [Sun, 27 Aug 2023 16:29:23 +0000 (09:29 -0700)] 
inetutils: Apply devtool formatting suggestions

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>
23 months agoinetutils: Fix CVE-2023-40303
Khem Raj [Sun, 27 Aug 2023 16:29:22 +0000 (09:29 -0700)] 
inetutils: Fix CVE-2023-40303

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>
23 months agopython3: Increase default thread stack size on musl
Khem Raj [Sun, 27 Aug 2023 00:27:46 +0000 (17:27 -0700)] 
python3: Increase default thread stack size on musl

default stack size for threads is approx 140k on musl which is fine in
most cases but some of python apps e.g. python3-lz4 bindings run into
thread stack size overflow. Increase the default size to 2M on musl,
glibc defaults to 8M, so we are good there.

This default stack size change is limited to interpreter and stdlib
modules only, thats why CFLAGS_NODIST instead of CFLAGS

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>
23 months agonfs-utils: Add needed library to client
Stéphane Veyret [Sat, 26 Aug 2023 22:23:07 +0000 (00:23 +0200)] 
nfs-utils: Add needed library to client

The nfs-utils recipe creates a nfs-utils-client package, which can be
used if we need to install only the client side of nfs-utils.
Unfortunately, rpc.idmapd is part of this package, and requires the
dynamic library libnfsidmap.so, which is included in the main package
nfs-utils. Therefore, nfs-utils-client has a dependency on nfs-utils, so
the server is installed, and try to be started, even on system where the
appropriate modules are not present, which causes errors.

This patch adds the needed library to the nfs-utils-client package, so
that it is now complete and does not require nfs-utils anymore.

Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocmake: upgrade to v3.27.4
Sudip Mukherjee [Sat, 26 Aug 2023 17:14:12 +0000 (18:14 +0100)] 
cmake: upgrade to v3.27.4

Changes:
Update cmcurl license checksum: change in copyright year.
Update sha256sum for new version.
Use cmake provided cppdap.
Disable debugger.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-yocto: update CVE exclusions files
Ross Burton [Fri, 25 Aug 2023 16:08:30 +0000 (17:08 +0100)] 
linux-yocto: update CVE exclusions files

No changes to the data, but the version checks are added.

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>
23 months agolinux/generate-cve-exclusions: add version check warning
Ross Burton [Fri, 25 Aug 2023 16:08:29 +0000 (17:08 +0100)] 
linux/generate-cve-exclusions: add version check warning

Embed the version that this file was generated for in the include, and
compare it to the version that is being checked.

This should act as a reminder to update the file when the kernel is
upgraded.

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>
23 months agopython3-sphinx: correct version check
Alexander Kanavin [Fri, 25 Aug 2023 10:41:58 +0000 (12:41 +0200)] 
python3-sphinx: correct version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolib/oe/recipeutils.py: accommodate SRCPV being optional and deprecated in version...
Alexander Kanavin [Fri, 25 Aug 2023 10:41:57 +0000 (12:41 +0200)] 
lib/oe/recipeutils.py: accommodate SRCPV being optional and deprecated in version check regex

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobitbake.conf: add bunzip2 in HOSTTOOLS
Alberto Planas [Fri, 18 Aug 2023 09:30:56 +0000 (11:30 +0200)] 
bitbake.conf: add bunzip2 in HOSTTOOLS

rpm2cpio.sh can make calls to bunzip2 to uncompress the RPM payload that
conform the cpio file.

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

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

The currect rpm2cpio.sh has other calls to gunzip (present in HOSTOOLS),
xzcat (missing), unlzma (missing) and unzstd (present in HOSTTOOLS since
bff58d337890e804d33d7decbaa46065a4d3bba4)

Adding the missing ones will not add any new host dependency as xz-utils
is already listed as a requirement.

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoclasses/image_types: Add vfat image type
Joshua Watt [Fri, 18 Aug 2023 16:32:44 +0000 (10:32 -0600)] 
classes/image_types: Add vfat image type

Adds support for creating FAT formatted file system images (useful for
boot partitions on some SoCs).

Note that FAT partitions are limited in what they can represent (no
symlinks or device files), so they can't really be used for general
purpose root file systems. As such, they are skipped when testing for
that purpose.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolibtraceevent: build with Meson
Ross Burton [Sun, 27 Aug 2023 19:57:44 +0000 (20:57 +0100)] 
libtraceevent: build with Meson

After what I presume is the recent kernel upgrade, perf started to fail
to configure.  This was actually due to libtraceevent racing during its
build and failing to put one of the .o files into the .so (reminder:
Make is terrible). This doesn't cause the libtraceevent build to fail so
once the broken .so is in sstate, it causes all future perf builds to
fail.

Instead of rewriting the Makefile rules to fix this race it's easier to
switch to Meson which doesn't have this sort of problem. However the
Meson support is pretty new and has some rough edges, so we need a patch
to make it do the right thing.

I will submit the libtraceevent fixes upstream shortly.

[ YOCTO #15201 ]

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>
23 months agobuildtools-tarball: Add libacl
Joshua Watt [Thu, 24 Aug 2023 14:14:30 +0000 (08:14 -0600)] 
buildtools-tarball: Add libacl

Hash equivalence need to include the ACLs in the output hash, and libacl
is used to do that so include the library in the buildtools-tarball.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoqemu: add packageconfigs for fuse and dbus-display
Markus Volk [Thu, 24 Aug 2023 10:23:17 +0000 (12:23 +0200)] 
qemu: add packageconfigs for fuse and dbus-display

glib-2.0-native is needed to provide gdbus-codegen

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>
23 months agoqemu: build pulseaudio support depending on distro_feature
Markus Volk [Thu, 24 Aug 2023 10:23:16 +0000 (12:23 +0200)] 
qemu: build pulseaudio support depending on distro_feature

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>
23 months agoqemu: fix libudev packageconfig for systemd images
Markus Volk [Thu, 24 Aug 2023 09:21:40 +0000 (11:21 +0200)] 
qemu: fix libudev packageconfig for systemd images

eudev is needed to provide libudev when not using systemd,
but including eudev breaks things for systemd. We can't
include eudev here since systemd provides libudev itself.

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>
23 months agovulkan-samples: convert debugfix.patch to git format patch
Julien Stephan [Thu, 24 Aug 2023 07:34:58 +0000 (09:34 +0200)] 
vulkan-samples: convert debugfix.patch to git format patch

devtool modify on vulkan-samples fails to apply the debugfix.patch
because it is not in one of git's known formats.

Here is the error:
ERROR: Applying patch 'debugfix.patch' on target directory '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-38uz7jyq/workdir/git'
CmdError("sh -c 'git add -f -A .'", 0, 'stdout:
stderr: fatal: not a git repository (or any of the parent directories):
.git
')

Also, rename debugfix.patch to something more meaningfull

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopatch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir
Julien Stephan [Thu, 24 Aug 2023 07:34:57 +0000 (09:34 +0200)] 
patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir

[YOCTO #14141]

Currently the gitdir is manually constructed using `git
rev-parse --show-toplevel` and appending `.git`. This is most of the time
correct but not always: `.git` can be a file with the following content:

gitdir: <some_folder>

This is the case for submodules, so when using devtool modify on a recipe
using submodules *and* patching files inside one of the submodules, do_patch
fails with the following error:

ERROR: 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:patch_do_patch(d)
     0003:
File: '<..>/poky/meta/classes-global/patch.bbclass', lineno: 157, function: patch_do_patch
     0153:        except Exception as exc:
     0154:            bb.utils.remove(process_tmpdir, True)
     0155:            bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc).replace("\\n", "\n")))
     0156:        try:
 *** 0157:            resolver.Resolve()
     0158:        except bb.BBHandledException as e:
     0159:            bb.utils.remove(process_tmpdir, True)
     0160:            bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e).replace("\\n", "\n")))
     0161:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 769, function: Resolve
     0765:    def Resolve(self):
     0766:        olddir = os.path.abspath(os.curdir)
     0767:        os.chdir(self.patchset.dir)
     0768:        try:
 *** 0769:            self.patchset.Push()
     0770:        except Exception:
     0771:            import sys
     0772:            os.chdir(olddir)
     0773:            raise
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 274, function: Push
     0270:            else:
     0271:                next = 0
     0272:
     0273:            bb.note("applying patch %s" % self.patches[next])
 *** 0274:            ret = self._applypatch(self.patches[next], force)
     0275:
     0276:            self._current = next
     0277:            return ret
     0278:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 556, function: _applypatch
     0552:        if os.path.lexists(hooks_dir_backup):
     0553:            raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup)
     0554:        if os.path.lexists(hooks_dir):
     0555:            shutil.move(hooks_dir, hooks_dir_backup)
 *** 0556:        os.mkdir(hooks_dir)
     0557:        commithook = os.path.join(hooks_dir, 'commit-msg')
     0558:        applyhook = os.path.join(hooks_dir, 'applypatch-msg')
     0559:        with open(commithook, 'w') as f:
     0560:            # NOTE: the formatting here is significant; if you change it you'll also need to
Exception: NotADirectoryError: [Errno 20] Not a directory: '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-n87_zx1i/workdir/git/third_party/spdlog/.git/hooks'

Using `git rev-parse --absolute-git-dir` instead of `git rev-parse
--show-toplevel` ensure we get the correct gitdir

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-firmware: package Dragonboard 845c sensors DSP firmware
Dmitry Baryshkov [Wed, 23 Aug 2023 17:36:10 +0000 (20:36 +0300)] 
linux-firmware: package Dragonboard 845c sensors DSP firmware

Add package with sensors DSP firmware for Qualcomm RB3 aka Dragonboard
845c platform.

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>
23 months agolinux-firmware: package audio topology for Lenovo X13s
Dmitry Baryshkov [Wed, 23 Aug 2023 17:36:09 +0000 (20:36 +0300)] 
linux-firmware: package audio topology for Lenovo X13s

Add audio topology description to the qcom-sc8280xp-lenovo-x13s-audio
package. The file is licensed is copyright by Linaro and licensed under
BSD 3-clause license.

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>
23 months agolinux-firmware: upgrade 20230625 -> 20230804
Dmitry Baryshkov [Wed, 23 Aug 2023 17:36:08 +0000 (20:36 +0300)] 
linux-firmware: upgrade 20230625 -> 20230804

License-Update: additional firmwares

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>
23 months agofile: fix call to localtime_r()
Joe Slater [Tue, 22 Aug 2023 22:28:00 +0000 (15:28 -0700)] 
file: fix call to localtime_r()

Depending on the version of glibc, localtime_r() must
be preceded by a call to tzset() or it will ignore any
value of TZ in the environment.  This problem will only
be seen when building file-native on outdated hosts.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocmake.bbclass: fix allarch override syntax
Chen Qi [Tue, 22 Aug 2023 02:14:26 +0000 (19:14 -0700)] 
cmake.bbclass: fix allarch override syntax

The override syntax should be ":allarch" instead of "_allarch".

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>
23 months agocmake: drop OE specific environment variable support
Chen Qi [Tue, 22 Aug 2023 02:14:25 +0000 (19:14 -0700)] 
cmake: drop OE specific environment variable support

CMAKE_TOOLCHAIN_FILE is now also a supported environment
variable, we can export it directly. There's no need to
use a OE specific patch to add OE_CMAKE_TOOLCHAIN_FILE
support.

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>
23 months agoless: add ptest support
Julien Stephan [Mon, 21 Aug 2023 14:38:01 +0000 (16:38 +0200)] 
less: add ptest support

add ptest support for less

root@qemux86-64:~# ptest-runner less
START: ptest-runner
2023-08-21T14:22
BEGIN: /usr/lib/less/ptest
TEST chinese1.lt
PASS: chinese1 (30 steps)
TEST colorbars.lt
PASS: colorbars (222 steps)
TEST github216.lt
PASS: github216 (143 steps)
TEST github265.lt
PASS: github265 (17 steps)
TEST github329.lt
PASS: github329 (28 steps)
TEST hdr-unicode.lt
PASS: hdr-unicode (164 steps)
TEST hdr-unicode1.lt
PASS: hdr-unicode (107 steps)
TEST proc-special.lt
PASS: proc-special (107 steps)
TEST seq200.lt
PASS: seq200 (18 steps)
TEST subsearch.lt
PASS: subsearch (59 steps)
TEST table-50x200.lt
PASS: table-50x200 (467 steps)
TEST utf8-2.txt.lt
PASS: utf8-2.txt (309 steps)
TEST version.c.lt
PASS: version.c (38 steps)
RAN  13 tests with 0 errors
DURATION: 184
END: /usr/lib/less/ptest
2023-08-21T14:25
STOP: ptest-runner
TOTAL: 1 FAIL: 0

[YOCTO #15073]

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoless: upgrade 633 -> 643
Julien Stephan [Mon, 21 Aug 2023 14:38:00 +0000 (16:38 +0200)] 
less: upgrade 633 -> 643

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa: wic: Add test for --no-table option
Markus Niebel [Mon, 21 Aug 2023 10:15:44 +0000 (12:15 +0200)] 
oeqa: wic: Add test for --no-table option

Add basic test for the --no-table wic part option.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoarch-armv8,arch-armv9: Add sve based tune options
Khem Raj [Mon, 21 Aug 2023 06:30:49 +0000 (23:30 -0700)] 
arch-armv8,arch-armv9: Add sve based tune options

(From OE-Core rev: 3109a48740546f6defc652fa1a6736dc484e6021)

Signed-off-by: Khem Raj <raj.khem@gmail.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>
23 months agotunes: Add support for sve instructions on armv8/armv9
Khem Raj [Mon, 21 Aug 2023 06:30:48 +0000 (23:30 -0700)] 
tunes: Add support for sve instructions on armv8/armv9

This helps in defining correct compiler options and configure options
for glibc and overall ABI for toolchain

(From OE-Core rev: 58330ce58719bd82530b1143623db7af7a85e897)

Signed-off-by: Khem Raj <raj.khem@gmail.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>
23 months agoperf: disable perl support
Ross Burton [Tue, 22 Aug 2023 17:00:18 +0000 (18:00 +0100)] 
perf: disable perl support

The perf support was broken and if enabled results in non-reproducible
binaries, so disable it for now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: split scripting PACKAGECONFIG into perl and python
Ross Burton [Tue, 22 Aug 2023 17:00:17 +0000 (18:00 +0100)] 
perf: split scripting PACKAGECONFIG into perl and python

There's no reason for Python and Perl support to be tied together, so
split the PACKAGECONFIG into two.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: fix perl binding support
Ross Burton [Tue, 22 Aug 2023 17:00:16 +0000 (18:00 +0100)] 
perf: fix perl binding support

The build of the perl integration has been broken for some time.

Update the PERL_* variables so that it can find libperl in the new
location.

This then fails because the Perl headers cause warnings and the feature
checks run with -Werror, so disable the errors.

The perf-dbg package then has target build paths, so set INSANE_SKIP for
now until this is resolved.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: add more PACKAGECONFIGs
Ross Burton [Tue, 22 Aug 2023 17:00:15 +0000 (18:00 +0100)] 
perf: add more PACKAGECONFIGs

libpfm4 and babeltrace are enabled if they're found, so add
PACKAGECONFIGs so that our configuration is explicit.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoperf: enable verbose feature detection
Ross Burton [Tue, 22 Aug 2023 17:00:14 +0000 (18:00 +0100)] 
perf: enable verbose feature detection

Having verbose feature detection is helpful to see exactly what has been
enabled or disabled.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoinsane.bbclass: Remove an unused variable
Peter Kjellerstedt [Wed, 23 Aug 2023 10:08:14 +0000 (12:08 +0200)] 
insane.bbclass: Remove an unused variable

The use of coremeta_path was removed with commit 61a881fdbe (insane:
Improve patch-status layer filtering) when the patch-status QA test was
generalized.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-dtc: upgrade 1.6.1 -> 1.7.0
Trevor Gamblin [Thu, 17 Aug 2023 19:02:38 +0000 (15:02 -0400)] 
python3-dtc: upgrade 1.6.1 -> 1.7.0

Changelog: https://kernel.googlesource.com/pub/scm/utils/dtc/dtc/+log/039a99414e778332d8f9c04cbd3072e1dcc62798

Remove custom PV from the recipe since the relevant functionality is in
1.7.0:

[tgamblin@megalith dtc]$ git tag --contains c001fc01a43e7a06447c06ea3d50bd60641322b8
v1.7.0

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorecipes/classes/scripts: Drop SRCPV usage in OE-Core
Richard Purdie [Fri, 11 Aug 2023 13:31:24 +0000 (14:31 +0100)] 
recipes/classes/scripts: Drop SRCPV usage in OE-Core

Now that SRCPV isn't needed we can simplify things in a few places...

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobase/package: Move source revision information from PV to PKGV
Richard Purdie [Fri, 11 Aug 2023 12:52:59 +0000 (13:52 +0100)] 
base/package: Move source revision information from PV to PKGV

Source control information being present in PV used to be a hard requirement
for bitbake to operate correctly. Now that hashes are a required part of task
stamps, this requirement no longer exists.

This means we can defer the hash pieces to PKGV and simplify PV.

Use new bitbake fetcher API to inject the source revisions directly into the hash
allowing removal of some horrible code from base.bbclass and avoiding any hardcoding
about how SRCREV may or may not be used.

Use that API to object the string to append to PKGV and append that directly.

The user visible effect of this change is that PV will no longer have revision
information in it and this will now be appended to PV through PKGV when the
packages are written. Since PV is used in STAMP and WORKDIR, users will see
small directory naming and stamp naming changes.

This will mean that sstate reuse through hash equivalence where the source
revision changes but the output does not will become possible as the sstate
naming will become less specific and no longer contain the revision.

The SRCPV variable will no longer be needed in PV and is effectively now just
a null operation. Usage can be removed over time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/utils/gitarchive: replace warning with info when reading local tags
Alexis Lothoré [Thu, 24 Aug 2023 09:18:10 +0000 (11:18 +0200)] 
oeqa/utils/gitarchive: replace warning with info when reading local tags

Whenever a script needs to list tags, if it falls back to the third method
(reading local tags only), it emits a warning. While this warning is useful
for future diagnostic if some tagging issues re-appear, it makes buildperf
autobuilds status as "Passed with warnings", which is not desirable

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/utils/gitarchive: fall back to local tags when listing existing tags
Alexis Lothoré [Wed, 23 Aug 2023 10:35:20 +0000 (12:35 +0200)] 
oeqa/utils/gitarchive: fall back to local tags when listing existing tags

e9cff55e73cc has switched tag listing from bare "git tag" to "git
ls-remote" to make sure not to miss remote tags which are not fetched
locally. This mechanism first checks for configured remote repository, next
for possibly passed url, and then fails if none worked.

However there are still cases where no remote repository is
configured and no url is provided (for instance: buildperf tests use an
empty git directory to store tests). Fix those cases by putting back the
old behavior (local tags check) as last resort, with at least a warning for
future diagnostics if we still encounter tagging issues

Fixes: e9cff55e73cc ("oeqa/utils/gitarchive: fix tag computation when creating archive")
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/utils/gitarchive: allow to pass a logger to get_tags
Alexis Lothoré [Wed, 23 Aug 2023 10:35:19 +0000 (12:35 +0200)] 
oeqa/utils/gitarchive: allow to pass a logger to get_tags

Propagate a "log" parameter to get_tags in order to know what method is
used to retrieve existing tags

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agocve_check: Fix cpe_id generation
Jasper Orschulko [Mon, 21 Aug 2023 12:02:30 +0000 (14:02 +0200)] 
cve_check: Fix cpe_id generation

Use "*" (wildcard) instead of "a" (application)in cpe_id generation,
as the product is not necessarily of type application, e.g.
linux_kernel, which is of type "o" (operating system).

(From OE-Core rev: cae9528b002c06143bf048b991b9d7e93968cb6b)

Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux/cve-exclusions: update CVE_STATUS exclusions
Ross Burton [Mon, 21 Aug 2023 12:11:59 +0000 (13:11 +0100)] 
linux/cve-exclusions: update CVE_STATUS exclusions

(From OE-Core rev: b499411734d0bf7fa817f214f89717c07186af02)

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>
23 months agolinux/generate-cve-exclusions.py: fix comparison
Ross Burton [Mon, 21 Aug 2023 12:11:58 +0000 (13:11 +0100)] 
linux/generate-cve-exclusions.py: fix comparison

The backport detection logic didn't handle issues which were backported
to the current version.

(From OE-Core rev: 1c7b01627b47604744f723d5eeedd455df6307e2)

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>
23 months agovim: update obsolete comment
Etienne Cordonnier [Mon, 21 Aug 2023 13:30:07 +0000 (15:30 +0200)] 
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)

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>
23 months agoprocps: backport fix for CVE-2023-4016
Ross Burton [Mon, 21 Aug 2023 13:32:19 +0000 (14:32 +0100)] 
procps: backport fix for CVE-2023-4016

(From OE-Core rev: 255515e1b52fea6d72d37fae61667db08eb5b086)

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>
23 months agopython3: ignore disputed CVE-2023-36632
Ross Burton [Mon, 21 Aug 2023 13:32:18 +0000 (14:32 +0100)] 
python3: ignore disputed CVE-2023-36632

For some reason in the migration of CVE_CHECK_IGNORE to CVE_STATUS[1], this
CVE was commented out.

[1] oe-core 1634ed40

(From OE-Core rev: 07deefea29169ba8d663c869f26b31d3f37a1c9f)

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>
23 months agoRevert "oeqa/runtime/parselogs: Exclude preempt-rt error for now"
Luca Ceresoli [Mon, 21 Aug 2023 20:20:58 +0000 (22:20 +0200)] 
Revert "oeqa/runtime/parselogs: Exclude preempt-rt error for now"

There's now a real fix in commits "linux-yocto/6.*: fix IRQ-80 warnings".

This reverts commit 1451df346a0e2433714774421ce8f339a37a844a.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-yocto/6.4: fix IRQ-80 warnings
Bruce Ashfield [Mon, 21 Aug 2023 15:44:45 +0000 (11:44 -0400)] 
linux-yocto/6.4: fix IRQ-80 warnings

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

    9753b4497951 tick/rcu: fix false positive "softirq work is pending" messages on RT

Paul Gortmaker has found and fixed the root cause of why we are
getting "softirq work is pending" messages on boot with -rt ..
although the issue is not rt-specific.

The fix has been submitted to lkml, but we are integrating it
to avoid the delay of -stable picking it up and then linux-yocto
doing the same.

(From OE-Core rev: 5617d2c03833830c0100d1c775a15d4ad1c02fdd)

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>
23 months agolinux-yocto/6.1: fix IRQ-80 warnings
Bruce Ashfield [Mon, 21 Aug 2023 15:44:44 +0000 (11:44 -0400)] 
linux-yocto/6.1: fix IRQ-80 warnings

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

    44fd0c7a5a79 tick/rcu: fix false positive "softirq work is pending" messages on RT

Paul Gortmaker has found and fixed the root cause of why we are
getting "softirq work is pending" messages on boot with -rt ..
although the issue is not rt-specific.

The fix has been submitted to lkml, but we are integrating it
to avoid the delay of -stable picking it up and then linux-yocto
doing the same.

(From OE-Core rev: 69fffaa7ed863f8811254843e169cfbf3a0400b0)

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>
23 months agolinux-yocto/6.1: update to v6.1.46
Bruce Ashfield [Mon, 21 Aug 2023 15:44:43 +0000 (11:44 -0400)] 
linux-yocto/6.1: update to v6.1.46

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

    6c44e13dc284 Linux 6.1.46
    5525c289dbcf drm/amd/pm/smu7: move variables to where they are used
    4346a66ad198 sch_netem: fix issues in netem_change() vs get_dist_table()
    3ae919c317dd alpha: remove __init annotation from exported page_is_ram()
    cbce265f959f ACPI: scan: Create platform device for CS35L56
    afc4ddd9507f platform/x86: serial-multi-instantiate: Auto detect IRQ resource for CSC3551
    38b0020f68b7 scsi: qedf: Fix firmware halt over suspend and resume
    a9518f4a4978 scsi: qedi: Fix firmware halt over suspend and resume
    fb004497b3ea scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
    b191ff1f075c scsi: core: Fix possible memory leak if device_add() fails
    7723a5d5d187 scsi: snic: Fix possible memory leak if device_add() fails
    9fdb273ede6f scsi: 53c700: Check that command slot is not NULL
    8282d0b35880 scsi: ufs: renesas: Fix private allocation
    ed70fa5629a8 scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
    0e1605ec5bea scsi: core: Fix legacy /proc parsing buffer overflow
    f3f0f95a0233 netfilter: nf_tables: report use refcount overflow
    c21fddce7e45 nvme-rdma: fix potential unbalanced freeze & unfreeze
    cddbaa8dee7e nvme-tcp: fix potential unbalanced freeze & unfreeze
    bf67802453d3 btrfs: set cache_block_group_error if we find an error
    3ae93b316ca4 btrfs: reject invalid reloc tree root keys with stack dump
    9d04716e3665 btrfs: exit gracefully if reloc roots don't match
    7112abc9e8f2 btrfs: properly clear end of the unreserved range in cow_file_range
    504d81c512f6 btrfs: don't stop integrity writeback too early
    4e18c827d61b btrfs: wait for actual caching progress during allocation
    b8cd871d0a18 gpio: sim: mark the GPIO chip as a one that can sleep
    227bd2c1eab1 gpio: ws16c48: Fix off-by-one error in WS16C48 resource region extent
    5e17b8ee64c1 ibmvnic: Ensure login failure recovery is safe from other resets
    206ccf4f0977 ibmvnic: Do partial reset on login failure
    31ccd1ba20d8 ibmvnic: Handle DMA unmapping of login buffs in release functions
    24556c1cc9db ibmvnic: Unmap DMA login rsp buffer on send login fail
    2c5dd8805e6c ibmvnic: Enforce stronger sanity checks on login response
    ad0f73cbace4 net/mlx5: Reload auxiliary devices in pci error handlers
    88ec484ef8e2 net/mlx5: Skip clock update work when device is in error state
    4276f3e7ae4a net/mlx5: LAG, Check correct bucket when modifying LAG
    a824d012ad8f net/mlx5: Allow 0 for total host VFs
    ab06983c5bbd dmaengine: owl-dma: Modify mismatched function name
    dff220037148 dmaengine: mcf-edma: Fix a potential un-allocated memory access
    c4f7de3e8ce1 net: hns3: fix strscpy causing content truncation issue
    87d7e140081f nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID
    8d6df2c523e2 nexthop: Make nexthop bucket dump more efficient
    0b10d8d1cf85 nexthop: Fix infinite nexthop dump when using maximum nexthop ID
    743f7c1762e0 net: hns3: fix deadlock issue when externel_lb and reset are executed together
    59bad9190ac7 net: hns3: add wait until mac link down
    667ce6a0ff80 net: hns3: refactor hclge_mac_link_status_wait for interface reuse
    758dbcfb257e net: dsa: ocelot: call dsa_tag_8021q_unregister() under rtnl_lock() on driver remove
    001b7d6706e2 net: phy: at803x: remove set/get wol callbacks for AR8032
    a3e5f3b7f25d net: marvell: prestera: fix handling IPv4 routes with nhid
    059ec8287fd3 net: tls: avoid discarding data on record close
    05e6b93da45d RDMA/umem: Set iova in ODP flow
    521860ddf314 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
    94916b314861 drm/rockchip: Don't spam logs in atomic check
    ac6640f4193d IB/hfi1: Fix possible panic during hotplug remove
    c2efcaf304fb iavf: fix potential races for FDIR filters
    bcbc48b12092 drivers: vxlan: vnifilter: free percpu vni stats on error path
    eeb0e4c1dbdf drivers: net: prevent tun_build_skb() to exceed the packet size limit
    a6ddc1c77487 dccp: fix data-race around dp->dccps_mss_cache
    00f033d451c4 bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    15b453cf7348 xsk: fix refcount underflow in error path
    da5f42a6e748 tunnels: fix kasan splat when generating ipv4 pmtu error
    f20a941bc2c5 tcp: add missing family to tcp_set_ca_state() tracepoint
    ddebdaec1af2 net/smc: Use correct buffer sizes when switching between TCP and SMC
    584a783270c1 net/packet: annotate data-races around tp->status
    b249c510b43e mptcp: fix the incorrect judgment for msk->cb_flags
    fc0b41ac1106 macsec: use DEV_STATS_INC()
    ebceef298c56 mISDN: Update parameter type of dsp_cmx_send()
    6b2824b198a6 bpf, sockmap: Fix bug that strp_done cannot be called
    ed90fe7435c5 bpf, sockmap: Fix map type error in sock_map_del_link
    20acffcdc2b7 net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail()
    e59a2e5a3123 selftests: forwarding: tc_flower: Relax success criterion
    352dc3ee33c6 selftests: forwarding: Switch off timeout
    2df0e4373507 selftests: forwarding: Skip test when no interfaces are specified
    9ff7465b9160 selftests: forwarding: hw_stats_l3_gre: Skip when using veth pairs
    693c0a5a02e1 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
    10519d0b260d selftests: forwarding: ethtool: Skip when using veth pairs
    1455765e28ce selftests: forwarding: Add a helper to skip test when using veth pairs
    e146162dcf2e selftests/rseq: Fix build with undefined __weak
    e12b1ebc758a interconnect: qcom: sm8450: add enable_mask for bcm nodes
    8d0e2802b111 interconnect: qcom: Add support for mask-based BCMs
    312f04ede209 iio: core: Prevent invalid memory access when there is no parent
    98e470dc73a9 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
    19e7feda8966 x86: Move gds_ucode_mitigated() declaration to header
    f276899f8dbc x86/speculation: Add cpu_show_gds() prototype
    179430c2aa46 x86/sev: Do not try to parse for the CC blob on non-AMD hardware
    9ad49178c00a x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
    25085250a150 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
    d93eeac34e75 x86/srso: Fix build breakage with the LLVM linker
    6f75e0934354 usb: typec: altmodes/displayport: Signal hpd when configuring pin assignment
    57b8f5fb8f17 usb: typec: tcpm: Fix response to vsafe0V event
    e3b37754988a usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
    bed19d95fcb9 USB: Gadget: core: Help prevent panic during UVC unconfigure
    d2a4ded0ee99 usb: dwc3: Properly handle processing of pending events
    0d2d5282d39a usb-storage: alauda: Fix uninit-value in alauda_check_media()
    8ee39ec47914 misc: rtsx: judge ASPM Mode to set PETXCFG Reg
    f11a26633eb6 binder: fix memory leak in binder_init()
    77b689cc27d4 iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
    2f8ebbd0f03e iio: adc: ad7192: Fix ac excitation feature
    5e1ed816a0e1 iio: frequency: admv1013: propagate errors from regulator_get_voltage()
    366563c14f1f iio: cros_ec: Fix the allocation size for cros_ec_command
    5aac2726b693 io_uring: correct check for O_TMPFILE
    b61a06eca15c drm/amd/display: trigger timing sync only if TG is running
    07152d9e87ef drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set
    647e12741e6d drm/amd/display: Retain phantom plane/stream if validation fails
    e61f0ad73668 drm/amd/display: Disable phantom OTG after enable for plane disable
    9caac2a9f69f drm/amd/display: Use update plane and stream routine for DCN32x
    e93ae6e6b660 drm/amd/display: Avoid ABM when ODM combine is enabled for eDP
    4fe91c51aa93 drm/amd/display: Update OTG instance in the commit stream
    b2415df0afba drm/amd/display: Handle seamless boot stream
    9b1a1f168c03 drm/amd/display: Add function for validate and update new stream
    60334c0cba2f drm/amd/display: Handle virtual hardware detect
    0f19195d6397 drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation
    b064f9ccf11c drm/amd/pm: fulfill powerplay peak profiling mode shader/memory clock settings
    b844033ea813 drm/amd/pm: expose swctf threshold setting for legacy powerplay
    2368afd60f64 drm/amd/pm: fulfill swsmu peak profiling mode shader/memory clock settings
    7532ff6edbf5 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
    79a96970293b radix tree test suite: fix incorrect allocation size for pthreads
    0176533f5a39 hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
    088773aaafef cpuidle: dt_idle_genpd: Add helper function to remove genpd topology
    3d3fd58bfca1 drm/amd/display: limit DPIA link rate to HBR3
    10347b115da1 drm/amd: Disable S/G for APUs when 64GB or more host memory
    f6166ca452b8 drm/amdgpu: add S/G display parameter
    c3d2d4b02e5e drm/amd/display: check attr flag before set cursor degamma on DCN3+
    9a2393af1f35 drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
    2322dd8c9d3d drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
    a372c3f0db81 drm/nouveau/nvkm/dp: Add workaround to fix DP 1.3+ DPCD issues
    e179b058d720 drm/nouveau/gr: enable memory loads on helper invocation on all channels
    56c79fcae6f3 nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G
    3fdaa7fbc81b riscv/kexec: handle R_RISCV_CALL_PLT relocation type
    b374684018e4 riscv,mmio: Fix readX()-to-delay() ordering
    98a34f50c15f riscv/kexec: load initrd high in available memory
    593615bf14c9 net: mana: Fix MANA VF unload when hardware is unresponsive
    aec1ce9a30d4 dmaengine: pl330: Return DMA_PAUSED when transaction is paused
    ded9f5551ce5 mptcp: fix disconnect vs accept race
    84aa65a52561 mptcp: avoid bogus reset on fallback close
    d143c736020f selftests: mptcp: join: fix 'implicit EP' test
    aae988c09650 selftests: mptcp: join: fix 'delete and re-add' test
    a537fd9096a1 ipv6: adjust ndisc_is_useropt() to also return true for PIO
    ecab78febff0 mmc: moxart: read scr register without changing byte order
    260ec73757c1 wireguard: allowedips: expand maximum node depth
    839aae189e1f selftests: forwarding: Set default IPv6 traceroute utility
    aa4b5895a80f wifi: rtw89: fix 8852AE disconnection caused by RX full flags
    e642eb67b8c1 wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()
    5bdf1c1f346c KVM: SEV: only access GHCB fields once
    ec18273e41d9 KVM: SEV: snapshot the GHCB before accessing it
    f339d76a3a97 ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
    c6bef3bc30fd ksmbd: validate command request size
    ccb1700ed606 tpm: Add a helper for checking hwrng enabled
    d8a7d6136cbf tpm: Disable RNG for all AMD fTPMs
    ed2f8701fb9b Revert "loongarch/cpu: Switch to arch_cpu_finalize_init()"
    65383fe06065 gcc-plugins: Reorganize gimple includes for GCC 13

(From OE-Core rev: 91711cc075d0b44a1a1adab5b3c27da95264dc6f)

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>
23 months agolinux-yocto/6.4: update to v6.4.11
Bruce Ashfield [Mon, 21 Aug 2023 15:44:42 +0000 (11:44 -0400)] 
linux-yocto/6.4: update to v6.4.11

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

    eb3cdb587879 Linux 6.4.11
    0fc364d079fd alpha: remove __init annotation from exported page_is_ram()
    7438f63562fa ACPI: scan: Create platform device for CS35L56
    fee4731266af platform/x86: serial-multi-instantiate: Auto detect IRQ resource for CSC3551
    cada3f116e8d platform: mellanox: Fix order in exit flow
    26cca33e5d2b platform: mellanox: mlx-platform: Modify graceful shutdown callback and power down mask
    90516af4b63c platform: mellanox: mlx-platform: Fix signals polarity and latch mask
    9005ce6ecd31 platform: mellanox: Change register offset addresses
    53f2cbc03aa5 platform/x86: lenovo-ymc: Only bind on machines with a convertible DMI chassis-type
    791a666573d1 platform/x86: msi-ec: Fix the build
    52620dae7c33 scsi: qedf: Fix firmware halt over suspend and resume
    78dca9ac06fc scsi: qedi: Fix firmware halt over suspend and resume
    d4326d5256cc scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
    43c0e16d0c5e scsi: core: Fix possible memory leak if device_add() fails
    ed0acb1ee2e9 scsi: snic: Fix possible memory leak if device_add() fails
    0e85ca3f9272 scsi: 53c700: Check that command slot is not NULL
    9a731466afc5 scsi: ufs: renesas: Fix private allocation
    763c06565055 scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
    20831760ea77 scsi: core: Fix legacy /proc parsing buffer overflow
    e044b1b286ec btrfs: set cache_block_group_error if we find an error
    84256e00eeca btrfs: reject invalid reloc tree root keys with stack dump
    a96b6519ac71 btrfs: exit gracefully if reloc roots don't match
    663c9949ba5c btrfs: properly clear end of the unreserved range in cow_file_range
    15da6eaecc2f btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
    f1f2e3a418ff btrfs: don't stop integrity writeback too early
    793525c287c9 btrfs: wait for actual caching progress during allocation
    373b7dbe1c3d gpio: sim: mark the GPIO chip as a one that can sleep
    c2e0d39e76be gpio: ws16c48: Fix off-by-one error in WS16C48 resource region extent
    753bcd16bdf4 ibmvnic: Ensure login failure recovery is safe from other resets
    7024d79d01bb ibmvnic: Do partial reset on login failure
    3e4ae6669a0a ibmvnic: Handle DMA unmapping of login buffs in release functions
    7abe2a2033af ibmvnic: Unmap DMA login rsp buffer on send login fail
    2a394e5511fb ibmvnic: Enforce stronger sanity checks on login response
    62ef77587905 net/mlx5: Reload auxiliary devices in pci error handlers
    6a604ea891ba net/mlx5: Skip clock update work when device is in error state
    498e7e243458 net/mlx5: LAG, Check correct bucket when modifying LAG
    dc91dae14f6f net/mlx5e: Unoffload post act rule when handling FIB events
    4321bbc16fee net/mlx5: Allow 0 for total host VFs
    c256f96535bd net/mlx5: DR, Fix wrong allocation of modify hdr pattern
    bc1918bac0f3 net/mlx5e: TC, Fix internal port memory leak
    16b7775ae438 net/mlx5e: Take RTNL lock when needed before calling xdp_set_features()
    8c23a2878c82 dmaengine: owl-dma: Modify mismatched function name
    0d2bbddb0578 dmaengine: idxd: Clear PRS disable flag when disabling IDXD device
    957c8fbde39a dmaengine: mcf-edma: Fix a potential un-allocated memory access
    07f970ebe6dd net: hns3: fix strscpy causing content truncation issue
    d25665f52855 nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID
    0fb288559cd0 nexthop: Make nexthop bucket dump more efficient
    b6732dd0228c nexthop: Fix infinite nexthop dump when using maximum nexthop ID
    e691f864c043 net: enetc: reimplement RFS/RSS memory clearing as PCI quirk
    ef2d6bf96956 net: hns3: fix deadlock issue when externel_lb and reset are executed together
    008b9c6167bd net: hns3: add wait until mac link down
    6a5e230a8a17 net: hns3: refactor hclge_mac_link_status_wait for interface reuse
    7ae8fa6b7097 net: dsa: ocelot: call dsa_tag_8021q_unregister() under rtnl_lock() on driver remove
    15d362ca86c7 net: phy: at803x: remove set/get wol callbacks for AR8032
    8373dca3c1f8 net: marvell: prestera: fix handling IPv4 routes with nhid
    3fde6360e63c net: tls: avoid discarding data on record close
    f5ebe0d12d59 RDMA/bnxt_re: Fix error handling in probe failure path
    c95863f6d970 RDMA/bnxt_re: Properly order ib_device_unalloc() to avoid UAF
    1035af5a3bc5 RDMA/umem: Set iova in ODP flow
    e64babe4b8e1 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
    8ae32cdfa568 wifi: brcm80211: handle params_v1 allocation failure
    f16e9bfb574b drm/rockchip: Don't spam logs in atomic check
    bd7b1430a21b drm/nouveau: remove unused tu102_gr_load() function
    7eacde7fb948 drm/bridge: it6505: Check power state with it6505->powered in IRQ handler
    059412083cf7 drm/amd/display: Don't show stack trace for missing eDP
    d32a5e9b825d IB/hfi1: Fix possible panic during hotplug remove
    1b5006a37aa8 iavf: fix potential races for FDIR filters
    1b57f1794cf2 drivers: vxlan: vnifilter: free percpu vni stats on error path
    6b730822e4f1 drivers: net: prevent tun_build_skb() to exceed the packet size limit
    d1f38d313bdf dccp: fix data-race around dp->dccps_mss_cache
    eef72d9d719c bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    3e7722c31d41 xsk: fix refcount underflow in error path
    fe6a9f751673 tunnels: fix kasan splat when generating ipv4 pmtu error
    04a1dd890231 tcp: add missing family to tcp_set_ca_state() tracepoint
    3a1889c18558 PCI: move OF status = "disabled" detection to dev->match_driver
    1fa769379f16 net/smc: Use correct buffer sizes when switching between TCP and SMC
    452b2d7a4b1f net/smc: Fix setsockopt and sysctl to specify same buffer size again
    6664320bc2b0 net/packet: annotate data-races around tp->status
    813aa9981a6d ionic: Add missing err handling for queue reconfig
    d753b5f6b3f1 igc: Add lock to safeguard global Qbv variables
    c951a1eeff18 mptcp: fix the incorrect judgment for msk->cb_flags
    019928ce14fe macsec: use DEV_STATS_INC()
    ea7a38287d1f mISDN: Update parameter type of dsp_cmx_send()
    16ce06695c92 hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report
    4975d45c2631 bpf, sockmap: Fix bug that strp_done cannot be called
    1270c6299af3 bpf, sockmap: Fix map type error in sock_map_del_link
    d9252d67ed2f net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail()
    3ee001d3aca5 selftests: forwarding: bridge_mdb: Make test more robust
    42543ba66de6 selftests: forwarding: bridge_mdb: Fix failing test with old libnet
    d847c5ee4a64 selftests: forwarding: bridge_mdb_max: Fix failing test with old libnet
    f6fcd58181f4 selftests: forwarding: tc_flower: Relax success criterion
    2d3edc009931 selftests: forwarding: tc_actions: Use ncat instead of nc
    ee5f0f837a3f selftests: forwarding: Switch off timeout
    98206738e761 selftests: forwarding: Skip test when no interfaces are specified
    16e6760d6d58 selftests: forwarding: hw_stats_l3_gre: Skip when using veth pairs
    17135cfe4752 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
    2235d0171f0e selftests: forwarding: ethtool: Skip when using veth pairs
    f00c016b0aa6 selftests: forwarding: Add a helper to skip test when using veth pairs
    0b1745accf6b selftests/rseq: Fix build with undefined __weak
    cf16eeb9816c selftests/bpf: fix a CI failure caused by vsock sockmap test
    3896d810d6fc dmaengine: xilinx: xdma: Fix Judgment of the return value
    65b884018c99 dmaengine: xilinx: xdma: Fix typo
    af406bdbf3b1 KVM: arm64: Fix hardware enable/disable flows for pKVM
    4d3fd2be849a selftests: forwarding: bridge_mdb: Check iproute2 version
    5853f362fcc6 selftests: forwarding: bridge_mdb_max: Check iproute2 version
    df96d95b7a76 selftests: forwarding: ethtool_mm: Skip when MAC Merge is not supported
    5025e4318a03 selftests: forwarding: tc_tunnel_key: Make filters more specific
    e431ff5cef6c interconnect: qcom: sm8550: add enable_mask for bcm nodes
    88131e424650 interconnect: qcom: sm8450: add enable_mask for bcm nodes
    8928567f460f interconnect: qcom: sa8775p: add enable_mask for bcm nodes
    37dcb0e7bc39 interconnect: qcom: Add support for mask-based BCMs
    8e744d466db6 iio: light: bu27034: Fix scale format
    a4b34cccff14 iio: core: Prevent invalid memory access when there is no parent
    3865436d2114 iio: imu: lsm6dsx: Fix mount matrix retrieval
    b686f6074c7b netfilter: nft_set_hash: mark set element as dead when deleting from packet path
    e4d71d6a9c7d netfilter: nf_tables: adapt set backend to use GC transaction API
    0624f190b574 netfilter: nf_tables: GC transaction API to avoid race with control plane
    bd156ce9553d netfilter: nf_tables: don't skip expired elements during walk
    e41bc6e0ec52 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
    456eac27a474 Revert "PCI: mvebu: Mark driver as BROKEN"
    c4ea4f7241dc x86: Move gds_ucode_mitigated() declaration to header
    f0d3379b4ea6 x86/speculation: Add cpu_show_gds() prototype
    c67ee610c9f9 x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h
    b85f340e5a9b x86/sev: Do not try to parse for the CC blob on non-AMD hardware
    5c0d1eda1f82 x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
    0a638acf3367 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
    84bf9e4a4637 x86/vdso: Choose the right GDT_ENTRY_CPUNODE for 32-bit getcpu() on 64-bit kernel
    593d6381e646 x86/srso: Fix build breakage with the LLVM linker
    ce1ebdd6e639 usb: typec: altmodes/displayport: Signal hpd when configuring pin assignment
    aba8c65bb9e4 usb: typec: tcpm: Fix response to vsafe0V event
    7fd656100d59 usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
    8c1edc00db65 USB: Gadget: core: Help prevent panic during UVC unconfigure
    558bcb5e7288 usb: dwc3: Properly handle processing of pending events
    373e0ab8c4c5 usb-storage: alauda: Fix uninit-value in alauda_check_media()
    0752bb32aed2 thunderbolt: Fix memory leak in tb_handle_dp_bandwidth_request()
    69304c8d285b misc: rtsx: judge ASPM Mode to set PETXCFG Reg
    ee95051c0c19 binder: fix memory leak in binder_init()
    13f3ce53b65a iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
    a3751305397d iio: adc: meson: fix core clock enable/disable moment
    9656c2baeb54 iio: adc: ad7192: Fix ac excitation feature
    d28e4f9b5716 iio: frequency: admv1013: propagate errors from regulator_get_voltage()
    773cf6b3b64a iio: cros_ec: Fix the allocation size for cros_ec_command
    737d519e7b38 drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation
    a4e94b8816b6 drm/amd/pm: expose swctf threshold setting for legacy powerplay
    3a38bc2f475b mm: memory-failure: avoid false hwpoison page mapped error info
    97d06fb1e8a4 mm: memory-failure: fix potential unexpected return value from unpoison_memory()
    b41c0999b35f selftests: mm: ksm: fix incorrect evaluation of parameter
    da7beebb49c6 mm/damon/core: initialize damo_filter->list from damos_new_filter()
    9a1a43a0e7e9 hugetlb: do not clear hugetlb dtor until allocating vmemmap
    4747cc404258 accel/ivpu: Add set_pages_array_wc/uc for internal buffers
    5828d5f5dc87 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
    6accf02034f2 fs/proc/kcore: reinstate bounce buffer for KCORE_TEXT regions
    ddcfc33a2038 cpufreq: amd-pstate: fix global sysfs attribute type
    965a20ed518a radix tree test suite: fix incorrect allocation size for pthreads
    651ed8d88521 hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
    ad0bcbd2d19f zsmalloc: fix races between modifications of fullness and isolated
    f042605998da io_uring: correct check for O_TMPFILE
    6befa74c70fa cpuidle: psci: Move enabling OSI mode after power domains creation
    05dca3a190c7 cpuidle: dt_idle_genpd: Add helper function to remove genpd topology
    d78177be9b01 tpm_tis: Opt-in interrupts
    27722a5a5c30 tpm: tpm_tis: Fix UPX-i11 DMI_MATCH condition
    349a7b42bcd5 drm/amd: Disable S/G for APUs when 64GB or more host memory
    40df9ac4a936 drm/amd/display: check attr flag before set cursor degamma on DCN3+
    9206004c9540 drm/amd/display: Fix a regression on Polaris cards
    cef7a321d82f drm/amd/pm: correct the pcie width for smu 13.0.0
    e08e9dd09809 drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
    8996eeaac498 drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
    ab4ae028f973 drm/nouveau/nvkm/dp: Add workaround to fix DP 1.3+ DPCD issues
    1092c929bb78 drm/nouveau/gr: enable memory loads on helper invocation on all channels
    061fbf64825f nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G
    1e59c7194dc5 nvme-rdma: fix potential unbalanced freeze & unfreeze
    0c48e4590aa7 nvme-tcp: fix potential unbalanced freeze & unfreeze
    0712a9ef6b0b nvme: fix possible hang when removing a controller during error recovery
    b6c506a14686 riscv: mm: fix 2 instances of -Wmissing-variable-declarations
    e1bcaa14194b riscv/kexec: handle R_RISCV_CALL_PLT relocation type
    0b00f20d453e riscv,mmio: Fix readX()-to-delay() ordering
    ef6169c76999 riscv/kexec: load initrd high in available memory
    8486218eb60d riscv: Start of DRAM should at least be aligned on PMD size for the direct mapping
    24555c3794bc parisc: Fix lightweight spinlock checks to not break futexes
    7dc5a1f27989 io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc
    729881aeec33 zram: take device and not only bvec offset into account
    0f70a470e2ed ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M
    2756f4353d26 ACPI: resource: Honor MADT INT_SRC_OVR settings for IRQ1 on AMD Zen
    8bb595a262bc ACPI: resource: Always use MADT override IRQ settings for all legacy non i8042 IRQs
    d9dbddc66461 ACPI: resource: revert "Remove "Zen" specific match and quirks"
    13716b91514c net: mana: Fix MANA VF unload when hardware is unresponsive
    d5c2c893e2f8 dmaengine: xilinx: xdma: Fix interrupt vector setting
    16ab6a83809d dmaengine: pl330: Return DMA_PAUSED when transaction is paused
    b2b4c84eb714 mptcp: fix disconnect vs accept race
    3c78824221ba mptcp: avoid bogus reset on fallback close
    4f733a06809c selftests: mptcp: join: fix 'implicit EP' test
    a762ac80dd6d selftests: mptcp: join: fix 'delete and re-add' test
    10d0726c4680 ipv6: adjust ndisc_is_useropt() to also return true for PIO
    8235a0ecabd3 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
    d361d76fdf9e mmc: moxart: read scr register without changing byte order
    d36914ba66c4 wireguard: allowedips: expand maximum node depth
    c0e1eebfe99e selftests: forwarding: Set default IPv6 traceroute utility
    d48663156f19 wifi: rtw89: fix 8852AE disconnection caused by RX full flags
    7d09f9f255a5 wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()
    ab8e9a874574 KVM: SEV: only access GHCB fields once
    b85422c221d5 KVM: SEV: snapshot the GHCB before accessing it
    4bf629262f91 ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
    ff7236b66d69 ksmbd: validate command request size
    d75c2b5e06bc tpm: Add a helper for checking hwrng enabled
    6b718101cd99 tpm/tpm_tis: Disable interrupts for Lenovo P620 devices
    872fe964648c tpm: Disable RNG for all AMD fTPMs
    bc3d1e146f83 tpm/tpm_tis: Disable interrupts for TUXEDO InfinityBook S 15/17 Gen7

(From OE-Core rev: 6d831173b206f16ae62a61c79c3a4d73f940a5e8)

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>
23 months agolinux-yocto/6.4: fix uninitialized read in nohz_full/isolcpus setup
Bruce Ashfield [Mon, 21 Aug 2023 15:44:41 +0000 (11:44 -0400)] 
linux-yocto/6.4: fix uninitialized read in nohz_full/isolcpus setup

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

    4675ec8d0b9a kernel/sched: Fix uninitialized read in nohz_full/isolcpus setup

The carry forward of commit from the v5.15 linux-yocto kernel:

https://git.yoctoproject.org/linux-yocto/commit/?id=97c96388922

...in which case the sanity checks are properly *after* the allocation
and processing of the bootargs into the cpumask.

However, it seems patch (or wiggle?) apparently decided to put the
sanity checks *before* the population of the cpumask during the
carry-forward and generation of the new v6.1 kernel.  Meaning they are
validating uninitialized memory and hence nohz_full= and isolcpus= are
subject to random failures even for valid input ranges.

(From OE-Core rev: b3a71c7d36e3a4833e90728499e08543257042a1)

Signed-off-by: Adrian Cinal <adriancinal1@gmail.com>
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-yocto/6.1: fix uninitialized read in nohz_full/isolcpus setup
Bruce Ashfield [Mon, 21 Aug 2023 15:44:40 +0000 (11:44 -0400)] 
linux-yocto/6.1: fix uninitialized read in nohz_full/isolcpus setup

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

    4675ec8d0b9a kernel/sched: Fix uninitialized read in nohz_full/isolcpus setup

The carry forward of commit from the v5.15 linux-yocto kernel:

https://git.yoctoproject.org/linux-yocto/commit/?id=97c96388922

...in which case the sanity checks are properly *after* the allocation
and processing of the bootargs into the cpumask.

However, it seems patch (or wiggle?) apparently decided to put the
sanity checks *before* the population of the cpumask during the
carry-forward and generation of the new v6.1 kernel.  Meaning they are
validating uninitialized memory and hence nohz_full= and isolcpus= are
subject to random failures even for valid input ranges.

(From OE-Core rev: 4b349ee66eab8ebe3150ac4c1b449ea5c264a5be)

Signed-off-by: Adrian Cinal <adriancinal1@gmail.com>
Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agokern-tools: include utility to post process config diffs
Bruce Ashfield [Mon, 21 Aug 2023 15:44:39 +0000 (11:44 -0400)] 
kern-tools: include utility to post process config diffs

Trevor Woerner contributed a simple utility that cleans up a .config
diff to produce a fragment.

    kconfig-diff2frag.py: introduce a utility to post process a config diff

    Add a python tool to generate a config fragment from a unified diff of two
    kernel configurations. The diff is read from stdin and the fragment is printed
    to stdout.

    Usage:
            $ diff -u config1 config2 | kconfig-diff2frag.py

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agolinux-yocto/6.1: update to v6.1.45
Bruce Ashfield [Mon, 21 Aug 2023 15:44:38 +0000 (11:44 -0400)] 
linux-yocto/6.1: update to v6.1.45

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

    1321ab403b38 Linux 6.1.45
    f2615bb47be4 x86/CPU/AMD: Do not leak quotient data after a division by 0
    673cdde74fd1 Revert "drm/i915: Disable DC states for all commits"
    af7215182417 drm/amdgpu: Use apt name for FW reserved region
    3d0a34c42f0d drm/amdgpu: Remove unnecessary domain argument
    526defeec474 drm/amdgpu: add vram reservation based on vram_usagebyfirmware_v2_2
    99255a2b6849 arm64/ptrace: Don't enable SVE when setting streaming SVE
    c2fdf827f8fc exfat: check if filename entries exceeds max filename length
    e2fb24ce37ca f2fs: don't reset unchangable mount option in f2fs_remount()
    6ba0594a81f9 f2fs: fix to set flush_merge opt and show noflush_merge
    e355972affb6 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
    56562676102e drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0
    63eeb50fa110 drm/amd/display: Ensure that planes are in the same order
    740d4cae248a drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
    a492b8281c36 powerpc/mm/altmap: Fix altmap boundary check
    f4b700c71802 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
    b71c00256da4 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
    5a8a35b71bd3 mtd: rawnand: rockchip: fix oobfree offset and description
    6c591fce484e mtd: rawnand: omap_elm: Fix incorrect type in assignment
    88b1958fb57d io_uring: annotate offset timeout races
    a78a8bcdc26d f2fs: fix to do sanity check on direct node in truncate_dnode()
    23e72231f828 btrfs: remove BUG_ON()'s in add_new_free_space()
    56c0d76a9722 ext2: Drop fragment support
    295ef44a2aba fs: Protect reconfiguration of sb read-write from racing writes
    1bebbd9b8037 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
    203d58930d4a debugobjects: Recheck debug_objects_enabled before reporting
    29fac1849933 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
    1416eebaad80 fs/sysv: Null check to prevent null-ptr-deref bug
    ccc6de4d4f34 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
    33d9490b27e5 mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required()
    4968484ac8ef file: reinstate f_pos locking optimization for regular files
    7a1178a3671b bpf, cpumap: Make sure kthread is running before map update returns
    8a211e9118d5 clk: imx93: Propagate correct error in imx93_clocks_probe()
    37f6073f7db3 drm/i915/gt: Cleanup aux invalidation registers
    4db8b39418a6 drm/i915: Fix premature release of request's reusable memory
    1fdd16d89c01 drm/ttm: check null pointer before accessing when swapping
    4f03b0471ee0 open: make RESOLVE_CACHED correctly test for O_TMPFILE
    61f96da37dd4 arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
    654c1dd350c7 arm64/fpsimd: Clear SME state in the target task when setting the VL
    bae353469a28 arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
    b8ea2a46913b powerpc/ftrace: Create a dummy stackframe to fix stack unwind
    36dd8ca330b7 bpf: Disable preemption in bpf_event_output
    ec062367fa0c rbd: prevent busy loop when requesting exclusive lock
    98cccbd0a19a x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction
    0526119bf59e wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
    767800fc402d net: tap_open(): set sk_uid from current_fsuid()
    b6846d7c408b net: tun_chr_open(): set sk_uid from current_fsuid()
    367fdf369dc7 arm64: dts: stratix10: fix incorrect I2C property for SCL signal
    3654ed5daf49 bpf: Disable preemption in bpf_perf_event_output
    680f4d8aec1b mtd: rawnand: meson: fix OOB available bytes for ECC
    67327cadba59 mtd: spinand: toshiba: Fix ecc_get_status
    724ce05212d0 exfat: release s_lock before calling dir_emit()
    1427a7e96fb9 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
    bc41119995e4 firmware: arm_scmi: Drop OF node reference in the transport channel setup
    a062da58ed97 ceph: defer stopping mdsc delayed_work
    ad82aac732c2 USB: zaurus: Add ID for A-300/B-500/C-700
    be52667ba243 libceph: fix potential hang in ceph_osdc_notify()
    f62faadc791e scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
    645603ab5fa8 scsi: zfcp: Defer fc_rport blocking until after ADISC response
    f0618c305b41 rust: allocator: Prevent mis-aligned allocation
    cd4bdf8f98ef tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
    e53917e7efea tcp_metrics: annotate data-races around tm->tcpm_net
    6dea95d8caff tcp_metrics: annotate data-races around tm->tcpm_vals[]
    fee608e80271 tcp_metrics: annotate data-races around tm->tcpm_lock
    4a77a0f7526c tcp_metrics: annotate data-races around tm->tcpm_stamp
    71f891a25405 tcp_metrics: fix addr_same() helper
    afac854f8221 prestera: fix fallback to previous version on same major version
    72b3aea3450e net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
    1ca50e5de43a net/mlx5: fs_core: Make find_closest_ft more generic
    7b8717658dff vxlan: Fix nexthop hash size
    691a09eecad9 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
    86818409f989 s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
    ecff20e19320 net: dcb: choose correct policy to parse DCB_ATTR_BCN
    421e02bda057 bnxt_en: Fix max_mtu setting for multi-buf XDP
    e9f11bfc03fb bnxt_en: Fix page pool logic for page size >= 64K
    64763dd851fa net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
    8afe27770dea net: korina: handle clk prepare error in korina_probe()
    58660666b464 net: ll_temac: fix error checking of irq_of_parse_and_map()
    834422b06c8b bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
    d4d3b53a4c66 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
    7f691439b29b net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
    aab2d095ce4d net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
    cbd000451885 bpf, cpumap: Handle skb as well when clean up ptr_ring
    4461b2cae326 ice: Fix RDMA VSI removal during queue rebuild
    0b45af982a4d net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
    12d4ba181424 net: annotate data-races around sk->sk_priority
    6326c83ee27e net: add missing data-race annotation for sk_ll_usec
    dd7a1ff07c6c net: add missing data-race annotations around sk->sk_peek_off
    b53468041d20 net: annotate data-races around sk->sk_mark
    c7bb6860645f net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
    10c832159622 net: add missing READ_ONCE(sk->sk_sndbuf) annotation
    0a40103c9191 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
    be43c8f1c916 net: annotate data-races around sk->sk_max_pacing_rate
    0317c8322d9a net: annotate data-race around sk->sk_txrehash
    60d92bc9c094 net: annotate data-races around sk->sk_reserved_mem
    9da9ea9b132c qed: Fix scheduling in a tasklet while getting stats
    3c42307abe97 mISDN: hfcpci: Fix potential deadlock on &hc->lock
    d652c080b67c net: sched: cls_u32: Fix match key mis-addressing
    22709d85373f perf test uprobe_from_different_cu: Skip if there is no gcc
    5ef5b6e9c17b net: dsa: fix value check in bcm_sf2_sw_probe()
    8dfac8071d58 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
    24772cc31f00 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
    d628ba98eb16 net/mlx5e: Move representor neigh cleanup to profile cleanup_tx
    94a0eb9c12be net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set
    a7b5f001004c net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
    0582a3caaa3e net/mlx5: fix potential memory leak in mlx5e_init_rep_rx
    3169c3854397 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
    c818fff3b6cb net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups
    7a6fad03f54c wifi: cfg80211: Fix return value in scan logic
    05e0952ddb75 erofs: fix wrong primary bvec selection on deduplicated extents
    a759972d2549 KVM: s390: fix sthyi error handling
    f168188174b3 word-at-a-time: use the same return type for has_zero regardless of endianness
    5b53b2b44f0c firmware: arm_scmi: Fix chan_free cleanup on SMC
    6289d5486d36 lib/bitmap: workaround const_eval test build failure
    0ca5de8309f9 firmware: smccc: Fix use of uninitialised results structure
    7b0582dddd7e arm64: dts: freescale: Fix VPU G2 clock
    5841d3d0c352 arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    a24f67b71ad2 arm64: dts: phycore-imx8mm: Correction in gpio-line-names
    753a927c5841 arm64: dts: phycore-imx8mm: Label typo-fix of VPU
    608ac7ea5f05 arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl
    d060bbb2fed8 arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl
    8ddb3183c439 iommu/arm-smmu-v3: Document nesting-related errata
    42d04acf1d9b iommu/arm-smmu-v3: Add explicit feature for nesting
    57ae3671ece5 iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
    e3399bd014e9 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
    50c24f0c9407 net: ipa: only reset hashed tables when supported
    93f5b881125e net/mlx5: Free irqs only on shutdown callback
    15c22cd1de50 perf: Fix function pointer case
    c7920f992840 io_uring: gate iowait schedule on having pending requests

(From OE-Core rev: 9cdf022205d4bfe30ed71a4b1ac2edfb88eff560)

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>
23 months agolinux-yocto/6.4: update to v6.4.10
Bruce Ashfield [Mon, 21 Aug 2023 15:44:37 +0000 (11:44 -0400)] 
linux-yocto/6.4: update to v6.4.10

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

    b269b0268d41 Linux 6.4.10
    c9c0b889e2d3 x86/CPU/AMD: Do not leak quotient data after a division by 0
    493c80a4f20b drm/i915/gt: Enable the CCS_FLUSH bit in the pipe control and in the CS
    43f5167d2cdc drm/i915/gt: Support aux invalidation on all engines
    e66e37671c18 drm/i915/gt: Poll aux invalidation register bit on invalidation
    10be2cb87f0a drm/i915/gt: Rename flags with bit_group_X according to the datasheet
    73400908a97b drm/i915/gt: Add workaround 14016712196
    17b66e10b134 drm/i915/gt: Ensure memory quiesced before invalidation
    c0660d36ecd8 drm/i915: Add the gen12_needs_ccs_aux_inv helper
    7f87080d2e97 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
    544fdf64d698 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
    33f735ef8dfe drm/amdgpu: Use apt name for FW reserved region
    61977b1526ba drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
    bbfa34c97d8b powerpc/mm/altmap: Fix altmap boundary check
    49e57caf967a mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
    65df5d2ecc2c mtd: spi-nor: avoid holes in struct spi_mem_op
    45d69917a4af clk: mediatek: mt8183: Add back SSPM related clocks
    182ac84852a8 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
    550322382c5c mtd: rawnand: rockchip: fix oobfree offset and description
    b3e2e796be07 mtd: rawnand: omap_elm: Fix incorrect type in assignment
    a126124c86c5 io_uring: annotate offset timeout races
    af0f716ad3b0 f2fs: fix to do sanity check on direct node in truncate_dnode()
    f775ceb0cb53 btrfs: remove BUG_ON()'s in add_new_free_space()
    27f92aad4f17 ext2: Drop fragment support
    d160941e1537 mm/gup: do not return 0 from pin_user_pages_fast() for bad args
    4abda85197ba fs: Protect reconfiguration of sb read-write from racing writes
    0dd3e0c31bf3 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
    6da717fc5d90 debugobjects: Recheck debug_objects_enabled before reporting
    10426afe65c8 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
    e28f376dd8df fs/sysv: Null check to prevent null-ptr-deref bug
    e0a30f9d1a5e kasan,kmsan: remove __GFP_KSWAPD_RECLAIM usage from kasan/kmsan
    664dbb356f67 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
    33391c7e1a2a mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required()
    11e760b5e7f2 file: reinstate f_pos locking optimization for regular files
    158b3678c86b clk: imx93: Propagate correct error in imx93_clocks_probe()
    ee9968d72af8 sunvnet: fix sparc64 build error after gso code split
    5415dde3e76a Revert "page cache: fix page_cache_next/prev_miss off by one"
    6df7dd9270c5 drm/i915/gt: Cleanup aux invalidation registers
    ed7ac41cfcef drm/i915: Fix premature release of request's reusable memory
    49b3b979e79f drm/ttm: check null pointer before accessing when swapping
    e3c24712441e open: make RESOLVE_CACHED correctly test for O_TMPFILE
    64b7ae70678b arm64/ptrace: Don't enable SVE when setting streaming SVE
    0d22576f1903 arm64/ptrace: Flush FP state when setting ZT0
    cfb2b39db538 arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
    789c015d9a18 arm64/fpsimd: Clear SME state in the target task when setting the VL
    0693012274fd arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
    434ebb3960b7 parisc/mm: preallocate fixmap page tables at init
    410b0d2d54e6 powerpc/ftrace: Create a dummy stackframe to fix stack unwind
    f2556c93c388 smb: client: fix dfs link mount against w2k8
    063c9ce8e74e bpf: Disable preemption in bpf_event_output
    7bb7b479d111 rbd: prevent busy loop when requesting exclusive lock
    73626b70b361 x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction
    01c3a34f5ed7 wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
    ea6cce8d6899 net: tap_open(): set sk_uid from current_fsuid()
    36161e7d40e7 net: tun_chr_open(): set sk_uid from current_fsuid()
    040d7f19f206 arm64: dts: stratix10: fix incorrect I2C property for SCL signal
    a0ac32cf61e5 bpf: Disable preemption in bpf_perf_event_output
    d92b04b2eae0 riscv: Export va_kernel_pa_offset in vmcoreinfo
    501a38b801f4 mtd: rawnand: meson: fix OOB available bytes for ECC
    6c26c42e076e mtd: spinand: winbond: Fix ecc_get_status
    fa4cfb7d204c mtd: spinand: toshiba: Fix ecc_get_status
    e705b1680001 exfat: release s_lock before calling dir_emit()
    e1a73ba43cf8 exfat: check if filename entries exceeds max filename length
    0c5c3e8a2550 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
    3d4d2e55b31c firmware: arm_scmi: Drop OF node reference in the transport channel setup
    0b39dfaf255b ceph: defer stopping mdsc delayed_work
    c29cc7eef96b USB: zaurus: Add ID for A-300/B-500/C-700
    7d4b6fd65815 libceph: fix potential hang in ceph_osdc_notify()
    b31ef844d430 Documentation: kdump: Add va_kernel_pa_offset for RISCV64
    d678df66b1af scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
    2c2aa8d0e2a5 scsi: zfcp: Defer fc_rport blocking until after ADISC response
    0c8515842b82 rust: allocator: Prevent mis-aligned allocation
    3a2543be8a7e test/vsock: remove vsock_perf executable on `make clean`
    d6d195f2e7b1 tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
    fd147efc9610 tcp_metrics: annotate data-races around tm->tcpm_net
    6f27b67fc329 tcp_metrics: annotate data-races around tm->tcpm_vals[]
    d8064e2859ae tcp_metrics: annotate data-races around tm->tcpm_lock
    cbe9433586be tcp_metrics: annotate data-races around tm->tcpm_stamp
    f47cff05d3b3 tcp_metrics: fix addr_same() helper
    9defb2b3843c prestera: fix fallback to previous version on same major version
    ac2b423db9b1 net/mlx5e: Set proper IPsec source port in L4 selector
    a1e071efa766 net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
    b1aa1b267b91 net/mlx5: fs_core: Make find_closest_ft more generic
    23c195ce6f4a vxlan: Fix nexthop hash size
    3326c711f18d ip6mr: Fix skb_under_panic in ip6mr_cache_report()
    29d6fe395087 s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
    199fde04bd87 net: dcb: choose correct policy to parse DCB_ATTR_BCN
    893096a7e5fd bnxt_en: Fix max_mtu setting for multi-buf XDP
    ae0e135dc900 bnxt_en: Fix page pool logic for page size >= 64K
    5d015db7e60d selftest: net: Assert on a proper value in so_incoming_cpu.c.
    0c1763e20c66 net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
    d948a2ab44ea net: korina: handle clk prepare error in korina_probe()
    18e647c01749 net: ll_temac: fix error checking of irq_of_parse_and_map()
    1b7c8cbbd6f6 bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
    a836184b670f net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
    7d848d718aeb net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
    4b717802428f net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
    937345720d18 bpf, cpumap: Handle skb as well when clean up ptr_ring
    ecb45b852af5 bpf, cpumap: Make sure kthread is running before map update returns
    382535c063de bpf: Centralize permissions checks for all BPF map types
    514b9c25ffe6 bpf: Inline map creation logic in map_create() function
    3cf214f2755b bpf: Move unprivileged checks into map_create() and bpf_prog_load()
    0acc483f9b4d octeon_ep: initialize mbox mutexes
    34115ad1e5b5 bnxt: don't handle XDP in netpoll
    f7cdae9fbda2 ice: Fix RDMA VSI removal during queue rebuild
    a54bf862ccad net: usb: lan78xx: reorder cleanup operations to avoid UAF bugs
    57b3fe08ae06 net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
    7e7c4fdee5c7 net: annotate data-races around sk->sk_priority
    9ceaff1556dc net: add missing data-race annotation for sk_ll_usec
    eb2604f073ee net: add missing data-race annotations around sk->sk_peek_off
    b76d2fa662b7 net: annotate data-races around sk->sk_mark
    ea47de09819b net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
    4b5bda4502dd net: add missing READ_ONCE(sk->sk_sndbuf) annotation
    4685a86b9f25 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
    98ee7a0fe181 net: annotate data-races around sk->sk_max_pacing_rate
    d0e273bc559b net: annotate data-race around sk->sk_txrehash
    6269d3eaf443 net: annotate data-races around sk->sk_reserved_mem
    5ac34598be7b net: gro: fix misuse of CB in udp socket lookup
    bbe07adbaf39 net: move gso declarations and functions to their own files
    3e0d2545f94a qed: Fix scheduling in a tasklet while getting stats
    3a234a486791 net: stmmac: tegra: Properly allocate clock bulk data
    ea496e48d656 mISDN: hfcpci: Fix potential deadlock on &hc->lock
    de14cff7164d net: sched: cls_u32: Fix match key mis-addressing
    4034838ab0d5 perf test uprobe_from_different_cu: Skip if there is no gcc
    76d0f82f68a2 net: dsa: fix value check in bcm_sf2_sw_probe()
    00757f58e37b rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
    95b2e27b1139 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
    471f59b34553 net/mlx5: Unregister devlink params in case interface is down
    3280f8a40190 net/mlx5: fs_chains: Fix ft prio if ignore_flow_level is not supported
    bd964343338e net/mlx5e: kTLS, Fix protection domain in use syndrome when devlink reload
    02a84eb2af6b net/mlx5e: xsk: Fix crash on regular rq reactivation
    58a113a35846 net/mlx5e: xsk: Fix invalid buffer access for legacy rq
    36697c592cd0 net/mlx5e: Move representor neigh cleanup to profile cleanup_tx
    90c226e46785 net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set
    2e76da7bda60 net/mlx5e: Don't hold encap tbl lock if there is no encap action
    0302414ca593 net/mlx5: Honor user input for migratable port fn attr
    cc94d516c3a9 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
    c265d8c2e255 net/mlx5: fix potential memory leak in mlx5e_init_rep_rx
    622d71d99124 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
    957702c389a8 net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups
    1d23e51cc6a6 wifi: cfg80211: Fix return value in scan logic
    0ab6fac37032 perf pmu arm64: Fix reading the PMU cpu slots in sysfs
    b845249a4e5e erofs: fix wrong primary bvec selection on deduplicated extents
    53980121e1a6 KVM: s390: fix sthyi error handling
    601e467e29a9 s390/vmem: split pages when debug pagealloc is enabled
    cfa54fb51357 word-at-a-time: use the same return type for has_zero regardless of endianness
    0326a5bd6f58 ARM: dts: at91: sam9x60: fix the SOC detection
    08491e1cadd6 ARM: dts: at91: use generic name for shutdown controller
    ccec3e7f2b79 ARM: dts: at91: use clock-controller name for sckc nodes
    51a34cb21fd6 ARM: dts: at91: use clock-controller name for PMC nodes
    a5bdeb37a053 firmware: arm_scmi: Fix chan_free cleanup on SMC
    5dcc40b28c3f soc: imx: imx8mp-blk-ctrl: register HSIO PLL clock as bus_power_dev child
    2b41891b9cc1 ARM: dts: nxp/imx: limit sk-imx53 supported frequencies
    8626358813be lib/bitmap: workaround const_eval test build failure
    9851630bbd45 firmware: arm_scmi: Fix signed error return values handling
    32e44b7d7acc firmware: smccc: Fix use of uninitialised results structure
    4cfbe33a8897 arm64: dts: freescale: Fix VPU G2 clock
    25ee70d51d0a arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    d5d5cbb0d051 arm64: dts: phycore-imx8mm: Correction in gpio-line-names
    3fe4b022bbb5 arm64: dts: phycore-imx8mm: Label typo-fix of VPU
    599c6d1ce1b6 arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl
    132d600e52a7 arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl
    5ed4b021a3ba iommu/arm-smmu-v3: Document nesting-related errata
    c7af8840f215 iommu/arm-smmu-v3: Add explicit feature for nesting
    8f2c8d8a8dec iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
    f6a58dbe36d7 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
    93a0b7d43de5 mm: lock_vma_under_rcu() must check vma->anon_vma under vma lock

(From OE-Core rev: e9a34ef96868b64b37d12061e4daef7da978c38d)

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>
23 months agolinux-yocto/6.1: update to v6.1.44
Bruce Ashfield [Mon, 21 Aug 2023 15:44:36 +0000 (11:44 -0400)] 
linux-yocto/6.1: update to v6.1.44

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

    0a4a7855302d Linux 6.1.44
    dd5f2ef16e3c x86: fix backwards merge of GDS/SRSO bit
    fa5b932b77c8 xen/netback: Fix buffer overrun triggered by unusual packet
    4f25355540ad x86/srso: Tie SBPB bit setting to microcode patch detection
    77cf32d0dbfb x86/srso: Add a forgotten NOENDBR annotation
    c7f2cd045542 x86/srso: Fix return thunks in generated code
    c9ae63d773ca x86/srso: Add IBPB on VMEXIT
    79c8091888ef x86/srso: Add IBPB
    98f62883e751 x86/srso: Add SRSO_NO support
    9139f4b6dd4f x86/srso: Add IBPB_BRTYPE support
    ac41e90d8daa x86/srso: Add a Speculative RAS Overflow mitigation
    dec3b91f2c4b x86/cpu, kvm: Add support for CPUID_80000021_EAX
    dfede4cb8ef7 x86/bugs: Increase the x86 bugs vector size to two u32s
    dacb0bac2edb Documentation/x86: Fix backwards on/off logic about YMM support
    051f5dcf144a x86/mm: Initialize text poking earlier
    e0fd83a193c5 mm: Move mm_cachep initialization to mm_init()
    9ae15aaff39c x86/mm: Use mm_alloc() in poking_init()
    d972c8c08f96 x86/mm: fix poking_init() for Xen PV guests
    7f3982de36c6 x86/xen: Fix secondary processors' FPU initialization
    baa7b7501e41 x86/mem_encrypt: Unbreak the AMD_MEM_ENCRYPT=n build
    b6fd07c41b4c KVM: Add GDS_NO support to KVM
    c04579e95492 x86/speculation: Add Kconfig option for GDS
    92fc27c79bc7 x86/speculation: Add force option to GDS mitigation
    c66ebe070d96 x86/speculation: Add Gather Data Sampling mitigation
    f25ad76d9217 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
    e26932942b2c x86/fpu: Mark init functions __init
    9e8d9d399094 x86/fpu: Remove cpuinfo argument from init functions
    c956807d8462 x86/init: Initialize signal frame size late
    b0837880fa65 init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
    8183a89caf67 init: Invoke arch_cpu_finalize_init() earlier
    a3342c60dcc5 init: Remove check_bugs() leftovers
    8beabde0ed8d um/cpu: Switch to arch_cpu_finalize_init()
    ce97072e10cc sparc/cpu: Switch to arch_cpu_finalize_init()
    84f585542ec6 sh/cpu: Switch to arch_cpu_finalize_init()
    6a90583dbd9b mips/cpu: Switch to arch_cpu_finalize_init()
    489ae02c8993 m68k/cpu: Switch to arch_cpu_finalize_init()
    08e86d42e2c9 loongarch/cpu: Switch to arch_cpu_finalize_init()
    403e4cc67e4c ia64/cpu: Switch to arch_cpu_finalize_init()
    e2e06240ae47 ARM: cpu: Switch to arch_cpu_finalize_init()
    7918a3555a25 x86/cpu: Switch to arch_cpu_finalize_init()
    d5501f2ff80d init: Provide arch_cpu_finalize_init()

(From OE-Core rev: c8b669d53b3444191c83f171768b03f96913f4eb)

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>
23 months agobuild-sysroots: Ensure dependency chains are minimal
Richard Purdie [Mon, 21 Aug 2023 15:04:42 +0000 (16:04 +0100)] 
build-sysroots: Ensure dependency chains are minimal

We need to ensure this recipe doesn't have dependencies on others. The SPDX
classes/tasks introduce dependenies quilt-native and patch-native which can
introduce races on files in the sysroots. Avoid the races by removing the
tasks we don't need.

[YOCTO #15186]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agobinutils: Add missing DEPENDS on pod2man
Richard Purdie [Mon, 21 Aug 2023 14:34:14 +0000 (15:34 +0100)] 
binutils: Add missing DEPENDS on pod2man

Otherwise this can be used from the host leading to output determinism issues
where the output may have zero length files for man pages without it.

Limit it to target only since we don't need this for native/cross.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agooeqa/runtime/rust: correct rust test
Frederic Martinsons [Thu, 17 Aug 2023 05:04:16 +0000 (07:04 +0200)] 
oeqa/runtime/rust: correct rust test

Since setUp of RustCompileTest use cls.tc.copyTo, those tests needs the scp command:

NOTE: ======================================================================
NOTE: FAIL: test_cargo_compile (rust.RustCompileTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/case.py", line 53, in _oeSetUp
    self.setUpMethod()
  File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/runtime/cases/rust.py", line 17, in setUp
    cls.tc.target.copyTo(src, dst)
  File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/target/ssh.py", line 132, in copyTo
    return self._run(scpCmd, ignore_status=False)
  File "/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/core/target/ssh.py", line 81, in _run
    raise AssertionError("Command '%s' returned non-zero exit "
AssertionError: Command '['scp', '-o', 'ServerAliveCountMax=2', '-o', 'ServerAliveInterval=30', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'LogLevel=ERROR', '-r', '-P', '2222', '/home/jenkins/yocto-poky-master/poky/meta/lib/oeqa/files/test.rs', 'root@127.0.0.1:/tmp/']' returned non-zero exit status 1:
sh: scp: not found
lost connection

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorust: provide examples for C library generation in rust
Frederic Martinsons [Thu, 17 Aug 2023 05:04:15 +0000 (07:04 +0200)] 
rust: provide examples for C library generation in rust

rust-c-lib-example is a little rust code which provide
a single function to print a formatted date (via the chrono crate)
from an input timestamp in millisecond. It has the necessary FFI
annotation and inherit cargo_c class for the C ABI compatible
library generation.

rust-c-lib-example is meson project for the C code which
will call the print_date function from rust-c-lib-example
if no argument is provided, if any argument is provided
it will print "Hello world in rust from C!"

add a runtime test case to check if all went well.

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoclasses-recipe: add cargo_c.bbclass
Frederic Martinsons [Thu, 17 Aug 2023 05:04:14 +0000 (07:04 +0200)] 
classes-recipe: add cargo_c.bbclass

This class can be used inside rust recipe to generate
a rust library that can be called by C/C++ code.

The rust recipe which uses this class has to only replace
"inherit cargo" by "inherit cargo_c".

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agorust: add cargo-c native recipe
Frederic Martinsons [Thu, 17 Aug 2023 05:04:13 +0000 (07:04 +0200)] 
rust: add cargo-c native recipe

This package make it easier to generate C/C++ ABI compatible
header, library and also generate package config file.

It is built around cbindgen (https://github.com/mozilla/cbindgen)
for the header generation, it compiles the library (static or dynamic)
through cargo and finally handle the generation of a custom
package config file.

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agostress-ng: upgrade 0.15.08 -> 0.16.04
Anuj Mittal [Thu, 17 Aug 2023 07:38:34 +0000 (15:38 +0800)] 
stress-ng: upgrade 0.15.08 -> 0.16.04

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agoharfbuzz: upgrade 8.0.1 -> 8.1.1
Anuj Mittal [Thu, 17 Aug 2023 07:38:33 +0000 (15:38 +0800)] 
harfbuzz: upgrade 8.0.1 -> 8.1.1

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agogstreamer1.0: upgrade 1.22.4 -> 1.22.5
Anuj Mittal [Thu, 17 Aug 2023 07:38:32 +0000 (15:38 +0800)] 
gstreamer1.0: upgrade 1.22.4 -> 1.22.5

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-setuptools: upgrade 68.0.0 -> 68.1.0
Trevor Gamblin [Thu, 17 Aug 2023 19:02:41 +0000 (15:02 -0400)] 
python3-setuptools: upgrade 68.0.0 -> 68.1.0

Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-trove-classfiers: upgrade 2023.7.6 -> 2023.8.7
Trevor Gamblin [Thu, 17 Aug 2023 19:02:40 +0000 (15:02 -0400)] 
python3-trove-classfiers: upgrade 2023.7.6 -> 2023.8.7

Changelog: https://github.com/pypa/trove-classifiers/releases

- Add Trove classifier for Python 3.13 (#150)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-numpy: upgrade 1.25.1 -> 1.25.2
Trevor Gamblin [Thu, 17 Aug 2023 19:02:39 +0000 (15:02 -0400)] 
python3-numpy: upgrade 1.25.1 -> 1.25.2

Changelog: https://github.com/numpy/numpy/releases/tag/v1.25.2

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 months agopython3-dbusmock: upgrade 0.29.0 -> 0.29.1
Trevor Gamblin [Thu, 17 Aug 2023 19:02:37 +0000 (15:02 -0400)] 
python3-dbusmock: upgrade 0.29.0 -> 0.29.1

Changelog: https://github.com/martinpitt/python-dbusmock/releases

- spec: Update License: to SPDX format
- Test fixes (thanks Marco Trevisan)

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