]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agoncurses: poll() works, but only on Linux
Ross Burton [Fri, 12 Nov 2021 14:02:36 +0000 (14:02 +0000)]
ncurses: poll() works, but only on Linux

ncurses does AC_TRY_RUN() to determine is poll() actually works. As that
doesn't work in cross-compiles, we seed it with 'yes'.

However, MinGW doesn't have a working poll(), so use a :linux override
so that this only applies to Linux builds.

The ncurses build now compiles but doesn't link in MinGW, which is a step
forwards at least.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodtc: fix mingw build
Ross Burton [Fri, 12 Nov 2021 14:02:35 +0000 (14:02 +0000)]
dtc: fix mingw build

Backport a patch to fix the build of fdtdump with mingw, which so the
tools now build successfully with mingw.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodtc: add PACKAGECONFIGs for tools and yaml
Ross Burton [Fri, 12 Nov 2021 14:02:34 +0000 (14:02 +0000)]
dtc: add PACKAGECONFIGs for tools and yaml

Leave yaml off by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodtc: use Meson to build
Ross Burton [Fri, 12 Nov 2021 14:02:33 +0000 (14:02 +0000)]
dtc: use Meson to build

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodtc: merge .bb/.inc
Ross Burton [Fri, 12 Nov 2021 14:02:32 +0000 (14:02 +0000)]
dtc: merge .bb/.inc

No reason for these to be split, so merge them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane: remove unrecognised option check for Meson
Ross Burton [Fri, 12 Nov 2021 12:07:49 +0000 (12:07 +0000)]
insane: remove unrecognised option check for Meson

Meson 0.60 onwards no longer simply warns when an unrecognised option is
passed, it errors out instead. This means we can remove the logic in
insane.bbclass to check for the warnings.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Add version to uninative tarball name
Richard Purdie [Fri, 12 Nov 2021 13:51:09 +0000 (13:51 +0000)]
uninative: Add version to uninative tarball name

uninative works via hashes and doesn't need the version in the tarball name but
it does make things easier to inspect in DL_DIR. There were reasons such as
ease of publication of the build tarballs but we can handle those differently
now and the signature issues from the early code aren't an issue now. From 3.4
onwards we can use a version'd name.

[YOCTO #12970]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoptest-packagelists: Remove qemu ptests for rv32
Khem Raj [Thu, 11 Nov 2021 13:52:00 +0000 (05:52 -0800)]
ptest-packagelists: Remove qemu ptests for rv32

qemu is not buildable on rv32 yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc-version.inc: remove branch= from GLIBC_GIT_URI
Anuj Mittal [Thu, 11 Nov 2021 15:39:46 +0000 (23:39 +0800)]
glibc-version.inc: remove branch= from GLIBC_GIT_URI

GLIBC_GIT_URI is used along with branch=${SRCBRANCH} so no need to add
it here.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/lib/wic/help.py: Update Fedora Kickstart URLs
Jon Mason [Thu, 11 Nov 2021 14:21:27 +0000 (09:21 -0500)]
scripts/lib/wic/help.py: Update Fedora Kickstart URLs

The URLs describing Kickstart are no longer valid and do not redirect to
the correct location.  Update them with the correct location.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Exclude building on riscv32
Khem Raj [Thu, 11 Nov 2021 13:51:59 +0000 (05:51 -0800)]
qemu: Exclude building on riscv32

Needs syscalls issues addressed. fails currently to build

../qemu-6.1.0/linux-user/syscall.c:659:1: error: use of undeclared identi
fier '__NR_nanosleep'; did you mean 'safe_nanosleep'?

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Match package override to PACKAGES for pkg_postinst
Richard Purdie [Thu, 11 Nov 2021 17:12:58 +0000 (17:12 +0000)]
wpa-supplicant: Match package override to PACKAGES for pkg_postinst

In PACKAGES, ${PN} is used so it makes sense for the pkg_postinst variable
override to match that else it causes user confusion.

[YOCTO #14616]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: Remove orphaned comment
Richard Purdie [Thu, 11 Nov 2021 17:06:12 +0000 (17:06 +0000)]
xserver-xorg: Remove orphaned comment

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/oe-package-browser: Handle no packages being built
Richard Purdie [Thu, 11 Nov 2021 15:06:06 +0000 (15:06 +0000)]
scripts/oe-package-browser: Handle no packages being built

Give the user a proper error message if there aren't packages built,
rather than a less friendly traceback.

[YOCTO #14619]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/oe-package-browser: Fix after overrides change
Richard Purdie [Thu, 11 Nov 2021 15:04:19 +0000 (15:04 +0000)]
scripts/oe-package-browser: Fix after overrides change

After the overrides change, the format of pkgdata changed and this
usage of configparser no longer works. This change is a bandaid to make
things work but the pkgdata format isn't very similar to ini files
so this may need to be reimplmented in a better way in the long run.

[YOCTO #14619]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconvert-srcuri.py: use regex to check space in SRC_URI
Kai Kang [Thu, 11 Nov 2021 09:57:24 +0000 (17:57 +0800)]
convert-srcuri.py: use regex to check space in SRC_URI

There may be none, one or more spaces including tab before backslash in
SRC_URI. Use regex to check and update. It helps to avoid malformed uri
such as recipe open-iscsi-user in meta-openstack:

SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https  ;branch=master \

And help to check more recipes such as concurrent-ruby in the same
layer:

SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;tag=v1.1.6\

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-common.inc: Remove mirrors that are no longer available
Peter Kjellerstedt [Thu, 11 Nov 2021 10:16:09 +0000 (11:16 +0100)]
gcc-common.inc: Remove mirrors that are no longer available

Also switch to https for https://gcc.gnu.org/pub/gcc/releases/

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotestsdk.py: Clean up the additions to PREMIRRORS and SSTATE_MIRRORS
Peter Kjellerstedt [Wed, 10 Nov 2021 23:18:56 +0000 (00:18 +0100)]
testsdk.py: Clean up the additions to PREMIRRORS and SSTATE_MIRRORS

Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS and
SSTATE_MIRRORS with "\n".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoslang: Clean up the additions to PREMIRRORS
Peter Kjellerstedt [Wed, 10 Nov 2021 23:18:55 +0000 (00:18 +0100)]
slang: Clean up the additions to PREMIRRORS

Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-common.inc: Clean up the additions to MIRRORS
Peter Kjellerstedt [Wed, 10 Nov 2021 23:18:54 +0000 (00:18 +0100)]
gcc-common.inc: Clean up the additions to MIRRORS

Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in MIRRORS with "\n".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoown-mirrors.bbclass: Clean up the additions to PREMIRRORS
Peter Kjellerstedt [Wed, 10 Nov 2021 23:18:53 +0000 (00:18 +0100)]
own-mirrors.bbclass: Clean up the additions to PREMIRRORS

* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
  for the type field and instead anchor regexp) the type regexp has
  been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
  entries) there is no need to separate the entries in PREMIRRORS with
  "\n".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomirrors.bbclass: Clean up the additions to MIRRORS
Peter Kjellerstedt [Wed, 10 Nov 2021 23:18:52 +0000 (00:18 +0100)]
mirrors.bbclass: Clean up the additions to MIRRORS

* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
  for the type field and instead anchor regexp) the type regexp has
  been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
  entries) there is no need to separate the entries in MIRRORS with "\n".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-bootchart: Revert inappropriate use of ${systemd_system_unitdir}
Peter Kjellerstedt [Thu, 11 Nov 2021 01:36:32 +0000 (02:36 +0100)]
systemd-bootchart: Revert inappropriate use of ${systemd_system_unitdir}

This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-conf: Revert inappropriate use of ${systemd_system_unitdir}
Peter Kjellerstedt [Thu, 11 Nov 2021 01:36:31 +0000 (02:36 +0100)]
systemd-conf: Revert inappropriate use of ${systemd_system_unitdir}

