]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agokernel-uboot: compress arm64 kernels
Bedel, Alban [Wed, 31 Jul 2019 13:53:45 +0000 (13:53 +0000)]
kernel-uboot: compress arm64 kernels

AArch64 images are not self-decompressing, thus usually much larger.
Boot times can be reduced by compressing them in FIT and uImages.

This commit is a backport of commit a725d188b5 (kernel-uboot: compress
arm64 kernels) and commit 60bc7e180e (kernel-uboot: remove useless
special casing of arm64 Image) from master. Both commit were melted
into one to avoid some useless churn.

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agouboot: fixes to uboot-extlinux-config attribute values
Will Page [Thu, 12 Sep 2019 15:02:15 +0000 (15:02 +0000)]
uboot: fixes to uboot-extlinux-config attribute values

The way this class uses overrides to support generation of multiple
sections is subject to two different issues: 1) labels that conflict
with existing override names causing the value for the conflicting label
to be set for all labels, and 2) reusing the override list through each
iteration, prepending each new label to the list of overrides makes
earlier labels' value take precedence over later labels, making later
labels virtually impossible to customize.

The first issue is resolved by removing all label names from overrides
before iterating over labels.  The second issue is resolved by
generating a fresh list of overrides with only the current label added.

The current label is also appended to the list of overrides instead of
prepended, which makes it the highest priority override.  This is
matches the behavior of devtool-source.bbclass, which similarly
monkey-patches overrides.

Closes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13469 .

Signed-off-by: Will Page <wpage@polysync.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agouseradd: Ensure do_populate_sysroot has dependency on useradd variables
Richard Purdie [Fri, 31 May 2019 16:45:57 +0000 (17:45 +0100)]
useradd: Ensure do_populate_sysroot has dependency on useradd variables

The do_populate_sysroot task doesn't rerun if you change any of the USERADD_PARAM
or GROUPADD_PARAM variables, only do_package will.

If another task depends on the recipe, this means it won't see any updated changes.

This patch adds in the missing vardeps ensuring the code is deterministic.

[YOCTO #13232]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37d0382a3c67f47f8cfdd977a041069bf912b8c3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agouseradd: Fix build architecture corruption of sstate artefacts
Richard Purdie [Fri, 31 May 2019 07:54:00 +0000 (08:54 +0100)]
useradd: Fix build architecture corruption of sstate artefacts

When mixing aarch64 and x86_64 host builds with common sstate, useradd failures
were found. This was due to references to:

/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/aarch64/pseudo-native/usr/bin/pseudo
or
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo

on the wrong architecture within the useradd postinst files.

Instead of using COMPONENTS_DIR as the FIXME, use PSEUDO_SYSROOT which contains
the arch component as well to avoid this.

Add extra comments to cause the relavent sstate to be rebuilt.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0384622f72a6c0bd8225cf06f692340fdef67d4a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agomultilib.bbclass: Reduce ALTERNATIVE_PRIORITY for extended recipes
Robert Yang [Wed, 26 Jun 2019 12:59:34 +0000 (20:59 +0800)]
multilib.bbclass: Reduce ALTERNATIVE_PRIORITY for extended recipes

Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake core-image-minimal
update-alternatives: libtool has multiple providers with the same priority,
please check
/path/to/rootfs/usr/lib/opkg/alternatives/libtool for details

Both libtool and lib32-libtool have the same priority (as they're the same
recipe), so update-alternatives won't deterministically pick a provider. This
means you could end up with an image using a 32-bit pkgconfig and 64-bit
libtool, for example.

Make extended recipes reduce priority by 1 (or 2, 3 ... when there are multiple
variants in MULTILIB_VARIANTS) to fix the problem.

[YOCTO #13418]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agogcc: Security fix for CVE-2019-15847
Armin Kuster [Wed, 18 Sep 2019 03:21:47 +0000 (20:21 -0700)]
gcc: Security fix for CVE-2019-15847

Affects <= 9.2.0

Dropped Changelog changes

Signed-off-by: Armin Kuster <akuster@mvista.com>
5 years agoCurl: Security fix for CVE-2019-5482
Armin Kuster [Fri, 13 Sep 2019 23:14:16 +0000 (16:14 -0700)]
Curl: Security fix for CVE-2019-5482

Source: curl.org
MR: 99905
Type: Security Fix
Disposition: Backport from https://github.com/curl/curl/commit/facb0e4662415b5f28163e853dc6742ac5fafb3d
ChangeID: e0c807da8937f687a4b2e28eaa6b4b5a51845bc5
Description:

Fixes CVE-2019-5482
- Affected versions: libcurl >= 7.19.4 to and including 7.65.3
- Not affected versions: libcurl < 7.19.4

Signed-off-by: Armin Kuster <akuster@mvista.com>
5 years agolibgpg-error: Fix build with gawk 5.x
Sean Nyekjaer [Mon, 9 Sep 2019 18:29:13 +0000 (20:29 +0200)]
libgpg-error: Fix build with gawk 5.x

Based on poky master, but for version 1.35

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolibxcrypt: Fix the build with -Os
Adrian Bunk [Mon, 9 Sep 2019 10:25:19 +0000 (13:25 +0300)]
libxcrypt: Fix the build with -Os

| In file included from ../git/lib/alg-des.c:66:
| ../git/lib/alg-des.c: In function '_crypt_des_set_key':
| ../git/lib/byteorder.h:24:1: error: inlining failed in call to 'be32_to_cpu': call is unlikely and code size would grow [-Werror=inline]
|  be32_to_cpu (const unsigned char *buf)
|  ^~~~~~~~~~~
| ../git/lib/alg-des.c:81:13: note: called from here
|    rawkey1 = be32_to_cpu (&key[4]);
|              ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agokernel-devsrc: tweak for v5.3+
Bruce Ashfield [Wed, 14 Aug 2019 15:31:29 +0000 (11:31 -0400)]
kernel-devsrc: tweak for v5.3+

The 5.3 kernel has two changes that require tweaks to the minimal
kernel-devsrc package.

4ce97317f [x86/purgatory: Do not use __builtin_memcpy and __builtin_memset]

  This change removes the need for arch/x86/purgatory/string.c and
  instead reuses a copy in arch/x86/boot/compressed/, so we can't copy
  the file anymore. To support older kernels, we make the copy survive
  the non-existence of the file.

b1663d7e [docs: Kbuild/Makefile: allow check for missing docs at build time]

  This change adds the sourceing of Documentation/Kbuild to the top
  level Kbuild file. So we now leave the copy of Documention/'s Kbuild
  in the devsrc.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agokernel-fitimage: uboot-sign: fix missing signature
Jun Nie [Wed, 10 Jul 2019 07:10:56 +0000 (15:10 +0800)]
kernel-fitimage: uboot-sign: fix missing signature

u-boot.bin with dtb & signature should be placed in ${B} so that
it can be deployed by u-boot as expected. Otherwise, the version
without signature is installed.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
5 years agogcc-8.3: Security fix for CVE-2019-14250
Armin Kuster [Sat, 31 Aug 2019 15:40:01 +0000 (08:40 -0700)]
gcc-8.3: Security fix for CVE-2019-14250

Affects < 9.2

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoglibc / glibc-locale: Fix stash_locale determinism problems
Jason Wessel [Mon, 8 Jul 2019 19:16:12 +0000 (12:16 -0700)]
glibc / glibc-locale: Fix stash_locale determinism problems

When using sstate, or performing an incremental build any change to
the do_stash_locale() will cause a build failure because
do_stash_locale() was destroying the results obtained from the
do_install() with several mv operations.  A recent change to
do_stash_locale() for a different problem illustrated a number of
build failures for users in the community.

To fix the problem, do_stash_locale() must use copy operations instead
of the mv operations.  Because this is changed to a copy, the sysroot
and package stage need to remove the files that would have been
previously removed.  The correct "fixup" code to deal with the removal
already existed in the previous do_poststash_install_cleanup().  All
that needed change was the path to where to remove the files
from the sysroot and package stages.

In order to force a re-compilation of glibc some unused white space
was removed from do_compile() for glibc.  I could not find any other
way around this and we don't want to have all the community folks to
have another iteration where they have to remove their tmp directories
or purge some portion of the sstate.  It also makes this change
bisectable. If the change to the glibc is not included, it will fail
with the following message:

=====
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
=====

After this one time change I tested changing only the
do_stash_locale() function and it now works well because it is
deterministically operating off the sstate data or a local build.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoglibc/glibc-locale: Fix do_stash_locale to work with usrmerge and multilibs
Jason Wessel [Tue, 2 Jul 2019 20:16:09 +0000 (13:16 -0700)]
glibc/glibc-locale: Fix do_stash_locale to work with usrmerge and multilibs

The do_stash_locale was not working consistently across the 4 build
configurations and the multilib, usrmerge configuration would fail
entirely with the obscure message:

| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
| WARNING: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/temp/run.do_prep_locale_tree.124690:1 exit 1 from 'gunzip $i'

Here is the 4 build configurations without the patch applied:

A) x86-64 no multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
B) x86-64 no multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
C) x86-64 multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
885
D) x86-64 multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
864

The issue here is that all the moves should be processed first, then a
copy should be made of the lib directories, but only in the case they
are different when using the usrmerge feature.  Even though the build
worked for the multilib configuration without usrmerge, the content
was not the same.

After applying the patch the same number of files are in all the
configurations.  The list of files was also diffed, after normalizing
the directory names to ensure all the correct files were copied.

Ultimately there are probably additional files that should be pruned
from what is copied to the stated_locale, but the purpose of this
patch is make it 100% consistent between the build types and fix the
builds.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoglibc-locale: Fix build error with PACKAGE_NO_GCONV = "1"
Jason Wessel [Tue, 2 Jul 2019 20:16:08 +0000 (13:16 -0700)]
glibc-locale: Fix build error with PACKAGE_NO_GCONV = "1"

When the PACKAGE_NO_GCONV is set to 1 an empty directory is left behind from the do_install rule:

=====
ERROR: glibc-locale-2.29-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/locale
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
glibc-locale: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.29-r0 do_package: Fatal QA errors found, failing task.
=====

The simple fix is to prune the empty directory.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoglibc: Fix multilibs + usrmerge builds
Jason Wessel [Sun, 30 Jun 2019 02:15:48 +0000 (19:15 -0700)]
glibc: Fix multilibs + usrmerge builds

The build of glibc fails when you have multilibs enabled + the distro
feature usrmerge.  Here is an example configuration:

===
MACHINE = "qemux86-64"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_append = " systemd "
DISTRO_FEATURES_append += " usrmerge"

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
===

This will fail with the following error:

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: glibc-2.28-r0 do_poststash_install_cleanup: Function failed: do_poststash_install_cleanup (log file is located at /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893)
ERROR: Logfile of failure stored in: /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893

The fix is to not perform the rmdir check when using the multilib + usr/merge, namely:

if [ "${libdir}" != "${exec_prefix}/lib" ] && [ "${root_prefix}/lib" != "${exec_prefix}/lib" ]; then

This will evaluate as follows (collecting the output from bitbake -e glibc)

