]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agorust-common: Hack around LD_LIBRARY_PATH issues on centos7
Richard Purdie [Wed, 1 Sep 2021 14:28:26 +0000 (15:28 +0100)]
rust-common: Hack around LD_LIBRARY_PATH issues on centos7

When building cargo-native on centos7 with buildtools tarball installed,
we see failures:

/bin/sh: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /home/pokybuild/yocto-worker/reproducible-centos/build/build-st/tmp/work/x86_64-linux/cargo-native/1.54.0-r0/recipe-sysroot-native/usr/lib/libtinfo.so.5)

We also see this for libstd-rs once cargo-native is fixed.

The reason for this is that the wrapper script
cargo-native/1.54.0-r0/wrapper/target-rust-ccld has /bin/sh as it's
interpreter and cargo calls this with LD_LIBRARY_PATH set to include the
recipe-sysroot-native. The host /bin/sh links to libtinfo from the host
but it finds the version in the sysroot which needs a newer libc. This
results in the above error since the loader is an older libc and the two
are incompatible.

Our ccld wrapper calls gcc/ld which don't need the LD_LIBRARY_PATH
variable set. We can't patch this out the source since we're using
a prebuilt binary to generate a new cargo binary so this is impossible
to bootstrap.

Instead, put a binary wrapper into place which removes LD_LIBRARY_PATH
from the environment before calling the original wrapper (left in shell
as it is simpler to maintain).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocargo: Apply uninative fix to snapshot as with rust
Richard Purdie [Wed, 1 Sep 2021 10:37:38 +0000 (11:37 +0100)]
cargo: Apply uninative fix to snapshot as with rust

Also add the interpreter relocation trick from uninative to the prebuilt
cargo binary to match rust-native, just in case that causes other problems
later too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston: Add rdp PACKAGECONFIG
Marek Vasut [Mon, 30 Aug 2021 13:00:31 +0000 (15:00 +0200)]
weston: Add rdp PACKAGECONFIG

Weston has RDP backend support. This can be used e.g. for screen mirroring.
Add PACKAGECONFIG so it can be enabled by the user. By default, this is not
enabled, to retain the old behavior of the recipe.

Below is an example testcase of using the RDP backend for screen mirroring,
i.e. two devices display the same content across ethernet link, input on
either is passed across the link.

- Add the following to weston.ini:
  [core]
  modules=screen-share.so
  screen-share=true
  [screen-share]
  command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config

- Generate keys on the board (the board.key and board.crt above):
  $ winpr-makecert -rdp -path /path/to/

- Restart weston on the board. To start screen sharing, press
  Ctrl-Alt-S
  on the keyboard (see weston compositor/screen-share.c).

- Connect to the weston using freerdp, e.g.:
  $ xfreerdp /v:192.168.1.300

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoptest: allow the ptest-packagelists.inc warning to be disabled
Ross Burton [Wed, 1 Sep 2021 16:57:03 +0000 (17:57 +0100)]
ptest: allow the ptest-packagelists.inc warning to be disabled

ptest.bbclass has a sanity check that all recipes in oe-core which
inherit ptest are also listed in the ptest-packagelists.inc file, and
the build fails if this is not the case.

Whilst this is a laudable goal, it is over-zealous as if the recipe has
a bbappend in another layer which inherits ptest, the build will fail.

By changing the combination of anonymous Python and bb.error() to a
recipe-scope QA test, this can be handled with the other sanity checks
and bbappends can skip the test if desired.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Add repart PACKAGECONFIG
Kristian Klausen [Wed, 1 Sep 2021 16:21:39 +0000 (18:21 +0200)]
systemd: Add repart PACKAGECONFIG

systemd-repart[1] is useful for partitioning the disk:
"systemd-repart grows and adds partitions to a partition table, based on
the configuration files described in repart.d(5)."[1]

openssl is required by repart, so it can be enabled like so:
PACKAGECONFIG += "openssl repart"

[1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: fix build on Arm V5 with soft float
Ross Burton [Wed, 1 Sep 2021 15:32:01 +0000 (16:32 +0100)]
mesa: fix build on Arm V5 with soft float

Since 80923e8d ("util/format: Add some NEON intrinsics-based
u_format_unpack.") upstream the build fails on Arm platforms which use
the soft-float ABI, such as qemuarmv5:

 arm_neon.h:31:2: error: #error "NEON intrinsics not available with the
 soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"

Take a patch from upstream to check the ABI being used before trying to
use NEON instructions.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Make UBOOT_BINARYNAME configurable
Stefan Herbrechtsmeier [Wed, 1 Sep 2021 10:29:53 +0000 (12:29 +0200)]
u-boot: Make UBOOT_BINARYNAME configurable

Make the u-boot binary name configurable. Use the existing variable
UBOOT_BINARYNAME which is evaluated from the UBOOT_BINARY.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Make SPL suffix configurable
Stefan Herbrechtsmeier [Wed, 1 Sep 2021 10:29:54 +0000 (12:29 +0200)]
u-boot: Make SPL suffix configurable

Make the SPL suffix configurable via SPL_SUFFIX variable to support SPL
binaries with suffix. The suffix is optional and empty per default. The
delimiter in front of the suffix is added automatically if the suffix
is not empty. A new variable SPL_BINARYFILE contains the binary file
name inclusive optional delimiter and suffix and the old variable
SPL_BINARYNAME contains only the name of the binary without directory,
delimiter and specified suffix. This behavior is backward compatible
with empty SPL_SUFFIX variable.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Remove misplaced configuration type variable
Stefan Herbrechtsmeier [Wed, 1 Sep 2021 10:29:52 +0000 (12:29 +0200)]
u-boot: Remove misplaced configuration type variable

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Remove redundancy from installed and deployed SPL artifact names
Stefan Herbrechtsmeier [Wed, 1 Sep 2021 10:29:51 +0000 (12:29 +0200)]
u-boot: Remove redundancy from installed and deployed SPL artifact names

Remove redundant parts from the deployed and installed SPL artifact
names of multi config configurations to match the other U-Boot artifact
names.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoswig: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:10 +0000 (08:45 -0500)]
swig: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoflac: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:09 +0000 (08:45 -0500)]
flac: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofont-util: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:08 +0000 (08:45 -0500)]
font-util: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibx11: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:07 +0000 (08:45 -0500)]
libx11: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibjitterentropy: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:06 +0000 (08:45 -0500)]
libjitterentropy: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxfont2: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:05 +0000 (08:45 -0500)]
libxfont2: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpam: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:04 +0000 (08:45 -0500)]
libpam: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosudo: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:02 +0000 (08:45 -0500)]
sudo: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcap: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:03 +0000 (08:45 -0500)]
libcap: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:01 +0000 (08:45 -0500)]
shadow: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoe2fsprogs: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:45:00 +0000 (08:45 -0500)]
e2fsprogs: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: Use specific BSD license variant
Joshua Watt [Wed, 1 Sep 2021 13:44:59 +0000 (08:44 -0500)]
glib-2.0: Use specific BSD license variant

Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotzdata: Remove BSD License specifier
Joshua Watt [Wed, 1 Sep 2021 13:44:58 +0000 (08:44 -0500)]
tzdata: Remove BSD License specifier

The code in question is licensed under the BSD-3-Clause license, so
including the generic "BSD" license is unnecessary.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconf/licenses: Add FreeType SPDX mapping
Joshua Watt [Wed, 1 Sep 2021 13:44:57 +0000 (08:44 -0500)]
conf/licenses: Add FreeType SPDX mapping

The FreeType license maps to the FTL SPDX identifier

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Upgrade to 3.4
Michael Halstead [Tue, 31 Aug 2021 20:54:15 +0000 (13:54 -0700)]
uninative: Upgrade to 3.4

This adds a patch to glibc which allows it to work with Docker and
clone3 syscall issues cased by EPERM vs ENOSYS.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: stop using "virtual/" in RPROVIDES and RDEPENDS
Michael Opdenacker [Wed, 1 Sep 2021 09:20:20 +0000 (11:20 +0200)]
meta: stop using "virtual/" in RPROVIDES and RDEPENDS

Fixes [YOCTO #14538]

Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS.

That's confusing because "virtual/" has no special meaning in
RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS).

Instead, using "virtual-" instead of "virtual/"
as already done in the glibc recipe.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agonativesdk-packagegroup-sdk-host: add perl integer module
Andrey Zhizhikin [Tue, 31 Aug 2021 14:02:51 +0000 (14:02 +0000)]
nativesdk-packagegroup-sdk-host: add perl integer module

Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at
build time instead of shipping them") uses perl to generate assembler
files for crypto functionality, which relies on the integer.pm module to
be provided.

Add perl module to package group and export it in SDK.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/buildtools-cases: Allow bitbake time to shutdown
Richard Purdie [Tue, 31 Aug 2021 13:14:16 +0000 (14:14 +0100)]
oeqa/buildtools-cases: Allow bitbake time to shutdown

bitbake may still be shutting down when the UI exits. Wait for the lock
to disappear before trying to delete the directory to avoid errors.

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/buildtools/build/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 23, in test_libc
    self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir))
  File "/usr/lib64/python3.7/tempfile.py", line 807, in __exit__
    self.cleanup()
  File "/usr/lib64/python3.7/tempfile.py", line 811, in cleanup
    _shutil.rmtree(self.name)
  File "/usr/lib64/python3.7/shutil.py", line 494, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib64/python3.7/shutil.py", line 452, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib64/python3.7/shutil.py", line 450, in _rmtree_safe_fd
    os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock'

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodistro_features_check: expand with IMAGE_FEATURES
Trevor Woerner [Tue, 31 Aug 2021 02:50:33 +0000 (22:50 -0400)]
distro_features_check: expand with IMAGE_FEATURES

In addition to checking DISTRO_, MACHINE_, and COMBINED_ FEATURES for required
or conflicting features, extend this functionality in order to check
IMAGE_FEATURES in the same way.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildhistory: Label packages providing per-file dependencies in depends.dot
Andres Beltran [Mon, 30 Aug 2021 22:53:03 +0000 (22:53 +0000)]
buildhistory: Label packages providing per-file dependencies in depends.dot