This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Revert inappropriate use of ${systemd_system_unitdir}
Peter Kjellerstedt [Thu, 11 Nov 2021 01:36:30 +0000 (02:36 +0100)]
systemd: Revert inappropriate use of ${systemd_system_unitdir}

This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoncurses.inc: Remove a no longer relevant comment
Peter Kjellerstedt [Wed, 10 Nov 2021 21:30:42 +0000 (22:30 +0100)]
ncurses.inc: Remove a no longer relevant comment

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: remove unneeded patch
Alexander Kanavin [Wed, 10 Nov 2021 19:39:37 +0000 (20:39 +0100)]
webkitgtk: remove unneeded patch

The file is already included just three lines below.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: submit patches upstream
Alexander Kanavin [Wed, 10 Nov 2021 19:39:36 +0000 (20:39 +0100)]
webkitgtk: submit patches upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshared-mime-info: fix meson 0.60 builds
Alexander Kanavin [Wed, 10 Nov 2021 19:39:35 +0000 (20:39 +0100)]
shared-mime-info: fix meson 0.60 builds

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: upgrade 0.59.2 -> 0.60.1
Alexander Kanavin [Wed, 10 Nov 2021 19:39:34 +0000 (20:39 +0100)]
meson: upgrade 0.59.2 -> 0.60.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: submit patch upstream
Alexander Kanavin [Wed, 10 Nov 2021 19:39:33 +0000 (20:39 +0100)]
valgrind: submit patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgpg-error: mark patch as non-upstreamable
Alexander Kanavin [Wed, 10 Nov 2021 19:39:32 +0000 (20:39 +0100)]
libgpg-error: mark patch as non-upstreamable

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognu-config: update to latest revision
Alexander Kanavin [Wed, 10 Nov 2021 19:39:31 +0000 (20:39 +0100)]
gnu-config: update to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Wed, 10 Nov 2021 19:39:30 +0000 (20:39 +0100)]
vulkan-samples: update to latest revision

Mark as incompatible with 32 bit x86: there are several failures
and I do not think anyone is interested in vulkan on that platform.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pyparsing: update 3.0.4 -> 3.0.5
Alexander Kanavin [Wed, 10 Nov 2021 19:39:29 +0000 (20:39 +0100)]
python3-pyparsing: update 3.0.4 -> 3.0.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools: upgrade 58.3.0 -> 58.5.3
Alexander Kanavin [Wed, 10 Nov 2021 19:39:28 +0000 (20:39 +0100)]
python3-setuptools: upgrade 58.3.0 -> 58.5.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-py: upgrade 1.10.0 -> 1.11.0
Alexander Kanavin [Wed, 10 Nov 2021 19:39:27 +0000 (20:39 +0100)]
python3-py: upgrade 1.10.0 -> 1.11.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pbr: upgrade 5.6.0 -> 5.7.0
Alexander Kanavin [Wed, 10 Nov 2021 19:39:26 +0000 (20:39 +0100)]
python3-pbr: upgrade 5.6.0 -> 5.7.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-packaging: upgrade 21.0 -> 21.2
Alexander Kanavin [Wed, 10 Nov 2021 19:39:25 +0000 (20:39 +0100)]
python3-packaging: upgrade 21.0 -> 21.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: upgrade 1.21.3 -> 1.21.4
Alexander Kanavin [Wed, 10 Nov 2021 19:39:24 +0000 (20:39 +0100)]
python3-numpy: upgrade 1.21.3 -> 1.21.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.24.0 -> 6.24.2
Alexander Kanavin [Wed, 10 Nov 2021 19:39:23 +0000 (20:39 +0100)]
python3-hypothesis: upgrade 6.24.0 -> 6.24.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokexec-tools: update 2.0.22 -> 2.0.23
Alexander Kanavin [Wed, 10 Nov 2021 19:39:21 +0000 (20:39 +0100)]
kexec-tools: update 2.0.22 -> 2.0.23

Drop patch as problem fixed upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosocat: upgrade 1.7.4.1 -> 1.7.4.2
Alexander Kanavin [Wed, 10 Nov 2021 19:39:22 +0000 (20:39 +0100)]
socat: upgrade 1.7.4.1 -> 1.7.4.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgpg-error: update 1.42 -> 1.43
Alexander Kanavin [Wed, 10 Nov 2021 19:39:20 +0000 (20:39 +0100)]
libgpg-error: update 1.42 -> 1.43

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: update 1.56.0 -> 1.56.1
Alexander Kanavin [Wed, 10 Nov 2021 19:39:19 +0000 (20:39 +0100)]
rust: update 1.56.0 -> 1.56.1

This update includes fixes for the 'trojan source' vulnerability:
https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html

Drop two unused patches.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: add missing libtirpc dependency
Alexander Kanavin [Thu, 11 Nov 2021 10:05:31 +0000 (11:05 +0100)]
xserver-xorg: add missing libtirpc dependency

This wasn't a problem in poky, but was exposed with a nodistro build.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: convert from autotools to meson
Alexander Kanavin [Wed, 10 Nov 2021 19:39:18 +0000 (20:39 +0100)]
xserver-xorg: convert from autotools to meson

Not every option was carried over, drop them accordingly.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: update 1.20.13 -> 21.1.1
Alexander Kanavin [Wed, 10 Nov 2021 19:39:17 +0000 (20:39 +0100)]
xserver-xorg: update 1.20.13 -> 21.1.1

libxcvt is a new dependency (thanks Oleksandr!).