* no multilibs no usrmerge
        if [ "/usr/lib" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* no multilibs yes usrmerge
        if [ "/usr/lib" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
* yes multilibs no usrmerge
        if [ "/usr/lib64" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* yes multilibs yes user merge
        if [ "/usr/lib64" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agobinutils: Fix mips patch which changes default emulation
Nathan Rossi [Wed, 28 Aug 2019 05:06:29 +0000 (05:06 +0000)]
binutils: Fix mips patch which changes default emulation

The patch incorrectly removes 'mips_elf32_ntrad_le_vec' from the
'targ_selvecs' replacing it with duplicate entries for
'mips_elf32_ntrad_be_vec'. Correct this so that the default binutils can
still handle 'mips_elf32_ntrad_le_vec' binaries.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agogcc: CVE-2018-12886
Zhixiong Chi [Tue, 4 Jun 2019 09:50:02 +0000 (02:50 -0700)]
gcc: CVE-2018-12886

Backprot CVE patch from the upstream:
https://github.com/gcc-mirror/gcc.git [commit f98495d]
https://nvd.nist.gov/vuln/detail/CVE-2018-12886

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agogcc: reduce the variables in symtab
Zhixiong Chi [Tue, 28 May 2019 07:59:49 +0000 (00:59 -0700)]
gcc: reduce the variables in symtab

Backport the patch from upstream:
https://github.com/gcc-mirror/gcc.git [commit beb921e]
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=269925

Add the premark_used_variables function, meanwhile do not mark
not premarked external variables in prune_unused_types_walk.

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoglib-2.0: fix CVE-2019-13012
Anuj Mittal [Mon, 19 Aug 2019 13:47:10 +0000 (21:47 +0800)]
glib-2.0: fix CVE-2019-13012

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopango: fix CVE-2019-1010238
Anuj Mittal [Mon, 19 Aug 2019 13:47:09 +0000 (21:47 +0800)]
pango: fix CVE-2019-1010238

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agobinutils: fix CVE-2019-14250 CVE-2019-14444
Anuj Mittal [Mon, 19 Aug 2019 13:47:08 +0000 (21:47 +0800)]
binutils: fix CVE-2019-14250 CVE-2019-14444

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopowertop: import a fix from buildroot
Martin Jansa [Tue, 20 Aug 2019 09:04:42 +0000 (09:04 +0000)]
powertop: import a fix from buildroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agomeson: backport fix for builds with -Werror=return-type
Martin Jansa [Tue, 20 Aug 2019 09:04:41 +0000 (09:04 +0000)]
meson: backport fix for builds with -Werror=return-type

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoicecc.bbclass: catch subprocess.CalledProcessError
Martin Jansa [Tue, 20 Aug 2019 09:04:40 +0000 (09:04 +0000)]
icecc.bbclass: catch subprocess.CalledProcessError

* this might be related to:
  commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1
  Author: Douglas Royds <douglas.royds@taitradio.com>
  Date:   Thu Dec 20 11:59:47 2018 +1300

    icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time

* it's still a bit unclear when and why this happends, but I'm seeing
  random tasks sometimes failing with:

WARNING: Exception during build_dependencies for set_icecc_env
WARNING: Error during finalise of /build/meta-oe/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb
ERROR: Traceback (most recent call last):
  File "/build/bitbake/lib/bb/data_smart.py", line 411, in expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
  File "/build/bitbake/lib/bb/data_smart.py", line 136, in python_sub
    value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
  File "/build/bitbake/lib/bb/utils.py", line 421, in better_eval
    return eval(source, ctx, locals)
  File "Var <set_icecc_env>", line 1, in <module>
  File "/build/oe-core/meta/classes/icecc.bbclass", line 287, in icecc_get_and_check_tool
    link_path = icecc_get_tool_link(t, d)
  File "/build/oe-core/meta/classes/icecc.bbclass", line 246, in icecc_get_tool_link
    return subprocess.check_output("readlink -f %s" % tool, shell=True).decode("utf-8")[:-1]
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'readlink -f /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/build/bitbake/bin/bitbake-worker", line 239, in child
    the_data = bb_cache.loadDataFull(fn, appends)
  File "/build/bitbake/lib/bb/cache.py", line 327, in loadDataFull
    bb_data = self.load_bbfile(virtualfn, appends, virtonly=True)
  File "/build/bitbake/lib/bb/cache.py", line 340, in load_bbfile
    datastores = parse_recipe(bb_data, bbfile, appends, mc)
  File "/build/bitbake/lib/bb/cache.py", line 303, in parse_recipe
    bb_data = bb.parse.handle(bbfile, bb_data)
  File "/build/bitbake/lib/bb/parse/__init__.py", line 107, in handle
    return h['handle'](fn, data, include)
  File "/build/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 142, in handle
    return ast.multi_finalize(fn, d)
  File "/build/bitbake/lib/bb/parse/ast.py", line 386, in multi_finalize
    finalize(fn, d)
  File "/build/bitbake/lib/bb/parse/ast.py", line 351, in finalize
    bb.parse.siggen.finalise(fn, d, variant)
  File "/build/bitbake/lib/bb/siggen.py", line 147, in finalise
    taskdeps = self._build_data(fn, d)
  File "/build/bitbake/lib/bb/siggen.py", line 118, in _build_data
    tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d)
  File "/build/bitbake/lib/bb/data.py", line 388, in generate_dependencies
    deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
  File "/build/bitbake/lib/bb/data.py", line 317, in build_dependencies
    value, parsedvar = d.getVarFlag(key, "_content", False, retparser=True)
  File "/build/bitbake/lib/bb/data_smart.py", line 802, in getVarFlag
    parser = self.expandWithRefs(value, cachename)
  File "/build/bitbake/lib/bb/data_smart.py", line 424, in expandWithRefs
    raise ExpansionError(varname, s, exc).with_traceback(tb) from exc
  File "/build/bitbake/lib/bb/data_smart.py", line 411, in expandWithRefs
    s = __expand_python_regexp__.sub(varparse.python_sub, s)
  File "/build/bitbake/lib/bb/data_smart.py", line 136, in python_sub
    value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
  File "/build/bitbake/lib/bb/utils.py", line 421, in better_eval
    return eval(source, ctx, locals)
  File "Var <set_icecc_env>", line 1, in <module>
  File "/build/oe-core/meta/classes/icecc.bbclass", line 287, in icecc_get_and_check_tool
    link_path = icecc_get_tool_link(t, d)
  File "/build/oe-core/meta/classes/icecc.bbclass", line 246, in icecc_get_tool_link
    return subprocess.check_output("readlink -f %s" % tool, shell=True).decode("utf-8")[:-1]
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
bb.data_smart.ExpansionError: Failure expanding variable set_icecc_env, expression was     if [ "${@use_icecc(bb, d)}" = "no" ]
    then
        return
    fi
    ICECC_VERSION="${@icecc_version(bb, d)}"
    if [ "x${ICECC_VERSION}" = "x" ]
    then
        bbwarn "Cannot use icecc: could not get ICECC_VERSION"
        return
    fi

    ICE_PATH="${@icecc_path(bb, d)}"
    if [ "x${ICE_PATH}" = "x" ]
    then
        bbwarn "Cannot use icecc: could not get ICE_PATH"
        return
    fi

    ICECC_BIN="${@get_icecc(d)}"
    if [ -z "${ICECC_BIN}" ]; then
        bbwarn "Cannot use icecc: icecc binary not found"
        return
    fi
    if [ -z "$(which patchelf patchelf-uninative)" ]; then
        bbwarn "Cannot use icecc: patchelf not found"
        return
    fi

    # Create symlinks to icecc in the recipe-sysroot directory
    mkdir -p ${ICE_PATH}
    if [ -n "${KERNEL_CC}" ]; then
        compilers="${@get_cross_kernel_cc(bb,d)}"
    else
        compilers="x86_64-oe-linux-gcc x86_64-oe-linux-g++"
    fi
    for compiler in $compilers; do
        ln -sf ${ICECC_BIN} ${ICE_PATH}/$compiler
    done

    ICECC_CC="${@icecc_get_and_check_tool(bb, d, "gcc")}"
    ICECC_CXX="${@icecc_get_and_check_tool(bb, d, "g++")}"
    # cannot use icecc_get_and_check_tool here because it assumes as without target_sys prefix
    ICECC_WHICH_AS="${@bb.utils.which(os.getenv('PATH'), 'as')}"
    if [ ! -x "${ICECC_CC}" -o ! -x "${ICECC_CXX}" ]
    then
        bbwarn "Cannot use icecc: could not get ICECC_CC or ICECC_CXX"
        return
    fi

    ICE_VERSION=`$ICECC_CC -dumpversion`
    ICECC_VERSION=`echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g"`
    if [ ! -x "/build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/icecc-create-env" ]
    then
        bbwarn "Cannot use icecc: invalid ICECC_ENV_EXEC"
        return
    fi

    ICECC_AS="`${ICECC_CC} -print-prog-name=as`"
    # for target recipes should return something like:
    # /OE/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm920tt-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.2/as
    # and just "as" for native, if it returns "as" in current directory (for whatever reason) use "as" from PATH
    if [ "`dirname "${ICECC_AS}"`" = "." ]
    then
        ICECC_AS="${ICECC_WHICH_AS}"
    fi

    if [ ! -f "${ICECC_VERSION}.done" ]
    then
        mkdir -p "`dirname "${ICECC_VERSION}"`"

        # the ICECC_VERSION generation step must be locked by a mutex
        # in order to prevent race conditions
        if flock -n "${ICECC_VERSION}.lock" \
            /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/icecc-create-env  "${ICECC_CC}" "${ICECC_CXX}" "${ICECC_AS}" "${ICECC_VERSION}"
        then
            touch "${ICECC_VERSION}.done"
        elif ! wait_for_file "${ICECC_VERSION}.done" 30
        then
            # locking failed so wait for ${ICECC_VERSION}.done to appear
            bbwarn "Timeout waiting for ${ICECC_VERSION}.done"
            return
        fi
    fi

    # Don't let ccache find the icecream compiler links that have been created, otherwise
    # it can end up invoking icecream recursively.
    export CCACHE_PATH="$PATH"
    export CCACHE_DISABLE="1"

    export ICECC_VERSION ICECC_CC ICECC_CXX
    export PATH="$ICE_PATH:$PATH"

    bbnote "Using icecc path: $ICE_PATH"
    bbnote "Using icecc tarball: $ICECC_VERSION"
 which triggered exception CalledProcessError: Command 'readlink -f /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' returned non-zero exit status 1.

ERROR: Task (virtual:multilib:lib32:/build/meta-oe/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb:do_patch) failed with exit code '1'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agodpkg: Use less as pager
Ricardo Ribalda Delgado [Tue, 20 Aug 2019 08:19:02 +0000 (10:19 +0200)]
dpkg: Use less as pager

Debian traditionaly uses /usr/bin/pager as the system pager, which is a
link to the user preferred pager. This is a Debianism.

Without this patch:

root@qt5122:~# dpkg -l
sh: pager: command not found
dpkg-query: error: showing package list on pager subprocess returned error exit status 127

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopatch: backport fixes
Anuj Mittal [Wed, 21 Aug 2019 01:58:18 +0000 (09:58 +0800)]
patch: backport fixes

The original fix for CVE-2018-1000156 was incomplete. Backport more
fixes done later for a complete fix.

Also see:
https://savannah.gnu.org/bugs/index.php?53820

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopatch: fix CVE-2019-13638
Trevor Gamblin [Wed, 21 Aug 2019 01:58:17 +0000 (09:58 +0800)]
patch: fix CVE-2019-13638

(From OE-Core rev: b59b1222b3f73f982286222a583de09c661dc781)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agorsync: fix CVEs for included zlib
Anuj Mittal [Wed, 21 Aug 2019 01:58:16 +0000 (09:58 +0800)]
rsync: fix CVEs for included zlib

rsync includes its own copy of zlib and doesn't recommend linking with
the system version [1].

Import CVE fixes that impact zlib version 1.2.8 [2] that is currently used
by rsync.

[1] https://git.samba.org/rsync.git/?p=rsync.git;a=blob;f=zlib/README.rsync
[2] https://nvd.nist.gov/vuln/search/results?form_type=Advanced&cves=on&cpe_version=cpe%3a%2fa%3agnu%3azlib%3a1.2.8

(From OE-Core rev: a55fbb4cb489853dfb0b4553f6e187c3f3633f48)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoboost: Fix build and enable context and coroutines on aarch64
Bedel, Alban [Thu, 15 Aug 2019 12:37:28 +0000 (12:37 +0000)]
boost: Fix build and enable context and coroutines on aarch64

Like for ARM bjam need some hints about the ABI to properly build on
aarch64. While at it also enable context and coroutine as these are
supported on aarch64.

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolinux-yocto/4.19: update to v4.19.61
Bruce Ashfield [Fri, 2 Aug 2019 02:33:18 +0000 (22:33 -0400)]
linux-yocto/4.19: update to v4.19.61

Integrating the korg -stable commits that comprise the following
changes:

   7250956f6eaf Linux 4.19.61
   025eb12bb4b0 dm bufio: fix deadlock with loop device
   404f59e265ac dt-bindings: allow up to four clocks for orion-mdio
   03e6a668ea1f net: mvmdio: allow up to four clocks to be specified for orion-mdio
   dd87cc633ba5 blkcg: update blkcg_print_stat() to handle larger outputs
   73efdc5d7d3b blk-iolatency: clear use_delay when io.latency is set to zero
   1ab644bd02ab blk-throttle: fix zero wait time for iops throttled group
   91da712ff592 usb: Handle USB3 remote wakeup for LPM enabled devices correctly
   152ddf9f0458 Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug
   98318cd31b95 intel_th: msu: Fix single mode with disabled IOMMU
   d6328d7c1a71 mtd: spinand: read returns badly if the last page has bitflips
   94f1db42a968 mtd: rawnand: mtk: Correct low level time calculation of r/w cycle
   30c6b34759f6 eCryptfs: fix a couple type promotion bugs
   92e23f5fc049 mmc: sdhci-msm: fix mutex while in spinlock
   01982f7bcc9d powerpc/pseries: Fix oops in hotplug memory notifier
   e725502b8548 powerpc/powernv/npu: Fix reference leak
   1e3b61cbc30d powerpc/watchpoint: Restore NV GPRs while returning from exception
   237ac0d73b55 powerpc/32s: fix suspend/resume when IBATs 4-7 are used
   7961981718d6 parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1
   a6a0daa775e8 parisc: Ensure userspace privilege for ptraced processes in regset functions
   ef5c2e165ab0 crypto: caam - limit output IV to CBC to work around CTR mode DMA issue
   376b80276d84 gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM
   ef30c0739439 xfs: abort unaligned nowait directio early
   669c867972c0 xfs: serialize unaligned dio writes against all other dio writes
   d61d885b17b0 xfs: fix reporting supported extra file attributes for statx()
   f614ef7a34b0 xfs: reserve blocks for ifree transaction during log recovery
   424543a53ae0 xfs: don't ever put nlink > 0 inodes on the unlinked list
   3a895cc066c0 xfs: rename m_inotbt_nores to m_finobt_nores
   2ab62234e823 xfs: don't overflow xattr listent buffer
   1dc8b13cc66d xfs: flush removing page cache in xfs_reflink_remap_prep
   788920d12b95 xfs: fix pagecache truncation prior to reflink
   41f64437f030 include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
   afa3e571cde3 coda: pass the host file in vma->vm_file on mmap
   2c0222b48e77 libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields
   656d06dab4d6 HID: wacom: correct touch resolution x/y typo
   1c871b4006b2 HID: wacom: generic: Correct pad syncing
   46f71a15abe7 HID: wacom: generic: only switch the mode on devices with LEDs
   cb4c2b94f629 IB/mlx5: Report correctly tag matching rendezvous capability
   4bd953241d81 Btrfs: add missing inode version, ctime and mtime updates when punching hole
   fffedf5cf67e Btrfs: fix fsync not persisting dentry deletions due to inode evictions
   110850fffeb0 Btrfs: fix data loss after inode eviction, renaming it, and fsync it
   6b71c62ea9da PCI: qcom: Ensure that PERST is asserted for at least 100 ms
   529e71cae929 PCI: Do not poll for PME if the device is in D3cold
   4d8504004c86 PCI: hv: Fix a use-after-free bug in hv_eject_device_work()
   f0ff76a42ef5 intel_th: pci: Add Ice Lake NNPI support
   66a13b5e4e9c drm/edid: parse CEA blocks embedded in DisplayID
   9854e06842bc perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs
   82c46f7b0918 perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs
   a847a5225432 perf/x86/intel: Fix spurious NMI on fixed counter
   0d4c0bb70665 x86/boot: Fix memory leak in default_get_smp_config()
   b52807e607f1 9p/virtio: Add cleanup path in p9_virtio_init
   1253882d64d0 9p/xen: Add cleanup path in p9_trans_xen_init
   007e5aaf287c xen/events: fix binding user event channels to cpus
   e380170b3b3a dm zoned: fix zone state management race
   1e4247d7958b padata: use smp_mb in padata_reorder to avoid orphaned padata jobs
   0489d808a5f2 drm/nouveau/i2c: Enable i2c pads & busses during preinit
   c77cbc873586 kconfig: fix missing choice values in auto.conf
   2c7b50c7b1d0 fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.
   ba271659ad42 arm64: tegra: Fix AGIC register range
   ba27a25df6df KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed
   87bae91a0fe9 media: videobuf2-dma-sg: Prevent size from overflowing
   cb2e2b0ae554 media: videobuf2-core: Prevent size alignment wrapping buffer size to 0
   deb78bd24e0c media: coda: Remove unbalanced and unneeded mutex unlock
   fc0232e24541 media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()
   a4c4c06f1755 ALSA: hda/realtek: apply ALC891 headset fixup to one Dell machine
   8ba78e4d564e ALSA: hda/realtek - Fixed Headphone Mic can't record on Dell platform
   c92212a81617 ALSA: seq: Break too long mutex context in the write loop
   eb6c84e4b4f2 raid5-cache: Need to do start() part job after adding journal device
   3f42c0000b23 ASoC: dapm: Adapt for debugfs API change
   677b2aa3be5c lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE
   0b174bac4e43 pnfs: Fix a problem where we gratuitously start doing I/O through the MDS
   f64ff5914f00 pNFS: Fix a typo in pnfs_update_layout
   603e7497bf27 pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
   5347e61954fc NFSv4: Handle the special Linux file open access mode
   6825ff011c7c iwlwifi: fix RF-Kill interrupt while FW load for gen2 devices
   a32e2ceca0ef iwlwifi: don't WARN when calling iwl_get_shared_mem_conf with RF-Kill
   d9ce0788da91 iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X
   04c52c105a38 iwlwifi: pcie: don't service an interrupt that was masked
   7ebddd5fe217 arm64: tegra: Update Jetson TX1 GPU regulator timings
   042451b921b1 regulator: s2mps11: Fix buck7 and buck8 wrong voltages
   8da63aa46e26 Input: alps - fix a mismatch between a condition check and its comment
   81368a9a98d9 Input: synaptics - whitelist Lenovo T580 SMBus intertouch
   cfb9250619c8 Input: alps - don't handle ALPS cs19 trackpoint-only device
   d657077eda7b Input: gtco - bounds check collection indent level
   f11ba9df8eed bcache: destroy dc->writeback_write_wq if failed to create dc->writeback_thread
   2ab14861d2eb bcache: fix mistaken sysfs entry for io_error counter
   3c466df8fc59 bcache: ignore read-ahead request failure on backing device
   4fc48cd21a31 bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
   ab966241d59a bcache: Revert "bcache: fix high CPU occupancy during journal"
   58169c189bd6 Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
   c3b7d27f3746 crypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe
   a9fd1795fee6 crypto: ccp/gcm - use const time tag comparison.
   561c4424f1e3 crypto: ccp - memset structure fields to zero before reuse
   13805a5df489 crypto: crypto4xx - block ciphers should only accept complete blocks
   17e63172d536 crypto: crypto4xx - fix blocksize for cfb and ofb
   4598094d24c7 crypto: crypto4xx - fix AES CTR blocksize value
   1c9b0a766513 crypto: chacha20poly1305 - fix atomic sleep when using async algorithm
   eb99c084da28 crypto: arm64/sha2-ce - correct digest for empty data in finup
   4230e09e61e6 crypto: arm64/sha1-ce - correct digest for empty data in finup
   52f07c1ac70e crypto: ccp - Validate the the error value used to index error messages
   bed97f646997 crypto: ghash - fix unaligned memory access in ghash_setkey()
   ce7ec07abaf7 scsi: mac_scsi: Fix pseudo DMA implementation, take 2
   de769c762626 scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
   3e9534fa5046 scsi: megaraid_sas: Fix calculation of target ID
   1334a3e2d6d0 scsi: core: Fix race on creating sense cache
   58f59f6072ab Revert "scsi: ncr5380: Increase register polling limit"
   7cfded7a705c scsi: NCR5380: Always re-enable reselection interrupt
   d91baba81a6e scsi: NCR5380: Reduce goto statements in NCR5380_select()
   e73db096691e xen: let alloc_xenballooned_pages() fail if not enough memory free
   ff54c44f1038 floppy: fix out-of-bounds read in copy_buffer
   a9444d9d0f6f floppy: fix invalid pointer dereference in drive_name
   5b565f3276f3 floppy: fix out-of-bounds read in next_valid_format
   6e34fd07484a floppy: fix div-by-zero in setup_format_params
   7c16c5eae41a iavf: fix dereference of null rx_buffer pointer
   e9896b29d010 net: mvmdio: defer probe of orion-mdio if a clock is not ready
   5f6c5f5ae25e gtp: fix use-after-free in gtp_newlink()
   141222216438 gtp: fix use-after-free in gtp_encap_destroy()
   0a5eca2c949c gtp: fix Illegal context switch in RCU read-side critical section.
   e117a04133c6 gtp: fix suspicious RCU usage
   202de90df2b7 Bluetooth: validate BLE connection interval updates
   ca33af18b5fc gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
   0fdb922d0ef0 Bluetooth: Check state in l2cap_disconnect_rsp
   3b57b7a3a82a perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
   c814f618b799 Bluetooth: 6lowpan: search for destination address in all peers
   c82c4910e9e6 Bluetooth: Add new 13d3:3501 QCA_ROME device
   1cbce19bd697 Bluetooth: Add new 13d3:3491 QCA_ROME device
   578658df21d5 Bluetooth: hci_bcsp: Fix memory leak in rx_skb
   9d47bd217539 tools: bpftool: Fix json dump crash on powerpc
   2ad04d31bb3e gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
   157d1c7a1a00 bonding: validate ip header before check IPPROTO_IGMP
   88f751b066f2 selftests: bpf: fix inlines in test_lwt_seg6local
   ef5b204336b3 bpf, libbpf, smatch: Fix potential NULL pointer dereference
   0f2f2cebe64d rxrpc: Fix oops in tracepoint
   ca37b9a74689 net: usb: asix: init MAC address buffers
   51216937c319 bnx2x: Prevent ptp_task to be rescheduled indefinitely
   e358d2ab42f8 perf stat: Fix group lookup for metric group
   a64e018be77a perf stat: Make metric event lookup more robust
   7343178ccf7d bpf: fix uapi bpf_prog_info fields alignment
   af3790a46a55 iwlwifi: mvm: Drop large non sta frames
   036184af23e0 igb: clear out skb->tstamp after reading the txtime
   0024b12b776c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift
   05592b9b7f25 ath10k: destroy sdio workqueue while remove sdio module
   26d86b29e806 net: hns3: add some error checking in hclge_tm module
   ddfdbcccd71a net: hns3: fix a -Wformat-nonliteral compile warning
   95d084809495 bcache: fix potential deadlock in cached_def_free()
   4b7758e9c4ed bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush()
   81b88c05bc45 bcache: acquire bch_register_lock later in cached_dev_free()
   d81080a0bcf8 bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()
   57cfb755c356 bcache: check CACHE_SET_IO_DISABLE in allocator code
   e78d1d234469 EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec
   e54cc89e6f0a wil6210: drop old event after wmi_call timeout
   0388597d0627 crypto: asymmetric_keys - select CRYPTO_HASH where needed
   1dea395c9e12 crypto: serpent - mark __serpent_setkey_sbox noinline
   b346070c72cd ixgbe: Check DDM existence in transceiver before access
   0340c621eca8 rslib: Fix handling of of caller provided syndrome
   8ba93c59441a rslib: Fix decoding of shortened codes
   dad0b17e4a4e xsk: Properly terminate assignment in xskq_produce_flush_desc
   e69fac59c493 clocksource/drivers/exynos_mct: Increase priority over ARM arch timer
   12e20eca894b libata: don't request sense data on !ZAC ATA devices
   6e6bc34f8570 ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
   1182ff224847 perf tools: Increase MAX_NR_CPUS and MAX_CACHES
   7201cc227d4a ath10k: fix PCIE device wake up failed
   8a808fadc9f7 ath10k: add missing error handling
   fe2ceeb4cffc ipvs: fix tinfo memory leak in start_sync_thread
   20de38d282b3 mt7601u: fix possible memory leak when the device is disconnected
   033577880135 x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c
   3f7952b275c8 mt7601u: do not schedule rx_tasklet when the device has been disconnected
   6f6e126e1995 rtlwifi: rtl8192cu: fix error handle when usb probe failed
   41864adfee2e net: stmmac: sun8i: force select external PHY when no internal one
   bce037abc29f media: hdpvr: fix locking and a missing msleep
   43b9fdc48377 media: vimc: cap: check v4l2_fill_pixfmt return value
   d562537dbf0d media: coda: increment sequence offset for the last returned frame
   3697c12c4425 media: coda: fix last buffer handling in V4L2_ENC_CMD_STOP
   6fd3e9f65db9 media: coda: fix mpeg2 sequence number handling
   c647c00f28af acpi/arm64: ignore 5.1 FADTs that are reported as 5.0
   b9f547b7bdd9 timer_list: Guard procfs specific code
   d86c0b73f75b ntp: Limit TAI-UTC offset
   8d8f0b9009d0 media: i2c: fix warning same module names
   6439110fbeee media: s5p-mfc: Make additional clocks optional
   57de3c78f0b7 ipvs: defer hook registration to avoid leaks
   06a3cd416224 ipsec: select crypto ciphers for xfrm_algo
   723ba7938492 arm64: Do not enable IRQs for ct_user_exit
   010bfbc93424 lightnvm: pblk: fix freeing of merged pages
   762bba1b7ee7 nvme-pci: set the errno on ctrl state change error
   c876a66553d7 nvme-pci: properly report state change failure in nvme_reset_work
   f0c83dd15ee1 nvme: fix possible io failures when removing multipathed ns
   10cc3a65a55b EDAC/sysfs: Fix memory leak when creating a csrow object
   f6502ce4f050 ACPICA: Clear status of GPEs on first direct enable
   3ae98dc2db1e blk-iolatency: only account submitted bios
   a952f7c384aa x86/cacheinfo: Fix a -Wtype-limits warning
   3252b29ea41b ipoib: correcly show a VF hardware address
   0e2af9b06c00 vhost_net: disable zerocopy by default
   4c57957ed6c8 perf evsel: Make perf_evsel__name() accept a NULL argument
   9e0bcb59b6c0 x86/atomic: Fix smp_mb__{before,after}_atomic()
   dd0260fd1e3a perf/x86/intel/uncore: Handle invalid event coding for free-running counter
   7fc96cd2b0de sched/fair: Fix "runnable_avg_yN_inv" not used warnings
   d8b7db6c5004 sched/core: Add __sched tag for io_schedule()
   930655b01367 xfrm: fix sa selector validation
   b7d66bbc8ad3 blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
   c8f75e753784 block: null_blk: fix race condition for null_del_dev
   1a3706d8f800 net: hns3: fix for skb leak when doing selftest
   6a47a42f51cf qed: iWARP - Fix tc for MPA ll2 connection
   670fb965da03 x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS
   366ae49ed78c rcu: Force inlining of rcu_read_lock()
   1fb3ce14f28d ASoC: meson: axg-tdm: fix sample clock inversion
   32df4043aed4 x86/cpu: Add Ice Lake NNPI to Intel family
   914026d58100 selinux: fix empty write to keycreate file
   10e3788e6575 media: s5p-mfc: fix reading min scratch buffer size on MFC v6/v7
   7c10f8941b95 bpf: silence warning messages in core
   b01bf44c363d regmap: fix bulk writes on paged registers
   544cd592ca72 gpio: omap: ensure irq is enabled before wakeup
   ddeef7a00050 gpio: omap: fix lack of irqstatus_raw0 for OMAP4
   79644b600850 iommu: Fix a leak in iommu_insert_resv_region
   f2a4624be8f3 media: fdp1: Support M3N and E3 platforms
   63e53991d791 media: uvcvideo: Fix access to uninitialized fields on probe error
   c844f4da9b92 irqchip/meson-gpio: Add support for Meson-G12A SoC
   eac8b39d089a perf report: Fix OOM error in TUI mode on s390
   be32a9dc3f62 perf test 6: Fix missing kvm module load for s390
   3662d8bca087 perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode
   ac510285d40b ipset: Fix memory accounting for hash types on resize
   c7bf2df45044 net: sfp: add mutex to prevent concurrent state checks
   fa4059c5497e RAS/CEC: Fix pfn insertion
   99dcd701465f s390/qdio: handle PENDING state for QEBSM devices
   a76f32cbd38c net: axienet: Fix race condition causing TX hang
   9d643358386d net: fec: Do not use netdev messages too early
   403c43921479 crypto: inside-secure - do not rely on the hardware last bit for result descriptors
   50331c64f3dd net: stmmac: modify default value of tx-frames
   1a0a837afc41 net: stmmac: dwmac4: fix flow control issue
   713737cac327 perf jvmti: Address gcc string overflow warning for strncpy()
   fb83987cbe6b arm64: mm: make CONFIG_ZONE_DMA32 configurable
   c360eb592938 cpupower : frequency-set -r option misses the last cpu in related cpu list
   cac3032062e5 net: hns3: set ops to null when unregister ad_dev
   35407917b0bc media: wl128x: Fix some error handling in fm_v4l2_init_video_device()
   2fbde2746597 locking/lockdep: Fix merging of hlocks with non-zero references
   909034b8ac64 batman-adv: Fix duplicated OGMs on NETDEV_UP
   aa2ad8b6fb2f tua6100: Avoid build warnings.
   9072450736d0 crypto: talitos - Align SEC1 accesses to 32 bits boundaries.
   9d25aedef08f crypto: talitos - properly handle split ICV.
   fc25cfb03ea2 net: phy: Check against net_device being NULL
   ef10d46d04a5 media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
   e36f25627362 media: saa7164: fix remove_proc_entry warning
   ea904c9f6a33 media: mc-device.c: don't memset __user pointer contents
   a6dd4862b98f perf annotate TUI browser: Do not use member from variable within its own initialization
   71b029a5d908 fscrypt: clean up some BUG_ON()s in block encryption/decryption
   2c6acf7478aa xfrm: Fix xfrm sel prefix length validation
   0544b64ceb64 af_key: fix leaks in key_pol_get_resp and dump_sp.
   b397462a010d signal/pid_namespace: Fix reboot_pid_ns to use send_sig not force_sig
   1c8e736115cd qed: Set the doorbell address correctly
   df6680de7a20 net: stmmac: dwmac4/5: Clear unused address entries
   d3969670cb5a net: stmmac: dwmac1000: Clear unused address entries
   810441651a8a media: media_device_enum_links32: clean a reserved field
   6fb470ace862 media: vpss: fix a potential NULL pointer dereference
   70da38e80509 media: marvell-ccic: fix DMA s/g desc number calculation
   add712b63185 media: ov7740: avoid invalid framesize setting
   b0e199e13495 crypto: talitos - fix skcipher failure due to wrong output IV
   6452712f95e3 media: spi: IR LED: add missing of table registration
   94f2b518a788 media: dvb: usb: fix use after free in dvb_usb_device_exit
   8f855c09e2af batman-adv: fix for leaked TVLV handler.
   83d133c96aad regmap: debugfs: Fix memory leak in regmap_debugfs_init
   2b5b12c0c1b7 ath: DFS JP domain W56 fixed pulse type 3 RADAR detection
   da153c0c5746 wil6210: fix spurious interrupts in 3-msi
   a4bf4fecff16 ath10k: add peer id check in ath10k_peer_find_by_id
   83c911f4bd68 ath6kl: add some bounds checking
   42dcbf20e182 ath9k: Check for errors when reading SREV register
   7e19e658e535 ath10k: Do not send probe response template for mesh
   009edc622bba wil6210: fix potential out-of-bounds read
   09593c25b975 dmaengine: imx-sdma: fix use-after-free on probe error path
   06e15cf5aead scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported
   37cb02da44dc arm64/efi: Mark __efistub_stext_offset as an absolute symbol explicitly
   73ebefc814ef MIPS: fix build on non-linux hosts
   7202df6be6ec MIPS: ath79: fix ar933x uart parity mode
   be9b6782a9eb Linux 4.19.60
   d173ce091c1a x86/entry/32: Fix ENDPROC of common_spurious
   466bdfc6c4d6 drm/udl: move to embedding drm device inside udl device.
   af48f7d79fae drm/udl: Replace drm_dev_unref with drm_dev_put
   cfd99eccede5 drm/udl: introduce a macro to convert dev to udl.
   8f14cf159e9f regmap-irq: do not write mask register if mask_base is zero
   820b010743ee crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
   b24c6403633d crypto: talitos - fix hash on SEC1.
   ff1ce8ef1f88 crypto: talitos - move struct talitos_edesc into talitos.h
   b578b87bcab6 s390/qdio: don't touch the dsci in tiqdio_add_input_queues()
   b1d52630b12a s390/qdio: (re-)initialize tiqdio list entries
   02eb533e940a s390: fix stfle zero padding
   9db915738e40 ARC: hide unused function unw_hdr_alloc
   fc6975ee932b x86/irq: Seperate unused system vectors from spurious entry again
   9494cd392885 x86/irq: Handle spurious interrupt after shutdown gracefully
   7897f5a443fb x86/ioapic: Implement irq_get_irqchip_state() callback
   6074f6043c49 genirq: Add optional hardware synchronization for shutdown
   3f10ccc29780 genirq: Fix misleading synchronize_irq() documentation
   578db1aa595b genirq: Delay deactivation in free_irq()
   2656ee5a5ad5 linux/kernel.h: fix overflow for DIV_ROUND_UP_ULL
   9c875e8556d4 pinctrl: mediatek: Update cur_mask in mask/mask ops
   f6e01328cb0e cpu/hotplug: Fix out-of-bounds read when setting fail state
   fa99487a43cf pinctrl: mediatek: Ignore interrupts that are wake only during resume
   cd2646e57ec5 HID: multitouch: Add pointstick support for ALPS Touchpad
   9ea3b131441e HID: chicony: add another quirk for PixArt mouse
   94968c37b6d3 x86/boot/64: Add missing fixup_pointer() for next_early_pgt access
   729d25f43b64 x86/boot/64: Fix crash if kernel image crosses page table boundary
   136847140cc8 dm verity: use message limit for data block corruption message
   042be78692ae dm table: don't copy from a NULL pointer in realloc_argv()
   0fc080bc9a72 pinctrl: mcp23s08: Fix add_data and irqchip_add_nested call order
   00640eb0eafa ARM: dts: imx6ul: fix PWM[1-4] interrupts
   a8cc2a2c2841 sis900: fix TX completion
   3232bccddeba ppp: mppe: Add softdep to arc4
   5ec7753c7c9e be2net: fix link failure after ethtool offline test
   2a6ee36917f0 x86/apic: Fix integer overflow on 10 bit left shift of cpu_khz
   fdfff855cd36 afs: Fix uninitialised spinlock afs_volume::cb_break_lock
   d47f06ab0c0e ARM: omap2: remove incorrect __init annotation
   5d3c45538151 ARM: dts: gemini Fix up DNS-313 compatible string
   afda29dc5ac6 perf/core: Fix perf_sample_regs_user() mm check
   627fdcc9b718 efi/bgrt: Drop BGRT status field reserved bits check
   cf4deb2d4de6 clk: ti: clkctrl: Fix returning uninitialized data
   ff232a47567f irqchip/gic-v3-its: Fix command queue pointer comparison bug
   244db54441a1 firmware: improve LSM/IMA security behaviour
   079d7f16a973 drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
   68048dce650e nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header
   86859ef10d25 Input: synaptics - enable SMBUS on T480 thinkpad trackpad
   438a3dc6f2c3 e1000e: start network tx queue only when link is up
   8020568b404b Revert "e1000e: fix cyclic resets at link up with active tx"
   3bd837bfe431 Linux 4.19.59
   70bae382b3dc staging: rtl8712: reduce stack usage, again
   b46475ecd930 staging: bcm2835-camera: Handle empty EOS buffers whilst streaming
   0ee144effcc3 staging: bcm2835-camera: Remove check of the number of buffers supplied
   fcbc6ddcd624 staging: bcm2835-camera: Ensure all buffers are returned on disable
   4502c43d7f3b staging: bcm2835-camera: Replace spinlock protecting context_map with mutex
   22a20b9f6d9f staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work
   cc396afa1959 MIPS: Remove superfluous check for __linux__
   d202b5adccfb VMCI: Fix integer overflow in VMCI handle arrays
   486c32325caa carl9170: fix misuse of device driver API
   524ad00e80b7 binder: fix memory leak in error path
   294b893a41cd lkdtm: support llvm-objcopy
   5c90a2ecd08a HID: Add another Primax PIXART OEM mouse quirk
   c04c751bef87 staging: comedi: amplc_pci230: fix null pointer deref on interrupt
   4e49c6c91c18 staging: comedi: dt282x: fix a null pointer deref on interrupt
   8419fd562a09 drivers/usb/typec/tps6598x.c: fix 4CC cmd write
   63b3028cd590 drivers/usb/typec/tps6598x.c: fix portinfo width
   57e16e0d8c68 usb: renesas_usbhs: add a workaround for a race condition of workqueue
   aa9a8038ea8b usb: dwc2: use a longer AHB idle timeout in dwc2_core_reset()
   cac4a04202fb usb: gadget: ether: Fix race between gether_disconnect and rx_submit
   449a8d08a4bc p54usb: Fix race between disconnect and firmware loading
   135d9ba3b285 Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
   0891268f36a2 USB: serial: option: add support for GosunCn ME3630 RNDIS mode
   0a1c811bf033 USB: serial: ftdi_sio: add ID for isodebug v1
   bb902b6c87ff mwifiex: Don't abort on small, spec-compliant vendor IEs
   ffbbd626e1ce mwifiex: Abort at too short BSS descriptor element
   a2a24b57c27a Documentation/admin: Remove the vsyscall=native documentation
   8a815007f5fe Documentation: Add section about CPU vulnerabilities for Spectre
   bd9604022eb3 x86/tls: Fix possible spectre-v1 in do_get_thread_area()
   68ff28291a4f x86/ptrace: Fix possible spectre-v1 in ptrace_get_debugreg()
   d8e26651ce8d perf pmu: Fix uncore PMU alias list for ARM64
   018524b75852 block, bfq: NULL out the bic when it's no longer valid
   ff75e5f41e88 ALSA: hda/realtek - Headphone Mic can't record after S3
   87c3262b00d8 ALSA: usb-audio: Fix parse of UAC2 Extension Units
   ef374f5a2731 media: stv0297: fix frequency range limit
   5db079eb0acd udf: Fix incorrect final NOT_ALLOCATED (hole) extent length
   0fc3e9b9b603 fscrypt: don't set policy for a dead directory
   e9f76b954336 net :sunrpc :clnt :Fix xps refcount imbalance on the error path
   810cfc3d9d2e NFS4: Only set creation opendata if O_CREAT
   7075654ce7d0 net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6185_g1_vtu_loadpurge()
   606561e16186 quota: fix a problem about transfer quota
   5ad566af08c1 scsi: qedi: Check targetname while finding boot target information
   37232abb6ea3 net: lio_core: fix potential sign-extension overflow on large shift
   740b2ac49518 ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL
   a02ac12d2d48 drm: return -EFAULT if copy_to_user() fails
   4c938a635fc3 bnx2x: Check if transceiver implements DDM before access
   270ae00a0346 md: fix for divide error in status_resync
   5533d9ed4112 mmc: core: complete HS400 before checking status
   2da80536f629 qmi_wwan: extend permitted QMAP mux_id value range
   dc84e98393f7 qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode
   dbc6a83cf2bc qmi_wwan: add support for QMAP padding in the RX path
   292ba5b1faf4 bpf, x64: fix stack layout of JITed bpf code
   4c2ce7addda8 bpf, devmap: Add missing RCU read lock on flush
   ab44f8bcf2e5 bpf, devmap: Add missing bulk queue free
   8d09e862103b bpf, devmap: Fix premature entry free on destroying map
   ba0afe520ee9 mac80211: do not start any work during reconfigure flow
   de8cf2c0bc64 mac80211: only warn once on chanctx_conf being NULL
   9c2dd6d47131 ARM: davinci: da8xx: specify dma_coherent_mask for lcdc
   3bbcc8b9ad37 ARM: davinci: da850-evm: call regulator_has_full_constraints()
   443250665388 mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed
   512bbb114b99 KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy
   41420ac584d7 Input: imx_keypad - make sure keyboard can always wake up system
   b71f312e9bf7 riscv: Fix udelay in RV32.
   122c6a71c08d drm/vmwgfx: fix a warning due to missing dma_parms
   d3861d4ca94c drm/vmwgfx: Honor the sg list segment size limitation
   c0b12abd1828 s390/boot: disable address-of-packed-member warning
   e71daed5176f ARM: dts: am335x phytec boards: Fix cd-gpios active level
   822c2ee81c63 ibmvnic: Fix unchecked return codes of memory allocations
   0f06004d16be ibmvnic: Refresh device multicast list after reset
   e65dd528bb8e ibmvnic: Do not close unopened driver during reset
   374180b11b29 net: phy: rename Asix Electronics PHY driver
   473a75c7fab5 can: af_can: Fix error path of can_init()
   486954277fc1 can: m_can: implement errata "Needless activation of MRAF irq"
   270149f78b9c can: mcp251x: add support for mcp25625
   33672c74b484 dt-bindings: can: mcp251x: add mcp25625 support
   07c96e8e8021 soundwire: intel: set dai min and max channels correctly
   c7e427e28a3a mwifiex: Fix heap overflow in mwifiex_uap_parse_tail_ies()
   8e115a079940 iwlwifi: Fix double-free problems in iwl_req_fw_callback()
   d4c0f752c1d2 mwifiex: Fix possible buffer overflows at parsing bss descriptor
   b8588a0981b7 mac80211: free peer keys before vif down in mesh
   acc42e5c2322 mac80211: mesh: fix RCU warning
   e3868c1a462f staging:iio:ad7150: fix threshold mode config bit
   6b1ce3971e05 soundwire: stream: fix out of boundary access on port properties
   6be857082611 bpf: sockmap, fix use after free from sleep in psock backlog workqueue
   bc84982f977d mac80211: fix rate reporting inside cfg80211_calculate_bitrate_he()
   3c24a931e972 samples, bpf: suppress compiler warning
   e7779115bbd9 samples, bpf: fix to change the buffer size for read()
   fe01e93c3fd1 Input: elantech - enable middle button support on 2 ThinkPads
   2883fc1ece69 soc: bcm: brcmstb: biuctrl: Register writes require a barrier
   2f1c962a7416 soc: brcmstb: Fix error path for unsupported CPUs
   e8250f730410 crypto: talitos - rename alternative AEAD algos.
   7a6bfa08b938 Linux 4.19.58
   f37de75cb8eb dmaengine: imx-sdma: remove BD_INTR for channel0
   018c968de710 dmaengine: qcom: bam_dma: Fix completed descriptors count
   870de1499505 MIPS: have "plain" make calls build dtbs for selected platforms
   8957895b35de MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
   2b8f8a80ca8b MIPS: Fix bounds check virt_addr_valid
   80b25628ff26 svcrdma: Ignore source port when computing DRC hash
   8129a10ce78f nfsd: Fix overflow causing non-working mounts on 1 TB machines
   f25c06955f8d KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC
   f6472f50fbfc KVM: x86: degrade WARN to pr_warn_ratelimited
   ac0024baf073 netfilter: ipv6: nf_defrag: accept duplicate fragments again
   54e8cf41b20b bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
   e6c288f7307e net: hns: fix unsigned comparison to less than zero
   4f24801ef50b sc16is7xx: move label 'err_spi' to correct section
   318244f3641a netfilter: ipv6: nf_defrag: fix leakage of unqueued fragments
   a8891c5e2251 ip6: fix skb leak in ip6frag_expire_frag_queue()
   382bc84da904 rds: Fix warning.
   7e6af1fa80b8 ALSA: hda: Initialize power_state field properly
   c8c88293bf72 net: hns: Fixes the missing put_device in positive leg for roce reset
   6bf9677300f3 x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting
   b91ec6ae14da selftests: fib_rule_tests: Fix icmp proto with ipv6
   e2851c3ee0be scsi: tcmu: fix use after free
   04096b3beace mac80211: mesh: fix missing unlock on error in table_path_del()
   e2379b044d67 f2fs: don't access node/meta inode mapping after iput
   e9fde78c3a4f drm/fb-helper: generic: Don't take module ref for fbcon
   7821bcce20aa media: s5p-mfc: fix incorrect bus assignment in virtual child device
   3ddc2a100706 net/smc: move unhash before release of clcsock
   cd54dc4cd37d mlxsw: spectrum: Handle VLAN device unlinking
   a8a296abee36 tty: rocket: fix incorrect forward declaration of 'rp_init()'
   fb814f215013 btrfs: Ensure replaced device doesn't have pending chunk allocation
   27ce6c2675f6 mm/vmscan.c: prevent useless kswapd loops
   c854d9b6ef8d ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()
   2e716c3b562d drm/imx: only send event on crtc disable if kept disabled
   8ec242fd431b drm/imx: notify drm core before sending event during crtc disable
   d2d061351d64 drm/etnaviv: add missing failure path to destroy suballoc
   ec5d99e18d30 drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
   ec6d8c9e6687 drm/amd/powerplay: use hardware fan control if no powerplay fan table
   b6d56f4f6a49 arm64: kaslr: keep modules inside module region when KASAN is enabled
   7cab3dfa6d74 ARM: dts: armada-xp-98dx3236: Switch to armada-38x-uart serial node
   c8790d7f76be tracing/snapshot: Resize spare buffer if size changed
   052b31810085 fs/userfaultfd.c: disable irqs for fault_pending and event locks
   ea38007107d6 lib/mpi: Fix karactx leak in mpi_powm
   7df1e2f59bde ALSA: hda/realtek - Change front mic location for Lenovo M710q
   899377c50e60 ALSA: hda/realtek: Add quirks for several Clevo notebook barebones
   d9b6936b134e ALSA: usb-audio: fix sign unintended sign extension on left shifts
   7f52af5e9baa ALSA: line6: Fix write on zero-sized buffer
   3663bf2baa97 ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages
   9d2ac58c1ef9 ALSA: seq: fix incorrect order of dest_client/dest_ports arguments
   ae3fa28f0938 crypto: cryptd - Fix skcipher instance memory leak
   015c20532ace crypto: user - prevent operating on larval algorithms
   54435b7fff7b ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME
   600d3712ae12 drm/i915/dmc: protect against reading random memory
   2b39351e3844 ftrace: Fix NULL pointer dereference in free_ftrace_func_mapper()
   938044171949 module: Fix livepatch/ftrace module text permissions race
   220adcc0e0ca tracing: avoid build warning with HAVE_NOP_MCOUNT
   79fccb9815db mm/mlock.c: change count_mm_mlocked_page_nr return type
   4fce0a79e985 scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
   b7747ecb82be cpuset: restore sanity to cpuset_cpus_allowed_fallback()
   e33aeb9a7c0a i2c: pca-platform: Fix GPIO lookup code
   7cf431edfb71 platform/mellanox: mlxreg-hotplug: Add devm_free_irq call to remove flow
   c241f3fbfa1a platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration
   f853112772b0 platform/x86: intel-vbtn: Report switch events when event wakes device
   2ac96173bee0 platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi
   027e043f9c78 drm: panel-orientation-quirks: Add quirk for GPD MicroPC
   2446563dd6d7 drm: panel-orientation-quirks: Add quirk for GPD pocket2
   8be5629b9622 scsi: hpsa: correct ioaccel2 chaining
   c1bef204c70a SoC: rt274: Fix internal jack assignment in set_jack callback
   1023af0c069d ALSA: hdac: fix memory release for SST and SOF drivers
   26a6acde2a42 usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
   9be058f5dd70 usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i]
   5284327f4e17 x86/CPU: Add more Icelake model numbers
   74929087384f ASoC: sun4i-i2s: Add offset to RX channel select
   32475634e8a8 ASoC: sun4i-i2s: Fix sun8i tx channel offset mask
   7b7486398a32 ASoC: max98090: remove 24-bit format support if RJ is 0
   3b60f98ef496 drm/mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()
   34e5e1c4874f drm/mediatek: clear num_pipes when unbind driver
   a8a86e9a5533 drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
   79e095d234bb drm/mediatek: unbind components in mtk_drm_unbind()
   319f4699bcaa drm/mediatek: fix unbind functions
   dbd94f4938c6 spi: bitbang: Fix NULL pointer dereference in spi_unregister_master
   3f8d3c9506a5 ASoC: ak4458: rstn_control - return a non-zero on error only
   3c3dd68c48e8 ASoC: soc-pcm: BE dai needs prepare when pause release after resume
   4c31b4b4ba65 ASoC: ak4458: add return value for ak4458_probe
   0c19bcdb0db9 ASoC : cs4265 : readable register too low
   c549680ed59b netfilter: nft_flow_offload: IPCB is only valid for ipv4 family
   041c181e6ba0 netfilter: nft_flow_offload: don't offload when sequence numbers need adjustment
   48f611ecea0e netfilter: nft_flow_offload: set liberal tracking mode for tcp
   3b2734bc839d netfilter: nf_flow_table: ignore DF bit setting
   869eec894663 md/raid0: Do not bypass blocking queue entered for raid0 bios
   c9d8d3e9d7a0 block: Fix a NULL pointer dereference in generic_make_request()
   5dd6139a0aa2 Bluetooth: Fix faulty expression for minimum encryption key size check

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolinux-yocto/4.19: update to 4.19.57 and -rt22
Bruce Ashfield [Fri, 5 Jul 2019 16:14:04 +0000 (12:14 -0400)]
linux-yocto/4.19: update to 4.19.57 and -rt22

Updating the linux-yocto 4.19 recipe to the latest -stable and -rt
releases.

We also integrate a configuration change to support ptests on scsci
targets:

  scsi-debug: include core scsi support for standalone inclusion

The -stable changes comprise the following commits:

   1a0592436669 Linux 4.19.57
   3919d91f4d36 arm64: insn: Fix ldadd instruction encoding
   9c423fd89a2b usb: dwc3: Reset num_trbs after skipping
   2bbb6b547fbe tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb
   89c49e7b6b0a RDMA: Directly cast the sockaddr union to sockaddr
   a319c8ff4f09 futex: Update comments and docs about return values of arch futex code
   4423a82cbde3 bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd
   436869e0cd6d arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
   ba6340a7297f bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err
   79c6a8c09978 bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
   613bc37f74c9 bpf: fix unconnected udp hooks
   a7177b94aff4 bpf: fix nested bpf tracepoints with per-cpu data
   4992d4af5881 bpf: lpm_trie: check left child of last leftmost node for NULL
   5e558f9a6d7b bpf: simplify definition of BPF_FIB_LOOKUP related flags
   7d2c0ec20cb2 tun: wake up waitqueues after IFF_UP is set
   a08b915457d6 tipc: check msg->req data len in tipc_nl_compat_bearer_disable
   fdf3e98e1fd9 tipc: change to use register_pernet_device
   32b711f57ce7 team: Always enable vlan tx offload
   eeb770d6ab77 sctp: change to hold sk after auth shkey is created successfully
   9b7b0aab4750 net: stmmac: set IC bit when transmitting frames with HW timestamp
   a373bf728188 net: stmmac: fixed new system time seconds value calculation
   7d76fc211609 net: remove duplicate fetch in sock_getsockopt
   05dceb60e5dd net/packet: fix memory leak in packet_set_ring()
   7c92f3efbad0 ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop
   0f3451723ddc bonding: Always enable vlan tx offload
   a4709127e5dd af_packet: Block execution of tasks waiting for transmit to complete in AF_PACKET
   64032e2d9ba8 eeprom: at24: fix unexpected timeout under high load
   c22cea5a21b2 irqchip/mips-gic: Use the correct local interrupt map registers
   dd9f2fb59e01 SUNRPC: Clean up initialisation of the struct rpc_rqst
   b78ad2169282 cpu/speculation: Warn on unsupported mitigations= parameter
   27380331755f NFS/flexfiles: Use the correct TCP timeout for flexfiles I/O
   01a02a98ab1c KVM: x86/mmu: Allocate PAE root array when using SVM's 32-bit NPT
   327460322c7c x86/resctrl: Prevent possible overrun during bitmap operations
   1746dc529104 x86/microcode: Fix the microcode load on CPU hotplug for real
   690049eddb0c x86/speculation: Allow guests to use SSBD even if host does not
   ee71e97285c2 scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck()
   2ba0a5009607 dm log writes: make sure super sector log updates are written in order
   87cf811ab6fb mm/page_idle.c: fix oops because end_pfn is larger than max_pfn
   1192fb703d09 mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge
   aab629188848 mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails
   bcfed145e583 clk: socfpga: stratix10: fix divider entry for the emac clocks
   75f5d78d9fbe fs/binfmt_flat.c: make load_flat_shared_library() work
   49e9b499a34d mm/mempolicy.c: fix an incorrect rebind node in mpol_rebind_nodemask
   6a811c099186 fs/proc/array.c: allow reporting eip/esp for all coredumping threads
   385cacd953b9 usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup
   6edcdd0e6d8f usb: dwc3: gadget: remove wait_end_transfer
   d7ff2e3ff0e0 usb: dwc3: gadget: move requests to cancelled_list
   bba5f9878f67 usb: dwc3: gadget: introduce cancelled_list
   65e1f3403108 usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()
   56092bd50eb9 usb: dwc3: gadget: use num_trbs when skipping TRBs on ->dequeue()
   2a2b1c4dc510 usb: dwc3: gadget: track number of TRBs per request
   420b1237c79f usb: dwc3: gadget: combine unaligned and zero flags
   62805d31969b Revert "usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup"
   3726d8d0b60f qmi_wwan: Fix out-of-bounds read
   cfbe930c7142 net/9p: include trans_common.h to fix missing prototype warning.
   6518b4126b3f 9p/trans_fd: put worker reqs on destroy
   6fad469c84fc 9p/trans_fd: abort p9_read_work if req status changed
   39bf142ae0ca 9p: potential NULL dereference
   6490cdf9d29d 9p: p9dirent_read: check network-provided name length
   e48e7e27e4df 9p/rdma: remove useless check in cm_event_handler
   fb0cbbd8dec7 9p: acl: fix uninitialized iattr access
   3dc511c9ccb9 9p: Rename req to rreq in trans_fd
   04ee7e7b4795 9p/rdma: do not disconnect on down_interruptible EAGAIN
   3665a4d9dca1 9p: Add refcount to p9_req_t
   fa3625794f1a 9p: rename p9_free_req() function
   be87f21e6b25 9p: add a per-client fcall kmem_cache
   1555583b63b3 9p: embed fcall in req to round down buffer allocs
   3ea4cf422323 9p: Use a slab for allocating requests
   f8bc5f1a3aba 9p/xen: fix check for xenbus_read error in front_probe
   a8782ce02687 IB/hfi1: Close PSM sdma_progress sleep window
   fec1a13bdfa9 Revert "x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP"
   85a3b1ef969b arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS
   6461a4543b34 perf header: Fix unchecked usage of strncpy()
   0bf5d53b53c8 perf help: Remove needless use of strncpy()
   6e75d9272c92 perf ui helpline: Use strlcpy() as a shorter form of strncpy() + explicit set nul
   aec3002d07fd Linux 4.19.56
   cd3e49394cb0 powerpc/mm/64s/hash: Reallocate context ids on fork
   8c4fe20091cd x86/resctrl: Don't stop walking closids when a locksetup group is found
   d451b505b676 mac80211: Do not use stack memory with scatterlist for GMAC
   72dc6786d77a nl80211: fix station_info pertid memory leak
   1e1007ac47d8 mac80211: handle deauthentication/disassociation from TDLS peer
   ccf6a155844b {nl,mac}80211: allow 4addr AP operation on crypto controlled devices
   0e879ef1cb5b mac80211: drop robust management frames from unknown TA
   17d941dc3033 cfg80211: fix memory leak of wiphy device name
   5293c79c6f60 SMB3: retry on STATUS_INSUFFICIENT_RESOURCES instead of failing write
   db7f1076c0bd Bluetooth: Fix regression with minimum encryption key size alignment
   5e9a6c68de0f Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
   64e370233a07 staging: erofs: add requirements field in superblock
   e6803ce36d49 drm/vmwgfx: Use the backdoor port if the HB port is not available
   7499528bb078 arm64: ssbd: explicitly depend on <linux/prctl.h>
   3e16b5c25466 arm64/sve: <uapi/asm/ptrace.h> should not depend on <uapi/linux/prctl.h>
   2296fd59eb30 ARM: dts: am57xx-idk: Remove support for voltage switching for SD card
   cc87ab841bb1 ARM: dts: dra76x: Update MMC2_HS200_MANUAL1 iodelay values
   03426208d1f9 ARM: imx: cpuidle-imx6sx: Restrict the SW2ISO increase to i.MX6SX
   48ee85dc9c52 powerpc/bpf: use unsigned division instruction for 64-bit operations
   a96ac5cb8a56 riscv: mm: synchronize MMU after pte change
   5ad9a23e6dae can: purge socket error queue on sock destruct
   4ea81cc49c59 can: flexcan: fix timeout when set small bitrate
   f6a2c8b3c24a can: xilinx_can: use correct bittiming_const for CAN FD core
   c592b1c3a994 btrfs: start readahead also in seed devices
   17f1dca21d16 nvme: Fix u32 overflow in the number of namespace list calculation
   71d019a6dae9 arm64: Silence gcc warnings about arch ABI drift
   d72a4c78c124 hwmon: (pmbus/core) Treat parameters as paged if on multiple pages
   6029e5818805 hwmon: (core) add thermal sensors only if dev->of_node is present
   153f2d97d0d7 s390/qeth: fix VLAN attribute in bridge_hostnotify udev event
   cedb209bfa5a net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set
   5327e985e61e scsi: smartpqi: unlock on error in pqi_submit_raid_request_synchronous()
   04ceb1348973 scsi: ufs: Check that space was properly alloced in copy_query_response
   e1a101a9dae9 scripts/checkstack.pl: Fix arm64 wrong or unknown architecture
   1f74977c2740 nvmet: fix data_len to 0 for bdev-backed write_zeroes
   8388af891e0e drm/arm/hdlcd: Allow a bit of clock tolerance
   7c7c88deb14d drm/arm/hdlcd: Actually validate CRTC modes
   1fcb0e389538 drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times
   377958c3ff2c net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled
   ee2f9878bc04 net: ethernet: mediatek: Use hw_feature to judge if HWLRO is supported
   16cdab63987c sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD
   7b460a9bb13d mdesc: fix a missing-check bug in get_vdev_port_node_info()
   6bf97a6cb6ce net: hns: Fix loopback test failed at copper ports
   4336ba249b7d net: dsa: mv88e6xxx: avoid error message on remove from VLAN 0
   bf51ec92a35e selftests: vm: install test_vmalloc.sh for run_vmtests
   a0e8215eb9f8 kselftest/cgroup: fix incorrect test_core skip
   59243d6fb45c kselftest/cgroup: fix unexpected testing failure on test_core
   9c2eebe31d75 kselftest/cgroup: fix unexpected testing failure on test_memcontrol
   ae0d1c08843d xtensa: Fix section mismatch between memblock_reserve and mem_reserve
   3089c0ea8a1f MIPS: uprobes: remove set but not used variable 'epc'
   63542eb24ab9 IB/hfi1: Validate page aligned for a given virtual address
   4d61fc383bb5 IB/{qib, hfi1, rdmavt}: Correct ibv_devinfo max_mr value
   830991121773 IB/hfi1: Insure freeze_work work_struct is canceled on shutdown
   3fe551cc9e4e IB/rdmavt: Fix alloc_qpn() WARN_ON()
   3333e0409424 parisc: Fix compiler warnings in float emulation code
   f9dd0f0928a3 parport: Fix mem leak in parport_register_dev_model
   4c950c8bb31a fpga: dfl: Add lockdep classes for pdata->lock
   505de32ea952 fpga: dfl: afu: Pass the correct device to dma_mapping_error()
   7b2145e22247 ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node
   15004afd9845 ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node
   8f3793bfa3ea dmaengine: sprd: Fix block length overflow
   e478abd4ebf7 dmaengine: dw-axi-dmac: fix null dereference when pointer first is null
   4c21b761b40e ARC: fix build warnings
   d64f99ef010d brcmfmac: sdio: Don't tune while the card is off
   0ad82f2eb3f6 brcmfmac: sdio: Disable auto-tuning around commands expected to fail
   31c99580687a apparmor: enforce nullbyte at end of tag string
   eb2b0bf5c4a4 apparmor: fix PROFILE_MEDIATES for untrusted input
   1d08fe254fd6 Input: silead - add MSSL0017 to acpi_device_id
   ebd7dda84ec2 Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD
   9f3559e4f6cd Input: synaptics - enable SMBus on ThinkPad E480 and E580
   e61e41ffcfeb iio: temperature: mlx90632 Relax the compatibility check
   303386b31bfb IB/hfi1: Silence txreq allocation warnings
   7cc9c9930947 IB/hfi1: Validate fault injection opcode user input
   17027034a47b usb: xhci: Don't try to recover an endpoint if port is in error state.
   d606a82ccc0a xhci: detect USB 3.2 capable host controllers correctly
   e6563039674d usb: chipidea: udc: workaround for endpoint conflict issue
   0746b2f50142 scsi: ufs: Avoid runtime suspend possibly being blocked forever
   98467b8fda41 mmc: core: Prevent processing SDIO IRQs when the card is suspended
   0349dbebbb0b mmc: core: Add sdio_retune_hold_now() and sdio_retune_release()
   7ed49e1bf5b3 mmc: core: API to temporarily disable retuning for SDIO CRC errors
   4b6d290cc1c1 mmc: sdhci: sdhci-pci-o2micro: Correctly set bus width when tuning
   4c15ded55979 s390/ap: rework assembler functions to use unions for in/out register variables
   fb48fb155e1b s390/jump_label: Use "jdd" constraint on gcc9
   0319ef1d40ff ovl: fix bogus -Wmaybe-unitialized warning
   639e8c2f0910 ovl: don't fail with disconnected lower NFS
   f1c5aa5eda08 ovl: detect overlapping layers
   a00f405e133f ovl: make i_ino consistent with st_ino in more cases
   d6623379d895 ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls
   3cb5d7fa8f7d ovl: support the FS_IOC_FS[SG]ETXATTR ioctls
   76343a1363f8 gcc-9: silence 'address-of-packed-member' warning
   6a997c3a239a objtool: Support per-function rodata sections
   c493ead38adb tracing: Silence GCC 9 array bounds warning
   78778071092e Linux 4.19.55
   dad3a9314ac9 tcp: refine memory limit test in tcp_fragment()
   63bbbcd8ed53 Linux 4.19.54
   e8e448b08450 Abort file_remove_privs() for non-reg. files
   465ce9a50f8a coredump: fix race condition between collapse_huge_page() and core dumping
   c7fb6b75def2 ocfs2: fix error path kobject memory leak
   fedb1b9c9191 mlxsw: spectrum: Prevent force of 56G
   114e8135ae00 scsi: libsas: delete sas port if expander discover failed
   89ede9d8b5b8 scsi: scsi_dh_alua: Fix possible null-ptr-deref
   cb7c6c33d3bb scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask
   214c5933ffcf scsi: libcxgbi: add a check for NULL pointer in cxgbi_check_route()
   7b9e10944f0d net: phy: dp83867: Set up RGMII TX delay
   7698ad8c14c7 net: phylink: ensure consistent phy interface mode
   8fb2c7969009 net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/A1 SoCs
   467f902643f5 arm64: use the correct function type for __arm64_sys_ni_syscall
   98fd62e0a157 arm64: use the correct function type in SYSCALL_DEFINE0
   c5fdfaedecc2 arm64: fix syscall_fn_t type
   df6384e0f42e KVM: PPC: Book3S HV: Don't take kvm->lock around kvm_for_each_vcpu
   b376683f6ab1 KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list
   4acce744284c xenbus: Avoid deadlock during suspend due to open transactions
   66f33b2bd2d8 xen/pvcalls: Remove set but not used variable
   d92ebe0c1d26 ia64: fix build errors by exporting paddr_to_nid()
   60a3e3b9e5ec perf record: Fix s390 missing module symbol and warning for non-root users
   be0e62666da1 perf namespace: Protect reading thread's namespace
   7d523e33f4b6 perf data: Fix 'strncat may truncate' build failure with recent gcc
   e9fcebe01822 configfs: Fix use-after-free when accessing sd->s_dentry
   ab7a3d9accae ALSA: hda - Force polling mode on CNL for fixing codec communication
   7bea5618eaf9 i2c: dev: fix potential memory leak in i2cdev_ioctl_rdwr
   197501af7ff3 net: aquantia: fix LRO with FCS error
   388534d45f04 net: aquantia: tx clean budget logic error
   b7ca3f331d57 drm/etnaviv: lock MMU while dumping core
   ee61fb4de955 ACPI/PCI: PM: Add missing wakeup.flags.valid checks
   bc19b50b80ca net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE()
   9a3208b66cc1 net: stmmac: update rx tail pointer register to fix rx dma hang issue.
   3fbcef3350ab gpio: fix gpio-adp5588 build errors
   991ea848a5c9 perf/ring-buffer: Always use {READ,WRITE}_ONCE() for rb->user_page data
   c133c9db233d perf/ring_buffer: Add ordering to rb->nest increment
   cca19ab29a1a perf/ring_buffer: Fix exposing a temporarily decreased data_head
   a35e78220a9f x86/CPU/AMD: Don't force the CPB cap when running under a hypervisor
   8e5666cdb36b mISDN: make sure device name is NUL terminated
   f3885eecd253 usb: xhci: Fix a potential null pointer dereference in xhci_debugfs_create_endpoint()
   930d31a6f344 powerpc/powernv: Return for invalid IMC domain
   00ed897d618e clk: ti: clkctrl: Fix clkdm_clk handling
   ef4ffa0f0b67 selftests: netfilter: missing error check when setting up veth interface
   61c83de6e622 ipvs: Fix use-after-free in ip_vs_in
   883ce78cded5 netfilter: nf_queue: fix reinject verdict handling
   5a9c29cc2140 perf/x86/intel/ds: Fix EVENT vs. UEVENT PEBS constraints
   dd9b6de79b67 Staging: vc04_services: Fix a couple error codes
   97605ba68790 net: mvpp2: prs: Use the correct helpers when removing all VID filters
   b6a1eabf72a0 net: mvpp2: prs: Fix parser range for VID filtering
   4642a659ab96 net/mlx5: Avoid reloading already removed devices
   1b201b63b647 vsock/virtio: set SOCK_DONE on peer shutdown
   b86a5ccda5c3 tipc: purge deferredq list for each grp member in tipc_group_delete
   e1b0c311b790 sunhv: Fix device naming inconsistency between sunhv_console and sunhv_reg
   d7fcb54ed2a9 sctp: Free cookie before we memdup a new one
   4bb4ba362cc1 nfc: Ensure presence of required attributes in the deactivate_target handler
   7530c3f3d5b9 net: openvswitch: do not free vport if register_netdevice() is failed.
   fc762c999768 net: dsa: rtl8366: Fix up VLAN filtering
   103835df6821 neigh: fix use-after-free read in pneigh_get_next
   2980196db6c1 lapb: fixed leak of control-blocks.
   7eadfacd2be2 ipv6: flowlabel: fl6_sock_lookup() must use atomic_inc_not_zero
   a5ae5920426e hv_netvsc: Set probe mode to sync
   674dc77bd3ec be2net: Fix number of Rx queues used for flow hashing
   10faaa359b41 ax25: fix inconsistent lock state in ax25_destroy_timer
   9f31eb60d7a2 Linux 4.19.53
   90fc261d509e rtc: pcf8523: don't return invalid date when battery is low
   04757d0e3789 drm: add fallback override/firmware EDID modes workaround
   29a6026624cd drm/edid: abstract override/firmware EDID retrieval
   e93ce57f60ca x86/resctrl: Prevent NULL pointer dereference when local MBM is disabled
   0257fc9aa53f x86/mm/KASLR: Compute the size of the vmemmap section properly
   5e3d10d9375d x86/kasan: Fix boot with 5-level paging and KASAN
   ecec31ce4f33 x86/microcode, cpuhotplug: Add a microcode loader CPU hotplug callback
   fa982c692b2f RAS/CEC: Fix binary search function
   e40db40e45cc RAS/CEC: Convert the timer callback to a workqueue
   ca4c34037bb9 timekeeping: Repair ktime_get_coarse*() granularity
   0fcd1432f8b0 USB: serial: option: add Telit 0x1260 and 0x1261 compositions
   5080fb4b3828 USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode
   d5f20ee10ac0 USB: serial: pl2303: add Allied Telesis VT-Kit3
   c00cd066a024 USB: usb-storage: Add new ID to ums-realtek
   3c7439e2eab9 USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.
   f05b0bf073ef usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)
   63feb7e69fdc usb: dwc2: Fix DMA cache alignment issues
   15bc8e8d4dad drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()
   328648ac6aa5 drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an invalid read
   2399b2ac2be7 tools/kvm_stat: fix fields filter for child events
   f69f5679ff8f KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION
   9d8f338c92cc KVM: x86/pmu: do not mask the value that is written to fixed PMUs
   04d2a113a283 KVM: x86/pmu: mask the result of rdpmc according to the width of the counters
   60b300975e5f KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation
   9366f5dc8409 usbnet: ipheth: fix racing condition
   86895090621c tracing: Prevent hist_field_var_ref() from accessing NULL tracing_map_elts
   b64df8133c2e selftests/timers: Add missing fflush(stdout) calls
   3e1d7417b4d6 selftests: fib_rule_tests: fix local IPv4 address typo
   90a564549b4a libnvdimm: Fix compilation warnings with W=1
   ccc9ba8d2508 scsi: bnx2fc: fix incorrect cast to u64 on shift operation
   d7a32c8a1ce1 platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table
   1a80d9ff8253 platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table
   c0d3e166e16a nvme: fix memory leak for power latency tolerance
   ddda7e850bf1 nvme: release namespace SRCU protection before performing controller ioctls
   3188fcebbcbd nvme: merge nvme_ns_ioctl into nvme_ioctl
   54261634bdf8 nvme: remove the ifdef around nvme_nvm_ioctl
   a6515af9b839 nvme: fix srcu locking on error return in nvme_get_ns_from_disk
   c4e97af6bff4 arm64/mm: Inhibit huge-vmap with ptdump
   0e50da1e7ced scsi: lpfc: add check for loss of ndlp when sending RRQ
   334d1a2373af scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show
   32d3f7d9dec1 scsi: qedi: remove set but not used variables 'cdev' and 'udev'
   f3a7a1137ffc scsi: qedi: remove memset/memcpy to nfunc and use func instead
   ae3787d433f7 f2fs: fix to avoid accessing xattr across the boundary
   32f26da4b769 Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var
   fcc1ce5b4f42 s390/kasan: fix strncpy_from_user kasan checks
   eddfe9672ed2 Revert "ALSA: seq: Protect in-kernel ioctl calls with mutex"
   731ebeeda51f ALSA: seq: Fix race of get-subscription call vs port-delete ioctls
   b52fd8af8db3 ALSA: seq: Protect in-kernel ioctl calls with mutex
   82055ad3d3ed x86/uaccess, kcov: Disable stack protector
   b08ec06c94fc drm/i915/sdvo: Implement proper HDMI audio support for SDVO
   b7398f45e3d6 ASoC: fsl_asrc: Fix the issue about unsupported rate
   d7d15ac38ba6 ASoC: cs42xx8: Add regcache mask dirty
   c3b85bda41f0 cgroup: Use css_tryget() instead of css_tryget_online() in task_get_css()
   e599bfe54305 bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached
   973fc2b3434b bcache: fix stack corruption by PRECEDING_KEY()
   da3b915a57c3 i2c: acorn: fix i2c warning
   d3e58022c017 iommu/arm-smmu: Avoid constant zero in TLBI writes
   31e216cf9dc2 ptrace: restore smp_rmb() in __ptrace_may_access()
   662b831dde61 signal/ptrace: Don't leak unitialized kernel memory with PTRACE_PEEK_SIGINFO
   54a20289cbfb mm/vmscan.c: fix trying to reclaim unevictable LRU page
   6b9aa7ac48d7 fs/ocfs2: fix race in ocfs2_dentry_attach_lock()
   553a1f0d3c69 mm/list_lru.c: fix memory leak in __memcg_init_list_lru_node
   b7f8bbbbb973 libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
   88fe03076062 ALSA: firewire-motu: fix destruction of data for isochronous resources
   786b1b40dfb9 ALSA: hda/realtek - Update headset mode for ALC256
   27effeff4533 ALSA: oxfw: allow PCM capture for Stanton SCS.1m
   b59c93226489 Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops"
   9fbd67c56529 HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary
   dd1d71ad57a4 HID: wacom: Correct button numbering 2nd-gen Intuos Pro over Bluetooth
   529013533d73 HID: wacom: Send BTN_TOUCH in response to INTUOSP2_BT eraser contact
   3e9c0eb15932 HID: wacom: Don't report anything prior to the tool entering range
   52a7d604615a HID: wacom: Don't set tool type until we're in range
   fa212dd5a604 HID: multitouch: handle faulty Elo touch device
   9ae306d8dbc8 nouveau: Fix build with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT disabled
   d54e1b848e99 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
   6500aa436df4 Linux 4.19.52
   59222807fcc9 tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
   7f9f8a37e563 tcp: add tcp_min_snd_mss sysctl
   ec83921899a5 tcp: tcp_fragment() should apply sane memory limits
   c09be31461ed tcp: limit payload size of sacked skbs
   7aa823a959e1 Linux 4.19.51
   b323914cd033 ALSA: seq: Cover unsubscribe_port() in list_mutex
   3af96f3497b7 drm/vc4: fix fb references in async update
   afec706807cd ovl: support stacked SEEK_HOLE/SEEK_DATA
   22dac6cc9549 ovl: check the capability before cred overridden
   b616b9dbc5f6 Revert "drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)"
   8e5483aeae0d Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections"
   526972e95ef9 percpu: do not search past bitmap when allocating an area
   d4d5dce6d329 gpio: vf610: Do not share irq_chip
   28229df6ad13 soc: renesas: Identify R-Car M3-W ES1.3
   db54e08c5832 usb: typec: fusb302: Check vconn is off when we start toggling
   ce183fad3aa8 ARM: exynos: Fix undefined instruction during Exynos5422 resume
   384642ff6465 pwm: Fix deadlock warning when removing PWM device
   7905b2331338 ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8 regulators on Arndale Octa
   78002e383be7 pwm: tiehrpwm: Update shadow register for disabling PWMs
   9fdcb04e80e1 dmaengine: idma64: Use actual device for DMA transfers
   da00c89fce7a ice: Add missing case in print_link_msg for printing flow control
   456e3563725a gpio: gpio-omap: add check for off wake capable gpios
   47d281bbbff9 PCI: xilinx: Check for __get_free_pages() failure
   b5a185ee30d7 block, bfq: increase idling for weight-raised queues
   e06d7a92796c video: imsttfb: fix potential NULL pointer dereferences
   1f2611af4581 video: hgafb: fix potential NULL pointer dereference
   5957f6f5aaa6 scsi: qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags
   c2c7b6fee389 PCI: rcar: Fix 64bit MSI message address handling
   dd54e70c47de PCI: rcar: Fix a potential NULL pointer dereference
   272f8c3ddd31 net: hns3: return 0 and print warning when hit duplicate MAC
   5a286ced4911 power: supply: max14656: fix potential use-before-alloc
   901daed2f173 platform/x86: intel_pmc_ipc: adding error handling
   613752b3a8fb ARM: OMAP2+: pm33xx-core: Do not Turn OFF CEFUSE as PPA may be using it
   668440f6ee3f drm/amd/display: Use plane->color_space for dpp if specified
   671fc9007c48 PCI: rpadlpar: Fix leaked device_node references in add/remove paths
   b531acbd86d2 ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock to SDMA
   584cabc69aee ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA
   02936545fbea ARM: dts: imx6ul: Specify IMX6UL_CLK_IPG as "ipg" clock to SDMA
   36a7fda0595b ARM: dts: imx7d: Specify IMX7D_CLK_IPG as "ipg" clock to SDMA
   c84911bb39d1 ARM: dts: imx6sll: Specify IMX6SLL_CLK_IPG as "ipg" clock to SDMA
   a2e661f99c4d ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ahb" clock to SDMA
   461f4183926c ARM: dts: imx53: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
   998860d0384d ARM: dts: imx50: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
   70465bbbaeae ARM: dts: imx51: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
   57f89084a7e1 soc: rockchip: Set the proper PWM for rk3288
   b16594860a30 clk: rockchip: Turn on "aclk_dmac1" for suspend on rk3288
   8e9dd864d6a7 soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher
   f7c0e67054d8 PCI: keystone: Prevent ARM32 specific code to be compiled for ARM64
   a357310a5774 platform/chrome: cros_ec_proto: check for NULL transfer function
   b78a9b2818d5 i40e: Queues are reserved despite "Invalid argument" error
   aeb743dbe936 x86/PCI: Fix PCI IRQ routing table memory leak
   47e6a354e248 net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending
   31aa2a7a8566 switchtec: Fix unintended mask of MRPC event
   4b19a45eed4d iommu/arm-smmu-v3: Don't disable SMMU in kdump kernel
   f7883f9b5a67 vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING"
   806e83958482 nfsd: avoid uninitialized variable warning
   b4330e4a7c12 nfsd: allow fh_want_write to be called twice
   ae35c325d8fd fuse: retrieve: cap requested size to negotiated max_write
   1c2e974628d1 nvmem: sunxi_sid: Support SID on A83T and H5
   0412a8857198 nvmem: core: fix read buffer in place
   962ce4023178 ALSA: hda - Register irq handler after the chip initialization
   028b3d8d549e netfilter: nf_flow_table: fix netdev refcnt leak
   650a4b7c5d66 netfilter: nf_flow_table: check ttl value in flow offload data path
   52d7b067fadf nvme-pci: shutdown on timeout during deletion
   6ce2ad24ae9c nvme-pci: unquiesce admin queue on shutdown
   e9db931283fd PCI: designware-ep: Use aligned ATU window for raising MSI interrupts
   a7f27994b207 misc: pci_endpoint_test: Fix test_reg_bar to be updated in pci_endpoint_test
   ed6efdb74438 iommu/vt-d: Set intel_iommu_gfx_mapped correctly
   525b5265fd75 blk-mq: move cancel of requeue_work into blk_mq_release
   d6c80b609d81 watchdog: fix compile time error of pretimeout governors
   0f50c30c8470 watchdog: imx2_wdt: Fix set_timeout for big timeout values
   dc58e4027430 netfilter: nf_tables: fix base chain stat rcu_dereference usage
   2d433cc9bd31 mips: Make sure dt memory regions are valid
   2aed9dfe1e5d netfilter: nf_conntrack_h323: restore boundary check correctness
   d0941980fd81 netfilter: nf_flow_table: fix missing error check for rhashtable_insert_fast
   217ec4a6e4ef mmc: mmci: Prevent polling for busy detection in IRQ context
   06382ad6cf31 ovl: do not generate duplicate fsnotify events for "fake" path
   5fbe39bfd1e0 PCI: dwc: Free MSI IRQ page in dw_pcie_free_msi()
   a6b79e2c7c02 PCI: dwc: Free MSI in dw_pcie_host_init() error path
   a4aa02826701 uml: fix a boot splat wrt use of cpu_all_mask
   4dc146d47fea configfs: fix possible use-after-free in configfs_register_group
   5329dcafead2 percpu: remove spurious lock dependency between percpu and sched
   8d7ebdd109b4 f2fs: fix to do checksum even if inode page is uptodate
   640248545436 f2fs: fix to do sanity check on valid block count of segment
   101e48feb661 f2fs: fix to use inline space only if inline_xattr is enable
   45624f0e8142 f2fs: fix to avoid panic in dec_valid_block_count()
   47a92acf9ebf f2fs: fix to clear dirty inode in error path of f2fs_iget()
   ca9fcbc5a5f5 f2fs: fix to do sanity check on free nid
   f3aa313d0d4f f2fs: fix to avoid panic in f2fs_remove_inode_page()
   0325c5cce544 f2fs: fix to avoid panic in f2fs_inplace_write_data()
   8490bf2d6176 f2fs: fix to avoid panic in do_recover_data()
   0b50d08c5d85 ntp: Allow TAI-UTC offset to be set to zero
   102f6e1249fb mailbox: stm32-ipcc: check invalid irq
   c5b2c8249ff3 pwm: meson: Use the spin-lock only to protect register modifications
   689fe88d51aa EDAC/mpc85xx: Prevent building as a module
   f9ee13ce21db bpf: fix undefined behavior in narrow load handling
   991b51048c49 drm/nouveau/kms/gv100-: fix spurious window immediate interlocks
   20e1a16702d9 objtool: Don't use ignore flag for fake jumps
   124c23dca3ac drm/bridge: adv7511: Fix low refresh rate selection
   2a3f2b43a9e3 drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders change
   f9706dd945e9 perf/x86/intel: Allow PEBS multi-entry in watermark mode
   5540d0146151 mfd: twl6040: Fix device init errors for ACCCTL register
   3b8892bea9eb drm/nouveau/disp/dp: respect sink limits when selecting failsafe link configuration
   e9a8c9805f58 mfd: intel-lpss: Set the device in reset state when init
   12c57327a128 mfd: tps65912-spi: Add missing of table registration
   1196b79a20f7 drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER
   fd77a5117721 thermal: rcar_gen3_thermal: disable interrupt in .remove
   c50c4fb0cb62 kernel/sys.c: prctl: fix false positive in validate_prctl_map()
   515d18ced8e1 mm/slab.c: fix an infinite loop in leaks_show()
   13e1ea0881da mm/cma_debug.c: fix the break condition in cma_maxchunk_get()
   38c5fce7fc48 mm: page_mkclean vs MADV_DONTNEED race
   77a01e33570c mm/cma.c: fix the bitmap status to show failed allocation reason
   25511676362d initramfs: free initrd memory if opening /initrd.image fails
   e5f8857ea972 mm/cma.c: fix crash on CMA allocation if bitmap allocation fails
   5094a85d6d93 mem-hotplug: fix node spanned pages when we have a node with only ZONE_MOVABLE
   ffaafd27b067 hugetlbfs: on restore reserve error path retain subpool reservation
   85e1a6c4b3e5 mm/hmm: select mmu notifier when selecting HMM
   e0c3fc1f8fe3 ARM: prevent tracing IPI_CPU_BACKTRACE
   4d3811a60e10 drm/pl111: Initialize clock spinlock early
   20de754a7d88 ipc: prevent lockup on alloc_msg and free_msg
   91ae202e2c88 sysctl: return -EINVAL if val violates minmax
   5b6619b4d206 fs/fat/file.c: issue flush after the writeback of FAT
   2a89e4c5ee2e rapidio: fix a NULL pointer dereference when create_workqueue() fails
   768292d05361 Linux 4.19.50
   51dc284e2a87 ethtool: check the return value of get_regs_len
   645fa685bb20 ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled
   ec8a9eb2a6c1 TTY: serial_core, add ->install
   6bdc692f5c9e drm/i915/gvt: Initialize intel_gvt_gtt_entry in stack
   fbb7e114e6e6 drm: don't block fb changes for async plane updates
   6600ec2600d6 drm/i915: Maintain consistent documentation subsection ordering
   360e00e290a3 drm/i915/fbc: disable framebuffer compression on GeminiLake
   554f4253700e drm/i915: Fix I915_EXEC_RING_MASK
   f3dcc88d531f drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in
   84c82ab8f133 drm/radeon: prefer lower reference dividers
   748a97ec6c15 drm/amdgpu/psp: move psp version specific function pointers to early_init
   98a8cb0282ab drm: add non-desktop quirks to Sensics and OSVR headsets.
   610382337557 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
   490290b0415f drm: add non-desktop quirk for Valve HMDs
   ac222e8a50af drm/msm: fix fb references in async update
   6470aa05ae15 drm/gma500/cdv: Check vbt config bits when detecting lvds panels
   7fbcb7d1031d test_firmware: Use correct snprintf() limit
   67bdeb0c6f5c genwqe: Prevent an integer overflow in the ioctl
   221c44d2d7fa Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment"
   2d9d3ab541a6 MIPS: pistachio: Build uImage.gz by default
   eee609635076 MIPS: Bounds check virt_addr_valid
   b9b75a460076 xen-blkfront: switch kcalloc to kvcalloc for large array allocation
   7aad9269a6e8 s390/mm: fix address space detection in exception handling
   7737eff01711 i2c: xiic: Add max_read_len quirk
   b598ddc7b9fc x86/insn-eval: Fix use-after-free access to LDT entry
   4d166206cf41 x86/power: Fix 'nosmt' vs hibernation triple fault during resume
   f4d0227ff170 pstore/ram: Run without kernel crash dump region
   aa73a3b205a4 pstore: Set tfm to NULL on free_buf_for_compression
   d4128a1b580c pstore: Convert buf_lock to semaphore
   c63ce7166daf pstore: Remove needless lock during console writes
   a3b8b4ad6db7 fuse: fallocate: fix return with locked inode
   56e3f73e838a NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled
   ea0327b47754 NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter
   384c1d931b5e parisc: Use implicit space register selection for loading the coherence index of I/O pdirs
   6726307d2008 rcu: locking and unlocking need to always be at least barriers
   39e597d283b0 mtd: spinand: macronix: Fix ECC Status Read
   2488b9f9afde ipv6: fix EFAULT on sendto with icmpv6 and hdrincl
   0b16d956ee5b ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
   d769853dbdaa Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"
   396244b6ecf0 pktgen: do not sleep with the thread lock held.
   da096fe1a6a4 packet: unconditionally free po->rollover
   be0343af1291 net/tls: replace the sleeping lock around RX resync with a bit lock
   9740f4ff1a66 net: sfp: read eeprom in maximum 16 byte increments
   7700d5afff30 net: rds: fix memory leak in rds_ib_flush_mr_pool
   c6a020e0117f net: mvpp2: Use strscpy to handle stat strings
   d305d61fcf96 net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query
   831d6d077874 net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set
   893e2a5f5cf6 neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit
   9fd19a3b4f61 ipv6: fix the check before getting the cookie in rt6_get_cookie
   daa11cc841d6 ipv4: not do cache for local delivery if bc_forwarding is enabled
   05b933f25a83 Fix memory leak in sctp_process_init
   d6782b8c5c18 ethtool: fix potential userspace buffer overflow
   bb7b450e61a1 Linux 4.19.49
   9861e2cd4616 media: uvcvideo: Fix uvc_alloc_entity() allocation alignment
   b52ca352489b of: overlay: set node fields from properties when add new overlay node
   15151d0013c9 of: overlay: validate overlay properties #address-cells and #size-cells
   26dace362e7f scsi: lpfc: Fix backport of faf5a744f4f8 ("scsi: lpfc: avoid uninitialized variable warning")
   ca309fef7a69 x86/kprobes: Set instruction page as executable
   b49ca4bf1b9c x86/ftrace: Set trampoline pages as executable
   6fa953c94882 x86/ftrace: Do not call function graph from dynamic trampolines
   9d57cfd4e9d8 binder: fix race between munmap() and direct reclaim
   137c838f177b Revert "binder: fix handling of misaligned binder object"
   385dab299c8a Revert "x86/build: Move _etext to actual end of .text"
   9468870f7cbd include/linux/module.h: copy __init/__exit attrs to init/cleanup_module
   2a0f719db71c Compiler Attributes: add support for __copy (gcc >= 9)
   390a0fd31b02 drm/lease: Make sure implicit planes are leased
   699f0e9d24c8 drm/rockchip: shutdown drm subsystem on shutdown
   1ca811507e41 drm/sun4i: Fix sun8i HDMI PHY configuration for > 148.5 MHz
   1f1372206e0b drm/sun4i: Fix sun8i HDMI PHY clock initialization
   3a20515c3c44 drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set
   1715a46322fa drm/tegra: gem: Fix CPU-cache maintenance for BO's allocated using get_pages()
   132137d1bfa1 gcc-plugins: Fix build failures under Darwin host
   873041930dab Revert "lockd: Show pid of lockd for remote locks"
   297a251062c0 CIFS: cifs_read_allocate_pages: don't iterate through whole page array on ENOMEM
   32d57c0c063c cifs: fix memory leak of pneg_inbuf on -EOPNOTSUPP ioctl case
   f6a39f877feb staging: wlan-ng: fix adapter initialization failure
   27a4b6c8c1cf staging: vc04_services: prevent integer overflow in create_pagelist()
   3078e80b03c8 serial: sh-sci: disable DMA for uart_console
   ff818b449a5b vt/fbcon: deinitialize resources in visual_init() after failed memory allocation
   6e322a9e42cd evm: check hash algorithm passed to init_desc()
   f85b87a9a2a8 ima: show rules with IMA_INMASK correctly
   21158982f6b7 doc: Cope with Sphinx logging deprecations
   c0742228bba6 doc: Cope with the deprecation of AutoReporter
   301b18edbf56 docs: Fix conf.py for Sphinx 2.0
   871953434bd9 arm64: Fix the arm64_personality() syscall wrapper redirection
   6f8d26270ce3 kernel/signal.c: trace_signal_deliver when signal_group_exit
   8b057ad846c5 memcg: make it work on sparse non-0-node systems
   4e29e2ecf186 tty: max310x: Fix external crystal register setup
   a071517b85cc tty: serial: msm_serial: Fix XON/XOFF
   bb03290431bc i2c: synquacer: fix synquacer_i2c_doxfer() return value
   d2d8f6401254 i2c: mlxcpld: Fix wrong initialization order in probe
   88ad86b80782 drm/nouveau/i2c: Disable i2c bus access after ->fini()
   6a2fbec70766 KVM: s390: Do not report unusabled IDs via KVM_CAP_MAX_VCPU_ID
   3834630ef4d3 ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops
   9cfd6c36759b ALSA: hda/realtek - Set default power save node to 0
   eb2eeec920fb ALSA: line6: Assure canceling delayed work at disconnection
   ca221cf9ab6f powerpc/perf: Fix MMCRA corruption by bhrb_filter
   55a94d81f536 KVM: PPC: Book3S HV: XIVE: Do not clear IRQ data of passthrough interrupts
   badbe1abbd59 s390/crypto: fix possible sleep during spinlock aquired
   83c874cf6861 s390/crypto: fix gcm-aes-s390 selftest failures
   5dede5c9e605 iio: adc: ti-ads8688: fix timestamp is not updated in buffer
   06c5ec6fd0b1 iio: dac: ds4422/ds4424 fix chip verification
   8a652fd142c3 Btrfs: incremental send, fix file corruption when no-holes feature is enabled
   a81071110d25 Btrfs: fix fsync not persisting changed attributes of a directory
   37fe038328a2 Btrfs: fix race updating log root item during fsync
   7301bbeae98f Btrfs: fix wrong ctime and mtime of a directory after log replay
   da32e0303d5f tracing: Avoid memory leak in predicate_parse()
   9756c7e0cdc7 scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs)
   e8bd0dffe816 scsi: zfcp: fix missing zfcp_port reference put on -EBUSY from port_remove
   c18a0ecc411a brcmfmac: fix NULL pointer derefence during USB disconnect
   1f64751af190 media: smsusb: better handle optional alignment
   e6df98cafc9c media: usb: siano: Fix false-positive "uninitialized variable" warning
   35b104456652 media: usb: siano: Fix general protection fault in smsusb
   b4c1b4a61f78 USB: rio500: fix memory leak in close after disconnect
   d2d93077bac3 USB: rio500: refuse more than one device at a time
   d8c1703932bc USB: Add LPM quirk for Surface Dock GigE adapter
   d27ea5e9eb4a USB: sisusbvga: fix oops in error path of sisusb_probe
   a43bb9e83155 USB: Fix slab-out-of-bounds write in usb_get_bos_descriptor
   2fc485b0008e usbip: usbip_host: fix stub_dev lock context imbalance regression
   e3724d69b732 usbip: usbip_host: fix BUG: sleeping function called from invalid context
   9690202da222 usb: xhci: avoid null pointer deref when bos field is NULL
   8e30ba04a20a xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()
   32adfa3d92e7 xhci: Use %zu for printing size_t type
   eebcff780603 xhci: update bounce buffer with correct sg num
   759766bf2aec include/linux/bitops.h: sanitize rotate primitives
   89156c1005d2 sparc64: Fix regression in non-hypervisor TLB flush xcall
   e109a984cf38 Linux 4.19.48
   ca75a9fc5ba4 tipc: fix modprobe tipc failed after switch order of device registration
   ab69a2304210 Revert "tipc: fix modprobe tipc failed after switch order of device registration"
   99dcf4a4dd2e xen/pciback: Don't disable PCI_COMMAND on PCI device reset.
   0276ebf16675 jump_label: move 'asm goto' support test to Kconfig
   753328727cab compiler.h: give up __compiletime_assert_fallback()
   fd45cd4530eb include/linux/compiler*.h: define asm_volatile_goto
   2bb9c7e42836 crypto: vmx - ghash: do nosimd fallback manually
   fb6cf4f3704b net/tls: don't ignore netdev notifications if no TLS features
   fb69403ec2ff net/tls: fix state removal with feature flags off
   27d8ad1d8ea9 bnxt_en: Fix aggregation buffer leak under OOM condition.
   a1a926fc68c7 net: stmmac: dma channel control register need to be init first
   1db0bcc27c78 net/mlx5e: Disable rxhash when CQE compress is enabled
   e0d95806b05d net/mlx5: Allocate root ns memory using kzalloc to match kfree
   4421d31753ec tipc: Avoid copying bytes beyond the supplied data
   06442f45e5cf net/mlx5: Avoid double free in fs init error unwinding path
   fb836d014e37 usbnet: fix kernel crash after disconnect
   191989817df9 net: stmmac: fix reset gpio free missing
   6ab968473140 net: sched: don't use tc_action->order during action dump
   33f737a4307d net: phy: marvell10g: report if the PHY fails to boot firmware
   c2d4b2feb057 net: mvpp2: fix bad MVPP2_TXQ_SCHED_TOKEN_CNTR_REG queue value
   de9d6a730cc0 net: mvneta: Fix err code path of probe
   39fd0dc4a556 net-gro: fix use-after-free read in napi_gro_frags()
   4294c3475035 net: fec: fix the clk mismatch in failed_reset path
   566dc17b993d net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT
   2d04f32c8861 llc: fix skb leak in llc_build_and_send_ui_pkt()
   442176668ecf ipv6: Fix redirect with VRF
   ed753b394321 ipv6: Consider sk_bound_dev_if when binding a raw socket to an address
   46702dd5d504 ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST
   e9f94e480f3e ipv4/igmp: fix another memory leak in igmpv3_del_delrec()
   07480da0c8a1 inet: switch IP ID generator to siphash
   9c9144e78996 cxgb4: offload VLAN flows regardless of VLAN ethtype
   3cde0a250845 bonding/802.3ad: fix slave link initialization transition states
   0df021b2e841 Linux 4.19.47
   26433652f0e4 NFS: Fix a double unlock from nfs_match,get_client
   1a686177acde drm/sun4i: dsi: Enforce boundaries on the start delay
   6956c0e3cf33 vfio-ccw: Prevent quiesce function going into an infinite loop
   476e87eb7f78 drm/sun4i: dsi: Change the start delay calculation
   00734a9e7329 drm: Wake up next in drm_read() chain if we are forced to putback the event
   d6dea92a4862 drm/drv: Hold ref on parent device during drm_device lifetime
   473bc1af7a22 drm/v3d: Handle errors from IRQ setup.
   b9c8f86f50ac ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM
   cc211863ac79 spi: Fix zero length xfer bug
   8f7f333af9f6 spi: imx: stop buffer overflow in RX FIFO flush
   3ae1817a29e7 spi: rspi: Fix sequencer reset during initialization
   676aec9b8f11 drm/omap: dsi: Fix PM for display blank with paired dss_pll calls
   bdc095631d50 spi : spi-topcliff-pch: Fix to handle empty DMA buffers
   98eb1b80fea7 scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
   755dc83020a5 media: saa7146: avoid high stack usage with clang
   584e06c0ed20 scsi: lpfc: Fix fc4type information for FDMI
   aecb245fdd90 scsi: lpfc: Fix FDMI manufacturer attribute value
   4192c77f50dc media: vimc: zero the media_device on probe
   fd1ade15f299 media: go7007: avoid clang frame overflow warning with KASAN
   6d16d2e130e4 media: gspca: do not resubmit URBs when streaming has stopped
   acf41fb8df45 media: vimc: stream: fix thread state before sleep
   aeea87865aa7 scsi: ufs: fix a missing check of devm_reset_control_get
   62e79f4c6bc0 drm/amd/display: Set stream->mode_changed when connectors change
   fc5293ab6c48 drm/amd/display: Fix Divide by 0 in memory calculations
   91435fce9b24 media: staging: davinci_vpfe: disallow building with COMPILE_TEST
   f51db48c1220 media: m88ds3103: serialize reset messages in m88ds3103_set_frontend
   e93677055a5a media: dvbsky: Avoid leaking dvb frontend
   ab934f0ac158 media: si2165: fix a missing check of return value
   561bd5615604 igb: Exclude device from suspend direct complete optimization
   b6bc20249423 tinydrm/mipi-dbi: Use dma-safe buffers for all SPI transfers
   5ec9ba494db2 e1000e: Disable runtime PM on CNP+
   495e34e62c3b thunderbolt: property: Fix a NULL pointer dereference
   70611b1b81c4 drm/amd/display: fix releasing planes when exiting odm
   988dab7f5778 thunderbolt: Fix to check for kmemdup failure
   877a202f9b27 thunderbolt: Fix to check return value of ida_simple_get
   b9291078edce hwrng: omap - Set default quality
   6b2d1934d1f9 dmaengine: tegra210-adma: use devm_clk_*() helpers
   25204fe6a3f8 batman-adv: allow updating DAT entry timeouts on incoming ARP Replies
   a2ace9b24387 selinux: avoid uninitialized variable warning
   c7595096daf9 scsi: lpfc: avoid uninitialized variable warning
   ac9149bc1402 scsi: qla4xxx: avoid freeing unallocated dma memory
   239156e0c04a usb: core: Add PM runtime calls to usb_hcd_platform_shutdown
   506b28fb9982 rcuperf: Fix cleanup path for invalid perf_type strings
   75a96196d4c4 x86/mce: Handle varying MCA bank counts
   aa7919e37fee rcutorture: Fix cleanup path for invalid torture_type strings
   3d036cbaab92 x86/mce: Fix machine_check_poll() tests for error types
   3c2b1ae4410c overflow: Fix -Wtype-limits compilation warnings
   19ae270d1ce0 tty: ipwireless: fix missing checks for ioremap
   3392cc5f3ce3 virtio_console: initialize vtermno value for ports
   e819d4a13688 scsi: qedf: Add missing return in qedf_post_io_req() in the fcport offload check
   dc0f37b780e9 timekeeping: Force upper bound for setting CLOCK_REALTIME
   ee40c8a3efc2 thunderbolt: Fix to check the return value of kmemdup
   c8eecd658220 thunderbolt: property: Fix a missing check of kzalloc
   1de8f9653585 efifb: Omit memory map check on legacy boot
   356f05fdd490 media: gspca: Kill URBs on USB device disconnect
   2a9331ced525 media: wl128x: prevent two potential buffer overflows
   6b5693f20dd8 media: video-mux: fix null pointer dereferences
   bc75207a54dd kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.
   ba906246e38b spi: tegra114: reset controller on probe
   2cd236c27157 HID: logitech-hidpp: change low battery level threshold from 31 to 30 percent
   fb2c65b4a279 cxgb3/l2t: Fix undefined behaviour
   71efe4c70afc ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
   b6b7a78cf997 ASoC: eukrea-tlv320: fix a leaked reference by adding missing of_node_put
   69f67200cfd6 HID: core: move Usage Page concatenation to Main item
   256f63c6806d sh: sh7786: Add explicit I/O cast to sh7786_mm_sel()
   8ea279184619 RDMA/hns: Fix bad endianess of port_pd variable
   65ec64f28a88 chardev: add additional check for minor range overlap
   fc242af86d07 x86/uaccess: Fix up the fixup
   5007453c7144 x86/ia32: Fix ia32_restore_sigcontext() AC leak
   4614b0bb8f65 x86/uaccess, signal: Fix AC=1 bloat
   1a3188d737ce x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP
   da30c277c4fd wil6210: fix return code of wmi_mgmt_tx and wmi_mgmt_tx_ext
   e667aef54f8a arm64: cpu_ops: fix a leaked reference by adding missing of_node_put
   e3980dbef43a drm/panel: otm8009a: Add delay at the end of initialization
   cb5946e5c86a scsi: ufs: Avoid configuring regulator with undefined voltage range
   31318d4ae3ae scsi: ufs: Fix regulator load and icc-level configuration
   c9e44a1a734a rtlwifi: fix potential NULL pointer dereference
   bd2ab045df4a rtc: xgene: fix possible race condition
   e29aba14e8db brcmfmac: fix Oops when bringing up interface during USB disconnect
   8a412ed97184 brcmfmac: fix race during disconnect when USB completion is in progress
   ce55a5941ed4 brcmfmac: fix WARNING during USB disconnect in case of unempty psq
   4b2f0ebc306b brcmfmac: convert dev_init_lock mutex to completion
   59ec3ad30ab8 b43: shut up clang -Wuninitialized variable warning
   7c9d97f3b11d brcmfmac: fix missing checks for kmemdup
   a27ce4840f89 mwifiex: Fix mem leak in mwifiex_tm_cmd
   7be8d4251bf7 rtlwifi: fix a potential NULL pointer dereference
   f8f54929bd23 selftests/bpf: ksym_search won't check symbols exists
   ef8e5a78406d iio: adc: ti-ads7950: Fix improper use of mlock
   36a59a036896 iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data
   dd106d198dee iio: hmc5843: fix potential NULL pointer dereferences
   d7c773412f4b iio: ad_sigma_delta: Properly handle SPI bus locking vs CS assertion
   ce59174d4e69 drm/pl111: fix possible object reference leak
   e758471be038 x86/build: Keep local relocations with ld.lld
   2b18febc8cdc block: sed-opal: fix IOC_OPAL_ENABLE_DISABLE_MBR
   9d8b1d5db780 cpufreq: kirkwood: fix possible object reference leak
   f9ead9f4d145 cpufreq: pmac32: fix possible object reference leak
   513a7f8e8929 cpufreq/pasemi: fix possible object reference leak
   9612f4040f05 cpufreq: ppc_cbe: fix possible object reference leak
   f8a91441b2a1 qmi_wwan: Add quirk for Quectel dynamic config
   1b6141cd052b selftests: cgroup: fix cleanup path in test_memcg_subtree_control()
   9c594cae285c s390: cio: fix cio_irb declaration
   c3c614380548 s390/mm: silence compiler warning when compiling without CONFIG_PGSTE
   a07de9b98fbf x86/microcode: Fix the ancient deprecated microcode loading method
   a3713f2cebdc s390: zcrypt: initialize variables before_use
   e91146984939 clk: rockchip: Make rkpwm a critical clock on rk3288
   c9aa87e5f345 extcon: arizona: Disable mic detect if running when driver is removed
   822342658459 clk: rockchip: Fix video codec clocks on rk3288
   cbaab786ee67 PM / core: Propagate dev->power.wakeup_path when no callbacks
   d8a36f841803 drm/amdgpu: fix old fence check in amdgpu_fence_emit
   e107bc69cc59 mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support
   019ca0bf8d91 mmc: sdhci-of-esdhc: add erratum A-009204 support
   80118cba1f78 mmc: sdhci-of-esdhc: add erratum eSDHC5 support
   fa291e89997a mmc_spi: add a status check for spi_sync_locked
   059c2f5326a0 mmc: core: make pwrseq_emmc (partially) support sleepy GPIO controllers
   aa06e61237ab scsi: libsas: Do discovery on empty PHY to update PHY info
   4e98f3b11a7a hwmon: (f71805f) Use request_muxed_region for Super-IO accesses
   8cfe000d0a69 hwmon: (pc87427) Use request_muxed_region for Super-IO accesses
   48b31e8a025f hwmon: (smsc47b397) Use request_muxed_region for Super-IO accesses
   e7dbe597ea55 hwmon: (smsc47m1) Use request_muxed_region for Super-IO accesses
   fbdce79e7c3b hwmon: (vt1211) Use request_muxed_region for Super-IO accesses
   1cd4902d9088 perf/x86/intel/cstate: Add Icelake support
   ea6ff1bb3d00 perf/x86/intel/rapl: Add Icelake support
   3a9a1fd14b27 perf/x86/msr: Add Icelake support
   9754bab2057e RDMA/cxgb4: Fix null pointer dereference on alloc_skb failure
   b0f6ac8c81e0 arm64: vdso: Fix clock_getres() for CLOCK_REALTIME
   9082058b549a ACPI/IORT: Reject platform device creation on NUMA node mapping failure
   4a9c84499e11 i40e: don't allow changes to HW VLAN stripping on active port VLANs
   e3e8cdacdcce i40e: Able to add up to 16 MAC filters on an untrusted VF
   267b3c6b3f45 phy: mapphone-mdm6600: add gpiolib dependency
   3ecda6884660 phy: sun4i-usb: Make sure to disable PHY0 passby for peripheral mode
   63b4f89d03c2 drm: etnaviv: avoid DMA API warning when importing buffers
   f843f848c567 x86/irq/64: Limit IST stack overflow check to #DB stack
   97abdfa81f1c USB: core: Don't unbind interfaces following device reset failure
   3711c9885278 s390/qeth: handle error from qeth_update_from_chp_desc()
   5d5652b51c87 thunderbolt: Take domain lock in switch sysfs attribute callbacks
   afee27f38253 irq_work: Do not raise an IPI when queueing work on the local CPU
   dee2faf0ac0c drm/msm: a5xx: fix possible object reference leak
   e0b75a798651 staging: vc04_services: handle kzalloc failure
   355673f80835 sched/core: Handle overflow in cpu_shares_write_u64
   7053046e350f sched/rt: Check integer overflow at usec to nsec conversion
   925275d0cc5d sched/core: Check quota and period overflow at usec to nsec conversion
   4e4d5cea79a7 cgroup: protect cgroup->nr_(dying_)descendants by css_set_lock
   944c58523731 random: add a spinlock_t to struct batched_entropy
   6fa6381a2da0 random: fix CRNG initialization when random.trust_cpu=1
   fec8a09f79ec powerpc/64: Fix booting large kernels with STRICT_KERNEL_RWX
   f488832c2099 powerpc/numa: improve control of topology updates
   ad393793794e block: fix use-after-free on gendisk
   30f8da71c730 iio: adc: stm32-dfsdm: fix unmet direct dependencies detected
   11ad52770a42 media: pvrusb2: Prevent a buffer overflow
   a90ce66af211 media: au0828: Fix NULL pointer dereference in au0828_analog_stream_enable()
   2096b3ba3274 media: stm32-dcmi: fix crash when subdev do not expose any formats
   6c21fa849a5a audit: fix a memory leak bug
   9fcfaab61420 media: ov2659: make S_FMT succeed even if requested format doesn't match
   e3a9d646ecf2 media: au0828: stop video streaming only when last user stops
   3ccd89123b67 media: ov6650: Move v4l2_clk_get() to ov6650_video_probe() helper
   81a0b6ff0209 media: coda: clear error return value before picture run
   83544b04a406 dmaengine: at_xdmac: remove BUG_ON macro in tasklet
   bfb9e836cf26 perf/arm-cci: Remove broken race mitigation
   2d1df7fada2d clk: rockchip: undo several noc and special clocks as critical on rk3288
   86a1de9c8d76 pinctrl: samsung: fix leaked of_node references
   c3933fd4a8ee pinctrl: pistachio: fix leaked of_node references
   12e7faac49e2 HID: logitech-hidpp: use RAP instead of FAP to get the protocol version
   1eafabe144f4 Bluetooth: hci_qca: Give enough time to ROME controller to bootup.
   189b396a2580 mm/uaccess: Use 'unsigned long' to placate UBSAN warnings on older GCC versions
   f46ae1cd7cec x86/mm: Remove in_nmi() warning from 64-bit implementation of vmalloc_fault()
   3dc1e338ae5f smpboot: Place the __percpu annotation correctly
   0fcb3cd5af98 x86/build: Move _etext to actual end of .text
   58a0c2194bac vfio-ccw: Release any channel program when releasing/removing vfio-ccw mdev
   8c1c78109a74 vfio-ccw: Do not call flush_workqueue while holding the spinlock
   e0d25d17841a RDMA/cma: Consider scope_id while binding to ipv6 ll address
   06740892db92 bcache: avoid clang -Wunintialized warning
   330b67980381 bcache: add failure check to run_cache_set() for journal replay
   cd83c78897d5 bcache: fix failure in journal relplay
   29b166da7a4e bcache: return error immediately in bch_journal_replay()
   8034a6b89990 bcache: avoid potential memleak of list of journal_replay(s) in the CACHE_SYNC branch of run_cache_set
   e82df5f1e54a crypto: sun4i-ss - Fix invalid calculation of hash end
   213e152316ed nvme-rdma: fix a NULL deref when an admin connect times out
   c24860f40b66 nvme: set 0 capacity if namespace block size exceeds PAGE_SIZE
   31de7f1d07b5 net: cw1200: fix a NULL pointer dereference
   eacec4367998 rsi: Fix NULL pointer dereference in kmalloc
   9d54cca8f939 mwifiex: prevent an array overflow
   c2582f213897 ASoC: fsl_sai: Update is_slave_mode with correct value
   67d812fbe303 slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
   0cbef22f67ba libbpf: fix samples/bpf build failure due to undefined UINT32_MAX
   ca5b9d63e9b1 mac80211/cfg80211: update bss channel on channel switch
   1d057fefa045 dmaengine: pl330: _stop: clear interrupt status
   cadb16d9e0f3 s390: qeth: address type mismatch warning
   99079ceefb7c w1: fix the resume command API
   07da741d48c4 sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs
   216155aab507 s390/kexec_file: Fix detection of text segment in ELF loader
   6697d0b3f5b5 scsi: qedi: Abort ep termination if offload not scheduled
   bc90af686912 rtc: stm32: manage the get_irq probe defer case
   7fd0d9d10e5d rtc: 88pm860x: prevent use-after-free on device remove
   0ea8b7cf9436 iwlwifi: pcie: don't crash on invalid RX interrupt
   bd3d8f4cb956 btrfs: Don't panic when we can't find a root key
   431cbaec1287 btrfs: fix panic during relocation after ENOSPC before writeback happens
   1084fc9afbe3 Btrfs: fix data bytes_may_use underflow with fallocate due to failed quota reserve
   8715ce033eb3 x86/modules: Avoid breaking W^X while loading modules
   34f3a58f06da scsi: qla2xxx: Fix hardirq-unsafe locking
   6ce116871011 scsi: qla2xxx: Avoid that lockdep complains about unsafe locking in tcm_qla2xxx_close_session()
   55b95ce89ce7 scsi: qla2xxx: Fix abort handling in tcm_qla2xxx_write_pending()
   de3cd35f5195 scsi: qla2xxx: Fix a qla24xx_enable_msix() error path
   73026db866db sched/cpufreq: Fix kobject memleak
   0fe8ed038e88 powerpc/watchdog: Use hrtimers for per-CPU heartbeat
   efa336f785df arm64: Fix compiler warning from pte_unmap() with -Wunused-but-set-variable
   9152b0815430 ARM: vdso: Remove dependency with the arch_timer driver internals
   2d2017675b1a media: stm32-dcmi: return appropriate error codes during probe
   5744fd7fa1d1 drm/nouveau/bar/nv50: ensure BAR is mapped
   07bb9a71ee27 ACPI / property: fix handling of data_nodes in acpi_get_next_subnode()
   c00f0fbd2e85 brcm80211: potential NULL dereference in brcmf_cfg80211_vndr_cmds_dcmd_handler()
   57667dc86bef spi: pxa2xx: fix SCR (divisor) calculation
   5cf668cf1110 ASoC: imx: fix fiq dependencies
   b8bd069f855f powerpc/perf: Fix loop exit condition in nest_imc_event_init
   1a6767f5f152 powerpc/boot: Fix missing check of lseek() return value
   741853944fea powerpc/perf: Return accordingly on invalid chip-id in
   49c0fa1f35c1 ASoC: hdmi-codec: unlock the device on startup errors
   663411719895 usb: dwc3: move synchronize_irq() out of the spinlock protected block
   1a7be0fe0777 usb: dwc2: gadget: Increase descriptors count for ISOC's
   fc8c5907d8fc ASoC: Intel: kbl_da7219_max98357a: Map BTN_0 to KEY_PLAYPAUSE
   b676f6c0b552 pinctrl: zte: fix leaked of_node references
   8603d49906b2 Bluetooth: Ignore CC events not matching the last HCI command
   6d9cfab853ca hv_netvsc: fix race that may miss tx queue wakeup
   83eaba87e73e net: ena: gcc 8: fix compilation warning
   19c2dd5025bb dmaengine: tegra210-dma: free dma controller in remove()
   7ffd692bfce7 bpftool: exclude bash-completion/bpftool from .gitignore pattern
   6d9f8909e540 selftests/bpf: set RLIMIT_MEMLOCK properly for test_libbpf_open.c
   f3ed010f2bfe tools/bpf: fix perf build error with uClibc (seen on ARC)
   d96a6c31e42e mmc: core: Verify SD bus width
   c4b51dbcccfc gfs2: Fix occasional glock use-after-free
   fa4aaa09d17e IB/hfi1: Fix WQ_MEM_RECLAIM warning
   36296b0034ae NFS: make nfs_match_client killable
   506961a7a4ef cxgb4: Fix error path in cxgb4_init_module
   bac852089281 gfs2: Fix lru_count going negative
   06a67c0f4abb Revert "btrfs: Honour FITRIM range constraints during free space trim"
   7c2bcb3cca03 acct_on(): don't mess with freeze protection
   7d562a90a88b at76c50x-usb: Don't register led_trigger if usb_register_driver failed
   363aa80a51c9 batman-adv: mcast: fix multicast tt/tvlv worker locking
   003e2d74c554 bpf: devmap: fix use-after-free Read in __dev_map_entry_free
   3de79cb0ceb2 ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit
   c8275cbe2bd8 media: vivid: use vfree() instead of kfree() for dev->bitmap_cap
   0595e0d173f0 media: vb2: add waiting_in_dqbuf flag
   aec118ecf579 media: serial_ir: Fix use-after-free in serial_ir_init_module
   bdf3da72ae79 media: cpia2: Fix use-after-free in cpia2_exit
   de2d09ebff2f fbdev: fix WARNING in __alloc_pages_nodemask bug
   86c43c40fe05 ovl: relax WARN_ON() for overlapping layers use case
   9c0339dd381d btrfs: honor path->skip_locking in backref code
   2eefb4a3894e arm64: errata: Add workaround for Cortex-A76 erratum #1463225
   8783c4128c37 brcmfmac: add subtype check for event handling in data path
   cc240e057c1d brcmfmac: assure SSID length from firmware is limited
   43caa29c99db bpf: add bpf_jit_limit knob to restrict unpriv allocations
   cc1afc1050a9 NFSv4.1 fix incorrect return value in copy_file_range
   e1eed6928b3e NFSv4.2 fix unnecessary retry in nfs4_copy_file_range
   0bad28e92ced fbdev: fix divide error in fb_var_to_videomode
   b8304d918c02 udlfb: fix some inconsistent NULL checking
   94e1f96667b4 btrfs: sysfs: don't leak memory when failing add fsid
   946ad2ecef61 btrfs: sysfs: Fix error path kobject memory leak
   92f907d7d63b Btrfs: fix race between ranged fsync and writeback of adjacent ranges
   4f9a774dda97 Btrfs: avoid fallback to transaction commit during fsync of files with holes
   7ec747c811ab Btrfs: do not abort transaction at btrfs_update_root() after failure to COW path
   ce21e6586eec btrfs: don't double unlock on error in btrfs_punch_hole
   fdc78eedc54d gfs2: Fix sign extension bug in gfs2_update_stats
   53cd8ae3eeb1 arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable
   9c15fff28194 arm64/kernel: kaslr: reduce module randomization range to 2 GB
   ee6d3eb31112 libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead
   709a93054118 kvm: svm/avic: fix off-by-one in checking host APIC ID
   5b69ceee2196 mmc: sdhci-iproc: Set NO_HISPD bit to fix HS50 data hold time problem
   227e01537baf mmc: sdhci-iproc: cygnus: Set NO_HISPD bit to fix HS50 data hold time problem
   792d65fc49a7 crypto: vmx - CTR: always increment IV as quadword
   136b8cef4e4f Revert "scsi: sd: Keep disk read-only when re-reading partition"
   ac7480a5b504 sbitmap: fix improper use of smp_mb__before_atomic()
   b78255d6cffb bio: fix improper use of smp_mb__before_atomic()
   432ec4fa6cd2 KVM: x86: fix return value for reserved EFER
   70d33cce97f0 f2fs: Fix use of number of devices
   5220582c427b ext4: wait for outstanding dio during truncate in nojournal mode
   71e430fd593b ext4: do not delete unlinked inode from orphan list on failed truncate
   1d84eb87efce x86: Hide the int3_emulate_call/jmp functions from UML
   8b2fc0058255 Linux 4.19.46
   fcac71697a15 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
   107e215c2962 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
   2bb3c5470aaf bpf: add map_lookup_elem_sys_only for lookups from syscall side
   3ded3aaa4aa8 bpf: relax inode permission check for retrieving bpf program
   c33563e9ec87 Revert "selftests/bpf: skip verifier tests for unsupported program types"
   90110ffd86ae driver core: Postpone DMA tear-down until after devres release for probe failure
   430908054540 md/raid: raid5 preserve the writeback action after the parity check
   3d25b7f5c3be Revert "Don't jump to compute_result state from check_result state"
   a0b1dde1e686 perf/x86/intel: Fix race in intel_pmu_disable_event()
   7aea2f94cc64 perf bench numa: Add define for RUSAGE_THREAD if not present
   a06fdd99a339 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
   f037116fe05b x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
   290da8e79c83 sched/cpufreq: Fix kobject memleak
   2da19da7abb8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
   7341daa0548e qmi_wwan: new Wistron, ZTE and D-Link devices
   c1528193f643 bpf: Fix preempt_enable_no_resched() abuse
   aea54f613534 power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
   a1251522a522 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
   36ae546a0046 net: ieee802154: fix missing checks for regmap_update_bits
   9c045d8c9739 mac80211: Fix kernel panic due to use of txq after free
   a0a49d8712de x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
   a469646862aa PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
   b21ca2769b0f apparmorfs: fix use-after-free on symlink traversal
   9a0467e1f671 securityfs: fix use-after-free on symlink traversal
   900bf351dd84 power: supply: cpcap-battery: Fix division by zero
   b7771cb0143b clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
   a654a73de29f xfrm4: Fix uninitialized memory read in _decode_session4
   6faa62060624 xfrm: Honor original L3 slave device in xfrmi policy lookup
   3716c2625099 esp4: add length check for UDP encapsulation
   d410ef75886a xfrm: clean up xfrm protocol checks
   159269cc6456 vti4: ipip tunnel deregistration fixes.
   64f214ce563f xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
   c9516503fe53 xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
   fea685000caf fuse: Add FOPEN_STREAM to use stream_open()
   f9eccf6ca1e0 dm mpath: always free attached_handler_name in parse_path()
   9407680a7bb7 dm integrity: correctly calculate the size of metadata area
   3b92ff729cb3 dm delay: fix a crash when invalid device is specified
   90cc71127a3c dm zoned: Fix zone report handling
   ff0699a5e5d0 dm cache metadata: Fix loading discard bitset
   d5c352305d42 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
   b51a033317cd PCI: Factor out pcie_retrain_link() function
   7bc992e215c8 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
   2e7574982502 PCI/AER: Change pci_aer_init() stub to return void
   8c30e1499335 PCI: Init PCIe feature bits for managed host bridge alloc
   29d031402718 PCI: Mark Atheros AR9462 to avoid bus reset
   f4be6b7ee294 PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
   2cf1dce1bfa5 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
   27968d821368 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
   f1c97f633375 fbdev: sm712fb: fix support for 1024x768-16 mode
   b415308ae49a fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
   02f89dd99c83 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
   7e1b9659a43a fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
   b0f08070903d fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
   d30768975973 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
   702156cd1a9a fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
   e738fb38cf2e objtool: Allow AR to be overridden with HOSTAR
   9ae0f86ceaa7 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
   05fab3457210 perf intel-pt: Fix sample timestamp wrt non-taken branches
   ba86f8f84fd5 perf intel-pt: Fix improved sample timestamp
   3ed850ab2a9c perf intel-pt: Fix instructions sampling rate
   5e011f3319fe memory: tegra: Fix integer overflow on tick value calculation
   fb8c9c900d4e tracing: Fix partial reading of trace event's id file
   07b487eb5762 ftrace/x86_64: Emulate call function while updating in breakpoint handler
   ba246f64b0a5 x86_64: Allow breakpoints to emulate call instructions
   01b6fdcecd5a x86_64: Add gap to int3 to allow for call emulation
   77ca91441696 ceph: flush dirty inodes before proceeding with remount
   b18339bc1d05 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
   a9676c96e7e0 ovl: fix missing upper fs freeze protection on copy up for ioctl
   979d2433b873 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
   a452f733f93e fuse: fix writepages on 32bit
   42f59b83f0cf udlfb: introduce a rendering mutex
   fb36a97654a7 udlfb: fix sleeping inside spinlock
   1b8c955691d4 udlfb: delete the unused parameter for dlfb_handle_damage
   3487804cf6dc clk: rockchip: fix wrong clock definitions for rk3328
   fe082b99d57b clk: mediatek: Disable tuner_en before change PLL rate
   5bfba9529cea clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
   1a7adc2edb98 clk: hi3660: Mark clk_gate_ufs_subsys as critical
   04f34b76368f PNFS fallback to MDS if no deviceid found
   d3dd6057d2d6 NFS4: Fix v4.0 client state corruption when mount
   5e7f9e905ff8 media: imx: Clear fwnode link struct for each endpoint iteration
   ef12f5b54da4 media: imx: csi: Allow unknown nearest upstream entities
   77e178708136 media: ov6650: Fix sensor possibly not detected on probe
   86d67dbdf0a0 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
   939db6fdbea6 cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
   a29b8829291e of: fix clang -Wunsequenced for be32_to_cpu()
   a36430769ee5 p54: drop device reference count if fails to enable device
   88cfd822f9d0 intel_th: msu: Fix single mode with IOMMU
   c939121b5435 dcache: sort the freeing-without-RCU-delay mess for good.
   10cb519c3e34 md: add mddev->pers to avoid potential NULL pointer dereference
   3deaa1dc2f70 md: batch flush requests.
   7f6b9285cada Revert "MD: fix lock contention for flush bios"
   7928396df91e proc: prevent changes to overridden credentials
   bbd559ad3ca7 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
   d9ec75d048d7 stm class: Fix channel bitmap on 32-bit systems
   44bc4e8815a4 stm class: Fix channel free in stm output free path
   85b94de88046 parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
   e5621f7e13f6 parisc: Use PA_ASM_LEVEL in boot code
   615260c947b4 parisc: Skip registering LED when running in QEMU
   9aabffe8c2a6 parisc: Export running_on_qemu symbol for modules
   b11efd3262ef net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
   79742133aff2 net/mlx5: Imply MLXFW in mlx5_core
   9f12f4c922d4 vsock/virtio: Initialize core virtio vsock before registering the driver
   4b900077784f tipc: fix modprobe tipc failed after switch order of device registration
   4af8a327aeba vsock/virtio: free packets during the socket release
   2f7025b0a3b3 tipc: switch order of device registration to fix a crash
   2636da604e76 rtnetlink: always put IFLA_LINK for links with a link-netnsid
   c73ed24c385a ppp: deflate: Fix possible crash in deflate_init
   e4a6df16b441 nfp: flower: add rcu locks when accessing netdev for tunnels
   948cd616504c net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
   3620e546b177 net: test nouarg before dereferencing zerocopy pointers
   0495c8b03545 net/mlx4_core: Change the error print to info print
   746f8cd570ba net: avoid weird emergency message
   466cadba6013 net: Always descend into dsa/
   6bc3240adde5 ipv6: prevent possible fib6 leaks
   81a61a95812e ipv6: fix src addr routing with the exception table
   c3a072597748 Linux 4.19.45
   e8816d3bc595 ext4: don't update s_rev_level if not required
   6172ae55a187 ext4: fix compile error when using BUFFER_TRACE
   953e826e8d0f pstore: Refactor compression initialization
   fea8b84765a1 pstore: Allocate compression during late_initcall()
   f4bf101be366 pstore: Centralize init/exit routines
   627bb2d93b4d iov_iter: optimize page_copy_sane()
   866f011181ff libnvdimm/namespace: Fix label tracking error
   756eda9bc8b7 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
   98bdd33883db kbuild: turn auto.conf.cmd into a mandatory include file
   38f114887ca4 KVM: lapic: Busy wait for timer to expire when using hv_timer
   3b5ea2df6cf6 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
   5b8567682489 jbd2: fix potential double free
   95482af27161 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
   e0e1dc65bb13 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
   ae3155123704 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
   316063bf7d11 ext4: avoid panic during forced reboot due to aborted journal
   c19db366c0a8 ext4: fix use-after-free in dx_release()
   0db24122bd7f ext4: fix data corruption caused by overlapping unaligned and aligned IO
   25d010f4e0ec ext4: zero out the unused memory region in the extent tree block
   c907ce3fd552 tty: Don't force RISCV SBI console as preferred console
   986d3453bee4 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
   a80da82d0840 crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
   f6de0a3b1e66 ipmi:ssif: compare block number correctly for multi-part return messages
   88681649ed8c bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
   ecfc882f6441 bcache: fix a race between cache register and cacheset unregister
   8a8f671b3dad Btrfs: do not start a transaction at iterate_extent_inodes()
   0388d45afc50 Btrfs: do not start a transaction during fiemap
   74ca0a7671cc Btrfs: send, flush dellaloc in order to avoid data loss
   8b13bb911f0c btrfs: Honour FITRIM range constraints during free space trim
   87dcf0c61985 btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
   d8925a1fee71 btrfs: Check the first key and level for cached extent buffer
   45123ae534e0 ext4: fix ext4_show_options for file systems w/o journal
   f795247578aa ext4: actually request zeroing of inode table after grow
   2a18c9c76718 ext4: fix use-after-free race with debug_want_extra_isize
   b12a8d80a46e ext4: avoid drop reference to iloc.bh twice
   f0f805f8b9e7 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
   71478ef67d7c ext4: make sanity check in mballoc more strict
   001fe0dab4ea jbd2: check superblock mapped prior to committing
   0fd2df64f142 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
   d90824ecb887 tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
   6a01793e0763 mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
   dc6d69bde829 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
   5185672f2acf mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
   770e46b38ebe ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
   8bae43985571 userfaultfd: use RCU to free the task struct when fork fails
   3574bc98e2fe ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
   a3ccc156f365 hugetlb: use same fault hash key for shared and private mappings
   0b16b09a723e mm/hugetlb.c: don't put_page in lock of hugetlb_lock
   58db3813680e mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
   f580a54bbd52 mm/mincore.c: make mincore() more conservative
   681f3695d514 crypto: ccree - handle tee fips error during power management resume
   4fb3d87ee7b7 crypto: ccree - add function to handle cryptocell tee fips error
   65f5c14a6011 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
   1a4fc3d29632 crypto: ccree - pm resume first enable the source clk
   120ab825c6fd crypto: ccree - don't map AEAD key and IV on stack
   ca687cdb6159 crypto: ccree - use correct internal state sizes for export
   766121a0a798 crypto: ccree - don't map MAC key on stack
   7560c0adad34 crypto: ccree - fix mem leak on error path
   642de1c00a14 crypto: ccree - remove special handling of chained sg
   1bfceb375034 bpf, arm64: remove prefetch insn in xadd mapping
   f3714257c422 ASoC: codec: hdac_hdmi add device_link to card device
   975ef5c2f6ca ASoC: fsl_esai: Fix missing break in switch statement
   df9f111db871 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
   7295359bd6ac ASoC: max98090: Fix restore of DAPM Muxes
   e13bac4031eb ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
   d33f6063b7c3 ALSA: hda/realtek - EAPD turn on later
   4ac6316a7c0f ALSA: hda/hdmi - Consider eld_valid when reporting jack event
   8c827cda2864 ALSA: hda/hdmi - Read the pin sense from register when repolling
   30dda277333e ALSA: usb-audio: Fix a memory leak bug
   741e3efd8174 ALSA: line6: toneport: Fix broken usage of timer for delayed execution
   003cf675eb07 mmc: core: Fix tag set memory leak
   d42d342022b1 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
   69b9d32d5139 crypto: arm/aes-neonbs - don't access already-freed walk.iv
   b7d2adfd0512 crypto: rockchip - update IV buffer to contain the next IV
   9a61ab689867 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
   63efe31cf544 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
   e7fd8a2862e0 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
   7a19a4bef218 crypto: crct10dif-generic - fix use via crypto_shash_digest()
   aabf86f24d9f crypto: skcipher - don't WARN on unprocessed data after slow walk step
   66f5de68cb61 crypto: vmx - fix copy-paste error in CTR mode
   07d677ae4db4 crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
   fe632ee5ade8 crypto: chacha20poly1305 - set cra_name correctly
   3b5ddd5ea016 crypto: salsa20 - don't access already-freed walk.iv
   7a32ad34b889 crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
   c1ec6beac625 crypto: crypto4xx - fix ctr-aes missing output IV
   2ea1a37d0138 sched/x86: Save [ER]FLAGS on context switch
   d8d751efec28 arm64: Save and restore OSDLR_EL1 across suspend/resume
   f273cd16554a arm64: Clear OSDLR_EL1 on CPU boot
   26e7d2ad97b9 arm64: compat: Reduce address limit
   6d696ceb15a3 arm64: arch_timer: Ensure counter register reads occur with seqlock held
   222abad906ba arm64: mmap: Ensure file offset is treated as unsigned
   592127e9c1bb power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
   26eb5e7fa08d power: supply: axp288_charger: Fix unchecked return value
   921bc15462e2 ARM: exynos: Fix a leaked reference by adding missing of_node_put
   6eaeee1e7845 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
   e2c436d9268f ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
   abea1fb53266 ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
   8cf1bbca4467 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
   7b72ca6312ab objtool: Fix function fallthrough detection
   b185029f5c41 x86/speculation/mds: Improve CPU buffer clear documentation
   393ca9ea37fb x86/speculation/mds: Revert CPU buffer clear on double fault exit
   7761dbf58d22 locking/rwsem: Prevent decrement of reader count before increment
   dafc674bbcb1 Linux 4.19.44
   9fa23ea14e8f PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
   76888d135c4e PCI: hv: Add hv_pci_remove_slots() when we unload the driver
   a47e0054253f PCI: hv: Fix a memory leak in hv_eject_device_work()
   4179b8580219 powerpc/booke64: set RI in default MSR
   71b20cdb4353 powerpc/powernv/idle: Restore IAMR after idle
   69c2b71cb0c1 powerpc/book3s/64: check for NULL pointer in pgd_alloc()
   e9ec5073c90d drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
   ee3b53d89967 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
   afa485dc6f17 tipc: fix hanging clients using poll with EPOLLOUT flag
   98652e0b0a1b isdn: bas_gigaset: use usb_fill_int_urb() properly
   17d8a9ebaa99 tuntap: synchronize through tfiles array instead of tun->numqueues
   9c79732f98a8 tuntap: fix dividing by zero in ebpf queue selection
   737713e6d835 vrf: sit mtu should not be updated when vrf netdev is the link
   e38406070729 vlan: disable SIOCSHWTSTAMP in container
   dfdfad3d188f selinux: do not report error on connect(AF_UNSPEC)
   9f51d6f72063 packet: Fix error path in packet_init
   2e95eb9c92f7 net: ucc_geth - fix Oops when changing number of buffers in the ring
   210057b79e71 net: seeq: fix crash caused by not set dev.parent
   dfd919285f27 net: macb: Change interrupt and napi enable order in open
   68df8383f3ca net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
   9284895b7ee6 net: dsa: Fix error cleanup path in dsa_init_module
   da2e770f0c4a ipv4: Fix raw socket lookup for local traffic
   947fec630c41 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
   c7b5e55be825 dpaa_eth: fix SG frame cleanup
   a79feef32392 bridge: Fix error path for kobject_init_and_add()
   9c2cda31196a bonding: fix arp_validate toggling in active-backup mode
   0dc9ad4e904d powerpc/64s: Include cpu header
   db1b4aa651df um: Don't hardcode path as it is architecture dependent
   85f347944a6b Don't jump to compute_result state from check_result state
   ace28a8efdd4 rtlwifi: rtl8723ae: Fix missing break in switch statement
   d756d1dea670 mwl8k: Fix rate_idx underflow
   c300c98a94b4 cw1200: fix missing unlock on error in cw1200_hw_scan()
   575260507647 x86/kprobes: Avoid kretprobe recursion bug
   322a57551d06 nfc: nci: Potential off by one in ->pipes[] array
   f5e60565e6bd NFC: nci: Add some bounds checking in nci_hci_cmd_received()
   21e9515b7d16 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
   85b9e8694f9c net/tls: fix the IV leaks
   e38c6748d1cc mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
   835ae6cc28d9 mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
   880a328e197b mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
   a80f62f781c2 mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
   fb7c783b3139 net: fec: manage ahb clock in runtime pm
   c18731c2786c netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
   5014aa937422 netfilter: nf_tables: use-after-free in dynamic operations
   9965da064e9a usb: typec: Fix unchecked return value
   68321994225d mm/memory.c: fix modifying of page protection by insert_pfn()
   bc3361461fcb net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
   19f4f94fdb2a powerpc/smp: Fix NMI IPI xmon timeout
   f8bd34d1d399 powerpc/smp: Fix NMI IPI timeout
   6a60fb62c82a mm/memory_hotplug.c: drop memory device reference after find_memory_block()
   fb67c97c4e2f RDMA/hns: Bugfix for mapping user db
   afc7cebbbb5e Input: synaptics-rmi4 - fix possible double free
   f621bc1bd7f4 drm/sun4i: Unbind components before releasing DRM and memory
   21b71e191bd8 spi: ST ST95HF NFC: declare missing of table
   09185e359827 spi: Micrel eth switch: declare missing of table
   3835cb5a911f ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
   521ae4da71cc drm/imx: don't skip DP channel disable for background plane
   df3a97d197a3 gpu: ipu-v3: dp: fix CSC handling
   3a53fa469d60 netfilter: fix nf_l4proto_log_invalid to log invalid packets
   5bc3d4491821 selftests/net: correct the return value for run_netsocktests
   24b1c849ce9d drm/sun4i: Fix component unbinding and component master deletion
   1973df1ec5bc drm/sun4i: Set device driver data at bind time for use in unbind
   005325b7f026 s390: ctcm: fix ctcm_new_device error return code
   ca8648816e3d MIPS: perf: ath79: Fix perfcount IRQ assignment
   743a5a951d4d netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
   7b115755fb9d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
   4e1994ef6365 ipvs: do not schedule icmp errors from tunnels
   cb9a11d017c6 selftests: netfilter: check icmp pkttoobig errors are set as related
   74e9b761fba0 init: initialize jump labels before command line option parsing
   6536de8232c8 mm: fix inactive list balancing between NUMA nodes and cgroups
   1134736869ef scsi: aic7xxx: fix EISA support
   ba87f547b0f7 ocelot: Don't sleep in atomic context (irqs_disabled())
   9e4fd5e0b81a ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
   7d4d8683e925 tools lib traceevent: Fix missing equality check for strcmp
   0c8afd514df0 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
   d39f3cc71382 KVM: fix spectrev1 gadgets
   4074bc379b1f x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
   3b51d71365e0 x86/build/lto: Fix truncated .bss with -fdata-sections
   8eb64692d6e2 s390/pkey: add one more argument space for debug feature entry
   e360515f41fc drm/amd/display: If one stream full updates, full update all planes
   58be7c109cea afs: Unlock pages for __pagevec_release()
   08f2c299b38c qede: fix write to free'd pointer error and double free of ptp
   090b74020014 vxge: fix return of a free'd memblock on a failed dma mapping
   f83beff28048 mISDN: Check address length before reading address family
   e4525c9d9ada selftests: fib_tests: Fix 'Command line is not complete' errors
   7828986b84ba clocksource/drivers/oxnas: Fix OX820 compatible
   6a414ef36840 clocksource/drivers/npcm: select TIMER_OF
   068d1cce7801 drm/amd/display: extending AUX SW Timeout
   2773e7454f4f s390/3270: fix lockdep false positive on view->lock
   4c8c9d514917 libnvdimm/pmem: fix a possible OOB access when read and write pmem
   f2565d0e5277 nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
   1d918120e37d mac80211: fix memory accounting with A-MSDU aggregation
   9d4da01f7d66 cfg80211: Handle WMM rules in regulatory domain intersection
   35e2abbaffa2 mac80211: Increase MAX_MSG_LEN
   bbe1ab38e1a2 mac80211: fix unaligned access in mesh table hash function
   e28e5055eacd s390/dasd: Fix capacity calculation for large volumes
   af5b7a150ef8 libnvdimm/btt: Fix a kmemdup failure check
   f7ab4818f74e HID: input: add mapping for "Toggle Display" key
   bbdccc170adf HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
   dc30867da997 HID: input: add mapping for Expose/Overview key
   e94f852e2034 libnvdimm/namespace: Fix a potential NULL pointer dereference
   5f72e3a021a6 acpi/nfit: Always dump _DSM output payload
   f07db1f1f54c iio: adc: xilinx: prevent touching unclocked h/w on remove
   6400212ae3b6 iio: adc: xilinx: fix potential use-after-free on probe
   06d5ea398e55 iio: adc: xilinx: fix potential use-after-free on remove
   5640d0781267 USB: serial: fix unthrottle races
   4c416eef65a7 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
   e361ccccdd51 kernfs: fix barrier usage in __kernfs_new_node()
   f1917f21c8f6 hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
   87cc345aefc9 platform/x86: dell-laptop: fix rfkill functionality
   381eaca5017f platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
   efe6802e812b platform/x86: sony-laptop: Fix unintentional fall-through
   824c212908b6 bfq: update internal depth state when queue depth changes
   3351e9d39947 Linux 4.19.43
   b21bde49d386 x86/speculation/mds: Fix documentation typo
   8e65568e9d23 Documentation: Correct the possible MDS sysfs values
   2e4c54890226 x86/mds: Add MDSUM variant to the MDS documentation
   12a0dad799fb x86/speculation/mds: Add 'mitigations=' support for MDS
   59a14fb5832c s390/speculation: Support 'mitigations=' cmdline option
   74857f69fec5 powerpc/speculation: Support 'mitigations=' cmdline option
   af5332dd991e x86/speculation: Support 'mitigations=' cmdline option
   8cb932aca5d6 cpu/speculation: Add 'mitigations=' cmdline option
   7ba793ae7b9f x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
   e9ae32266605 x86/speculation/mds: Fix comment
   b9faa4652867 x86/speculation/mds: Add SMT warning message
   b3a63d9c7453 x86/speculation: Move arch_smt_update() call to after mitigation decisions
   f7a119a762ef x86/speculation/mds: Add mds=full,nosmt cmdline option
   cfaa3d76301e Documentation: Add MDS vulnerability documentation
   e3803099d2f4 Documentation: Move L1TF to separate directory
   c50e81fe8a13 x86/speculation/mds: Add mitigation mode VMWERV
   8230c2028dce x86/speculation/mds: Add sysfs reporting for MDS
   2951067089a3 x86/speculation/mds: Add mitigation control for MDS
   4df98b3f3161 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
   b39dc9a8cced x86/kvm/vmx: Add MDS protection when L1D Flush is not active
   e4fa775b5606 x86/speculation/mds: Clear CPU buffers on exit to user
   1f7c31be1e04 x86/speculation/mds: Add mds_clear_cpu_buffers()
   de89ff6f1674 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
   aca9e8d8e2ce x86/speculation/mds: Add BUG_MSBDS_ONLY
   2e9104aa2633 x86/speculation/mds: Add basic bug infrastructure for MDS
   00b76324bd35 x86/speculation: Consolidate CPU whitelists
   e09450ffa980 x86/msr-index: Cleanup bit defines
   ca0056d97840 kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
   1f1bc8222ce7 x86/cpu: Sanitize FAM6_ATOM naming
   34aae15cb179 Documentation/l1tf: Fix small spelling typo

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoqemu: fix CVE-2018-20815
Armin Kuster [Thu, 15 Aug 2019 14:26:42 +0000 (07:26 -0700)]
qemu: fix CVE-2018-20815

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agomesa: Update 19.0.1 -> 19.0.8
Fabio Berton [Thu, 27 Jun 2019 19:55:23 +0000 (16:55 -0300)]
mesa: Update 19.0.1 -> 19.0.8