Currently, depends.dot includes per-file dependencies but not the packages
providing those files. This makes it hard to obtain all package
dependencies by just looking at depends.dot.

Parse the RPROVIDES and FILERPROVIDES fields from pkgdata to map each of
their values to the package providing the component. Include runtime
packages as dependencies in depends.dot, together with the component
provided by the package as a label.

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocpio: backport fix for CVE-2021-38185
Ross Burton [Tue, 31 Aug 2021 15:03:34 +0000 (16:03 +0100)]
cpio: backport fix for CVE-2021-38185

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorustfmt: fix SRC_URI
Kai Kang [Mon, 30 Aug 2021 12:42:46 +0000 (20:42 +0800)]
rustfmt: fix SRC_URI

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Update to latest tip of trunk
Khem Raj [Fri, 27 Aug 2021 18:06:55 +0000 (11:06 -0700)]
musl: Update to latest tip of trunk

Drop upstream patch

This brings in following fixes

  * 3f701faa (upstream/master, origin/master) fix libc-internal signal blocking on mips archs
  * 0fbd7d66 fix broken struct shmid_ds on powerpc (32-bit)
  * 4f3d346b math: fix fmaf not to depend on FE_TOWARDZERO
  * 937822ab fix TZ parsing logic for identifying POSIX-form strings
  * 1f0c7cb1 riscv: rename __NR_fstatat __NR_newfstatat
  * d8cb888d remove return with expression in void function
  * b7a130e0 remove unnecessary cast for map_library return
  * bd3b9c4c add pthread_getname_np function
  * e1a51185 fix popen not to leak pipes from one child to another
  * e74acd59 remove spurious lock in popen
  * 9a40e842 define __STDC_UTF_{16,32}__ macros

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-common.bbclass: export RUST_TARGET_PATH
Tim Orling [Fri, 27 Aug 2021 15:05:45 +0000 (15:05 +0000)]
rust-common.bbclass: export RUST_TARGET_PATH

Running 'rustc --print <foo>' in -c devshell environment
the target specifications are not known, unless the
RUST_TARGET_PATH (absolute path to rustlib/) is defined.

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotune-*: Use more specific DEFAULTTUNE
Jon Mason [Fri, 27 Aug 2021 13:51:40 +0000 (09:51 -0400)]
tune-*: Use more specific DEFAULTTUNE

These files are using a more generic DEFAULTTUNE in their targeted tune
file.  This is contrary to what is being done in other tune files, and
this changes them to match.  It is still possible to use the more
generic DEFAULTTUNE in a machine's config file by simply specifying it.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: fix upstream version checks
Alexander Kanavin [Fri, 27 Aug 2021 12:24:36 +0000 (14:24 +0200)]
rust: fix upstream version checks

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolz4: remove rest of ptest artifacts
Armin Kuster [Fri, 27 Aug 2021 02:09:36 +0000 (19:09 -0700)]
lz4: remove rest of ptest artifacts

Commit: 953f6d9a71 lz4: remove ptest changes

missed removing the run-ptest file

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolz4: Security Fix for CVE-2021-3520
Armin Kuster [Fri, 27 Aug 2021 02:09:18 +0000 (19:09 -0700)]
lz4: Security Fix for CVE-2021-3520

Source: https://github.com/lz4/lz4
MR: 111604
Type: Security Fix
Disposition: Backport from https://github.com/lz4/lz4/commit/8301a21773ef61656225e264f4f06ae14462bca7#diff-7055e9cf14c488aea9837aaf9f528b58ee3c22988d7d0d81d172ec62d94a88a7
ChangeID: 58492f950164e75954a97cf084df6f9af3d88244
Description:

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobase/kernel: Support zstd-compressed squashfs and cpio initramfs
Zoltán Böszörményi [Fri, 27 Aug 2021 07:37:12 +0000 (09:37 +0200)]
base/kernel: Support zstd-compressed squashfs and cpio initramfs

Enable zstd PACKAGECONFIG knob for squashfs-tools and add support for zstd
compressed initramfs and squashfs.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel: Use unexpanded EXTENDPKGV
Richard Purdie [Tue, 31 Aug 2021 13:29:53 +0000 (14:29 +0100)]
kernel: Use unexpanded EXTENDPKGV

EXTENDPKGV can contain AUTOINC so use an expanded form in the variables allowing
for later expansion during packaging to avoid race issues over the variable and
the build failures that can result.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: fix create thread failed in unprivileged process uninative-3.4
Hongxu Jia [Sun, 29 Aug 2021 13:52:35 +0000 (06:52 -0700)]
glibc: fix create thread failed in unprivileged process

Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.

In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined.  If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.

As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)

[1] https://man7.org/linux/man-pages/man2/clone3.2.html

So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
fix the issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildhistory: Add output file listing package information
Andres Beltran [Thu, 12 Aug 2021 16:58:56 +0000 (16:58 +0000)]
buildhistory: Add output file listing package information

Currently, buildhistory does not produce a single file combining relevant
information of installed packages. Produce an output file
"installed-package-info.txt" listing a package's runtime name, buildtime name,
its recipe, version, and size to avoid having to look up each package externally.
Leave the existing package list files as-is for backwards compatibility.

In order to support this efficiently, extend oe-pkgdata-util to accept multiple keys
for its read-value argument.

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoparselogs.py: ignore intermittent CD/DVDROM identification failure
Bruce Ashfield [Thu, 26 Aug 2021 16:33:38 +0000 (12:33 -0400)]
parselogs.py: ignore intermittent CD/DVDROM identification failure

We don't use the CD/DVD ROM drive in any of our tests, but it
periodically fails discovery and that leads to a QA error:

    [    6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)

The only way to disable the optical ROM drive in qemu is to use
the '-nodefaults' option, which disables the CDROM (among other things).
We can't be sure that none of our tests, or extended users are relying
on default devices, so using that option is more of a risk than adding
the message to our ignore list.

To date, no one has sent a patch to just disable the optical drive
(either in qemu or the BIOS), but that is something we could consider
in the future.