Include ${libdir}/xorg/modules/input/*.so into the main
package (if for someone separate packaging matters, please
investigate what they do).

Remove options no longer present upstream.

Remove patches available upstream; drop a chunk as well.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa-demos: mark glew/glu patch as non-upstreamable
Alexander Kanavin [Wed, 10 Nov 2021 19:39:16 +0000 (20:39 +0100)]
mesa-demos: mark glew/glu patch as non-upstreamable

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa-demos: drop glx option and patch
Alexander Kanavin [Wed, 10 Nov 2021 19:39:15 +0000 (20:39 +0100)]
mesa-demos: drop glx option and patch

As far as I can see the x11 option does the same thing.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoovmf: submit patch upstream
Alexander Kanavin [Wed, 10 Nov 2021 19:39:14 +0000 (20:39 +0100)]
ovmf: submit patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel: provide virtual/kernel for all kernels
Bruce Ashfield [Wed, 10 Nov 2021 13:07:16 +0000 (08:07 -0500)]
kernel: provide virtual/kernel for all kernels

Since we allow the kernel package name to be varied, we should
allow those packages to provide virtua/kernel, which allows them
to be used as primary kernels.

This change drops the use of regex, since any regex would enforce
naming (and limit what can be a provider) and add complexity./

There are currently no recipes that I found, that inherit kernel
that are not kernel recipes (kernel-base, etc, provide other
facilities), so making this provides simpler shouldn't cause
problems.

Multiple kernel providers can be dealt with in the same way as
any multiple provider.

[YOCTO: #13172]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
squash with provider

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.78
Bruce Ashfield [Wed, 10 Nov 2021 13:07:15 +0000 (08:07 -0500)]
linux-yocto/5.10: update to v5.10.78

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

    5040520482a5 Linux 5.10.78
    4c7c0243275b ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
    f3eb44f496ef ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
    68765fc97762 Revert "wcn36xx: Disable bmps when encryption is disabled"
    f84b791d4c3b ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    bbc920fb320f Revert "drm/ttm: fix memleak in ttm_transfered_destroy"
    6d67b2a73b8e mm: khugepaged: skip huge page collapse for special files
    5a7957491e31 Revert "usb: core: hcd: Add support for deferring roothub registration"
    50f46bd30949 Revert "xhci: Set HCD flag to defer primary roothub registration"
    d7fc85f61042 media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    b93a70bf2b57 net: ethernet: microchip: lan743x: Fix skb allocation failure
    b9c85a71e1b4 vrf: Revert "Reset skb conntrack connection..."
    0382fdf9ae78 sfc: Fix reading non-legacy supported link modes
    748786564a35 Revert "io_uring: reinforce cancel on flush during exit"
    7b57c38d12ae scsi: core: Put LLD module refcnt after SCSI device is released

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: update to v5.15.1
Bruce Ashfield [Wed, 10 Nov 2021 13:07:14 +0000 (08:07 -0500)]
linux-yocto/5.15: update to v5.15.1

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

    b6abb62daa55 Linux 5.15.1
    569fd073a954 ALSA: usb-audio: Add quirk for Audient iD14
    fd5f954b690c Revert "drm/i915/gt: Propagate change in error status to children on unhold"
    8af3a335b553 drm/amd/display: Revert "Directly retrain link from debugfs"
    6ecad8906f05 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
    a273384cf1af Revert "wcn36xx: Disable bmps when encryption is disabled"
    57f31b313231 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    110d5f4421ed Revert "soc: imx: gpcv2: move reset assert after requesting domain power up"
    f17dca0ab3f3 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
    f5e3b7f0f0b7 Revert "usb: core: hcd: Add support for deferring roothub registration"
    421f91bf0451 Revert "xhci: Set HCD flag to defer primary roothub registration"
    cb667140875a media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    abc558fd0f89 sfc: Fix reading non-legacy supported link modes

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: update to v5.14.17
Bruce Ashfield [Wed, 10 Nov 2021 13:07:13 +0000 (08:07 -0500)]
linux-yocto/5.14: update to v5.14.17

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

    3dfa869cb79d Linux 5.14.17
    b1dbd891bfe5 ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
    570b5004f827 ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
    db6d7c4acca3 Revert "drm/i915/gt: Propagate change in error status to children on unhold"
    aac2f6861683 drm/amd/display: Revert "Directly retrain link from debugfs"
    77d029e1e218 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
    9f9e09a59c58 Revert "wcn36xx: Disable bmps when encryption is disabled"
    b9722a7369f8 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    e556fca311ce Revert "soc: imx: gpcv2: move reset assert after requesting domain power up"
    d6a60e6ada49 drm/i915: Remove memory frequency calculation
    7883e13c2494 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
    a82fa1213d12 Revert "usb: core: hcd: Add support for deferring roothub registration"
    0979b923ff3f Revert "xhci: Set HCD flag to defer primary roothub registration"
    02a476ca886d media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    ec0c91e2ebb8 vrf: Revert "Reset skb conntrack connection..."
    6467b75cf9d1 sfc: Fix reading non-legacy supported link modes
    f30822c0b4c3 scsi: core: Put LLD module refcnt after SCSI device is released

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.77
Bruce Ashfield [Wed, 10 Nov 2021 13:07:12 +0000 (08:07 -0500)]
linux-yocto/5.10: update to v5.10.77

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

    09df347cfd18 Linux 5.10.77
    fbb91dadb512 perf script: Check session->header.env.arch before using it
    6f416815c505 riscv: Fix asan-stack clang build
    7a4cf25d8329 riscv: fix misalgned trap vector base address
    acb8832f6a1c scsi: ufs: ufs-exynos: Correct timeout value setting registers
    8ecddaca7942 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
    e11a7355fb98 KVM: s390: clear kicked_mask before sleeping again
    727e5deca802 lan743x: fix endianness when accessing descriptors
    a7112b8eeb14 sctp: add vtag check in sctp_sf_ootb
    c2442f721972 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
    14c1e02b11c2 sctp: add vtag check in sctp_sf_violation
    dad2486414b5 sctp: fix the processing for COOKIE_ECHO chunk
    8c50693d25e4 sctp: fix the processing for INIT_ACK chunk
    ad111d4435d8 sctp: use init_tag from inithdr for ABORT chunk
    4509000a2515 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
    5b88bb9377ee phy: phy_start_aneg: Add an unlocked version
    81780b624d1c phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
    258c5fea44cf phy: phy_ethtool_ksettings_get: Lock the phy for consistency
    58722323d4bc net/tls: Fix flipped sign in async_wait.err assignment
    44e8c93e1e49 net: nxp: lpc_eth.c: avoid hang when bringing interface down
    c2af2092c9bb net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
    bfa6fbdb4e39 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
    e81bed557fe7 mlxsw: pci: Recycle received packet upon allocation failure
    be98be1a17e9 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
    aead02927af3 gpio: xgs-iproc: fix parsing of ngpios property
    863a423ee07b RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
    2b7c5eed19d3 net: Prevent infinite while loop in skb_tx_hash()
    04121b10cdf0 cfg80211: correct bridge/4addr mode check
    aed897e96b19 net-sysfs: initialize uid and gid before calling net_ns_get_ownership
    b0a2cd38553c net: batman-adv: fix error handling
    36e911a16b37 regmap: Fix possible double-free in regcache_rbtree_exit()
    e51371bd687e reset: brcmstb-rescal: fix incorrect polarity of status bit
    2cf7d935d6ba arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
    10e40fb2f508 RDMA/mlx5: Set user priority for DCT
    24fd8e2f027d octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
    c63d7f2ca99a nvme-tcp: fix possible req->offset corruption
    32f3db20f126 nvme-tcp: fix data digest pointer calculation
    4286c72c5321 nvmet-tcp: fix data digest pointer calculation
    d98883f6c33e IB/hfi1: Fix abba locking issue with sc_disable()
    c3e17e58f571 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
    ee4908f909b3 bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
    dd2260ec643d bpf: Fix potential race in tail call compatibility check
    15dec6d8f864 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
    cac6b043cea3 riscv, bpf: Fix potential NULL dereference
    01599bf7cc2b cgroup: Fix memory leak caused by missing cgroup_bpf_offline
    eb3b6805e3e9 drm/amdgpu: fix out of bounds write
    c21b4002214c drm/ttm: fix memleak in ttm_transfered_destroy
    69a7fa5cb0de mm, thp: bail out early in collapse_file for writeback page
    8fb858b74ac5 net: lan78xx: fix division by zero in send path
    4c22227e39c7 cfg80211: fix management registrations locking
    fa29cec42c2d cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
    db1191a529e4 nvme-tcp: fix H2CData PDU send accounting (again)
    5043fbd294f5 ocfs2: fix race between searching chunks and release journal_head from buffer_head
    01169a43353d mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
    ee3213b117ce mmc: sdhci: Map more voltage level to SDHCI_POWER_330
    a95a76fc01a0 mmc: dw_mmc: exynos: fix the finding clock sample value
    12a46f72f499 mmc: mediatek: Move cqhci init behind ungate clock
    44c2bc2a6bbe mmc: cqhci: clear HALT state after CQE enable
    efe934629fff mmc: vub300: fix control-message timeouts
    f3dec7e7ace3 net/tls: Fix flipped sign in tls_err_abort() calls
    c828115a14ea Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
    11c0406b4c33 nfc: port100: fix using -ERRNO as command type mask
    0b1b3e086b0a tipc: fix size validations for the MSG_CRYPTO type
    5aa5bab57957 ata: sata_mv: Fix the error handling of mv_chip_id()
    9a52798dce73 pinctrl: amd: disable and mask interrupts on probe
    01c2881bb0e0 Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
    017718dfbb6f usbnet: fix error return code in usbnet_probe()
    693ecbe8f799 usbnet: sanity check for maxpacket
    b663890d8544 ext4: fix possible UAF when remounting r/o a mmp-protected file system
    d4d9c065988c arm64: Avoid premature usercopy failure
    e184a21b5ccc powerpc/bpf: Fix BPF_MOD when imm == 1
    3f2c12ec8a3f io_uring: don't take uring_lock during iowq cancel
    5a768b4d3e1a ARM: 9141/1: only warn about XIP address when not compile testing
    15b278f94bbb ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
    c06d7d9bfcf6 ARM: 9138/1: fix link warning with XIP + frame-pointer
    8a6af97c31be ARM: 9134/1: remove duplicate memcpy() definition
    6ad8bbc9d301 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
    3ceaa85c331d ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: update to v5.14.16
Bruce Ashfield [Wed, 10 Nov 2021 13:07:11 +0000 (08:07 -0500)]
linux-yocto/5.14: update to v5.14.16

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

    f63179c1e68c Linux 5.14.16
    e874c870dfd8 KVM: x86: Take srcu lock in post_kvm_run_save()
    9ab39a3d0cec KVM: SEV-ES: fix another issue with string I/O VMGEXITs
    eb0461c572e9 KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock
    10242cc2ad79 KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block()
    669a7e147ee6 perf script: Check session->header.env.arch before using it
    e914237feb46 riscv: Fix asan-stack clang build
    4606bbb6b19c riscv: Do not re-populate shadow memory with kasan_populate_early_shadow
    7567abe63797 riscv: fix misalgned trap vector base address
    20bd764387ac scsi: ibmvfc: Fix up duplicate response detection
    f6782c0ca808 perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support
    04ced3822a66 scsi: ufs: ufs-exynos: Correct timeout value setting registers
    d748da838b21 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
    4faa35ce98c7 KVM: s390: clear kicked_mask before sleeping again
    ae566351ca18 octeontx2-af: Check whether ipolicers exists
    45d9cd363786 virtio-ring: fix DMA metadata flags
    52a936b037b5 net: hns3: expand buffer len for some debugfs command
    efccb66bc917 net: hns3: add more string spaces for dumping packets number of queue info in debugfs
    e5c6ad377c07 bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET
    b341612b659d watchdog: sbsa: only use 32-bit accessors
    de709ec74f8b bpf: Use kvmalloc for map values in syscall
    0717c71deae6 sctp: add vtag check in sctp_sf_ootb
    1c255b5f68f4 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
    dd82b3a345ab sctp: add vtag check in sctp_sf_violation
    44ef3ecbc24a sctp: fix the processing for COOKIE_ECHO chunk
    7975f42f1038 sctp: fix the processing for INIT_ACK chunk
    6277d424ead2 sctp: fix the processing for INIT chunk
    332933f9ae0a sctp: use init_tag from inithdr for ABORT chunk
    44d44bf72591 RDMA/irdma: Do not hold qos mutex twice on QP resume
    6392f26fbe92 RDMA/irdma: Set VLAN in UD work completion correctly
    7762917173cc RDMA/irdma: Process extended CQ entries correctly
    7860484eeb90 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
    37a1b9befb73 phy: phy_start_aneg: Add an unlocked version
    1f9c99e0bb5b phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
    2191b1e8eb3d phy: phy_ethtool_ksettings_get: Lock the phy for consistency
    e2b4dd261720 net/tls: Fix flipped sign in async_wait.err assignment
    373f94d73651 net: ethernet: microchip: lan743x: Fix skb allocation failure
    228862acb549 net: hns3: fix data endian problem of some functions of debugfs
    20d88211706b net: hns3: fix pause config problem after autoneg disabled
    7cc73feb57f6 net: nxp: lpc_eth.c: avoid hang when bringing interface down
    d8774769d198 net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
    69d3c7785ec4 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
    18bd5e285a78 mlxsw: pci: Recycle received packet upon allocation failure
    960f4a54b909 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
    030f05812d81 gpio: xgs-iproc: fix parsing of ngpios property
    c653c522e521 RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
    5f6995295f65 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR
    ed894f5439ab net: Prevent infinite while loop in skb_tx_hash()
    f435287d719b cfg80211: correct bridge/4addr mode check
    da279dac227a net-sysfs: initialize uid and gid before calling net_ns_get_ownership
    a8f7359259dd net: batman-adv: fix error handling
    50cc1462a668 regmap: Fix possible double-free in regcache_rbtree_exit()
    c9e39214fddf reset: brcmstb-rescal: fix incorrect polarity of status bit
    86f9394073d8 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
    63a97a9f95f2 ice: check whether PTP is initialized in ice_ptp_release()
    ebd0edad1cdf RDMA/mlx5: Set user priority for DCT
    e83b3cce4722 ice: Respond to a NETDEV_UNREGISTER event for LAG
    f1e3cd1cc802 octeontx2-af: Fix possible null pointer dereference.
    98db2a8c14be octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
    c7752ec9ad39 nvme-tcp: fix possible req->offset corruption
    7258a6eef5be nvme-tcp: fix data digest pointer calculation
    daa12f0c1d1b nvmet-tcp: fix data digest pointer calculation
    5d33bd6b4d4d IB/hfi1: Fix abba locking issue with sc_disable()
    0d4395477741 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
    6525bfbd546f bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
    adb17f828177 bpf: Fix potential race in tail call compatibility check
    6f226ffe4458 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
    e1b80a5ebe54 riscv, bpf: Fix potential NULL dereference
    b529f88d9388 cgroup: Fix memory leak caused by missing cgroup_bpf_offline
    b7ca59297fa3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    0a8b7eba95a0 drm/amd/display: Fix deadlock when falling back to v2 from v3
    a363d80566cc drm/amd/display: Fallback to clocks which meet requested voltage on DCN31
    aeadb0662478 drm/amd/display: Moved dccg init to after bios golden init
    5a5f1f070c3e drm/amd/display: Increase watermark latencies for DCN3.1
    85cf47160d0e drm/amd/display: increase Z9 latency to workaround underflow in Z9
    01f39421d590 drm/amd/display: Fix prefetch bandwidth calculation for DCN3.1
    b60efcaf5e8b drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1
    c3ae5cf3e3ee drm/amdgpu: support B0&B1 external revision id for yellow carp
    d3ed72495a59 drm/amdgpu: fix out of bounds write
    9eb4bdd554fc drm/amdgpu: Fix even more out of bound writes from debugfs
    d87ac6054e3d drm/i915/dp: Skip the HW readout of DPCD on disabled encoders
    7650327e7174 drm/i915: Catch yet another unconditioal clflush
    0ed2dfb5f598 drm/i915: Convert unconditional clflush to drm_clflush_virt_range()
    132a3d998d67 drm/ttm: fix memleak in ttm_transfered_destroy
    15a4f2bdbdfd mac80211: mesh: fix HE operation element length check
    ce277959d77c arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct
    8c684aaceaf3 arm64: dts: imx8mm-kontron: Set lower limit of VDD_SNVS to 800 mV
    f5eaf91dd8af arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY
    da32086a0203 arm64: dts: imx8mm-kontron: Fix CAN SPI clock frequency
    d2bdcd23cba9 arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2
    5fcb6fce74ff mm: khugepaged: skip huge page collapse for special files
    5e669d8ab30a mm, thp: bail out early in collapse_file for writeback page
    6ac017254b59 mm: filemap: check if THP has hwpoisoned subpage for PMD page fault
    8821fedc7f83 mm: hwpoison: remove the unnecessary THP check
    67979d186c51 drm/amd/display: Require immediate flip support for DCN3.1 planes
    75b1b172ae5a net: lan78xx: fix division by zero in send path
    3c897f39b71f cfg80211: fix management registrations locking
    2a000d137589 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
    e6d02b0da2df ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub
    ea081b13b00e nvme-tcp: fix H2CData PDU send accounting (again)
    2e382600e885 ocfs2: fix race between searching chunks and release journal_head from buffer_head
    7335acd51f6b block: Fix partition check for host-aware zoned block devices
    10bcaafc5753 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
    78873d5a2717 mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield
    b572d6c18511 mmc: sdhci: Map more voltage level to SDHCI_POWER_330
    ac6f66f208a1 mmc: dw_mmc: exynos: fix the finding clock sample value
    b1ad3ecffaac mmc: tmio: reenable card irqs after the reset callback
    e1b94f0e744f mmc: mediatek: Move cqhci init behind ungate clock
    9106d68c8082 mmc: cqhci: clear HALT state after CQE enable
    aa2f3e425e22 mmc: vub300: fix control-message timeouts
    e41473543f75 net/tls: Fix flipped sign in tls_err_abort() calls
    8ba94a7f7b9f Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
    836f40777d58 nfc: port100: fix using -ERRNO as command type mask
    e029c9828c5b tipc: fix size validations for the MSG_CRYPTO type
    43849df432c9 ata: sata_mv: Fix the error handling of mv_chip_id()
    66a1c8748068 pinctrl: amd: disable and mask interrupts on probe
    18f31a907c9f Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
    b5c410a4af7d usbnet: fix error return code in usbnet_probe()
    7e8b6a4f18ed usbnet: sanity check for maxpacket
    a350df591870 ARM: 9148/1: handle CONFIG_CPU_ENDIAN_BE32 in arch/arm/kernel/head.S
    351d0f587b4c ARM: 9141/1: only warn about XIP address when not compile testing
    a51d78193d21 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
    4108f38c05bd ARM: 9138/1: fix link warning with XIP + frame-pointer
    6aa2d9cf81f9 ARM: 9134/1: remove duplicate memcpy() definition
    78a7a2694e69 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
    e108afbd38a5 ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto-rt/5.15: update to -rt17
Bruce Ashfield [Wed, 10 Nov 2021 13:07:10 +0000 (08:07 -0500)]
linux-yocto-rt/5.15: update to -rt17

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

    6f51b8d2b7dc Add localversion for -RT release
    3c8ff0c09156 sysfs: Add /sys/kernel/realtime entry
    828d8f9b903f POWERPC: Allow to enable RT
    6db76b613e53 powerpc/stackprotector: work around stack-guard init from atomic
    44be16e0180a powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT
    a5c27dfc178a powerpc/pseries/iommu: Use a locallock instead local_irq_save()
    dce767609e50 powerpc: traps: Use PREEMPT_RT
    9cad1f8c7dd7 ARM64: Allow to enable RT
    5bd881944e4f ARM: Allow to enable RT
    715792fbbaf7 tty/serial/pl011: Make the locking work on RT
    69221f2f5b91 tty/serial/omap: Make the locking RT aware
    5fa50218f3e3 arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND.
    c004c410d380 arm64/sve: Make kernel FPU protection RT friendly
    7ffcb4485981 arm64/sve: Delay freeing memory in fpsimd_flush_thread()
    322561563b01 KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable()
    fe5ed302a1ec ARM: enable irq in translation/section permission fault handlers
    f17af435c3a3 arch/arm64: Add lazy preempt support
    10e096c7a491 powerpc: Add support for lazy preemption
    5e15c21804be arm: Add support for lazy preemption
    abc04080e1b3 entry: Fix the preempt lazy fallout
    2fb1741e933b x86: Support for lazy preemption
    24b379de7afc x86/entry: Use should_resched() in idtentry_exit_cond_resched()
    860dbaa27ad1 sched: Add support for lazy preemption
    4d5c9c824eee */softirq: Disable softirq stacks on PREEMPT_RT
    2676f33e2cf4 generic/softirq: Disable softirq stacks on PREEMPT_RT
    1886700e5658 leds: trigger: Disable CPU trigger on PREEMPT_RT
    694e3f263964 drivers/block/zram: Replace bit spinlocks with rtmutex for -rt
    97f765c75d6d mm/zsmalloc: Replace bit spinlock and get_cpu_var() usage.
    49c7010ff12e tpm_tis: fix stall after iowrite*()s
    df583a002c38 virt: acrn: Remove unsued acrn_irqfds_mutex.
    a68737287907 smack: Guard smack_ipv6_lock definition within a SMACK_IPV6_PORT_LABELING block
    ac9df8459eda ASoC: mediatek: mt8195: Remove unsued irqs_lock.
    02bc2e3cbe09 genirq: update irq_set_irqchip_state documentation
    ac932078b2e6 x86: Enable RT also on 32bit
    e262f9f76c5b x86: Allow to enable RT
    fef570ba4596 x86: kvm Require const tsc for RT
    e5a9202c3535 signal/x86: Delay calling signals in atomic
    2c0f317da8b9 drm/i915: Drop the irqs_disabled() check
    06b3f43f370b drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock()
    ac58ec9af512 drm/i915/gt: Queue and wait for the irq_work item.
    aaa6ddcfd053 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE
    6db29073f209 drm/i915: Disable tracing points on PREEMPT_RT
    5d34e949e11c drm/i915: Don't check for atomic context on PREEMPT_RT
    0ca85efbe2e9 drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates
    688ce2658570 drm/i915: Use preempt_disable/enable_rt() where recommended
    9a76a256848c drm/i915: Don't disable interrupts and pretend a lock as been acquired in __timeline_mark_lock().
    766248132ccf random: Make it work on rt
    ba411ba63b8e x86: stackprotector: Avoid random pool on rt
    3c158aab9acc panic: skip get_random_bytes for RT_FULL in init_oops_id
    bf099c9ff70f net: dev: always take qdisc's busylock in __dev_xmit_skb()
    783862056952 net: Dequeue in dev_cpu_dead() without the lock
    61793a50d51d net: Use skbufhead with raw lock
    4e369dc108af net/core: use local_bh_disable() in netif_rx_ni()
    8056c6bd6380 rcu: Delay RCU-selftests
    1372b981252b fs/dcache: disable preemption on i_dir_seq's write side
    8f35827f634d fs/dcache: use swait_queue instead of waitqueue
    dc26bf05c680 ptrace: fix ptrace vs tasklist_lock race
    54332013d985 signal: Revert ptrace preempt magic
    65309bca8d9c mm/memcontrol: Disable on PREEMPT_RT
    5d193966a444 u64_stats: Disable preemption on 32bit-UP/SMP with RT during updates
    9e7c9b1a7d21 softirq: Check preemption after reenabling interrupts
    0d4e38f0610e crypto: cryptd - add a lock instead preempt_disable/local_bh_disable
    4a01578f1878 sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light()
    03f8b0f0eedb net: Remove preemption disabling in netif_rx()
    ddd725b42e48 mm/vmalloc: Another preempt disable region which sucks
    28545272667f scsi/fcoe: Make RT aware.
    dcb042c59ca4 md: raid5: Make raid5_percpu handling RT aware
    393999301a85 block/mq: do not invoke preempt_disable()
    8485ff82f922 kernel/sched: add {put|get}_cpu_light()
    274408c7b291 sched: Make preempt_enable_no_resched() behave like preempt_enable() on PREEMPT_RT
    9708837923a7 locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h
    b5f1fc042d2f lockdep/selftests: Adapt ww-tests for PREEMPT_RT
    3e6dd28f0231 lockdep/selftests: Skip the softirq related tests on PREEMPT_RT
    0da6a4f59354 lockdep/selftests: Unbalanced migrate_disable() & rcu_read_lock()
    b29dc4a9ef20 lockdep/selftests: Add rtmutex to the last column
    db92f5fc3fb7 lockdep: Make it RT aware
    fae24609aafa rtmutex: Add rt_mutex_lock_nest_lock() and rt_mutex_lock_killable().
    9d8c380fa819 rtmutex: Add a special case for ww-mutex handling.
    d6b24f0f2a8a sched: Trigger warning if ->migration_disabled counter underflows.
    6e09a284f2a6 lockdep/selftests: Avoid using local_lock_{acquire|release}().
    bd833044483a locking: Remove rt_rwlock_is_contended()
    36839db14247 jump-label: disable if stop_machine() is used
    5a657ef837de tcp: Remove superfluous BH-disable around listening_hash
    c11095ec78ef mm: workingset: replace IRQ-off check with a lockdep assert.
    168e3d8875c7 cgroup: use irqsave in cgroup_rstat_flush_locked()
    639d2eb6493f sched: Move mmdrop to RCU on RT
    590419b10863 sched: Delay task stack freeing on RT
    37860896be2e sched: Move kprobes cleanup out of finish_task_switch()
    dc3565cd6bbd sched: Disable TTWU_QUEUE on RT
    77db91d4d2b5 sched: Limit the number of task migrations per batch on RT
    8ea3ab8bb409 locking/rt: Take RCU nesting into account for __might_resched()
    b2f56dfeab18 sched: Make cond_resched_lock() variants RT aware
    9bac73a04b71 sched: Make RCU nest depth distinct in __might_resched()
    4f3dd3cb71e5 sched: Make might_sleep() output less confusing
    b8c4ad5ceaec sched: Cleanup might_sleep() printks
    588c973bd55b sched: Remove preempt_offset argument from __might_sleep()
    5b8fbf83bb40 sched: Make cond_resched_*lock() variants consistent vs. might_sleep()
    8e4b532478f2 sched: Clean up the might_sleep() underscore zoo
    3a5e868f92f0 fscache: Use only one fscache_object_cong_wait.
    67ba86618a1e fs/namespace: Boost the mount_lock.lock owner instead of spinning on PREEMPT_RT.
    cad3bedc2a83 smp: Wake ksoftirqd on PREEMPT_RT instead do_softirq().
    394e3bdd3242 irq_poll: Use raise_softirq_irqoff() in cpu_dead notifier
    4de8f9d6a1ad irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT
    87e75faa338d irq_work: Handle some irq_work in a per-CPU thread on PREEMPT_RT
    d2100f67254d irq_work: Allow irq_work_sync() to sleep if irq_work() no IRQ support.
    ada60e0098ea sched/rt: Annotate the RT balancing logic irqwork as IRQ_WORK_HARD_IRQ
    f657de711e15 net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding.
    0d3a9c303dd9 net: sched: remove one pair of atomic operations
    853f1349041a net: sched: fix logic error in qdisc_run_begin()
    68f3b93760b7 net: sched: Allow statistics reads from softirq.
    86e29a3d2d68 net: sched: Remove Qdisc::running sequence counter
    304640d0b862 net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types
    1c7a827367ee net: sched: Use _bstats_update/set() instead of raw writes
    22701ce1b59f net: sched: Protect Qdisc::bstats with u64_stats
    54538aff544a u64_stats: Introduce u64_stats_set()
    69534c384086 gen_stats: Move remaining users to gnet_stats_add_queue().
    e1f89d46623c mq, mqprio: Use gnet_stats_add_queue().
    d3968711bb65 gen_stats: Add gnet_stats_add_queue().
    c2b1af791919 gen_stats: Add instead Set the value in __gnet_stats_copy_basic().
    3d38b89d239a net/sched: sch_ets: properly init all active DRR list handles
    b59a9b759b1a kcov: Replace local_irq_save() with a local_lock_t.
    8e2db8a2201a kcov: Avoid enable+disable interrupts if !in_task().
    d244291fb820 kcov: Allocate per-CPU memory on the relevant node.
    6eec9f99da0e Documentation/kcov: Define `ip' in the example.
    e619eb9cb198 Documentation/kcov: Include types.h in the example.
    f002c820156b x86/softirq: Disable softirq stacks on PREEMPT_RT
    12b80085754b mm: Disable NUMA_BALANCING_DEFAULT_ENABLED and TRANSPARENT_HUGEPAGE on PREEMPT_RT
    a1411120989b mm/scatterlist: Replace the !preemptible warning in sg_miter_stop()
    56fb69cc8a0b mm: page_alloc: Use migrate_disable() in drain_local_pages_wq()
    39d1d6a46eaa mm: Allow only SLUB on PREEMPT_RT
    bf1b661248f6 crypto: testmgr - Only disable migration in crypto_disable_simd_for_test()
    ddd1767afd69 samples/kfifo: Rename read_lock/write_lock
    a6c921dd2368 net/core: disable NET_RX_BUSY_POLL on PREEMPT_RT
    96cc6b82ae54 mm: Disable zsmalloc on PREEMPT_RT
    f77af3465961 efi: Allow efi=runtime
    8b3cde535f8f efi: Disable runtime services on RT
    7082e94c5405 lockdep: Let lock_is_held_type() detect recursive read as read
    ffc314d30f16 genirq: Disable irqfixup/poll on PREEMPT_RT.
    1ec49f38b6ae genirq: Move prio assignment into the newly created thread
    e272fc66d6bc kthread: Move prio/affinite change into the newly created thread
    468813504d5a rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
    e6a408241cee sched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD
    cd6bda4839a6 printk: Enhance the condition check of msleep in pr_flush()
    2ad1282d77e8 printk: add pr_flush()
    cd582486f3e8 printk: add console handover
    25f13bd1d07b printk: remove deferred printing
    2d440f3f2ee5 printk: move console printing to kthreads
    df0a27dbd128 printk: introduce kernel sync mode
    4efb519165f1 printk: use seqcount_latch for console_seq
    8653ea7d3c45 printk: call boot_delay_msec() in printk_delay()
    892cddfada1f printk: relocate printk_delay()
    e1ac77117990 serial: 8250: implement write_atomic
    967b98b7c528 kdb: only use atomic consoles for output mirroring
    36422a33e3b3 console: add write_atomic interface
    7b9055c4c17d printk: rename printk cpulock API and always disable interrupts
    3791dee37847 arm64: mm: Make arch_faults_on_old_pte() check for migratability
    e5b82790a28d sched: Introduce migratable()
    0cf3b776c423 rcu/tree: Protect rcu_rdp_is_offloaded() invocations on RT

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: use ln -rs instead of lnr
Ross Burton [Wed, 10 Nov 2021 11:12:34 +0000 (11:12 +0000)]
meta: use ln -rs instead of lnr

lnr is a script in oe-core that creates relative symlinks, with the same
behaviour as `ln --relative --symlink`.  It was added back in 2014[1] as
not all of the supported host distributions at the time shipped
coreutils 8.16, the first release with --relative.

However the oldest coreutils release in the supported distributions is
now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln.

[1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: add patch number to CVE-2021-3778 patch
Ross Burton [Wed, 10 Nov 2021 10:26:27 +0000 (10:26 +0000)]
vim: add patch number to CVE-2021-3778 patch

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic: Use os.rename instead of bb.utils.rename
Khem Raj [Wed, 10 Nov 2021 06:07:33 +0000 (22:07 -0800)]
wic: Use os.rename instead of bb.utils.rename

This is not invoked with bitbake context as a result bb.utils is not
visible when this function is called during image creation and builds
fail e.g.

NameError: name 'bb' is not defined

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875
Ross Burton [Tue, 9 Nov 2021 23:13:07 +0000 (23:13 +0000)]
vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875

Backport patches from upstream to fix these CVEs.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomsmtp: upgrade 1.8.18 -> 1.8.19
wangmy [Tue, 9 Nov 2021 15:06:54 +0000 (23:06 +0800)]
msmtp: upgrade 1.8.18 -> 1.8.19

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpcre2: upgrade 10.37 -> 10.39
wangmy [Tue, 9 Nov 2021 15:06:53 +0000 (23:06 +0800)]
libpcre2: upgrade 10.37 -> 10.39

This release is mainly to fix an important JIT bug, but it also
contains an update to Unicode 14.0.0 and some code and configuration tidies.

License-Update:
 Add "Retired from" before "University of Cambridge Computing Service"

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiw: upgrade 5.9 -> 5.16
wangmy [Tue, 9 Nov 2021 15:02:44 +0000 (23:02 +0800)]
iw: upgrade 5.9 -> 5.16

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiso-codes: upgrade 4.7.0 -> 4.8.0
wangmy [Tue, 9 Nov 2021 15:02:43 +0000 (23:02 +0800)]
iso-codes: upgrade 4.7.0 -> 4.8.0

- ISO 3166-1: Add flag emoji to countries. Thanks to Pander
  for the suggestion. Fixes #19
- ISO 639-5: New translation for Chinese (Simplified)

- ISO 3166-2: Major update of data.
  Thanks to the script of Kevin Kaiser, which enables
  the download of ISO pages and parses the data.
  Fixes #15, #16, #27
- Rename ChangeLog.md to CHANGELOG.md and follow the suggestions
  from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Move all CHANGELOG entries from versions before 4.0 to an
  archive file (CHANGELOG-PRE-4.0.md) in order to reduce the
  massive size of this CHANGELOG.
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 15924

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiproute2: upgrade 5.14.0 -> 5.15.0
wangmy [Tue, 9 Nov 2021 15:02:42 +0000 (23:02 +0800)]
iproute2: upgrade 5.14.0 -> 5.15.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: upgrade 3.0.0 -> 3.1.1
wangmy [Tue, 9 Nov 2021 15:02:41 +0000 (23:02 +0800)]
harfbuzz: upgrade 3.0.0 -> 3.1.1

Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod)
Documentation improvements. (Matthias Clasen)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosquashfs-tools: follow-up fix for CVE-2021-41072
Kai Kang [Tue, 9 Nov 2021 02:04:05 +0000 (10:04 +0800)]
squashfs-tools: follow-up fix for CVE-2021-41072

Squash a follow-up fix for CVE-2021-41072 from upstream:
https://github.com/plougher/squashfs-tools/commit/19fcc93

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoell: upgrade 0.44 -> 0.45
wangmy [Tue, 9 Nov 2021 12:09:05 +0000 (20:09 +0800)]
ell: upgrade 0.44 -> 0.45

Fix issue with ICMPv6 and handling re-entrantly callbacks.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 189 -> 190
wangmy [Tue, 9 Nov 2021 12:09:04 +0000 (20:09 +0800)]
diffoscope: upgrade 189 -> 190

Changelog:
[Chris Lamb]
Don't raise a traceback if we cannot de-marshal Python bytecode to support
Python 3.7 loading newer .pyc files.
(Closes: reproducible-builds/diffoscope#284)
Fix Python tests under Python 3.7 with file 5.39+.

[Vagrant Cascadian]
Skip Python bytecode testing when "file" is older than 5.39.

[Roland Clobus]
Detect whether the GNU_BUILD_ID field has been modified.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobtrfs-tools: upgrade 5.14.2 -> 5.15
wangmy [Tue, 9 Nov 2021 12:09:03 +0000 (20:09 +0800)]
btrfs-tools: upgrade 5.14.2 -> 5.15

Changelog v5.15 (Nov 2021)

mkfs: new defaults!
no-holes
free-space-tree
DUP for metadata unconditionally
libbtrfsutil: add missing profile defines
libbtrfs: minimize its impact on the other code, refactor and separate implementation where needed, cleanup afterwards, reduced header exports
documentation: introduce sphinx build and RST versions of manual pages, will become the new format and replace asciidoc
fixes: fix warning regarding v1 space cache when only v2 (free space tree) is enabled

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdb-cross: add dependency on gmp-native
Martin Jansa [Tue, 9 Nov 2021 10:29:58 +0000 (11:29 +0100)]
gdb-cross: add dependency on gmp-native

* it was already added for target and cross-canadian gdb in:
  commit 4643d1eb222151384f77d13a936537aae5ca3fe6
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Fri Nov 5 17:37:33 2021 -0700

    gdb: Add dependency on libgmp

    gdb 11 has added this library as must have

* but gdb-cross.inc overwrites DEPENDS from gdb-common.inc
  and needs the dependency as well as shown in log.do_compile:

  checking for libgmp... no
  configure: error: GMP is missing or unusable
  make[1]: *** [Makefile:9418: configure-gdb] Error 1

  and in gdb-cross-i686/11.1-r0/build-i686-oe-linux/gdb/config.log:

  configure:10402: checking for libgmp
  configure:10422: gcc  -o conftest -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -O2 -pipe     -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -I/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include  -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/OE/tmp-glibc/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 conftest.c -lncursesw -lm -ldl  -lgmp >&5
  conftest.c:52:10: fatal error: gmp.h: No such file or directory
     52 | #include <gmp.h>
        |          ^~~~~~~

* this fails only when the host OS doesn't have GMP installed
  otherwise it will use libgmp from host and ignore
  --with-libgmp-prefix=/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomirrors: Add uninative mirror on kernel.org
Richard Purdie [Mon, 8 Nov 2021 16:00:23 +0000 (16:00 +0000)]
mirrors: Add uninative mirror on kernel.org

At the last nas outage, we realised that we don't have good mirrors of the
uninative tarball if our main system can't be accessed. kernel.org mirrors
some Yocto Project data so we've ensured uninative is there. Add the appropriate
mirror url to make use of that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Fix build on aarch64/musl
Khem Raj [Mon, 8 Nov 2021 20:41:57 +0000 (12:41 -0800)]
qemu: Fix build on aarch64/musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: improve SDK's wrapper to make Wraps work
Leif Middelschulte [Mon, 8 Nov 2021 14:04:29 +0000 (15:04 +0100)]
meson: improve SDK's wrapper to make Wraps work

Meson, as provided by the SDK, would fail to fetch Wraps' sources on bare
systems (i.e. systems, that only provide little more than the SDK).

This change modifies the wrapper script so that it sets an environment
variable (unless it is already set) that is used to determine valid
certificates for secured connections.

It does not affect bitbake's interaction with meson.

The SDK's SSL directory was not searched, so meson would fail when it tried
to fetch sources via https, that were specified in wrap files.
Specifically `urllib` would fail:
```
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
```

Caution: this patch depends on the underlying C library (i.e. openssl)
to consider this environment variable.

Signed-off-by: Leif Middelschulte <Leif.Middelschulte@klsmartin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoavahi: update CVE id fixed by local-ping.patch
Chen Qi [Mon, 8 Nov 2021 08:08:07 +0000 (00:08 -0800)]
avahi: update CVE id fixed by local-ping.patch

CVE-2021-36217 is treated as a duplicate of CVE-2021-3502.
Update the local-ping.patch to mark it resolve both.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Build on musl targets
Khem Raj [Mon, 8 Nov 2021 06:32:41 +0000 (22:32 -0800)]
qemu: Build on musl targets

This has been disabled for the given compile error which has been fixed
over time, qemu for target builds fine with musl now a days

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Use wayland distro feature for native builds
Tom Hochstein [Sun, 7 Nov 2021 18:50:16 +0000 (12:50 -0600)]
bitbake.conf: Use wayland distro feature for native builds

The wayland-scanner is missing from SDKs with weston, but the weston build
requires wayland-scanner. Allow the distro feature in order to include
the wayland-scanner packages via nativesdk-packagegroup-sdk-host.bb.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agonativesdk-packagegroup-sdk-host.bb: Update host tools for wayland
Tom Hochstein [Sun, 7 Nov 2021 18:50:15 +0000 (12:50 -0600)]
nativesdk-packagegroup-sdk-host.bb: Update host tools for wayland

The wayland-scanner host tool required to build weston is moved to the
wayland-tools package, so update the SDK host tools list accordingly.

Also, the weston build requires wayland-scanner.pc to find wayland-scanner,
so add wayland-dev.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowayland: Fix wayland-tools packaging
Tom Hochstein [Sun, 7 Nov 2021 18:50:14 +0000 (12:50 -0600)]
wayland: Fix wayland-tools packaging

There are some packaging problems due to the wayland-tools packaging
implementation. The wayland-tools package currently looks like this:

wayland-tools
└── usr
    ├── bin
    │   └── wayland-scanner
    └── share
        └── wayland
            ├── wayland.dtd
            ├── wayland-scanner.mk
            └── wayland.xml

The files wayland.dtd and wayland.xml belong in the main package,
while wayland-scanner.mk belongs in wayland-dev.

Fix the wayland.dtd and wayland.xml packaging by prepending the
wayland-tools package and dropping the main package FILES variable
override. The file wayland-scanner.mk is included in the main
package by default, and so must be explicitly added to wayland-dev.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibx11-compose-data: Update LICENSE to better reflect reality
Peter Kjellerstedt [Fri, 5 Nov 2021 18:57:37 +0000 (19:57 +0100)]
libx11-compose-data: Update LICENSE to better reflect reality

There are no traces of neither the BSD-2-Clause license nor the
BSD-4-Clause license being used in the code. There is one occurrence
of the BSD-1-Clause license. On the other hand, HPND and
HPND-sell-variant are all over the place.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibx11: Update LICENSE to better reflect reality
Peter Kjellerstedt [Fri, 5 Nov 2021 18:57:36 +0000 (19:57 +0100)]
libx11: Update LICENSE to better reflect reality

There are no traces of neither the BSD-2-Clause license nor the
BSD-4-Clause license being used in the code. There is one occurrence
of the BSD-1-Clause license. On the other hand, HPND and
HPND-sell-variant are all over the place.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscons: support out-of-tree builds
Ross Burton [Fri, 5 Nov 2021 16:57:58 +0000 (16:57 +0000)]
scons: support out-of-tree builds

SCons has a slightly unusual implementation of out-of-tree builds where
there is no standard way of doing it. However, if a recipe sets B to
the idiomatic ${WORKDIR}/build and passes the right arguments so that this
is used then scons will fail as it is trying to find the SConstruct file
in ${B} not ${S}.

Always pass --directory=${S} to scons so that the SConstruct file can be
found, and don't call --clean if out-of-tree builds are being used as
we would have just deleted the entire build tree already.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driver
Joel Winarske [Thu, 4 Nov 2021 16:14:21 +0000 (09:14 -0700)]
mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driver

Enables building the Vulkan 1.1 compliant v3d driver.

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: introduce recipes
Bruce Ashfield [Thu, 4 Nov 2021 19:48:25 +0000 (15:48 -0400)]
linux-yocto/5.15: introduce recipes

The 5.15 kernel will be a LTS release, so we introduce our reference
recipes to track the release.

We have some configuration tweaks for the final 5.15 release, but this
is otherwise the same as the kernel that was tested in linux-yocto-dev.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-libc-headers: update to v5.15
Bruce Ashfield [Thu, 4 Nov 2021 19:48:23 +0000 (15:48 -0400)]
linux-libc-headers: update to v5.15

No patches needed refreshing or removal, so we just update the
SRC_URI and pick up the latest uapi / kernel headers.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoppp: fix build against 5.15 headers
Bruce Ashfield [Fri, 5 Nov 2021 17:19:54 +0000 (13:19 -0400)]
ppp: fix build against 5.15 headers

The 5.15 kernel has removed ipx support, along with the userspace
visible header.

The build error was found for muslc, since it doesn't have a
fallback header, we disable it for both glibc/muslc.

This support wasn't used previously (as it hasn't been very well
maintained in the kernel for several years), so we can simply
disable it in our build and wait for upstream to do a release that
drops the support.

Although the tarball we use for our build (versus git), doesn't
use the autoconf disable flag to turn off the support, it is included
in this patch in case someone is building via git source base.

Upstream-Status: Inappropriate [OE-specific configuration/headers]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: Disable 64bit atomics on riscv32/mipsel in crossbeam
Khem Raj [Sat, 6 Nov 2021 15:36:56 +0000 (08:36 -0700)]
librsvg: Disable 64bit atomics on riscv32/mipsel in crossbeam

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdb: Add dependency on libgmp
Khem Raj [Sat, 6 Nov 2021 00:37:33 +0000 (17:37 -0700)]
gdb: Add dependency on libgmp

gdb 11 has added this library as must have

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdb: Upgrade to 11.1
Khem Raj [Thu, 4 Nov 2021 01:30:23 +0000 (18:30 -0700)]
gdb: Upgrade to 11.1

Drop backported patches
Changes are here [1]

[1] https://sourceware.org/pipermail/gdb-announce/2021/000129.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpcre/libpcre2: correct SRC_URI
Alexander Kanavin [Fri, 5 Nov 2021 08:48:12 +0000 (09:48 +0100)]
libpcre/libpcre2: correct SRC_URI

http://ftp.pcre.org is down, take sources according to links on
http://www.pcre.org

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: mark patch as non-upstreamable
Alexander Kanavin [Fri, 5 Nov 2021 08:48:11 +0000 (09:48 +0100)]
libxml2: mark patch as non-upstreamable

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: set the needed atomic configuration flags directly per-target
Alexander Kanavin [Fri, 5 Nov 2021 08:48:10 +0000 (09:48 +0100)]
librsvg: set the needed atomic configuration flags directly per-target

Do not try to mangle the upstream list of targets;
after discussion with upstream it turns out it's neither
necessary nor upstreamable:
https://github.com/crossbeam-rs/crossbeam/pull/751

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-bootchart: submit musl patches upstream
Alexander Kanavin [Fri, 5 Nov 2021 08:48:09 +0000 (09:48 +0100)]
systemd-bootchart: submit musl patches upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: mark ptest-specific patch as inappropriate
Alexander Kanavin [Fri, 5 Nov 2021 08:48:08 +0000 (09:48 +0100)]
valgrind: mark ptest-specific patch as inappropriate

I do not think upstream is going to accept this; if you disagree
please do the submission.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-devsrc: Add vdso.lds and other build files for riscv64 as well
Khem Raj [Wed, 3 Nov 2021 21:56:39 +0000 (14:56 -0700)]
kernel-devsrc: Add vdso.lds and other build files for riscv64 as well

These additional bits are needed on riscv64 as well
Fixes
make[1]: *** No rule to make target 'arch/riscv/kernel/vdso/vdso.lds', needed by 'arch/riscv/kernel/vdso/vdso.so.dbg'.  Stop.
make: *** [arch/riscv/Makefile:114: vdso_prepare] Error 2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: set objcopy in the cross and native toolchain files
Ross Burton [Thu, 4 Nov 2021 13:45:29 +0000 (13:45 +0000)]
meson: set objcopy in the cross and native toolchain files

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: another fix for touching files inside pseudo
Jose Quaresma [Thu, 4 Nov 2021 19:12:23 +0000 (19:12 +0000)]
sstate: another fix for touching files inside pseudo

This patch is a fixup for 676757f "sstate: fix touching files inside pseudo"

running the 'id' command inside the sstate_unpack_package
function shows that this funcion run inside the pseudo:

 uid=0(root) gid=0(root) groups=0(root)

The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ]
will always return true and the touch can fail when the real user
don't have permission or in readonly filesystem.

As the documentation refers:
- the file test operator "-w" check if the file has write permission
(for the user running the test).
- the file test operator "-O" check if you are owner of file

We can avoid this test running the touch and mask any return errors
that we have.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: Set the Organization field via a variable
Andres Beltran [Thu, 4 Nov 2021 16:48:56 +0000 (16:48 +0000)]
create-spdx: Set the Organization field via a variable

Currently, the "Organization" field for SBOMs is hard-coded in
create-spdx. Create a new variable SPDX_ORG to make this field more
generic.

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>