This commit adds the following changes:

Updates from 19.0.8:

  - Mesa 19.0.8 is an emergency bug fix release which fixes a critical
    bug found in the 19.0.7 release.

  Full log:
  https://www.mesa3d.org/relnotes/19.0.8.html

Updates from 19.0.7:

  - Mesa 19.0.7 is a bug fix release which fixes bugs found since the
    19.0.6 release.

  Full log:
  https://www.mesa3d.org/relnotes/19.0.7.html

Updates from 19.0.6:

  - Mesa 19.0.6 is a bug fix release which fixes bugs found since the
    19.0.5 release.

  Full log:
  https://www.mesa3d.org/relnotes/19.0.6.html

Updates from 19.0.5:

  - Mesa 19.0.5 is a bug fix release which fixes bugs found since the
    19.0.4 release.

  Full log:
  https://www.mesa3d.org/relnotes/19.0.5.html

Updates from 19.0.4:

  - Mesa 19.0.4 is a bug fix release which fixes bugs found since the
    19.0.3 release.

  Full log:
  https://www.mesa3d.org/relnotes/19.0.4.html

Updates from 19.0.3:

  - Mesa 19.0.3 is a bug fix release which fixes bugs found since the
    19.0.2 release.

  Full log:
  https://www.mesa3d.org/relnotes/19.0.3.html