[YOCTO #14528]

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.60
Bruce Ashfield [Thu, 26 Aug 2021 14:23:41 +0000 (10:23 -0400)]
linux-yocto/5.10: update to v5.10.60

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    2c5bd949b1df Linux 5.10.60
    3a24e121304a net: dsa: microchip: ksz8795: Use software untagging on CPU port
    1e78179d75fb net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
    5033d5e23155 net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
    60c007b52779 net: dsa: microchip: ksz8795: Fix PVID tag insertion
    f365d53c8687 net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port
    3dc5666baf2a KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
    c0883f693187 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
    b5f05bdfda28 vmlinux.lds.h: Handle clang's module.{c,d}tor sections
    2fe07584a623 ceph: take snap_empty_lock atomically with snaprealm refcount change
    a23aced54c2c ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
    b0efc93271ca ceph: add some lockdep assertions around snaprealm handling
    dcdb587ac470 vboxsf: Add support for the atomic_open directory-inode op
    7cd14c1a7fed vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
    433f0b31ebec KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
    0ab67e3dfc4d KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
    4a948c579ed6 efi/libstub: arm64: Double check image alignment at entry
    fc7da433fa16 powerpc/smp: Fix OOPS in topology_init()
    312730cd15e0 PCI/MSI: Protect msi_desc::masked for multi-MSI
    724d0a985086 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
    923368751866 PCI/MSI: Correct misleading comments
    e42fb8e6161e PCI/MSI: Do not set invalid bits in MSI mask
    042e03c9cdab PCI/MSI: Enforce MSI[X] entry updates to be visible
    0b2509d7a90c PCI/MSI: Enforce that MSI-X table entry is masked for update
    aa8092c1d1f1 PCI/MSI: Mask all unused MSI-X entries
    7e90e81a4b59 PCI/MSI: Enable and mask MSI-X early
    2d2c66848027 genirq/timings: Prevent potential array overflow in __irq_timings_store()
    355754194b48 genirq/msi: Ensure deactivation on teardown
    f0736bed18fb x86/resctrl: Fix default monitoring groups reporting
    25216ed97da8 x86/ioapic: Force affinity setup before startup
    19fb5dabedca x86/msi: Force affinity setup before startup
    4e52a4fe6f44 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
    2a28b52306f2 x86/tools: Fix objdump version check again
    4acc0d987141 powerpc/kprobes: Fix kprobe Oops happens in booke
    015e2c900b5d efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
    feb4a01d3ece efi/libstub: arm64: Force Image reallocation if BSS was not reserved
    afcb84e6cf8c arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    e0ee8d9c31b5 nbd: Aovid double completion of a request
    f5cefe9a52a6 vsock/virtio: avoid potential deadlock when vsock device remove
    dff830e5e723 xen/events: Fix race in set_evtchn_to_irq
    65395b053d03 drm/i915: Only access SFC_DONE when media domain is not fused off
    4344440d91b3 net: igmp: increase size of mr_ifc_count
    696afe28dc51 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
    8976606ca347 net: linkwatch: fix failure to restore device state across suspend/resume
    4c2af90119ea net: bridge: fix memleak in br_add_if()
    f333a5ca71c3 net: bridge: fix flags interpretation for extern learn fdb entries
    e3b949b86d09 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
    1cad01aca1fa net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
    56cc3408ff2a net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
    f7720b35cd32 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
    24e1b7dbb174 net: igmp: fix data-race in igmp_ifc_timer_expire()
    69b13167a636 net: Fix memory leak in ieee802154_raw_deliver
    dbfaf7a6a23a net: dsa: microchip: ksz8795: Fix VLAN filtering
    ccc1fe82c878 net: dsa: microchip: Fix ksz_read64()
    558092b8ed31 drm/meson: fix colour distortion from HDR set during vendor u-boot
    6e1886465dea net/mlx5: Fix return value from tracer initialization
    303ba011f5e1 net/mlx5: Synchronize correct IRQ when destroying CQ
    00a0c11ddd72 bareudp: Fix invalid read beyond skb's linear data
    30b1fc47f765 psample: Add a fwd declaration for skbuff
    b3f0b170842c iavf: Set RSS LUT and key in reset handle path
    a6192bae12e4 ice: don't remove netdev->dev_addr from uc sync list
    bae5b521feaa ice: Prevent probing virtual functions
    059238c52c61 net: sched: act_mirred: Reset ct info when mirror/redirect skb
    f15f7716b047 net/smc: fix wait on already cleared link
    51f4965d775e ppp: Fix generating ifname when empty IFLA_IFNAME is specified
    046579c9fc28 net: phy: micrel: Fix link detection on ksz87xx switch"
    e95620c3bdff bpf: Fix integer overflow involving bucket_size
    1960c3ac5268 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
    a3e9a3e22844 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
    53ebbfdd0e37 net: mvvp2: fix short frame size on s390
    784320edb6c5 net: dsa: mt7530: add the missing RxUnicast MIB counter
    20a80319028c ASoC: cs42l42: Fix LRCLK frame start edge
    750503aecf4e pinctrl: tigerlake: Fix GPIO mapping for newer version of software
    be49d5437d1a netfilter: nf_conntrack_bridge: Fix memory leak when error
    aa6b17bfefbc ASoC: cs42l42: Remove duplicate control for WNF filter frequency
    b268f9f6b73f ASoC: cs42l42: Fix inversion of ADC Notch Switch control
    2386a8cde18e ASoC: SOF: Intel: hda-ipc: fix reply size checking
    0e47f99e8680 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
    576939671f74 ASoC: cs42l42: Correct definition of ADC Volume control
    a21963c35f16 pinctrl: mediatek: Fix fallback behavior for bias_set_combo
    27188a938291 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
    528f17c02db9 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
    95de3592f87e drm/amdgpu: don't enable baco on boco platforms in runpm
    bd80d11a516c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
    ae311a7418f1 drm/amd/display: Remove invalid assert for ODM + MPC case
    c2351e5faa3e libnvdimm/region: Fix label activation vs errors
    366de90ccfa2 ACPI: NFIT: Fix support for virtual SPA ranges
    f3fcf9d1b759 ceph: reduce contention in ceph_check_delayed_caps()
    ca6dea44bd8c ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
    4716a2145bbf net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
    561d13128bb8 seccomp: Fix setting loaded filter count during TSYNC
    54916988a0fb scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    3db5cb922800 cifs: create sd context must be a multiple of 8
    d1398e3715b1 i2c: dev: zero out array used for i2c reads from userspace
    b8bceace43dd ASoC: intel: atom: Fix reference to PCM buffer address
    261613ef340b ASoC: tlv320aic31xx: Fix jack detection after suspend
    7e5a7fa68b27 ASoC: uniphier: Fix reference to PCM buffer address
    209eb62b45fe ASoC: xilinx: Fix reference to PCM buffer address
    c419c4c91b30 ASoC: amd: Fix reference to PCM buffer address
    0c9adae11701 iio: adc: Fix incorrect exit of for-loop
    632279e5057c iio: humidity: hdc100x: Add margin to the conversion time
    45de224b1332 iio: adis: set GPIO reset pin direction
    d0532ed064d1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.13: update to v5.13.12
Bruce Ashfield [Thu, 26 Aug 2021 14:23:40 +0000 (10:23 -0400)]
linux-yocto/5.13: update to v5.13.12

Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f428e49b8cb1 Linux 5.13.12
    639a033fd765 KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
    a0949ee63cf9 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
    874213144352 kasan, slub: reset tag when printing address
    ac0e79584d41 ceph: take snap_empty_lock atomically with snaprealm refcount change
    dcd02a1248cc ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
    36b361cb1966 ceph: add some lockdep assertions around snaprealm handling
    90d215367156 KVM: x86/mmu: Protect marking SPs unsync when using TDP MMU with spinlock
    0f4bf029494d KVM: x86/mmu: Don't leak non-leaf SPTEs when zapping all SPTEs
    bd043e754f4d KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
    1163cd462e1f KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
    a3040e7e9ff2 locking/rtmutex: Use the correct rtmutex debugging config option
    b636a0d1e5c8 efi/libstub: arm64: Double check image alignment at entry
    0e1d1392f381 powerpc/32: Fix critical and debug interrupts on BOOKE
    4ce6f022df43 powerpc/xive: Do not skip CPU-less nodes when creating the IPIs
    3b1700551dee powerpc/smp: Fix OOPS in topology_init()
    115ff78c3a03 powerpc/32s: Fix napping restore in data storage interrupt (DSI)
    3eda59bcee6e powerpc/pseries: Fix update of LPAR security flavor after LPM
    33971cedf1d9 powerpc/interrupt: Do not call single_step_exception() from other exceptions
    11aa5db61e9b PCI/MSI: Protect msi_desc::masked for multi-MSI
    b82047e5d807 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
    849b6a5bde32 PCI/MSI: Correct misleading comments
    ea6cc94e8807 PCI/MSI: Do not set invalid bits in MSI mask
    78225ed700df PCI/MSI: Enforce MSI[X] entry updates to be visible
    0b51d4c16a27 PCI/MSI: Enforce that MSI-X table entry is masked for update
    6c971252f090 PCI/MSI: Mask all unused MSI-X entries
    f800bb380fea PCI/MSI: Enable and mask MSI-X early
    73d8b5769514 powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt()
    9dac5f65caaf genirq/timings: Prevent potential array overflow in __irq_timings_store()
    0c081d4a6a13 genirq/msi: Ensure deactivation on teardown
    0abb63311246 x86/resctrl: Fix default monitoring groups reporting
    55cd80f4928c x86/ioapic: Force affinity setup before startup
    067ef0204880 x86/msi: Force affinity setup before startup
    24ed8f291d59 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
    560051d8f439 x86/tools: Fix objdump version check again
    d8f9d8c4be6e i2c: iproc: fix race between client unreg and tasklet
    daf371e74d36 powerpc/kprobes: Fix kprobe Oops happens in booke
    2bfb303470e0 efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
    bfc48d02d915 efi/libstub: arm64: Force Image reallocation if BSS was not reserved
    f3409e925da2 KVM: arm64: Fix off-by-one in range_is_memory
    14034883d058 arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    98f73989055f nbd: Aovid double completion of a request
    09625c5badd2 vsock/virtio: avoid potential deadlock when vsock device remove
    128e480afe78 xen/events: Fix race in set_evtchn_to_irq
    950429a4d346 drm/i915: Only access SFC_DONE when media domain is not fused off
    9977d0baadc8 net: igmp: increase size of mr_ifc_count
    4391389526a1 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
    53201f2902ee net: linkwatch: fix failure to restore device state across suspend/resume
    59cabc513b8a net: bridge: fix memleak in br_add_if()
    ff6c9aad3599 net: bridge: fix flags interpretation for extern learn fdb entries
    c7c9cc4a6016 pinctrl: sunxi: Don't underestimate number of functions
    735e90f3efa6 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
    8398aab49ba3 net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
    c6cbf5672cc0 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
    22ecb3423f9c net: dsa: hellcreek: fix broken backpressure in .port_fdb_dump
    52133524d807 net: igmp: fix data-race in igmp_ifc_timer_expire()
    44c8aa996911 net: Fix memory leak in ieee802154_raw_deliver
    74b264b342a5 net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table lookup
    1c4f28207fab net: dsa: microchip: ksz8795: Fix VLAN filtering
    3cc015794dab net: dsa: microchip: ksz8795: Use software untagging on CPU port
    9674dc6724c5 net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
    159948c423aa net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
    3149f9edddf9 net: dsa: microchip: ksz8795: Fix PVID tag insertion
    8154453a4be5 net: dsa: microchip: Fix ksz_read64()
    037570c9adab bpf: Fix potentially incorrect results with bpf_get_local_storage()
    1d1808fae2e0 ovl: fix deadlock in splice write
    75004b47fba4 drm/meson: fix colour distortion from HDR set during vendor u-boot
    11e249ce5e3e net/mlx5: Fix return value from tracer initialization
    436f4a1c6d17 net/mlx5: Synchronize correct IRQ when destroying CQ
    9b0b9c9da810 net/mlx5e: TC, Fix error handling memory leak
    89163e392e57 net/mlx5: Block switchdev mode while devlink traps are active
    09ab613d4996 net/mlx5e: Destroy page pool after XDP SQ to fix use-after-free
    c0cb7d8be945 net/mlx5e: Avoid creating tunnel headers for local route
    3f20768c9fdc net/mlx5: DR, Add fail on error check on decap
    df712c5d591a net/mlx5: Don't skip subfunction cleanup in case of error in module init
    f49d457950b9 io-wq: fix IO_WORKER_F_FIXED issue in create_io_worker()
    815a0fe3f415 io-wq: fix bug of creating io-wokers unconditionally
    3cedeb691b74 bareudp: Fix invalid read beyond skb's linear data
    ed277fbd3053 psample: Add a fwd declaration for skbuff
    792e7591d308 iavf: Set RSS LUT and key in reset handle path
    f2b15898012a ice: don't remove netdev->dev_addr from uc sync list
    8a0814243362 ice: Stop processing VF messages during teardown
    e266d4c43b95 ice: Prevent probing virtual functions
    00735401c918 net: sched: act_mirred: Reset ct info when mirror/redirect skb
    e04669e14c5a net/smc: Correct smc link connection counter in case of smc client
    9b8f136b88f3 net/smc: fix wait on already cleared link
    6a4b92821135 io_uring: clear TIF_NOTIFY_SIGNAL when running task work
    1e19d18189fe ppp: Fix generating ifname when empty IFLA_IFNAME is specified
    2a4a96afa7b5 net: phy: micrel: Fix link detection on ksz87xx switch"
    d8431e3fa7b3 net: dsa: qca: ar9331: make proper initial port defaults
    ada7135e6d99 bpf: Fix integer overflow involving bucket_size
    621d81cfbb0c libbpf: Do not close un-owned FD 0 on errors
    51f19580f5f4 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
    466f5509f62a drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()'
    fd0b94e6b1c7 perf/x86/intel: Apply mid ACK for small core
    736e0445f921 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
    a4de486958ff net: mvvp2: fix short frame size on s390
    f67f34a86375 net: dsa: mt7530: add the missing RxUnicast MIB counter
    141af64cf768 ASoC: cs42l42: Fix mono playback
    d57b00645556 ASoC: cs42l42: Fix LRCLK frame start edge
    6e61f4d51d38 ASoC: cs42l42: PLL must be running when changing MCLK_SRC_SEL
    22af0d2a5e5e pinctrl: tigerlake: Fix GPIO mapping for newer version of software
    deff14bdcc54 netfilter: nf_conntrack_bridge: Fix memory leak when error
    71805c36336a ASoC: cs42l42: Remove duplicate control for WNF filter frequency
    9c272596189c ASoC: cs42l42: Fix inversion of ADC Notch Switch control
    710490222c69 ASoC: SOF: Intel: hda-ipc: fix reply size checking
    ba216b210f26 ASoC: SOF: Intel: Kconfig: fix SoundWire dependencies
    d82c88a44bb6 selftests/sgx: Fix Q1 and Q2 calculation in sigstruct.c
    67488f5c9613 ASoC: cs42l42: Fix bclk calculation for mono
    b4f870447de1 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
    918bbb32c823 ASoC: cs42l42: Correct definition of ADC Volume control
    676b96483576 pinctrl: mediatek: Fix fallback behavior for bias_set_combo
    73e81f7219aa drm/mediatek: Fix cursor plane no update
    30df59b45cac ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
    bb0c87658dd1 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
    73248a01ae14 drm/amdgpu: handle VCN instances when harvesting (v2)
    7e73eac2bd90 drm/amdgpu: don't enable baco on boco platforms in runpm
    fcd957aa8b32 drm/amdgpu: Add preferred mode in modeset when freesync video mode's enabled.
    7b69bee4817c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
    164759f4070e drm/amd/display: Remove invalid assert for ODM + MPC case
    3565f42dc8e2 drm/i915/display: Fix the 12 BPC bits for PIPE_MISC reg
    01478e251732 drm/i915/gvt: Fix cached atomics setting for Windows VM
    21fcf2f1ced4 vmlinux.lds.h: Handle clang's module.{c,d}tor sections
    33d2301ad61b riscv: kexec: do not add '-mno-relax' flag if compiler doesn't support it
    1579656b0141 libnvdimm/region: Fix label activation vs errors
    4debaa9f577a ACPI: NFIT: Fix support for virtual SPA ranges
    fbe28d4afbda pinctrl: k210: Fix k210_fpioa_probe()
    3d33960c8d66 ceph: reduce contention in ceph_check_delayed_caps()
    01b2ec534d38 ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
    30a5d06dc3dd net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
    2bb154128d14 net: wwan: mhi_wwan_ctrl: Fix possible deadlock
    8610d75c4db6 seccomp: Fix setting loaded filter count during TSYNC
    bf77f479cd4c cgroup: rstat: fix A-A deadlock on 32bit around u64_stats_sync
    5028bdb679c4 scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    3e35c7dbf706 io_uring: fix ctx-exit io_rsrc_put_work() deadlock
    e1c5046e341d io_uring: drop ctx->uring_lock before flushing work item
    000cb600dabf cifs: use the correct max-length for dentry_path_raw()
    0ca6ac8a2691 cifs: Call close synchronously during unlink/rename/lease break.
    10290043f377 cifs: create sd context must be a multiple of 8
    3c420ec43971 cifs: Handle race conditions during rename
    cc3a5a27e811 i2c: dev: zero out array used for i2c reads from userspace
    2693a747960b ASoC: intel: atom: Fix reference to PCM buffer address
    145951900b76 ASoC: kirkwood: Fix reference to PCM buffer address
    8e4a0581e288 ASoC: tlv320aic31xx: Fix jack detection after suspend
    3380a37484eb ASoC: uniphier: Fix reference to PCM buffer address
    4cf1b08e6889 ASoC: xilinx: Fix reference to PCM buffer address
    c43e0f97f5fc ASoC: amd: Fix reference to PCM buffer address
    b37adfb2c760 iio: adc: Fix incorrect exit of for-loop
    88f5acc1f2af iio: humidity: hdc100x: Add margin to the conversion time
    29ccbb4684e9 iio: adis: set GPIO reset pin direction
    51289a499dd1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
    c7ee0c9854fd Revert "usb: dwc3: gadget: Use list_replace_init() before traversing lists"
    95f4fb3ef0b9 lib: use PFN_PHYS() in devmem_is_allowed()

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.59
Bruce Ashfield [Thu, 26 Aug 2021 14:23:39 +0000 (10:23 -0400)]
linux-yocto/5.10: update to v5.10.59

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    5805e5eec901 Linux 5.10.59
    25cff25ec606 net: xilinx_emaclite: Do not print real IOMEM pointer
    6a002d48a660 ovl: prevent private clone if bind mount is not allowed
    bffead8d3648 ppp: Fix generating ppp unit id when ifname is not specified
    5df85901fe45 ALSA: hda: Add quirk for ASUS Flow x13
    8930f2c60a45 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
    98c3fa3a9d7a ALSA: pcm: Fix mmap breakage without explicit buffer setup
    cc1a4dff23a4 USB:ehci:fix Kunpeng920 ehci hardware problem
    bd909fd3878d vboxsf: Make vboxsf_dir_create() return the handle for the created file
    971703fc19cf vboxsf: Honor excl flag to the dir-inode create op
    96b2232cb7e5 arm64: dts: renesas: beacon: Fix USB ref clock references
    e0dd4a0ab072 arm64: dts: renesas: beacon: Fix USB extal reference
    0f47027d1b9b arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H
    eaa7feecd366 mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM
    0e709390372f Revert "selftests/resctrl: Use resctrl/info for feature detection"
    d8c38598701f bpf: Add lockdown check for probe_write_user helper
    5b5064ea9a94 firmware: tee_bnxt: Release TEE shm, session, and context during kexec
    c5a625c6a4ac tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
    9f105d2d4f6c KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
    132a8267adab Linux 5.10.58
    3d7d1b0f5f41 arm64: fix compat syscall return truncation
    bb65051dcd1f drm/amdgpu/display: only enable aux backlight control for OLED panels
    c8b7cfa674ee smb3: rc uninitialized in one fallocate path
    8cfdd039ca18 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
    fbbb209268e5 alpha: Send stop IPI to send to online CPUs
    13d0a9b3b917 net: qede: Fix end of loop tests for list_for_each_entry
    1478e902bcbc virt_wifi: fix error on connect
    ecd8614809eb reiserfs: check directory items on read from disk
    dbe4f82fedc6 reiserfs: add check for root_inode in reiserfs_fill_super
    0f05e0ffa247 libata: fix ata_pio_sector for CONFIG_HIGHMEM
    11891adab23d drm/i915: avoid uninitialised var in eb_parse()
    a3e6bd0c71bb sched/rt: Fix double enqueue caused by rt_effective_prio
    c797b8872bb9 perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
    2d94cffc94a5 soc: ixp4xx/qmgr: fix invalid __iomem access
    7397034905ac drm/i915: Correct SFC_DONE register offset
    16aecf1e36d9 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
    22b4917c85af interconnect: Always call pre_aggregate before aggregate
    ccfe4f62ff9f interconnect: Zero initial BW after sync-state
    05565b469358 spi: meson-spicc: fix memory leak in meson_spicc_remove
    1a084e78217d interconnect: Fix undersized devress_alloc allocation
    dcc23e58511b soc: ixp4xx: fix printing resources
    37cbd27ef4b2 arm64: vdso: Avoid ISB after reading from cntvct_el0
    7a2b5bb00f54 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
    32f55c25ee29 KVM: Do not leak memory for duplicate debugfs directories
    309a31127bef KVM: x86: accept userspace interrupt only if no event is injected
    a786282b55b4 md/raid10: properly indicate failure when ending a failed write request
    3d7d2d2b069b ARM: omap2+: hwmod: fix potential NULL pointer access
    9851ad2f7107 Revert "gpio: mpc8xxx: change the gpio interrupt flags."
    57c44e7ac788 bus: ti-sysc: AM3: RNG is GP only
    f4984f60acc7 selinux: correct the return value when loads initial sids
    100f8396d154 pcmcia: i82092: fix a null pointer dereference bug
    afcd5a0e015f net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
    f08b2d078cbb xfrm: Fix RCU vs hash_resize_mutex lock inversion
    23e36a8610ca timers: Move clearing of base::timer_running under base:: Lock
    9a69d0d24d69 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
    bfb5f1a12325 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
    0f30fedced7c serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
    17f3c64f707b MIPS: Malta: Do not byte-swap accesses to the CBUS UART
    8a1624f4a8d3 serial: 8250: Mask out floating 16/32-bit bus bits
    c03cef67157a serial: 8250_mtk: fix uart corruption issue when rx power off
    a4f8bfc919ee serial: tegra: Only print FIFO error message when an error occurs
    cc7300776808 ext4: fix potential htree corruption when growing large_dir directories
    6b5a3d2c2b89 pipe: increase minimum default pipe size to 2 pages
    556e7f204d34 media: rtl28xxu: fix zero-length control request
    551e0c5d6b2e drivers core: Fix oops when driver probe fails
    faec2c68ea5f staging: rtl8712: error handling refactoring
    e468a357af68 staging: rtl8712: get rid of flush_scheduled_work
    369101e39911 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
    1628b64efb36 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
    2a879ff9719f optee: fix tee out of memory failure seen during kexec reboot
    ad80c25987fe optee: Refuse to load the driver under the kdump kernel
    1340dc3fb75e optee: Fix memory leak when failing to register shm pages
    6b2ded93d35c tee: add tee_shm_alloc_kernel_buf()
    5e9d82021425 optee: Clear stale cache entries during initialization
    e5d8fd87091c arm64: stacktrace: avoid tracing arch_stack_walk()
    7799ad4d181f tracepoint: Fix static call function vs data state mismatch
    14673e19291c tracepoint: static call: Compare data on transition from 2->1 callees
    046e12323ab4 tracing: Fix NULL pointer dereference in start_creating
    b2aca8daa50e tracing: Reject string operand in the histogram expression
    b10ccc2c5888 tracing / histogram: Give calculation hist_fields a size
    f97274528037 scripts/tracing: fix the bug that can't parse raw_trace_func
    fd3afb81f448 clk: fix leak on devm_clk_bulk_get_all() unwind
    948ff2f214fb usb: otg-fsm: Fix hrtimer list corruption
    8f8645de092a usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
    5b4318885a43 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
    1f2015506d9c usb: gadget: f_hid: idle uses the highest byte for duration
    825ac3f0bc35 usb: gadget: f_hid: fixed NULL pointer dereference
    683702dff7c8 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
    051518d9cfe3 usb: cdns3: Fixed incorrect gadget state
    822bec5cbb05 usb: gadget: remove leaked entry from udc driver list
    98c83d72614e usb: dwc3: gadget: Avoid runtime resume if disabling pullup
    79e9389038c4 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
    b7532db2d458 ALSA: usb-audio: Fix superfluous autosuspend recovery
    80b7aa2651bc ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
    de30786fb25a ALSA: hda/realtek: add mic quirk for Acer SF314-42
    c0b626f0a29a ALSA: pcm - fix mmap capability check for the snd-dummy driver
    dd3f7c5c8904 drm/amdgpu/display: fix DMUB firmware version info
    ecb739cf15a9 firmware_loader: fix use-after-free in firmware_fallback_sysfs
    5019f5812bbf firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
    aa3b8bc17e2a USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
    d245a76719cf USB: serial: ch341: fix character loss at high transfer rates
    0470385e63bb USB: serial: option: add Telit FD980 composition 0x1056
    ba4a395668b5 USB: usbtmc: Fix RCU stall warning
    f2f856b65ac4 Bluetooth: defer cleanup of resources in hci_unregister_dev()
    821e6a613354 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
    c5a499b8607a net: vxge: fix use-after-free in vxge_device_unregister
    fb49d67262ca net: fec: fix use-after-free in fec_drv_remove
    f12b6b6bc15f net: pegasus: fix uninit-value in get_interrupt_interval
    c66d273b70fe bnx2x: fix an error code in bnx2x_nic_load()
    f76f9caccb46 mips: Fix non-POSIX regexp
    f93b7b000044 MIPS: check return value of pgtable_pmd_page_ctor
    9b2b2f07712b net: sched: fix lockdep_set_class() typo error for sch->seqlock
    d1f2abe57bc1 net: dsa: qca: ar9331: reorder MDIO write sequence
    a45ee8ed0c7d net: ipv6: fix returned variable type in ip6_skb_dst_mtu
    f87be69b7fe9 nfp: update ethtool reporting of pauseframe control
    44f2e360e784 sctp: move the active_key update after sh_keys is added
    e74551ba938a RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
    1242ca9369b1 gpio: tqmx86: really make IRQ optional
    4ef549dc9c1a net: natsemi: Fix missing pci_disable_device() in probe and remove
    1dc3eef381c1 net: phy: micrel: Fix detection of ksz87xx switch
    e09dba75cafd net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
    c0b14a0e61e7 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
    00bf923dce2a net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
    de425f1c3a60 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
    74bcf85ff1e2 net, gro: Set inner transport header offset in tcp/udp GRO hook
    80fd533ac3f9 dmaengine: imx-dma: configure the generic DMA type to make it work
    163e6d87216d ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
    442f7e04d592 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
    449991df08d5 media: videobuf2-core: dequeue if start_streaming fails
    3e8bba601212 scsi: sr: Return correct event when media event code is 3
    aaaf6e6e4174 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
    cd989e119272 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
    281514da66a4 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
    bbce3c99f622 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
    84656b4c27bf clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
    edf1b7911af2 dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
    4ebd11d1c782 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
    9bf056b99fa0 ARM: dts: am437x-l4: fix typo in can@0 node
    e79a30f71d95 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    71f39badc898 ALSA: usb-audio: fix incorrect clock source setting
    c4fcda128780 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
    8d13f6a0a656 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
    f239369f37d9 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
    ee6f7084324d ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
    e1011b9c597d ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
    c0f61abbefdf arm64: dts: ls1028: sl28: fix networking for variant 2
    54555c399668 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
    3790f940981d ARM: imx: add missing clk_disable_unprepare()
    a28569b510e5 ARM: imx: add missing iounmap()
    9189d77f0e21 arm64: dts: ls1028a: fix node name for the sysclk
    d61dc8c634bb net: xfrm: fix memory leak in xfrm_user_rcv_msg
    8efe3a635f22 bus: ti-sysc: Fix gpt12 system timer issue with reserved status
    e32a291736fc ALSA: seq: Fix racy deletion of subscriber
    b917f123b50d Revert "ACPICA: Fix memory leak caused by _CID repair function"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.13: update to v5.13.11
Bruce Ashfield [Thu, 26 Aug 2021 14:23:38 +0000 (10:23 -0400)]
linux-yocto/5.13: update to v5.13.11

Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    a3f1a03f54fc Linux 5.13.11
    41812f4b8448 ovl: prevent private clone if bind mount is not allowed
    2b187b56d531 ppp: Fix generating ppp unit id when ifname is not specified
    9153106ca7e3 ALSA: hda: Add quirk for ASUS Flow x13
    1252406498a6 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
    c67b3ee8ca46 ALSA: pcm: Fix mmap breakage without explicit buffer setup
    95421b33f9a2 bpf: Add lockdown check for probe_write_user helper
    ea56b15b909c firmware: tee_bnxt: Release TEE shm, session, and context during kexec
    a37da2be8e6c Linux 5.13.10
    65485c34aa43 HID: ft260: fix device removal due to USB disconnect
    6cf4cab9db7e platform/x86: gigabyte-wmi: add support for B550 Aorus Elite V2
    37d363b3f6f7 drm/amdgpu/display: only enable aux backlight control for OLED panels
    0505f8c628b9 smb3: rc uninitialized in one fallocate path
    b092186eb9e6 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
    23f50e8ea008 alpha: Send stop IPI to send to online CPUs
    dd62ad1e49cc net: qede: Fix end of loop tests for list_for_each_entry
    f4c5021e7b3a virt_wifi: fix error on connect
    cd5a60de176c reiserfs: check directory items on read from disk
    42b81b2b6766 reiserfs: add check for root_inode in reiserfs_fill_super
    aa54be4d1716 libata: fix ata_pio_sector for CONFIG_HIGHMEM
    fb9501ef203d riscv: dts: fix memory size for the SiFive HiFive Unmatched
    aa11124534b9 sched/rt: Fix double enqueue caused by rt_effective_prio
    bfdb06df02df perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
    1de1a42a8590 soc: ixp4xx/qmgr: fix invalid __iomem access
    8db20e539486 drm/i915: Correct SFC_DONE register offset
    9f01d090be13 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
    019387e3c21f interconnect: Always call pre_aggregate before aggregate
    39382972e727 interconnect: Zero initial BW after sync-state
    f2ca988aba4e spi: meson-spicc: fix memory leak in meson_spicc_remove
    e170a01152d2 usb: cdnsp: Fix incorrect supported maximum speed
    95108645a282 usb: cdnsp: Fix the IMAN_IE_SET and IMAN_IE_CLEAR macro
    e9b413776d32 interconnect: Fix undersized devress_alloc allocation
    6d74664e9843 soc: ixp4xx: fix printing resources
    7a822dd050b1 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
    16375248cec6 KVM: Do not leak memory for duplicate debugfs directories
    9a6772458f8e KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
    82c9a3098bbc KVM: x86: accept userspace interrupt only if no event is injected
    642ffd390d67 s390/dasd: fix use after free in dasd path handling
    6ed983ea4a12 io-wq: fix race between worker exiting and activating free worker
    08ed8d676c94 md/raid10: properly indicate failure when ending a failed write request
    d6e1229a1bbb ARM: omap2+: hwmod: fix potential NULL pointer access
    b5f6bab9522e arm64: fix compat syscall return truncation
    a62784c80b1b Revert "gpio: mpc8xxx: change the gpio interrupt flags."
    383d2836d2fa bus: ti-sysc: AM3: RNG is GP only
    6e8de6c62763 selinux: correct the return value when loads initial sids
    f730f081a49b scsi: ibmvfc: Fix command state accounting and stale response detection
    1cbbe89e6123 pcmcia: i82092: fix a null pointer dereference bug
    60cd03514038 net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
    d6bfaf682860 xfrm: Fix RCU vs hash_resize_mutex lock inversion
    662a1fd0ec69 perf: Fix required permissions if sigtrap is requested
    711f71b661ff virt: acrn: Do hcall_destroy_vm() before resource release
    9ae78810a2b4 timers: Move clearing of base::timer_running under base:: Lock
    fafe9cf51f80 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
    03d6da7c923f serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
    134cbd486ac4 serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
    9b2967bd9888 MIPS: Malta: Do not byte-swap accesses to the CBUS UART
    b321bb83a2c6 serial: 8250: fix handle_irq locking
    979bd0e11d88 serial: 8250: Mask out floating 16/32-bit bus bits
    19364aeb0b63 serial: 8250_mtk: fix uart corruption issue when rx power off
    b188f699e036 serial: tegra: Only print FIFO error message when an error occurs
    ddbd617df071 Revert "thunderbolt: Hide authorized attribute if router does not support PCIe tunnels"
    bc3c6b55a4ea ext4: fix potential htree corruption when growing large_dir directories
    e745e3033999 pipe: increase minimum default pipe size to 2 pages
    e58376a283bd media: rtl28xxu: fix zero-length control request
    e10d4de4ff5e drivers core: Fix oops when driver probe fails
    9f57b942c4f3 staging: rtl8712: error handling refactoring
    e7565488445d staging: rtl8712: get rid of flush_scheduled_work
    125b1d808b98 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
    7a4e7a65d088 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
    156dc5bd1c8d optee: fix tee out of memory failure seen during kexec reboot
    7a710ab78bb8 optee: Refuse to load the driver under the kdump kernel
    255e17923b22 optee: Fix memory leak when failing to register shm pages
    55dac0db5316 tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
    a256c244187a tee: add tee_shm_alloc_kernel_buf()
    dca5025908f7 optee: Clear stale cache entries during initialization
    c7003666555d arm64: stacktrace: avoid tracing arch_stack_walk()
    ab19b258d68b tracepoint: Use rcu get state and cond sync for static call updates
    21acfdc21754 tracepoint: Fix static call function vs data state mismatch
    ee6f51d74e11 tracepoint: static call: Compare data on transition from 2->1 callees
    1483ce6d8ffd tracing: Fix NULL pointer dereference in start_creating
    aa9876e40cb6 tracing: Reject string operand in the histogram expression
    53e512b6c563 tracing / histogram: Give calculation hist_fields a size
    b907f0dd99cc scripts/tracing: fix the bug that can't parse raw_trace_func
    00fcd7f7a28b clk: fix leak on devm_clk_bulk_get_all() unwind
    8bb9022e0737 usb: otg-fsm: Fix hrtimer list corruption
    8ac3e4bdc284 usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
    f6f2d875a557 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
    74cd6464d6ad usb: gadget: f_hid: idle uses the highest byte for duration
    b27bb0d8988e usb: gadget: f_hid: fixed NULL pointer dereference
    12620d8780dd usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
    39129dc820d0 usb: cdnsp: Fixed issue with ZLP
    36d3bb59f3c6 usb: cdns3: Fixed incorrect gadget state
    271a4a35c61d usb: gadget: remove leaked entry from udc driver list
    fadfc2b17a1d usb: dwc3: gadget: Avoid runtime resume if disabling pullup
    cde7b3b1ddd4 usb: dwc3: gadget: Use list_replace_init() before traversing lists
    22952d4d1ae2 ALSA: usb-audio: Avoid unnecessary or invalid connector selection at resume
    11ebf7631eb6 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
    8691bda37729 ALSA: usb-audio: Fix superfluous autosuspend recovery
    6537805a71cd ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
    4cb3b665fa39 ALSA: hda/realtek: add mic quirk for Acer SF314-42
    fb78a577d5e5 ALSA: pcm - fix mmap capability check for the snd-dummy driver
    797bcd3d678b drm/amdgpu/display: fix DMUB firmware version info
    8330879408e5 drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled
    c14a54675db7 firmware_loader: fix use-after-free in firmware_fallback_sysfs
    34311eaec13b firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
    44b8abfb1c0f USB: serial: pl2303: fix GT type detection
    654b54e72cb3 USB: serial: pl2303: fix HX type detection
    ccc55e1df78b USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
    9fc923d27852 USB: serial: ch341: fix character loss at high transfer rates
    a07d3a2a57de USB: serial: option: add Telit FD980 composition 0x1056
    e7cf487c5f05 USB: usbtmc: Fix RCU stall warning
    d92eaad3ed95 io-wq: fix lack of acct->nr_workers < acct->max_workers judgement
    ebad5646c059 io-wq: fix no lock protection of acct->nr_worker
    75dd00b755eb Bluetooth: defer cleanup of resources in hci_unregister_dev()
    5c4139e2e299 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
    fc443dec3786 net: vxge: fix use-after-free in vxge_device_unregister
    5969dc53160a net: fec: fix use-after-free in fec_drv_remove
    91c159168dbd net: pegasus: fix uninit-value in get_interrupt_interval
    a4e2310d171e net: ethernet: ti: am65-cpsw: fix crash in am65_cpsw_port_offload_fwd_mark_update()
    6e2de0ad1d17 bnx2x: fix an error code in bnx2x_nic_load()
    9884f6096c4a kbuild: cancel sub_make_done for the install target to fix DKMS
    cb1f2a9b52d6 mips: Fix non-POSIX regexp
    a047015d4b23 x86/tools/relocs: Fix non-POSIX regexp
    b50d4d2b6fc6 MIPS: check return value of pgtable_pmd_page_ctor
    367c5c9d53e4 drm/i915: fix i915_globals_exit() section mismatch error
    8cc7b4cbce30 net: sched: fix lockdep_set_class() typo error for sch->seqlock
    04c35b1c155d riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled
    57b76a8fec62 net: dsa: qca: ar9331: reorder MDIO write sequence
    60dd525573d5 RDMA/hns: Fix the double unlock problem of poll_sem
    c3aba13b0e21 net: ipv6: fix returned variable type in ip6_skb_dst_mtu
    2841b3001376 nfp: update ethtool reporting of pauseframe control
    0294ca659bce drm/i915: Call i915_globals_exit() if pci_register_device() fails
    d73959cc5d98 sctp: move the active_key update after sh_keys is added
    8a9099d737d1 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
    29d04e9cf568 RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
    84a55bb25b8c gpio: tqmx86: really make IRQ optional
    be4b1c034ce7 net: natsemi: Fix missing pci_disable_device() in probe and remove
    a8c78e76c426 net: phy: micrel: Fix detection of ksz87xx switch
    6986053b6f33 net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
    731993ae08c3 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
    8a9e4d4e6ede net: dsa: sja1105: ignore the FDB entry for unknown multicast when adding a new address
    f072c44eb10b net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
    8395e1c53494 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
    1e6eab0aa13b net, gro: Set inner transport header offset in tcp/udp GRO hook
    64b81fcfd37f dmaengine: imx-dma: configure the generic DMA type to make it work
    6cb60082664e ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
    3957b6192d01 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
    941212f8762b ARM: dts: stm32: Prefer HW RTC on DHCOM SoM
    938b3e21c01a media: videobuf2-core: dequeue if start_streaming fails
    5258b116b485 scsi: sr: Return correct event when media event code is 3
    c298b61f6524 drm/kmb: Enable LCD DMA for low TVDDCV
    1d9f0250c73c spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
    de77638ae9ac spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
    64df529b50d0 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
    748fb4387195 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
    e03d177b32d8 clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
    a4240c4f23fb dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
    50836f77ccc2 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
    4b0843e94e86 ARM: dts: am437x-l4: fix typo in can@0 node
    36fec2753f39 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    747d62a533b5 riscv: stacktrace: Fix NULL pointer dereference
    b28fd0f0b5cf ALSA: usb-audio: fix incorrect clock source setting
    f98f80297a05 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
    71ecd71e4e6e ext4: fix potential uninitialized access to retval in kmmpd
    b49b428e9462 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
    710be2446523 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
    15d9eb484ebd ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
    50f5768127aa ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
    c9658f4ddfce arm64: dts: ls1028: sl28: fix networking for variant 2
    d882c91b1585 dmaengine: idxd: fix submission race window
    1f2b17134c7c dmaengine: idxd: fix sequence for pci driver remove() and shutdown()
    6c3b6b10a84f dmaengine: idxd: fix desc->vector that isn't being updated
    48b425d005b5 Revert "soc: imx8m: change to use platform driver"
    ad6ef82f5695 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
    b1137318a18c ARM: imx: add missing clk_disable_unprepare()
    f6624656c389 ARM: imx: add missing iounmap()
    e1045d5ac6ad dmaengine: idxd: fix setup sequence for MSIXPERM table
    1c8a2fa0600a dmaengine: idxd: fix array index when int_handles are being used
    84e5c5ccd6ef arm64: dts: ls1028a: fix node name for the sysclk
    e95a18d6f83a net: xfrm: fix memory leak in xfrm_user_rcv_msg
    c03d1a2a4b99 bus: ti-sysc: Fix gpt12 system timer issue with reserved status
    3419672f00c8 ALSA: seq: Fix racy deletion of subscriber
    873180433191 Revert "ACPICA: Fix memory leak caused by _CID repair function"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: add option to disable NLS support
Andrej Valek [Thu, 26 Aug 2021 13:15:49 +0000 (15:15 +0200)]
vim: add option to disable NLS support

- Some distributions with UTF-8 locale have problem when National Language
Support is enabled. Add there an option to disable it.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemurunner.py: handle getOutput() having nothing to read
Alexander Kanavin [Thu, 26 Aug 2021 13:00:19 +0000 (15:00 +0200)]
qemurunner.py: handle getOutput() having nothing to read

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemurunner.py: print output from runqemu/qemu-system in stop()
Alexander Kanavin [Thu, 26 Aug 2021 13:00:18 +0000 (15:00 +0200)]
qemurunner.py: print output from runqemu/qemu-system in stop()

This is done when starting up qemu has failed, but is not done
when qemu started ok, but fails later in QMP communication.

Output from runqemu does contain valuable information to find out
why, so rather than fix all the QMP fails to include it, let's just
print it in stop().

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson.bbclass: Make the default buildtype "debug" if DEBUG_BUILD is 1
Peter Kjellerstedt [Thu, 26 Aug 2021 12:59:12 +0000 (14:59 +0200)]
meson.bbclass: Make the default buildtype "debug" if DEBUG_BUILD is 1

Setting the Meson buildtype to "debug" will by default only enable the
-g option to the compiler, which should not matter for OE-Core as it is
already enabled by setting DEBUG_BUILD to 1 in the first place. However,
if the package uses get_option('debug') in its meson.build files to
enable package specific debug code, this will now trigger as intended.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: do not search in non-existing folder during install
Andrey Zhizhikin [Thu, 26 Aug 2021 12:56:26 +0000 (12:56 +0000)]
lttng-modules: do not search in non-existing folder during install

When CONFIG_TRACEPOINTS is not enabled in kernel config - module
compilation is skipped, which causes the ${D}/${nonarch_base_libdir} not
to be created.

This fails later in do_install:append() due to the fact that find
command in executed for non-existing folder.

Check for folder existence before find command in executed.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel.bbclass: Use full versions for inter-package dependencies
Zoltán Böszörményi [Mon, 23 Aug 2021 14:54:49 +0000 (16:54 +0200)]
kernel.bbclass: Use full versions for inter-package dependencies

If the kernel configuration enables module signing but no key
is provided, then the kernel generates one during the kernel build.

The current runtime-dependency references (with only package names
without full versions) allow mixed package installations from different
rebuilds of the same kernel version.

This creates an issue because then the modules either don't work
or taint the kernel.

Tighten RDEPENDS with the full package version, i.e. use (= ${EXTENDPKGV})
markers for inter-package dependencies.

The kernel will pull in the kernel-modules subpackage of the same
exact version automatically if KERNEL_SPLIT_MODULES="0" is set.
Otherwise the situation is the same as with the old default with
one subpackage per kernel module where they have to be upgraded
manually.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoAllow opt-out of split kernel modules
Zoltán Böszörményi [Mon, 23 Aug 2021 14:54:48 +0000 (16:54 +0200)]
Allow opt-out of split kernel modules

For some use cases, a monolithic kernel-modules package containing
all modules built from the kernel sources may be preferred.
For one, download time is shorter and installation time is faster.

Set KERNEL_SPLIT_MODULES="0" for this in. The default is one subpackage
per module.

Also, adapt kernel.bbclass to KERNEL_SPLIT_MODULES != "1" case
Extra RDEPENDS and other inter-package references are needed in
this case.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-module-split.bbclass: Support zstd-compressed modules
Zoltán Böszörményi [Mon, 23 Aug 2021 14:54:47 +0000 (16:54 +0200)]
kernel-module-split.bbclass: Support zstd-compressed modules

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobusybox: 1.33.1 -> 1.34.0
Andrej Valek [Mon, 23 Aug 2021 11:23:19 +0000 (13:23 +0200)]
busybox: 1.33.1 -> 1.34.0

- update to next stable version 1.34.0
- refresh defconfig
- remove and refresh already merged patches

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcgroup: fix installed-vs-shipped qa issue
Kai Kang [Thu, 26 Aug 2021 01:50:31 +0000 (09:50 +0800)]
libcgroup: fix installed-vs-shipped qa issue

When pam is enabled, it complains installed-vs-shipped QA issue:

| ERROR: libcgroup-2.0-r0 do_package: QA Issue: libcgroup:
         Files/directories were installed but not shipped in any package:
|  /lib/security/pam_cgroup.a

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agonativesdk-pseudo: Fix to work with glibc 2.34 systems
Hongxu Jia [Thu, 26 Aug 2021 05:03:09 +0000 (22:03 -0700)]
nativesdk-pseudo: Fix to work with glibc 2.34 systems

Since commit [df313aa810 pseudo: Fix to work with glibc 2.34
systems] applied, it fixed native only. And nativesdk has
the similar issue

Tweak library search order, make prebuilt lib ahead of recipe lib,
after apply the fix:
...
$ readelf -a lib/pseudo/lib64/libpseudo.so | grep 'Shared library'
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library:[libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pytest: allow python3-pluggy >=1.0.0
Tim Orling [Thu, 26 Aug 2021 18:31:28 +0000 (18:31 +0000)]
python3-pytest: allow python3-pluggy >=1.0.0

Fixes ptest failures in python3-jinja2.

Backport patch from upstream, for now.

Modify upstream patch to use toml and not tomli.
We will add the new recipe for python3-tomli when
we have an upgrade to python3-pytest.

Remove this when we upgrade pytest to a version containing
the commit: fbba504cd5e1a74d528a41a11a7b82297cd7da74

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pluggy: upgrade 0.13.1 -> 1.0.0
Tim Orling [Wed, 25 Aug 2021 20:28:05 +0000 (20:28 +0000)]
python3-pluggy: upgrade 0.13.1 -> 1.0.0

* All ptests pass on qemux86-64

pluggy 1.0.0 (2021-08-25)

Deprecations and Removals

    #116: Remove deprecated implprefix support. Decorate hook
  implementations using an instance of HookimplMarker instead.
The deprecation was announced in release 0.7.0.
    #120: Remove the deprecated proc argument to call_historic. Use
  result_callback instead, which has the same behavior. The
deprecation was announced in release 0.7.0.
    #265: Remove the _Result.result property. Use _Result.get_result()
  instead. Note that unlike result, get_result() raises the
exception if the hook raised. The deprecation was announced in release
0.6.0.
    #267: Remove official support for Python 3.4.
    #272: Dropped support for Python 2. Continue to use pluggy 0.13.x
  for Python 2 support.
    #308: Remove official support for Python 3.5.
    #313: The internal pluggy.callers, pluggy.manager and pluggy.hooks
  are now explicitly marked private by a _ prefix (e.g.
pluggy._callers). Only API exported by the top-level pluggy module is
considered public.
    #59: Remove legacy __multicall__ recursive hook calling system. The
 deprecation was announced in release 0.5.0.

Features

    #282: When registering a hookimpl which is declared as
  hookwrapper=True but whose function is not a generator
function, a PluggyValidationError exception is now raised.

    Previously this problem would cause an error only later, when
calling the hook.

    In the unlikely case that you have a hookwrapper that returns a
generator instead of yielding directly, for example:

    def my_hook_real_implementation(arg):
        print("before")
        yield
        print("after")

    @hookimpl(hookwrapper=True)
    def my_hook(arg):
        return my_hook_implementation(arg)

    change it to use yield from instead:

    @hookimpl(hookwrapper=True)
    def my_hook(arg):
        yield from my_hook_implementation(arg)

    #309: Add official support for Python 3.9.

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildhistory-collect-srcrevs: Adapt to the new variable override syntax
Peter Kjellerstedt [Thu, 26 Aug 2021 17:57:37 +0000 (19:57 +0200)]
buildhistory-collect-srcrevs: Adapt to the new variable override syntax

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Use the new variable override syntax in a comment
Peter Kjellerstedt [Thu, 26 Aug 2021 17:57:36 +0000 (19:57 +0200)]
bitbake.conf: Use the new variable override syntax in a comment

It is probably a good idea if the comment that describes how variable
overrides work use the new override syntax...

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/reproducibile: Exclude rust packages
Richard Purdie [Thu, 26 Aug 2021 07:03:27 +0000 (08:03 +0100)]
oeqa/selftest/reproducibile: Exclude rust packages

rust-llvm-liblto and rust-llvm-staticdev sometimes vary in contents. Exclude
them from the test for now until we can work on and resolve the issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-common: Add LDFLAGS to cc wrapper
Richard Purdie [Wed, 25 Aug 2021 16:30:21 +0000 (17:30 +0100)]
rust-common: Add LDFLAGS to cc wrapper

The -cc wrapper can be used for linking and can fail if key flags are missing:

| error: linking with `[path]/tmp/work/x86_64-linux/rust-native/1.54.0-r0/wrapper/target-rust-cc`

Add the flags to fix builds even if that is counter-intuitive (cc would
normally be used for compiling and ccld for linking).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: Avoid buildtools+uninative issues with glibc symbols mismatches
Richard Purdie [Wed, 25 Aug 2021 13:40:51 +0000 (14:40 +0100)]
rust: Avoid buildtools+uninative issues with glibc symbols mismatches

If we use an external buildtools tarball, that combined with uninative results
in build failures with symbol mismatches. This was tracked down to the prebuilt
rust binaries that are downloaded. The libc/loader used to load them is used to
execute target binaries/libraries and therefore anything with built with a newer
libc would fail.

Add code to use patchelf to change the interpreter to our own uninative one if
present which ensures the newer libc and loader are used, hence avoiding the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/distrodata: Fix up rust maintainer testing
Richard Purdie [Mon, 23 Aug 2021 15:19:46 +0000 (16:19 +0100)]
oeqa/selftest/distrodata: Fix up rust maintainer testing

Since the target rust recipe is skipped but the native variant is not,
this confuses the test. Add rust to the list of special cases to avoid
test failures as the current code can't handle the skip.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: Skip target recipe since it doesn't work
Richard Purdie [Mon, 23 Aug 2021 12:30:48 +0000 (13:30 +0100)]
rust: Skip target recipe since it doesn't work

The target rust recipe is known not to work. Add a SkipRecipe entry for
that so world builds don't include something known to be broken and
hence give users a sensible message if they do try and build it rather
than a build failure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-llvm: Add missing HOMEPAGE
Richard Purdie [Mon, 23 Aug 2021 13:00:58 +0000 (14:00 +0100)]
rust-llvm: Add missing HOMEPAGE

Add a missing HOMEPAGE entry to the recipe (fixing a selftest failure).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-native: Avoid stripped warning
Richard Purdie [Mon, 23 Aug 2021 12:59:23 +0000 (13:59 +0100)]
rust-native: Avoid stripped warning

Instead of giving the following warning, hide it since we don't plan to change it.

WARNING: rust-native-1.54.0-r0 do_populate_sysroot: File '/media/build1/poky/build/tmp/work/x86_64-linux/rust-native/1.54.0-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-linux/bin/rust-llvm-dwp' from rust-native was already stripped, this will prevent future debugging!

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions
Richard Purdie [Mon, 23 Aug 2021 12:54:19 +0000 (13:54 +0100)]
cargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions

native/nativesdk variants of a cross-canadian recipe don't make any
sense so avoid these recipe variants.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-cross-canadian-common: Use rust.inc directly, not rust-target
Richard Purdie [Mon, 23 Aug 2021 12:33:19 +0000 (13:33 +0100)]
rust-cross-canadian-common: Use rust.inc directly, not rust-target

We don't want cross-canadian to see the native BBCLASSEXTEND as that
generates a recipe which makes no sense. Avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-cross*: Fix OVERRRIDE references in task signature computation
Richard Purdie [Sat, 21 Aug 2021 21:36:29 +0000 (22:36 +0100)]
rust-cross*: Fix OVERRRIDE references in task signature computation

The oeqa selftest test:
   sstatetests.SStateTests.test_sstate_sametune_samesigs
which checks if the sstate checksums of two identical machines
(using the same tune) are the same, apart from changes within
the machine specific stamps directory, fails on the assertion:
   self.assertCountEqual(files1, files2)
due to the signature of various 32 bit package builds such as:
   x86_64-linux/lib32-rust-cross-i686
   x86_64-linux/rust-cross-i686
   x86-pokymllib32-linux/lib32-libstd-rs
   x86-pokymllib32-linux/lib32-rust
differing. Jumping down the rabbit hole past all the bitbake-diffsig
outputs that differ due to dependent hashes, you come to a  diff of:
   -Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}
   +Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}:qemux86
