]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agokbd: upgrade 2.5.0 -> 2.5.1
wangmy [Wed, 22 Jun 2022 07:37:50 +0000 (15:37 +0800)] 
kbd: upgrade 2.5.0 -> 2.5.1

Changelog:
==========
keymaps:
-------
    Fix pt-latin1 failing to load due to euro2 include.

tests:
--------
    The tests do not depend on the data in srcdir/data.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: upgrade 9.18.3 -> 9.18.4
wangmy [Wed, 22 Jun 2022 07:37:49 +0000 (15:37 +0800)] 
bind: upgrade 9.18.3 -> 9.18.4

Changelog:
==========
[func]          Don't try to process DNSSEC-related and ZONEMD records
                in catz. [GL #3380]

[func]          Add some more dnssec-policy checks to detect weird
                policies. [GL #1611]

[test]          Add new set of unit test macros and move the unit
                tests under single namespace in /tests/. [GL !6243]

[func]          Key timing options for 'dnssec-settime' and related
                utilities now accept "UNSET" times as printed by
                'dnssec-settime -p'. [GL #3361]

[bug]           When the fetches-per-server quota was adjusted
                because of an authoritative server timing out more
                or less frequently, it was incorrectly set to 1
                rather than the intended value.  This has been
                fixed. [GL #3327]

[bug]           Only write key files if the dnssec-policy keymgr has
                changed the metadata. [GL #3302]

[func]          Key timing options for 'dnssec-keygen' and
                'dnssec-settime' now accept times as printed by
                'dnssec-settime -p'. [GL !2947]

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-ucm-conf: upgrade 1.2.7 -> 1.2.7.1
wangmy [Wed, 22 Jun 2022 07:37:48 +0000 (15:37 +0800)] 
alsa-ucm-conf: upgrade 1.2.7 -> 1.2.7.1

Configuration
 - mt8195_demo: fix the HDMI device name
 - USB-Audio: ALC1220 - add support for Gigabyte TRX40 Aorus Pro WiFi Rev 1.2
 - ucm2: MediaTek: mt8195-demo: Add Initial support
 - ucm2: rk3399-gru-sound: Add missing symlink from conf.d tree
 - USB-Audio: Optimize regex for realtek-alc4080
 - USB-Audio: Add ALC4080 ID for Asus Z690-I Gaming Wifi
 - ucm2 profile for MOTU M4 interface
 - ucm2: Rockchip/max98090: add symlink to VEYRON-I2S
 - ucm2: Rockchip/max98090: add JackControl and PlaybackVolume
 - Added basic support for ALC4082 on ASUS ROG Maximus Z690 Hero.
 - ucm2: direct profile - allow to override the card name
 - ucm2 profile for Behringer Flow8
 - Steinberg UR44: fix the direction for steinberg_ur44_mono_in
 - Steinberg UR44: fix the Line2 channel mapping (2nd)
 - Steinberg UR44: fix the Line2 channel mapping

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-plugins: upgrade 1.2.6 -> 1.2.7.1
wangmy [Wed, 22 Jun 2022 07:37:47 +0000 (15:37 +0800)] 
alsa-plugins: upgrade 1.2.6 -> 1.2.7.1

Changelog:
==========
Jack PCM plugin
 - jack: use program_invocation_short_name
 - jack: implement pcm operation sw_params

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-lib: upgrade 1.2.7 -> 1.2.7.1
wangmy [Wed, 22 Jun 2022 07:37:46 +0000 (15:37 +0800)] 
alsa-lib: upgrade 1.2.7 -> 1.2.7.1

Changelog:
=========
Core
 - Release v1.2.7.1
 - conf: Use ino64_t to save and compare inode numbers
Control API
 - control: eld - fix the decoding for older hw
I/O API
 - output: include stdarg.h
PCM API
 - pcm: dmix - Add error handler for `fgets`
Use Case Manager API
 - ucm: list also hardware configs (hw:X) in uc_mgr_scan_master_configs() fcn
Configuration
 - conf: Use ino64_t to save and compare inode numbers

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-requests: upgrade 2.27.1 -> 2.28.0
Alexander Kanavin [Tue, 21 Jun 2022 20:16:37 +0000 (22:16 +0200)] 
python3-requests: upgrade 2.27.1 -> 2.28.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agox264: upgrade to latest revision
Alexander Kanavin [Tue, 21 Jun 2022 20:16:36 +0000 (22:16 +0200)] 
x264: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowireless-regdb: upgrade 2022.04.08 -> 2022.06.06
Alexander Kanavin [Tue, 21 Jun 2022 20:16:35 +0000 (22:16 +0200)] 
wireless-regdb: upgrade 2022.04.08 -> 2022.06.06

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosudo: upgrade 1.9.10 -> 1.9.11p2
Alexander Kanavin [Tue, 21 Jun 2022 20:16:34 +0000 (22:16 +0200)] 
sudo: upgrade 1.9.10 -> 1.9.11p2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopuzzles: upgrade to latest revision
Alexander Kanavin [Tue, 21 Jun 2022 20:16:33 +0000 (22:16 +0200)] 
puzzles: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: upgrade 2.54.3 -> 2.54.4
Alexander Kanavin [Tue, 21 Jun 2022 20:16:32 +0000 (22:16 +0200)] 
librsvg: upgrade 2.54.3 -> 2.54.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodos2unix: upgrade 7.4.2 -> 7.4.3
Alexander Kanavin [Tue, 21 Jun 2022 20:16:31 +0000 (22:16 +0200)] 
dos2unix: upgrade 7.4.2 -> 7.4.3

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 215 -> 216
Alexander Kanavin [Tue, 21 Jun 2022 20:16:30 +0000 (22:16 +0200)] 
diffoscope: upgrade 215 -> 216

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibdrm: update 2.4.110 -> 2.4.111
Alexander Kanavin [Tue, 21 Jun 2022 20:16:29 +0000 (22:16 +0200)] 
libdrm: update 2.4.110 -> 2.4.111

libkms option dropped by upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoell: update 0.50 -> 0.51
Alexander Kanavin [Tue, 21 Jun 2022 20:16:28 +0000 (22:16 +0200)] 
ell: update 0.50 -> 0.51

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: update 1.18.2 -> 1.18.3
Alexander Kanavin [Tue, 21 Jun 2022 20:16:27 +0000 (22:16 +0200)] 
go: update 1.18.2 -> 1.18.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: update 2.13.3 -> 2.13.4
Alexander Kanavin [Tue, 21 Jun 2022 20:16:26 +0000 (22:16 +0200)] 
lttng-modules: update 2.13.3 -> 2.13.4

Drop backports; one of them (0009) is present only
on the master branch and not on 2.13 branch, and so
stays in the recipe.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan: upgrade 1.3.211.0 -> 1.3.216.0
Alexander Kanavin [Tue, 21 Jun 2022 20:16:25 +0000 (22:16 +0200)] 
vulkan: upgrade 1.3.211.0 -> 1.3.216.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools: update 62.3.2 -> 62.5.0
Alexander Kanavin [Tue, 21 Jun 2022 20:16:24 +0000 (22:16 +0200)] 
python3-setuptools: update 62.3.2 -> 62.5.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: update 1.22.3 -> 1.22.4
Alexander Kanavin [Tue, 21 Jun 2022 20:16:23 +0000 (22:16 +0200)] 
python3-numpy: update 1.22.3 -> 1.22.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: update 22.0.3 -> 22.1.2
Alexander Kanavin [Tue, 21 Jun 2022 20:16:22 +0000 (22:16 +0200)] 
mesa: update 22.0.3 -> 22.1.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperf: sort-pmuevents: really keep array terminators
Lucas Stach [Tue, 21 Jun 2022 17:02:44 +0000 (19:02 +0200)] 
perf: sort-pmuevents: really keep array terminators

Commit e1382583cd50 ("perf: sort-pmuevents: don't drop elements") tried
to fix a case where the array terminator elements were dropped from the
sorted list breaking the build, but it only worked for the case where
the terminator is the only element of the array. When the array has other
elements the terminator will still be silently dropped, causing invalid
memory accesses at runtime when the perf utility iterates over the array.

Fix this by treating any unmatched entry as an array terminator and also
add a comment to make it a little more clear how things are ending up at
the right position in the sorted list.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic: fix WicError message
Martin Jansa [Tue, 21 Jun 2022 14:10:10 +0000 (16:10 +0200)] 
wic: fix WicError message

* add missing % to print the values instead of:
  | INFO: Build artifacts not found, exiting.
  | INFO:   (Please check that the build artifacts for the machine
  | INFO:    selected in local.conf actually exist and that they
  | INFO:    are the correct artifacts for the image (.wks file)).
  |
  | ERROR: ("The artifact that couldn't be found was %s:\n  %s", 'kernel-dir', '/OE/build/deploy/images/qemux86-64')

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibffi: fix native build being not portable
Maxime Roussin-Bélanger [Tue, 21 Jun 2022 14:26:19 +0000 (10:26 -0400)] 
libffi: fix native build being not portable

Without `--with-gcc-arch=generic` libffi looks up the cpuid to automatically determine
which mtune/march to use. This makes the native sstate-cache unuseable since it's
possible to have a newer cpu building the recipe and the library being pulled from
another older cpu which doesn't have the instruction.

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-jsonschema: upgrade 4.5.1 -> 4.6.0
Ross Burton [Tue, 21 Jun 2022 13:10:11 +0000 (14:10 +0100)] 
python3-jsonschema: upgrade 4.5.1 -> 4.6.0

Switch the build system from setuptools to hatch.

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>
3 years agopython3-hatch-vcs: add new recipe
Ross Burton [Tue, 21 Jun 2022 13:10:10 +0000 (14:10 +0100)] 
python3-hatch-vcs: add new recipe

This recipe (a VCS plugin for Hatch) is needed by the new
python3-jsonschema to build.

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>
3 years agoAdd python3-hatchling (from meta-oe)
Ross Burton [Tue, 21 Jun 2022 13:10:09 +0000 (14:10 +0100)] 
Add python3-hatchling (from meta-oe)

Recipes in core are now needing to use the Hatch build system, so
move the hatchling recipe and class from meta-oe to oe-core.

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>
3 years agoAdd python3-pathspec (from meta-python)
Ross Burton [Tue, 21 Jun 2022 13:10:08 +0000 (14:10 +0100)] 
Add python3-pathspec (from meta-python)

This is a dependency of the Hatch build system, to be added as
python3-hatchling.

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>
3 years agoAdd python3-editables (from meta-python)
Ross Burton [Tue, 21 Jun 2022 13:10:07 +0000 (14:10 +0100)] 
Add python3-editables (from meta-python)

This is a dependency of the Hatch build system, to be added as
python3-hatchling.

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>
3 years agoudev-extraconf/mount.sh: ignore lvm in automount
Muhammad Hamza [Tue, 21 Jun 2022 05:09:37 +0000 (10:09 +0500)] 
udev-extraconf/mount.sh: ignore lvm in automount

Failure message is shown in boot logs when trying to
mount lvm as automounter does not handle cases where
lvm is mounted. This simply skips lvm while automounting
to avoid failure message in boot logs.

Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoudev-extraconf: force systemd-udevd to use shared MountFlags
Muhammad Hamza [Mon, 20 Jun 2022 13:52:58 +0000 (18:52 +0500)] 
udev-extraconf: force systemd-udevd to use shared MountFlags

Automounting does not work cleanly in case systemd as well as
udev rules are being used simultaneously and in most cases
race conditions and unknown behavior can come up.
In case we're running on top of systemd we need to make sure
that systemd-udevd knows that udev is in play as well and
mounting should be done using shared flags. Also as we're
using mount from sources other than systemd-mount in current
scripts this is the most manageable fix to automounting
problems.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoudev-extraconf/mount.sh: only mount devices on hotplug
Muhammad Hamza [Mon, 20 Jun 2022 13:17:56 +0000 (18:17 +0500)] 
udev-extraconf/mount.sh: only mount devices on hotplug

fdisk from util-linux (2.31.1) and above allows the user to
manipulate an already mounted device. In order to achieve this
functionality it issues a BLKRRPART (block device re-read part)
ioctl and in response the kernel generates remove/change/add
events if the device is not mounted (manually unmounted etc)
which are caught and processed by udev. This causes our auto-mounter
to remount everything because it does not keep track and things
go out of control.
Differentiating between types of remove events such as the one
described above (generated by BLKRRPART) and one where the device
is physically plugged out is only possible using the DEVPATH variable
which is cleaned up only when the device is actually plugged-out.
This fixes the above anomaly by only mounting a device in add event
which is cleaned up properly (tmp cache deleted) in the remove event
or is not present in the tmp cache while making use of the DEVPATH
variable during the remove action.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoudev-extraconf/mount.sh: save mount name in our tmp filecache
Muhammad Hamza [Mon, 20 Jun 2022 13:17:55 +0000 (18:17 +0500)] 
udev-extraconf/mount.sh: save mount name in our tmp filecache

Doing this will allow to fetch the exact name created by the
auto-mounter during the remove action where depending on the
scenario utilities such as the blkid might not be usable due
to actual device not being present on the system.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoudev-extraconf/mount.sh: add LABELs to mountpoints
Muhammad Hamza [Tue, 21 Jun 2022 09:05:12 +0000 (14:05 +0500)] 
udev-extraconf/mount.sh: add LABELs to mountpoints

This alters the mountpoints such that if a device has a LABEL or
a PARTLABEL, it will be mounted at e.g.:

  /run/media/$LABEL-<device-node>
  /run/media/$PARTLABEL-<device-node>
  /run/media/rootfs-sda2

otherwise the device will be mounted at e.g.:

  /run/media/<device-node>
  /run/media/sda1

The <device-node> appended with LABEL or PARTLABEL makes sure that
the mountpoint is unique, therefore, avoids overlapping mounts.

Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agosystemd: Rebase patches on v251
Pavel Zhukov [Tue, 21 Jun 2022 07:08:00 +0000 (09:08 +0200)] 
systemd: Rebase patches on v251

Drop patches which are not needed anymore.
Rebase musl specific patches to aboid fuzz warnings

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agosystemd: Add missed sys/file.h includes for musl
Pavel Zhukov [Tue, 21 Jun 2022 07:07:58 +0000 (09:07 +0200)] 
systemd: Add missed sys/file.h includes for musl

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agosigning-keys: fix RDEPENDS to signing-keys-dev
Federico Pellegrin [Sun, 19 Jun 2022 15:24:17 +0000 (17:24 +0200)] 
signing-keys: fix RDEPENDS to signing-keys-dev

Specific provider (ie. RPM or IPK) does "provide" just itself as a
package to the system. This will cause the "-dev" package, which
refers to the generic signing-keys and not the provider specific,
to miss the dependency.

Error case (RPM) when populating sdk:

Error:
 Problem: conflicting requests
  - nothing provides signing-keys = 1.0-r0 needed by signing-keys-dev-1.0-r0.noarch
(try to add '--skip-broken' to skip uninstallable packages)

Examining signing-keys-rpm packages in PROVIDES we have indeed:
signing-keys-rpm = 1.0-r0

But in signing-keys-dev: in REQUIRES:
signing-keys-1.0-r0

This MR will fix the situation by removing the RDEPENDS for
the -dev package

Signed-off-by: Federico Pellegrin <fede@evolware.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agopython3: fix a race condition in the test_socket.testSockName test
Ross Burton [Fri, 17 Jun 2022 12:48:20 +0000 (13:48 +0100)] 
python3: fix a race condition in the test_socket.testSockName test

This test uses find_unused_port() which is inherently racey, so retry
it a few times before failing.

[ YOCTO #14840 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosystemd: add packageconfig for sysext
Peter Bergin [Fri, 17 Jun 2022 12:56:19 +0000 (14:56 +0200)] 
systemd: add packageconfig for sysext

Currently the sysext binary is packaged in systemd-utils and
the service systemd-sysext.service in systemd package. Add a
PACKAGECONFIG for sysext to actively choose if it is going to
be installed or not, default off. If installed it will be added
to systemd package.

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoinitramfs-framework: move storage mounts to actual rootfs
Muhammad Hamza [Fri, 17 Jun 2022 05:50:22 +0000 (10:50 +0500)] 
initramfs-framework: move storage mounts to actual rootfs

Operations such as mkfs fail on devices that are not
switched to the actual rootfs before switch_root is
called. The kernel interprets these devices as still
being used even after unmounting and errors such as
below are seen when the target is fully booted

root@v1000:~# umount /dev/sdb1
root@v1000:~# mkfs.ext4 /dev/sdb1
mke2fs 1.43.8 (1-Jan-2018)
/dev/sdb1 contains a ext4 file system
        last mounted on Wed Nov 28 07:33:54 2018
Proceed anyway? (y,N) y
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-magic: upgrade 0.4.26 -> 0.4.27
Xu Huan [Fri, 17 Jun 2022 01:37:50 +0000 (09:37 +0800)] 
python3-magic: upgrade 0.4.26 -> 0.4.27

Changes to 0.4.27:
  - remove spurious pyproject.toml that breaks source builds

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3: upgrade 3.10.4 -> 3.10.5
Xu Huan [Fri, 17 Jun 2022 01:37:49 +0000 (09:37 +0800)] 
python3: upgrade 3.10.4 -> 3.10.5

0001-Don-t-search-system-for-headers-libraries.patch
refreshed for new version.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoerofs-utils: upgrade 1.4 -> 1.5
wangmy [Thu, 16 Jun 2022 01:35:54 +0000 (09:35 +0800)] 
erofs-utils: upgrade 1.4 -> 1.5

0001-fsck-main.c-add-missing-include.patch
removed since it's included in 1.5.

License-Update: license switch to GPL-2.0+ OR Apache-2.0
                for better 3rd-party integration.

Changelog:
==========
* This release includes the following updates:
   - (fsck.erofs) support filesystem extraction (Igor Ostapenko);
   - support ztailpacking inline feature for compressed files (Yue Hu);
   - (dump.erofs) support listing directories;
   - more liberofs APIs (including iterate APIs) (me, Kelvin Zhang);
   - use mtime to allow more control over the timestamps (David Anderson);
   - switch to GPL-2.0+ OR Apache-2.0 dual license for liberofs;
   - various bugfixes and cleanups;

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 again
Martin Jansa [Wed, 15 Jun 2022 20:21:08 +0000 (22:21 +0200)] 
mesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 again

* the same will be needed for kirkstone

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pyasn1: Eliminated ptest deprecation warnings
Yulong (Kevin) Liu [Wed, 15 Jun 2022 19:41:27 +0000 (12:41 -0700)] 
python3-pyasn1: Eliminated ptest deprecation warnings

Eliminated the ptest deprecation warnings for the error:
    DeprecationWarning: _int_ returned non-int (type SizedInteger).
    The ability to return an instance of a strict subclass of int is deprecated,
    and may be removed in a future version of Python.
       return SizedInteger(value).setBitLength(len(value))

Patch from git upstream repo:
   https://github.com/etingof/pyasn1/commit/db8f1a7930c6b5826357646746337dafc983f953

Signed-off-by: Yulong (Kevin) Liu <yulong.liu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: systemd-systemctl: Support instance conf files during enable
Nick Potenski [Wed, 15 Jun 2022 19:32:19 +0000 (14:32 -0500)] 
systemd: systemd-systemctl: Support instance conf files during enable

Add ability to parse instance-specific conf files when
enabling an instance of a templated unit during postinstall.

Signed-off-by: Nick Potenski <nick.potenski@garmin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorootfs-postcommands.bbclass: correct comments
Michael Opdenacker [Wed, 15 Jun 2022 18:36:04 +0000 (20:36 +0200)] 
rootfs-postcommands.bbclass: correct comments

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/cve_check: add tests for Ignored and partial reports
Marta Rybczynska [Wed, 15 Jun 2022 13:21:48 +0000 (15:21 +0200)] 
oeqa/selftest/cve_check: add tests for Ignored and partial reports

Add testcases for partial reports with CVE_CHECK_REPORT_PATCHED and
Ignored CVEs.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: add support for Ignored CVEs
Marta Rybczynska [Wed, 15 Jun 2022 13:20:11 +0000 (15:20 +0200)] 
cve-check: add support for Ignored CVEs

Ignored CVEs aren't patched, but do not apply in our configuration
for some reason. Up till now they were only partially supported
and reported as "Patched".

This patch adds separate reporting of Ignored CVEs. The variable
CVE_CHECK_REPORT_PATCHED now manages reporting of both patched
and ignored CVEs.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: add QB_KERNEL_CMDLINE
Raju Kumar Pothuraju [Wed, 15 Jun 2022 13:10:24 +0000 (18:40 +0530)] 
runqemu: add QB_KERNEL_CMDLINE

runqemu auto generating the KERNEL_CMDLINE values and specifying using
-append option to qemu boot command which will lead to override the
kernel_cmdline/bootargs which are specified in DTB when using -dtb option.
Add new macro QB_KERNEL_CMDLINE to specify not to add the runqemu
generated KERNEL_CMDLINE values instead use which are in the DTB if
value defined as 'none'.
Add provision to override bootargs using # runqemu bootparams="root=/dev/ram0"

Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: upgrade 20220509 -> 20220610
Dmitry Baryshkov [Wed, 15 Jun 2022 10:04:15 +0000 (13:04 +0300)] 
linux-firmware: upgrade 20220509 -> 20220610

Drop 0001-Makefile-replace-mkdir-by-install.patch merged upstream.

License-Update: additional files
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.14.01 -> 0.14.02
wangmy [Wed, 15 Jun 2022 08:19:52 +0000 (16:19 +0800)] 
stress-ng: upgrade 0.14.01 -> 0.14.02

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: upgrade to latest revision
wangmy [Wed, 15 Jun 2022 08:19:51 +0000 (16:19 +0800)] 
piglit: upgrade to latest revision

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl-obstack: upgrade 1.1 -> 1.2
wangmy [Wed, 15 Jun 2022 08:16:03 +0000 (16:16 +0800)] 
musl-obstack: upgrade 1.1 -> 1.2

Changelog:
=========
Use obstack.c and obstack.h from gcc-10.2.0 libiberty.
Add AC_CONFIG_HEADERS to configure.ac and make ./bootstrap.sh create config.h.in.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognu-config: update to latest version
wangmy [Wed, 15 Jun 2022 08:16:02 +0000 (16:16 +0800)] 
gnu-config: update to latest version

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolighttpd: upgrade 1.4.64 -> 1.4.65
wangmy [Wed, 15 Jun 2022 08:16:00 +0000 (16:16 +0800)] 
lighttpd: upgrade 1.4.64 -> 1.4.65

Changelog:
==========
  * [build] meson: fix typo in variable name
  * [build] autoconf: report if building with zstd
  * [build] meson -Dlua_version=... to specify lua ver
  * [core] avoid CCRandomGenerateBytes on MacOS <10.12 (fixes #3140)
  * [core] use diff var name w/ CCRandomGenerateBytes (fixes #3141)
  * [core] parse conf cmds with SHELL or /bin/sh
  * [core] fix HMAC with openssl 3.0
  * [mod_webdav] no COPYFILE_CLONE_FORCE on OSX <10.12 (fixes #3142)
  * [mod_deflate] fix to return 304 with If-None-Match (fixes #3143)
  * [core] Illumos epoll incompatible w/ lighttpd impl
  * [core] feature flag to allow Range w/ HTTP/1.0
  * [mod_mbedtls] set usekeysize for mbedtls 3.2.0+
  * [mod_deflate] collect mmap code
  * [mod_deflate] prototype using libdeflate w/ mmap
  * [mod_deflate] --with-libdeflate to use libdeflate
  * [mod_deflate] mark input bytes const
  * [core] sys-setjmp.[ch]
  * [mod_magnet] check lighty.result.content b4 setjmp
  * [core] include guard consistency in sys-time.h
  * [core] network_write_file_chunk_remap separate fn
  * [multiple] use new sys_setjmp_eval3() interface
  * [multiple] pedantic chunk.c checks for 0-len chunk
  * [multiple] shared code for struct chunk and mmap
  * [mod_deflate] use pread if available
  * [mod_deflate] improve loop compressing file chunk
  * [core] prep server_tag at startup for h2 resp hdr
  * [mod_magnet] defer req_env init unless needed
  * [mod_magnet] reset after error attaching content
  * [mod_magnet] lua_tointegerx() avoids raising error
  * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
  * [mod_magnet] adjust hot path for more inlining
  * [mod_magnet] collect chk for magnet lua_State init
  * [mod_magnet] use type returned from lua_getfield()
  * [core] chunk_file_pread() to wrap pread()
  * [core] disable keep-alive if forcing HTTP/1.0 resp
  * [mod_magnet] use lua_getextraspace() to store r
  * [core] fall back to getauxval(AT_RANDOM), if avail
  * [mod_magnet] keep message handler on stack
  * [doc] update external links
  * [mod_magnet] pass lighty table index, defer pops
  * [mod_magnet] clear and reuse script-env table
  * [mod_magnet] clear stack when reloading script
  * [mod_magnet] use lua_isnoneornil() in interfaces
  * [mod_magnet] fix lighty.c.cookie_tokens()
  * [mod_magnet] fix lighty.c.urldec_query()
  * [mod_magnet] remove duplicated NULL checks
  * [mod_magnet] adjust magnet_lighty_result_get()
  * [mod_magnet] magnet_tmpbuf_acquire(),release()
  * [mod_magnet] lighty.c.quotedenc(),dec() funcs
  * [mod_magnet] fix header,content legacy table clear
  * [mod_cgi] cgi.local-redir request_reset thru fnptr
  * [core] isolate plugins_*() funcs to main server
  * [mod_wolfssl] wolfssl v5.0.0 defines DH_set0_pqg()
  * [mod_auth] save letter-case diff in require config
  * [mod_magnet] magnet_push_quoted_string shared code
  * [mod_magnet] lighty.c.header_tokens convenience fn
  * [core] fill in un.sun_path after accept() (fixes #3147)
  * [mod_extforward] adjust trust check for HTTP/2
  * [mod_proxy] adjust handling of legacy X-* headers
  * [core] permit env w/ blank value (fix regression)
  * [TLS] consistent debug.log-ssl-noise config type
  * [mod_magnet] allow removal of req_env elt via nil
  * [core] compiler workarounds for very old gcc,glibc
  * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
  * [mod_ssi] check http_chunk_transfer_cqlen for err
  * [core] chunkqueue_steal() handle unexpected 0 len
  * [core] discard DATA from REFUSED_STREAM at h2 init
  * [multiple] WebSockets over HTTP/2 (fixes #3151)
  * [multiple] immed connect to backend for streaming
  * [core] ensure socket ready before checking connect
  * [core] reduce trace on Upgrade backend connection
  * [core] adjust when TCP_CORK used on TLS connection
  * [mod_cgi] disable input optim if might Upgrade
  * [mod_cgi] immed start CGI if Upgrade
  * [mod_wolfssl] wolfssl v5.0.0 adds ASN1_TIME_diff()
  * [mod_openssl] libressl v3.5.0 adds ASN1_TIME_diff
  * [TLS] warn if leaf cert read is inactive/expired
  * [core] stricter conformance w/ upcoming HTTP/2 rev
  * [build] -D_DEFAULT_SOURCE consistency in builds
  * [mod_extforward] support addtl IPv6 syntax w/ "[]"
  * [core] build fix for cygwin and lmingw
  * [core] short-circuit earlier parsing h2 trailers
  * [core] reformat h2.h for cleaner enum additions
  * [core] consolidate trace for log-state-handling
  * [core] request_config bitmasks for smaller struct
  * [core] prefix (=^), suffix (=$) config conditions (fixes #3153)
  * [core] tighten config parsing loop
  * [core] convert simple config cond regex to pre/sfx
  * [tests] able to run tests when built w/o pcre
  * [core] allow redirect,rewrite ext subst w/o pcre
  * [mod_sockproxy] reset http vers, avoid rare crash (fixes #3152)
  * [core] HTTP/2 PRIORITY_UPDATE frame (experimental)
  * [core] send HTTP/2 SETTINGS_NO_RFC7540_PRIORITIES
  * [core] stricter check of HTTP/2 GOAWAY frame size
  * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
  * [mod_webdav] opt for partial PUT via copy/rename
  * [core] quiet compiler warning
  * [multiple] recognize HTTP QUERY method
  * [multiple] limit scope of socket config options
  * [core] fix config typo reading large int from str
  * [core] h2 prio sort urgency, incr, then stream id
  * [core] send Priority resp hdr w/ .css, .js re-prio
  * [multiple] reset http vers, avoid rare crash (fixes #3152)
  * [core] delay response to http auth invalid creds
  * [core] connection_state_machine_h2 only if con->h2
  * [core] default server.max-keep-alive-requests 1000
  * [mod_magnet] set script env in func first upvalue
  * [mod_magnet] rewrite lighty.r as table of userdata
  * [mod_status] con->h2 instead of r->http_version
  * [mod_setenv] cleanup user-provided hdr sloppiness
  * [core] remove func decls duplicated in plugin.h
  * [mod_status] fix counting of HTTP/2 bytes written
  * [mod_magnet] no local server port on unix domain
  * [mod_extforward] unix domain socket pedantic chks
  * [core] sketch support for abstract sockets
  * [mod_magnet] magnet_plugin_stats_table() fn
  * [mod_magnet] magnet_script_setup_global_state() fn
  * [mod_magnet] lighty.server.* table w/ new function
  * [mod_accesslog] do not double-count hdr len in %I
  * [mod_magnet] reduce magnet_env_get_id() scanning
  * [mod_magnet] tighten magnet_env_get_buffer_by_id()
  * [mod_status] reusable code for r->state strings
  * [core] reusable code for r->state strings
  * [mod_magnet] expose r->state to lua scripts
  * [mod_magnet] tighten magnet_env_set()
  * [mod_magnet] lighty.r.req_item[] accessors
  * [mod_magnet] expose r->keep_alive to lua scripts
  * [mod_magnet] lighty.c.hrtime high-resolution time
  * [mod_magnet] lighty.r.resp_body.get
  * [mod_magnet] deprecate r.req_attr["response.*]
  * [mod_magnet] separate funcs for uri_path_raw
  * [mod_magnet] lighty.c.stat high precision time
  * [mod_magnet] format multiline err traceback
  * [mod_magnet] adjust p->conf.stage checks
  * [mod_magnet] further isolate legacy API result tbl
  * [core] buffer_append_char() convenience func
  * [mod_accesslog] accesslog.escaping = "json"
  * [multiple] use buffer_append_char()
  * [mod_accesslog] remove begin/end tags from %{}t
  * [core] fix configparser_simplify_regex() comment
  * [multiple] simplify bytes_in/bytes_out accounting
  * [mod_accesslog] reorder fields in switch()
  * [core] remove unused srv->con_* counters
  * [mod_magnet] read-only access to r->server_name
  * [core] buffer_append_bs_escaped()
  * [core] buffer_append_string_c_escaped ASCII optim
  * [mod_magnet] backspace-escape encode/decode
  * [mod_status] display HTTP/2 control stream w/ reqs
  * [multiple] use preferred syntax for Content-Type
  * [doc] regenerate doc/config/conf.d/mime.conf
  * [multiple] rename status_counter -> plugin_stats
  * [core] feature-flag server.metrics-high-precision
  * [mod_magnet] quiet coverity false positive
  * [mod_wolfssl] compile fix for OpenWRT
  * [mod_webdav] If-None-Match: * on non-existent
  * [mod_magnet] r.req_body .collect .get .set .add
  * [mod_cgi] fix detection of failing error handler (fixes #3157)
  * [core] "url-invalid-utf8-reject" normalization opt
  * [mod_magnet] skip req body collect warn if modsec3
  * [build] update descriptions to remove old lua ver
  * [core] use current dir if context->basedir blank
  * [multiple] application/javascript text/javascript
  * [core] reset internal flags after graceful restart
  * [TLS] inherit ssl.engine from global scope
  * [core] avoid server.use-ipv6 warning after SIGUSR1
  * [mod_webdav] alt handling PROPFIND on collection
  * [mod_mbedtls] fix crt chain construction logic
  * [core] h2 SETTINGS_INITIAL_WINDOW_SIZE 64k (fixes #3089)
  * [core] increase session window size to 256k
  * [core] h2: avoid sending small WINDOW_UPDATE frames
  * [core] h2: avoid sending tiny DATA frames
  * [core] update cached tables with Priority header
  * [tests] test stubs for http_header.c and http_kv.c

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibx11: upgrade 1.8 -> 1.8.1
wangmy [Wed, 15 Jun 2022 08:10:38 +0000 (16:10 +0800)] 
libx11: upgrade 1.8 -> 1.8.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofile: upgrade 5.41 -> 5.42
wangmy [Wed, 15 Jun 2022 08:10:37 +0000 (16:10 +0800)] 
file: upgrade 5.41 -> 5.42

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoethtool: upgrade 5.17 -> 5.18
wangmy [Wed, 15 Jun 2022 08:10:36 +0000 (16:10 +0800)] 
ethtool: upgrade 5.17 -> 5.18

avoid_parallel_tests.patch
refresed for new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobtrfs-tools: upgrade 5.18 -> 5.18.1
wangmy [Wed, 15 Jun 2022 08:10:35 +0000 (16:10 +0800)] 
btrfs-tools: upgrade 5.18 -> 5.18.1

Changelog:
==========
   * fixes:
      * convert: fix self reference of toplevel directory
      * build: make kernel lib headers compatible with C++
   * zoned mode: verify minimum zone size 4MiB
   * libbtrfs: cleanups, merge headers and remove declarations of unexported
     symbols
   * other: documentation updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogtk-doc: Fix potential shebang overflow on gtkdoc-mkhtml2
Paulo Neves [Tue, 14 Jun 2022 15:11:00 +0000 (17:11 +0200)] 
gtk-doc: Fix potential shebang overflow on gtkdoc-mkhtml2

A native path can cause a shebang overflow on gtkdoc-mkhtml.
Replace it with /usr/bin/env.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython: Avoid shebang overflow on python-config.py
Paulo Neves [Tue, 14 Jun 2022 15:10:59 +0000 (17:10 +0200)] 
python: Avoid shebang overflow on python-config.py

The native path may be too big, leading to shebang
overflow. Just use the #!/usr/bin/env python3.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: Upgrade 8.2.5034 -> 8.2.5083
Richard Purdie [Tue, 14 Jun 2022 21:24:18 +0000 (22:24 +0100)] 
vim: Upgrade 8.2.5034 -> 8.2.5083

Includes fixes for CVE-2022-1927, CVE-2022-1942.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarchiver: don't use machine variables in shared recipes
Jose Quaresma [Tue, 14 Jun 2022 16:24:38 +0000 (17:24 +0100)] 
archiver: don't use machine variables in shared recipes

When using multiconfig with the same TMP folder we can have
races because the shared recipes like gcc-source run twice.

ARCHIVER_OUTDIR = ${ARCHIVER_TOPDIR}/${TARGET_SYS}/${PF}/
which includes TARGET_SYS and between the two different MACHINE values,
this changes  from 'arm-poky-linux-gnueabi' to 'aarch64-poky-linux'.
This leads to the task running twice, once for each multiconfig.

To solve this we need to store the shared output in a common place
for all machines and in this way the stamps will be the same for each
machine so the gcc-source will on run once regardless of the machine used.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-source: Fix incorrect task dependencies from ${B}
Richard Purdie [Tue, 14 Jun 2022 16:24:36 +0000 (17:24 +0100)] 
gcc-source: Fix incorrect task dependencies from ${B}

Some tasks may reference ${B} for gcc-source which in general would not exist.
It has dependencies on HOST_SYS and TARGET_SYS which are not appropriate for a
shared recipe like gcc-source. This causes problems for the archiver and
multiconfigs in particlar.

Set B to something else to avoid these task hash issues.

Acked-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxwayland.weston-start: adaption of X11-unix folder
ssuesens [Tue, 14 Jun 2022 06:27:07 +0000 (08:27 +0200)] 
xwayland.weston-start: adaption of X11-unix folder

changed permission of X11-unix to 775
changed owner of X11-unix to root:video

Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston.init: enabled xwayland
ssuesens [Tue, 14 Jun 2022 06:27:06 +0000 (08:27 +0200)] 
weston.init: enabled xwayland

set xwayland support in weston.init file to true

Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston.py: added xwayland test
ssuesens [Tue, 14 Jun 2022 06:27:05 +0000 (08:27 +0200)] 
weston.py: added xwayland test

Test xwayland support if DISTRO_FEATURE X11 is enabled

Test checked if xserver listening on display

Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: fix override syntax in RDEPENDS
Yi Zhao [Tue, 14 Jun 2022 02:42:29 +0000 (10:42 +0800)] 
git: fix override syntax in RDEPENDS

RDEPENDS_${PN}-tk -> RDEPENDS:${PN}-tk

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>
3 years agopopt: fix override syntax in RDEPENDS
Yi Zhao [Tue, 14 Jun 2022 02:42:28 +0000 (10:42 +0800)] 
popt: fix override syntax in RDEPENDS

RDEPENDS_${PN}-ptest -> RDEPENDS:${PN}-ptest

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>
3 years agoclasses/create-spdx: Add SPDX_PRETTY option
Joshua Watt [Tue, 14 Jun 2022 02:30:47 +0000 (21:30 -0500)] 
classes/create-spdx: Add SPDX_PRETTY option

Adds an option to make the SPDX more human-readable (at the expense of a
larger files)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cryptography: remove test_x509.py
Mingli Yu [Mon, 13 Jun 2022 07:30:56 +0000 (15:30 +0800)] 
python3-cryptography: remove test_x509.py

We already have removed --benchmark-disable option to avoid
adding python3-pytest-benchmark rdepends.

Also remove the case test_x509.py which needs benchmark feature
to avoid below failure:
 file /usr/lib64/python3-cryptography/ptest/tests/bench/test_x509.py, line 9
  def test_aki_public_bytes(benchmark):
 >       fixture 'benchmark' not found
 >       available fixtures: backend, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, disable_rsa_checks, doctesty
 >       use 'pytest --fixtures [testpath]' for help on them.

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>
3 years agopython3-pip: Fix RDEPENDS after the update
Daiane Angolini [Sun, 12 Jun 2022 21:25:19 +0000 (18:25 -0300)] 
python3-pip: Fix RDEPENDS after the update

Fix the following error messages:

   ModuleNotFoundError: No module named 'distutils'

   ModuleNotFoundError: No module named 'colorsys'

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognu-efi: enable for riscv64
Ricardo Salveti [Fri, 10 Jun 2022 15:03:27 +0000 (12:03 -0300)] 
gnu-efi: enable for riscv64

The 3.0.14 release already includes support for riscv64.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoe2fsprogs: add alternatives handling of lsattr as well
Rasmus Villemoes [Wed, 8 Jun 2022 13:12:05 +0000 (15:12 +0200)] 
e2fsprogs: add alternatives handling of lsattr as well

Building busybox with CONFIG_LSATTR=y and installing that in the same
filesystem as e2fsprogs breaks:

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

Fix that by also alternatifying lsattr just as chattr already is.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooescripts: change compare logic in OEListPackageconfigTests
Mingli Yu [Mon, 23 May 2022 12:51:43 +0000 (20:51 +0800)] 
oescripts: change compare logic in OEListPackageconfigTests

When multilib enabled and add layers/meta-openembedded/meta-oe in
conf/bblayers.conf, it reports below error when run oe-selftest.
 $ oe-selftest -r  oescripts
 [snip]
 [20:36:33-0700] 2022-05-16 03:36:33,494 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_option_flags: FAILED (585.37s)
 [snip]

 It is because the output of "list-packageconfig-flags.py -f" as below:
 $ ../scripts/contrib/list-packageconfig-flags.py -f
 [snip]
 qt                     lib32-pinentry  lib32-wxwidgets  nativesdk-pinentry  pinentry  pinentry-native  wxwidgets  wxwidgets-native
 secret                 lib32-pinentry  nativesdk-pinentry  pinentry  pinentry-native
 [snip]

 But the check logic as below:
 class OEListPackageconfigTests(OEScriptTests):
    #oe-core.scripts.List_all_the_PACKAGECONFIG's_flags
    def check_endlines(self, results,  expected_endlines):
        for line in results.output.splitlines():
            for el in expected_endlines:
                if line.split() == el.split():
                    expected_endlines.remove(el)
                    break

 def test_packageconfig_flags_option_flags(self):
        results = runCmd('%s/contrib/list-packageconfig-flags.py -f' % self.scripts_dir)
        expected_endlines = []
        expected_endlines.append("PACKAGECONFIG FLAG     RECIPE NAMES")
        expected_endlines.append("qt                     nativesdk-pinentry  pinentry  pinentry-native")
        expected_endlines.append("secret                 nativesdk-pinentry  pinentry  pinentry-native")

        self.check_endlines(results, expected_endlines)

And the test will fail as line.split() doesn't equal el.split() as
line.split() is ['lib32-pinentry', 'lib32-wxwidgets', 'nativesdk-pinentry',
'pinentry', 'pinentry-native', 'wxwidgets', 'wxwidgets-native'] and
el.split() is ['nativesdk-pinentry', 'pinentry', 'pinentry-native'].

So change the compare logic to fix the gap.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage-buildinfo: Improve and extend to SDK coverage too
Richard Purdie [Thu, 9 Jun 2022 11:32:36 +0000 (12:32 +0100)] 
image-buildinfo: Improve and extend to SDK coverage too

Rename the default file from "build" to "buildinfo" since this is more
obvious to anyone looking in an image.

Add SDK_BUILDINFO_FILE and allow the same information to be written into
SDK images. This will be useful for buildtools-tarball and uninative-tarball.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobase/buildhistory/image-buildinfo: Use common buildcfg function
Richard Purdie [Thu, 9 Jun 2022 10:52:14 +0000 (11:52 +0100)] 
base/buildhistory/image-buildinfo: Use common buildcfg function

Reduce code duplication to a common function in oe.buildcfg.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildcfg: Drop unused svn revision function
Richard Purdie [Thu, 9 Jun 2022 10:30:39 +0000 (11:30 +0100)] 
buildcfg: Drop unused svn revision function

This isn't used anywhere and everyone is using git now, the functions
are now hardcoded as such too. Drop this function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolib/buildcfg: Share common clean/dirty layer function
Richard Purdie [Thu, 9 Jun 2022 10:27:14 +0000 (11:27 +0100)] 
lib/buildcfg: Share common clean/dirty layer function

The comments even say this was copy/paste code. Move to a
shared library function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses/buildcfg: Move git/layer revision code into new OE module buildcfg
Richard Purdie [Thu, 9 Jun 2022 10:23:30 +0000 (11:23 +0100)] 
classes/buildcfg: Move git/layer revision code into new OE module buildcfg

There is a load of duplicated git/layer/revision code which makes
most sesne as a python library, not bbclass code. Start to refactor as such.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxxhash: fix build with gcc 12
Kai Kang [Fri, 10 Jun 2022 06:54:38 +0000 (14:54 +0800)] 
xxhash: fix build with gcc 12

It fails to compile xxhash when '-Og' is set in CFLAGS via such as set
DEBUG_BUILD = '1' in local.conf. Check and disable inline when '-Og'
exists.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarchiver: use bb.note instead of echo
Jose Quaresma [Thu, 9 Jun 2022 16:42:07 +0000 (17:42 +0100)] 
archiver: use bb.note instead of echo

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson.bbclass: add cython binary to cross/native toolchain config
Jack Mitchell [Thu, 9 Jun 2022 14:17:32 +0000 (15:17 +0100)] 
meson.bbclass: add cython binary to cross/native toolchain config

This allows building Cython based Python modules with the native
meson support which has been present since meson version 0.59.

https://mesonbuild.com/Cython.html

Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Fix build without utmp
Martin Jansa [Thu, 9 Jun 2022 13:03:35 +0000 (15:03 +0200)] 
systemd: Fix build without utmp

* backport the fix for regression in v251.2

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool: Fix _copy_file() TypeError
Xiaobing Luo [Thu, 9 Jun 2022 11:47:03 +0000 (11:47 +0000)] 
devtool: Fix _copy_file() TypeError

when devtool finish, the _copy_file() failed.
--------------------------------------------
TypeError: _copy_file() got an unexpected keyword argument
'base_outdir'
--------------------------------------------

Fixes: 05f2d5d2ce00 ("devtool: finish: add dry-run option")
Signed-off-by: Xiaobing Luo <luoxiaobing0926@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest/multiconfig: Test that multiconfigs in separate layers works
Richard Purdie [Thu, 9 Jun 2022 09:42:09 +0000 (10:42 +0100)] 
selftest/multiconfig: Test that multiconfigs in separate layers works

We should test that mutliconfigs from a layer work, not just build/conf.
This adds such a test.

[YOCTO #13566]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodbus: Specify runstatedir configure option
Pavel Zhukov [Thu, 9 Jun 2022 09:22:36 +0000 (11:22 +0200)] 
dbus: Specify runstatedir configure option

Without specifing runstatedir tmpfiles.d is configured to use /var/run
for dbus and this causes deprecation warnings in system logs.

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouboot-sign: Fix potential index error issues
Richard Purdie [Thu, 9 Jun 2022 08:58:35 +0000 (09:58 +0100)] 
uboot-sign: Fix potential index error issues

Someone reported that if some other shell function has left i or j set,
the concat_dtb_helper function could fail. Add a small tweak to avoid this.

[YOCTO #14815]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: use bfd even when gold is used with ld-is-gold
Martin Jansa [Thu, 9 Jun 2022 08:22:32 +0000 (10:22 +0200)] 
ltp: use bfd even when gold is used with ld-is-gold

* version 20220527 added KVM test infrastructure which currently fails to build with gold due to
  SORT_NONE in linker script which isn't supported by gold:
  https://sourceware.org/bugzilla/show_bug.cgi?id=18097
  https://github.com/linux-test-project/ltp/commit/3fce2064b54843218d085aae326c8f7ecf3a8c41#diff-39268f0855c634ca48c8993fcd2c95b12a65b79e8d9fa5ccd6b0f5a8785c0dd6R36

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: put xxd in its own package
Rasmus Villemoes [Wed, 8 Jun 2022 07:42:45 +0000 (09:42 +0200)] 
vim: put xxd in its own package

The xxd tool can be quite handy by itself, and doesn't have anything
to do with vim per se. Make it possible to include the rather tiny xxd
in a rootfs without pulling in the several MB vim binary and
associated data.

For backwards compatibility, add an RDEPENDS from the main package to
the new vim-xxd package.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorootfs.py: close kernel_abi_ver_file
Martin Jansa [Tue, 7 Jun 2022 20:52:42 +0000 (22:52 +0200)] 
rootfs.py: close kernel_abi_ver_file

* fixes:
  oe-core/meta/lib/oe/rootfs.py:331: ResourceWarning: unclosed file <_io.TextIOWrapper name='pkgdata/mach/kernel-depmod/kernel-abiversion' mode='r' encoding='UTF-8'>
  kernel_ver = open(kernel_abi_ver_file).read().strip(' \n')

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildhistory.bbclass: fix shell syntax when using dash
Martin Jansa [Tue, 7 Jun 2022 20:52:41 +0000 (22:52 +0200)] 
buildhistory.bbclass: fix shell syntax when using dash

* fix:
  run.buildhistory_get_image_installed.791888: 198: [: unexpected operator

  introduced in:
  commit 82e6172c1df378dff4e503aa878501c08937b5bb
  Author: Andres Beltran <abeltran@linux.microsoft.com>
  Date:   Tue Oct 5 00:34:15 2021 +0000

    buildhistory: Fix package output files for SDKs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Correct 0001-pass-correct-parameters-to-getdents64.patch
Jiaqing Zhao [Tue, 7 Jun 2022 02:49:23 +0000 (10:49 +0800)] 
systemd: Correct 0001-pass-correct-parameters-to-getdents64.patch

Current patch removes the uint8_t* cast in src/basic/recurse-dir.c:57
to fix musl build, but it changes the value here as pointer arithmetic
is type-depended in C. This patch corrects the behavior by adding an
extra cast to struct dirent*.

Also changes the patch's Upstream-Status to Inappropriate as it's musl-
specific.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: fix shell syntax
Martin Jansa [Tue, 7 Jun 2022 17:18:02 +0000 (19:18 +0200)] 
lttng-modules: fix shell syntax

* add missing space to fix:
  /bin/sh: 1: [: Illegal number: 119)
  shown in the log.do_compile (isn't fatal for the build)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.119
Bruce Ashfield [Tue, 7 Jun 2022 13:59:37 +0000 (09:59 -0400)] 
linux-yocto/5.10: update to v5.10.119

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

    56c31ac1d8aa Linux 5.10.119
    7c57f2134988 ALSA: ctxfi: Add SB046x PCI ID
    514f58734001 random: check for signals after page of pool writes
    18c261e9485a random: wire up fops->splice_{read,write}_iter()
    cf8f8d37586f random: convert to using fops->write_iter()
    affa1ae52219 random: convert to using fops->read_iter()
    4bb374a1183b random: unify batched entropy implementations
    552ae8e4841b random: move randomize_page() into mm where it belongs
    5f2a040b2fb4 random: move initialization functions out of hot pages
    02102b63bd96 random: make consistent use of buf and len
    33783ca3556e random: use proper return types on get_random_{int,long}_wait()
    1fdd7eef2100 random: remove extern from functions in header
    811afd06e0f3 random: use static branch for crng_ready()
    04d61b96bd8a random: credit architectural init the exact amount
    5123cc61e27d random: handle latent entropy and command line from random_init()
    9320e087f2b6 random: use proper jiffies comparison macro
    31ac294037be random: remove ratelimiting for in-kernel unseeded randomness
    b50f2830b3df random: move initialization out of reseeding hot path
    4c4110c052e8 random: avoid initializing twice in credit race
    cef9010b78c4 random: use symbolic constants for crng_init states
    30e9f362661c siphash: use one source of truth for siphash permutations
    772edeb8c76a random: help compiler out with fast_mix() by using simpler arguments
    18413472339b random: do not use input pool from hard IRQs
    999b0c9e8a97 random: order timer entropy functions below interrupt functions
    ce3c4ff38186 random: do not pretend to handle premature next security model
    24d327568578 random: use first 128 bits of input as fast init
    273aebb50be6 random: do not use batches when !crng_ready()
    f4c98fe1d100 random: insist on random_get_entropy() existing in order to simplify
    ffcfdd5de9d0 xtensa: use fallback for random_get_entropy() instead of zero
    e1ea0e26d3e4 sparc: use fallback for random_get_entropy() instead of zero
    a5092be129cf um: use fallback for random_get_entropy() instead of zero
    25d4fdf1f0f8 x86/tsc: Use fallback for random_get_entropy() instead of zero
    0b93f40cbe97 nios2: use fallback for random_get_entropy() instead of zero
    fdca77508152 arm: use fallback for random_get_entropy() instead of zero
    d5531246afcf mips: use fallback for random_get_entropy() instead of just c0 random
    714def449776 riscv: use fallback for random_get_entropy() instead of zero
    84397906a603 m68k: use fallback for random_get_entropy() instead of zero
    7690be1adf8a timekeeping: Add raw clock fallback for random_get_entropy()
    07b5d0b3e2cc powerpc: define get_cycles macro for arch-override
    30ee01bcdc2c alpha: define get_cycles macro for arch-override
    c55a863c304e parisc: define get_cycles macro for arch-override
    641d1fbd9667 s390: define get_cycles macro for arch-override
    c895438b172c ia64: define get_cycles macro for arch-override
    7d9eab78bed9 init: call time_init() before rand_initialize()
    ec25e386d381 random: fix sysctl documentation nits
    9dff512945f1 random: document crng_fast_key_erasure() destination possibility
    a1b5c849d855 random: make random_get_entropy() return an unsigned long
    72a9ec8d7514 random: allow partial reads if later user copies fail
    1805d20dfb67 random: check for signals every PAGE_SIZE chunk of /dev/[u]random
    9641d9b4303f random: check for signal_pending() outside of need_resched() check
    26ee8fa4dfda random: do not allow user to keep crng key around on stack
    bb515a5beff2 random: do not split fast init input in add_hwgenerator_randomness()
    be0d4e3e96ad random: mix build-time latent entropy into pool at init
    bb563d06c5bc random: re-add removed comment about get_random_{u32,u64} reseeding
    f3bc5eca83d3 random: treat bootloader trust toggle the same way as cpu trust toggle
    7cb6782146b8 random: skip fast_init if hwrng provides large chunk of entropy
    083ab33951e4 random: check for signal and try earlier when generating entropy
    20da9c6079df random: reseed more often immediately after booting
    9891211dfe03 random: make consistent usage of crng_ready()
    95a1c94a1bd7 random: use SipHash as interrupt entropy accumulator
    849e7b744cf2 random: replace custom notifier chain with standard one
    66307429b5df random: don't let 644 read-only sysctls be written to
    4c74ca006afe random: give sysctl_random_min_urandom_seed a more sensible value
    0964a76fd58b random: do crng pre-init loading in worker rather than irq
    192d4c6cb3e2 random: unify cycles_t and jiffies usage and types
    47f0e89b71e2 random: cleanup UUID handling
    9b0e0e27140d random: only wake up writers after zap if threshold was passed
    c47f215ab36d random: round-robin registers as ulong, not u32
    5064550d422d random: clear fast pool, crng, and batches in cpuhp bring up
    6e1cb84cc6a0 random: pull add_hwgenerator_randomness() declaration into random.h
    32252548b50f random: check for crng_init == 0 in add_device_randomness()
    684e9fe92d44 random: unify early init crng load accounting
    f656bd0011fd random: do not take pool spinlock at boot
    5d73e69a5dd4 random: defer fast pool mixing to worker
    7873321cd88f random: rewrite header introductory comment
    6d1671b6d253 random: group sysctl functions
    21ae543e3afb random: group userspace read/write functions
    f04580811d26 random: group entropy collection functions
    e9ff357860ab random: group entropy extraction functions
    d7e5b1925a67 random: group crng functions
    6b1ffb3b5a08 random: group initialization wait functions
    6c9cee15555d random: remove whitespace and reorder includes
    7b0f36f7c252 random: remove useless header comment
    b3901816545e random: introduce drain_entropy() helper to declutter crng_reseed()
    0971c1c2fdc6 random: deobfuscate irq u32/u64 contributions
    ae1b8f19542f random: add proper SPDX header
    9342656c013d random: remove unused tracepoints
    17ad693cd214 random: remove ifdef'd out interrupt bench
    28683a188537 random: tie batched entropy generation to base_crng generation
    adc32acf23db random: fix locking for crng_init in crng_reseed()
    bb63851c2557 random: zero buffer after reading entropy from userspace
    63c1aae40ac1 random: remove outdated INT_MAX >> 6 check in urandom_read()
    07280d2c3f33 random: make more consistent use of integer types
    655a69cb41e0 random: use hash function for crng_slow_load()
    95026060d809 random: use simpler fast key erasure flow on per-cpu keys
    732872aa2c41 random: absorb fast pool into input pool after fast load
    7a5b9ca583f9 random: do not xor RDRAND when writing into /dev/random
    16a6e4ae71e2 random: ensure early RDSEED goes through mixer on init
    c521bf08ee69 random: inline leaves of rand_initialize()
    70377ee0740c random: get rid of secondary crngs
    c36e71b5a52e random: use RDSEED instead of RDRAND in entropy extraction
    1d1582e5fe52 random: fix locking in crng_fast_load()
    0762b7d1f1ad random: remove batched entropy locking
    8d07e2a22687 random: remove use_input_pool parameter from crng_reseed()
    b07fcd9e53fa random: make credit_entropy_bits() always safe
    32d1d7ce3aad random: always wake up entropy writers after extraction
    985292206167 random: use linear min-entropy accumulation crediting
    bb9c45cfb97e random: simplify entropy debiting
    de0727c0c448 random: use computational hash for entropy extraction
    e0cc561e4758 random: only call crng_finalize_init() for primary_crng
    480fd91dcdc7 random: access primary_pool directly rather than through pointer
    0b9e36e895bb random: continually use hwgenerator randomness
    6d2d29f051be random: simplify arithmetic function flow in account()
    a0653a9ec15e random: selectively clang-format where it makes sense
    bccc8d92310d random: access input_pool_data directly rather than through pointer
    a9db850c219f random: cleanup fractional entropy shift constants
    edd294052e77 random: prepend remaining pool constants with POOL_
    f87f50b843e4 random: de-duplicate INPUT_POOL constants
    09ae6b851979 random: remove unused OUTPUT_POOL constants
    8cc5260c19da random: rather than entropy_store abstraction, use global
    5897e06ac15a random: remove unused extract_entropy() reserved argument
    ae093ca1256e random: remove incomplete last_data logic
    7abbc9809fa0 random: cleanup integer types
    c9e108e36dc8 random: cleanup poolinfo abstraction
    8a3b78f9177c random: fix typo in comments
    0ad5d6384d25 random: don't reset crng_init_cnt on urandom_read()
    17420c77f04c random: avoid superfluous call to RDRAND in CRNG extraction
    c245231aecd3 random: early initialization of ChaCha constants
    efaddd56bc54 random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs
    644320410266 random: harmonize "crng init done" messages
    ca57d51126e4 random: mix bootloader randomness into pool
    542d8ebedb4d random: do not re-init if crng_reseed completes before primary init
    2bfdf588a811 random: do not sign extend bytes for rotation when mixing
    685200b076ff random: use BLAKE2s instead of SHA1 in extraction
    33c30bfe4fb4 random: remove unused irq_flags argument from add_interrupt_randomness()
    b57a88874088 random: document add_hwgenerator_randomness() with other input functions
    ae33c501e059 lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI
    07918ddba3ab lib/crypto: sha1: re-roll loops to reduce code size
    5fb6a3ba3af6 lib/crypto: blake2s: move hmac construction into wireguard
    62531d446a98 lib/crypto: blake2s: include as built-in
    aec0878b1d13 crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
    030d3443aa61 crypto: blake2s - adjust include guard naming
    fea91e907076 crypto: blake2s - add comment for blake2s_state fields
    d45ae768b71b crypto: blake2s - optimize blake2s initialization
    6c362b7c7764 crypto: blake2s - share the "shash" API boilerplate code
    72e5b68f33a1 crypto: blake2s - move update and final logic to internal/blake2s.h
    e467a55bd006 crypto: blake2s - remove unneeded includes
    198a19d7ee95 crypto: x86/blake2s - define shash_alg structs using macros
    89f9ee998e36 crypto: blake2s - define shash_alg structs using macros
    0f8fcf5b6ed7 crypto: lib/blake2s - Move selftest prototype into header file
    c3a4645d803e MAINTAINERS: add git tree for random.c
    c4882c6e1ec9 MAINTAINERS: co-maintain random.c
    acb198c4d11f random: remove dead code left over from blocking pool
    6227458fef95 random: avoid arch_get_random_seed_long() when collecting IRQ randomness
    257fbea15ab1 ACPI: sysfs: Fix BERT error region memory mapping
    14fa2769ea6c ACPI: sysfs: Make sparse happy about address space in use
    0debc69f003b media: vim2m: initialize the media device earlier
    ed0e71cc3f1e media: vim2m: Register video device after setting up internals
    a5c68f457fbf secure_seq: use the 64 bits of the siphash for port offset calculation
    33f1b4a27abc tcp: change source port randomizarion at connect() time
    9b4aa0d80b18 KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
    74c6e5d58435 KVM: x86: Properly handle APF vs disabled LAPIC situation
    c06e5f751a08 staging: rtl8723bs: prevent ->Ssid overflow in rtw_wx_set_scan()
    a8f4d63142f9 lockdown: also lock down previous kgdb use

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: update to v5.15.44
Bruce Ashfield [Tue, 7 Jun 2022 13:59:36 +0000 (09:59 -0400)] 
linux-yocto/5.15: update to v5.15.44

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

    4e67be407725 Linux 5.15.44
    50196b5d73dc ALSA: ctxfi: Add SB046x PCI ID
    ea5b87349d5a random: check for signals after page of pool writes
    3e167570a951 random: wire up fops->splice_{read,write}_iter()
    0789c69644c8 random: convert to using fops->write_iter()
    7f8cea12a494 random: convert to using fops->read_iter()
    6244da28c6b3 random: unify batched entropy implementations
    64cb7f01ddd2 random: move randomize_page() into mm where it belongs
    55a368c3e850 random: move initialization functions out of hot pages
    542a60612d2a random: make consistent use of buf and len
    29ed26a33436 random: use proper return types on get_random_{int,long}_wait()
    55729575eaa9 random: remove extern from functions in header
    c6ae9d65bcdb random: use static branch for crng_ready()
    4e5e6754a4b6 random: credit architectural init the exact amount
    11cce5040c29 random: handle latent entropy and command line from random_init()
    ac0172992c94 random: use proper jiffies comparison macro
    8df752b82ec5 random: remove ratelimiting for in-kernel unseeded randomness
    272b79432f66 random: move initialization out of reseeding hot path
    c4e600154ac0 random: avoid initializing twice in credit race
    23a1b984f4b8 random: use symbolic constants for crng_init states
    f4cb809a90df siphash: use one source of truth for siphash permutations
    82caef84092e random: help compiler out with fast_mix() by using simpler arguments
    4649394c4749 random: do not use input pool from hard IRQs
    df4e319ea60f random: order timer entropy functions below interrupt functions
    baf06217704b random: do not pretend to handle premature next security model
    0d24003b5fde random: use first 128 bits of input as fast init
    0d79a47b4ae0 random: do not use batches when !crng_ready()
    1ab530cf40dc random: insist on random_get_entropy() existing in order to simplify
    e6bd242523e8 xtensa: use fallback for random_get_entropy() instead of zero
    b4582cb35167 sparc: use fallback for random_get_entropy() instead of zero
    d876dca6edf3 um: use fallback for random_get_entropy() instead of zero
    e017497815f3 x86/tsc: Use fallback for random_get_entropy() instead of zero
    38fbfa404da6 nios2: use fallback for random_get_entropy() instead of zero
    197d25e068c0 arm: use fallback for random_get_entropy() instead of zero
    9e6db825e87a mips: use fallback for random_get_entropy() instead of just c0 random
    2ab416043a94 riscv: use fallback for random_get_entropy() instead of zero
    a1428cd7e194 m68k: use fallback for random_get_entropy() instead of zero
    82f182812f17 timekeeping: Add raw clock fallback for random_get_entropy()
    bc94ccb2904e powerpc: define get_cycles macro for arch-override
    8ca78fbdeba0 alpha: define get_cycles macro for arch-override
    9bf990cff673 parisc: define get_cycles macro for arch-override
    e05efd31b9db s390: define get_cycles macro for arch-override
    9f174326e35c ia64: define get_cycles macro for arch-override
    807ed9c29586 init: call time_init() before rand_initialize()
    2814a9e632db random: fix sysctl documentation nits
    4179671f496b random: document crng_fast_key_erasure() destination possibility
    8b373c113a4c random: make random_get_entropy() return an unsigned long
    b8078810e44d random: allow partial reads if later user copies fail
    ccaaff57ed50 random: check for signals every PAGE_SIZE chunk of /dev/[u]random
    02c2e2ca3610 random: check for signal_pending() outside of need_resched() check
    e7e196e1ae26 random: do not allow user to keep crng key around on stack
    be7561767ce8 random: do not split fast init input in add_hwgenerator_randomness()
    636b057e2a1a random: mix build-time latent entropy into pool at init
    3967a200367c random: re-add removed comment about get_random_{u32,u64} reseeding
    25727cbbe9b4 random: treat bootloader trust toggle the same way as cpu trust toggle
    a704248b4590 random: skip fast_init if hwrng provides large chunk of entropy
    3689ac035180 random: check for signal and try earlier when generating entropy
    94c8249efa76 random: reseed more often immediately after booting
    99290c6898b2 random: make consistent usage of crng_ready()
    0c66c876393b random: use SipHash as interrupt entropy accumulator
    6da877d2d46b random: replace custom notifier chain with standard one
    39c9e5566ac5 random: don't let 644 read-only sysctls be written to
    e4e1600a674f random: give sysctl_random_min_urandom_seed a more sensible value
    2c60d7f38d64 random: do crng pre-init loading in worker rather than irq
    1523ec5324e9 random: unify cycles_t and jiffies usage and types
    fdb1e54472c3 random: cleanup UUID handling
    c169e7a09cd4 random: only wake up writers after zap if threshold was passed
    e400ba11a241 random: round-robin registers as ulong, not u32
    144c1e7ecf00 random: clear fast pool, crng, and batches in cpuhp bring up
    80c1f7f8f3cd random: pull add_hwgenerator_randomness() declaration into random.h
    98d6def672fd random: check for crng_init == 0 in add_device_randomness()
    9df4a56fad32 random: unify early init crng load accounting
    d386b087056a random: do not take pool spinlock at boot
    3c48a2da32ef random: defer fast pool mixing to worker
    9489e36e2150 random: rewrite header introductory comment
    9385681af846 random: group sysctl functions
    96340f035df6 random: group userspace read/write functions
    74b704245f31 random: group entropy collection functions
    43e87e6f3317 random: group entropy extraction functions
    019e057db9b1 random: group crng functions
    81e62ff1f650 random: group initialization wait functions
    d3a2510216b4 random: remove whitespace and reorder includes
    30c52e99db0d random: remove useless header comment
    95f85a01584e random: introduce drain_entropy() helper to declutter crng_reseed()
    c807eca035c3 random: deobfuscate irq u32/u64 contributions
    f641f9495d6f random: add proper SPDX header
    ce951e9672df random: remove unused tracepoints
    4509941f75ac random: remove ifdef'd out interrupt bench
    ad5d17d0faf9 random: tie batched entropy generation to base_crng generation
    86ab60616ec6 random: fix locking for crng_init in crng_reseed()
    d2d1ad9430b1 random: zero buffer after reading entropy from userspace
    eda555356b39 random: remove outdated INT_MAX >> 6 check in urandom_read()
    5dd066ade820 random: make more consistent use of integer types
    ba789caa17a0 random: use hash function for crng_slow_load()
    b27bd09d0544 random: use simpler fast key erasure flow on per-cpu keys
    1aab83f96663 random: absorb fast pool into input pool after fast load
    4a18db164cbb random: do not xor RDRAND when writing into /dev/random
    b51caadb18a7 random: ensure early RDSEED goes through mixer on init
    fd6eb2800589 random: inline leaves of rand_initialize()
    5e4fab6fefb1 random: get rid of secondary crngs
    ded4cc806d0d random: use RDSEED instead of RDRAND in entropy extraction
    704c76e08804 random: fix locking in crng_fast_load()
    67fdda9af773 random: remove batched entropy locking
    ad86aa8ec90f random: remove use_input_pool parameter from crng_reseed()
    1bc9db59b24c random: make credit_entropy_bits() always safe
    3730490111ca random: always wake up entropy writers after extraction
    cb65ac300816 random: use linear min-entropy accumulation crediting
    a6beb8155b9c random: simplify entropy debiting
    a5e2c8a4574a random: use computational hash for entropy extraction
    add92df1cb37 random: only call crng_finalize_init() for primary_crng
    07e015230415 random: access primary_pool directly rather than through pointer
    b53c9666e714 random: continually use hwgenerator randomness
    c1dc53d781fd random: simplify arithmetic function flow in account()
    2f0e83e8326b random: selectively clang-format where it makes sense
    db7a0a9171ed random: access input_pool_data directly rather than through pointer
    c25c7e29be27 random: cleanup fractional entropy shift constants
    68512942c0d7 random: prepend remaining pool constants with POOL_
    2772ba4d5223 random: de-duplicate INPUT_POOL constants
    da80b44cf9cf random: remove unused OUTPUT_POOL constants
    f9efa1a98831 random: rather than entropy_store abstraction, use global
    b6d849d0e2f8 random: remove unused extract_entropy() reserved argument
    578fbb760064 random: remove incomplete last_data logic
    8aa9ddc4db29 random: cleanup integer types
    4330c485f92c random: cleanup poolinfo abstraction
    250bda5d0505 random: fix typo in comments
    15a1a3baf14f random: don't reset crng_init_cnt on urandom_read()
    d47579fb283a random: avoid superfluous call to RDRAND in CRNG extraction
    0c3910447110 random: early initialization of ChaCha constants
    5822fad8d3dc random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs
    69bb5f0917f9 random: harmonize "crng init done" messages
    c4c9081184e9 random: mix bootloader randomness into pool
    1b1258b91757 random: do not re-init if crng_reseed completes before primary init
    08040365d0b7 random: do not sign extend bytes for rotation when mixing
    2e827d53343a random: use BLAKE2s instead of SHA1 in extraction
    c5a7694fa802 random: remove unused irq_flags argument from add_interrupt_randomness()
    40af1df8034a random: document add_hwgenerator_randomness() with other input functions
    45626449eb25 lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI
    b0cdd9ec8445 lib/crypto: sha1: re-roll loops to reduce code size
    cba2195416d4 lib/crypto: blake2s: move hmac construction into wireguard
    caba66ec322e lib/crypto: blake2s: include as built-in
    830ecbae41a7 MAINTAINERS: add git tree for random.c
    12d7163380a2 MAINTAINERS: co-maintain random.c
    0da5349e2254 ACPI: sysfs: Fix BERT error region memory mapping
    bf5a3c51e9f7 ice: fix crash at allocation failure
    acd12d165281 KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
    f82ccfa4835b HID: amd_sfh: Add support for sensor discovery

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: cfg/xen: Move x86 configs to separate file
Bruce Ashfield [Tue, 7 Jun 2022 13:59:35 +0000 (09:59 -0400)] 
linux-yocto/5.15: cfg/xen: Move x86 configs to separate file

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

    ad633e22764 features/xen: Move x86 configs to separate file

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: Enable MDIO bus config
Bruce Ashfield [Tue, 7 Jun 2022 13:59:34 +0000 (09:59 -0400)] 
linux-yocto/5.15: Enable MDIO bus config

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

    52919926480 bsp/mti-malta32: enable MDIO for mti-malta32
    963ab127810 bsp/qemuarm64: enable MDIO for qemuarm64
    77d5d5e86c0 cfg/net: introduce mdio fragment

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.118
Bruce Ashfield [Tue, 7 Jun 2022 13:59:33 +0000 (09:59 -0400)] 
linux-yocto/5.10: update to v5.10.118

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

    c204ee3350eb Linux 5.10.118
    56642f6af2ab module: check for exit sections in layout_sections() instead of module_init_section()
    633be494c3ca include/uapi/linux/xfrm.h: Fix XFRM_MSG_MAPPING ABI breakage
    61a4cc41e5c1 afs: Fix afs_getattr() to refetch file status if callback break occurred
    606011cb6a69 i2c: mt7621: fix missing clk_disable_unprepare() on error in mtk_i2c_probe()
    030de84d453a module: treat exit sections the same as init sections when !CONFIG_MODULE_UNLOAD
    355141fdbfef dt-bindings: pinctrl: aspeed-g6: remove FWQSPID group
    d30fdf7d1343 Input: ili210x - fix reset timing
    a698bf1f728c arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs
    696292b9b5f6 net: atlantic: verify hw_head_ lies within TX buffer ring
    cd66ab20a8f8 net: atlantic: add check for MAX_SKB_FRAGS
    9bee8b4275ec net: atlantic: reduce scope of is_rsc_complete
    9b84e83a92cd net: atlantic: fix "frag[0] not initialized"
    0ae23a1d472a net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
    d4c6e5cebcf5 ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
    3a6dee284fa0 nl80211: fix locking in nl80211_set_tx_bitrate_mask()
    efe580c436f9 selftests: add ping test with ping_group_range tuned
    1cfbf6d3a7f6 nl80211: validate S1G channel width
    a0f5ff20496b mac80211: fix rx reordering with non explicit / psmp ack policy
    e21d734fd05c scsi: qla2xxx: Fix missed DMA unmap for aborted commands
    c5af34174733 perf bench numa: Address compiler error on s390
    210ea7da5c1f gpio: mvebu/pwm: Refuse requests with inverted polarity
    30d4721feced gpio: gpio-vf610: do not touch other bits when set the target bit
    ea8a9cb4a779 riscv: dts: sifive: fu540-c000: align dma node name with dtschema
    dfd1f0cb628b net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
    579061f39143 igb: skip phy status check where unavailable
    a89888648e0c ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
    1756b45d8d83 ARM: 9196/1: spectre-bhb: enable for Cortex-A15
    7b676abe328a net: af_key: add check for pfkey_broadcast in function pfkey_process
    697f3219ee2f net/mlx5e: Properly block LRO when XDP is enabled
    b503d0228c92 NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc
    42d4287cc1e4 net/qla3xxx: Fix a test in ql_reset_work()
    d35bf8d766b1 clk: at91: generated: consider range when calculating best rate
    9e0e75a5e753 ice: fix possible under reporting of ethtool Tx and Rx statistics
    6e2caee5cddc net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup()
    a54d86cf4184 net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf()
    201e5b5c2799 net: systemport: Fix an error handling path in bcm_sysport_probe()
    9bfe898e2b76 net/sched: act_pedit: sanitize shift argument before usage
    47f04f95edb1 xfrm: fix "disable_policy" flag use when arriving from different devices
    0d2e9d8000ef xfrm: rework default policy structure
    57c1bbe7098b xfrm: fix dflt policy check when there is no policy configured
    9856c3a129dd xfrm: notify default policy on update
    20fd28df4049 xfrm: make user policy API complete
    ab610ee1d1a1 net: xfrm: fix shift-out-of-bounce
    5b7f84b1f9f4 xfrm: Add possibility to set the default to block if we have no policy
    243e72e20446 net: evaluate net.ipvX.conf.all.disable_policy and disable_xfrm
    1bc27eb71b55 net: macb: Increment rx bd head after allocating skb and buffer
    998e305bd160 net: ipa: record proper RX transaction count
    0599d5a8b4e1 ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group
    0a2847d44812 pinctrl: pinctrl-aspeed-g6: remove FWQSPID group in pinctrl
    d8ca684c3d3b ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi
    3fc28460998a dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
    e5289affbacc drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
    8ceca1a0693a libceph: fix potential use-after-free on linger ping and resends
    233a3cc60e7a crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
    6013ef5f51e0 arm64: mte: Ensure the cleared tags are visible before setting the PTE
    a817f78ed69b arm64: paravirt: Use RCU read locks to guard stolen_time
    b49bc8d615ee KVM: x86/mmu: Update number of zapped pages even if page list is stable
    146128ba265d PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
    ec0d801d1a44 Fix double fget() in vhost_net_set_backend()
    b42e5e3a84dd selinux: fix bad cleanup on error in hashtab_duplicate()
    3ee8e109c3c3 perf: Fix sys_perf_event_open() race against self
    18fb7d533c79 ALSA: hda/realtek: Add quirk for TongFang devices with pop noise
    3eaf770163b7 ALSA: wavefront: Proper check of get_user() error
    a34d018b6eab ALSA: usb-audio: Restore Rane SL-1 quirk
    f3f2247ac31c Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    e2cfa7b0935c Revert "swiotlb: fix info leak with DMA_FROM_DEVICE"
    fe5ac3da50a9 nilfs2: fix lockdep warnings during disk space reclamation
    d626fcdabea2 nilfs2: fix lockdep warnings in page operations for btree nodes
    aca18bacdb71 ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame()
    0acaf9cacd4f platform/chrome: cros_ec_debugfs: detach log reader wq from devm
    5a19f3c2d3b6 drbd: remove usage of list iterator variable after loop
    9b7f3211064d MIPS: lantiq: check the return value of kzalloc()
    05c073b1ad25 fs: fix an infinite loop in iomap_fiemap
    00d8b06a4ed4 rtc: mc146818-lib: Fix the AltCentury for AMD platforms
    87fd0dd43e9c nvme-multipath: fix hang when disk goes live over reconnect
    3663d6023aa2 tools/virtio: compile with -pthread
    5a4cbcb3df45 vhost_vdpa: don't setup irq offloading when irq_num < 0
    f0931ee125ff s390/pci: improve zpci_dev reference counting
    7d3f69cbdec8 ALSA: hda/realtek: Enable headset mic on Lenovo P360
    a59450656bcd crypto: x86/chacha20 - Avoid spurious jumps to other functions
    39acee8aea3d crypto: stm32 - fix reference leak in stm32_crc_remove
    703c80ff4330 rtc: sun6i: Fix time overflow handling
    bab037ebbe7d gfs2: Disable page faults during lockless buffered reads
    e803f12ea27f nvme-pci: add quirks for Samsung X5 SSDs
    5565fc538ded Input: stmfts - fix reference leak in stmfts_input_open
    d5e88c2d76ef Input: add bounds checking to input_set_capability()
    ea6a86886caa um: Cleanup syscall_handler_t definition/cast, fix warning
    c39b91fcd5e3 rtc: pcf2127: fix bug when reading alarm registers
    2b4e5a2d7da0 rtc: fix use-after-free on device removal
    67136fff5b9a igc: Update I226_K device ID
    d0229838b63c igc: Remove phy->type checking
    170110adbecc igc: Remove _I_PHY_ID checking
    55c820c1b2b6 Revert "drm/i915/opregion: check port number bounds for SWSCI display power state"
    911b36267855 floppy: use a statically allocated error counter
    3c48558be571 io_uring: always grab file table for deferred statx
    a1a2c957da58 usb: gadget: fix race when gadget driver register via ioctl
    7686a5c2a8d3 Linux 5.10.117
    937c6b0e3e94 SUNRPC: Fix fall-through warnings for Clang
    29f077d07051 io_uring: always use original task when preparing req identity
    1444e0568bc2 usb: gadget: uvc: allow for application to cleanly shutdown
    42505e362285 usb: gadget: uvc: rename function to be more consistent
    002e7223dc1b ping: fix address binding wrt vrf
    d9a1e82bf656 arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map
    49750c5e9acb net: phy: Fix race condition on link status change
    e68b60ae29de SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()
    dbe6974a39ac SUNRPC: Don't call connect() more than once on a TCP socket
    47541ed4d47b SUNRPC: Prevent immediate close+reconnect
    2ab569edd883 SUNRPC: Clean up scheduling of autoclose
    85844ea29f82 drm/vmwgfx: Initialize drm_mode_fb_cmd2
    7e849dbe604d cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
    6aa239d82e35 net: atlantic: always deep reset on pm op, fixing up my null deref regression
    6158df4fa5c2 i40e: i40e_main: fix a missing check on list iterator
    819796024cce drm/nouveau/tegra: Stop using iommu_present()
    e06605af8bdc ceph: fix setting of xattrs on async created inodes
    86db01f37347 serial: 8250_mtk: Fix register address for XON/XOFF character
    84ad84e495ae serial: 8250_mtk: Fix UART_EFR register address
    f8d8440f1357 slimbus: qcom: Fix IRQ check in qcom_slim_probe
    d7b7c5532a83 USB: serial: option: add Fibocom MA510 modem
    2ba0034e3649 USB: serial: option: add Fibocom L610 modem
    319b312edb8e USB: serial: qcserial: add support for Sierra Wireless EM7590
    994395f356ea USB: serial: pl2303: add device id for HP LM930 Display
    8276a3dbe21d usb: typec: tcpci_mt6360: Update for BMC PHY setting
    54979aa49e0f usb: typec: tcpci: Don't skip cleanup in .remove() on error
    7335a6b11d13 usb: cdc-wdm: fix reading stuck on device close
    6d47eceaf311 tty: n_gsm: fix mux activation issues in gsm_config()
    69139a45b89b tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe()
    5a7358111636 firmware_loader: use kernel credentials when reading firmware
    d254309aab27 tcp: resalt the secret every 10 seconds
    3abbfac1ab24 net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT
    48f1dd67a83f net: emaclite: Don't advertise 1000BASE-T and do auto negotiation
    5c09dbdfd4fc s390: disable -Warray-bounds
    03ebc6fd5c9d ASoC: ops: Validate input values in snd_soc_put_volsw_range()
    31606a73baa3 ASoC: max98090: Generate notifications on changes for custom control
    ce154bd3bc43 ASoC: max98090: Reject invalid values in custom control put()
    5ecaaaeb2c76 hwmon: (f71882fg) Fix negative temperature
    88091c0275b2 gfs2: Fix filesystem block deallocation for short writes
    fccf4bf3f25d tls: Fix context leak on tls_device_down
    161c4edeca45 net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()
    d5e1b41bf7e0 net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending
    e417a8fceaa9 net: dsa: bcm_sf2: Fix Wake-on-LAN with mac_link_down()
    9012209f4357 net: bcmgenet: Check for Wake-on-LAN interrupt probe deferral
    abe35bf3be51 net/sched: act_pedit: really ensure the skb is writable
    b816ed53f318 s390/lcs: fix variable dereferenced before check
    4d3c6d741816 s390/ctcm: fix potential memory leak
    5497f87edcda s390/ctcm: fix variable dereferenced before check
    cc71c9f17caf selftests: vm: Makefile: rename TARGETS to VMTARGETS
    ce12e5ff8de8 hwmon: (ltq-cputemp) restrict it to SOC_XWAY
    ceb3db723fda dim: initialize all struct fields
    8b1b8fc819f7 ionic: fix missing pci_release_regions() on error in ionic_probe()
    2cb8689f45f2 nfs: fix broken handling of the softreval mount option
    49c10784b955 mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
    79432d223728 net: sfc: fix memory leak due to ptp channel
    bdb8d4aed1cf sfc: Use swap() instead of open coding it
    33c93f6e5598 netlink: do not reset transport header in netlink_recvmsg()
    9e40f2c51392 drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name()
    54f26fc07e6d ipv4: drop dst in multicast routing path
    c07a84492ffe net: mscc: ocelot: avoid corrupting hardware counters when moving VCAP filters
    abb237c544f1 net: mscc: ocelot: restrict tc-trap actions to VCAP IS2 lookup 0
    f9674c52a158 net: mscc: ocelot: fix VCAP IS2 filters matching on both lookups
    c1184d2888a3 net: mscc: ocelot: fix last VCAP IS1/IS2 filter persisting in hardware when deleted
    e2cdde89d253 net: Fix features skip in for_each_netdev_feature()
    c420d6604706 mac80211: Reset MBSSID parameters upon connection
    9cbf2a7d5d17 hwmon: (tmp401) Add OF device ID table
    85eba08be2f7 iwlwifi: iwl-dbg: Use del_timer_sync() before freeing
    a6a73781b460 batman-adv: Don't skb_split skbuffs with frag_list
    07a4d3649aef Linux 5.10.116
    d1ac096f8869 mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and __mcopy_atomic()
    c6cbf5431a62 mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()
    308ff6a6e768 mm: fix missing cache flush for all tail pages of compound page
    185fa5984d7a Bluetooth: Fix the creation of hdev->name
    9ff4a6b80642 arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
    dfb55dcf9d39 nfp: bpf: silence bitwise vs. logical OR warning
    f89f76f4b0e7 drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types
    efd1429fa99b block: drbd: drbd_nl: Make conversion to 'enum drbd_ret_code' explicit
    a71658c7db0b regulator: consumer: Add missing stubs to regulator/consumer.h
    7648f42d1a62 MIPS: Use address-of operator on section symbols
    e61686bb77c4 Linux 5.10.115
    8528806abed5 mmc: rtsx: add 74 Clocks in power on flow
    e1ab92302b44 PCI: aardvark: Fix reading MSI interrupt number
    49143c9ed232 PCI: aardvark: Clear all MSIs at setup
    7676a5b99f3d dm: interlock pending dm_io and dm_wait_for_bios_completion
    a439819f4797 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
    a22d66eb518f rcu: Apply callbacks processing time limit only on softirq
    40fb3812d997 rcu: Fix callbacks processing time limit retaining cond_resched()
    43dbc3edada6 KVM: LAPIC: Enable timer posted-interrupt only when mwait/hlt is advertised
    9c8474fa3477 KVM: x86/mmu: avoid NULL-pointer dereference on page freeing bugs
    a474ee5ececc KVM: x86: Do not change ICR on write to APIC_SELF_IPI
    64e3e16dbc26 x86/kvm: Preserve BSP MSR_KVM_POLL_CONTROL across suspend/resume
    5f884e0c2ea6 net/mlx5: Fix slab-out-of-bounds while reading resource dump menu
    599fc32e7421 kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU
    0a960a367216 net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter()
    4fd45ef7042a btrfs: always log symlinks in full mode
    687167eef99e smsc911x: allow using IRQ0
    b280877eab49 selftests: ocelot: tc_flower_chains: specify conform-exceed action for policer
    a9fd5d6cd594 bnxt_en: Fix unnecessary dropping of RX packets
    72e4fc1a4e63 bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag
    9ac9f07f0fbb selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational
    475237e807a2 hinic: fix bug of wq out of bound access
    1b9f1f455de2 net: emaclite: Add error handling for of_address_to_resource()
    8459485db70c net: cpsw: add missing of_node_put() in cpsw_probe_dt()
    4eee9809505c net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux()
    2347e9c92270 net: dsa: mt7530: add missing of_node_put() in mt7530_setup()
    1092656cc4ca net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
    408fb2680e73 NFSv4: Don't invalidate inode attributes on delegation return
    c1b480e6bed8 RDMA/siw: Fix a condition race issue in MPA request processing
    5bf2a45e3343 selftests/seccomp: Don't call read() on TTY from background pgrp
    3ea0b44c01ee net/mlx5: Avoid double clear or set of sync reset requested
    24553315910c net/mlx5e: Fix the calling of update_buffer_lossy() API
    e07c13fbdded net/mlx5e: CT: Fix queued up restore put() executing after relevant ft release
    d8338a7a0957 net/mlx5e: Don't match double-vlan packets if cvlan is not set
    c7f87ad11584 net/mlx5e: Fix trust state reset in reload
    87f0d9a518b7 ASoC: dmaengine: Restore NULL prepare_slave_config() callback
    ad87f8498ea2 hwmon: (adt7470) Fix warning on module removal
    997b8605e8f3 gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set)
    879b075a9a36 NFC: netlink: fix sleep in atomic bug when firmware download timeout
    1961c5a688ed nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
    8a9e7c64f4a0 nfc: replace improper check device_is_registered() in netlink related functions
    11adc9ab3eb3 can: grcan: only use the NAPI poll budget for RX
    4df5e498e0ff can: grcan: grcan_probe(): fix broken system id check for errata workaround needs
    dd973c0185c5 can: grcan: use ofdev->dev when allocating DMA memory
    45bdcb5ca426 can: isotp: remove re-binding of bound socket
    13959b911700 can: grcan: grcan_close(): fix deadlock
    6c7c0e131ec1 s390/dasd: Fix read inconsistency for ESE DASD devices
    6e02c0413a93 s390/dasd: Fix read for ESE with blksize < 4k
    ecc839682770 s390/dasd: prevent double format of tracks for ESE devices
    30e008ab3fe7 s390/dasd: fix data corruption for ESE devices
    d53d47fadd17 ASoC: meson: Fix event generation for AUI CODEC mux
    93a1f0755edc ASoC: meson: Fix event generation for G12A tohdmi mux
    e8b08e2f171b ASoC: meson: Fix event generation for AUI ACODEC mux
    954d55170f43 ASoC: wm8958: Fix change notifications for DSP controls
    f45359824a48 ASoC: da7219: Fix change notifications for tone generator frequency
    e6e61aab4967 genirq: Synchronize interrupt thread startup
    dcf1150f2e69 net: stmmac: disable Split Header (SPH) for Intel platforms
    68f35987d43c firewire: core: extend card->lock in fw_core_handle_bus_reset
    629b4003a71a firewire: remove check of list iterator against head past the loop body
    e757ff4bbc89 firewire: fix potential uaf in outbound_phy_packet_callback()
    70d25d4fba24 Revert "SUNRPC: attempt AF_LOCAL connect on setup"
    466721d7671a drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
    2e6f3d665a29 iommu/vt-d: Calculate mask for non-aligned flushes
    fbb7c61e7601 KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id
    b085afe22607 gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
    2b7cb072d07c mmc: core: Set HS clock speed before sending HS CMD13
    66651d719948 mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC
    2906c73632d7 ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
    03ab174805a3 ALSA: hda/realtek: Add quirk for Yoga Duet 7 13ITL6 speakers
    a196f277c547 parisc: Merge model and model name into one line in /proc/cpuinfo
    326f02f172d0 MIPS: Fix CP0 counter erratum detection for R4k CPUs

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