Updates from 19.0.2:

  - Mesa 19.0.2 is a bug fix release which fixes bugs found since the
    19.0.1 release.

  Full log:
  https://www.mesa3d.org/relnotes/19.0.2.html

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoqemu: add a patch fixing the native build on newer kernels
Bartosz Golaszewski [Sun, 28 Jul 2019 11:06:47 +0000 (13:06 +0200)]
qemu: add a patch fixing the native build on newer kernels

The build fails on qemu-native if we're using kernels after commit
0768e17073dc527ccd18ed5f96ce85f9985e9115. This adds an upstream
patch that fixes the issue.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopackage.bbclass: fix directories setuid and setgid bits
Joël Esponde [Thu, 18 Jul 2019 13:47:39 +0000 (15:47 +0200)]
package.bbclass: fix directories setuid and setgid bits

populate_packages relies on ``mkdir`` to both create a directory and set
its permissions. However, ``mkdir`` honors the ``umask`` value.
Therefore, some bits may be lost in the operation. In our case, the
setgid bit on the directories were lost.

This commit fixes this by having a distinct call to create the directory
and to set the permissions.

Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@easymile.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopsmisc: Fix dependency for USE_NLS=no
Jason Wessel [Tue, 6 Aug 2019 19:41:21 +0000 (22:41 +0300)]
psmisc: Fix dependency for USE_NLS=no