in
   stamps/x86_64-linux/rust-cross-i686/1.54.0-r0.do_rust_gen_target.<sig>

This is because there are two rust functions referencing OVERRIDES
related variables (target_is_armv7 and llvm_features_from_tune). These
indirectly influnce the build and should be excluded from the signatures
directly as is done in other toolchain recipes, e.g.:

   39bfa0dd32 recipes/*-cross recipes: ignore TARGET_ARCH sstate hash

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: remove Rust version 1.51.0 toolchain
Randy MacLeod [Thu, 19 Aug 2021 23:08:14 +0000 (19:08 -0400)]
rust: remove Rust version 1.51.0 toolchain

We typically only have one version so remove the older
rust toolchain. This also fixes a maintainers oe-selftest.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocargo_common: remove http_proxy
Randy MacLeod [Thu, 19 Aug 2021 22:49:25 +0000 (18:49 -0400)]
cargo_common: remove http_proxy

Fix the test_sstate_noop_samesigs oe-selftest that
produces an error like:

   core2-64-poky-linux/libstd-rs/1.54.0-r0.do_configure.sigdata differs:
   basehash changed from <hash-a> to <hash-b>
   Variable http_proxy value changed from '' to 'http://example.com/'

by simply removing the proxy config option. This may be added back
after merge to oe-core if needed and if the diffsigs check passes.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-common.inc: Fix build failure with qemuppc64.
Vinay Kumar [Fri, 13 Aug 2021 15:19:47 +0000 (08:19 -0700)]
rust-common.inc: Fix build failure with qemuppc64.

The glibc build of "rust-hello-world" throws error in libstd-rs package.
   error: unrecognized arch "powerpc64le" in target specification

The same got fixed by changing the arch to "powerpc64".

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomaintainers: Add myself as maintainer for rust pkgs
Randy MacLeod [Thu, 25 Feb 2021 01:48:23 +0000 (20:48 -0500)]
maintainers: Add myself as maintainer for rust pkgs

I'm willing to do the rust package maintenance but
if anyone else wants to sign up, that would be welcome.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocargo/rust/rustfmt: exclude from world
Randy MacLeod [Thu, 25 Feb 2021 01:48:22 +0000 (20:48 -0500)]
cargo/rust/rustfmt: exclude from world

cargo, rust, and rustfmt can't be built for the targets yet
so exclude them from world builds.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: update the README to conform to being in oe-core
Randy MacLeod [Thu, 25 Feb 2021 01:48:20 +0000 (20:48 -0500)]
rust: update the README to conform to being in oe-core

Provide the full link to the meta-rust issue since
the README is no longer part of meta-rust.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: mv README.md to recipes-devtools/rust/README-rust.md
Randy MacLeod [Thu, 25 Feb 2021 01:48:18 +0000 (20:48 -0500)]
rust: mv README.md to recipes-devtools/rust/README-rust.md

Import the meta-rust/README.md but relocate and rename it.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: initial merge of most of meta-rust
Randy MacLeod [Tue, 10 Aug 2021 17:52:19 +0000 (13:52 -0400)]
rust: initial merge of most of meta-rust

In the meta-rust repo at commit:
   448047c Upgrade to 1.54.0 (#359)

Make the required directories:
  mkdir ../oe-core/meta/recipes-devtools/rust
  mkdir ../oe-core/meta/recipes-devtools/cargo
  mkdir ../oe-core/meta/recipes-example
and then:
  cp recipes-devtools/rust/* ../oe-core/meta/recipes-devtools/rust
  cp recipes-devtools/cargo/* ../oe-core/meta/recipes-devtools/cargo
  cp lib/crate.py ../oe-core/meta/lib
  cp recipes-example/* ../oe-core/meta/recipes-example
  cp conf/distro/include/rust_* ../oe-core/meta/conf/distro/include/
  cp classes/* ../oe-core/meta/classes/
  cp recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb ../oe-core/meta/recipes-core/packagegroups

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample: Use the new override syntax for a commented variable
Peter Kjellerstedt [Thu, 26 Aug 2021 17:32:40 +0000 (19:32 +0200)]
local.conf.sample: Use the new override syntax for a commented variable

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: upgrade 2.8.2 -> 2.9.0
Alexander Kanavin [Wed, 25 Aug 2021 11:38:04 +0000 (13:38 +0200)]
harfbuzz: upgrade 2.8.2 -> 2.9.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: upgrade 9.16.19 -> 9.16.20
Alexander Kanavin [Wed, 25 Aug 2021 11:37:55 +0000 (13:37 +0200)]
bind: upgrade 9.16.19 -> 9.16.20

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agojson-glib: upgrade 1.6.2 -> 1.6.4
Alexander Kanavin [Wed, 25 Aug 2021 11:38:03 +0000 (13:38 +0200)]
json-glib: upgrade 1.6.2 -> 1.6.4

Upstream has converted from gtk-doc to gi-docgen.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogi-docgen: upgrade 2021.6 -> 2021.7
Alexander Kanavin [Wed, 25 Aug 2021 11:38:02 +0000 (13:38 +0200)]
gi-docgen: upgrade 2021.6 -> 2021.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibnsl2: upgrade 1.3.0 -> 2.0.0
Alexander Kanavin [Wed, 25 Aug 2021 11:38:01 +0000 (13:38 +0200)]
libnsl2: upgrade 1.3.0 -> 2.0.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovala: upgrade 0.52.4 -> 0.52.5
Alexander Kanavin [Wed, 25 Aug 2021 11:38:00 +0000 (13:38 +0200)]
vala: upgrade 0.52.4 -> 0.52.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-mako: upgrade 1.1.4 -> 1.1.5
Alexander Kanavin [Wed, 25 Aug 2021 11:37:59 +0000 (13:37 +0200)]
python3-mako: upgrade 1.1.4 -> 1.1.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoell: upgrade 0.42 -> 0.43
Alexander Kanavin [Wed, 25 Aug 2021 11:37:58 +0000 (13:37 +0200)]
ell: upgrade 0.42 -> 0.43

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssh: upgrade 8.6p1 -> 8.7p1
Alexander Kanavin [Wed, 25 Aug 2021 11:37:57 +0000 (13:37 +0200)]
openssh: upgrade 8.6p1 -> 8.7p1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: upgrade 2.32.0 -> 2.33.0
Alexander Kanavin [Wed, 25 Aug 2021 11:37:54 +0000 (13:37 +0200)]
git: upgrade 2.32.0 -> 2.33.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoccache: upgrade 4.3 -> 4.4
Alexander Kanavin [Wed, 25 Aug 2021 11:37:53 +0000 (13:37 +0200)]
ccache: upgrade 4.3 -> 4.4

License-Update: formatting
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoutil-linux: upgrade 2.37.1 -> 2.37.2
Alexander Kanavin [Wed, 25 Aug 2021 11:37:52 +0000 (13:37 +0200)]
util-linux: upgrade 2.37.1 -> 2.37.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: upgrade 2.68.3 -> 2.68.4
Alexander Kanavin [Wed, 25 Aug 2021 11:37:51 +0000 (13:37 +0200)]
glib-2.0: upgrade 2.68.3 -> 2.68.4

Drop merged 0001-correctly-use-3-parameters-for-close_range.patch

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognu-efi: update 3.0.13 -> 3.0.14
Alexander Kanavin [Wed, 25 Aug 2021 11:37:50 +0000 (13:37 +0200)]
gnu-efi: update 3.0.13 -> 3.0.14

Removed non-existent header from licensing.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: drop target flex/bison from build dependencies
Alexander Kanavin [Wed, 25 Aug 2021 11:37:49 +0000 (13:37 +0200)]
binutils: drop target flex/bison from build dependencies

This lengthens dependency chains unnecessarily;
also -native versions are already included in DEPENDS via binutils.inc:

DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"

I have also checked that nothing in binutils needs anything from target
sysroots of flex/bison:
https://lists.openembedded.org/g/openembedded-core/message/155131

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: upgrade from 1.1.1k to 1.1.1l
Randy MacLeod [Wed, 25 Aug 2021 03:44:05 +0000 (23:44 -0400)]
openssl: upgrade from 1.1.1k to 1.1.1l

Includes fixes for:

CVE: CVE-2021-3711
CVE: CVE-2021-3712

as described by:
   https://www.openssl.org/news/secadv/20210824.txt

Ptest results on qemux86-64 with kvm:
   All tests successful.
   Files=158, Tests=2532, 137 wallclock secs \
     ( 2.59 usr  0.33 sys + 104.71 cusr 44.19 csys = 151.82 CPU)
   Result: PASS
   DURATION: 137

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again
Peter Kjellerstedt [Wed, 25 Aug 2021 13:20:58 +0000 (15:20 +0200)]
lttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again

Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch was updated
with the 2.13.0 update (commit 5dad15af), but unfortunately it no
longer did what it was intended to do. There is also
0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch, which
was based on the former patch, but it too does not solve the problem.

Unify the two patches, and actually disable building of the kernel
module if CONFIG_TRACEPOINTS is not enabled, the way it was intended.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: backport ioctl_ns05 fix from upstream
Paul Gortmaker [Tue, 24 Aug 2021 20:18:15 +0000 (16:18 -0400)]
ltp: backport ioctl_ns05 fix from upstream

This false positive keeps showing up in our testing but the fix isn't
yet a part of a tagged release, and it is probably too late for doing
an uprev for the fall release anyway.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobluez: upgrade 5.60 -> 5.61
Trevor Gamblin [Tue, 24 Aug 2021 18:10:39 +0000 (14:10 -0400)]
bluez: upgrade 5.60 -> 5.61

5.61 includes a fix for CVE-2021-3658 (bluez: adapter incorrectly
restores Discoverable state after powered down), as well as other
fixes.

>From the changelog:

ver 5.61:
   Fix issue with A2DP while waiting for command response.
   Fix issue with A2DP when SetConfiguration fails.
   Fix issue with device removal handling.
   Fix issue with storing discoverable setting.
   Add support for Central Address Resolution characteristic.
   Add support for admin policy plugin.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>