]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agodhcp: Security Advisory - CVE-2017-3144
Yue Tao [Wed, 11 Apr 2018 00:21:18 +0000 (08:21 +0800)]
dhcp: Security Advisory - CVE-2017-3144

Fix CVE-2017-3144

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3144
https://kb.isc.org/article/AA-01541

Patch from:
https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=commitdiff;h=5097bc0559f592683faac1f67bf350e1bddf6ed4

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogconf: fix saving of settings when config folder doesnt exist
Jaewon Lee [Tue, 10 Apr 2018 21:26:47 +0000 (14:26 -0700)]
gconf: fix saving of settings when config folder doesnt exist

In some circumstances, gconf isn't able to save configurations
because ~/.config folder aka root_dir doesn't exist.

For example when saving settings using matchbox-appearance,
the following error is shown:

GConf Error: Configuration server couldn't be contacted: D-BUS error:
Can't overwrite existing read-only value: Value for
`/desktop/poky/interface/font_name' set in a read-only source at the
front of your configuration path

This issue was not seen before because ~/.config directory is shared
between several packages and one of those packages usually creates it
by the time gconf wants to use it.

This patch makes sure that gconf creates the .config directory if it
doesn't exist, along with the gconf directory inside it.

[YOCTO #12632]

Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobootchart2: update canonical git URL
Ross Burton [Tue, 10 Apr 2018 16:31:24 +0000 (17:31 +0100)]
bootchart2: update canonical git URL

/mmeeks/bootchart.git is redirecting to /xrmx/bootchart.git so update SRC_URI to
match.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython3: Add recommended modules to nativesdk install
Tom Hochstein [Mon, 9 Apr 2018 16:20:32 +0000 (11:20 -0500)]
python3: Add recommended modules to nativesdk install

The python3 installation in the SDK did not include the minimum set
of modules to be functional, particularly in the case where Python
is brought in through dependencies. Rather than requiring the user
to explicitly add the modules, it's better to pull in the modules
through RRECOMMENDS. Note that the Python 2 recipe already does
this.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agometa: add missing Signed-off-by and Upstream-Status tags
Ross Burton [Mon, 9 Apr 2018 17:16:58 +0000 (18:16 +0100)]
meta: add missing Signed-off-by and Upstream-Status tags

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto/4.14/4.15: deterministic srcversion
Bruce Ashfield [Mon, 9 Apr 2018 15:16:07 +0000 (11:16 -0400)]
linux-yocto/4.14/4.15: deterministic srcversion

   Author: Juro Bystricky <juro.bystricky@intel.com>
   Date:   Fri Mar 30 10:14:05 2018 -0700

       modpost: srcversion sometimes incorrect

       "srcversion" field inserted into module modinfo section contains a
       sum of the source files which made it. However, this field can
       be incorrect. Building the same module can end up having inconsistent
       srcversion field eventhough the sources remain the same.
       This can be reproduced by building modules in a deeply nested directory,
       but other factors contribute as well.

       The reason for incorrect srcversion is that some source files can be
       simply silently skipped from the checksum calculation due to limited
       buffer space for line parsing.

       This patch addresses two issues:

       1. Allocates a larger line buffer (32k vs 4k).
       2. Issues a warning if a line length exceeds the line buffer.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto-tiny/4.14: fix recipe name
Bruce Ashfield [Mon, 9 Apr 2018 15:16:06 +0000 (11:16 -0400)]
linux-yocto-tiny/4.14: fix recipe name

I guess not many people are building linux-yocto-tiny for
v4.15, given that I managed to mangle the name of the recipe
when I introduced it.

[YOCTO #12640]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto/4.14: add elfutils, util-linux and openssl dependencies
Bruce Ashfield [Mon, 9 Apr 2018 15:16:05 +0000 (11:16 -0400)]
linux-yocto/4.14: add elfutils, util-linux and openssl dependencies

4.15+ already has the following dependencies:

 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
 DEPENDS += "openssl-native util-linux-native"

Updates to 4.14 via the -stable releases have also introduced the same
dependencies to 4.14's "make scripts". As such, we bring the same lines
into 4.14 to restore the ability to build scripts.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopopulate_sdk_base: use xz -T instead of pixz
Ross Burton [Mon, 9 Apr 2018 15:17:05 +0000 (16:17 +0100)]
populate_sdk_base: use xz -T instead of pixz

xz has native support for threaded compression now and SDK creation was the only
part of oe-core which is using pixz instead of xz.

Not only does this remove pixz-native from the SDK dependencies, but in my
limited testing xz -T0 is slightly faster and produces smaller archives than
pixz for the same input.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage_types: use pigz to create .gz files
Ross Burton [Tue, 10 Apr 2018 14:32:19 +0000 (15:32 +0100)]
image_types: use pigz to create .gz files

Since pigz is no longer a drop-in replacement for gzip (oe-core 1624b7b) the
image creation has been using gzip instead of pigz, despite still depending on
pigz-native.  Fix this by invoking pigz explicitly.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolicense.bbclass: be a bit more strict when searching ${PN}-${LICENSE_PACKAGE_SUFFIX... uninative-1.9
Martin Jansa [Sun, 8 Apr 2018 20:16:00 +0000 (20:16 +0000)]
license.bbclass: be a bit more strict when searching ${PN}-${LICENSE_PACKAGE_SUFFIX} in packages

* linux-firmware contains ${PN}-license package since this commit:
  commit 1ee083da0730408fffdbbf5f29abc299c0e61be9
  Author: Jackie Huang <jackie.huang@windriver.com>
  Date:   Mon Apr 13 10:17:21 2015 +0800

    linux-firmware: fix the mess of licenses
* LICENSE_CREATE_PACKAGE functionality in license.bbclass when enabled
  adds new package with suffix:
  LICENSE_PACKAGE_SUFFIX ??= "-lic"
  but then it checks if ${PN}-${LICENSE_PACKAGE_SUFFIX} is included
  in PACKAGES before adding it and when found it shows:
  WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: linux-firmware-lic package already existed in linux-firmware.
  and doesn't add the ${PN}-lic to PACKAGES and causes another warning:
  WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: QA Issue: linux-firmware: Files/directories were installed but not shipped in any package:
  /usr
  /usr/share
  /usr/share/licenses
  /usr/share/licenses/linux-firmware

  that's because it was searching ${PN}-lic in PACKAGES as a string
  so it found ${PN}-lic as a substring of ${PN}-license, add a split
  to search in an list

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxcrypt: add -std=gnu99 to BUILD_CPPFLAGS
Martin Jansa [Mon, 9 Apr 2018 07:51:41 +0000 (07:51 +0000)]
libxcrypt: add -std=gnu99 to BUILD_CPPFLAGS

* add it to allow older distributions e.g. Ubuntu 14.04 with gcc 4.8
  to build this, otherwise it fails with:
  ../git/gen-des-tables.c: In function 'write_table_u8':
  ../git/gen-des-tables.c:307:3: error: 'for' loop initial declarations are only allowed in C99 mode
     for (size_t i = 0; i < m; i++)
     ^

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorpm: build without dbus for rpm-native
Chen Qi [Sun, 8 Apr 2018 07:56:07 +0000 (15:56 +0800)]
rpm: build without dbus for rpm-native

Add option for dbus in configure.ac, and explicitly build without dbus
for rpm-native.

Previously, the rpm recipe tries to prevent rpm-native from attempting
to inhibit shutdown via session dbus by appending '--disable-plugins'
to EXTRA_OECONF in case of native.

However, some layer may need some functionality via plugin support. And
when it enables it, we would meet the following warning at rootfs time.

  Unable to get systemd shutdown inhibition lock: Socket name too long

As plugins/systemd_inhibit.c is the only place that's related to this
dependency, we can be sure that dbus is really not needed for rpm-native.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoyocto-check-layer: add a test for correct setting of LAYERSERIES_COMPAT_collection
Alexander Kanavin [Fri, 6 Apr 2018 14:07:22 +0000 (17:07 +0300)]
yocto-check-layer: add a test for correct setting of LAYERSERIES_COMPAT_collection

[YOCTO #12661]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolicense.bbclass: Minor simplification of get_deployed_dependencies()
Peter Kjellerstedt [Fri, 6 Apr 2018 18:26:57 +0000 (20:26 +0200)]
license.bbclass: Minor simplification of get_deployed_dependencies()

Since ${SSTATE_ARCHS} now contains ${PACKAGE_EXTRA_ARCHS} there is no
longer any need to add those extra architectures to the list of
architectures handled in get_deployed_dependencies().

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosstate.bbclass: Add ${PACKAGE_EXTRA_ARCHS} to SSTATE_ARCHS
Peter Kjellerstedt [Fri, 6 Apr 2018 18:26:56 +0000 (20:26 +0200)]
sstate.bbclass: Add ${PACKAGE_EXTRA_ARCHS} to SSTATE_ARCHS

This makes sure files provided by packages that use any of the extra
architectures defined using ${PACKAGE_EXTRA_ARCHS} are cleaned from
tmp/sysroot-components when sstate_eventhandler2() executes.

Without this, changing a package from using one of the extra
architectures to another architecture would lead to files being
leftover in tmp/sysroot-components, which could later be picked up
when creating the RSS for another package rather than the files that
belonged to the updated package.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses: Use ${MACHINE_ARCH} instead of ${MACHINE} for stamp-extra-info task flag
Peter Kjellerstedt [Fri, 6 Apr 2018 18:26:55 +0000 (20:26 +0200)]
classes: Use ${MACHINE_ARCH} instead of ${MACHINE} for stamp-extra-info task flag

Without this change, there will be two sstate index files in
tmp/sstate-control for any machine that contains a dash in the
name.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead
Richard Purdie [Fri, 6 Apr 2018 12:53:53 +0000 (14:53 +0200)]
nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead

Fedora28[1] has decided to go ahead and use libxcrypt to replace libcrypt from glibc
despite the change not having merged into glibc upstream yet. This breaks the use of
uninative in OE on fedora28 since binaries there are now using new symbols only found
in libxcrypt. libxcrypt is meant to be backwards compatible with libcrypt but not the
reverse.

Since this will impact OE in the next release cycle, this changes nativesdk only
to use this new model and adds libxcrypt to work in that case. This allows us to
build a uninative which is compatible with fedora28 and previous other OSes.

In order to work, recipes will now need to depend on virtual/crypt where they use
libcrypt since its now a separate library and we can't depend on it from glibc to
preseve backwards compatibility since glibc needs to build first. For now, only the
problematic nativesdk recipes have been fixed up. For target use, the default
provider remains glibc for now. Assuming this change is merged into upstream glibc,
we will need to roll this change out for the target but we will do this in the next
release cycle when we can better deal with the resulting bugs.

[1] https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt

Original patch from Charles-Antoine Couret <charles-antoine.couret@essensium.com>,
tweaked by RP to add virtual provides, SkipRecipe for libxcrypt and other minor
tweaks.

Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool: Ensure added layer sets LAYERSERIES_COMPAT
Richard Purdie [Sat, 7 Apr 2018 21:32:13 +0000 (22:32 +0100)]
devtool: Ensure added layer sets LAYERSERIES_COMPAT

Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool needs to set this to avoid warnings which break
various tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtool/oeqa: Ensure added layers set LAYERSERIES_COMPAT
Richard Purdie [Sat, 7 Apr 2018 10:32:03 +0000 (11:32 +0100)]
devtool/oeqa: Ensure added layers set LAYERSERIES_COMPAT

Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool/oeqa needs to set this to avoid warnings which break
various tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRevert "python3: fix create_manifest to handle pycache folders"
Richard Purdie [Fri, 6 Apr 2018 09:44:20 +0000 (10:44 +0100)]
Revert "python3: fix create_manifest to handle pycache folders"

Alejandro asked this be reverted as the patch causes more problems
than it solves.

This reverts commit 5d288d286e0adb221649d896c132a607ecddc490.

7 years agoperl: add patch to solve libcrypt incompatibility
Charles-Antoine Couret [Fri, 6 Apr 2018 12:53:54 +0000 (14:53 +0200)]
perl: add patch to solve libcrypt incompatibility

Add Perl's patch submitted to upstream to be compiled along with glibc with libcrypt split.

Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agohello-mod_0.1.bb: add RPROVIDES
Juro Bystricky [Thu, 5 Apr 2018 23:11:27 +0000 (16:11 -0700)]
hello-mod_0.1.bb: add RPROVIDES

Although the package will get an automatic prefix "kernel-module", so
the package kernel-module-hello does exist, populating rootfs can
generate an error:
  - nothing provides kernel-module-hello ...

This is quite unfortunate, as this recipe is used as a sample.

Adding RPROVIDES_${PN} += "kernel-module-hello" to the recipe fixes
the problem.

[YOCTO #12641]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocrosstap: replace script with new python based implementation
Victor Kamensky [Thu, 5 Apr 2018 18:25:30 +0000 (11:25 -0700)]
crosstap: replace script with new python based implementation

New crosstap python implementation is total replacement for
crosstap shell script, that has superseding capabilities.
New script support cross compiling of SystemTap scripts
for user-land, by using supplied image rootfs. Whereas old
script could only deal with scripts against kernel. New script
has more complex logic and additional capabilities.

As invocation interface new script support old "legacy"
mode and provides alternative new regular options interface
to access additional functionality.

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemtap: support --sysroot option in variety of situations in cross build
Victor Kamensky [Thu, 5 Apr 2018 18:25:28 +0000 (11:25 -0700)]
systemtap: support --sysroot option in variety of situations in cross build

For details on issues fixed please look at commit message of individual
patches.

Upstream-Status: Backport [systemtap@sourceware.org]
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemtap: create translator packageconfig
Victor Kamensky [Thu, 5 Apr 2018 18:25:29 +0000 (11:25 -0700)]
systemtap: create translator packageconfig

For cases when systemap module compilation happens on host in
cross-compilation mode, and it is desirable to minimize systemtap
presense on target we need to have just smallest possible set of
utilties that are required to run compiled modules.

Introduce new "translator" PACKAGECONFIG, if it is not set
it would mean that just minimal set of run-time utilities will
be included in the package.

For run-time only systemtap build variant use
PACKAGECONFIG_pn-systemtap = "" or
PACKAGECONFIG_pn-systemtap = "monitor"

Suggested-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage: add image-combined-dbg helper class
Victor Kamensky [Thu, 5 Apr 2018 18:25:26 +0000 (11:25 -0700)]
image: add image-combined-dbg helper class

There is IMAGE_GEN_DEBUGFS="1" variable that enables build of
additional rootfs-dbg and additional archive that contains
complimentary symbols files for a given image. But the issue
with this resulting directory and tarball that before use it
has to be combined with original image content. It is required
since all cross debugging tools like gdb, perf, and systemtap
need file system that contains both target executables/libraries
and their symbols. Those tools need to find executable/library
first and through it debuglink note find corresponding symbols
file.

image-combined-dbg when added to USER_CLASSES just copies
final resulting rootfs back into rootfs-dbg creating combined
target and debug symbols rootfs that can be used for debugging
directly.

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRevert "systemtap: Cross compilation fix"
Victor Kamensky [Thu, 5 Apr 2018 18:25:27 +0000 (11:25 -0700)]
Revert "systemtap: Cross compilation fix"

This reverts commit 787bed708676fc04aee2850825e803273152f657.

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocurl: DEPENDS on libidn2 (not libidn)
André Draszik [Thu, 5 Apr 2018 11:08:58 +0000 (12:08 +0100)]
curl: DEPENDS on libidn2 (not libidn)

Since v7.51.0, libidn2 is the only available option, libidn
support was dropped.
The configure option was renamed as of v7.53.0

Therefore, curl unconditionally tries to build against libidn2,
which in particular is a problem for curl-native, as that might
or might not build against the build-machine's libidn2 now,
which furthermore causes problems when trying to share sstate
between multiple build machines.

We therefore see the following in the config log:
    ...
    checking whether to build with libidn2... (assumed) yes
    ...
    checking for libidn2 options with pkg-config... no
    configure: IDN_LIBS: "-lidn2"
    configure: IDN_LDFLAGS: ""
    configure: IDN_CPPFLAGS: ""
    configure: IDN_DIR: ""
    checking if idn2_lookup_ul can be linked... yes
    checking idn2.h usability... yes
    checking idn2.h presence... yes
    checking for idn2.h... yes
    ...
      IDN support:      enabled (libidn2)
    ...
even though this recipe tries to disable that.

While libidn2 isn't available in OE, this change at least:
* prevents curl-native to silently build against libidn2 if
  that is installed on build machine, even if not requested
* alerts people who use the PACKAGECONFIG option that it's
  not actually doing what they intend to do

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackagegroup-core-sdk: update sanitizer lists
Dan McGregor [Wed, 4 Apr 2018 16:16:30 +0000 (10:16 -0600)]
packagegroup-core-sdk: update sanitizer lists

aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-sanitizers: Update supported architectures
Dan McGregor [Wed, 4 Apr 2018 16:08:49 +0000 (10:08 -0600)]
gcc-sanitizers: Update supported architectures

aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.

Also mark as broken entirely with musl.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolayer.conf: Update LAYERSERIES rocko -> sumo
Richard Purdie [Fri, 6 Apr 2018 10:00:10 +0000 (11:00 +0100)]
layer.conf: Update LAYERSERIES rocko -> sumo

Also set LAYERSERIES_COMPAT for core (we're compatible with ourself).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: Update to use llvm 6.0
Richard Purdie [Wed, 4 Apr 2018 15:34:41 +0000 (16:34 +0100)]
mesa: Update to use llvm 6.0

Adpat to the upgrade from 5.0 -> 6.0.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agollvm: Upgrade to 6.0 release
Khem Raj [Sun, 1 Apr 2018 07:19:46 +0000 (00:19 -0700)]
llvm: Upgrade to 6.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibrsvg: remove duplication in inherit
Maxin B. John [Wed, 4 Apr 2018 13:40:38 +0000 (16:40 +0300)]
librsvg: remove duplication in inherit

Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcr: remove duplication in inherit
Maxin B. John [Wed, 4 Apr 2018 13:40:37 +0000 (16:40 +0300)]
gcr: remove duplication in inherit

Since gnomebase class already inherits autotools,
there is no need to repeat it here.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibcroco: remove duplication in inherit
Maxin B. John [Wed, 4 Apr 2018 13:40:36 +0000 (16:40 +0300)]
libcroco: remove duplication in inherit

Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-pygobject: remove duplication in inherit
Maxin B. John [Wed, 4 Apr 2018 13:40:35 +0000 (16:40 +0300)]
python3-pygobject: remove duplication in inherit

Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation.conf: remove obsolete variable
Maxin B. John [Wed, 4 Apr 2018 13:40:34 +0000 (16:40 +0300)]
documentation.conf: remove obsolete variable

PRINC is no longer used and removed from documentation:

commit 7baadd86ee1386756e3bc3ef7fd02d5d1367068f
Author: Scott Rifenbark <scott.m.rifenbark@intel.com>
Date:   Mon May 18 09:25:51 2015 -0600

 ref-manual: Removed PRINC entry from the glossary

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoarchiver: Fix archive for linked kernel source
Tom Hochstein [Tue, 3 Apr 2018 13:51:15 +0000 (08:51 -0500)]
archiver: Fix archive for linked kernel source

When archiving a kernel, if S is ${WORKDIR}/git, then
${WORKDIR}/git is in fact a soft link into work-shared,
and the archive contains just the soft link. Fix by
archiving the real directory.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoarchiver: Fix build errors for kernels that don't use kernel-yocto.bbclass
Tom Hochstein [Tue, 3 Apr 2018 13:51:14 +0000 (08:51 -0500)]
archiver: Fix build errors for kernels that don't use kernel-yocto.bbclass

Special handling for kernel source in work-shared was
incorrectly limited to kernel-yocto.bbclass instead
of kernel.bbclass.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglib-2.0/glib.inc: apply MLPREFIX renaming to all package classes
Alexander Kanavin [Tue, 3 Apr 2018 15:45:24 +0000 (18:45 +0300)]
glib-2.0/glib.inc: apply MLPREFIX renaming to all package classes

Now that we have postinst intercept execution working for SDK generation,
adding MLPREFIX again makes sense in all cases, as the intercepts do require
that it is there.

This reverts commit 4ffb728df4bdf21daef31d89cfa5771eaf0d90f8.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogio-module-cache.bbclass: pass in ${libexecdir}
Alexander Kanavin [Tue, 3 Apr 2018 15:45:23 +0000 (18:45 +0300)]
gio-module-cache.bbclass: pass in ${libexecdir}

When it was something else than /usr/libexec (e.g. when
installing native SDK packages), things broke down.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosdk.py: run postinst intercepts
Alexander Kanavin [Tue, 3 Apr 2018 15:45:22 +0000 (18:45 +0300)]
sdk.py: run postinst intercepts

Previously this wasn't done, and so any packages installed from
populate_sdk would not have the postinsts fully executed
(particularly generation of various caches via running nativesdk or target
binaries with qemu wasn't working).

[YOCTO #12630]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: do not hardcode the task name when referring to log files
Alexander Kanavin [Tue, 3 Apr 2018 15:45:21 +0000 (18:45 +0300)]
package_manager.py: do not hardcode the task name when referring to log files

This can be do_rootfs or do_populate_sdk, or anything else.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: move intercept running logic from rootfs class to PackageManager...
Alexander Kanavin [Tue, 3 Apr 2018 15:45:20 +0000 (18:45 +0300)]
package_manager.py: move intercept running logic from rootfs class to PackageManager class

This allows running the intercepts when creating SDKs, which previously
wasn't possible, as SDK code does not use the rootfs class, and calls
into PackageManager methods directly.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: move postinst_intercept dir initialization from RootFS to Package...
Alexander Kanavin [Tue, 3 Apr 2018 15:45:19 +0000 (18:45 +0300)]
package_manager.py: move postinst_intercept dir initialization from RootFS to PackageManager class

This will allow handling postinst_intercepts when populating SDKs (which
use PackageManager class directly, and do not utilize RootFS class).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: move target_rootfs property to common ancestor class
Alexander Kanavin [Tue, 3 Apr 2018 15:45:18 +0000 (18:45 +0300)]
package_manager.py: move target_rootfs property to common ancestor class

This will be useful when also moving postinst_intercept handling to
package manager class from rootfs class.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonativesdk-postinst-intercept: remove the recipe
Alexander Kanavin [Tue, 3 Apr 2018 15:45:17 +0000 (18:45 +0300)]
nativesdk-postinst-intercept: remove the recipe

Its use required a script from an external repo which hasn't been updated
in 4 years, the recipe itself is out of date (doesn't install all
intercepts), and there is no oe-selftest or documentation for this.
If anyone still wants this, please do it in a separate layer.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoelfutils: Clean up comments
Peter Kjellerstedt [Tue, 3 Apr 2018 17:03:46 +0000 (19:03 +0200)]
elfutils: Clean up comments

The list of patches in SRC_URI was restructured in 49aae1d7, and left
a comment about patches from Debian hanging without context. Move and
reword it to make it remain useful.

There was also a leftover comment that referred to two .h files and
do_configure_prepend() that were removed in f960c026.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: Skip gpgcheck while using dnf on target
Manjukumar Matha [Tue, 3 Apr 2018 20:35:04 +0000 (13:35 -0700)]
package_manager.py: Skip gpgcheck while using dnf on target

By default, RPM_SIGN_PACKAGES is not defined. Add gpgcheck=0 to
oe-remote-repo.repo file, otherwise dnf will complain during
install operation on target

Note, RPM_SIGN_PACKAGES is set only when you inherit sign_rpm explicitly

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: Upgrade 17.3.7 -> 17.3.8
Otavio Salvador [Tue, 3 Apr 2018 21:01:46 +0000 (18:01 -0300)]
mesa: Upgrade 17.3.7 -> 17.3.8

This version has been published at April 03, 2018, and it is a bugfix
only release.

The release includes several important fixes that were made as part of
18.0.1 development cycle. Full list of bug fixes can be see online at:

  https://www.mesa3d.org/relnotes/17.3.8.html

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobase.bbclass: fix do_unpack[cleandirs] varflag handling
Enrico Jorns [Sat, 20 Jan 2018 23:44:41 +0000 (00:44 +0100)]
base.bbclass: fix do_unpack[cleandirs] varflag handling

As introduced by a56fb90dc3805494eeaf04c60538425e8d52efc5 ('base.bbclass
wipe ${S} before unpacking source') the base.bbclass uses a python
anonymous function to set the 'do_unpack' varflag 'cleandirs' to either
'${S}' or '${S}/patches' depending on equality of '${S}' and '${WORKDIR}'.

Not that this only differs from the way almost all other recipes set or
modify a tasks 'cleandirs' flag, it also has a significant impact on the
kernel.bbclass (and possibly further ones) and causes incorrect
behavior for rebuilds triggered by source modification, e.g. by a change
of the defconfig file for a kernel build.

The kernel.bbclass tries to extend do_unpack[cleandirs]:

| do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"

As python anonymous functions are evaluated at the very end of recipe
parsing, the d.setVarFlag('do_unpack', 'cleandirs', '${S}') statement in
base.bbclass will overwrite every modification to cleandirs that is done
as shown for the kernel class above.

As a result of this, a change to a kernels 'defconfig' will lead to an
updated defconfig file in ${WORKDIR}, but as ${B} never gets cleaned and
${B}/.config still exists, it will not be copied to ${B}/.config and
thus not find its way in the build kernel.

This is a severe issue for the kernel development and build process!

This patch changes setting of the cleandirs varflag in base.bbclass to
a simple variable assignment as almost all other recipes do it. This now
again allows overwriting or appending the varflag with common methods
such as done in kernel.bbclass.

This issue affects morty, pyro, rocko and master.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/externalsrc: ensure cleandirs code handles non-absolute paths
Paul Eggleton [Wed, 4 Apr 2018 11:02:36 +0000 (23:02 +1200)]
classes/externalsrc: ensure cleandirs code handles non-absolute paths

It's possible that a trailing or extra slash somewhere in the external
source path could result in the directory not being removed from
cleandirs; it's also possible that a cleandirs entry is somewhere
underneath the source tree and that tree should never have parts of it
deleted by the build system. Use oe.path.is_path_parent() (which makes
paths absolute before checking them) to find out if any path in
cleandirs is anywhere underneath the external source path, and drop it
if it is.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/externalsrc: handle if cleandirs contains python expressions
Paul Eggleton [Wed, 4 Apr 2018 11:02:35 +0000 (23:02 +1200)]
classes/externalsrc: handle if cleandirs contains python expressions

Use the existing oe.recipeutils.split_var_value() function to split the
unexpanded value of the cleandirs varflag, in case it contains python
expressions - we don't want to split the expression itself as the chunks
will not expand properly individually and we can miss something that
expands to the source tree (and thus it can get deleted, the avoidance
of which is the whole point of this code).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: fix typo in sulogin-path setting
Chen Qi [Mon, 26 Mar 2018 08:05:20 +0000 (16:05 +0800)]
systemd: fix typo in sulogin-path setting

Fix typo in sulogin-path setting. It should be ${base_sbindir} instead of
just {base_sbindir}.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agouninative: add variables to the whitelist so that it does not re-triger recipe parsing
Cuero Bugot [Fri, 16 Mar 2018 17:31:30 +0000 (17:31 +0000)]
uninative: add variables to the whitelist so that it does not re-triger recipe parsing

When uninative is activated (poky's default) internal datastore variables are modified (NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS) to enable uninative
support. This is happening after parsing is done at the beginning of the build. On the next bitbake call the recipe would be parsed if the two
variables above were not added to the parsing whitelist BB_HASHCONFIG_WHITELIST.

The fix is to add these two variables to the recipe parsing whitelist BB_HASHCONFIG_WHITELIST, this is done at recipe parsing time, only when
uninative.bbclass is used.

Signed-off-by: Cuero Bugot <cbugot@sierrawireless.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: Improve logging capabilities for do_create_manifest
Alejandro Enedino Hernandez Samaniego [Mon, 2 Apr 2018 20:08:41 +0000 (13:08 -0700)]
python3: Improve logging capabilities for do_create_manifest

Adds a couple of prints to get a nicer log, and creates a
small summary or report after checking every module, it
makes it more feasible for adoption, easier to debug why
a module ended at a certain package and see how the
manifest was created.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemtap: Backport a fix for build with gcc8
Khem Raj [Sun, 1 Apr 2018 07:19:45 +0000 (00:19 -0700)]
systemtap: Backport a fix for build with gcc8

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonasm: Fix pure function warnings
Khem Raj [Sun, 1 Apr 2018 07:19:44 +0000 (00:19 -0700)]
nasm: Fix pure function warnings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agox264: Use updated gnu-config artifacts
Khem Raj [Sun, 1 Apr 2018 07:19:43 +0000 (00:19 -0700)]
x264: Use updated gnu-config artifacts

It is not using autoconf completely, therefore there
is no autoreconf happening, so when we depend on latest
gnu-config changes e.g. new architectures like riscv
the build does not see them and fails.

Installing these files from native sysroot helps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotune-core2.inc: add cpu type for qemu
Ruslan Ruslichenko [Mon, 2 Apr 2018 13:42:19 +0000 (16:42 +0300)]
tune-core2.inc: add cpu type for qemu

Define cpu type for Qemu in QEMU_EXTRAOPTIONS.
Otherways Qemu will emulate some virtual qemu32/64 processor,
which has very basic set of features, and programs built
for later CPU may crash, due to lack of new features (e.g. SSSE3).

Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: do not hardcode python2.7 path
Ruslan Ruslichenko [Mon, 2 Apr 2018 13:42:18 +0000 (16:42 +0300)]
qemu: do not hardcode python2.7 path

It can be installed to some non standard path in which
case build will be broken.
As python2.7 is specified in HOSTTOOLS we can rely
that it is present in the PATH, so no need to hardcode
it to /usr/bin.

Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorecipetool: create: fix port number parsing issue
Ming Liu [Sun, 1 Apr 2018 21:15:27 +0000 (23:15 +0200)]
recipetool: create: fix port number parsing issue

A flaw was found when I run:
$ recipetool create "ssh://git@xxx.xxx:7999/xxx.git"

the url turned out to be: "git://git@xxx.xxx/7999/xxx.git;protocol=ssh"
after parsing, the port number was parsed as part of the path, this is
definitely wrong and lead to fetching failures.

This issue could be fixed in reformat_git_uri, by filtering out port
numbers when formatting ":".

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocmake: upgrade 3.10.2 -> 3.10.3
Otavio Salvador [Sun, 1 Apr 2018 19:50:37 +0000 (16:50 -0300)]
cmake: upgrade 3.10.2 -> 3.10.3

,----[ Changes in 3.10.3 ]
| Brad King (1):
|       CMake 3.10.3
|
| Craig Scott (1):
|       GoogleTest: Rename TIMEOUT parameter to avoid clash
|
| Sebastian Holtermann (1):
|       Autogen: Fix for the empty source file crash in 3.10.2
|
| Tianhao Chai (1):
|       ccmake: fix status line buffer overflow on very wide terminals
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: Prefer dri3 for x11/opengl
Andreas Müller [Mon, 2 Apr 2018 20:39:34 +0000 (22:39 +0200)]
mesa: Prefer dri3 for x11/opengl

Adresses [1]

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

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: fix unitialized modifier for DRI2
Andreas Müller [Mon, 2 Apr 2018 20:39:33 +0000 (22:39 +0200)]
mesa: fix unitialized modifier for DRI2

This came up whith disabled DRI3 on Raspi/VC4 [1] but might be important for other
drivers: It fixes an improper initialization.

[1] https://lists.freedesktop.org/archives/mesa-dev/2018-March/190562.html

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel.bbclass: improve reproducibility
Jonathan Liu [Tue, 3 Apr 2018 04:23:31 +0000 (14:23 +1000)]
kernel.bbclass: improve reproducibility

Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on
every build. It is visible in the output of "cat /proc/version" after
the hash character.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinitrdscripts: init-install(-efi).sh: don't assume 20M boot partition
California Sullivan [Tue, 3 Apr 2018 01:40:04 +0000 (18:40 -0700)]
initrdscripts: init-install(-efi).sh: don't assume 20M boot partition

With multi kernel support in the installer we can exceed this limit.
Calculate a sane size by checking the size of the original boot
partition minus some objects we know won't be installed, plus some extra
space for users.

In addition, in the common case where only one small kernel is present
to be installed, we actually get a smaller boot partition with less
wasted space.

Also add VIRTUAL-RUNTIME_base-utils to RDEPENDS where these scripts are
used, as they're needed for the du command.

[YOCTO #12583].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobuildhistory_analysis.py: Check if RPROVIDES changed order
Amanda Brindle [Thu, 15 Mar 2018 21:06:38 +0000 (14:06 -0700)]
buildhistory_analysis.py: Check if RPROVIDES changed order

Instead of assuming order has changed if no package has been added or
removed, loop through packages to check if order has changed. This will
prevent the script from falsely reporting "changed order" if a version
has increased.

Fixes [YOCTO #12334]

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopseudo: Upgrade to latest master
Richard Purdie [Fri, 30 Mar 2018 13:18:57 +0000 (14:18 +0100)]
pseudo: Upgrade to latest master

This change includes several bug fixes and improvements, including better path
handling (the existance of . and .. for files), handling of the sticky bit, and
syscall renameat2 handling and interception through syscall() which was breaking
coreutils mv operations on fedora27.

[YOCTO #12594]
[YOCTO #12379]
[YOCTO #11643]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibpcre-ptest: skip locale test
Juro Bystricky [Thu, 29 Mar 2018 20:27:02 +0000 (13:27 -0700)]
libpcre-ptest: skip locale test

If a fr_FR locale is found, it is automatically tested. The test
will fail if the locale is UTF-8, as the test blindly assumes
(and expects) a non-UTF fr_FR locale.
The remedy is to skip the test.

[YOCTO #12215]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibc6-dbg: improve reproducibility
Juro Bystricky [Thu, 29 Mar 2018 21:33:18 +0000 (14:33 -0700)]
libc6-dbg: improve reproducibility

Prevent bison from generating #line comments containing build
host paths references.

[YOCTO #12625]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: Fix do_create_manifest for python3-sqlite3
Alejandro Enedino Hernandez Samaniego [Fri, 30 Mar 2018 06:28:31 +0000 (23:28 -0700)]
python3: Fix do_create_manifest for python3-sqlite3

Some of the sqlite3 files ended up in python3-misc incorrectly,
this is caused becuse we couldnt add the whole ${libdir}/python3/sqlite3
folder on the package because we also have another sqlite3-tests
package that needs to include another folder from that directory.

This patch not only fixes the do_create_manifest script to handle this
situation, but also patches the manifest (created using the script)
which also fixes a hiddn runtime dependency that we wouldn't have seen.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: fix create_manifest to handle pycache folders
Alejandro Enedino Hernandez Samaniego [Fri, 30 Mar 2018 06:28:16 +0000 (23:28 -0700)]
python3: fix create_manifest to handle pycache folders

We have a couple of python modules that contain folders themselves,
for that reason they also contain a __pycache__ folder inside those
directories, since we include the whole folder in the manifest, the
pycache directories end up with the files and not the cache files.

This patch catches that and adds the directories to the correct
structure.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodefault-distrovars: set default KERNEL_IMAGETYPE(S)
California Sullivan [Fri, 30 Mar 2018 00:41:08 +0000 (17:41 -0700)]
default-distrovars: set default KERNEL_IMAGETYPE(S)

With the change from assuming kernels will be named "vmlinuz"
everywhere, to instead using KERNEL_IMAGETYPE, we require that
KERNEL_IMAGETYPE is set to something. Instead of setting the default in
multiple individual files, set it in default-distrovars.inc.

x86(-64) arches get bzImage as the default. Others get zImage as per
meta/conf/documentation.conf.

Also set KERNEL_IMAGETYPES, as we will eventually be switching away from
KERNEL_IMAGETYPE.

Thanks to Andre McCurdy <armccurdy@gmail.com> for the arch defaults
part.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo: Upgrade 1.10 -> 1.10.1
Otavio Salvador [Thu, 29 Mar 2018 20:40:35 +0000 (17:40 -0300)]
go: Upgrade 1.10 -> 1.10.1

This is a minor release that fixes many important issues found since
1.10 release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoca-certificates: use relative symlinks from $ETCCERTSDIR
André Draszik [Thu, 29 Mar 2018 15:43:19 +0000 (16:43 +0100)]
ca-certificates: use relative symlinks from $ETCCERTSDIR

update-ca-certificates symlinks (trusted) certificates
from $CERTSDIR or $LOCALCERTSDIR into $ETCCERTSDIR.
update-ca-certificates can call hook scripts installed
into /etc/ca-certificates/update.d. Those scripts are
passed the pem file in /etc/ssl/certs/ that was added or
removed in this run and those pem files are absolute
symlinks into $CERTSDIR or $LOCALCERTSDIR at the moment.

When running update-ca-certificates during image build
time, they thusly all point into the host's file system,
not into the $SYSROOT. This means:
* the host's file system layout must match the one
  produced by OE, and
* it also means that the host must have installed the same
  (or more) certificates as the target in $CERTSDIR and
  $LOCALCERTSDIR

This is a problem when wanting to execute hook scripts,
because they all need to be taught about $SYSROOT, and
behave differently depending on whether they're called
at image build time, or on the target, as otherwise they
will be trying to actually read the host's certificates
from $CERTSDIR or $LOCALCERTSDIR.

This also is a problem when running anything else during
image build time that depends on the trusted CA
certificates.

Changing the symlink to be relative solves all of these
problems. At the same time, we have to make sure to add
$CERTSDIR to SYSROOT_DIRS, so that the symlinks are still
valid when somebody DEPENDS on ca-certificates-native. As
a side-effect, this also fixes a problem in meta-java,
where some recipes (e.g. openjdk-8-native) try to access
certificates from $CERTSDIR to generate the java trustStore
at build time.

Do so.

Upstream-Status: Inappropriate [OE-specific]
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agommc-utils: Fix string overflow error
Khem Raj [Thu, 29 Mar 2018 15:38:28 +0000 (08:38 -0700)]
mmc-utils: Fix string overflow error

The SRCREV change bring another patch from upstream

b4fe0c8 fix ENH_START_ADDR overflow

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_rpm: set _builddir to B not S
Richard Purdie [Tue, 27 Mar 2018 09:56:06 +0000 (10:56 +0100)]
package_rpm: set _builddir to B not S

Recipes which use a shared workdir (e.g. gcc-runtine and libgcc) can
race over temporary files causing interesting build failures.

Using B instead of S avoids this problem.

[YOCTO #12605]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomultilib: Don't extend make-mod-scripts as a multilib version doesn't make any sense
Richard Purdie [Thu, 29 Mar 2018 21:55:26 +0000 (22:55 +0100)]
multilib: Don't extend make-mod-scripts as a multilib version doesn't make any sense

The multilib version would race against then non-ml version leading
to all kinds of odd build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomake-mod-scripts/kernel-devsrc: Fix objtool issues
Richard Purdie [Thu, 29 Mar 2018 13:02:20 +0000 (14:02 +0100)]
make-mod-scripts/kernel-devsrc: Fix objtool issues

Kernels which use tools/objtool can now fail when building external modules
due to objtool being missing, the generated files can also cause problems
for kernel-devsrc.

Ensure objtool is generated in make-mod-scripts by also calling
"make prepare".

For devsrc, delete the generated binaries since they'd be native
binaries and unsuitable for the target.

The oeqa kernel module tests also need to have the additional "make prepare"
step added.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: consolidate sqlite3 files
Ross Burton [Wed, 28 Mar 2018 20:18:35 +0000 (21:18 +0100)]
python3: consolidate sqlite3 files

Some of the sqlite3 module was in python3-misc by accident, move the files
into python3-sqlite3 where they belong.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonss: Use snprintf in sign.c
Khem Raj [Fri, 23 Mar 2018 13:34:45 +0000 (06:34 -0700)]
nss: Use snprintf in sign.c

Fies security warnings
| sign.c:86:31: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
|          sprintf(fullfn, "%s/%s", tree, tempfn);

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoqemu: actually use the aarch64 patch
Ross Burton [Wed, 28 Mar 2018 15:58:59 +0000 (16:58 +0100)]
qemu: actually use the aarch64 patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopenssl: update 1.1.0g -> 1.1.0h
Alexander Kanavin [Wed, 28 Mar 2018 12:43:08 +0000 (15:43 +0300)]
openssl: update 1.1.0g -> 1.1.0h

Please see this security advisory:
https://www.openssl.org/news/secadv/20180327.txt

Remove 0001-Remove-test-that-requires-running-as-non-root.patch
(issue fixed upstream)
Remove 0001-aes-asm-aes-armv4-bsaes-armv7-.pl-make-it-work-with-.patch
(backport)

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopenssl: update 1.0.2n -> 1.0.2o
Alexander Kanavin [Wed, 28 Mar 2018 12:43:07 +0000 (15:43 +0300)]
openssl: update 1.0.2n -> 1.0.2o

Please see this security advisory:
https://www.openssl.org/news/secadv/20180327.txt

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-libc-headers: refresh 0001-libc-compat.h-fix-some-issues-arising-from-in6.h...
Alexander Kanavin [Wed, 28 Mar 2018 12:43:06 +0000 (15:43 +0300)]
linux-libc-headers: refresh 0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch

It's only applied with musl and so was missed in the big batch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglibc-package: fix locale cleanup logic
Koen Kooi [Tue, 27 Mar 2018 07:04:16 +0000 (09:04 +0200)]
glibc-package: fix locale cleanup logic

If ${libdir} is a subdirectory of ${prefix}/lib, e.g. /usr/lib/aarch64-linux, the cleanup logic will delete libc.so.

This bit of code was added in 2012 (git show b744f4cc) to remove /usr/lib/locale, this commit makes it remove that directory recursively and afterwards remove /usr/lib, erroring out if it's non-empty.

Tested with a plain (/usr/lib), a 64-bit (/usr/lib64) and a multiarch (/usr/lib/aarch64-linux) build. I strongly suspect this whole bit of cleanup isn't needed anymore, but my testing is too limited to be certain.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonspr: update to 4.19
Armin Kuster [Mon, 26 Mar 2018 14:30:20 +0000 (07:30 -0700)]
nspr: update to 4.19

patch 0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch remove
as it is included in update

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonss: update to 3.35
Armin Kuster [Mon, 26 Mar 2018 14:30:08 +0000 (07:30 -0700)]
nss: update to 3.35

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoscripts/oe-setup-rpmrepo: remove the script
Yi Zhao [Thu, 29 Mar 2018 06:19:06 +0000 (14:19 +0800)]
scripts/oe-setup-rpmrepo: remove the script

After we switched to RSS, this script was not working for a long time.
'bitbake package-index' can do the same thing and works well. So remove
this script.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.15: update to v4.15.13
Bruce Ashfield [Tue, 27 Mar 2018 15:03:19 +0000 (11:03 -0400)]
linux-yocto/4.15: update to v4.15.13

Integrating the korg stable updates comprising the following commits:

eb666a896f99 Linux 4.15.13
7717224bbcbb RDMA/ucma: Don't allow join attempts for unsupported AF family
93462def6848 RDMA/ucma: Fix access to non-initialized CM_ID object
7ea20f4df7fc clk: migrate the count of orphaned clocks at init
f73d0b37846a RDMA/core: Do not use invalid destination in determining port reuse
f8ea417273f2 serial: 8250_pci: Don't fail on multiport card class
719f7ae076e0 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
bd6281eb9113 IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
23896b7c08f5 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
f9496d45cd87 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e36bb4076f37 hwrng: core - Clean up RNG list when last hwrng is unregistered
233f5fee86c3 crypto: artpec6 - set correct iv size for gcm(aes)
dbb1b3477bc0 clk: si5351: Rename internal plls to avoid name collisions
39888ce9ff0a clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
3a99b645e127 clk: Don't touch hardware when reparenting during registration
17e583cba3b6 clk: at91: pmc: Wait for clocks when resuming
a6d04b465659 nfsd4: permit layoutget of executable-only files
140cb7a3de12 ARM: dts: aspeed-evb: Add unit name to memory node
114355528fcd RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
2b7453a76bac scsi: lpfc: Fix issues connecting with nvme initiator
bfcb0d5e7dc7 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
cef86432a08e soc: qcom: smsm: fix child-node lookup
70559f800f62 ip_gre: fix potential memory leak in erspan_rcv
09d5f2bb8fc7 ip_gre: fix error path when erspan_rcv failed
813b2dad2cb5 ip6_vti: adjust vti mtu according to mtu of lower device
7a77ba6b6900 iommu/vt-d: clean up pr_irq if request_threaded_irq fails
424d4a6a5ebd pinctrl: rockchip: enable clock when reading pin direction register
35e54f441f0e pinctrl: Really force states during suspend/resume
f64b3c51d512 clk: use round rate to bail out early in set_rate
b96b31ce0517 dt-bindings: display: panel: Fix compatible string for Toshiba LT089AC29000
48228438f263 clk: check ops pointer on clock register
887fa839ee74 media: davinci: fix a debug printk
10843b30c385 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
61cbbb4f20d1 PCI: endpoint: Fix find_first_zero_bit() usage
d306bb6c7952 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
29a84f9707b1 coresight: Fix disabling of CoreSight TPIU
71b009c13528 pty: cancel pty slave port buf's work in tty_release
e7b4a5ba3259 drm/omap: DMM: Check for DMM readiness after successful transaction commit
eafa4cd4d112 mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
a9b4a01508a9 omapdrm: panel: fix compatible vendor string for td028ttec1
00aa57830cb5 vgacon: Set VGA struct resource types
18e595d70f17 PCI/ASPM: Calculate LTR_L1.2_THRESHOLD from device characteristics
3c4ffeae6510 bpf/cgroup: fix a verification error for a CGROUP_DEVICE type prog
3a23663bda89 iser-target: avoid reinitializing rdma contexts for isert commands
20dbecabd107 IB/umem: Fix use of npages/nmap fields
4d529564d326 RDMA/cma: Use correct size when writing netlink stats
f333c18b5434 IB/ipoib: Avoid memory leak if the SA returns a different DGID
80ac31ac404a rtc: ac100: Fix multiple race conditions
1835bd639fa7 media: s5p-mfc: Fix lock contention - request_firmware() once
e9f486d7a859 sfp: fix non-detection of PHY
b03b5f94dcf4 sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1d40cdd339cb net: phy: meson-gxl: check phy_write return value
f9e0be9def10 /dev/mem: Add bounce buffer for copy-out
176fb28073c9 mmc: block: fix logical error to avoid memory leak
ca6b159fd207 mmc: avoid removing non-removable hosts during suspend
75157d4e4d15 drm/tilcdc: ensure nonatomic iowrite64 is not used
73f483aa65d6 dmaengine: zynqmp_dma: Fix race condition in the probe
c78feb5f451c platform/chrome: Use proper protocol transfer function
449c24e264d9 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
3122d2f18ed9 watchdog: Fix potential kref imbalance when opening watchdog
68c1248b9a2d cros_ec: fix nul-termination for firmware build info
0a607a064565 serial: 8250_dw: Disable clock on error
42c35b150365 tty: goldfish: Enable 'earlycon' only if built-in
ccf304a6607a qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
7bc49ffb1067 media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
784d1114823c ath10k: handling qos at STA side based on AP WMM enable/disable
db80bd4d5f62 media: bt8xx: Fix err 'bt878_probe()'
06647fbb496e rtlwifi: always initialize variables given to RT_TRACE()
3104c12838b2 rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
b5817721ecea libbpf: prefer global symbols as bpf program name source
340f5832b6a6 spi: sh-msiof: Avoid writing to registers from spi_master.setup()
7f5739939eb3 tcp: allow TLP in ECN CWR
df365ce541c4 hv_netvsc: Fix the TX/RX buffer default sizes
8fbec85ecd00 hv_netvsc: Fix the receive buffer size limit
3669331be6fd RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
be176a5c98e7 IB/ipoib: Warn when one port fails to initialize
09a00a4b1e8b drm/msm: fix leak in failed get_pages
aa5397213cc1 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
3cb311196e5f cpufreq: longhaul: Revert transition_delay_us to 200 ms
e16154e6868b Bluetooth: btqcomsmd: Fix skb double free corruption
b646aada058d Bluetooth: hci_qca: Avoid setup failure on missing rampatch
5ec3e522c556 drm/amdgpu: use polling mem to set SDMA3 wptr for VF
bcaf449b5809 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
1d60b7802104 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
cfc8d40be91d Linux 4.15.12
c3306c7f8f97 phy: phy-brcm-usb-init: Power down USB 3.0 PHY when XHCI disabled
5fb7cf9b1ca0 phy: phy-brcm-usb-init: DRD mode can cause crash on startup
048fd682b2b8 phy: phy-brcm-usb-init: Some Low Speed keyboards fail on 7271
43bcdded80fd phy: phy-brcm-usb: Fix two DT properties to match bindings doc
2007a7097ce1 usb: gadget: udc: renesas_usb3: fix oops in renesas_usb3_remove()
95918af96116 usb: dwc3: of-simple: fix oops by unbalanced clk disable call
b9fac2b8326d usb: dwc3: core: Power-off core/PHYs on system_suspend in host mode
cad33fd60fde usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
41d3763d9942 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
f21951e27402 dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
7e9122d4e1af usb: dwc2: fix STM32F7 USB OTG HS compatible
bb5159f40c22 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
0bbf2aa0f9e2 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
84f1972c3c5d scsi: qla2xxx: Fix NULL pointer access for fcport structure
1675cbb32906 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
71103f2b9fd2 btrfs: Fix memory barriers usage with device stats counters
005155e22a0b btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
7a42df9f0394 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
ce1ac9c8ebe0 btrfs: alloc_chunk: fix DUP stripe size handling
d0505842848e btrfs: add missing initialization in btrfs_check_shared
fef1dad2a985 btrfs: Fix NULL pointer exception in find_bio_stripe
428da4f87e1d xfs: preserve i_rdev when recycling a reclaimable inode
1c7453ec86ce nvme: fix subsystem multiple controllers support check
69f0542a7bef irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
fdb574d9a7e0 RDMAVT: Fix synchronization around percpu_ref
0b68e9ccaf0b fs/aio: Use RCU accessors for kioctx_table->table[]
b5b8b8be7808 fs/aio: Add explicit RCU grace period when freeing kioctx
2fa76b885ece lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
9c7b569aec95 KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
3bf14279499c kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
885310132995 KVM: arm/arm64: Reset mapped IRQs on VM reset
1368ba16c8e6 KVM: arm/arm64: Reduce verbosity of KVM init log
ad3edd3c4047 fs: Teach path_connected to handle nfs filesystems with multiple roots.
ab2660381a80 drm/amdgpu/dce: Don't turn off DP sink when disconnected
fa2192eea5c0 drm/radeon: fix prime teardown order
d747af9a681f drm/amdgpu: fix prime teardown order
69b9106f97ce drm/nouveau/mmu: ALIGN_DOWN correct variable
ba753a894a53 drm/nouveau/bl: Fix oops on driver unbind
18d8a34ac890 ALSA: seq: Clear client entry before deleting else at closing
1d63f1fc63f4 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
cdcecd3415a1 ALSA: hda - Revert power_save option default value
eb0e7a1f5687 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
bf724633cfda parisc: Handle case where flush_cache_range is called with no context
d7d57946c5f5 x86/mm: Fix vmalloc_fault to use pXd_large
4abf8650d693 KVM: x86: Fix device passthrough when SME is active
da0812b49895 x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
8449802675b3 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
7a73ba591708 x86/vm86/32: Fix POPF emulation
cfb3f12e5a01 selftests/x86/entry_from_vm86: Add test cases for POPF
673d00d2cc16 selftests/x86/entry_from_vm86: Exit with 1 if we fail
733307cf6ba6 x86/cpufeatures: Add Intel PCONFIG cpufeature
a21fcb396718 x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
51d480eafd15 Linux 4.15.11
ddfd9b3a41ae drm/i915/glk: Disable Guc and HuC on GLK
5ae4953dc072 dmaengine: qcom_hidma: check pending interrupts
7aeb9a55a385 IB/mlx5: revisit -Wmaybe-uninitialized warning
41ba470820b3 ima: relax requiring a file signature for new files with zero length
45ecf3400006 locking/locktorture: Fix num reader/writer corner cases
a95958907b4a rcutorture/configinit: Fix build directory error message
0ff7ed13f2a7 ipvlan: add L2 check for packets arriving via virtual devices
f00f5f5598cc Fix misannotated out-of-line _copy_to_user()
b19715a17b62 mmc: mmc_test: Ensure command queue is disabled for testing
be5494a8f85b ASoC: nuc900: Fix a loop timeout test
03f6344f6981 crypto: caam/qi - use correct print specifier for size_t
64d5680d3b4d mac80211: remove BUG() when interface type is invalid
0fca555446a1 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
d7b6747b2198 agp/intel: Flush all chipset writes after updating the GGTT
5123e87faf12 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
5f426784d0b4 powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
3d1d39090fda powerpc/modules: Don't try to restore r2 after a sibling call
77592d6abc1b drm/amdkfd: Fix memory leaks in kfd topology
26ef25f35b9b veth: set peer GSO values
e8abc1292671 net: sched: drop qdisc_reset from dev_graft_qdisc
ae8cafc2813e virtio_net: Disable interrupts if napi_complete_done rescheduled napi
33964687ffd1 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
1ed91b10c4e4 media: cpia2: Fix a couple off by one bugs
b85bea6de405 dm raid: fix raid set size revalidation
3e8cbf84d434 media: vsp1: Prevent suspending and resuming DRM pipelines
74b1383a2a32 staging: fsl-dpaa2/eth: Fix access to FAS field
83810e8aa67a clk: renesas: r8a77970: Add LVDS clock
d641b64a0fcf scsi: dh: add new rdac devices
151c46ea1a6b scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
a60c9f5bdf0a scsi: core: scsi_get_device_flags_keyed(): Always return device flags
d6549484c1bc bnxt_en: Don't print "Link speed -1 no longer supported" messages.
fd92108e8970 spi: sun6i: disable/unprepare clocks on remove
fedc177b4267 tools/usbip: fixes build with musl libc toolchain
1a1aa7f83d9f ath10k: fix invalid STS_CAP_OFFSET_MASK
2dc42ad1a816 mwifiex: cfg80211: do not change virtual interface during scan processing
eb0bd8399f30 clk: qcom: msm8916: fix mnd_width for codec_digcodec
736e6ed8e417 bnxt_en: Uninitialized variable in bnxt_tc_parse_actions()
196c8a893cc3 drm/amdgpu: fix amdgpu_sync_resv v2
d43f79d8bfa3 drm/amdgpu:fix virtual dce bug
84afaae95878 iwlwifi: mvm: avoid dumping assert log when device is stopped
7024c04ba773 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
7090ac4bc551 perf annotate: Fix unnecessary memory allocation for s390x
4bc53614a08f pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
dc061955ca09 pinctrl: sh-pfc: r8a7791: Add can_clk function
4bccfe79cd4d drm/sun4i: Fix format mask in DE2 driver
e5e6a10251f8 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
42957cf0a77d scsi: ses: don't ask for diagnostic pages repeatedly during probe
7d6f70a8758a scsi: lpfc: Fix crash during driver unload with running nvme traffic
9280348b2696 drm/amdgpu:fix random missing of FLR NOTIFY
eff913587989 KVM: X86: Restart the guest when insn_len is zero and SEV is enabled
a853301f77b5 cpufreq: Fix governor module removal race
b545efb25a3f ath10k: update tdls teardown state to target
4971e6535840 iio: health: max30102: Add power enable parameter to get_temp function
b0fdcac4f68d iio: adc: ina2xx: Shift bus voltage register to mask flag bits
056c35957ea2 drm/etnaviv: make THERMAL selectable
3079e5ffa141 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
4e074cd9323a power: supply: ab8500_charger: Fix an error handling path
fadaf4240360 power: supply: sbs-message: double left shift bug in sbsm_select()
8a7474805a53 bpf: fix stack state printing in verifier log
e99d334f6d7f leds: pm8058: Silence pointer to integer size warning
b116b9ca82d8 xfrm: Fix xfrm_replay_overflow_offload_esn
52e0006fb425 userns: Don't fail follow_automount based on s_user_ns
daf8ff677a34 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
c91a50176871 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
cc578825b46e ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
8215dde215a2 net: thunderx: Set max queue count taking XDP_TX into account
df2bc9f0c7d9 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
71dc53969aa9 gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags simultaneously
3c1133294733 net: xfrm: allow clearing socket xfrm policies.
8aa7072cc386 perf report: Fix -D output for user metadata events
ccf7f3f1bfe2 rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
82e2dc52e103 net: ieee802154: adf7242: Fix bug if defined DEBUG
d0426ddc5a59 drm/vblank: Fix vblank timestamp debugs
6e3b18f9ef52 test_firmware: fix setting old custom fw path back on exit
2067278ed4a1 crypto: cavium - fix memory leak on info
b58c90c3a2c1 crypto: keywrap - Add missing ULL suffixes for 64-bit constants
f8ed29310ff5 crypto: ecc - Fix NULL pointer deref. on no default_rng
4fc44467b7d4 crypto: chelsio - Fix an error code in chcr_hash_dma_map()
fc82675c04f8 sched: Stop resched_cpu() from sending IPIs to offline CPUs
55a6c1e2842a sched: Stop switched_to_rt() from sending IPIs to offline CPUs
ccacabf0e911 dt-bindings: serial: Add common rs485 binding for RTS polarity
038f81410b9f USB: ledtrig-usbport: fix of-node leak
661d71fec957 typec: tcpm: fusb302: Resolve out of order messaging events
c702f9b72820 staging: rtl8822be: fix missing null check on dev_alloc_skb return
6fe526b2e82b drm/amdgpu: fix get_max_engine_clock_in_mhz
8c57c57a7d79 ARM: dts: exynos: Correct Trats2 panel reset line
941a8e4061b5 clk: meson: gxbb: fix wrong clock for SARADC/SANA
2037f15e1d02 ARM: dts: koelsch: Move cec_clock to root node
1320369874e0 iwlwifi: mvm: rs: don't override the rate history in the search cycle
bc7f19a1687d HID: elo: clear BTN_LEFT mapping
7b341f3287da KVM: PPC: Book3S HV: Fix typo in kvmppc_hv_get_dirty_log_radix()
6f97dd22c852 video/hdmi: Allow "empty" HDMI infoframes
e0749d1e1f10 dma-buf/fence: Fix lock inversion within dma-fence-array
df0204154557 drm/edid: set ELD connector type in drm_edid_to_eld()
c15aa9a93c05 KVM: PPC: Book3S HV: Avoid shifts by negative amounts
21764b41f1c8 HID: multitouch: Only look at non touch fields in first packet of a frame
6f6444502fa9 spi: imx: Fix failure path leak on GPIO request error correctly
d1cc4fe3e8b7 drm/panel: rpi-touchscreen: propagate errors in rpi_touchscreen_i2c_read()
ae53e57f5911 gfs2: Fixes to "Implement iomap for block_map" (2)
105cd2ef03be gfs2: Clean up {lookup,fillup}_metapath
7a4fe65843fd Revert "btrfs: use proper endianness accessors for super_copy"
3cd0aa9f35fe dm mpath: fix passing integrity data
701ba5478225 earlycon: add reg-offset to physical address before mapping
c3a2fe0fc8a0 serial: core: mark port as initialized in autoconfig
16415f03eb6e serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
306c08c6d659 usb: dwc3: Fix lock-up on ID change during system suspend/resume
11e2d13d3f9e usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
b42aa204e111 usb: usbmon: Read text within supplied buffer size
5d4203a6d5a2 usb: quirks: add control message delay for 1b1c:1b20
1fc47d0380b5 usbip: vudc: fix null pointer dereference on udc->lock
b2029b7dbe6b USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
aa05ee5fa75b scsi: sd_zbc: Fix potential memory leak
c9ff6a8a1e0f staging: android: ashmem: Fix lockdep issue during llseek
1c5bfd980303 staging: comedi: fix comedi_nsamples_left.
8e6c082909d5 uas: fix comparison for error code
2667d707c420 tty/serial: atmel: add new version check for usart
60003884f6c4 serial: sh-sci: prevent lockup on full TTY buffers
a0972dac1125 xhci: fix endpoint context tracer output
a0722d7b9d67 xhci: Fix front USB ports on ASUS PRIME B350M-A
73848b68f99b usb: host: xhci-rcar: add support for r8a77965
b7beb59aa066 ASoC: rt5651: Fix regcache sync errors on resume
aa6655a68f0a ASoC: wm_adsp: For TLV controls only register TLV get/set
9afc3ec1f2e7 ASoC: sgtl5000: Fix suspend/resume
6b57662274bd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
699f7359e599 x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
df57458873da Linux 4.15.10
2aaa158bc127 NFS: Fix unstable write completion
0fa7083df399 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
ff32fd5e2dce NFS: Fix an incorrect type in struct nfs_direct_req
085bac793f1c scsi: qla2xxx: Fix memory leak in dual/target mode
0e7a62c3cfb6 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
bf4ec02855d9 scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
33d13a80a374 scsi: qla2xxx: Defer processing of GS IOCB calls
b57851dc489f scsi: qla2xxx: Clear loop id after delete
ef5b3c623eec scsi: qla2xxx: Fix scan state field for fcport
f7b257f9e10a scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
3629d122f770 scsi: qla2xxx: Fix abort command deadlock due to spinlock
c6247675c8b2 scsi: qla2xxx: Fix PRLI state check
9a1e9130f25f scsi: qla2xxx: Fix Relogin being triggered too fast
41929d9b2363 scsi: qla2xxx: Relogin to target port on a cable swap
3ab51d1da782 scsi: qla2xxx: Fix NPIV host cleanup in target mode
6c609c375ca6 scsi: qla2xxx: Fix login state machine stuck at GPDB
1bb465e619eb scsi: qla2xxx: Serialize GPNID for multiple RSCN
99e33bd8bdfa scsi: qla2xxx: Retry switch command on time out
b40e693ce7b5 scsi: qla2xxx: Fix re-login for Nport Handle in use
e947c1c575aa scsi: qla2xxx: Skip IRQ affinity for Target QPairs
9685a797a564 scsi: qla2xxx: Move session delete to driver work queue
b340fe8a83f6 scsi: qla2xxx: Fix gpnid error processing
96a18fc96c22 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
5858d59b8629 x86/xen: Calculate __max_logical_packages on PV domains
218ce9890104 tpm: only attempt to disable the LPC CLKRUN if is already enabled
9e49b027f787 tpm: remove unused variables
191f9cb91d12 tpm: delete the TPM_TIS_CLK_ENABLE flag
8fa99a629bd7 tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
f84cbaff9004 tpm_tis: Move ilb_base_addr to tpm_tis_data
baf882cbcc43 netfilter: use skb_to_full_sk in ip6_route_me_harder
e8cd5a8ea2dd netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
d0a52c094d57 netfilter: bridge: ebt_among: add missing match size checks
5c06b89df419 netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
36dabaf091e7 netfilter: IDLETIMER: be syzkaller friendly
8ba14bacf620 netfilter: nat: cope with negative port range
4260816d4785 netfilter: x_tables: fix missing timer initialization in xt_LED
ea2699504d33 netfilter: xt_hashlimit: fix lock imbalance
cbd6bb0e28c9 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
ec6b058c5431 netfilter: add back stackpointer size checks
831b5146892e watchdog: hpwdt: Remove legacy NMI sourcing.
52769861e99b watchdog: hpwdt: fix unused variable warning
af1537404670 watchdog: hpwdt: Check source of NMI
2ade2293099d watchdog: hpwdt: SMBIOS check
7e9c540258af x86/kprobes: Fix kernel crash when probing .entry_trampoline code
d9f1b1fd3728 objtool: Fix 32-bit build
58e0bb003523 objtool: Fix another switch table detection issue
d5f6877f0af8 objtool, retpolines: Integrate objtool with retpoline support more closely
871caad2a47b objtool: Add module specific retpoline rules
40693bd709b5 objtool: Add retpoline validation
e1861c9e9568 objtool: Use existing global variables for options
90dbf1101e65 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
8882e40f66ed x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
2425b3ea0afa x86/paravirt, objtool: Annotate indirect calls
468e2a80446c x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
d9a1668e7535 x86/speculation, objtool: Annotate indirect calls/jumps for objtool
5d2055f00ca3 x86/retpoline: Support retpoline builds with Clang
f7d74d9aa741 x86/speculation: Use IBRS if available before calling into firmware
4049a8836273 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
f1c9e2394888 x86-64/realmode: Add instruction suffix
071ee9dbac4a x86/LDT: Avoid warning in 32-bit builds with older gcc
108d29575df1 x86/IO-APIC: Avoid warning in 32-bit builds
c7cbca42ac4a x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
a6e01bb7e6e0 x86/mm: Remove stale comment about KMEMCHECK
93e18c11ff91 x86/entry/64: Use 'xorl' for faster register clearing
e76bc364ce66 x86/entry: Reduce the code footprint of the 'idtentry' macro
0a58c796685c nospec: Include <asm/barrier.h> dependency
392fa7504294 nospec: Kill array_index_nospec_mask_check()
7a676d14cc09 MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
b1d0c4b8e92e dt-bindings: Document mti,mips-cpc binding
25285f83f127 scsi: qla2xxx: Fix recursion while sending terminate exchange
7142b10b87d5 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
8c4ae767a189 ALSA: hda: add dock and led support for HP ProBook 640 G2
245b88be66ce ALSA: hda: add dock and led support for HP EliteBook 820 G3
34ef89ff1759 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
6fc2d5416fda ALSA: seq: More protection for concurrent write and ioctl races
4271b3a41813 ALSA: seq: Don't allow resizing pool in use
27fb3754587a ALSA: hda/realtek - Make dock sound work on ThinkPad L570
ade62f0b3cf9 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
6751bbdcc95a ALSA: hda/realtek: Limit mic boost on T480
7436dc94195d ALSA: hda/realtek - Add headset mode support for Dell laptop
c09ba221370b ALSA: hda/realtek - Add support headset mode for DELL WYSE
031fd7b4ed4a x86/spectre_v2: Don't check microcode versions when running under hypervisors
eaf9b6377a6e perf tools: Fix trigger class trigger_on()
291a0c2764e4 x86/MCE: Serialize sysfs changes
f89515c2e039 x86/MCE: Save microcode revision in machine check records
c56e9870f927 bcache: don't attach backing with duplicate UUID
dca776a05c50 bcache: fix crashes in duplicate cache device register
9fc9e1ed7335 IB/mlx5: Fix incorrect size of klms in the memory region
ca75c1477c2d dm bufio: avoid false-positive Wmaybe-uninitialized warning
b2171934ddc4 kbuild: Handle builtin dtb file names containing hyphens
822996a14a2f Revert "nvme: create 'slaves' and 'holders' entries for hidden controllers"
4a60df94905a IB/core: Fix missing RDMA cgroups release in case of failure to register device
88bf8f7eb708 arm64: mm: fix thinko in non-global page table attribute check
718a44de2712 KVM: s390: fix memory overwrites when not using SCA entries
4e5d6d3cc5e4 virtio_ring: fix num_free handling in error case
49de2e7b6670 loop: Fix lost writes caused by missing flag
342c720d9a4f Documentation/sphinx: Fix Directive import error
920a9205d268 mm/memblock.c: hardcode the end_pfn being -1
0b683939d50a lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
e9f84db183af bug: use %pB in BUG and stack protector failure
9f30ff6fa1a4 Revert "Input: synaptics - Lenovo Thinkpad T460p devices should use RMI"
1bceb2ec8956 Input: matrix_keypad - fix race when disabling interrupts
ed800b0773b1 PCI: dwc: Fix enumeration end when reaching root subordinate
77e2735ad398 MIPS: OCTEON: irq: Check for null return on kzalloc allocation
df441ada39cd MIPS: ath25: Check for kzalloc allocation failure
3eaedec0cd82 MIPS: BMIPS: Do not mask IPIs during suspend
809a9bf143f7 ovl: redirect_dir=nofollow should not follow redirect for opaque lower
75d0d16e1cda drm/amdgpu:Always save uvd vcpu_bo in VM Mode
b6ce72324e14 drm/amdgpu:Correct max uvd handles
83756e094108 drm/amdgpu: fix KV harvesting
692f415886d3 drm/radeon: fix KV harvesting
871aee09c102 drm/amdgpu: Notify sbios device ready before send request
adcdc9dd593d drm/amdgpu: used cached pcie gen info for SI (v2)
8679c019d168 drm/amd/display: Default HDMI6G support to true. Log VBIOS table error.
dd18defa55e4 drm/amd/powerplay: fix power over limit on Fiji
98bb81bb0f7b drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
fde4dbd2a6cb drm/amd/display: check for ipp before calling cursor operations
80167d87e14f Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
6cd6ec67d323 drm/amd/powerplay/vega10: allow mclk switching with no displays
8b6db1eed6d8 drm/amd/powerplay/smu7: allow mclk switching with no displays
f3d86614c99d drm/nouveau: prefer XBGR2101010 for addfb ioctl
273b6c8deabe drm/amdgpu: Fix deadlock on runtime suspend
ae78cada27a5 drm/radeon: Fix deadlock on runtime suspend
edf309e744c0 drm/nouveau: Fix deadlock on runtime suspend
51b269211a8c drm: Allow determining if current task is output poll worker
72bfcad05183 workqueue: Allow retrieval of current task's work struct
0adf0556bebd drm/i915: Always call to intel_display_set_init_power() in resume_early.
9e2d259c4e02 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
44d646d03785 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
a7423bbfb0d1 drm/i915/perf: fix perf stream opening lock
d723c32a04ca drm/i915: Try EDID bitbanging on HDMI after failed read
24791fc09ea3 drm/i915: Update watermark state correctly in sanitize_watermarks
5b79f7227aac drm/i915: Disable DC states around GMBUS on GLK
281a7778a32b drm/i915: Clear the in-use marker on execbuf failure
3ea5145064e2 drm/i915: Fix rsvd2 mask when out-fence is returned
47f84ed164c9 drm/i915/audio: fix check for av_enc_map overflow
35a66d32de2c drm/i915: Check for fused or unused pipes
b7e042c88b2c regulator: stm32-vrefbuf: fix check on ready flag
644ec8e097e9 net/smc: fix NULL pointer dereference on sock_create_kern() error path
bf18bf8d610f mac80211_hwsim: don't use WQ_MEM_RECLAIM
0a1c56f01811 IB/uverbs: Improve lockdep_check
056700807d82 bpf: cpumap: use GFP_KERNEL instead of GFP_ATOMIC in __cpu_map_entry_alloc()
45c0604dbeae RDMA/mlx5: Fix integer overflow while resizing CQ
1414d3fd4616 RDMA/ucma: Check that user doesn't overflow QP state
5d07104bc91b RDMA/ucma: Limit possible option size
3eae9e93d492 Linux 4.15.9
c0d3435d7fa0 KVM: x86: fix backward migration with async_PF
fa1f98c84c6b scsi: mpt3sas: wait for and flush running commands on shutdown/unload
2928c03a245f scsi: mpt3sas: fix oops in error handlers after shutdown/unload
6ff2082e4544 bpf, ppc64: fix out of bounds access in tail call
bc9d150b9bf1 bpf: allow xadd only on aligned memory
8c4626bf15ba bpf: add schedule points in percpu arrays management
18fa1b102cc2 bpf, arm64: fix out of bounds access in tail call
5882764e48ed bpf, x64: implement retpoline for tail call
519f40bb7fc9 bpf: fix rcu lockdep warning for lpm_trie map_free callback
f154de29a46b bpf: fix memory leak in lpm_trie map_free callback function
da43a222a759 bpf: fix mlock precharge on arraymaps
968369e0e44d Linux 4.15.8
ddf33af2f815 platform/x86: dell-laptop: fix kbd_get_state's request value
344fb4360638 md: only allow remove_and_add_spares when no sync_thread running.
f946a7289f2c powerpc/64s/radix: Boot-time NULL pointer protection using a guard-PID
39f428ebf4f1 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
6dcd8259f418 ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
97086e143e20 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
f1bf982a4fea KVM/x86: remove WARN_ON() for when vm_munmap() fails
21043b0e128e KVM: x86: fix vcpu initialization with userspace lapic
100b8cbd68b1 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
16f7730b611a KVM: x86: move LAPIC initialization after VMCS creation
2ccf7f43562b KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
1b7168079777 KVM: mmu: Fix overlap between public and private memslots
0a5e830dc933 KVM: X86: Fix SMRAM accessing even if VM is shutdown
4c1a4f2e0f9f ARM: kvm: fix building with gcc-8
f83ed2a349e6 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
2dc5b6bbd897 ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
6e5bcbc089fc ARM: orion: fix orion_ge00_switch_board_info initialization
d95636d18120 x86/mm: Fix {pmd,pud}_{set,clear}_flags()
f48c77b42e12 nospec: Allow index argument to have const-qualified type
adfc51106c08 KVM: s390: consider epoch index on TOD clock syncs
b06b16f7ca6b KVM: s390: consider epoch index on hotplugged CPUs
35b8a4dfde70 KVM: s390: provide only a single function for setting the tod (fix SCK)
96819fb1cfee KVM: s390: take care of clock-comparator sign control
1c7cfc790da1 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
9b144500e91c media: m88ds3103: don't call a non-initalized function
ced72e7e3fdc blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
edd27ed8978b tcp: revert F-RTO extension to detect more spurious timeouts
34ffbd0f604c tcp: revert F-RTO middle-box workaround
46884f60c4ec s390/qeth: fix IPA command submission race
5df9e78c3dff s390/qeth: fix IP address lookup for L3 devices
f99053f7b122 Revert "s390/qeth: fix using of ref counter for rxip addresses"
6e757a122107 s390/qeth: fix double-free on IP add/remove race
50f613e92572 s390/qeth: fix IP removal on offline cards
c3238669b34f s390/qeth: fix overestimated count of buffer elements
1818aac9f31b s390/qeth: fix SETIP command handling
841c19a5cc54 s390/qeth: fix underestimated count of buffer elements
549ddc83ad5e l2tp: fix tunnel lookup use-after-free race
08ffa7bbb46e l2tp: fix race in pppol2tp_release with session object destroy
18bdaefc715b l2tp: fix races with tunnel socket close
8a319b57cc5c l2tp: don't use inet_shutdown on ppp session destroy
bb364485dfa2 l2tp: don't use inet_shutdown on tunnel destroy
333502ffcfee tcp: tracepoint: only call trace_tcp_send_reset with full socket
8421bd1de6af net: phy: Restore phy_resume() locking assumption
4f217494ee7a net/mlx5: Fix error handling when adding flow rules
bbc06dee4ac6 cxgb4: fix trailing zero in CIM LA dump
dec498f1c88e virtio-net: disable NAPI only when enabled during XDP set
fad7f95c5a30 tuntap: disable preemption during XDP processing
85e1944293c7 tuntap: correctly add the missing XDP flush
12b552b1f7b7 tcp: purge write queue upon RST
069018b93412 netlink: put module reference if dump start fails
acc97d6c2bb5 mlxsw: spectrum_router: Do not unconditionally clear route offload indication
58cea8e8f1c0 cls_u32: fix use after free in u32_destroy_key()
ba34386c3a5f amd-xgbe: Restore PCI interrupt enablement setting on resume
c5f3a16c047d tls: Use correct sk->sk_prot for IPV6
7e7a3ddb1a47 net/mlx5e: Verify inline header size do not exceed SKB linear size
738d0533e316 bridge: Fix VLAN reference count problem
e7b63f0b9981 sctp: fix dst refcnt leak in sctp_v6_get_dst()
fcff1213761a net: ipv4: Set addr_type in hash_keys for forwarded case
11cc4753e279 mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
6fe1cee8331d sctp: do not pr_err for the duplicated node in transport rhlist
76d0b2028297 net/sched: cls_u32: fix cls_u32 on filter replace
b933df76437b net_sched: gen_estimator: fix broken estimators based on percpu stats
03bbd6797f0b net/mlx5e: Fix loopback self test when GRO is off
edb7471e93d2 doc: Change the min default value of tcp_wmem/tcp_rmem.
3f62339aa796 tcp_bbr: better deal with suboptimal GSO
5c783a7f0203 rxrpc: Fix send in rxrpc_send_data_packet()
f3d48615d322 tcp: Honor the eor bit in tcp_mtu_probe
88ff57617d0d net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
0ef5cb5705f2 net/mlx5e: Specify numa node when allocating drop rq
1b1a55b29fe2 mlxsw: spectrum_switchdev: Check success of FDB add operation
c7cf3921eb5f sctp: fix dst refcnt leak in sctp_v4_get_dst
9b8444159a4c net/mlx5e: Fix TCP checksum in LRO buffers
1e4661b4d107 udplite: fix partial checksum initialization
4fadd1aa760e sctp: verify size of a new chunk in _sctp_make_chunk()
9b7006aabf2b ppp: prevent unregistered channels from connecting to PPP units
f15602876538 net: sched: report if filter is too large to dump
70ecf3334923 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
9784795d3f03 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
30535af95cf2 net: fix race on decreasing number of TX queues
214284730b09 net: ethernet: ti: cpsw: fix net watchdog timeout
21e6097dd04a net: amd-xgbe: fix comparison to bitshift when dealing with a mask
adf7429c2267 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
6811b97ecd35 hdlc_ppp: carrier detect ok, don't turn off negotiation
16883c9d55c1 fib_semantics: Don't match route with mismatching tclassid
842874ee8ec1 bridge: check brport attr show in brport_show
1b89874c3856 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
64982714bc3f x86/platform/intel-mid: Handle Intel Edison reboot correctly
d7445fa22a11 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
6450d9cd79e9 direct-io: Fix sleep in atomic due to sync AIO
1fa58410574b dax: fix vma_is_fsdax() helper
1666ac0ce06f cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
483c2bdccca7 vfio: disable filesystem-dax page pinning
eef09bb03fcb block: pass inclusive 'lend' parameter to truncate_inode_pages_range
ea402611ed03 block: kyber: fix domain token leak during requeue
8882f981b717 block: fix the count of PGPGOUT for WRITE_SAME
e4c2c02c50b3 btrfs: use proper endianness accessors for super_copy
9a13579b3034 parisc: Hide virtual kernel memory layout
4aa930d5820a parisc: Fix ordering of cache and TLB flushes
24316676e3c7 parisc: Reduce irq overhead when run in qemu
60e756984554 parisc: Use cr16 interval timers unconditionally on qemu
ee5e1ffab408 timers: Forward timer base before migrating timers
4ee6ac4141dd mmc: dw_mmc: Fix out-of-bounds access for slot's caps
500fb6fc6f76 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
d9aedd0eeff7 mmc: dw_mmc: Avoid accessing registers in runtime suspended state
89c12efb97e7 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
77a4aeb4ce78 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
05d161055a54 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
953cadb747c1 ALSA: hda: Add a power_save blacklist
b7b0967e09f8 ALSA: x86: Fix missing spinlock and mutex initializations
a2eeb5a466e4 ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
9d1e69dd320d ALSA: usb-audio: Add a quirck for B&W PX headphones
45bc38a35106 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
97277fda41a5 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
a46deb414510 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
e47b9cb5a31b tpm: fix potential buffer overruns caused by bit glitches on the bus
3f0ef47f20be tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
fdfcd0ace151 ixgbe: fix crash in build_skb Rx code path
eeef553eef5e Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking
7ef82fc6dd01 powerpc/pseries: Enable RAS hotplug events later
c58c4d2d192d platform/x86: dell-laptop: Allocate buffer on heap rather than globally
5263849bc9e7 ipmi_si: Fix error handling of platform device
d3b7976e60c6 hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
816433b1879a vsprintf: avoid misleading "(null)" for %px

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.14: update to v4.14.30
Bruce Ashfield [Tue, 27 Mar 2018 15:03:18 +0000 (11:03 -0400)]
linux-yocto/4.14: update to v4.14.30

Integrating the korg -stable releases for v4.14, which comprise the
following commits:

   de8cdc557231 Linux 4.14.30
   5019b23699f4 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
   957435b566c9 kbuild: fix linker feature test macros when cross compiling with Clang
   e82496fbe3a0 RDMA/ucma: Don't allow join attempts for unsupported AF family
   ce3e82c0630f RDMA/ucma: Fix access to non-initialized CM_ID object
   712b442c68c2 clk: migrate the count of orphaned clocks at init
   02db484a0583 RDMA/core: Do not use invalid destination in determining port reuse
   8b0c4a2e04f7 serial: 8250_pci: Don't fail on multiport card class
   00fb52a3828d IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
   cf1eb16eef13 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
   3748694f1b91 scsi: mpt3sas: wait for and flush running commands on shutdown/unload
   9d72b2696e0a scsi: mpt3sas: fix oops in error handlers after shutdown/unload
   0493d72ee4d6 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
   e618ff1ac59c crypto: artpec6 - set correct iv size for gcm(aes)
   53555c8fc8a2 clk: si5351: Rename internal plls to avoid name collisions
   fa97cdb4c71e clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
   9e9d9b1a3dbf clk: Don't touch hardware when reparenting during registration
   24c92f975cb2 clk: at91: pmc: Wait for clocks when resuming
   14d920fc4579 nfsd4: permit layoutget of executable-only files
   1de82078a0c0 ARM: dts: aspeed-evb: Add unit name to memory node
   e434a6eaed8c RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
   7b7e076f8cad scsi: lpfc: Fix issues connecting with nvme initiator
   1626beb0b5d8 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
   6f4649f3bef8 soc: qcom: smsm: fix child-node lookup
   f1f225794a41 ip_gre: fix potential memory leak in erspan_rcv
   9cd6c84e9377 ip_gre: fix error path when erspan_rcv failed
   e6cfc525163e ip6_vti: adjust vti mtu according to mtu of lower device
   f2b32ce1ccef iommu/vt-d: clean up pr_irq if request_threaded_irq fails
   915bd53d68f6 pinctrl: rockchip: enable clock when reading pin direction register
   130e535210ba pinctrl: Really force states during suspend/resume
   06299bd0cf73 media: davinci: fix a debug printk
   fea718819c69 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
   e1645629785b PCI: endpoint: Fix find_first_zero_bit() usage
   194b5ce11968 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
   d67d7bf8f12d coresight: Fix disabling of CoreSight TPIU
   f16a65befe74 pty: cancel pty slave port buf's work in tty_release
   728e120d1786 drm/omap: DMM: Check for DMM readiness after successful transaction commit
   9967208b4f6c mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
   83a2960ff6d1 omapdrm: panel: fix compatible vendor string for td028ttec1
   f7eda23c2990 vgacon: Set VGA struct resource types
   58668d153baf iser-target: avoid reinitializing rdma contexts for isert commands
   a3e4b8fe6479 IB/umem: Fix use of npages/nmap fields
   251695a39f05 RDMA/cma: Use correct size when writing netlink stats
   a4ac7cb593ad IB/ipoib: Avoid memory leak if the SA returns a different DGID
   9766562956fd rtc: ac100: Fix multiple race conditions
   badf37254bc7 media: s5p-mfc: Fix lock contention - request_firmware() once
   639dab36edbd sfp: fix non-detection of PHY
   1a6610de8c1b sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
   1b485793ce84 net: phy: meson-gxl: check phy_write return value
   ea60e54b22aa /dev/mem: Add bounce buffer for copy-out
   79a49fcc0768 mmc: block: fix logical error to avoid memory leak
   9dd93e524955 mmc: avoid removing non-removable hosts during suspend
   c1326c691f4d drm/tilcdc: ensure nonatomic iowrite64 is not used
   e2a6f2967f67 dmaengine: zynqmp_dma: Fix race condition in the probe
   f4a0f85594ba platform/chrome: Use proper protocol transfer function
   71233e2541a4 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
   08b810901020 watchdog: Fix potential kref imbalance when opening watchdog
   008029510ac8 cros_ec: fix nul-termination for firmware build info
   79c3f5cf466d serial: 8250_dw: Disable clock on error
   f1be26620373 tty: goldfish: Enable 'earlycon' only if built-in
   5ff0741646fd qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
   a9a14b17f72c media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
   057ee30417e5 ath10k: handling qos at STA side based on AP WMM enable/disable
   824f8613ea62 media: bt8xx: Fix err 'bt878_probe()'
   2159db50a572 rtlwifi: always initialize variables given to RT_TRACE()
   9f180c6db58e rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
   9854881c225a spi: sh-msiof: Avoid writing to registers from spi_master.setup()
   6467b3e25447 hv_netvsc: Fix the TX/RX buffer default sizes
   8dc11c413557 hv_netvsc: Fix the receive buffer size limit
   e53e85d5082c RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
   4df82a41e819 drm/msm: fix leak in failed get_pages
   b3cff08483d0 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
   b453f9d8c55e cpufreq: longhaul: Revert transition_delay_us to 200 ms
   e59e19dc4086 Bluetooth: btqcomsmd: Fix skb double free corruption
   5b58533858e3 Bluetooth: hci_qca: Avoid setup failure on missing rampatch
   23081c335df9 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
   23e73e2ab4d2 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
   809607940362 Linux 4.14.29
   f2216e3e1d64 usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
   3914aae2ae24 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
   c209d68794e6 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
   91cb90636e03 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
   31de69d5c9b8 scsi: qla2xxx: Fix NULL pointer access for fcport structure
   8cdd1908c174 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
   1a8902505673 btrfs: Fix memory barriers usage with device stats counters
   d35115930d84 btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
   cb6945546b52 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
   0136bd7238b2 btrfs: alloc_chunk: fix DUP stripe size handling
   7e7fbff126d1 btrfs: add missing initialization in btrfs_check_shared
   e625797168ce btrfs: Fix NULL pointer exception in find_bio_stripe
   e01cf461f1d0 irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
   1f4b6d083dc6 RDMAVT: Fix synchronization around percpu_ref
   cd21b3400bc1 fs/aio: Use RCU accessors for kioctx_table->table[]
   076c7c06801a fs/aio: Add explicit RCU grace period when freeing kioctx
   b071bce3ff7e lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
   e693f1331c4c KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
   b85437d007f4 kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
   2ffe95e3aa1e KVM: arm/arm64: Reduce verbosity of KVM init log
   0481f001d9c1 fs: Teach path_connected to handle nfs filesystems with multiple roots.
   690291bccba9 drm/amdgpu/dce: Don't turn off DP sink when disconnected
   1a50b5f07acf drm/radeon: fix prime teardown order
   b4a9192c74ad drm/amdgpu: fix prime teardown order
   bdbd0a2082d5 drm/nouveau/bl: Fix oops on driver unbind
   3d1ef6fbdc22 ALSA: seq: Clear client entry before deleting else at closing
   0609022631b3 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
   c0cafa62d780 ALSA: hda - Revert power_save option default value
   5ee6abaa5370 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
   a9cf8b6fe73b parisc: Handle case where flush_cache_range is called with no context
   6fcb523eafa0 x86/mm: Fix vmalloc_fault to use pXd_large
   4b428e9998c1 KVM: x86: Fix device passthrough when SME is active
   732f9a89fc1e x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
   76aaa3978252 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
   68ce99300659 x86/vm86/32: Fix POPF emulation
   602e52e66fbe selftests/x86/entry_from_vm86: Add test cases for POPF
   102c51c63494 selftests/x86: Add tests for the STR and SLDT instructions
   6d3789cafd00 selftests/x86: Add tests for User-Mode Instruction Prevention
   9ad561690f83 selftests/x86/entry_from_vm86: Exit with 1 if we fail
   4cf4908d1d4e x86/cpufeatures: Add Intel PCONFIG cpufeature
   828ba3c7fd5a x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
   42b96e19dddd Linux 4.14.28
   1c8b6717a268 drm/i915/glk: Disable Guc and HuC on GLK
   e09475d69826 dmaengine: qcom_hidma: check pending interrupts
   4f33fcc68abe IB/mlx5: revisit -Wmaybe-uninitialized warning
   fd6170bf4381 ima: relax requiring a file signature for new files with zero length
   c02dd004559c locking/locktorture: Fix num reader/writer corner cases
   09e59383eb1c rcutorture/configinit: Fix build directory error message
   17c8c5998857 ipvlan: add L2 check for packets arriving via virtual devices
   0ced0c46b418 Fix misannotated out-of-line _copy_to_user()
   4117e8971923 mmc: mmc_test: Ensure command queue is disabled for testing
   b45ccc79b04a ASoC: nuc900: Fix a loop timeout test
   00be5b299063 crypto: caam/qi - use correct print specifier for size_t
   8077cba5b1f0 mac80211: remove BUG() when interface type is invalid
   f6ae26c08033 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
   9bece8dda367 agp/intel: Flush all chipset writes after updating the GGTT
   4df57c45f762 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
   9281b0856dcd powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
   d744153d67fd powerpc/modules: Don't try to restore r2 after a sibling call
   12848af16f9e drm/amdkfd: Fix memory leaks in kfd topology
   30d45938f2a5 veth: set peer GSO values
   a80de288d6c5 net: sched: drop qdisc_reset from dev_graft_qdisc
   127bda4b0912 virtio_net: Disable interrupts if napi_complete_done rescheduled napi
   623f21858691 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
   b6b70d70331f media: cpia2: Fix a couple off by one bugs
   8834a75d8acb dm raid: fix raid set size revalidation
   77ec30a0b35e media: vsp1: Prevent suspending and resuming DRM pipelines
   32097005dd78 scsi: dh: add new rdac devices
   97b8a9a87832 scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
   a60a3523b398 scsi: core: scsi_get_device_flags_keyed(): Always return device flags
   677794fb0ca2 bnxt_en: Don't print "Link speed -1 no longer supported" messages.
   564030343299 spi: sun6i: disable/unprepare clocks on remove
   4309a1e0d1c3 tools/usbip: fixes build with musl libc toolchain
   9c0a007d1efc ath10k: fix invalid STS_CAP_OFFSET_MASK
   0c2fa288cfc3 mwifiex: cfg80211: do not change virtual interface during scan processing
   1a7e2b546b0f clk: qcom: msm8916: fix mnd_width for codec_digcodec
   6d6a5eae5600 drm/amdgpu:fix virtual dce bug
   bd301e538bd6 iwlwifi: mvm: avoid dumping assert log when device is stopped
   e6fb81cb22b7 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
   f9b186caa071 perf annotate: Fix unnecessary memory allocation for s390x
   9334b702531d pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
   162ee473a0cb pinctrl: sh-pfc: r8a7791: Add can_clk function
   81a16b68d254 drm/sun4i: Fix format mask in DE2 driver
   5dc7257b7ca7 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
   65722e73086d scsi: ses: don't ask for diagnostic pages repeatedly during probe
   5d8c64ea75f3 drm/amdgpu:fix random missing of FLR NOTIFY
   0049457bfde6 cpufreq: Fix governor module removal race
   bde5c6dca065 ath10k: update tdls teardown state to target
   6af44accf4ff iio: health: max30102: Add power enable parameter to get_temp function
   975486d1f138 iio: adc: ina2xx: Shift bus voltage register to mask flag bits
   cb334409bb02 drm/etnaviv: make THERMAL selectable
   893bfd501781 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
   487d43596072 power: supply: ab8500_charger: Fix an error handling path
   7579edac03e6 leds: pm8058: Silence pointer to integer size warning
   ab3db1af4210 xfrm: Fix xfrm_replay_overflow_offload_esn
   5aac93adff9c userns: Don't fail follow_automount based on s_user_ns
   926b261b1ed5 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
   2f1f60c4b903 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
   0ed43f944a40 ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
   5132282f9c4b net: thunderx: Set max queue count taking XDP_TX into account
   4ab1fcc7a5f7 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
   bd174cd107d0 net: xfrm: allow clearing socket xfrm policies.
   f113f794410a rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
   31a0f4502108 net: ieee802154: adf7242: Fix bug if defined DEBUG
   00c7a2690dcc test_firmware: fix setting old custom fw path back on exit
   919ba939de1a crypto: cavium - fix memory leak on info
   90cf769aeb5a crypto: ecc - Fix NULL pointer deref. on no default_rng
   cebb9043093e sched: Stop resched_cpu() from sending IPIs to offline CPUs
   9c2825526d96 sched: Stop switched_to_rt() from sending IPIs to offline CPUs
   872181a79b35 USB: ledtrig-usbport: fix of-node leak
   b9faab6a01e9 typec: tcpm: fusb302: Resolve out of order messaging events
   dc3173bf6ccb staging: rtl8822be: fix missing null check on dev_alloc_skb return
   0e2685fef97d drm/amdgpu: fix get_max_engine_clock_in_mhz
   dc743e973895 ARM: dts: exynos: Correct Trats2 panel reset line
   7299cd29f12c clk: meson: gxbb: fix wrong clock for SARADC/SANA
   9ac03f5260e4 ARM: dts: koelsch: Move cec_clock to root node
   cc218843b44d iwlwifi: mvm: rs: don't override the rate history in the search cycle
   f0ab595c2de0 HID: elo: clear BTN_LEFT mapping
   addf1ae9fcb2 HID: multitouch: Only look at non touch fields in first packet of a frame
   d2bbda4c374c video/hdmi: Allow "empty" HDMI infoframes
   182c594668e7 dma-buf/fence: Fix lock inversion within dma-fence-array
   e19df194b50e drm/edid: set ELD connector type in drm_edid_to_eld()
   2b0509fa4afe Revert "btrfs: use proper endianness accessors for super_copy"
   d916e453942b dm mpath: fix passing integrity data
   dbacf552cdbf earlycon: add reg-offset to physical address before mapping
   0da58aed9edc serial: core: mark port as initialized in autoconfig
   099d055f8ab9 serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
   e52fb772cb1d usb: dwc3: Fix lock-up on ID change during system suspend/resume
   99d7fb05c1e9 usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
   59b0613d3f40 usb: usbmon: Read text within supplied buffer size
   42b8dfefbb1b usb: quirks: add control message delay for 1b1c:1b20
   d4f0bf4525fd usbip: vudc: fix null pointer dereference on udc->lock
   f8187fd2aeda USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
   6de9ee2f3020 staging: android: ashmem: Fix lockdep issue during llseek
   4c2d71dd0f90 staging: comedi: fix comedi_nsamples_left.
   fdd0f1b2efc7 uas: fix comparison for error code
   3c8e0474f543 tty/serial: atmel: add new version check for usart
   a6a8916de0db serial: sh-sci: prevent lockup on full TTY buffers
   d03fbfded594 xhci: fix endpoint context tracer output
   d7c3836cd166 xhci: Fix front USB ports on ASUS PRIME B350M-A
   490869f59f58 usb: host: xhci-rcar: add support for r8a77965
   92d770524625 ASoC: rt5651: Fix regcache sync errors on resume
   57e2eb2d13db ASoC: wm_adsp: For TLV controls only register TLV get/set
   90442512a6c6 ASoC: sgtl5000: Fix suspend/resume
   577ad1c9bcfd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
   a971fc44c94b x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
   6bccf8962b78 net: phy: Restore phy_resume() locking assumption
   76fbc152cd8c net: phy: fix resume handling
   9b1fb9cc922d Linux 4.14.27
   24e955e59100 x86/kprobes: Fix kernel crash when probing .entry_trampoline code
   e8be8ff1f757 objtool: Fix 32-bit build
   a617f2e36d67 objtool: Fix another switch table detection issue
   c3b9f72606ac objtool, retpolines: Integrate objtool with retpoline support more closely
   a69898c9eb0a objtool: Add module specific retpoline rules
   3945bbe1525f kbuild: move cc-option and cc-disable-warning after incl. arch Makefile
   6288eb92cae8 kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
   cfe39acafbaf kbuild: re-order the code to not parse unnecessary variables
   e6993149fa4d objtool: Add retpoline validation
   8c2768139ffb objtool: Use existing global variables for options
   f9be9ef91a14 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
   4d840d9a1742 x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
   6fceef2e7feb x86/paravirt, objtool: Annotate indirect calls
   5065490489ee x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
   945e3d00ecdc x86/speculation, objtool: Annotate indirect calls/jumps for objtool
   e76a9431f21a x86/retpoline: Support retpoline builds with Clang
   c3ffdb5a2ed4 x86/speculation: Use IBRS if available before calling into firmware
   a66fe0437d85 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
   8cb411344339 x86-64/realmode: Add instruction suffix
   cd9547e51503 x86/LDT: Avoid warning in 32-bit builds with older gcc
   e793e30063b9 x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
   c507f00d2b5e x86/mm: Remove stale comment about KMEMCHECK
   5f9d19a6c9e1 x86/entry/64: Use 'xorl' for faster register clearing
   b690fda31a47 x86/entry: Reduce the code footprint of the 'idtentry' macro
   2e19277e1df5 nospec: Include <asm/barrier.h> dependency
   bebe3994ddaf nospec: Kill array_index_nospec_mask_check()
   dc2f0da8350e MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
   20b4c7f86df9 dt-bindings: Document mti,mips-cpc binding
   608d96fc43a3 scsi: qla2xxx: Fix recursion while sending terminate exchange
   8540351ee8a4 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
   3deecffb1b78 ALSA: hda: add dock and led support for HP ProBook 640 G2
   f2ba41eb6290 ALSA: hda: add dock and led support for HP EliteBook 820 G3
   818b447d14e4 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
   6d3a7dcba8c5 ALSA: seq: More protection for concurrent write and ioctl races
   d9c724729d0d ALSA: seq: Don't allow resizing pool in use
   7b4e500bada3 ALSA: hda/realtek - Make dock sound work on ThinkPad L570
   816ee317d8a2 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
   3c69eccc1ab1 ALSA: hda/realtek: Limit mic boost on T480
   37872f84cc2d ALSA: hda/realtek - Add headset mode support for Dell laptop
   2c269a2557a9 ALSA: hda/realtek - Add support headset mode for DELL WYSE
   c5bd1ad601d1 x86/spectre_v2: Don't check microcode versions when running under hypervisors
   c192a793f056 perf tools: Fix trigger class trigger_on()
   5c1c405d3936 x86/MCE: Serialize sysfs changes
   859334041d04 x86/MCE: Save microcode revision in machine check records
   c6a1c0caf2d0 bcache: don't attach backing with duplicate UUID
   14c2230b83bc bcache: fix crashes in duplicate cache device register
   f1833eb13078 IB/mlx5: Fix incorrect size of klms in the memory region
   525673339fb1 dm bufio: avoid false-positive Wmaybe-uninitialized warning
   ffced04184f5 kbuild: Handle builtin dtb file names containing hyphens
   e3a8c7b5d707 IB/core: Fix missing RDMA cgroups release in case of failure to register device
   c1badd7b65c4 arm64: mm: fix thinko in non-global page table attribute check
   3da2a62a61d1 KVM: s390: fix memory overwrites when not using SCA entries
   583cc79b7380 virtio_ring: fix num_free handling in error case
   5f9113db06a4 loop: Fix lost writes caused by missing flag
   7f18a19b2113 Documentation/sphinx: Fix Directive import error
   88b3e6acbae0 mm/memblock.c: hardcode the end_pfn being -1
   d50cb5cedb6f lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
   89d3fccd8bab Input: matrix_keypad - fix race when disabling interrupts
   91e019af29cd PCI: dwc: Fix enumeration end when reaching root subordinate
   d90bb7c6806b MIPS: OCTEON: irq: Check for null return on kzalloc allocation
   e06fe5925771 MIPS: ath25: Check for kzalloc allocation failure
   26f1a4666090 MIPS: BMIPS: Do not mask IPIs during suspend
   6c6f1e60b5e4 drm/amdgpu:Always save uvd vcpu_bo in VM Mode
   783fd8eb86fc drm/amdgpu:Correct max uvd handles
   e919af14fa17 drm/amdgpu: fix KV harvesting
   f641c63d750a drm/radeon: fix KV harvesting
   755e5527e57f drm/amdgpu: Notify sbios device ready before send request
   20f3ff9738c0 drm/amdgpu: used cached pcie gen info for SI (v2)
   26078a2d862d drm/amd/powerplay: fix power over limit on Fiji
   9c1192dcb7ba drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
   1dd93412438e Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
   cfc381d215af drm/amd/powerplay/vega10: allow mclk switching with no displays
   396ff3687674 drm/amd/powerplay/smu7: allow mclk switching with no displays
   9b9a82c0e2e1 drm/nouveau: prefer XBGR2101010 for addfb ioctl
   e6a23183d800 drm/amdgpu: Fix deadlock on runtime suspend
   9c1508eff805 drm/radeon: Fix deadlock on runtime suspend
   8c13b37c887d drm/nouveau: Fix deadlock on runtime suspend
   c261d5a4e5bf drm: Allow determining if current task is output poll worker
   363e3fd5fa49 workqueue: Allow retrieval of current task's work struct
   0547d1135081 drm/i915: Always call to intel_display_set_init_power() in resume_early.
   07b749546521 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
   4dbc3e4d8b28 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
   2e5033364e0d drm/i915/perf: fix perf stream opening lock
   c16a67695cd6 drm/i915: Try EDID bitbanging on HDMI after failed read
   d3accc34d793 drm/i915: Update watermark state correctly in sanitize_watermarks
   7b3f881e41c5 drm/i915: Disable DC states around GMBUS on GLK
   492056f2944e drm/i915: Clear the in-use marker on execbuf failure
   f306b12928b9 drm/i915: Fix rsvd2 mask when out-fence is returned
   4b26a307391f regulator: stm32-vrefbuf: fix check on ready flag
   bba05fb6a13b net/smc: fix NULL pointer dereference on sock_create_kern() error path
   e0486b303556 IB/uverbs: Improve lockdep_check
   dbfed071633c RDMA/mlx5: Fix integer overflow while resizing CQ
   01b8c0e36063 RDMA/ucma: Check that user doesn't overflow QP state
   9b2d784a39d4 RDMA/ucma: Limit possible option size
   7b7574e9b209 NFS: Fix unstable write completion
   e131a6d68cd5 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
   2bca2c58d83b NFS: Fix an incorrect type in struct nfs_direct_req
   29060ff7c1ed scsi: qla2xxx: Fix memory leak in dual/target mode
   0393270e9e58 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
   e62c1051a4fd scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
   f5ff7098d906 scsi: qla2xxx: Defer processing of GS IOCB calls
   1bc43df12141 scsi: qla2xxx: Clear loop id after delete
   21e4e9c6d8ab scsi: qla2xxx: Fix scan state field for fcport
   0b42928ca54c scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
   11739154e650 scsi: qla2xxx: Fix abort command deadlock due to spinlock
   4929c452336c scsi: qla2xxx: Fix PRLI state check
   f92ec32f33ba scsi: qla2xxx: Fix Relogin being triggered too fast
   1411448e0a1b scsi: qla2xxx: Fix NPIV host cleanup in target mode
   4274e4a3bee9 scsi: qla2xxx: Fix login state machine stuck at GPDB
   585f4ebd9e66 scsi: qla2xxx: Serialize GPNID for multiple RSCN
   a6d50e89f119 scsi: qla2xxx: Retry switch command on time out
   8e6cbe51afee scsi: qla2xxx: Fix re-login for Nport Handle in use
   fae72a271001 scsi: qla2xxx: Skip IRQ affinity for Target QPairs
   2cd1f76b293e scsi: qla2xxx: Move session delete to driver work queue
   e0be82d7801a scsi: qla2xxx: Fix gpnid error processing
   f58abb5bbd23 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
   7b6f41b7377a tpm: only attempt to disable the LPC CLKRUN if is already enabled
   30c3b70e8d83 tpm: remove unused variables
   1ef7d99cc897 tpm: delete the TPM_TIS_CLK_ENABLE flag
   7cea3381216a tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
   f1bb2393fcd0 tpm_tis: Move ilb_base_addr to tpm_tis_data
   9131a1b3d9c8 netfilter: use skb_to_full_sk in ip6_route_me_harder
   39f154faecc2 netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
   2d7e07003950 netfilter: bridge: ebt_among: add missing match size checks
   eaa06bfba8ea netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
   c89e04e5c06e netfilter: IDLETIMER: be syzkaller friendly
   53f94e6110aa netfilter: nat: cope with negative port range
   ab737b02b2fd netfilter: x_tables: fix missing timer initialization in xt_LED
   2a7ebc07a153 netfilter: xt_hashlimit: fix lock imbalance
   4514a597aa43 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
   638c2e4eff89 netfilter: add back stackpointer size checks
   310f286ded5f ASoC: Intel: kbl: fix jack name
   314b54aae2ad ASoC: Intel: Skylake: Fix jack name format substitution
   c116baf79f0e ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
   77fbdd1e2a0c watchdog: hpwdt: Remove legacy NMI sourcing.
   41da51dbc372 watchdog: hpwdt: fix unused variable warning
   d40d7b332592 watchdog: hpwdt: Check source of NMI
   9a07f4a6befc watchdog: hpwdt: SMBIOS check
   31c4bc6e01e5 kbuild: move "_all" target out of $(KBUILD_SRC) conditional
   96427a5164f3 Linux 4.14.26
   dc6fb79de47d KVM: x86: fix backward migration with async_PF
   a91064ff43a2 bpf, ppc64: fix out of bounds access in tail call
   3e272a8cd57a bpf: allow xadd only on aligned memory
   e1760b3563fb bpf: add schedule points in percpu arrays management
   03549a3476e1 bpf, arm64: fix out of bounds access in tail call
   7e657aa3b4f7 bpf, x64: implement retpoline for tail call
   853223c2caf4 bpf: fix rcu lockdep warning for lpm_trie map_free callback
   62a2caa5027f bpf: fix memory leak in lpm_trie map_free callback function
   d9fd73c60bc9 bpf: fix mlock precharge on arraymaps
   8773f9bfa9e8 Linux 4.14.25
   df11c2268c39 nvme-rdma: don't suppress send completions
   9474d8fa7ac4 md: only allow remove_and_add_spares when no sync_thread running.
   4df591f704a2 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
   2b8446579c1b ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
   b2190cc39184 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
   b95f8ca8d719 KVM/x86: remove WARN_ON() for when vm_munmap() fails
   615462370ab6 KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE_BIT in kvm_valid_sregs()
   db98acd6f859 PCI/ASPM: Deal with missing root ports in link state handling
   b4830f3ad9c5 KVM: x86: fix vcpu initialization with userspace lapic
   1f17daea7026 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
   03d62460c731 KVM: x86: move LAPIC initialization after VMCS creation
   0d62a56dc454 KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
   7135aaf3ed63 KVM: mmu: Fix overlap between public and private memslots
   1ebf9ab6c4a0 KVM: X86: Fix SMRAM accessing even if VM is shutdown
   f925158cb0d2 KVM: x86: extend usage of RET_MMIO_PF_* constants
   e0c7b2b16666 ARM: kvm: fix building with gcc-8
   fc6be8bc1216 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
   4c02f0164b0e ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
   8dc356e5b936 ARM: orion: fix orion_ge00_switch_board_info initialization
   b20d1086410a x86/mm: Fix {pmd,pud}_{set,clear}_flags()
   656772cb7233 nospec: Allow index argument to have const-qualified type
   81a158d21498 KVM: s390: consider epoch index on TOD clock syncs
   dbab3751bcc7 KVM: s390: consider epoch index on hotplugged CPUs
   58a5d1ac69a7 KVM: s390: provide only a single function for setting the tod (fix SCK)
   c09ea9a8da5b KVM: s390: take care of clock-comparator sign control
   bd3ead457638 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
   1ba2b9e01dbf media: m88ds3103: don't call a non-initalized function
   ccddee811eba blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
   c5f32462f0df s390/qeth: fix IPA command submission race
   eae17c406390 s390/qeth: fix IP address lookup for L3 devices
   87c4789f452d Revert "s390/qeth: fix using of ref counter for rxip addresses"
   56f662db7f56 s390/qeth: fix double-free on IP add/remove race
   027637104ddf s390/qeth: fix IP removal on offline cards
   fa4919e37f8e s390/qeth: fix overestimated count of buffer elements
   128c7e692333 s390/qeth: fix SETIP command handling
   fcdfb9d80dc9 s390/qeth: fix underestimated count of buffer elements
   99a781947c2a virtio-net: disable NAPI only when enabled during XDP set
   5134b919cc2c tuntap: disable preemption during XDP processing
   1903344b6320 tuntap: correctly add the missing XDP flush
   abb4a8b870b5 tcp: purge write queue upon RST
   eec434c573e7 netlink: put module reference if dump start fails
   abd7663b5d1c mlxsw: spectrum_router: Do not unconditionally clear route offload indication
   ebadf888288c cls_u32: fix use after free in u32_destroy_key()
   fb8a84cb9f6a amd-xgbe: Restore PCI interrupt enablement setting on resume
   e7b316ac78e2 net/mlx5e: Verify inline header size do not exceed SKB linear size
   cbd173b8105c bridge: Fix VLAN reference count problem
   00ec3b0ca32f sctp: fix dst refcnt leak in sctp_v6_get_dst()
   97ba6e5ff684 net: ipv4: Set addr_type in hash_keys for forwarded case
   73cb791fe41c mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
   0ab87ec99e99 tcp: revert F-RTO extension to detect more spurious timeouts
   cc8dadb8c0f4 tcp: revert F-RTO middle-box workaround
   36728a6b39c1 sctp: do not pr_err for the duplicated node in transport rhlist
   54d6bc97b4c9 net/sched: cls_u32: fix cls_u32 on filter replace
   a01550d778a4 net_sched: gen_estimator: fix broken estimators based on percpu stats
   5b5be45ed1f2 net/mlx5e: Fix loopback self test when GRO is off
   ff01f118d168 doc: Change the min default value of tcp_wmem/tcp_rmem.
   d6a76199e851 tcp_bbr: better deal with suboptimal GSO
   f0a04a0e1ab4 rxrpc: Fix send in rxrpc_send_data_packet()
   17634603d494 tcp: Honor the eor bit in tcp_mtu_probe
   dcb5da20ee3f net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
   f26693d38760 net/mlx5e: Specify numa node when allocating drop rq
   2229dd5dd6c6 mlxsw: spectrum_switchdev: Check success of FDB add operation
   9f02a069bfdd sctp: fix dst refcnt leak in sctp_v4_get_dst
   bf014cc18a3c net/mlx5e: Fix TCP checksum in LRO buffers
   fecb84a83f84 udplite: fix partial checksum initialization
   1fc74a57a8ae sctp: verify size of a new chunk in _sctp_make_chunk()
   5775f7876467 ppp: prevent unregistered channels from connecting to PPP units
   795f3deff199 net: sched: report if filter is too large to dump
   60b28d5ef3e3 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
   3bcf69f8e786 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
   f80c28a585b5 net: fix race on decreasing number of TX queues
   da260080c2e3 net: ethernet: ti: cpsw: fix net watchdog timeout
   94870df33c9b net: amd-xgbe: fix comparison to bitshift when dealing with a mask
   c3d7d3a099f6 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
   2cdc12a498fc hdlc_ppp: carrier detect ok, don't turn off negotiation
   4a5048e7fdeb fib_semantics: Don't match route with mismatching tclassid
   4c13e689e5f0 bridge: check brport attr show in brport_show
   71978491bb66 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
   f70befc397a6 x86/platform/intel-mid: Handle Intel Edison reboot correctly
   e521a723fd3f x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
   93e1f7fc77e6 direct-io: Fix sleep in atomic due to sync AIO
   0ba6c33b3287 dax: fix vma_is_fsdax() helper
   3379a37a7409 cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
   d5168ce35434 vfio: disable filesystem-dax page pinning
   7f43f610c4bb block: kyber: fix domain token leak during requeue
   17644a0bbb19 block: fix the count of PGPGOUT for WRITE_SAME
   eae6179f5539 btrfs: use proper endianness accessors for super_copy
   dabf89052e8e parisc: Fix ordering of cache and TLB flushes
   47e7fc96cddc parisc: Reduce irq overhead when run in qemu
   90c3f0d36000 parisc: Use cr16 interval timers unconditionally on qemu
   6b218ed6bd07 timers: Forward timer base before migrating timers
   ec274a65154a mmc: dw_mmc: Fix out-of-bounds access for slot's caps
   e03d46a156d9 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
   4d5123a0b37c mmc: dw_mmc: Avoid accessing registers in runtime suspended state
   cb65fc21f387 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
   33b42aa617d1 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
   e2c3f7270218 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
   34516912bfd7 ALSA: hda: Add a power_save blacklist
   e5e9a08e151f ALSA: x86: Fix missing spinlock and mutex initializations
   a2102a155f3d ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
   ebc24a828a2f ALSA: usb-audio: Add a quirck for B&W PX headphones
   e5966192439e tpm_tis_spi: Use DMA-safe memory for SPI transfers
   fbb6fba47c05 tpm: constify transmit data pointers
   f8e331c508c2 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
   37dfbccd4b22 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
   e9951ab03f51 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
   648b62fda1a3 tpm: fix potential buffer overruns caused by bit glitches on the bus
   703fca31ac31 tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
   972b19e615a2 ixgbe: fix crash in build_skb Rx code path
   971039cc4da1 Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: intel-socfpga, intel-pmc-core and ish support for CoffeeLake board
Bruce Ashfield [Tue, 27 Mar 2018 15:03:17 +0000 (11:03 -0400)]
linux-yocto/4.12: intel-socfpga, intel-pmc-core and ish support for CoffeeLake board

Integrating a series of mainline backports to allow better 4.12 support
for the coffeelake board:

   97e710ef0545 driver: clk: socfpga: remove unused variable
   2852089a6b7f x86/cpu: Add Cannonlake to Intel family
   1af96090b1f4 ACPI / LPIT: Export lpit_read_residency_count_address()
   1e85b644ad5e ACPI / LPIT: Add Low Power Idle Table (LPIT) support
   3b931f776349 platform/x86: intel_pmc_core: Special case for Coffeelake
   5666379331a9 platform/x86: intel_pmc_core: Add CannonLake PCH support
   de9e9e9518ee platform/x86: intel_pmc_core: Read base address from LPIT
   f422abd33358 platform/x86: intel_pmc_core: Remove unused header file
   ec1ca0048923 platform/x86: intel_pmc_core: Convert to ICPU macro
   f894e2c0cfff platform/x86: intel_pmc_core: Substitute PCI with CPUID enumeration
   ce7b50cc047d platform/x86: intel_pmc_core: Refactor debugfs entries
   c9ca0426c9c8 platform/x86: intel_pmc_core: Fix file permission warnings
   17294194d03c platform/x86: intel_pmc_core: Change driver to a module
   7f142e82c8f0 platform/x86: intel_pmc_core: Fix kernel doc for pmc_dev
   d095df17ddf4 platform/x86: intel_pmc_core: Remove unused variable
   cdfd431ccc3d platform/x86: intel_pmc_core: Remove unused EXPORTED API
   c54edf864c58 platform/x86: intel_pmc_core: Make the driver PCH family agnostic
   5302f0bfbaed HID: intel-ish-hid: Enable Cannon Lake and Coffee Lake laptop/desktop
   7e5cc39c3f61 HID: intel-ish-hid: Enable Gemini Lake ish driver
   b00e0e88689f HID: intel-ish-hid: Enable Cannon Lake ish driver

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/meta: improve wifi driver granularity
Bruce Ashfield [Tue, 27 Mar 2018 15:03:16 +0000 (11:03 -0400)]
linux-yocto/meta: improve wifi driver granularity

Integrating the following commit for the 4.12+ kernels:

   Author: Nathan Rossi <nathan@nathanrossi.com>
   Date:   Wed Mar 21 00:10:02 2018 +1000

    features/wifi: Add WiFi driver fragments for various vendors/interfaces

    This change adds WiFi driver configuration fragments. The fragments are
    split into vendor and interface files to allow for easy selection of
    drivers for specific interface types (USB, PCI, SDIO) which is useful
    for BSPs with specific interfaces. The specific vendor/interface config
    fragments can be included by specific BSPs in its .scc files.

    However .scc files (wifi-*.scc) are provided to allow enabling interface
    specific or all interfaces drivers via KERNEL_FEATURES or inclusion via
    other .scc files. And wifi-common.scc is provided to enable the base
    config options required for all WiFi drivers, which is done to ensure
    correct configuration for default no config setups (e.g.
    linux-yocto-tiny).

    This patch only enables a limited set of drivers, which is based on what
    the common-pc-wifi.cfg fragment sets as well as some additional drivers,
    that primarily appear in USB WiFi devices.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This gives us a much better granularity of drivers and a good baseline for
future improvements.

The 4.12 fragments are also slightly re-organized on top of this commit
to avoid patch failures when including the new frags.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agompc8315e-rdb: fix broken ethernet
Bruce Ashfield [Tue, 27 Mar 2018 15:03:14 +0000 (11:03 -0400)]
mpc8315e-rdb: fix broken ethernet

Integrating the following commits to fix the ethernet on the mpc8315e-rdb:

  12f3957167b0 net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b
  c986bc511c18 net: phy: Add general dummy stubs for MMD register access

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: add ssl and utils native dependencies
Bruce Ashfield [Tue, 27 Mar 2018 15:03:15 +0000 (11:03 -0400)]
linux-yocto/4.12: add ssl and utils native dependencies

Via the -stable updates, and other configuration changes the 4.12 kernel has the
same dependency on openssl headers as 4.14+.

So we add the same DEPENDS line that we already have in newer kernels to avoid the
following error:

   |   HOSTCC  scripts/sign-file
   | build/tmp/work-shared/qemux86-64/kernel-source/scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
   | compilation terminated.
   | scripts/Makefile.host:107: recipe for target 'scripts/sign-file' failed
   | make[3]: *** [scripts/sign-file] Error 1
   | make[3]: *** Waiting for unfinished jobs....

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: update to v4.12.21
Bruce Ashfield [Tue, 27 Mar 2018 15:03:13 +0000 (11:03 -0400)]
linux-yocto/4.12: update to v4.12.21

Integrating Paul Gortmaker's stable update to 4.12, this includes CVE
fixes for meltdown and spectre:

   3bb926457832 Linux 4.12.21
   76781f72ce64 lguest: disable it vs. removing it.
   6ab3176bb365 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
   efa97ecdf026 x86/pti: Mark constant arrays as __initconst
   a4d9aaf35e28 x86/spectre: Simplify spectre_v2 command line parsing
   1dbde4da259a x86/retpoline: Avoid retpolines for built-in __init functions
   7f3a7b69b0f7 x86/paravirt: Remove 'noreplace-paravirt' cmdline option
   ebeddfbee13f x86/speculation: Use Indirect Branch Prediction Barrier in context switch
   7e0a7c84eb35 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel
   bf0c4c3f38f6 x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
   f4d4ccfdf361 x86/spectre: Report get_user mitigation for spectre_v1
   12f20abacd8b nl80211: Sanitize array index in parse_txq_params
   7686c72bfd9c vfs, fdtable: Prevent bounds-check bypass via speculative execution
   a3d62741fc9b x86/syscall: Sanitize syscall table de-references under speculation
   0b99c598274c x86/get_user: Use pointer masking to limit speculation
   bf532304a22f x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
   04584b001618 x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end}
   5a64c3ccd99d x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
   9bbc24f34f03 x86: Introduce barrier_nospec
   b55fd06d6fe0 x86: Implement array_index_mask_nospec
   79a2efa3e0f5 array_index_nospec: Sanitize speculative array de-references
   e9046d054bb9 Documentation: Document array_index_nospec
   0078d6b103f9 x86/asm: Move 'status' from thread_struct to thread_info
   46afe23798a3 x86/entry/64: Push extra regs right away
   4213246ab7a8 x86/entry/64: Remove the SYSCALL64 fast path
   026a59b9de37 x86/spectre: Check CONFIG_RETPOLINE in command line parser
   a345c5f7a1b6 x86/mm: Fix overlap of i386 CPU_ENTRY_AREA with FIX_BTMAP
   999e3eca6861 x86/speculation: Simplify indirect_branch_prediction_barrier()
   c7acab78a24c x86/retpoline: Simplify vmexit_fill_RSB()
   be5c3f1101f7 x86/cpufeatures: Clean up Spectre v2 related CPUID flags
   7addf309d0e0 x86/cpu/bugs: Make retpoline module warning conditional
   b7c17f71e9cc x86/bugs: Drop one "mitigation" from dmesg
   af16629cc1da x86/nospec: Fix header guards names
   ebfadec0c9dc x86/alternative: Print unadorned pointers
   2e4bcf1ccaa9 x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support
   332de1ac4373 x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes
   79a2a1ba23e7 x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown
   d29069565618 x86/msr: Add definitions for new speculation control MSRs
   114a7b0f431c x86/cpufeatures: Add AMD feature bits for Speculation Control
   2d5755e9daac x86/cpufeatures: Add Intel feature bits for Speculation Control
   3f5d9b428f05 x86/cpufeatures: Add CPUID_7_EDX CPUID leaf
   2f1b883356ca module/retpoline: Warn about missing retpoline in module
   8c935f65cf6a KVM: VMX: Make indirect call speculation safe
   79c0d980e610 KVM: x86: Make indirect calls in emulator speculation safe
   956ca31407ab x86/retpoline: Remove the esp/rsp thunk
   de8cd92003c6 x86/mm/64: Fix vmapped stack syncing on very-large-memory 4-level systems
   f2846896cd75 x86/microcode: Fix again accessing initrd after having been freed
   badb7498ab69 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
   750d9c97cede x86/pti: Document fix wrong index
   8d759c94307d kprobes/x86: Disable optimizing on the function jumps to indirect thunk
   59a3c4dc0ab9 kprobes/x86: Blacklist indirect thunk functions for kprobes
   2eef7eab7aea retpoline: Introduce start/end markers of indirect thunk
   a37c55916910 x86/mce: Make machine check speculation protected
   3aab76cd9d88 x86/tsc: Fix erroneous TSC rate on Skylake Xeon
   b129f5955cd5 x86/tsc: Future-proof native_calibrate_tsc()
   7639b8268579 x86/mm/pkeys: Fix fill_sig_info_pkey
   b19a92bb0f18 x86/cpufeature: Move processor tracing out of scattered features
   eb5a1177e60b x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
   ed114eb7be88 x86/retpoline: Fill RSB on context switch for affected CPUs
   70d519c9f97c x86/kasan: Panic if there is not enough memory to boot
   01e21b5f7c9c x86/retpoline: Remove compile time warning
   8ca1b5f8a9f4 x86,perf: Disable intel_bts when PTI
   6f037d7eaeaa security/Kconfig: Correct the Documentation reference for PTI
   b8c74586d251 x86/pti: Fix !PCID and sanitize defines
   8e24a4722756 selftests/x86: Add test_vsyscall
   c3d9420f23cf x86/retpoline: Fill return stack buffer on vmexit
   dd182d455654 x86/retpoline/irq32: Convert assembler indirect jumps
   d592a8a2c5f5 x86/retpoline/checksum32: Convert assembler indirect jumps
   0f3df59f16d3 x86/retpoline/xen: Convert Xen hypercall indirect jumps
   c0459b479a22 x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
   11edfaeadbd1 x86/retpoline/entry: Convert entry assembler indirect jumps
   bf4c91a3b74f x86/retpoline/crypto: Convert crypto assembler indirect jumps
   2b243b8623a5 x86/spectre: Add boot time option to select Spectre v2 mitigation
   8ab0d792e81c x86/retpoline: Add initial retpoline support
   f2f4c0853dba x86/pti: Make unpoison of pgd for trusted boot work for real
   7495fd5400e6 x86/alternatives: Fix optimize_nops() checking
   8b932f131e26 sysfs/cpu: Fix typos in vulnerability documentation
   299b4adfed2e x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
   32996f3a0a81 x86/cpu/AMD: Make LFENCE a serializing instruction
   10ffc3c2b2f7 x86/mm/pti: Remove dead logic in pti_user_pagetable_walk*()
   9e1201731d4b x86/tboot: Unbreak tboot with PTI enabled
   728d879e5c6b x86/cpu: Implement CPU vulnerabilites sysfs functions
   aeba317a23de sysfs/cpu: Add vulnerability folder
   83e59b5d52bf x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
   f7845c2cbd6e x86/Documentation: Add PTI description
   16331e2c3b06 x86/pti: Unbreak EFI old_memmap
   5723b0260415 kdump: Write the correct address of mem_section into vmcoreinfo
   50d02826dfc0 mm/sparse.c: wrong allocation for mem_section
   d3cbfb481af2 mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotzdata: update to 2018d
akuster@mvista.com [Mon, 26 Mar 2018 14:30:24 +0000 (07:30 -0700)]
tzdata: update to 2018d

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>