When using USE_NLS="no" in the local.conf psmisc will fail to
compile as follows:

| autoreconf: Entering directory `.'
| autoreconf: running: autopoint --force
| autoreconf: failed to run autopoint: No such file or directory
| autoreconf: autopoint is needed because this package uses Gettext
| ERROR: autoreconf execution failed.

This is because the gettext.bbclass returns gettext-minimal-native for
the host dependency which does not include autopoint.  The autopoint
utility is required to build psmisc, so it needs to list
gettext-native as a dependency.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agorng-tools: fix very long shutdown delay with systemd
Bedel, Alban [Wed, 31 Jul 2019 14:01:58 +0000 (14:01 +0000)]
rng-tools: fix very long shutdown delay with systemd

The systemd service file has DefaultDependencies=no but is not
properly configured to also stop the unit. Because of this the unit
keep running after shutdown but systemd still waits for it to finish to
then later resort to a hard kill. All this take 1m30s with the default
configuration.

To fix this problem add the missing Before=shutdown.target and
Conflicts=shutdown.target to have systemd stop the unit on shutdown.

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoghostscript: fix CVE-2019-3839
Naveen Saini [Wed, 31 Jul 2019 07:18:51 +0000 (15:18 +0800)]
ghostscript: fix CVE-2019-3839

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopython3: fix CVE-2019-9740
Anuj Mittal [Tue, 30 Jul 2019 11:00:12 +0000 (19:00 +0800)]
python3: fix CVE-2019-9740

CVE-2019-9947 is same as CVE-2019-9740 and mark it as such. See:

https://bugs.python.org/issue30458

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopatch: fix CVE-2019-13636
Anuj Mittal [Tue, 30 Jul 2019 11:00:11 +0000 (19:00 +0800)]
patch: fix CVE-2019-13636

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopackage: Improve determinism
Richard Purdie [Mon, 29 Jul 2019 11:37:02 +0000 (13:37 +0200)]
package: Improve determinism

Its possible in cases with multiple shlib providers we were not being
deterministic. Add in a couple of sorted() calls to fix the shlibs and
pkgconfig cases with this potential issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agogstreamer1.0-vaapi: backport jpeg encode/decode fixes
Anuj Mittal [Thu, 25 Jul 2019 04:03:06 +0000 (12:03 +0800)]
gstreamer1.0-vaapi: backport jpeg encode/decode fixes

Backport patches from 1.15 to fix JPEG encode/decode issues when
using VAAPI with Intel media-driver. See for details:

https://bugzilla.gnome.org/show_bug.cgi?id=796705
https://bugzilla.gnome.org/show_bug.cgi?id=796505

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolibsdl: CVE fixes
Anuj Mittal [Thu, 25 Jul 2019 04:03:05 +0000 (12:03 +0800)]
libsdl: CVE fixes

Fixes CVE-2019-7572, CVE-2019-7574, CVE-2019-7575, CVE-2019-7576,
CVE-2019-7577, CVE-2019-7578, CVE-2019-7635, CVE-2019-7637,
CVE-2019-7638.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agotiff: fix CVE-2019-7663
Ross Burton [Thu, 25 Jul 2019 04:03:04 +0000 (12:03 +0800)]
tiff: fix CVE-2019-7663

(From OE-Core rev: d06d6910d1ec9374bb15e02809e64e81198731b6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agotiff: fix CVE-2019-6128
Ross Burton [Thu, 25 Jul 2019 04:03:03 +0000 (12:03 +0800)]
tiff: fix CVE-2019-6128

(From OE-Core rev: 7293e417dd9bdd04fe0fec177a76c9286234ed46)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolibid3tag: CVE-2017-11551 is the same as CVE-2004-2779
Ross Burton [Thu, 25 Jul 2019 04:03:02 +0000 (12:03 +0800)]
libid3tag: CVE-2017-11551 is the same as CVE-2004-2779

(From OE-Core rev: 0663e5f8f906803685f018061d51fd6277916e50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolibid3tag: handle unknown encodings (CVE-2017-11550)
Ross Burton [Thu, 25 Jul 2019 04:03:01 +0000 (12:03 +0800)]
libid3tag: handle unknown encodings (CVE-2017-11550)

(From OE-Core rev: 5090afc1b07e62f70ebcf63a7abb75b8552f0a52)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoglibc: CVE-2018-20796 is same as CVE-2019-9169
Anuj Mittal [Thu, 25 Jul 2019 04:03:00 +0000 (12:03 +0800)]
glibc: CVE-2018-20796 is same as CVE-2019-9169

See:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34141
https://www.securityfocus.com/bid/107160

(From OE-Core rev: 7e90506534ed2a70680382cf28614f02fdb98409)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolibxslt: fix CVE-2019-13117 CVE-2019-13118
Anuj Mittal [Thu, 25 Jul 2019 04:02:59 +0000 (12:02 +0800)]
libxslt: fix CVE-2019-13117 CVE-2019-13118

(From OE-Core rev: 7dc3048fec88dd62ef49ef16517b7382ab7cf2a5)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopython: fix CVE-2019-9740
Anuj Mittal [Thu, 25 Jul 2019 04:02:58 +0000 (12:02 +0800)]
python: fix CVE-2019-9740

(From OE-Core rev: 8eddac3305b7b428565103cde88cba444e3f0dd0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agobinutils: CVE-2019-9070 is same as CVE-2019-9071
Anuj Mittal [Thu, 25 Jul 2019 04:02:57 +0000 (12:02 +0800)]
binutils: CVE-2019-9070 is same as CVE-2019-9071

See:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89395

(From OE-Core rev: cef180de3684491f1ac4180ddbcc102121222181)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agobinutils: fix CVE-2019-12972 CVE-2019-9071
Anuj Mittal [Thu, 25 Jul 2019 04:02:56 +0000 (12:02 +0800)]
binutils: fix CVE-2019-12972 CVE-2019-9071

(From OE-Core rev: 093f0914f261a27d58ecba9c1e9d3b78a35af012)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agocurl: fix CVE-2019-5435 CVE-2019-5436
Anuj Mittal [Fri, 26 Jul 2019 04:47:29 +0000 (12:47 +0800)]
curl: fix CVE-2019-5435 CVE-2019-5436

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: fix CVE-2018-20852 CVE-2019-9636
Anuj Mittal [Fri, 26 Jul 2019 04:47:28 +0000 (12:47 +0800)]
python3: fix CVE-2018-20852 CVE-2019-9636

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobzip2: fix CVE-2019-12900
Anuj Mittal [Fri, 26 Jul 2019 04:47:27 +0000 (12:47 +0800)]
bzip2: fix CVE-2019-12900

Also include a patch to fix regression caused by it. See:

https://gitlab.com/federicomenaquintero/bzip2/issues/24

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowget: fix CVE-2019-5953
Anuj Mittal [Fri, 26 Jul 2019 04:47:26 +0000 (12:47 +0800)]
wget: fix CVE-2019-5953

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-base: fix CVE-2019-9928
Anuj Mittal [Fri, 26 Jul 2019 04:47:25 +0000 (12:47 +0800)]
gstreamer1.0-plugins-base: fix CVE-2019-9928

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovim: fix CVE-2019-12735
Anuj Mittal [Fri, 26 Jul 2019 04:47:24 +0000 (12:47 +0800)]
vim: fix CVE-2019-12735

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoexpat: fix CVE-2018-20843
Anuj Mittal [Fri, 26 Jul 2019 04:47:23 +0000 (12:47 +0800)]
expat: fix CVE-2018-20843

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to warrior head revision
Richard Purdie [Sun, 30 Jun 2019 21:42:05 +0000 (22:42 +0100)]
build-appliance-image: Update to warrior head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogpg_sign/selftest: Fix secmem parameter handling
Richard Purdie [Thu, 6 Jun 2019 18:33:02 +0000 (19:33 +0100)]
gpg_sign/selftest: Fix secmem parameter handling

We keep seeing "cannot allocate memory" errors from rpm when signing packages
on the autobuilder. The following were tried:

* checking locked memory use (isn't hitting limits)
* Restricting RPM_GPG_SIGN_CHUNK to 1
* Limiting to 10 parallel do_package_write_rpm tasks
* Allowing unlimied memory overcommit
* Disabling rpm parallel compression

and the test still failed. Further invetigation showed that the --auto-expand-secmem
wasn't being passed to gpg-agent which meant the secmem couldn't be expanded hence the
errors when there was pressure on the agent.

The reason this happens is that some of the early gpg commands can start the agent
without the option and it sticks around in memory so a version with the correct
option may or may not get started.

We therefore add the option to all the key gpg calls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agowpa-supplicant: Fix CVE-2019-9494 CVE-2019-9495 CVE-2019-9496 CVE-2019-9497 CVE-2019...
Adrian Bunk [Wed, 19 Jun 2019 18:04:22 +0000 (21:04 +0300)]
wpa-supplicant: Fix CVE-2019-9494 CVE-2019-9495 CVE-2019-9496 CVE-2019-9497 CVE-2019-9498 CVE-2019-9499 CVE-2019-11555

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agopackage.bbclass: Clean up writing of runtime pkgdata files
Peter Kjellerstedt [Wed, 19 Jun 2019 15:45:06 +0000 (17:45 +0200)]
package.bbclass: Clean up writing of runtime pkgdata files

This introduces a variable, PKGDATA_VARS, that contains the names of
the variables that are to be output in the runtime pkgdata files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agotexinfo-dummy-native: Rewrite template.py to use argparse
Peter Kjellerstedt [Wed, 19 Jun 2019 15:45:05 +0000 (17:45 +0200)]
texinfo-dummy-native: Rewrite template.py to use argparse

The original version of template.py parses the arguments manually. This
fails when looking for the -E option if, e.g., an -I option is specified
without any space before its argument, and that argument contains the
letter 'E'.

A minor difference to the original version is that it parsed the
arguments in the order they were specified on the command line whereas
this version will always handle -E before -o.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agotexinfo-dummy-native: A little clean up of template.py
Peter Kjellerstedt [Wed, 19 Jun 2019 15:45:04 +0000 (17:45 +0200)]
texinfo-dummy-native: A little clean up of template.py

This is mainly whitespace clean up, plus using the with statement when
writing files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolibxslt: Fix CVE-2019-11068
Adrian Bunk [Wed, 19 Jun 2019 17:54:29 +0000 (20:54 +0300)]
libxslt: Fix CVE-2019-11068

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agouninative: Update to 2.6 release
Richard Purdie [Thu, 20 Jun 2019 14:05:28 +0000 (15:05 +0100)]
uninative: Update to 2.6 release

The 2.6 release contains both libcrypt.so.1 and libcrypt.so.2 which fixes
compatibility with recent fedora/suse releases.

The difference is one is built with obsolete APIs enabled and one disabled.
We now ship both in uninative for compatibility regardless of which distro
a binary is built on.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agooeqa/logparser: ignore test failure commentary
Ross Burton [Wed, 19 Jun 2019 15:16:11 +0000 (16:16 +0100)]
oeqa/logparser: ignore test failure commentary

The output format for Python and GLib both can be of this form:

FAIL: foobar (Segmentation fault)

In this case the test is called foobar not foobar_segmentation_fault.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agorootfs: Fix dependency for every dpkg run
Ricardo Ribalda Delgado [Wed, 19 Jun 2019 09:44:00 +0000 (11:44 +0200)]
rootfs: Fix dependency for every dpkg run

Avoid getting a warning on do_rootfs.

Fixes:

NOTE: Installing the following packages: libgdk-pixbuf-2.0-locale-en-gb glibc-locale-en-gb libatspi-locale-en-gb gstreamer1.0-locale-en-gb gtk+3-locale-en libatk-1.0-locale-en-gb gtk+3-locale-en-gb gstreamer1.0-plugins-good-locale-en-gb gstreamer1.0-plugins-base-locale-en-gb gstreamer1.0-plugins-bad-locale-en-gb libglib-2.0-locale-en-gb avahi-locale-en-gb vte-locale-en-gb xkeyboard-config-locale-en-gb
WARNING: Unable to install packages. Command '/workdir/build/tmp/work/qt5122-poky-linux/bottlecam-image/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --force-yes --allow-unauthenticated libgdk-pixbuf-2.0-locale-en-gb glibc-locale-en-gb libatspi-locale-en-gb gstreamer1.0-locale-en-gb gtk+3-locale-en libatk-1.0-locale-en-gb gtk+3-locale-en-gb gstreamer1.0-plugins-good-locale-en-gb gstreamer1.0-plugins-base-locale-en-gb gstreamer1.0-plugins-bad-locale-en-gb libglib-2.0-locale-en-gb avahi-locale-en-gb vte-locale-en-gb xkeyboard-config-locale-en-gb' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agomanifest.py: fix test_SDK_manifest_entries
Chen Qi [Mon, 17 Jun 2019 09:24:30 +0000 (17:24 +0800)]
manifest.py: fix test_SDK_manifest_entries

TOOLCHAIN_OUTPUTNAME could be overridden. So use this variable directly
instead of its default value ${SDK_NAME}-toolchain-${SDK_VERSION}.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoopenssl: fix failure of ptest test_shlibload
Kai Kang [Sun, 16 Jun 2019 10:48:51 +0000 (06:48 -0400)]
openssl: fix failure of ptest test_shlibload

It fails to run ptest case test_shlibload which requires libcrypto.so
and libssl.so with version numbers now.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoptest-runner: enable child procs as session leader
Randy MacLeod [Sun, 16 Jun 2019 15:48:16 +0000 (11:48 -0400)]
ptest-runner: enable child procs as session leader

When running the run-execscript bash ptest as a user rather than root, a warning:
  bash: cannot set terminal process group (16036): Inappropriate ioctl for device
  bash: no job control in this shell
contaminates the bash log files causing the test to fail. This happens only
when run under ptest-runner and not when interactively testing!

The changes made to fix this include:
1. Get the process group id (pgid) before forking,
2. Set the pgid in both the parent and child to avoid a race,
3. Find, open and set permission on the child tty, and
4. Allow the child to attach to controlling tty.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoptest-runner: update SRCREV to latest HEAD on ptest-runner2 repo
Sakib Sajal [Tue, 4 Jun 2019 19:29:38 +0000 (15:29 -0400)]
ptest-runner: update SRCREV to latest HEAD on ptest-runner2 repo

   63d097c Add SPDX-License-Identifier: GPL-2.0-or-later in source files (HEAD)
   fb93c99 utils.c: close all file descriptors after completing a ptest

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agocontext.py: fix skipping function
Chen Qi [Mon, 17 Jun 2019 02:12:29 +0000 (10:12 +0800)]
context.py: fix skipping function

The current codes to skip test cases are logically correct, but they
do not work correctly in reality. It does skip the tests as the command
line argument specifies, but the related information is wrong.
e.g.
$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:24:53,764 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:25:06,309 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:25:06,310 - oe-selftest - INFO -        /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO -        /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO -        /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:25:06,312 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:25:10,522 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:25:10,522 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,522 - oe-selftest - INFO - Skip by the command line argument "runtime_test"
2019-06-17 09:25:10,523 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:25:10,523 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,523 - oe-selftest - INFO - Skip by the command line argument "runtime_test"

The archiver.Archiver.xxx tests should be skipped by 'archiver' command line
argument, not 'runtime_test'.

Change to use a function generator to achieve the desired effect. After the change,
the effect is as follows.

$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:19:06,223 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:19:19,598 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:19:19,599 - oe-selftest - INFO -        /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO -        /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO -        /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:19:19,602 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:19:24,369 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,369 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,370 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,370 - oe-selftest - INFO - test_archiver_filters_by_type_and_name (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,371 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,371 - oe-selftest - INFO - test_archiver_srpm_mode (archiver.Archiver)
2019-06-17 09:19:24,371 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,372 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,372 - oe-selftest - INFO - test_bitbakelayers_add_remove (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,373 - oe-selftest - INFO - Skip by the command line argument "bblayers"
2019-06-17 09:19:24,373 - oe-selftest - INFO - test_bitbakelayers_createlayer (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,374 - oe-selftest - INFO - Skip by the command line argument "bblayers"
[snip]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agodevicetree.bbclass: Combine stderr into stdout to see actual dtc error
Jaewon Lee [Wed, 12 Jun 2019 23:29:01 +0000 (16:29 -0700)]
devicetree.bbclass: Combine stderr into stdout to see actual dtc error

Previously the subprocess command to run dtc was not properly displaying
the error on console. Combining stderr into stdout for the dtc subprocess
so the actual error can be seen on console without having to open the
do_compile log.

For example, previously on a dtc error, just the following stack trace
and dtc command was being shown on console:

File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:devicetree_do_compile(d)
     0003:
File:
function: devicetree_do_compile
     0127:            if not(os.path.isfile(dtspath)) or
not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):
     0128:                continue # skip non-.dts files and non-overlay
files
     0129:        except:
     0130:            continue # skip if can't determine if overlay
 *** 0131:        devicetree_compile(dtspath, includes, d)

    ...

Exception: subprocess.CalledProcessError: Command '['dtc', '-R', '8',
'-b', '0', '-p', '0x1000', '-i', '${INCLUDES}, '-o', 'system-top.dtb',
'-I', 'dts', '-O', 'dtb', 'system-top.dts.pp']' returned non-zero exit
status 1

with this patch, the actual error from the dtc command will be appended
like the following:

Subprocess output:
Error: Label or path not found
FATAL ERROR: Syntax error parsing input tree

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agodiffutils/run-ptest: support to run at arbitrary path
Hongxu Jia [Thu, 13 Jun 2019 08:06:24 +0000 (04:06 -0400)]
diffutils/run-ptest: support to run at arbitrary path

1. Run run-ptest at arbitrary path

2. Fix large-subopt.in1 not found
...
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in1:
No such file or directory
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in2:
No such file or directory
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoselftest/devtool: fix URI to MarkupSafe package
Oleksandr Kravchuk [Thu, 13 Jun 2019 21:23:40 +0000 (23:23 +0200)]
selftest/devtool: fix URI to MarkupSafe package

PyPi packages are now hosted at files.pythonhosted.org.

[YOCTO #13243]

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoutil-linux: Stop udevd to run ptests
Mariano López [Fri, 14 Jun 2019 03:32:40 +0000 (22:32 -0500)]
util-linux: Stop udevd to run ptests

The util-linux's ptest uses the SCSI_DEBUG kernel module to create
virtual SCSI disks. The automount feature of udevd will try to mount
these disks by default. Because udevd controls the mount of the disks,
the eject/mount tests will fail or be skipped. This change will stop
udevd before executing the util-linux's ptest and start the daemon
again after all the tests.

This is for eudevd only, systemd-udevd doesn't present this problem
because there are no automount rules.

[YOCTO #13301]

Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agognutls: Use ca-certificates as default trust store file
Philippe Normand [Mon, 3 Jun 2019 08:20:31 +0000 (09:20 +0100)]
gnutls: Use ca-certificates as default trust store file

Since version 2.58 the glib-networking TLS database relies on GnuTLS's system
trust store, so not enabling it leads to TLS errors in applications depending on
glib-networking. The raised runtime warning is:

process:500): GLib-Net-WARNING **: 09:14:09.321: Failed to load TLS database: Failed to load system trust store: GnuTLS was not configured with a system trust
(app:490): ... TLS Error: TLS certificate  has unknown CA.

(From OE-Core rev: 1d147be584d2f016853edbe9751247d7daa0b5d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agosystemd: avoid musl specific patches affect glibc systems
Chen Qi [Fri, 7 Jun 2019 20:26:39 +0000 (23:26 +0300)]
systemd: avoid musl specific patches affect glibc systems

systemd upstream only care about glibc. We made musl specific
patches so that systemd could work. But currently these patches
contain potential security issues.

So apply these patches only when the libc is musl.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agobc: use u-a for bc as well
Martin Jansa [Thu, 13 Jun 2019 08:17:34 +0000 (08:17 +0000)]
bc: use u-a for bc as well

* bc can be provided by busybox as well (e.g. if you have your own
  defconfig and forget to explicitly disable it:
  ...
  *
  * Miscellaneous Utilities
  *
  adjtimex (4.7 kb) (ADJTIMEX) [N/y/?] n
  bbconfig (9.7 kb) (BBCONFIG) [N/y/?] n
  bc (45 kb) (BC) [Y/n/?] (NEW) dc (36 kb) (DC) [Y/n/?] y
    Use bc code base for dc (larger, more features) (FEATURE_DC_BIG) [Y] (NEW) y
      Interactive mode (+4kb) (FEATURE_BC_INTERACTIVE) [Y/n/?] (NEW)     Enable bc/dc long options (FEATURE_BC_LONG_OPTIONS) [Y/n] (NEW) beep (2.4 kb) (BEEP) [N/y/?] n
  chat (6.3 kb) (CHAT) [N/y/?] n
  conspy (10 kb) (CONSPY) [N/y/?] n
  ...
  ), causing conflict in u-a:

  update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid since /usr/bin/bc exists and is not a link

  and then whole do_rootfs or do_populate_sdk to fail because busybox postinst is failing:

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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agogrub-efi-cfg, systemd-boot-cfg: use MACHINE_ARCH
Martin Jansa [Sat, 8 Jun 2019 12:02:04 +0000 (12:02 +0000)]
grub-efi-cfg, systemd-boot-cfg: use MACHINE_ARCH

* both use KERNEL_IMAGETYPE variable which is MACHINE specific
* fixes:

  === Comparing signatures for task do_configure.sigdata between hammerhead and mako ===
  ERROR: grub-bootconf different signature for task do_configure.sigdata between hammerhead and mako
  basehash changed from 710332f3ec15670302dd690708730c9e418d53790ce36d6a91b049ae4f7069b1 to c9a46e58b4634b5fd47d20683f8320e15f5c4cb7628e3a62ed97d8528d7aabd2
  Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'

  ERROR: systemd-bootconf different signature for task do_configure.sigdata between hammerhead and mako
  basehash changed from 2abbaf6d7760696fbf1ff5df5705239b475ccbf6f0c831fc4031984c0ce0e9f2 to 24f1e7886dee02b04bc180acc1c946ad82ce842655e5a5f4a8006f4a8490f985
  Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'

  detected with:
  openembedded-core/scripts/sstate-diff-machines.sh --targets=world --tmpdir=tmp-glibc/ --analyze --machines="hammerhead mako qemux86"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoqemurunner: fix undefined variable
Adrian Freihofer [Sat, 8 Jun 2019 07:59:45 +0000 (09:59 +0200)]
qemurunner: fix undefined variable

While hacking on this I got an Exception. It's better to define
variables also in python.

Signe:-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agologparser: Add LTP compliance section
Armin Kuster [Mon, 22 Apr 2019 12:32:42 +0000 (06:32 -0600)]
logparser: Add LTP compliance section

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agologparser: Add decoding ltp logs
Armin Kuster [Mon, 22 Apr 2019 12:32:39 +0000 (06:32 -0600)]
logparser: Add decoding ltp logs

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agooeqa/utils/qemurunner: Set both the threadport&serverport with tcpserial parameter
Kevin Hao [Thu, 6 Jun 2019 07:11:47 +0000 (15:11 +0800)]
oeqa/utils/qemurunner: Set both the threadport&serverport with tcpserial parameter

After the commit ad522ea6a64e ("runqemu: Let qemuparams override default
settings"), the order of the two "-serial" parameters when running the
qemu have been switched. The effect of this is that the logging thread
will use ttyS1 (of course can't capture the kernel boot message anymore),
and the test command will run on the ttyS0. So the output of the test
command may be mangled by the kernel message (such as call trace), and
let the test command produce a fake timeout error message. We can't fix
it by just adjusting the order of the threadport and serverport, since
it will break some machines such as qemuarm64 which use the virtio
serial. So using the tcpserial to setup both the threadport and
serverport.

[YOCTO Bug 13309]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agorunqemu: Add the support to pass multi ports to tcpserial parameter
Kevin Hao [Thu, 6 Jun 2019 07:11:46 +0000 (15:11 +0800)]
runqemu: Add the support to pass multi ports to tcpserial parameter

In some cases(such as the oeqa's qemurunner), we need to setup multi
serial devices via the '-serial 127.0.0.1:xx" and the order of them
is significant. The mixing use of "tcpserial" and "-serial 127.0.0.1:xx"
cause ambiguous issues and we can't fix it by only adjusting the order
of them. So add the support to pass multi ports to the tcpserial
parameter, this will make sure that the order of setting up the serial
is really what we want.

[YOCTO Bug 13309]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixes qemuppc hang in warrior]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoresulttool: Remove prints if no tests occur
Jon Mason [Mon, 3 Jun 2019 23:19:49 +0000 (19:19 -0400)]
resulttool: Remove prints if no tests occur

Printing the lack of a test is not necessary (per feedback).  Remove
this from the template to quieten it.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoresulttool/manualexecution: Enable creation of test case configuration
sangeeta jain [Mon, 3 Jun 2019 08:17:47 +0000 (16:17 +0800)]
resulttool/manualexecution: Enable creation of test case configuration

Allow the creation of test case configuration file based on user inputs.
Where this testcase configuration file will be used by the the manual
execution to run selected test cases for a module rather than compulsory
run all test cases in manual json file.

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoresulttool: modify to be multi-machine
Jon Mason [Sun, 2 Jun 2019 18:29:12 +0000 (14:29 -0400)]
resulttool: modify to be multi-machine

Currently, the code will sum all of the different machine results into a
single report of the tests results.  This can lead to confusion as to
which machine may be experiencing issues.  Modify the code to store the
results in a per machine basis and report them accordingly.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoresulttool: add LTP compliance section
Armin Kuster [Mon, 22 Apr 2019 12:32:41 +0000 (06:32 -0600)]
resulttool: add LTP compliance section

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoresulttool: add ltp test support
Armin Kuster [Mon, 22 Apr 2019 12:32:38 +0000 (06:32 -0600)]
resulttool: add ltp test support

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agometa/lib+scripts: Convert to SPDX license headers
Richard Purdie [Wed, 8 May 2019 17:22:19 +0000 (18:22 +0100)]
meta/lib+scripts: Convert to SPDX license headers

This adds SPDX license headers in place of the wide assortment of things
currently in our script headers. We default to GPL-2.0-only except for the
oeqa code where it was clearly submitted and marked as MIT on the most part
or some scripts which had the "or later" GPL versioning.

The patch also drops other obsolete bits of file headers where they were
encoountered such as editor modelines, obsolete maintainer information or
the phrase "All rights reserved" which is now obsolete and not required in
copyright headers (in this case its actually confusing for licensing as all
rights were not reserved).

More work is needed for OE-Core but this takes care of the bulk of the scripts
and meta/lib directories.

The top level LICENSE files are tweaked to match the new structure and the
SPDX naming.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoltp_compliance: add new runtime
Armin Kuster [Mon, 22 Apr 2019 12:32:43 +0000 (06:32 -0600)]
ltp_compliance: add new runtime

test runtimes in sec.
AIO: 14
MEM: 94
MSG: 89
SEM: 30
SIG: 194
THR: 399
TMR: 867
TPS: 23

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agoltp: add runtime test
Armin Kuster [Mon, 22 Apr 2019 12:32:40 +0000 (06:32 -0600)]
ltp: add runtime test

This adds the framework for running ltp tests.

Here are some times:
math: 61
syscalls: 3957
dio: 18472
io: 29
mm: 551
ipc: 48
sched: 165
nptl: 46
pty: 37
containers: 52
controllers: 9625
filecaps: 27
cap_bounds: 27
fcntl-locktests: 29
connectors: 27
timers: 37
commands: 165
net.ipv6_lib: 30
input: 29
fs_perms_simple: 31
fs: 3476
fsx: 30
fs_bind: 28
fs_ext4: 28
cve: 675

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolinux-yocto: ptest: Add SCSI debug configuration for util-linux
Bruce Ashfield [Mon, 3 Jun 2019 20:27:50 +0000 (16:27 -0400)]
linux-yocto: ptest: Add SCSI debug configuration for util-linux

Bumping the SRCREVs to pickup the following configuration tweak for
ptest usage:

  Author: Mariano López <just.another.mariano@gmail.com>
  Date:   Sat Jun 1 17:30:46 2019 -0500

      Add SCSI debug configuration for util-linux ptest

      The ptests from util-linux require the scsi debug module to be installed
      for a subset of tests. This patch would allow to build the kernel module
      for the linux-yocto kernel.

Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolib/oe/reciputils.py: support character `+' in git pv
Hongxu Jia [Mon, 3 Jun 2019 08:49:20 +0000 (01:49 -0700)]
lib/oe/reciputils.py: support character `+' in git pv

While pv contains char `+' (such as ncurses 6.1+20181013),
it was incorrectly converted to `6.1'

In this commit:
- Convert [^\+]* to .*?
  Support pv to contain char `+' and not greedy match
  (Such as ncurses 6.1+20181013)

- Add [^\+] to sfx match
  Support sfx contains extra chars between `+' and `git'
  (such as asciidoc "8.6.9+py3-gitAUTOINC+618f6e6f6b")

- Make sfx and rev greedy match

Run `devtool check-upgrade-status --all' in poky and compare results,
only one difference on ncurses version:
Without the commit:
INFO: ncurses                   6.1             6.1+20181013    Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835

With the commit:
INFO: ncurses                   6.1+20181013    MATCH           Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolinux-yocto/5.0: fix systemtap on arm
Bruce Ashfield [Sat, 1 Jun 2019 18:45:39 +0000 (14:45 -0400)]
linux-yocto/5.0: fix systemtap on arm

The following commit is part of 5.0.17+:

    ARM: fix function graph tracer and unwinder dependencies

    [ Upstream commit 503621628b32782a07b2318e4112bd4372aa3401 ]

    Naresh Kamboju recently reported that the function-graph tracer crashes
    on ARM. The function-graph tracer assumes that the kernel is built with
    frame pointers.

    We explicitly disabled the function-graph tracer when building Thumb2,
    since the Thumb2 ABI doesn't have frame pointers.

    We recently changed the way the unwinder method was selected, which
    seems to have made it more likely that we can end up with the function-
    graph tracer enabled but without the kernel built with frame pointers.

    Fix up the function graph tracer dependencies so the option is not
    available when we have no possibility of having frame pointers, and
    adjust the dependencies on the unwinder option to hide the non-frame
    pointer unwinder options if the function-graph tracer is enabled.

Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
As such, we no longer have UNWINDER_ARM enabled in our ARM builds by
default, since we do have FUNCTION_GRAPH_TRACER enabled in the common
ftrace configuration.

We disable FUNCTION_GRAPH_TRACER for ARM, which allows UNWINDER_ARM to
remain enabled and hence systemtap work out of the box for our ARM
reference builds. Obviously, BSPs or other users of the fragments can
make a different decision, but we chose unwinder to be on by default.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
5 years agolinux-yocto-rt/5.0: update to -rt11
Bruce Ashfield [Thu, 30 May 2019 12:44:43 +0000 (08:44 -0400)]
linux-yocto-rt/5.0: update to -rt11

Updating the 5.0 -rt to -rt11, which comprises the following commits:

   9c1e84c9b81b v5.0.19-rt11
   c4258b70deda workqueue: rework
   2a0f03c9daff softirq: rework
   cb38c9a00313 Revert "drm/i915/fence: Do not use TIMER_IRQSAFE"
   0ffa8402bf10 clocksource: TCLIB: Add proper depend
   6a2ecc186d9a arm: imx6: cpuidle: Use raw_spinlock_t
   c302271409c2 locking/lockdep: Don't complain about incorrect name for no validate class
   4042bcac2c90 v5.0.19-rt10
   d6ad4a85a911 genirq: Handle missing work_struct in irq_set_affinity_notifier()

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