When running bitbake command with Python 3.6.5 always result in
import error causing by the change of distutils module.
This patch replaces the method to search executable in PATH by
"/usr/bin/env <command>".
(Bitbake rev: 0193e1f5b2128602ad8a80c82a3dd4d2cdb6e4a7)
Signed-off-by: Tzu Hsiang Lin <t9360341@ntut.org.tw>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed the notes to help the user understand where to get
the correct version of the manuals for any given version
of YP.
(From yocto-docs rev: 75a3244e40d15755b60adea126cda12755f28909)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dot releases are maint only.
2.4.4 included:
CVE-2017-17742: HTTP response splitting in WEBrick
CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir
CVE-2018-8777: DoS by large request in WEBrick
CVE-2018-8778: Buffer under-read in String#unpack
CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket
CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
(From OE-Core rev: ce12ff394281a42448d92109568db33739b2b542)
(From OE-Core rev: 43721cc12ce782603ecdc0aa3a514bc6c8d4f97f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup for Morty context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc is now the only component in morty release which is using TMPDIR/sysroots-components (normally used only after RSS):
oe-core$ git grep "\${STAGING_DIR}-components"
meta/recipes-core/glibc/glibc-locale.inc:LOCALETREESRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"
meta/recipes-core/glibc/glibc-mtrace.inc:SRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts"
meta/recipes-core/glibc/glibc-package.inc:do_stash_locale[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"
meta/recipes-core/glibc/glibc-package.inc:do_stash_locale[sstate-fixmedir] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale"
meta/recipes-core/glibc/glibc-scripts.inc:SRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts"
test-dependencies selective pruning of TMPDIR, deletes sysroots, but not sysroots-components
which leaves TMPDIR/sysroots-components files from qlibc.do_stash_locale behind and when next build started in the same workspace it failed, because it was trying to overwrite files already there.
(From OE-Core rev: 386c183971929e5440cb3fa957d3ce8a93943b4f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I had some components where the MACHINE name was also included in PV of allarch recipe
which was tripping the script into saying that they have different signatures (because
for one MACHINE was the string in PV replaced with 'MACHINE' and not for other MACHINEs
(From OE-Core rev: d75c28fc0b4b16eb75e9c68d9d6224a0d782607e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a non-existing MACHINE is specified, sanity check issues
the following message:
Please set a valid MACHINE in your local.conf or environment
However, MACHINE can also be set in multiconfig .conf file(s).
Hence we may have several different MACHINE settings within one
(multiconfig) build, so the present error message is fairly
ambiguous.
This patch remedies this by explicitly naming the offending MACHINE and
by amending the list of places where this erroneous MACHINE definition
could have originated.
MACHINE=xyz is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file.
[YOCTO#10810]
(From OE-Core rev: 7b7cbba0bb93893029118e5798ec5831838a5bd9)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a7cb408dd784178197687a2129e936620bf6a0d3)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to make do_stash_locale an sstate task between do_install and
do_package has some unforeseen problems since the function deletes part of
${D} but may or may not run depending on whether the task is installed from
sstate.
This cleans up the current "pre packaging" function to be more deterministic
and result in the same set of files, whichever code path we end up reaching
that point by. Its not an ideal sitation but it should avoid the race
failures we've seen on some builds.
(From OE-Core rev: 2a60bba00da9c4e2b1a1ce30e509dba82cc6c94a)
(From OE-Core rev: 9660e4d75230a8aed91a2fc4c887e332f52914e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting do_populate_sysroot as noexec means the code keeps thinking it can find
a manifest file for it. It also complicates sstate installtion since the code
would believe there is an sstate object there it should look for.
Instead, delete the task. This causes sdk failures as the dependencies are wrong
so fix those as well.
(From OE-Core rev: bd7d0314038a4c1a8e8c9ebdb7194f8e17db3fef)
(From OE-Core rev: 249feee857735171fc0c289fe18351203d013130)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup for getVar True bit]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ext sdk is built by gcc version higher than host gcc version
and host gcc version is 4.8 or 4.9 the installation is known to
fail due to the way uninative sstate package is built.
It's a known issue and we don't have a way to fix it for above
mentioned combinations of build and host gcc versions.
Detected non-installable combinations of gcc versions and
print an installation error.
[YOCTO #10881]
(From OE-Core rev: bfb9ea2604557804bd8c16adb57ccdd868a4020f)
(From OE-Core rev: 44a5277d25da5ab76e4bf8ad3f534a8e9a7b30eb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason dnf is aborting with the fairly useless "failed to read RPMDB"
error during SDK creation. Luckily as we're just deleting locale packages we
can pass False to remove() to use RPM directly, which doesn't crash.
(From OE-Core rev: cb118806841e585ec6ca820360329ae7d122c0af)
(From OE-Core rev: 3ebd1a7db39ee5e7ea68e2642a14a03d9b48d8fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure: Unable to find revision d8b18df3e9dcbe4f092bed565835d3975e99432c in branch 3.2 even from upstream
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/distcc/distcc.git;branch=3.2'. Unable to fetch URL from any source.
ERROR: distcc-3.2-r0 do_fetch: Function failed: base_do_fetch
[v2]
upstream deleted the branch and the hash no longer exists.
Took the git snapshot from yocto and created a copy on my github.
There was no offical 3.2 release, only rc versions.
(From OE-Core rev: 1dbffc25936733ca03b6d03c5bacb3fb496a61a5)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
buildhistory was writing srcrevs.values() as SRCREV when only one
srcrev/branch exists. This returns a view of the dictionary values in python
3, and used to return a list in python 2, neither of which is an appropriate
value for SRCREV. It was resulting in latest_srcrev files like this:
# SRCREV = "346584bf6e38232be8773c24fd7dedcbd7b3d9ed"
SRCREV = "dict_values(['346584bf6e38232be8773c24fd7dedcbd7b3d9ed'])"
Which in turn would result in invalid output in buildhistory-collect-srcrevs.
Fix by calling `next(iter())` on the `.values()`
(From OE-Core rev: 4243555ab91ab763a098259011dfa72156bfe0b3)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ef826a395612400924bbe49859d256b237ff59e1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it may pop up windows asking for passphrases which breaks
automated testing.
Newer YP releases and master already have the fix.
[YOCTO #12521]
(From OE-Core rev: 863916169fbe2686015b4f2279f49f08f41e9a47)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
grub-efi build fails with the following error on Fedora 26:
| ../grub-2.00/util/raid.c: In function 'grub_util_raid_getmembers':
| ../grub-2.00/util/raid.c:91:13: error: In the GNU C Library, "makedev"
is defined
| by <sys/sysmacros.h>. For historical compatibility, it is
| currently defined by <sys/types.h> as well, but we plan to
| remove this soon. To use "makedev", include <sys/sysmacros.h>
| directly. If you did not intend to use a system-defined macro
| "makedev", you should undefine it after including <sys/types.h>.
[-Werror]
| makedev (disk.major, disk.minor));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Resolve the build error by backporting the fix from upstream.
[YOCTO #12595]
(From OE-Core rev: a57e3e387a962a253e8f4f1519141eb7f8ce5e41)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found on my Ubuntu 14.04.5 LTS, on which that gnome-terminal is
the default terminal, when I run any of the tasks:
bitbake busybox -c menuconfig/devshell/devpyshell
bitbake virtual/kernel -c menuconfig/devshell/devpyshell
I got a error as follows:
"Failed to execute child process "oe-gnome-terminal-phonehome" (No such file or directory)"
Seems the environment of the process calling Popen is not passed to the
child process, this behaviour is a known issue in Python bug tracker:
http://bugs.python.org/issue8557
It could be fixed by using an absolute path instead per test.
(From OE-Core rev: 5055bcabca542074cad00c92edf79f3a1551ac32)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2117c148ef07d84bc605768e3b3671b0126b9337)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc 2.27 added function copy_file_range(), and e2fsprogs happens to
have a different function with the same name. The conflict made
e2fsprogs-native build fail.
Here's a backport of a fix from upstream, the fix was released in
e2fsprogs 1.43.8.
The master branch doesn't need this fix, since it has new enough
e2fsprogs version. At least rocko, pyro and morty need this, I haven't
checked older stable branches. Apparently the problematic function was
introduced in e2fsprogs version 1.43.
(From OE-Core rev: d6a297d259d0c4b83f708d4a357c9941c0e478a3)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If GLIBC_SPLIT_LC_PACKAGES is set to a non-zero value, convert
glibc-binary-localedata-XX-YY to be a meta package depending on
glibc-binary-localedata-XX-YY-lc-address and so on. This enables
saving quite some space if someone doesn't need LC_COLLATE for
example.
Some regex code was removed from output_locale_binary_rdepends,
because legitimize_package_name already converts to lowercase.
(From OE-Core rev: 40b4b31092058f8833ada3dfc254d362dd3139c1)
(From OE-Core rev: d11222c452d79cc2044a21432336c4a59d08327b)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Putting the locale and script files into the sysroot for use by their
specific recipes used to be a simple way to share the files. With RSS,
we don't want to copy these into many different recipes so put these
files in their own sstate task.
(From OE-Core rev: c283f2532851e2a65e08fe7b3fd71c5d9abb70f2)
(From OE-Core rev: bb95c7f9edfc73ad9c5ef47a5e897b19086030a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGES_DYNAMIC contained an identical set of packages twice.
I suspect this was a result of global search/replace when moving
recipes from eglibc to glibc long time ago.
(From OE-Core rev: 9d0f0fa80ffbafc2d4a1df0fa3ac5d84396a8182)
(From OE-Core rev: 8d6f11c6dc0543dff330a0bfd0772bda969016ed)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
localedef has no way to specify which locale archive to use, and the
compile-time default isn't useful as it points to the work directory.
Add support to read an environmental variable for the path, and don't fail to
write a new locale archive.
(From OE-Core rev: bf0f205a3c3714926649bd69db29e4df1c0ea112)
(From OE-Core rev: 38b0e8d9b1944a955e4ed682184dafdce20db4b9)
(From OE-Core rev: 3c67ea2f357b6f97cce2fcbaef4dfd79b435ad6e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're building a SDK and we're using glibc so may be installing locales,
add a build-dependency on natiesdk-glibc-locale so the locales we need will
exist.
(From OE-Core rev: 8d6869a0a89d8cf3c6e57723fab2750ba2c885db)
(From OE-Core rev: bad37bfd766c39efe5a5db95668c855d1c45a059)
(From OE-Core rev: 15a8681bcae24da0fd2551a49e4b59b3efb24886)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As glibc 2.27 can't read older locale-archives, SDKs using glibc 2.27 on hosts
using glibc earlier than 2.27 won't be able to find any locales, so bitbake
won't start and Python can't use UTF-8.
So by default install all locales into the SDK. Special-case Extensible SDKs by
installing no locales as they ship glibc in a buildtools, and that will have the
locales.
Locale installation requires cross-localedef, so add that to DEPENDS.
Also remove the explicit en_US addition in buildtools-tarball as it is now
redundant.
(From OE-Core rev: 96896568d197cd06302713c24c0f7d91bfaea6c1)
(From OE-Core rev: 385dd115d00aabbcd970ef6b62353480d87a5a55)
(From OE-Core rev: 065ddf01b914805298fb1ddf83ae32b5018856b3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using glibc-locale to install locales only makes sense if we're using glibc.
(From OE-Core rev: 8fc80734053645fa893694dfe33ddaee99aa9a1a)
(From OE-Core rev: 1ca33a798f5edf4bb1e695a79a46088dd23b6858)
(From OE-Core rev: 75918061572c0943aa4ea24df07b4ec1ae1aa09f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup for the getVar True bit]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- No need to use bb.utils.which() as subprocess will search $PATH
- Clarity flow by moving the install inside the try/except
(From OE-Core rev: f4d22b7195dd8f08fe26dd353c7e860208e87d6a)
(From OE-Core rev: 1267df89164d7dcbbf77668ac49452bd0df87b54)
(From OE-Core rev: fdc95793dff3dbfa49faa19c51c7e8c9cd67dc6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup do to merge conflict]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since this commit:
commit f5a1013ffa9815f22e13989e2bcb83f966e7ce2c
Author: Ross Burton <ross.burton@intel.com>
Date: Tue Apr 18 16:19:12 2017 +0100
package_manager: don't race on a file when installing complementary
packages
the file isn't closed before oe-pkgdata-util uses it and this
temporary file might look empty to oe-pkgdata-util, because it
wasn't flushed yet. Which resulted in almost empty debugfs tarballs
and no locale packages in regular rootfs.
* without this change:
124K May 30 07:41 core-image-full-cmdline-raspberrypi3-64-20170530054003-dbg.rootfs.tar.gz
* with this change:
173M May 30 07:29 core-image-full-cmdline-raspberrypi3-64-20170530052715-dbg.rootfs.tar.gz
(From OE-Core rev: 9b34200048b3d2b477a19b7ddc8d447f873adbb2)
(From OE-Core rev: 667c43354e38c2fec1829089de0b7de076498e85)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 877d38db08aa7060d16405443cf70539c559fe82)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PackageManager.install_complementary() uses WORKDIR/installed_pkgs.txt as a
temporary file but if two tasks are executing for the same recipe which uses
this file (e.g. bitbake my-image my-image:do_populate_sdk) then it's possible
for the file to be overwritten or deleted.
Instead of using a static filename, use tempfile to generate a unique name and
ensure it is cleaned up when finished.
Also move the glob generation/expansion earlier in the function as if there are
no globs to install, we don't need to generate a package list.
(From OE-Core rev: f5a1013ffa9815f22e13989e2bcb83f966e7ce2c)
(From OE-Core rev: b02b54192ce71606aac30c21f3ff2199fa70a529)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup do to merge conflicts]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If createrepo isn't found then the errors later are mysterious, so explicitly
check and error out early if it isn't there.
(From OE-Core rev: e09636bbb3ea8ec58984197fd9c691bb908efe00)
(From OE-Core rev: c87361fc886432a9db584712bf3e41ecd0541960)
(From OE-Core rev: 0adc876ed8be21190510a91220f9755c8e9df021)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Fixup do to merge conflicts]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using subprocess call and check_output, it is better to use arrays
rather than strings when possible to avoid whitespace and quoting
problems.
[ YOCTO #9342 ]
(From OE-Core rev: b12cec9a5ef14ecb02be7feec65508cf5d65c795)
(From OE-Core rev: 60ba1d424636bdd5700ec3ee0acec5c19550b884)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk is built with a specific prefix but this will be different at install
time, however glibc hard-codes the path to locale files. Expand these strings to 4K and move them to a magic segment which we can relocate when the SDK is installed.
(From OE-Core rev: 59e0679378aac27c4fea0b06721e0a184a93c100)
(From OE-Core rev: c1f220f89496de51d3aa6eacd42cd8d3ddaad104)
(From OE-Core rev: 39d0aca4e3e4e1115ee9db64e84625f5827ea50f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: e1faf9ac7e89d33aba33547ede19a10aaa034207)
Fixup patch
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
portmap was dropped in rocko and later and doesn't work with libtirpc
so don't build it for musl
(From OE-Core rev: ceeda7a60c613a93f7bd3c8234010d34e3e98b3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If glibc is newer on the host than in uninative, the failure mode is
pretty nasty for clusters where the sstate is shared, including the Yocto
Project autobuilder.
This check aborts the use of uninative in such scenarios where a newer
glibc version appears and avoids corruption of sstate caches.
We use ldd to check the glibc version since that is included in libc-bin
(or equivalent) which locales use so it should always be present.
(From OE-Core rev: 676d4d91064d4e4f7abb2bd3597a0ddd5b7e2390)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now distros are starting to ship glibc 2.27 we need a uninatve version
which contains glibc 2.27 which is in the 1.8 version.
(From OE-Core rev: 922dae3a2adde21717ebcd1b5fe8e75f69b391df)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should also fix build on new build hosts where
with glibc 2.27 rpc support is dropped in favor
of libtirpc
(From OE-Core rev: 62552a76b65b7ab5fa71b188537ae0582c3cbaea)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libtirpc prior to 1.0.2 assumed that the system provided nis.h but this isn't
always true. Until now we've been using a tarball of the missing files from
Gentoo, but libtirpc 1.0.2 added a copy of nis.h to the sources so this isn't
required anymore.
(From OE-Core rev: cc20757169f833c322fbdee592788e37ed2d549f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This vulnerability is also called "rpcbomb".
Backport upstream patch to fix this vulnerability.
CVE: CVE-2017-8779
(From OE-Core rev: 19faff705a0458570bc640adbbdc07348a831b0c)
Signed-off-by: Fan Xin<fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use memset() API instead of __bzero()
Drop the patch removing des_* functions for musl
(From OE-Core rev: f77f93f9458e2279ec2322578b1366fa1a632485)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| ../../valgrind-3.12.0/VEX/priv/host_ppc_isel.c: In function 'iselInt64Expr':
| ../../valgrind-3.12.0/VEX/priv/host_ppc_isel.c:3270:1: internal compiler error: Segmentation fault
| }
| ^
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.
| rm -f libvexmultiarch-amd64-linux.a
| Makefile:1813: recipe for target 'priv/libvex_amd64_linux_a-host_ppc_isel.o' failed
Remove the patch to gcc causing this until the issue can be figured out.
(From OE-Core rev: 67e99321233e6a2897a0de33f0b98cd89bc9d3dc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit added the FL_LPAE flag to FL_FOR_ARCH7VE, but
neglected to also add it to the armv7ve compatible cores defined in
arm-cores.def.
af2d9b9e58
The result is that gcc 6.4 now refuses to allow -march=armv7ve and
-mcpu=XXX to be used together, even when -mcpu is set to an armv7ve
compatible core:
arm-linux-gnueabi-gcc -march=armv7ve -mcpu=cortex-a7 -Werror ...
error: switch -mcpu=cortex-a7 conflicts with -march=armv7ve switch [-Werror]
Fix by defining flags for armv7ve compatible cores directly from
FL_FOR_ARCH7VE, rather than re-creating the armv7ve flags
independently by combining FL_FOR_ARCH7A with the armv7ve specific
FL_THUMB_DIV and FL_ARM_DIV flags.
(From OE-Core rev: 9923939703d918461d789712e14420a38ebf978b)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to link libssp_nonshared.a only for musl was to move
spec file changes to config/linux.h under a conditional when
DEFAULT_LIBC == LIBC_MUSL which worked fine for all but ppc
since gcc for ppc provided its own linux.h overrides which are
used. This patch duplicates the change in those headers too
Cherry-picked from oe-core master 9d39168a6acfa1f289a4448271c0bf9caaea10ec
(From OE-Core rev: 7d391a9e566a6ddc2970fc666a45570310bdc780)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc already provides the content for libssp_nonshared
in libc_nonshared.a therefore we dont need to make it
universal.
This also fixed build issues on glibc when linking statically
and using -fstack-protector
Fixed errors like
/mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libc.a(stack_chk_fail.o): In function `__stack_chk_fail': /usr/src/debug/glibc/2.26-r0/git/debug/stack_chk_fail.c:27: multiple definition of `__stack_chk_fail_local' /mnt/a/oe/build/tmp/work/i586-bec-linux/aufs-util/3.14+gitAUTOINC+bdfcc0dcfc-r0/recipe-sysroot/usr/lib/../lib/libssp_nonshared.a(libssp_nonshared_la-ssp-local.o):/usr/src/debug/gcc-runtime/7.1.0-r0/gcc-7.1.0/build.i586-bec-linux.i586-bec-linux/i586-bec-linux/libssp/../../../../../../../../work-shared/gcc-7.1.0-r0/gcc-7.1.0/libssp/ssp-local.c:47: first defined here collect2: error: ld returned 1 exit status
Cherry-picked from oe-core master d71eba26850838b2878efea3f8c392a2eb2ebbfb
(From OE-Core rev: 27eaa97595cbac38a8bec118fe3d5f8920ab814e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ucontext_t not struct ucontext in linux-unwind.h files.
Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules. This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead. This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.
Backport of patches by Joseph Myers, taken from
https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=249957
[YOCTO #12083]
(From OE-Core rev: 063f5558ef2040b6d2c34caa553ed09733fc6470)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit ec1c18d866c137b1fa523d0fcc29f65a28f59f44)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2016-4490 applied to gcc < 6.1.1, our version is 6.3
(From OE-Core rev: 869d7ddb30e5c522a3e7e200b0696340d37f5198)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8329861bf6f48f6e541a04062b8d1f373dfcd78)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[NVD] -- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-6131
The demangler in GNU Libiberty allows remote attackers to cause a denial
of service (infinite loop, stack overflow, and crash) via a cycle in the
references of remembered mangled types.
[BZ #71696] -- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71696
2016-08-04 Marcel Böhme <boehme.marcel@gmail.com>
PR c++/71696
* cplus-dem.c: Prevent infinite recursion when there is a cycle
in the referencing of remembered mangled types.
(work_stuff): New stack to keep track of the remembered mangled
types that are currently being processed.
(push_processed_type): New method to push currently processed
remembered type onto the stack.
(pop_processed_type): New method to pop currently processed
remembered type from the stack.
(work_stuff_copy_to_from): Copy values of new variables.
(delete_non_B_K_work_stuff): Free stack memory.
(demangle_args): Push/Pop currently processed remembered type.
(do_type): Do not demangle a cyclic reference and push/pop
referenced remembered type.
cherry-picked from commit of
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239143 138bc75d-0d04-0410-961f-82ee72b054a4
(From OE-Core rev: 3c288b181a4cfecc80b48994f4dd2df285e4d1d0)
(From OE-Core rev: be00ad34a3827a4205718609f349bc6e8a09733b)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96a16c4181d18b8580dad243350d589586cb2b07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC provides some of std* headers including stddef.h
and it syncs with glibc definitions via __needed* defines
to find which datatypes are expected to be defined on top
of glibc. we need same for musl.
Drop unused 0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch
(From OE-Core rev: 5c3cfa24e49cbea34c74009b91bf96e0f9a00a63)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 7da04721a620ad741ea50adf116e6b5afd47caa5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6.3.0 is a bugfix release in gcc 6 series
Cherry-picked from oe-core master 36ffcd1d7d2ab9dcc91e9c09623a6613a248bc69
(From OE-Core rev: c24f6de26efdfb13b95e51b4531d1e111fab409c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is some probability (depends on system load) to get empty
or line containing "0" as the last line while reading /proc/PID/io.
Avoid build failure by checking if line contains separator
":" before split.
Backport from pyro commit b26feaf51af55f17fad79dbd53dd3ec0a37c38ff
(From OE-Core rev: 31a098032eb82eb40eaa3952de4d29ab472e368a)
Signed-off-by: Pavel Modilaynen <pavelmn@axis.com>
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using distros which use old kernels gnutls fails to build
due to missing SYS_getrandom, therefore we need to check for this
before using it.
Fixes errorr e.g.
| ../../../gnutls-3.5.3/lib/nettle/rnd-linux.c: In function 'have_getrandom':
| ../../../gnutls-3.5.3/lib/nettle/rnd-linux.c:59:42: error: 'SYS_getrandom' undeclared (first use in this function)
| # define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags)
(From OE-Core rev: ce18ec34549cf11d84a906c2abe7a492b8687c4f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We saw builds where runtime providers were sometimes changing order and the
build result was therefore non-deterministic. For example it could show:
DEBUG: providers for lib32-initd-functions are: ['lib32-lsbinitscripts', 'lib32-initscripts']
or
DEBUG: providers for lib32-initd-functions are: ['lib32-initscripts', 'lib32-lsbinitscripts']
which could cause a test to pass or fail.
This change ensures we don't rely on the random order of dictonaries in
memory and act deterministically.
(Bitbake rev: da85da9b58ed252c7b80a437fb5babff9e6dde48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous tarball URI seems to be gone.
Also, adjust a few things to make it actually build;
handling autotools-based projects from git checkouts is always harder
than taking them from tarballs :-(
(From OE-Core rev: b4542e867d54c56e6ef088fac28ae3d5e6c0d7bc)
(From OE-Core rev: ee49a37d096a76cce349d6eff7964daada58efb1)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a segfault in arm64 multilib.
Drop CVE-2017-14064.patch
Additional CVE included are 2.4.3:
CVE-2017-17405: Command injection vulnerability in Net::FTP
Additional CVE included are 2.4.2:
CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf
CVE-2017-10784: Escape sequence injection vulnerability in the Basic authentication of WEBrick
CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 decode
CVE-2017-14064: Heap exposure in generating JSON
Ruby Gems:
DNS request hijacking vulnerability. (CVE-2017-0902)
ANSI escape sequence vulnerability. (CVE-2017-0899)
DoS vulnerability in the query command. (CVE-2017-0900)
vulnerability in the gem installer that allowed a malicious gem to overwrite arbitrary files. (CVE-2017-0901)
(From OE-Core rev: 5bf664ba85c06d17c6e8c200301e42bc5fdab75e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this is needed for the updated linux-firmware as it needs this INSANE_SKIP support
(From OE-Core rev: 618093c6b7c919f25094f56b82610bee7c97f99f)
(From OE-Core rev: 4c1de18cb5d2bf4067246bf7242abde0f0917a3a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 604939186cc08ab0429ebe00f3e32661847f0cf0)
Adjusted for pyro context
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjusted for morty contect
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg 4.4 -stable releases up to 113. These include
Spectre and Meltdown mitigation patches. Changelog follows:
f0d0a93b0e81 Linux 4.4.113
38bc402237f8 MIPS: AR7: ensure the port type's FCR value is used
11e619414b69 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
58f96ac5dba6 x86/pti: Document fix wrong index
6cb73eb80451 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
9b8bd0d35868 kprobes/x86: Blacklist indirect thunk functions for kprobes
799dc737680a retpoline: Introduce start/end markers of indirect thunk
f59e7ce17ba3 x86/mce: Make machine check speculation protected
ff535919c136 kbuild: modversions for EXPORT_SYMBOL() for asm
6b1c99e275c0 x86/cpu, x86/pti: Do not enable PTI on AMD processors
5ecd5c8388f0 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
7e7b086ef2fe dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
9c7755af771a dm btree: fix serious bug in btree_split_beneath()
b7bd013a3fe0 libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
082dfe6141f3 can: peak: fix potential bug in packet fragmentation
2d5523bf47b4 ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
d5276c013713 phy: work around 'phys' references to usb-nop-xceiv devices
cf3625004e6c tracing: Fix converting enum's from the map in trace_event_eval_update()
b6306f3fdcaa Input: twl4030-vibra - fix sibling-node lookup
a89e1ac9b0da Input: twl6040-vibra - fix child-node lookup
8e70d4862271 Input: twl6040-vibra - fix DT node memory management
47970b4ea09c Input: 88pm860x-ts - fix child-node lookup
7fd133539289 x86/apic/vector: Fix off by one in error path
aa041f13f8c6 pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
1782af2835fe module: Add retpoline tag to VERMAGIC
fba063e6dfb4 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
8bd58b61d2fa sched/deadline: Zero out positive runtime after throttling constrained tasks
ec7a002d7796 scsi: hpsa: fix volume offline state
b78f2d36e737 af_key: fix buffer overread in parse_exthdrs()
48907f2535aa af_key: fix buffer overread in verify_address_len()
478a7fa82ff7 ALSA: hda - Apply the existing quirk to iMac 14,1
a4d7639d5fb6 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
80547bb6154d ALSA: pcm: Remove yet superfluous WARN_ON()
58c82be944f5 futex: Prevent overflow by strengthen input validation
f1fcb9d2926c scsi: sg: disable SET_FORCE_LOW_DMA
451725c3e785 x86/retpoline: Remove compile time warning
eebc3f8adee0 x86/retpoline: Fill return stack buffer on vmexit
f72655b837eb x86/retpoline/irq32: Convert assembler indirect jumps
7e5bb301bd2f x86/retpoline/checksum32: Convert assembler indirect jumps
6b222e7483af x86/retpoline/xen: Convert Xen hypercall indirect jumps
d2beed45635e x86/retpoline/hyperv: Convert assembler indirect jumps
7153a6d5ff05 x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
028083cb02db x86/retpoline/entry: Convert entry assembler indirect jumps
9fe55976f0c8 x86/retpoline/crypto: Convert crypto assembler indirect jumps
9f789bc5711b x86/spectre: Add boot time option to select Spectre v2 mitigation
3c5e10905263 x86/retpoline: Add initial retpoline support
675901851fd2 kconfig.h: use __is_defined() to check if MODULE is defined
a88693d00698 EXPORT_SYMBOL() for asm
b8e7a489b518 x86/asm: Make asm/alternative.h safe from assembly
b76ac90af34d x86/kbuild: enable modversions for symbols exported from asm
cfc8c1d61e46 x86/asm: Use register variable to get stack pointer value
416f66509fce x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
642ce1bb5ea6 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
20c28c04a6bc x86/cpu/AMD: Make LFENCE a serializing instruction
e6c591e7a430 gcov: disable for COMPILE_TEST
42375c1120d5 Linux 4.4.112
125d76412866 selftests/x86: Add test_vsyscall
999d4f1961fa x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
e997d991ab2b x86/alternatives: Fix optimize_nops() checking
433d7851e5ca sysfs/cpu: Fix typos in vulnerability documentation
72cf81e43ba4 x86/cpu: Implement CPU vulnerabilites sysfs functions
73492b686012 sysfs/cpu: Add vulnerability folder
9718bf5f4ebb x86/cpu: Merge bugs.c and bugs_64.c
caae411b6ee0 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
6349cab425ce x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
07c7aa5e7e8a x86/cpufeatures: Add X86_BUG_CPU_INSECURE
65b28590de24 x86/cpufeatures: Make CPU bugs sticky
18b849b18d1c x86/cpu: Factor out application of forced CPU caps
d013f41d0cc5 x86/Documentation: Add PTI description
cf9f240627b4 e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
10a4324500ff uas: ignore UAS for Norelsys NS1068(X) chips
0ae86454c435 Bluetooth: Prevent stack info leak from the EFS element.
b4106c55b574 staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
27a194bc8d21 usbip: remove kernel addresses from usb device and urb debug msgs
3f577093c511 USB: fix usbmon BUG trigger
92e8ba1ea050 usb: misc: usb3503: make sure reset is low for at least 100us
e4c9428d035b USB: serial: cp210x: add new device ID ELV ALC 8xxx
a962c95895a7 USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
531a2595ce1a target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
694c1ed559c8 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
095b0ba360ff bpf, array: fix overflow in max_entries and undefined behavior in index_mask
9a7fad4c0e21 bpf: prevent out-of-bounds speculation
648064515d0d bpf: adjust insn_aux_data when patching insns
19614eee0644 bpf: refactor fixup_bpf_calls()
14c7c55f4527 bpf: move fixup_bpf_calls() function
0748b80e4325 bpf: don't (ab)use instructions to store state
087a92287dba bpf: add bpf_patch_insn_single helper
c18b1bda4933 kaiser: Set _PAGE_NX only if supported
0b6231faa212 drm/vmwgfx: Potential off by one in vmw_view_add()
6785f955bcb6 KVM: x86: Add memory barrier on vmcs field lookup
7d1bef0f6037 x86/microcode/intel: Extend BDW late-loading with a revision check
c77dd7b425cd rbd: set max_segments to USHRT_MAX
68829e75666e crypto: algapi - fix NULL dereference in crypto_remove_spawns()
608644ac89aa ipv6: fix possible mem leaks in ipv6_make_skb()
b188ce30cc1b net: stmmac: enable EEE in MII, GMII or RGMII only
f574e2e8c6cf sh_eth: fix SH7757 GEther initialization
29ca856bb76a sh_eth: fix TSU resource handling
44496521c6bd RDS: null pointer dereference in rds_atomic_free_op
10d06ed9a189 RDS: Heap OOB write in rds_message_alloc_sgs()
d19b5ed46cce net: core: fix module type in sock_diag_bind
b9f16497eec2 ip6_tunnel: disable dst caching if tunnel is dual-stack
0e1cadec4187 8021q: fix a memory leak for VLAN 0 device
7ec5d87df34a x86/pti/efi: broken conversion from efi to kernel page table
cc0e36105661 Revert "userfaultfd: selftest: vm: allow to build in vm/ directory"
3ae43090f13b xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
6321e1753563 sysrq: Fix warning in sysrq generated crash.
6f61bd5c4ff5 hwrng: core - sleep interruptible in read
f065b5f78d17 x86/mm/pat, /dev/mem: Remove superfluous error message
146001aeb9af cx82310_eth: use skb_cow_head() to deal with cloned skbs
be48b6ee6d07 smsc75xx: use skb_cow_head() to deal with cloned skbs
36a1c87f57f6 sr9700: use skb_cow_head() to deal with cloned skbs
efca4f469475 lan78xx: use skb_cow_head() to deal with cloned skbs
ad196359a6d1 r8152: adjust ALDPS function
a37ff616d720 r8152: use test_and_clear_bit
9d614746ea0b r8152: fix the wake event
ea6f411117e1 usb: musb: ux500: Fix NULL pointer dereference at system PM
829b82508c55 usbvision fix overflow of interfaces array
bd44e3f19d14 locking/mutex: Allow next waiter lockless wakeup
1920b8a6a6ed futex: Replace barrier() in unqueue_me() with READ_ONCE()
e143f5d26258 locks: don't check for race with close when setting OFD lock
c4eafbc2ba11 zswap: don't param_set_charp while holding spinlock
eeca23f21cfb mm/zswap: use workqueue to destroy pool
45c26b0736ef mm/page-writeback: fix dirty_ratelimit calculation
9780795fc1e5 mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_page
756000bec7c1 mm/compaction: fix invalid free_pfn and compact_cached_free_pfn
0e82bbca5896 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
d091a2bb8c2e ALSA: aloop: Fix racy hw constraints adjustment
a9cad56436f4 ALSA: aloop: Fix inconsistent format due to incomplete rule
3d3b2c61e1be ALSA: aloop: Release cable upon open error path
fa6c1876ecf7 ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
9bb4bb18ccff ALSA: pcm: Abort properly at pending signal in OSS read/write loops
1ee7bc5526d8 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
3074fe070a89 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
f511ba8a5084 iommu/arm-smmu-v3: Don't free page table ops twice
745a0d9c1a8e x86/acpi: Handle SCI interrupts above legacy space gracefully
1a699374533b x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n
8d383ff7deaa kvm: vmx: Scrub hardware GPRs at VM-exit
0753661d5b17 net/mac80211/debugfs.c: prevent build failure with CONFIG_UBSAN=y
f2c131d05d86 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
725679dc78a9 MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
9584ae52bd7e MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
a6972f8bd2b6 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
e68049f6a9e8 MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
b1e808b9de5c MIPS: Factor out NT_PRFPREG regset access helpers
1e918a43cbf0 MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
6c2c83eb1b0d IB/srpt: Disable RDMA access by the initiator
a71d6de9718e can: gs_usb: fix return value of the "set_bittiming" callback
eb91461daa77 KVM: Fix stack-out-of-bounds read in write_mmio
cbb1cc722aaa dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
c5ae3a6aa1a3 Linux 4.4.111
516fa79e77f7 Fix build error in vma.c
6dcf5491e01c Map the vsyscall page with _PAGE_USER
90191f71d749 proc: much faster /proc/vmstat
c819a67f7ee9 module: Issue warnings when tainting kernel
7e35bc655ec1 module: keep percpu symbols in module's symtab
104fd57d391a genksyms: Handle string literals with spaces in reference files
a4c1c75373bf x86/tlb: Drop the _GPL from the cpu_tlbstate export
d5bbffc0501d parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
3db597feef08 x86/microcode/AMD: Add support for fam17h microcode loading
0a99730ae0cc Input: elantech - add new icbody type 15
30ce9c8dbc42 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
5f1aa83c58aa kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
7a7f54f8e390 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
be95f1308f79 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
58330ec2fecd kernel: make groups_sort calling a responsibility group_info allocators
d1698dc8a590 fscache: Fix the default for fscache_maybe_release_page()
7cbb4a2305f8 sunxi-rsb: Include OF based modalias in device uevent
3ad85176e78d crypto: pcrypt - fix freeing pcrypt instances
869994e0bd29 crypto: chacha20poly1305 - validate the digest size
0b72e17dde6e crypto: n2 - cure use after free
83875f582596 kernel/acct.c: fix the acct->needcheck check in check_free_space()
b17b901f0fea x86/kasan: Write protect kasan zero shadow
b3e3db15b450 Linux 4.4.110
b33c3c64c478 kaiser: Set _PAGE_NX only if supported
2b24fe5c57af x86/kasan: Clear kasan_zero_page after TLB flush
755bd549d932 x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap
64e239804e21 x86, vdso, pvclock: Simplify and speed up the vdso pvclock reader
bfd51a4d715b KPTI: Report when enabled
3e1457d6bf26 KPTI: Rename to PAGE_TABLE_ISOLATION
7f79599df9c4 x86/kaiser: Move feature detection up
e4ba212ec641 kaiser: disabled on Xen PV
750fb627d764 x86/kaiser: Reenable PARAVIRT
3e809caffdd7 x86/paravirt: Dont patch flush_tlb_single
8eaca4c7d9f1 kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
0651b3ad99dd kaiser: asm/tlbflush.h handle noPGE at lower level
28c6de544174 kaiser: drop is_atomic arg to kaiser_pagetable_walk()
2dff99eb0335 kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
e405a064bd7d x86/kaiser: Check boottime cmdline params
dea9aa9ffae1 x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
e345dcc94815 kaiser: add "nokaiser" boot option, using ALTERNATIVE
500943e57db8 kaiser: fix unlikely error in alloc_ldt_struct()
d41f46f77895 kaiser: _pgd_alloc() without __GFP_REPEAT to avoid stalls
fc8334e6b3e5 kaiser: paranoid_entry pass cr3 need to paranoid_exit
20268a10ffec kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
3b4ce0e1a172 kaiser: PCID 0 for kernel and 128 for user
0731188fc74c kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
eb82151d0b1d kaiser: enhanced by kernel and user PCIDs
3e3d38fd9832 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
b9d2ccc54e17 kaiser: delete KAISER_REAL_SWITCH option
aeda21d77e22 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
c52e55a2a82d kaiser: cleanups while trying for gold link
f127705d26b3 kaiser: kaiser_remove_mapping() move along the pgd
0c68228f7b39 kaiser: tidied up kaiser_add/remove_mapping slightly
5fbd46c4be78 kaiser: tidied up asm/kaiser.h somewhat
407c3ff6a24c kaiser: ENOMEM if kaiser_pagetable_walk() NULL
20cbe9a3aa2e kaiser: fix perf crashes
487f0b73d826 kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
d94df20135cc kaiser: KAISER depends on SMP
9b94cf97f42c kaiser: fix build and FIXME in alloc_ldt_struct()
003e47671690 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
edde73205b3f kaiser: do not set _PAGE_NX on pgd_none
bed9bb7f3e6d kaiser: merged update
8a43ddfb93a0 KAISER: Kernel Address Isolation
0fa147b40747 x86/boot: Add early cmdline parsing for options with arguments
e68d6189c787 Linux 4.4.109
5d67dbef745b mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
2e3883922530 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
977614061c3d x86/smpboot: Remove stale TLB flush invocations
458ed3179948 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
46e9398c96af usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
0ceb7a66392d USB: Fix off by one in type-specific length check of BOS SSP capability
c359123bfdd2 usb: add RESET_RESUME for ELSA MicroLink 56K
955ae55f2d16 usb: Add device quirk for Logitech HD Pro Webcam C925e
e8cd11a935dd USB: serial: option: adding support for YUGA CLM920-NC5
140cfcc8b093 USB: serial: option: add support for Telit ME910 PID 0x1101
232972f73936 USB: serial: qcserial: add Sierra Wireless EM7565
24162c1781c1 USB: serial: ftdi_sio: add id for Airbus DS P8GR
76f611cbdbb4 usbip: vhci: stop printing kernel pointer addresses in messages
feeae6411a1a usbip: stub: stop printing kernel pointer addresses in messages
e0362688b4fa usbip: fix usbip bind writing random string after command in match_busid
3f54a6d41d44 sock: free skb in skb_complete_tx_timestamp on error
623bfb5818ab net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
5854ca90c6c6 net: Fix double free and memory corruption in get_net_ns_by_id()
dd1e454c4d74 net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
169a9861c638 ipv4: Fix use-after-free when flushing FIB tables
4033c396f80c sctp: Replace use of sockets_allocated with specified macro.
ca57949d169e net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
be27b620a861 net: ipv4: fix for a race condition in raw_sendmsg
6dfc02ba5149 tg3: Fix rx hang on MTU change with 5717/5719
6925223ab320 tcp md5sig: Use skb's saddr when replying to an incoming segment
e0bdd21a86c5 net: reevalulate autoflowlabel setting after sysctl setting
06525d5b8ea8 net: qmi_wwan: add Sierra EM7565 1199:9091
f778ce6faa0d netlink: Add netns check on taps
373b423038a8 net: igmp: Use correct source address on IGMPv3 reports
0a8cb76e11d9 ipv6: mcast: better catch silly mtu values
3d406a18bd94 ipv4: igmp: guard against silly MTU values
1cd09d4b38a2 kbuild: add '-fno-stack-check' to kernel build options
6c4db09c291a x86/mm/64: Fix reboot interaction with CR4.PCIDE
fd0504525efd x86/mm: Enable CR4.PCIDE on supported systems
dcccd3c266e2 x86/mm: Add the 'nopcid' boot option to turn off PCID
78043e5b6fb2 x86/mm: Disable PCID on 32-bit kernels
b2e24274d50e x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
3efba6062a41 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
9f4d1ba1d407 x86/mm: Make flush_tlb_mm_range() more predictable
227d6f0e79f8 x86/mm: Remove flush_tlb() and flush_tlb_current_task()
6ce9d1e6819e x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
c04ed3a84961 ALSA: hda - fix headset mic detection issue on a Dell machine
0ba2ebc9f355 ALSA: hda: Drop useless WARN_ON()
5251932b974d ASoC: twl4030: fix child-node lookup
3096ced5a939 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
becb0c6409ad iw_cxgb4: Only validate the MSN for successful completions
9dc9648942b1 ring-buffer: Mask out the info bits when returning buffer page length
25fade614be3 tracing: Fix crash when it fails to alloc ring buffer
c2a62f84d49f tracing: Fix possible double free on failure of allocating trace buffer
075242101627 tracing: Remove extra zeroing out of the ring buffer page
87060303469c net: mvneta: clear interface link status on port disable
b7aac649af10 powerpc/perf: Dereference BHRB entries safely
5a62acc900e9 kvm: x86: fix RSM when PCID is non-zero
c9b5338394f2 KVM: X86: Fix load RFLAGS w/o the fixed bit
0bf0c45449c3 spi: xilinx: Detect stall with Unknown commands
46865ecdd061 parisc: Hide Diva-built-in serial aux and graphics card
727b641b35dd PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
6b08ff879603 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
af1195354355 ALSA: rawmidi: Avoid racy info ioctl via ctl device
e7f1c0da02fb mfd: twl6040: Fix child-node lookup
ee54e7a18e56 mfd: twl4030-audio: Fix sibling-node lookup
381d368c9954 mfd: cros ec: spi: Don't send first message too soon
2e234e707f7f crypto: mcryptd - protect the per-CPU queue with a lock
db09203e3252 ACPI: APEI / ERST: Fix missing error handling in erst_reader()
03028e068a1f Linux 4.4.108
1cfeaadfd1b4 alpha: fix build failures
d126c47656da ALSA: hda - Fix yet another i915 pointer leftover in error path
3b67b56ea770 ALSA: hda - Degrade i915 binding failure message
ef24d642e92a ALSA: hda - Clear the leftover component assignment at snd_hdac_i915_exit()
7f3e85d820fd Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
9c631278a9c6 MIPS: math-emu: Fix final emulation phase for certain instructions
69dd89a1f919 thermal: hisilicon: Handle return value of clk_prepare_enable
c0303e4ffd3a cpuidle: fix broadcast control when broadcast can not be entered
8e6e8ec18d95 rtc: set the alarm to the next expiring timer
1e52ede8e1ed tcp: fix under-evaluated ssthresh in TCP Vegas
ab8e096eed2f fm10k: ensure we process SM mbx when processing VF mbx
0705d3b83699 scsi: lpfc: PLOGI failures during NPIV testing
e4dff872fe97 scsi: lpfc: Fix secure firmware updates
eb7b86ec94a4 PCI/AER: Report non-fatal errors only to the affected endpoint
aa6d09cea6df ixgbe: fix use of uninitialized padding
cffbf0ffc47c igb: check memory allocation failure
1e91b0d64e92 PCI: Create SR-IOV virtfn/physfn links before attaching driver
a916c4152a4b scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
e9151f9d4b6f scsi: cxgb4i: fix Tx skb leak
8f376337c637 PCI: Avoid bus reset if bridge itself is broken
3190a0623c58 net: phy: at803x: Change error to EINVAL for invalid MAC
a0ca85d4895a rtc: pl031: make interrupt optional
d7ae9928a25d crypto: crypto4xx - increase context and scatter ring buffer elements
78ffab9744ad backlight: pwm_bl: Fix overflow condition
0ec5f7a3c9b6 bnxt_en: Fix NULL pointer dereference in reopen failure path
7432a60515da cpuidle: powernv: Pass correct drv->cpumask for registration
1779b33294da ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
bec60b446b52 netfilter: nfnetlink_queue: fix secctx memory leak
ff1ddbb38b19 xhci: plat: Register shutdown for xhci_plat
ea9e1ca40939 isdn: kcapi: avoid uninitialized data
f15394085d11 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
27c2fa1ae0ea ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
17b1ff10a1fc netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
7c9316d2f263 netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
3af547339068 irda: vlsi_ir: fix check for DMA mapping errors
52cd7920b7ac RDMA/iser: Fix possible mr leak on device removal event
85e54ef781b6 i40e: Do not enable NAPI on q_vectors that have no rings
6a04a7798a3e net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
359f7020464f bna: avoid writing uninitialized data into hw registers
8acee491cfbd s390/qeth: no ETH header for outbound AF_IUCV
8ce4313f1279 r8152: prevent the driver from transmitting packets with carrier off
19b1ad3a2e68 HID: xinmo: fix for out of range for THT 2P arcade controller.
ebfb08395800 hwmon: (asus_atk0110) fix uninitialized data access
2e114c7b4562 ARM: dts: ti: fix PCI bus dtc warnings
f1fdf68b4f94 KVM: VMX: Fix enable VPID conditions
caa4cfd173b7 KVM: x86: correct async page present tracepoint
2849ef5dcefd scsi: lpfc: Fix PT2PT PRLI reject
bc9aec2faddf pinctrl: st: add irq_request/release_resources callbacks
1d75c214cebc inet: frag: release spinlock before calling icmp_send()
aba55cb03579 netfilter: nfnl_cthelper: Fix memory leak
b9fd3306a5af netfilter: nfnl_cthelper: fix runtime expectation policy updates
e598cdd240a0 usb: gadget: udc: remove pointer dereference after free
0c8496bfdb0e usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
d6c0e23a7fef net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
b9a4a18a01fc bna: integer overflow bug in debugfs
ffde339b95f5 sch_dsmark: fix invalid skb_cow() usage
4bf8a4f179ed crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
a88b064826f0 r8152: fix the list rx_done may be used without initialization
125325fe1c19 cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
a23a447e47cc arm: kprobes: Align stack to 8-bytes in test code
3f7855a52222 arm: kprobes: Fix the return address of multiple kretprobes
779214d0eaca ALSA: hda - add support for docking station for HP 840 G3
9a66598014db ALSA: hda - add support for docking station for HP 820 G2
3b9d9ec0d826 x86/irq: Do not substract irq_tlb_count from irq_call_count
18a5348d49af sched/core: Idle_task_exit() shouldn't use switch_mm_irqs_off()
c22d4b4d1c7f ARM: Hide finish_arch_post_lock_switch() from modules
4ead44fd2525 x86/mm, sched/core: Turn off IRQs in switch_mm()
70a39c7fd167 x86/mm, sched/core: Uninline switch_mm()
83cc4b50e3a9 x86/mm: Build arch/x86/mm/tlb.c even on !SMP
425f13a36652 sched/core: Add switch_mm_irqs_off() and use it in the scheduler
dfe513a4e8dd mm/mmu_context, sched/core: Fix mmu_context.h assumption
8d5ee51a6bce mm/rmap: batched invalidations should use existing api
85d3700c744a x86/mm: If INVPCID is available, use it to flush global mappings
791a0f3fecda x86/mm: Add a 'noinvpcid' boot option to turn off INVPCID
04ec428b15f1 x86/mm: Fix INVPCID asm constraint
becf292446e9 x86/mm: Add INVPCID helpers
5fc8d62d1921 cxl: Check if vphb exists before iterating over AFU devices
9e1485b1b570 arm64: Initialise high_memory global variable earlier
96c00ece76be Linux 4.4.107
a815c0a370cf ath9k: fix tx99 potential info leak
26c66554d7bf IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
112814db6ec4 RDMA/cma: Avoid triggering undefined behavior
4bbb49138f4a macvlan: Only deliver one copy of the frame to the macvlan interface
b8d510ff7165 udf: Avoid overflow when session starts at large offset
a114af87c0ba scsi: bfa: integer overflow in debugfs
798f08501424 scsi: sd: change allow_restart to bool in sysfs interface
c387c02d604d scsi: sd: change manage_start_stop to bool in sysfs interface
2e03af22f65c vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
930fb06d1617 scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
24bc48af0aee raid5: Set R5_Expanded on parity devices as well as data.
09379498aff0 pinctrl: adi2: Fix Kconfig build problem
5f2dbdff20e0 usb: musb: da8xx: fix babble condition handling
68d3bc40f5ca tty fix oops when rmmod 8250
afa8f0a7af70 powerpc/perf/hv-24x7: Fix incorrect comparison in memord
28a5b0e438f1 scsi: hpsa: destroy sas transport properties before scsi_host
942eb7dd5e42 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
ec662d656073 PCI: Detach driver before procfs & sysfs teardown on device remove
02922f3bb37f xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
f267a1390b41 xfs: fix log block underflow during recovery cycle verification
92eff81ad96a l2tp: cleanup l2tp_tunnel_delete calls
230c4ba404d3 bcache: fix wrong cache_misses statistics
271252373027 bcache: explicitly destroy mutex while exiting
ab9b3db40828 GFS2: Take inode off order_write list when setting jdata flag
2a5bb1284e72 thermal/drivers/step_wise: Fix temperature regulation misbehavior
561b9d998e65 ppp: Destroy the mutex when cleanup
083dd685aebd clk: tegra: Fix cclk_lp divisor register
f56be2ce49c1 clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
22a1e337ed68 clk: mediatek: add the option for determining PLL source clock
b59614cfd2d3 mm: Handle 0 flags in _calc_vm_trans() macro
44de70ecec2d crypto: tcrypt - fix buffer lengths in test_aead_speed()
b397507641fb arm-ccn: perf: Prevent module unload while PMU is in use
75ee360a5114 target/file: Do not return error for UNMAP if length is zero
646191449e76 target:fix condition return in core_pr_dump_initiator_port()
e14086b2c9bc iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
7d93603ddb65 target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
09f29c7a953d powerpc/ipic: Fix status get and status clear
c6c3637ee8ab powerpc/opal: Fix EBUSY bug in acquiring tokens
59720463cf28 netfilter: ipvs: Fix inappropriate output of procfs
f46b4bab4e93 powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
ef476a74f8ed PCI/PME: Handle invalid data when reading Root Status
e6d8207a84b0 dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
600b973fc56f rtc: pcf8563: fix output clock rate
ac0468efee60 video: fbdev: au1200fb: Return an error code if a memory allocation fails
033d20b727f3 video: fbdev: au1200fb: Release some resources if a memory allocation fails
314ce0575795 video: udlfb: Fix read EDID timeout
2f5427451738 fbdev: controlfb: Add missing modes to fix out of bounds access
57fa76a46673 sfc: don't warn on successful change of MAC
c9b79738c0ab target: fix race during implicit transition work flushes
dfd6deed8313 target: fix ALUA transition timeout handling
7f5084b98f89 target: Use system workqueue for ALUA transitions
f9b4a2e04c22 btrfs: add missing memset while reading compressed inline extents
248aa3accad9 NFSv4.1 respect server's max size in CREATE_SESSION
a49aa7aadbd3 efi/esrt: Cleanup bad memory map log messages
dc81417eedf5 perf symbols: Fix symbols__fixup_end heuristic for corner cases
acc7d1bd901c net/mlx4_core: Avoid delays during VF driver device shutdown
5e469e44c8fd afs: Fix afs_kill_pages()
80f74cef482f afs: Fix page leak in afs_write_begin()
c58d7796ab93 afs: Populate and use client modification time
fa034538cb04 afs: Fix the maths in afs_fs_store_data()
1efae6ca3418 afs: Prevent callback expiry timer overflow
43e68e3725df afs: Migrate vlocation fields to 64-bit
9d8d20570f39 afs: Flush outstanding writes when an fd is closed
549d7b98f55e afs: Adjust mode bits processing
bb7a7cd6194f afs: Populate group ID from vnode status
1c277e9ebba6 afs: Fix missing put_page()
fec8348008b5 drm/radeon: reinstate oland workaround for sclk
6a51e93b2fe3 mmc: mediatek: Fixed bug where clock frequency could be set wrong
51b3eac39a6c sched/deadline: Use deadline instead of period when calculating overflow
ca91884bcf7d sched/deadline: Throttle a constrained deadline task activated after the deadline
cd0e18d2f24b sched/deadline: Make sure the replenishment timer fires in the next period
4c6567f5af9a drm/radeon/si: add dpm quirk for Oland
c383ebf1acd6 fjes: Fix wrong netdevice feature flags
a33a9d0c705f scsi: hpsa: limit outstanding rescans
0a609298214b scsi: hpsa: update check for logical volume status
b0def6f1e26b openrisc: fix issue handling 8 byte get_user calls
1236cc3664dc intel_th: pci: Add Gemini Lake support
d270d24ee596 mlxsw: reg: Fix SPVMLR max record count
e934e13550a0 mlxsw: reg: Fix SPVM max record count
677a7aac2ec6 net: Resend IGMP memberships upon peer notification.
26af6a8b51f1 dmaengine: Fix array index out of bounds warning in __get_unmap_pool()
9cd4b8684621 net: wimax/i2400m: fix NULL-deref at probe
b424289863d0 writeback: fix memory leak in wb_queue_work()
fbdf477fcff6 netfilter: bridge: honor frag_max_size when refragmenting
7edb2d2d8680 drm/omap: fix dmabuf mmap for dma_alloc'ed buffers
dbfba339c729 Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list
df5678476040 NFSD: fix nfsd_reset_versions for NFSv4.
5b0334584ad6 NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)
067cb6b2f716 net: bcmgenet: Power up the internal PHY before probing the MII
a33e082dcaf4 net: bcmgenet: power down internal phy if open or resume fails
8aaed873f3b9 net: bcmgenet: reserved phy revisions must be checked first
c25da696fca1 net: bcmgenet: correct MIB access of UniMAC RUNT counters
296b584763f7 net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values
accbd99507b1 net: initialize msg.msg_flags in recvfrom
b5213e1e9f25 userfaultfd: selftest: vm: allow to build in vm/ directory
ee9be9963039 userfaultfd: shmem: __do_fault requires VM_FAULT_NOPAGE
0d0456ec2b08 md-cluster: free md_cluster_info if node leave cluster
a1d72bc18e77 usb: phy: isp1301: Add OF device ID table
75252bfe9e49 mac80211: Fix addition of mesh configuration element
13e86efb2eee KEYS: add missing permission check for request_key() destination
ef7ce82bc280 ext4: fix crash when a directory's i_size is too small
2c367edaba65 ext4: fix fdatasync(2) after fallocate(2) operation
52425e042843 dmaengine: dmatest: move callback wait queue to thread context
af36d95af55f sched/rt: Do not pull from current CPU if only one CPU to pull
f98ee9c0007b xhci: Don't add a virt_dev to the devs array before it's fully allocated
ffc7565746bb Bluetooth: btusb: driver to enable the usb-wakeup feature
8c7c3d5b785f ceph: drop negative child dentries before try pruning inode's alias
2862cfca3989 usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
dfdf5fa3e664 USB: core: prevent malicious bNumInterfaces overflow
05de6fa5c0e2 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
a34419b3f6a2 tracing: Allocate mask_str buffer dynamically
c60db4f68593 autofs: fix careless error in recent commit
8a311b0462b5 crypto: salsa20 - fix blkcipher_walk API usage
43cd7f38612d crypto: hmac - require that the underlying hash algorithm is unkeyed
4231b6a98fce Linux 4.4.106
5c6db4afbd9f usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
a5fa9efe4e01 arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
9f5a8d610dd3 Revert "x86/mm/pat: Ensure cpa->pfn only contains page frame numbers"
34933c2ce99c Revert "x86/efi: Hoist page table switching code into efi_call_virt()"
1dfe268df584 Revert "x86/efi: Build our own page table structures"
b90f87c641bc net/packet: fix a race in packet_bind() and packet_notifier()
f50e9c872cb5 packet: fix crash in fanout_demux_rollover()
d6189fa45c6d sit: update frag_off info
6c154d536d94 rds: Fix NULL pointer dereference in __rds_rdma_map
827fd89bc552 tipc: fix memory leak in tipc_accept_from_sock()
047a7bb12d63 more bio_map_user_iov() leak fixes
3a620404e24a s390: always save and restore all registers on context switch
99962affcb8f ipmi: Stop timers before cleaning up the module
b34957127058 audit: ensure that 'audit=1' actually enables audit for PID 1
1b9baf30673c ipvlan: fix ipv6 outbound device
cdfe2d0a4834 afs: Connect up the CB.ProbeUuid
452ae0913614 IB/mlx5: Assign send CQ and recv CQ of UMR QP
3d1d4642fc55 IB/mlx4: Increase maximal message size under UD QP
8bfafc972a34 xfrm: Copy policy family in clone_policy
5c15c5c8ebc5 jump_label: Invoke jump_label_test() via early_initcall()
1b85cd5d9262 atm: horizon: Fix irq release error
dde5bbd52a28 sctp: use the right sk after waking up from wait_buf sleep
1ad621272bd7 sctp: do not free asoc when it is already dead in sctp_sendmsg
59e52050b17c sparc64/mm: set fields in deferred pages
7b99b00cf3f0 block: wake up all tasks blocked in get_request()
5a54dcc51a4a sunrpc: Fix rpc_task_begin trace point
c02608144e79 NFS: Fix a typo in nfs_rename()
640192431a29 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
24c98ec494c2 lib/genalloc.c: make the avail variable an atomic_long_t
90ec232a3911 route: update fnhe_expires for redirect when the fnhe exists
41dee81f22c9 route: also update fnhe_genid when updating a route cache
32f8870cc9a9 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
0aab426757d3 kbuild: pkg: use --transform option to prefix paths in tar
8f72d29e7024 EDAC, i5000, i5400: Fix definition of NRECMEMB register
222de157ccd0 EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro
f1ff979f97bd powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested
d42ebf56380f drm/amd/amdgpu: fix console deadlock if late init failed
40b2b6453f89 axonram: Fix gendisk handling
f2396d60746f netfilter: don't track fragmented packets
ca6d40bb082a zram: set physical queue limits to avoid array out of bounds accesses
39c626c1f9e3 i2c: riic: fix restart condition
a836e1952f28 crypto: s5p-sss - Fix completing crypto request in IRQ handler
7c5deeccc664 ipv6: reorder icmpv6_init() and ip6_mr_init()
84bc40c4b31b bnx2x: do not rollback VF MAC/VLAN filters we did not configure
871e4b11eba2 bnx2x: fix possible overrun of VFPF multicast addresses array
1aead0538b89 bnx2x: prevent crash when accessing PTP with interface down
6bbc908cfc1c spi_ks8995: fix "BUG: key accdaa28 not in .data!"
687121453005 arm64: KVM: Survive unknown traps from guests
5dc5c8e65515 arm: KVM: Survive unknown traps from guests
ccf72fe2e5cc KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset
0a12875fa51f irqchip/crossbar: Fix incorrect type of register size
8a15c626996c scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters
d9d47a6d6862 workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq
14a7aa2ae61e libata: drop WARN from protocol error in ata_sff_qc_issue()
f9b291aed2a9 kvm: nVMX: VMCLEAR should not cause the vCPU to shut down
ef21f3a12bb1 USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
4036947a43a0 usb: gadget: configs: plug memory leak
24e9fc7ef051 HID: chicony: Add support for another ASUS Zen AiO keyboard
3aec56b81960 gpio: altera: Use handle_level_irq when configured as a level_high
c52017de0ba6 ARM: OMAP2+: Release device node after it is no longer needed.
14c396184529 ARM: OMAP2+: Fix device node reference counts
d180639d86e1 module: set __jump_table alignment to 8
23f9e8448219 selftest/powerpc: Fix false failures for skipped tests
3bf3fc6cbc8b x86/hpet: Prevent might sleep splat on resume
0500c6d35274 ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
572b639bde31 vti6: Don't report path MTU below IPV6_MIN_MTU.
3771241e5bc3 Revert "s390/kbuild: enable modversions for symbols exported from asm"
e891a29531d4 Revert "spi: SPI_FSL_DSPI should depend on HAS_DMA"
f854e2099915 Revert "drm/armada: Fix compile fail"
5327f9badacd mm: drop unused pmdp_huge_get_and_clear_notify()
47c53ccca4a0 thp: fix MADV_DONTNEED vs. numa balancing race
d4443b53732e thp: reduce indentation level in change_huge_pmd()
696fbe191acd scsi: storvsc: Workaround for virtual DVD SCSI version
dd8c78e2501e ARM: avoid faulting on qemu
af1d17239682 ARM: BUG if jumping to usermode address in kernel mode
750f60edebac arm64: fpsimd: Prevent registers leaking from dead tasks
477b837533a2 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
11030654676b arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
a0b99544dde8 media: dvb: i2c transfers over usb cannot be done from stack
81bf294f5f7b drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
74b6030355a4 drm: extra printk() wrapper macros
d6ff4cce9aa3 kdb: Fix handling of kallsyms_symbol_next() return value
bb47cf7f8e47 s390: fix compat system call table
dc41b6e35f93 iommu/vt-d: Fix scatterlist offset handling
90a20a81dc1c ALSA: usb-audio: Add check return value for usb_string()
9f5c6b108850 ALSA: usb-audio: Fix out-of-bound error
e1d3b7d04d9d ALSA: seq: Remove spurious WARN_ON() at timer check
659e7d2588f0 ALSA: pcm: prevent UAF in snd_pcm_info
5986c9685f1e x86/PCI: Make broadcom_postcore_init() check acpi_disabled
2c2e4b7d279a X.509: reject invalid BIT STRING for subjectPublicKey
1471d1258921 ASN.1: check for error from ASN1_OP_END__ACT actions
621dac1d6991 ASN.1: fix out-of-bounds read when parsing indefinite length item
481efb4c7256 efi: Move some sysfs files to be read-only by root
7e0091c2951f scsi: libsas: align sata_device's rps_resp on a cacheline
98448333588c isa: Prevent NULL dereference in isa_bus driver callbacks
90e2ea6dc851 hv: kvp: Avoid reading past allocated blocks from KVP file
94739ddf35cb virtio: release virtio index when fail to device_register
d73fcef16da0 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
191b419bd0b1 can: esd_usb2: cancel urb on -EPIPE and -EPROTO
af11f3afc2c2 can: ems_usb: cancel urb on -EPIPE and -EPROTO
bd424bd17572 can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
3e3dabd83630 can: kvaser_usb: ratelimit errors if incomplete messages are received
816bc7dffea2 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
b6fa54c18e8d can: kvaser_usb: free buf in error paths
a68e3c90dfb1 can: ti_hecc: Fix napi poll return value for repoll
69b0bf95a51e Linux 4.4.105
da57b1f7e74f xen-netfront: avoid crashing on resume after a failure in talk_to_netback()
e1cadf7c4af2 usb: host: fix incorrect updating of offset
43135100f117 USB: usbfs: Filter flags passed in from user space
c0493eb552e0 USB: devio: Prevent integer overflow in proc_do_submiturb()
2ee8d2acf3ef USB: Increase usbfs transfer limit
9d812f7bef8c USB: core: Add type-specific length check of BOS descriptors
f044af8c1dc3 usb: ch9: Add size macro for SSP dev cap descriptor
ddaa1ae2eb7f usb: Add USB 3.1 Precision time measurement capability descriptor support
a1f03a9bcfa4 usb: xhci: fix panic in xhci_free_virt_devices_depth_first
6a85ba4157a0 usb: hub: Cycle HUB power when initialization fails
40012163e52a Revert "ocfs2: should wait dio before inode lock in ocfs2_setattr()"
33621da4d4ef net: fec: fix multicast filtering hardware setup
5d036ccddc5d xen-netfront: Improve error handling during initialization
cc4add389789 mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers
1b7dbabf0242 tcp: correct memory barrier usage in tcp_check_space()
bc42f67b73cb dmaengine: pl330: fix double lock
ca0836061019 tipc: fix cleanup at module unload
e5afc84f644c net: sctp: fix array overrun read on sctp_timer_tbl
7e9236c00152 drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement
e26d58f897ca NFSv4: Fix client recovery when server reboots multiple times
48222dd037f5 KVM: arm/arm64: Fix occasional warning from the timer work function
f2fb416f4af6 nfs: Don't take a reference on fl->fl_file for LOCK operation
7228df818d90 ravb: Remove Rx overflow log messages
1bb50d02a8d3 net/appletalk: Fix kernel memory disclosure
c73b58cfa83e vti6: fix device register to report IFLA_INFO_KIND
e6533243f74f ARM: OMAP1: DMA: Correct the number of logical channels
e6f105531992 net: systemport: Pad packet before inserting TSB
3a44ade54473 net: systemport: Utilize skb_put_padto()
8633eec0ee08 kprobes/x86: Disable preemption in ftrace-based jprobes
7317cb116754 perf test attr: Fix ignored test case result
1c4d7600390b sysrq : fix Show Regs call trace on ARM
c86fa9ed3a0f EDAC, sb_edac: Fix missing break in switch
c2e1be144805 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
ecd996c24a79 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
86b9d66d1f3f usb: phy: tahvo: fix error handling in tahvo_usb_probe()
b6ca48b5cd08 spi: sh-msiof: Fix DMA transfer size check
a96c19f5ba09 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
429feb597df3 selftests/x86/ldt_get: Add a few additional tests for limits
93f45d8c67dc s390/pci: do not require AIS facility
80f93e24ecfc ima: fix hash algorithm initialization
71ce1cac5b4d USB: serial: option: add Quectel BG96 id
9e51ee1b76ef s390/runtime instrumentation: simplify task exit handling
ef3567cc5284 serial: 8250_pci: Add Amazon PCI serial device ID
a8293de0ee1f usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
636b080991ee uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
3f7477e64478 bcache: recover data from backing when data is clean
f80f34d8ba92 bcache: only permit to recovery read error when cache device is clean
bd3799391822 Linux 4.4.104
bd249dd07827 nfsd: Fix another OPEN stateid race
54298082dbac nfsd: Fix stateid races between OPEN and CLOSE
d7f5f10f5159 nfsd: Make init_open_stateid() a bit more whole
68e6cd9a0547 drm/i915: Prevent zero length "index" write
e6bcff7b6aa1 drm/i915: Don't try indexed reads to alternate slave addresses
a61474fa8749 NFS: revalidate "." etc correctly on "open".
c8ea49b690ee mtd: nand: Fix writing mtdoops to nand flash.
a155a9568d9a drm/panel: simple: Add missing panel_simple_unprepare() calls
c7716f65721a drm/radeon: fix atombios on big endian
4d027a8bcc7f Revert "drm/radeon: dont switch vt on suspend"
5a7391b6d898 bcache: Fix building error on MIPS
6b4901e0e349 eeprom: at24: check at24_read/write arguments
5c65b739389f mmc: core: Do not leave the block driver in a suspended state
a6493ad6fc89 KVM: x86: inject exceptions produced by x86_decode_insn
1e9e6bdccb80 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
ab29b6b818aa KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
591ddc92d756 btrfs: clear space cache inode generation always
0d05a5593f63 mm/madvise.c: fix madvise() infinite loop under special circumstances
2b7ef6bdd286 mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
f97fc9ab1ce2 x86/efi-bgrt: Replace early_memremap() with memremap()
e85c6907b2b4 x86/efi-bgrt: Fix kernel panic when mapping BGRT data
44ff3af83ee1 ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
36e0f05afd4e x86/efi: Build our own page table structures
b73adb608520 x86/efi: Hoist page table switching code into efi_call_virt()
87e2bd898d3a x86/mm/pat: Ensure cpa->pfn only contains page frame numbers
b377c453b363 ipsec: Fix aborted xfrm policy dump crash
27248d2fa77f netlink: add a start callback for starting a netlink dump
08c15ad2e627 Linux 4.4.103
3d7214a338d7 Revert "sctp: do not peel off an assoc from one netns to another one"
c73eb1e0cc56 xen: xenbus driver must not accept invalid transaction ids
eedd29f51078 s390/kbuild: enable modversions for symbols exported from asm
681b2239862d ASoC: wm_adsp: Don't overrun firmware file buffer when reading region data
b63209c78f9e btrfs: return the actual error value from from btrfs_uuid_tree_iterate
e88f3fb0e340 ASoC: rsnd: don't double free kctrl
47b99a3306d0 netfilter: nf_tables: fix oob access
a1e4f6a15103 netfilter: nft_queue: use raw_smp_processor_id()
85f286d6f8cd spi: SPI_FSL_DSPI should depend on HAS_DMA
8537e96e4351 staging: iio: cdc: fix improper return value
266913b390c3 iio: light: fix improper return value
7e927748d4db mac80211: Suppress NEW_PEER_CANDIDATE event if no room
9825826ed7bd mac80211: Remove invalid flag operations in mesh TSF synchronization
f0d8fb74479b drm: Apply range restriction after color adjustment when allocation
31447ebb1a86 ALSA: hda - Apply ALC269_FIXUP_NO_SHUTUP on HDA_FIXUP_ACT_PROBE
7e920566c352 ath10k: set CTS protection VDEV param only if VDEV is up
ef751ca54602 ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()
b24769300a00 ath10k: ignore configuring the incorrect board_id
64b22ee723ee ath10k: fix incorrect txpower set by P2P_DEVICE interface
c4cf731af838 drm/armada: Fix compile fail
7f69dc100400 net: 3com: typhoon: typhoon_init_one: fix incorrect return values
609797646f9b net: 3com: typhoon: typhoon_init_one: make return values more specific
d7c3d5333e39 net: Allow IP_MULTICAST_IF to set index to L3 slave
778395506a7f dmaengine: zx: set DMA_CYCLIC cap_mask bit
37a48e6d83f5 PCI: Apply _HPX settings only to relevant devices
57d2ce160310 RDS: RDMA: return appropriate error on rdma map failures
bbb1fc744894 e1000e: Separate signaling for link check/link up
5df4097cfc70 e1000e: Fix return value test
fbb2d8000a8f e1000e: Fix error path in link detection
d6968bc56e44 PM / OPP: Add missing of_node_put(np)
fd3c395d4d46 net/9p: Switch to wait_event_killable()
91bd72dd8c72 fscrypt: lock mutex before checking for bounce page pool
cb1831a83e54 sched/rt: Simplify the IPI based RT balancing logic
5a11b8458b35 media: v4l2-ctrl: Fix flags field on Control events
0870fb4c3566 cx231xx-cards: fix NULL-deref on missing association descriptor
d758f4d8bf20 media: rc: check for integer overflow
878c0f9a7c69 media: Don't do DMA on stack for firmware upload in the AS102 driver
a2943ce580f5 powerpc/signal: Properly handle return value from uprobe_deny_signal()
937a91cd3992 parisc: Fix validity check of pointer size argument in new CAS implementation
aef7cdb6a6ff ixgbe: Fix skb list corruption on Power systems
bb923a81c33e fm10k: Use smp_rmb rather than read_barrier_depends
b4ca98b7a803 i40evf: Use smp_rmb rather than read_barrier_depends
a8e699dfca04 ixgbevf: Use smp_rmb rather than read_barrier_depends
2f7de4d5f525 igbvf: Use smp_rmb rather than read_barrier_depends
391cdaaaa9d9 igb: Use smp_rmb rather than read_barrier_depends
146d53371385 i40e: Use smp_rmb rather than read_barrier_depends
76c389ca1331 NFC: fix device-allocation error return
ecc5e8914766 IB/srp: Avoid that a cable pull can trigger a kernel crash
3e32b40435b9 IB/srpt: Do not accept invalid initiator port names
54a8d930b93f libnvdimm, namespace: make 'resource' attribute only readable by root
4dae2f771fa7 libnvdimm, namespace: fix label initialization to use valid seq numbers
037646313522 clk: ti: dra7-atl-clock: fix child-node lookups
eca460c485f9 clk: ti: dra7-atl-clock: Fix of_node reference counting
36d2f19430e2 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
a694b1f85aea KVM: SVM: obey guest PAT
8293dc75de47 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
4e426ed57cd2 target: Fix QUEUE_FULL + SCSI task attribute handling
63bfc4c90a87 iscsi-target: Fix non-immediate TMR reference leak
8709c5386109 fs/9p: Compare qid.path in v9fs_test_inode
1b11593eb742 fix a page leak in vhost_scsi_iov_to_sgl() error recovery
509ab500a240 ALSA: hda/realtek - Fix ALC700 family no sound issue
ef6745531648 ALSA: timer: Remove kernel warning at compat ioctl error paths
3532750d20f5 ALSA: usb-audio: Add sanity checks in v2 clock parsers
0b6cede2e455 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
d1316b9d83de ALSA: usb-audio: Add sanity checks to FE parser
b71cf750ddd3 ALSA: pcm: update tstamp only if audio_tstamp changed
db12d9b5a181 ext4: fix interaction between i_size, fallocate, and delalloc after a crash
189bc689547a ata: fixes kernel crash while tracing ata_eh_link_autopsy event
f1be21021099 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
3c260c60d20c rtlwifi: rtl8192ee: Fix memory leak when loading firmware
a8b8ab79ca4f nfsd: deal with revoked delegations appropriately
2a2d4b41472c nfs: Fix ugly referral attributes
ab33df42eb3c NFS: Fix typo in nomigration mount option
4e23be616976 isofs: fix timestamps beyond 2027
85c79043808d bcache: check ca->alloc_thread initialized before wake up it
9c093a258350 eCryptfs: use after free in ecryptfs_release_messaging()
7d7b05e4ffd5 nilfs2: fix race condition that causes file system corruption
9a4e08c634ce autofs: don't fail mount for transient error
153142963ca1 MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
00fd53bc378f MIPS: Fix an n32 core file generation regset support regression
4e82464aa4a3 dm: fix race between dm_get_from_kobject() and __dm_destroy()
36c4819abc92 dm bufio: fix integer overflow when limiting maximum cache size
a9f066404fd0 ALSA: hda: Add Raven PCI ID
0c1faf9df0c8 MIPS: ralink: Fix typo in mt7628 pinmux function
84c785ed786a MIPS: ralink: Fix MT7628 pinmux
36a082ce590f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
5f8046f7c9e3 ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
29c4b6b4f46d x86/decoder: Add new TEST instruction pattern
4fdb1637b208 lib/mpi: call cond_resched() from mpi_powm() loop
8ff3471878f3 sched: Make resched_cpu() unconditional
3223ea129170 vsock: use new wait API for vsock_stream_sendmsg()
df24d6c22460 AF_VSOCK: Shrink the area influenced by prepare_to_wait
2417da3f4d6b ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER
5c2607d3e7cd s390/disassembler: increase show_code buffer size
4337fa2425f6 s390/disassembler: add missing end marker for e7 table
04bc7a273264 s390/runtime instrumention: fix possible memory corruption
7ddbe701076d s390: fix transactional execution control register handling
29ffb9c1fb4a Linux 4.4.102
0208fabf7256 mm, hwpoison: fixup "mm: check the return value of lookup_page_ext for all call sites"
5baf0fb260fc Linux 4.4.101
a3805b10de80 mm/pagewalk.c: report holes in hugetlb ranges
3630b2801907 mm/page_ext.c: check if page_ext is not prepared
e34e744f70a6 mm: check the return value of lookup_page_ext for all call sites
7b7a1c39e839 coda: fix 'kernel memory exposure attempt' in fsync
c1b3703b643f mm/page_alloc.c: broken deferred calculation
4ecf752738ac ipmi: fix unsigned long underflow
c4baa4a5870c ocfs2: should wait dio before inode lock in ocfs2_setattr()
8c325770546a nvme: Fix memory order on async queue deletion
4310b6bfa8e0 arm64: fix dump_instr when PAN and UAO are in use
1df403abfa9e serial: omap: Fix EFR write on RTS deassertion
a9100b6f1a8a ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
51b8aea7abde net/sctp: Always set scope_id in sctp_inet6_skb_msgname
ae93cefb9430 fealnx: Fix building error on MIPS
2a0e60907e54 sctp: do not peel off an assoc from one netns to another one
4cfc0b41af03 af_netlink: ensure that NLMSG_DONE never fails in dumps
ef206ea779a9 vlan: fix a use-after-free in vlan_device_event()
3bb6245e14ea bonding: discard lowest hash bit for 802.3ad layer3+4
001e9cbe1dae netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
0c1282c7f046 tcp: do not mangle skb->cb[] in tcp_make_synack()
26d6298789e6 Linux 4.4.100
f119ff8e5b6b USB: serial: garmin_gps: fix memory leak on probe errors
8b36209e93df USB: serial: garmin_gps: fix I/O after failed probe and remove
5cd938508c81 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
302dd596822a USB: Add delay-init quirk for Corsair K70 LUX keyboards
965003b311e0 USB: usbfs: compute urb->actual_length for isochronous
834a5d880a54 uapi: fix linux/rds.h userspace compilation errors
16e7973f8e47 uapi: fix linux/rds.h userspace compilation error
f5e303d54ac2 Revert "uapi: fix linux/rds.h userspace compilation errors"
d9c8d4adb5a7 Revert "crypto: xts - Add ECB dependency"
d2d72c0ee4c9 MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
9a8ef143951f MIPS: init: Ensure reserved memory regions are not added to bootmem
034347aca034 MIPS: init: Ensure bootmem does not corrupt reserved memory
a904ebe92a05 mm: add PHYS_PFN, use it in __phys_to_pfn()
7f5eb098ef95 MIPS: End asm function prologue macros with .insn
b15877443a93 staging: rtl8712: fixed little endian problem
ade72053f452 ixgbe: do not disable FEC from the driver
b6e7fb0be1e5 ixgbe: add mask for 64 RSS queues
12ec51aaafe3 ixgbe: Reduce I2C retry count on X550 devices
9d51db4caff9 ixgbe: handle close/suspend race with netif_device_detach/present
f12976ce82cd ixgbe: fix AER error handling
865fe71c0a06 arm64: dts: NS2: reserve memory for Nitro firmware
e2d12bdaed6b ALSA: hda/realtek - Add new codec ID ALC299
b1e8e6d4c065 gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
3e899991b99e backlight: adp5520: Fix error handling in adp5520_bl_probe()
d6f21ea25118 backlight: lcd: Fix race condition during register
fe21a3d68819 ALSA: vx: Fix possible transfer overflow
3b985d39ed4f ALSA: vx: Don't try to update capture stream before running
51abb2a73f16 scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload
8d8723c8c187 scsi: lpfc: Correct issue leading to oops during link reset
44eb947094c4 scsi: lpfc: Correct host name in symbolic_name field
a7e7d319cc96 scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort
18477baf599e scsi: lpfc: Add missing memory barrier
fdc1e9d553e1 staging: rtl8188eu: fix incorrect ERROR tags from logs
0c098158785b scsi: ufs: add capability to keep auto bkops always enabled
469e75ddff14 scsi: ufs-qcom: Fix module autoload
bb848b61967f igb: Fix hw_dbg logging in igb_update_flash_i210
ba83011a470c igb: close/suspend race in netif_device_detach
559a20802838 igb: reset the PHY before reading the PHY ID
7878dca7ca24 drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache
b9ea0af4793b ata: SATA_MV should depend on HAS_DMA
11cb9dedb2e6 ata: SATA_HIGHBANK should depend on HAS_DMA
2066882df749 ata: ATA_BMDMA should depend on HAS_DMA
4fd669feacd3 ARM: dts: Fix omap3 off mode pull defines
955840ea5035 ARM: OMAP2+: Fix init for multiple quirks for the same SoC
4a23041fa533 ARM: dts: Fix am335x and dm814x scm syscon to probe children
84a97ea8b7b1 ARM: dts: Fix compatible for ti81xx uarts for 8250
62641014202e fm10k: request reset when mbx->state changes
2bb04f1ff63d extcon: palmas: Check the parent instance to prevent the NULL
8d9142ff444e dmaengine: dmatest: warn user when dma test times out
ec4f8a71c0fc Bluetooth: btusb: fix QCA Rome suspend/resume
977784638f76 arm: crypto: reduce priority of bit-sliced AES cipher
e455048c7ae9 net: qmi_wwan: fix divide by 0 on bad descriptors
caeeef8438c3 net: cdc_ether: fix divide by 0 on bad descriptors
46bdabbca02e sctp: do not peel off an assoc from one netns to another one
11e8e55be18c xen-blkback: don't leak stack data via response ring
49630dd2e10a bpf: don't let ldimm64 leak map addresses on unprivileged
07e3aff243cd KVM: x86: fix singlestepping over syscall
ceb5c560e2e4 ext4: fix data exposure after a crash
0a418e57717d media: dib0700: fix invalid dvb_detach argument
c344019c48a9 media: imon: Fix null-ptr-deref in imon_probe
(From OE-Core rev: 60445afe0f1a4dbf490fe2d43f6845db7968c88a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(cherry picked from commit 266f505a7de69850da4b3e82ccbf4c8466adfe51)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates that comprise the following
commits:
0cbac004e673 Linux 4.4.99
e8d650563c5f misc: panel: properly restore atomic counter on error path
01000c56cacc target: Fix node_acl demo-mode + uncached dynamic shutdown regression
4063c2093349 target/iscsi: Fix iSCSI task reassignment handling
7ecc076a5d51 brcmfmac: remove setting IBSS mode when stopping AP
d27383faf144 tipc: fix link attribute propagation bug
c8f13916c4c9 security/keys: add CONFIG_KEYS_COMPAT to Kconfig
11fa3353205e tcp/dccp: fix other lockdep splats accessing ireq_opt
6f8048cd59d7 tcp/dccp: fix lockdep splat in inet_csk_route_req()
13eddc67565a tcp/dccp: fix ireq->opt races
b9b0c99a426a ipip: only increase err_count for some certain type icmp in ipip_err
9bae2ffb87d6 ppp: fix race in ppp device destruction
4b5bb7723da1 sctp: reset owner sk for data chunks on out queues when migrating a sock
bcb3b90cf3c8 tun: allow positive return values on dev_get_valid_name() call
5c8a0850bae2 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
93b12f202a4e net/unix: don't show information about sockets from other namespaces
84237c54b239 ipv6: flowlabel: do not leave opt->tot_len with garbage
d552c8c5007a packet: avoid panic in packet_getsockopt()
ef3a12f1dc4a sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
4b27fe34a226 tun: call dev_get_valid_name() before register_netdevice()
196f4755cc82 l2tp: check ps->sock before running pppol2tp_session_ioctl()
71c4a0fc3576 tcp: fix tcp_mtu_probe() vs highest_sack
735818a8b45c tun/tap: sanitize TUNSETSNDBUF input
1e98fd54c356 ALSA: seq: Cancel pending autoload work at unbinding device
b7c625ce6d27 Input: ims-psu - check if CDC union descriptor is sane
de46c1adbea6 usb: usbtest: fix NULL pointer dereference
c93df40f3c73 mac80211: don't compare TKIP TX MIC key in reinstall prevention
cdac2028c901 mac80211: use constant time comparison with keys
6440f0ee8a17 mac80211: accept key reinstall without changing anything
c4e3d53bd9e7 Linux 4.4.98
9c405157269d PKCS#7: fix unitialized boolean 'want'
b01f1d60dd1c x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
4df27e649308 can: c_can: don't indicate triple sampling support for D_CAN
cdb5a2def61c can: sun4i: handle overrun in RX FIFO
493cb19b2522 rbd: use GFP_NOIO for parent stat and data requests
ba4828af60e2 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
05b690ccb077 Input: elan_i2c - add ELAN060C to the ACPI table
4694272c470a MIPS: AR7: Ensure that serial ports are properly set up
721d4be9e05d MIPS: AR7: Defer registration of GPIO
d0cfebd9b1db tools: firmware: check for distro fallback udev cancel rule
4afaa496d7f3 selftests: firmware: send expected errors to /dev/null
ed1deec127d9 selftests: firmware: add empty string and async tests
c08f3a82f66f test: firmware_class: report errors properly on failure
6004eb4d1adc MIPS: SMP: Fix deadlock & online race
857e81041f69 MIPS: Fix race on setting and getting cpu_online_mask
175c0622ab11 MIPS: SMP: Use a completion event to signal CPU up
207c2143322c MIPS: Fix CM region target definitions
ff8e97326b6a MIPS: microMIPS: Fix incorrect mask in insn_table_MM
1e54b5f72115 ALSA: seq: Avoid invalid lockdep class warning
adc4bacd5164 ALSA: seq: Fix OSS sysex delivery in OSS emulation
4d5b67a54e6d ARM: 8720/1: ensure dump_instr() checks addr_limit
3fc61b8dd6bb KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
48276703a037 crypto: x86/sha1-mb - fix panic due to unaligned access
44540ead8a8a workqueue: Fix NULL pointer dereference
ad8c619750c4 x86/uaccess, sched/preempt: Verify access_ok() context
44e0e2b47af2 platform/x86: hp-wmi: Do not shadow error values
ce93b664540d platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state
df5371592aca KEYS: trusted: fix writing past end of buffer in trusted_read()
939cafad2f51 KEYS: trusted: sanitize all key material
75f82a703b30 cdc_ncm: Set NTB format again after altsetting switch for Huawei devices
5ffc673161be platform/x86: hp-wmi: Fix detection for dock and tablet mode
f38a3a1c8f1a net: dsa: select NET_SWITCHDEV
581243dc5528 s390/qeth: issue STARTLAN as first IPA command
3652b0b6f2c2 IB/ipoib: Change list_del to list_del_init in the tx object
aa4af0fca101 Input: mpr121 - set missing event capability
0a731928f264 Input: mpr121 - handle multiple bits change of status register
ffa6332b8d80 IPsec: do not ignore crypto err in ah4 input
9ee83b03365a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family
cfb2cb34d32e usb: hcd: initialize hcd->flags to 0 when rm hcd
6450c9a96ff3 serial: sh-sci: Fix register offsets for the IRDA serial port
ca2090aa58ba phy: increase size of MII_BUS_ID_SIZE and bus_id
079822da0a00 iio: trigger: free trigger resource correctly
26fa336d69a2 crypto: vmx - disable preemption to enable vsx in aes_ctr.c
30019ca7dc09 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
83fe38f2c4a3 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4
158bc64a4dfe iommu/arm-smmu-v3: Clear prior settings when updating STEs
f20065b466d4 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter
2393241b7a22 drm: drm_minor_register(): Clean up debugfs on failure
4e0d26b22e79 xen/netback: set default upper limit of tx/rx queues to 8
f3170e6607be PCI: mvebu: Handle changes to the bridge windows while enabled
414aa11de923 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation
8a56b1b25e3c adv7604: Initialize drive strength to default when using DT
c54d0707aa09 Linux 4.4.97
2ed81e62b2ab staging: r8712u: Fix Sparse warning in rtl871x_xmit.c
883706dcda17 xen: don't print error message in case of missing Xenstore entry
298455f466cb bt8xx: fix memory leak
4b7a35866b0c s390/dasd: check for device error pointer within state change interrupts
45a012ace954 mei: return error on notification request to a disconnected client
0e97077574c6 exynos4-is: fimc-is: Unmap region obtained by of_iomap()
2d097e5f5c03 staging: lustre: ptlrpc: skip lock if export failed
efa8f1b7a65a staging: lustre: hsm: stack overrun in hai_dump_data_field
2d1d45396585 staging: lustre: llite: don't invoke direct_IO for the EOF case
28a8fc6416ab platform/x86: intel_mid_thermal: Fix module autoload
d1f96c30ce2d scsi: aacraid: Process Error for response I/O
fff544c8cf68 xen/manage: correct return value check on xenbus_scanf()
762d0762b9bb cx231xx: Fix I2C on Internal Master 3 Bus
0806eaf13850 perf tools: Only increase index if perf_evsel__new_idx() succeeds
3b7d9a95ccd3 drm/amdgpu: when dpm disabled, also need to stop/start vce.
dec5fcf11b45 i2c: riic: correctly finish transfers
358008062202 ext4: do not use stripe_width if it is not set
5624ea161040 ext4: fix stripe-unaligned allocations
a76eb0e8655e staging: rtl8712u: Fix endian settings for structs describing network packets
f9776d7ee5f5 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped
8800aba50292 mfd: ab8500-sysctrl: Handle probe deferral
ed414aeb5291 ARM: pxa: Don't rely on public mmc header to include leds.h
a3e021504fcf mmc: s3cmci: include linux/interrupt.h for tasklet_struct
ba28f16cfa2a PM / wakeirq: report a wakeup_event on dedicated wekup irq
b83c2880b348 Fix tracing sample code warning.
a48fce662380 tracing/samples: Fix creation and deletion of simple_thread_fn creation
ded34f972348 drm/msm: fix an integer overflow test
031b02bc16ae drm/msm: Fix potential buffer overflow issue
6e6eba5ba145 perf tools: Fix build failure on perl script context
fa312b481b2b ocfs2: fstrim: Fix start offset of first cluster group during fstrim
cc7d9933400f ARM: 8715/1: add a private asm/unaligned.h
4e351b8dd8b7 ARM: dts: mvebu: pl310-cache disable double-linefill
581ac5f431c9 arm64: ensure __dump_instr() checks addr_limit
97d64b7f2fdf ASoC: adau17x1: Workaround for noise bug in ADC
618b930317fb KEYS: fix out-of-bounds read during ASN.1 parsing
97c5668c9724 KEYS: return full count in keyring_read() if buffer is too small
d304c9169b38 cifs: check MaxPathNameComponentLength != 0 before using it
8142e9516d5d ALSA: seq: Fix nested rwsem annotation for lockdep splat
70358782743f ALSA: timer: Add missing mutex lock for compat ioctls
27e68f1bca91 Linux 4.4.96
b3d04695be52 Revert "drm: bridge: add DT bindings for TI ths8135"
50044e419e83 ecryptfs: fix dereference of NULL user_key_payload
da0933ceec96 x86/microcode/intel: Disable late loading on model 79
a272dc770f7d regulator: fan53555: fix I2C device ids
120ef1a38f79 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
c1b092102124 can: kvaser_usb: Correct return value in printout
0c3cdb4536d1 can: sun4i: fix loopback mode
62b54cc63a1c scsi: sg: Re-fix off by one in sg_fill_request_table()
6e9abbc96411 scsi: zfcp: fix erp_action use-before-initialize in REC action trace
1cbbd99f3bfe assoc_array: Fix a buggy node-splitting case
2c99438cf66d Input: gtco - fix potential out-of-bound access
31d770a8b887 Input: elan_i2c - add ELAN0611 to the ACPI table
8b396ff8eee7 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
82e05e935ffd fuse: fix READDIRPLUS skipping an entry
7d74eecca960 spi: uapi: spidev: add missing ioctl header
3505478d6fec usb: xhci: Handle error condition in xhci_stop_device()
da0345d723f0 ceph: unlock dangling spinlock in try_flush_caps()
5f1d33ab4d53 ALSA: hda - fix headset mic problem for Dell machines with alc236
8c812f0335dd ALSA: hda/realtek - Add support for ALC236/ALC3204
fce67b31c7cd workqueue: replace pool->manager_arb mutex with a flag
9b36699635c5 Linux 4.4.95
aa3a0a70bdb8 FS-Cache: fix dereference of NULL user_key_payload
1bb1d4252d1e fscrypto: require write access to mount to set encryption policy
8a004caec12b KEYS: Fix race between updating and finding a negative key
1dda04c761ab fscrypt: fix dereference of NULL user_key_payload
7d9e13d953f2 f2fs crypto: add missing locking for keyring_key access
4db9f1113196 f2fs crypto: replace some BUG_ON()'s with error checks
0f85c0954be4 sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task()
fcc65ab173eb parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
558ca24dc296 parisc: Avoid trashing sr2 and sr3 in LWS code
6f0dee7d9c9b pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
33dea302f9bc KEYS: don't let add_key() update an uninstantiated key
503ef5c070a1 lib/digsig: fix dereference of NULL user_key_payload
2b7e02267d3c KEYS: encrypted: fix dereference of NULL user_key_payload
51ba40fcfd67 rtlwifi: rtl8821ae: Fix connection lost problem
cffdaa65e72f clockevents/drivers/cs5535: Improve resilience to spurious interrupts
b178c94efdfd bus: mbus: fix window size calculation for 4GB windows
260b6739e8b7 brcmsmac: make some local variables 'static const' to reduce stack size
efdcbffb2b16 i2c: ismt: Separate I2C block read from SMBus block read
68c610776cfb ALSA: hda: Remove superfluous '-' added by printk conversion
f9e937124ec2 ALSA: seq: Enable 'use' locking in all configurations
4516069f1b05 drm/nouveau/mmu: flush tlbs before deleting page tables
195674adee57 drm/nouveau/bsp/g92: disable by default
4d56587c28d4 can: esd_usb2: Fix can_dlc value for received RTR, frames
aa629364c0e3 usb: musb: Check for host-mode using is_host_active() on reset interrupt
583a4219841d usb: musb: sunxi: Explicitly release USB PHY on exit
d68b07a19a9e can: gs_usb: fix busy loop if no more TX context is available
f7d8b2e150ee ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
67e25805e748 usb: hub: Allow reset retry for USB2 devices on connect bounce
d012ab210f5f usb: quirks: add quirk for WORLDE MINI MIDI keyboard
d729f29a291f usb: cdc_acm: Add quirk for Elatec TWN3
4512d6503a4d USB: serial: metro-usb: add MS7820 device id
9dff499d8226 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
abe43c97cae2 USB: devio: Revert "USB: devio: Don't corrupt user memory"
af9a9a7bed51 Linux 4.4.94
401231d063c5 Revert "tty: goldfish: Fix a parameter of a call to free_irq"
cdbbea7809ca cpufreq: CPPC: add ACPI_PROCESSOR dependency
c2c6f43e023a nfsd/callback: Cleanup callback cred on shutdown
429a4ac5895d target/iscsi: Fix unsolicited data seq_end_offset calculation
823ba64c5719 uapi: fix linux/mroute6.h userspace compilation errors
028a419869e3 uapi: fix linux/rds.h userspace compilation errors
c7a20ed2951f ceph: clean up unsafe d_parent accesses in build_dentry_path
c128baf6a1bc i2c: at91: ensure state is restored after suspending
d7ecae726698 net: mvpp2: release reference to txq_cpu[] entry after unmapping
693e6513b244 scsi: scsi_dh_emc: return success in clariion_std_inquiry()
9ac38e30f2b0 slub: do not merge cache if slub_debug contains a never-merge flag
315689d2e202 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock
d3335f5653ec crypto: xts - Add ECB dependency
02744a55ed38 net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs
7bf94b9595cc sparc64: Migrate hvcons irq to panicked cpu
d14591e83b49 md/linear: shutup lockdep warnning
48ca88f93533 f2fs: do not wait for writeback in write_begin
3109615b52ee Btrfs: send, fix failure to rename top level inode due to name collision
4d134d830ea7 iio: adc: xilinx: Fix error handling
5c65ed5c07d7 netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value.
743a3ce1e0fd net/mlx4_en: fix overflow in mlx4_en_init_timestamp()
7ed668eeb851 mac80211: fix power saving clients handling in iwlwifi
3e8c1a04d335 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length
4a464dacc23f irqchip/crossbar: Fix incorrect type of local variables
7e53f0390dbd watchdog: kempld: fix gcc-4.3 build
28eab3db727e locking/lockdep: Add nest_lock integrity test
d44e463c9460 Revert "bsg-lib: don't free job in bsg_prepare_job"
01e3e6315171 tipc: use only positive error codes in messages
685699703a0a net: Set sk_prot_creator when cloning sockets to the right proto
1299f7e17e9e packet: only test po->has_vnet_hdr once in packet_snd
1b6c80e797ee packet: in packet_do_bind, test fanout with bind_lock held
ee534927f0c0 tun: bail out from tun_get_user() if the skb is empty
b5f689d94bc3 l2tp: fix race condition in l2tp_tunnel_delete
110cf3dd4bcc l2tp: Avoid schedule while atomic in exit_net
93040aa17862 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
d9cb4dc0221e isdn/i4l: fetch the ppp_write buffer in one shot
1a4f1ecdb257 bpf: one perf event close won't free bpf program attached by another perf event
5be6824b9704 packet: hold bind lock when rebinding to fanout hook
aa90be3e1248 net: emac: Fix napi poll list corruption
3483c65090dc ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
5356f7e40d23 udpv6: Fix the checksum computation when HW checksum does not apply
2ec54b21dd7b bpf/verifier: reject BPF_ALU64|BPF_END
dee4506f067a sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
9f5bbe694df1 MIPS: Fix minimum alignment requirement of IRQ stack
c088f7bc3310 drm/dp/mst: save vcpi with payloads
951ba9f6c8b9 percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
(From OE-Core rev: 45251e65d5a4a0d5bfb9584ca5c364959a0816d3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(cherry picked from commit ab748d3239b3b641bb9e26cc36afed7fad540748)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2018c release of the tz code and data is available. It follows on the 2018a and 2018b releases, which were published but were not announced until now, due to problems discovered late in their release processes. 2018a had a build-failure typo, and 2018a and 2018b both had problems with ICU and Java, downstream packages which do not support a feature (negative DST offsets) used in 2018a and 2018b. The typo has been fixed, and data changes using negative DST offsets have been reverted pending development of a mechanism to export data to platforms lacking support for such data.
Briefly:
São Tomé and Príncipe switched from +00 to +01.
Brazil's DST will now start on November's first Sunday.
Use Debian-style installation locations, instead of 4.3BSD-style.
New zic option -t.
Changes to past and future time stamps
São Tomé and Príncipe switched from +00 to +01 on 2018-01-01 at
01:00. (Thanks to Steffen Thorsen and Michael Deckers.)
Changes to future time stamps
Starting in 2018 southern Brazil will begin DST on November's
first Sunday instead of October's third Sunday. (Thanks to
Steffen Thorsen.)
Changes to past time stamps
Japanese DST transitions (1948-1951) were Sundays at 00:00, not
Saturdays or Sundays at 02:00. (Thanks to Takayuki Nikai.)
A discrepancy of 4 s in timestamps before 1931 in South Sudan has
been corrected. The 'backzone' and 'zone.tab' files did not agree
with the 'africa' and 'zone1970.tab' files. (Problem reported by
Michael Deckers.)
The abbreviation invented for Bolivia Summer Time (1931-2) is now
BST instead of BOST, to be more consistent with the convention
used for Latvian Summer Time (1918-9) and for British Summer Time.
Changes to build procedure
The default installation locations have been changed to mostly
match Debian circa 2017, instead of being designed as an add-on to
4.3BSD circa 1986. This affects the Makefile macros TOPDIR,
TZDIR, MANDIR, and LIBDIR. New Makefile macros TZDEFAULT, USRDIR,
USRSHAREDIR, BINDIR, ZDUMPDIR, and ZICDIR let installers tailor
locations more precisely. (This responds to suggestions from
Brian Inglis and from Steve Summit.)
The default installation procedure no longer creates the
backward-compatibility link US/Pacific-New, which causes
confusion during user setup (e.g., see Debian bug 815200).
Use 'make BACKWARD="backward pacificnew"' to create the link
anyway, for now. Eventually we plan to remove the link entirely.
tzdata.zi now contains a version-number comment.
(Suggested by Tom Lane.)
The Makefile now quotes values like BACKWARD more carefully when
passing them to the shell. (Problem reported by Zefram.)
Builders no longer need to specify -DHAVE_SNPRINTF on platforms
that have snprintf and use pre-C99 compilers. (Problem reported
by Jon Skeet.)
The build procedure now works around mawk 1.3.3's lack of support
for character class expressions. (Problem reported by Ohyama.)
(From OE-Core rev: 40a3b937a5e88daa8fc4900796bca8b447084df5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 97927956a6629381b54973d01e16c5f039f5e5bb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit f266d17095441dd136c490578d7aae824ab16870)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
removed patches now included in update.
The 2018a through 2018c releases reflect the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes. This announcement has merged the set of changes made by the three releases, to make it easier to see the difference between 2017c and 2018c; please see the 2018c NEWS file for more details about intermediate versions.
Release 2018c - 2018-01-22 23:00:44 -0800
Release 2018b - 2018-01-17 23:24:48 -0800
Release 2018a - 2018-01-12 22:29:21 -0800
Changes to code
zic has a new option -t FILE that specifies the location of the
file that determines local time when TZ is unset. The default for
this location can be configured via the new TZDEFAULT makefile
macro, which defaults to /etc/localtime.
Diagnostics and commentary now distinguish UT from UTC more
carefully; see theory.html for more information about UT vs UTC.
zic has been ported to GCC 8's -Wstringop-truncation option.
(Problem reported by Martin Sebor.)
Changes to documentation and commentary
The zic man page now documents the longstanding behavior that
times and years can be out of the usual range, with negative times
counting backwards from midnight and with year 0 preceding year 1.
(Problem reported by Michael Deckers.)
The theory.html file now mentions the POSIX limit of six chars
per abbreviation, and lists alphabetic abbreviations used.
The files tz-art.htm and tz-link.htm have been renamed to
tz-art.html and tz-link.html, respectively, for consistency with
other file names and to simplify web server configuration.
(From OE-Core rev: 461f09931b261de17057416799d5bb3ed72aa749)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aae1131225b92d2f984a2de35b2e21592ae8195d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 017bbce4101e90388cf662e12157a788112e0727)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to rewording
7097a65277 (diff-9879d6db96fd29134fc802214163b95a)
Briefly:
Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
Fiji ends DST 2018-01-14, not 2018-01-21.
Namibia switches from +01/+02 to +02 on 2018-04-01.
Sudan switches from +03 to +02 on 2017-11-01.
Tonga likely switches from +13/+14 to +13 on 2017-11-05.
Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.
A new file tzdata.zi now holds a small text copy of all data.
The zic input format has been regularized slightly.
Changes to future time stamps
Northern Cyprus has decided to resume EU rules starting
2017-10-29, thus reinstituting winter time.
Fiji ends DST 2018-01-14 instead of the 2018-01-21 previously
predicted. (Thanks to Dominic Fok.) Adjust future predictions
accordingly.
Namibia will switch from +01 with DST to +02 all year on
2017-09-03 at 02:00. This affects UT offsets starting 2018-04-01
at 02:00. (Thanks to Steffen Thorsen.)
Sudan will switch from +03 to +02 on 2017-11-01. (Thanks to Ahmed
Atyya and Yahia Abdalla.) South Sudan is not switching, so
Africa/Juba is no longer a link to Africa/Khartoum.
Tonga has likely ended its experiment with DST, and will not
adjust its clocks on 2017-11-05. Although Tonga has not announced
whether it will continue to observe DST, the IATA is assuming that
it will not. (Thanks to David Wade.)
Turks & Caicos will switch from -04 all year to -05 with US DST on
2018-03-11 at 03:00. This affects UT offsets starting 2018-11-04
at 02:00. (Thanks to Steffen Thorsen.)
Changes to past time stamps
Namibia switched from +02 to +01 on 1994-03-21, not 1994-04-03.
(Thanks to Arthur David Olson.)
Detroit did not observe DST in 1967.
Use railway time for Asia/Kolkata before 1941, by switching to
Madras local time (UT +052110) in 1870, then to IST (UT +0530) in
1906. Also, treat 1941-2's +0630 as DST, like 1942-5.
Europe/Dublin's 1946 and 1947 fallback transitions occurred at
02:00 standard time, not 02:00 DST. (Thanks to Michael Deckers.)
Pacific/Apia and Pacific/Pago_Pago switched from Antipodean to
American time in 1892, not 1879. (Thanks to Michael Deckers.)
Adjust the 1867 transition in Alaska to better reflect the
historical record, by changing it to occur on 1867-10-18 at 15:30
Sitka time rather than at the start of 1867-10-17 local time.
Although strictly speaking this is accurate only for Sitka,
the rest of Alaska's blanks need to be filled in somehow.
Fix off-by-one errors in UT offsets for Adak and Nome before 1867.
(Thanks to Michael Deckers.)
Add 7 s to the UT offset in Asia/Yangon before 1920.
Changes to zone names
Remove Canada/East-Saskatchewan from the 'backward' file, as it
exceeded the 14-character limit and was an unused misnomer anyway.
(From OE-Core rev: 87e0034383d828bbcc86c95f4d3c2b141584d682)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77a8256d9cbfe24d470aac9b4cc2910a41ca0ee8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 2ea37fd4fad2e5ef21c119b03f09bcf2b0e7266e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changes do to rewording
7097a65277 (diff-9879d6db96fd29134fc802214163b95a)
Backported to fixes from upstream too.
Changes to code
zic and the reference runtime now reject multiple leap seconds
within 28 days of each other, or leap seconds before the Epoch.
As a result, support for double leap seconds, which was
obsolescent and undocumented, has been removed. Double leap
seconds were an error in the C89 standard; they have never existed
in civil timekeeping. (Thanks to Robert Elz and Bradley White for
noticing glitches in the code that uncovered this problem.)
zic now warns about use of the obsolescent and undocumented -y
option, and about use of the obsolescent TYPE field of Rule lines.
zic now allows unambiguous abbreviations like "Sa" and "Su" for
weekdays; formerly it rejected them due to a bug. Conversely, zic
no longer considers non-prefixes to be abbreviations; for example,
it no longer accepts "lF" as an abbreviation for "lastFriday".
Also, zic warns about the undocumented usage with a "last-"
prefix, e.g., "last-Fri".
Similarly, zic now accepts the unambiguous abbreviation "L" for
"Link" in ordinary context and for "Leap" in leap-second context.
Conversely, zic no longer accepts non-prefixes such as "La" as
abbreviations for words like "Leap".
zic no longer accepts leap second lines in ordinary input, or
ordinary lines in leap second input. Formerly, zic sometimes
warned about this undocumented usage and handled it incorrectly.
The new macro HAVE_TZNAME governs whether the tzname external
variable is exported, instead of USG_COMPAT. USG_COMPAT now
governs only the external variables "timezone" and "daylight".
This change is needed because the three variables are not in the
same category: although POSIX requires tzname, it specifies the
other two variables as optional. Also, USG_COMPAT is now 1 or 0:
if not defined, the code attempts to guess it from other macros.
localtime.c and difftime.c no longer require stdio.h, and .c files
other than zic.c no longer require sys/wait.h.
zdump.c no longer assumes snprintf. (Reported by Jonathan Leffler.)
Calculation of time_t extrema works around a bug in GCC 4.8.4
(Reported by Stan Shebs and Joseph Myers.)
zic.c no longer mistranslates formats of line numbers in non-English
locales. (Problem reported by Benno Schulenberg.)
Several minor changes have been made to the code to make it a
bit easier to port to MS-Windows and Solaris. (Thanks to Kees
Dekker for reporting the problems.)
Changes to documentation and commentary
The two new files 'theory.html' and 'calendars' contain the
contents of the removed file 'Theory'. The goal is to document
tzdb theory more accessibly.
The zic man page now documents abbreviation rules.
tz-link.htm now covers how to apply tzdata changes to clients.
(Thanks to Jorge Fábregas for the AIX link.) It also mentions MySQL.
The leap-seconds.list URL has been updated to something that is
more reliable for tzdb. (Thanks to Tim Parenti and Brian Inglis.)
(From OE-Core rev: 0b1f73a77f8d01960f1fc1bf073d8c1f9a839fff)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74af497f8d6b4e28d97c0f2cdb4ece90c2a6b8b5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 12a538bbbc8d04e875f81bd65e9754d749273aac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Haiti has resumed DST.
Changes to past and future time stamps
Haiti resumed observance of DST in 2017. (Thanks to Steffen Thorsen.)
Changes to past time stamps
Liberia changed from -004430 to +00 on 1972-01-07, not 1972-05-01.
Use "MMT" to abbreviate Liberia's time zone before 1972, as "-004430"
is one byte over the POSIX limit. (Problem reported by Derick Rethans.)
(From OE-Core rev: 1d92651465e5cc5c7b234ed1646eb869e9afe699)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following changes:
bf04291 WHENCE: Add new qed firmware
d8fc990 WHENCE: Add new radeon firmware
7245319 WHENCE: Fix syntax error for iwlwifi-8265-31.ucode entry
18d71a8 Revert "ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2"
4ebfab3 ath10k: QCA6174 hw3.0: update board-2.bin
96a7402 ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00051-QCARMSWP-1
59bf7e2 cxgb4: update firmware to revision 1.16.63.0
The MD5 checksum of WHENCE license file was due the changes above as
the firmware versions are listed there. It had no license term
changes.
The following security fixes included too:
CVE-2017-13080 and CVE-2017-13081
- iwlwifi: update firmwares for 3160, 3168, 7265D, 8000C and 8265
- iwlwifi: update firmwares for 3160, 3168, 7260, 7265 and 7265D
which came in with 796c91268eb1b4a24ffb90dd1c681c7d88f5c061
and 1a5fd9460d380acecb6cda96736d975ec8f57f6a in linux-firmwire
(From OE-Core rev: 5ffac18a797d771988ed08943d21459911332880)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit aea6ce797cc1b1ecc199979eb12aa42de8ff73d4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a new qat package for those firmware blobs
(From OE-Core rev: 2d6a0ac81448db8d0262249ea325750b0e8433a4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b48c746736012cfd85e8263efcf125ecd17ca7bb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit to split i.MX SDMA firmware blobs in their
own packages was not complete and results in a failure
when trying to install full linux-firmware:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - nothing provides linux-firmware-imx-sdma-license needed
* by linux-firmware-1:0.0+git0+a61ac5cf83-r0.all
*
* Solution 1:
* - do not ask to install a package providing linux-firmware
Make the split complete by installing the license in
${PN}-imx-sdma-license and have the blob packages depend on it.
(From OE-Core rev: 4c4def67862e3457734dc755853b53c77d925837)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 229f70a5f6d29d82e1a7b1f780e2149fb91d5385)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This splits out the i.MX SDMA firmwares for i.MX6 and i.MX7 SoCs. This
also includes the required runtime provides, conflicts and replaces
for the old firmware-imx which was provided by NXP BSP layer.
(From OE-Core rev: 6b1d3642e8f2f34f05ac8494dbef62e427e30caf)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3f3078fd4349fdf6986dd57e4b04bce03630924)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This requires MD5 sum updates for
- LICENSE.QualcommAtheros_ath10k: year change
- WHENCE: various version updates and addition of new firmwares
The new firmware for Qualcom Venus causes a QA error:
QA Issue: linux-firmware: Recipe inherits the allarch class, but has packaged architecture-specific binaries
Since firmware typically do not run on the CPU, the architecture of
the firmware file is independent from the CPU architecture the image
will be running on. Disable the QA check for the linux-firmware
package by default.
(From OE-Core rev: 4b83bc0f95895dd9ff8c99a5fe09ed7c07454092)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit a83dd65e64e9b7fa702927f96947bd3f0537adfd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ibt-firmware was not packaged separately and was part of big linux-firmware
package. Packaging allows to install it separately, according to requirements.
(From OE-Core rev: 846f72411b85be6d9428c6c0d1e408033a310ac3)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1414d6f9c327547023375f9e298f6f021eaee1b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Package iwlwifi-3160-[10-17] firmware from iwlwifi-misc to seperate packages,
so it is possible to install only required firmare package.
(From OE-Core rev: 019f9ed61cebb6721e4b8ba5ab613eb8f0f53f77)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a5966c957a6c2fbe914c1b3be0926ec0e62dab0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Firmware files for the QCA61x4 ROME BT family chips. Firmware shares the
same license as used by ath10k.
(From OE-Core rev: 4190a5c915bf75e642cf4ed5ee292c1e58092833)
Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit cc5fa321bb8988344f10f4fbc843e23e5d73fe33)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was previously disabled, as rpm refused to package it into noarch
package, due to the firmware being considered arch-specific. This
check is disabled in rpm now.
The netronome binaries has ELF headers which will trigger an
arch-specific error. INSANE_SKIP variable is used to skip some
package_qa check usage.
(From OE-Core rev: 2aa934bc429c407efc2a275616e16b677ceae9fe)
Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8b2f6b308019e697c9d3e66969807eb573350d78)
Manual fixup to current base
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since it's been removed from the upstream repo and not fetchable
remove it here. The newer firmware supports the device correctly.
(From OE-Core rev: c134c583e0ef315e88644d94e5a3920b92c6f39d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8b8c40bdbd09ddd1409dc30e04ef847f6a15f109)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the check_whence.py script since it is only needed to validate
the WHENCE file, and only if explicitly running `make check`.
(From OE-Core rev: 1fc4d5a31f05970d8d80b0106ea81d486f298e33)
(From OE-Core rev: 47665534549ea808c0ff2ce30d0cf9edf69693ff)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we update the SRCREV to latest, we will encouter the following
bitbake error.
Build error message:
| Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
| error: Arch dependent binaries in noarch package
|
|
| RPM build errors:
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_1x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x25.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_8x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_4x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_4x10_1x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_2x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0096-0001_2x10.nffw
| Deprecated external dependency generator is used!
| Arch dependent binaries in noarch package
| WARNING: exit code 1 from a shell command.
This is due to netronome firmware is not included in noarch package.
Hence we removed the netronome firmware before it is packaged,
until the rpm issue is resolved.
(From OE-Core rev: 8057e14fe582b2f2f8b02fb1d7fae2cfaae501f4)
Signed-off-by: Chang, Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-firmwara-carl9170 was set to a wrong license string.
Carl9170 firmware is bounded by GPLv2 via code inspection on
linux firmware source tree. Hence we include GPLv2 in LICENSE
field and set carl9170 firmware to the correct license.
[YOCTO #11090]
(From OE-Core rev: fa9767f2b6013d8f2f28dbe7f07c07906b40c5a5)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-change in amdgpu firmware copyright year
-change in radeon firmware copyright year
-LICENCE.mwl8335 was removed in linux-firmware source tree
-specify the copyright year for siano
-change in qla2xxx firmware copyright year
(From OE-Core rev: 731eaa63fab5b949a72d24294db8d9c9ea078b59)
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newer firmware blobs were versioned and landing in the default
package so move them to their appropriately named package.
[YOCTO #10942]
(From OE-Core rev: 4a8f2686148c565b8415e5d402ddf340e56cddef)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit a46a23fed9acd097ecc8ab3985d18688abe7b065.
The 64bit/32bit multilib builds break because the kernel's
firmware loader cannot find the firmware because it
gets placed int the wrong directory.
(From OE-Core rev: 8ebb38c21b43372d73df7bda55ad9810eb8dd1e2)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These alternatives are only used to provide an unversioned brcmfmac-sdio.bin,
which was required by kernels prior to 3.13. As these alternatives all have the
same priority there's no determinism in which one is selected, and current
kernels (since January 2014) use the appropriately versioned firmware names.
(From OE-Core rev: ac8cc5184086e6ca396c5ff35c7fb69ea2f71fa8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add rtl8188 rtl8712 rtl8723 rtl8821 packages to install only firmware for the
corresponding chipset. Uses a rather blunt approach by simply adding all firmware
files with matching prefix, to keep the package count down a bit.
(From OE-Core rev: 62a5c0a40d13594a0f16a01701e70dac5e492125)
(From OE-Core rev: f2c160e30f2dda32b91eb594730cd2bd76132a4f)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gentoo.osuosl.org mirror doesn't store all versions of pax-utils, so
use the maintainers own mirror which stores them all.
Fixes [YOCTO #11559]
(From OE-Core rev: 2892e05c3c1655b97b983ad783ca57c680ab8acb)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12467]
Changed the CentOS variable to use python34-pip
instead of python3-pip. Removed notes indicating
CentOS 6.x exceptions because this version does
not support CentOS 6.x.
(From yocto-docs rev: 7134eb2ac156b86ef844a9a46c4a8a9444ff6770)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current conflicting use of SDKDEPLOYDIR causes a race between do_populate_sdk
and do_populate_sdk_ext potentially causing the SDK to either go missing or the
build to fail.
(From OE-Core rev: 39fd8c129e2bff7f2f1649b7f6e036ccc50fd5d8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Someone hacked the http://hambedded site or it was moved and some
links to that site in the BB manual had been hijacked to point to
an entry portal for a pornography site. Replaced the link with an
archived version that restores the integrity of the links.
(Bitbake rev: 894814cca59f14b0f808680ea8fdf63063f01e7d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't have latex2man in HOSTTOOLs so documentaion is never built but this
dependency does cause problems on older releases like morty, pre-HOSTTOOLS.
Document the configuration explicitly in master.
(From OE-Core rev: 7e4ac608a2ac077c68e178fd1519c8e98403cff3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the only available stable version with mitigation fixes for Spectre.
Webkit upstream developers do not port CVE fixes to earlier stable series,
no exception was made in this case.
More information:
https://webkit.org/blog/8048/what-spectre-and-meltdown-mean-for-webkit/https://webkitgtk.org/security/WSA-2018-0001.htmlhttps://webkitgtk.org/2018/01/10/webkitgtk2.18.5-released.html
This commit also contains the following commits added in master branch after morty release:
webkitgtk: update to 2.14.1
Rebase 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
(From OE-Core rev: a44d50c827b5180ff901d31c443ea02e100b10d5)
(From OE-Core rev: 22f686cd6b818d27571bd42060246851cc2e093a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkit: Reduce duplication in MIPS variants.
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
(From OE-Core rev: f76d972aff47412a2cbd2d47134d66046cfe574a)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
* This patch is not longer needed. Upstream has fixed this issue in:
https://trac.webkit.org/changeset/205672 which is already included
in WebKitGTK+ >= 2.14.0
(From OE-Core rev: 812c52f654c1bccca033163100055e3a8b8cda6e)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Add an option to disable opengl support
(From OE-Core rev: 04e17727a3d1b52f6f93078fd16c6c7c9ba2b0d4)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Use MIPS MACHINE_OVERRIDES
The mipsarch* MACHINE_OVERRIDES can be used to pass the same
parameters to MIPS pre-R2 and R6 ISA variants.
Use them to reduce duplication in supporting MIPS R6 ISA.
(From OE-Core rev: 8369b3568828b1dcff0f3a061a18367f018ac447)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: update to 2.14.2
(From OE-Core rev: ccce954f7f0b24390ce36460cf05499c8169ed10)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
Revert "webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch"
This reverts commit 812c52f654c1bccca033163100055e3a8b8cda6e.
Upstream fixed the issue with GCC. But the build still fails with Clang.
Therefore reintroduce this patch until a better solution is found.
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=161697
(From OE-Core rev: 39be43943e3de0eb0ab9b61b405f3b76f12a307d)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Fix atomic detection on arm architecture
(From OE-Core rev: a77fc49defcf3a30a8f026cfdbd56565750f5a61)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: patch & disable JIT for x32
It might not be speedy, but it does build now.
(From OE-Core rev: 79f7e215ee7c176f02efafe7359aaa77dbd9430c)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: add missing python-native dep
Since we can't inherit pythonnative, we need this dep explicitly.
(From OE-Core rev: 63530f59e43738bac081aaf3c89ec57006038dce)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: update to 2.14.5
Remove a reference to WebKit/LICENSE, as the directory is not there anymore
(and the LICENSE file in it hasn't been moved somewhere else) - it was
a relic of webkit 1.x era.
(From OE-Core rev: 10331f42acfa5dc429198b7c025cc2360511e534)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Fix build on aarch64
Do not try to do runtime tests during cross compile
Fixes
| CMake Error at Source/cmake/OptionsCommon.cmake:73 (math):
| math cannot parse the expression: "-1": syntax error, unexpected exp_MINUS,
| expecting exp_OPENPARENT or exp_NUMBER (1)
(From OE-Core rev: 528006009dddd876a830e0a8f248658182a37f37)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Upgrade to 2.16.1
Fix build with gcc7
Move all patches to webkit folder
Drop patches that were backports or have been upstreamed
(From OE-Core rev: bfbdd1a2069f199be9ba0909dd512469ff17b65e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: remove native python dependency
Using host python seems to be fine.
(From OE-Core rev: 7cf80640f53bd8faa4874c2dad5f630a935475f6)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Fix build for armv5
Detect atomics during configure
(From OE-Core rev: 424ffbde2111130137e307eb9e598ad50451c865)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Upgrade to 2.16.3
Use bfd linker on ppc, this is because gold fails to link
webkit libraries when PIE is enabled
(From OE-Core rev: 8808d4b13a946499bc6e84a1be15f53d8ab3f673)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Upgrade to 2.16.5
Adjust some dependencies: libgcrypt is now required (instead of gnutls)
and the following build deps where missing: gettext-native, glib-2.0
and glib-2.0-native.
Also the CMake argument ENABLE_CREDENTIAL_STORAGE has been renamed to
USE_LIBSECRET.
This new upstream release (2.16.4 actually) includes security fixes for
CVE: CVE-2017-2538
(From OE-Core rev: ef68005a8c527e9b1d05b7769f0ec8ebe9ec3f91)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: update to 2.16.6
(From OE-Core rev: 198ccdbefa481f725492b5d8834213fe26431be5)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Do not use -isystem forcibly
this causes include_next <stdlib.h> to not find
this header since -isystem <sysroot> is added via
cmake, we alrady are using --sysroot so rely on that
(From OE-Core rev: a0f2d1389a7e76b64003fea391a0cd485ff5fe77)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Add a recommends on shared-mime-info.
* without this package installed any WebKitGTK+ based browser
will fail to correctly open html files (and other files)
from disk (file:// URIs). It will open them as plain txt files.
(From OE-Core rev: b708cb53b46d9d82a7853bcd0f25ef6bc417bd10)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: disable gobject-introspection on armv7a
Disable gobject-introspection on armv7a and armv7ve
to avoid do_compile failure:
| qemu: uncaught target signal 11 (Segmentation fault) - core dumped
| Segmentation fault
(From OE-Core rev: bdddd81c8b4eab6bbf7a8697992b48cb5a30ae4a)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: update to 2.18.3
gcc7.patch, musl-fixes.patch, and ppc-musl-fix.patch all change code that is no
longer present in upstream tree. However, a patch with different musl fixes
has been added.
The rest of the patches are rebased to the new tree.
Libtasn is a new dependency.
Disable Gstreamer GL support on x86 due to clashing headers problem.
(From OE-Core rev: 3acae2dcd130122fe76504ec855af78db829d6ec)
===
webkitgtk: fix build with musl and x32
Make the x32 check generic to make it work with musl as well.
Fixes [YOCTO #12118]
(From OE-Core rev: dbd604ccf34e304769937b15051c047561de47f7)
===
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing version of ruby-native (2.2.5) was crashing on my machine (and others' too),
yet a functional ruby is necessary to upgrade webkit to a version that less vulnerable
to Spectre.
I've performed the update by copying the ruby recipe directory over from the current
pyro tree; if you want to see the list of specific commits, issue this command:
git log 99656fecf4 meta/recipes-devtools/ruby
(up to commit e593d3aeb2)
(From OE-Core rev: 4734a4b41898e3df252b6234ed1270a915fd1f68)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All recipes which include this .inc map to glibc NVD component.
(From OE-Core rev: 221266dcf1f8825b5e4cf397d67cf535facca7e7)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 613a13725db4e05539974cc7c66584a287d7b4bd)
Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: binutils-gdb.git
MR: 76766
Type: Security Fix
Disposition: Backport from binutils master
ChangeID: f080669b4e6f7c9088e30858238da5f4315192f3
Description:
PR22209, invalid memory read in find_abstract_instance_name
This patch adds bounds checking for DW_FORM_ref_addr die refs, and
calculates them relative to the first .debug_info section. See the
big comment for why calculating relative to the current .debug_info
section was wrong for relocatable object files.
PR 22209
* dwarf2.c (struct comp_unit): Delete sec_info_ptr field.
(find_abstract_instance_name): Calculate DW_FORM_ref_addr relative
to stash->info_ptr_memory, and check die_ref is within that memory.
Set info_ptr_end correctly when another CU is refd. Check die_ref
for DW_FORM_ref4 etc. is within CU.
Affects: <= 2.29
(From OE-Core rev: 592f315516e602bd9a9bdc3d116771528cd433d1)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: binutils-gdb.git
MR: 76524
Type: Security Fix
Disposition: Backport from binutils master
ChangeID: 5f22a66eabb228b655605b964ecd350aee700806
Description:
PR22187, infinite loop in find_abstract_instance_name
This patch prevents the simple case of infinite recursion in
find_abstract_instance_name by ensuring that the attributes being
processed are not the same as the previous call.
The patch also does a little cleanup, and leaves in place some changes
to the nested_funcs array that I made when I wrongly thought looping
might occur in scan_unit_for_symbols.
PR 22187
* dwarf2.c (find_abstract_instance_name): Add orig_info_ptr and
pname param. Return status. Make name const. Don't abort,
return an error. Formatting. Exit if current info_ptr matches
orig_info_ptr. Update callers.
(scan_unit_for_symbols): Start at nesting_level of zero. Make
nested_funcs an array of structs for extensibility. Formatting.
Affects: <= 2.29
(From OE-Core rev: 3e88bb5e933ebbf9c3445bac1814dc0ac105bf45)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: binutils-gdb.git
MR: 76278
Type: Security Fix
Disposition: Backport from binutils-2_29
ChangeID: 05de8bcd22d8d0b54badcd3826cd370b3aed81de
Description:
x86: Guard against corrupted PLT
There should be only one entry in PLT for a given symbol. Set howto to
NULL after processing a PLT entry to guard against corrupted PLT so that
the duplicated PLT entries are skipped.
PR binutils/22170
Affects: <= 2.29
(From OE-Core rev: 51fc4c8d86bc7c567794305bcc08e5054e9e204a)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: binutils-gdb.git
MR: 73971
Type: Security Fix
Disposition: Backport from binutils-2_29
ChangeID: fe0e1d0f234ed157135818c24f4270c34e093828
Description:
Fix potential address violations when processing a corrupt Alpha VMA binary.
PR binutils/21589
* vms-alpha.c (_bfd_vms_get_value): Add an extra parameter - the
maximum value for the ascic pointer. Check that name processing
does not read beyond this value.
(_bfd_vms_slurp_etir): Add checks for attempts to read beyond the
end of etir record.
Affects: <= 2.28
Author: Nick Clifton <nickc@redhat.com>
(From OE-Core rev: ea89dfe868085b463dfc24df78b49d1703989484)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: git://sourceware.org/git/binutils-gdb.git
MR: 74127
Type: Security Fix
Disposition: Backport from binutils-2_29
ChangeID: 410078b468de6dc1c908342283a6abe5bdf38d54
Description:
Fix heap-buffer overflow bugs caused when dumping debug information from a corrupt binary.
PR binutils/21438
* dwarf.c (process_extended_line_op): Do not assume that the
string extracted from the section is NUL terminated.
(fetch_indirect_string): If the string retrieved from the section
is not NUL terminated, return an error message.
(fetch_indirect_line_string): Likewise.
(fetch_indexed_string): Likewise.
Affects: <= 2.29
Author: Nick Clifton <nickc@redhat.com>
(From OE-Core rev: 1e19e656a97caf61f26ab4f52339b9413d3bb29f)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: git://sourceware.org/git/binutils-gdb.git
MR: 74140
Type: Security Fix
Disposition: Backport from binutils-2_29
ChangeID: 5f6dd48c427de8663c5a80af6db44ce5c579d42c
Description:
Prevent memory exhaustion from a corrupt PE binary with an overlarge number of relocs.
PR 21440
* objdump.c (dump_relocs_in_section): Check for an excessive
number of relocs before attempting to dump them.
Affects: <= 2.29
Author: Alan Modra <amodra@gmail.com>
(From OE-Core rev: 09c642a70e2a12dcc01ffe45c333011a142c02a7)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: git://sourceware.org/git/binutils-gdb.git
MR: 74179
Type: Security Fix
Disposition: Backport from binutils-2_29
ChangeID: 976156cd25454143883090ca42010c38c6d6af0f
Description:
PR 21412, get_reloc_section assumes .rel/.rela name for SHT_REL/RELA.
This patch fixes an assumption made by code that runs for objcopy and
strip, that SHT_REL/SHR_RELA sections are always named starting with a
.rel/.rela prefix. I'm also modifying the interface for
elf_backend_get_reloc_section, so any backend function just needs to
handle name mapping.
Affects: <= 2.29
Author: Alan Modra <amodra@gmail.com>
(From OE-Core rev: 24124406a2a1657b80ba2933bef40ccf798c8097)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: git://sourceware.org/git/binutils-gdb.git
MR: 74296
Type: Security Fix
Disposition: Backport from binutils-2_29-branch
ChangeID: d2cf3ab15c89351c941c92e4cdf28c2bfa9dcda8
Description:
Fix seg-fault running addr2line on a corrupt binary.
PR binutils/20891
* aoutx.h (find_nearest_line): Handle the case where the main file
name and the directory name are both empty.
Affects: <= 2.29
Author: Nick Clifton <nickc@redhat.com>
(From OE-Core rev: ba01ee6899c8d36e6469f6d02d40866fb0502af9)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: git://sourceware.org/git/binutils-gdb.git
MR: 73854, 73827, 73814, 73801, 73775
Type: Security Fix
Disposition: Backport from binutils-2_29-branch
ChangeID: fb23096307f9903872a04edf171d1fd2099e35c5
Description:
Fix address violation errors parsing corrupt binary files.
PR 21813
binutils* rddbg.c (read_symbol_stabs_debugging_info): Check for an empty
string whilst concatenating symbol names.
bfd * mach-o.c (bfd_mach_o_canonicalize_relocs): Pass the base address
of the relocs to the canonicalize_one_reloc routine.
* mach-o.h (struct bfd_mach_o_backend_data): Update the prototype
for the _bfd_mach_o_canonicalize_one_reloc field.
* mach-o-arm.c (bfd_mach_o_arm_canonicalize_one_reloc): Add
res_base parameter. Use to check for corrupt pair relocs.
* mach-o-aarch64.c (bfd_mach_o_arm64_canonicalize_one_reloc):
Likewise.
* mach-o-i386.c (bfd_mach_o_i386_canonicalize_one_reloc):
Likewise.
* mach-o-x86-64.c (bfd_mach_o_x86_64_canonicalize_one_reloc):
Likewise.
* vms-alpha.c (_bfd_vms_slurp_eihd): Make sure that there is
enough data in the record before attempting to parse it.
(_bfd_vms_slurp_eeom): Likewise.
(_bfd_vms_slurp_egsd): Check for an invalid section index.
(image_set_ptr): Likewise.
(alpha_vms_slurp_relocs): Likewise.
Affects: <= 2.29
(From OE-Core rev: 2cc3922462c9dd86f50a419a2a4abb0f3b5b4745)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: git://sourceware.org/git/binutils-gdb.git
MR: 73880
Type: Security Fix
Disposition: Backport from binutils-2_29-branch
ChangeID: 6ef7c8e941d7a1c069b29e4671178c0d02427e3f
Description:
Fix use-after-free error when parsing a corrupt nested archive.
PR 21787
* archive.c (bfd_generic_archive_p): If the bfd does not have the
correct magic bytes at the start, set the error to wrong format
and clear the format selector before returning NULL.
Affects: <= 2.29
(From OE-Core rev: 996e7af41b48107bab5eca0ea26f507541382bd5)
Signed-off-by: Thiruvadi Rajaraman <trajaraman@mvista.com>
Reviewed-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For various reasons we need to be able to set and override this from
auto.conf on our test infrastructure. We have tried forcing the variable
but this then breaks other selftests. In the interests of not complicating
things further and needing to modify the tests across releases, weaken
the default assignment.
(From meta-yocto rev: 19d23e22922c2536e207e1f577f508f510c85b59)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a superfluous section in toaster start/stop script that was
setting the TOASTER_DIR and had a set of comments around that setting.
This was done in two places and only the last one was effective. This
patch removes the spurious section to make it clearer what was
happening and what TOASTER_DIR was actually getting set to.
(Bitbake rev: aeed732ff6e8c1009c5efad3aadbbd3b0bbaeea7)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The toaster.sqlite database was located in TOASTER_DIR/build. This
meant that if you named your build directory something else (like cow),
Toaster would fail to make/find the database. TOASTER_DIR is on the
whitelist unlike BUILDDIR and we need to be able to write there anyway
given our current layout so this should not disrupt anything.
[YOCTO #9992]
(Bitbake rev: 32b13d52ae37be343962cc1cf504f3d569fb1153)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the tinfoil2 changes resulted in TOASTER_DIR being cleared by
the memory resident bitbake server toaster starts up. This prevented
toaster from being able to connect to its sqlite database. Adding
TOASTER_DIR to the BB_ENV_EXTRAWHITE list stops the cooker from clearing
out the TOASTER_DIR variable.
[YOCTO #9252]
(Bitbake rev: 30da2715cd6a114faf99b09c74e73c5d84767b91)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the fetcher retrieves file:// URLs, there is no lock file being
used. This means that in case two separate tasks (typically from two
concurrent invocations of bitbake) want to download the same file://
URL at the same time, there is a very small chance that they also end
up wanting to create a symbolic link to the file at the same time.
This would previously lead to one of the tasks failing as the other
task would have created the link.
(Bitbake rev: 5f5e13bacde95a93633f621ec6b94a022c476a58)
Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The data we read from an HTTPConnection comes in the form of bytes, but
we need it as a string, so in Python 3 we need to decode it (missed in
the Python 3 migration).
(Bitbake rev: e75c68819086788bac1c4ca8a35aebeaf604e624)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For uninative to work, it relies on it being updated to new versions as
newer glibcs are built. This means the uninative generated by the current
build may not be as recent as the uninative that is being downloaded by
uninative.bbclass.
If this occurs, we can get symbol mismatch errors.
Ultimately, the sstate and the uninative versions need to match so we
should use the same tarball as uninative.bbclass is using, not the one
we built.
[YOCTO #12405]
(From OE-Core rev: 1e6beee55d2bbe40de54c09f7a48fcb1240a426e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been seeing hangs in smart on the autobuilders where it hangs in
pthread futex calls. It appears to happen when some components are
installed from sstate (which use the interpreter from uninative)
and other components are built natively (and use the host's interpreter).
Its primarily affecting software which uses shared memory with futexs in
for locking purposes (which bdb does called from librpm from smart).
This isn't an issue in pyro and rocko and beyond since they use recipe
specific sysroots which included a change to always change to the
uninative interpreter. We could backport those changes but they're
fairly invasive changes to the sstate code. This patch is a more
minimal change which ensures binaries are always using the uninative
interpreter regardless of whether they're built locally or installed
from sstate.
This is only an issue if you're using an sstate mirror and hosts
with a variety of different libc versions. It has only become an issue
on recent libc versions where there was clearly some forwards compatibility
issue introduced.
(From OE-Core rev: 6b149a88cd33c65c7f306f785f4d24ee2909809c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gnu-efi needs to be build for 64bit since it is a boot time tool. It
needs these 2 headers to be in 64 bit versions, we can use the existing
32bit ones as there is not really any difference.
[YOCTO #11051]
(From OE-Core rev: 3398552663e1e18aaf352d682a77a8ad3af94e5a)
(From OE-Core rev: 7dcf05c29da3faac5ed8129a2b9cc6b00129fb07)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Goes down to 40 seconds from over 4 minutes :)
Note that there is no control over the amount of shell jobs; on my machine
this is not a problem, but if it's a problem on less capable hardware,
we can add some kind of limiter.
(From OE-Core rev: cd9af17028c069f52fb0616074170093dd63c143)
(From OE-Core rev: f7f659340fd54f05ee11bf34fdb2f6025c1d33cd)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
updated to apply to morty
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With out this patch, one can not login to a mips64 machine like qumumips64 or Octeon mips64 when
systemd is enabled.
remove PACKAGECONFIG option too
affects: systemd < 2.3.1
Reviewed-by: Jeremy Puhlman <jpuhlman@mvista.com>
(From OE-Core rev: ce97fa3c673c7adc7a1fb81e0fd47f103fe281de)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add backported patches from the upstream release/2.24/master branch to
fix CVE-2017-1000366. Also add a backported patch that resolves SSE
related build problems introduced by these patches.
(From OE-Core rev: 07e041138f0b037e7ddc75a33c7960668acdb8bb)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was not working in multilib or x32 setups and amazingly, was not
noticed until now.
The actual modification is in Lib/site.py, the rest is just devtool moving things around in the patch.
(From OE-Core rev: 0713d2a325adf87d97ef5936061ff44274d5a913)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer versions of glibc (2.26) moved the struct locale definition from
xlocale.h to bits/types/locale_t.h. For compatibility with build hosts
using this version of glibc, include this header.
See f0be25b6336db7492e47d2e8e72eb8af53b5506d in glibc
(From OE-Core rev: 4e9bb9ab2e5c603f3eb2d52ce272401c8e320cc0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed release date from November to December 2017
(From yocto-docs rev: f4571c05c9004b0eb20a680cf7d3d1f7e6bc6d6b)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch ppp-fix-building-with-linux-4.8.patch tries to fix build error
with 4.8 or newer linux headers, but it would break building with kernel
< 4.8. There is a better solution to fix this issue in upstream.
Backport the upstream patch and replace the old one.
[YOCTO #10457]
(From OE-Core rev: 6e50f316db897c1d64026b3d21acec7712e4cc09)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the stable commits from Paul Gortmaker for 4.8.26:
72fd9e50372d Linux 4.8.26
bca975f9d61e pstore: Shut down worker when unregistering
831528f6d369 libnvdimm, pfn: fix 'npfns' vs section alignment
24e6cea34654 libnvdimm, pmem: fix a NULL pointer BUG in nd_pmem_notify
6585d5899c12 libnvdimm, region: fix flush hint detection crash
5679bab89552 ipmi: Fix kernel panic at ipmi_ssif_thread()
a0edda9d006a Bluetooth: hci_intel: add missing tty-device sanity check
bdfa99dcaf41 Bluetooth: hci_bcm: add missing tty-device sanity check
3a197a20503b Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
2dd96e6a56f6 tty: pty: Fix ldisc flush after userspace become aware of the data already
bcb0e0973a3f serial: omap: suspend device on probe errors
e689fc4ccff0 serial: omap: fix runtime-pm handling on unbind
f1a81a255788 serial: samsung: Use right device for DMA-mapping calls
a437a5323381 padata: free correct variable
a05f144a9d3b CIFS: add misssing SFM mapping for doublequote
349eb07c3118 cifs: fix CIFS_IOC_GET_MNT_INFO oops
4ca4593289e4 CIFS: fix oplock break deadlocks
dfc44a5e2f72 CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
53c2f66294a5 SMB3: Work around mount failure when using SMB3 dialect to Macs
f39f85a9ec9c Set unicode flag on cifs echo request to avoid Mac error
ab4bab94e003 Fix match_prepath()
853849a70bbb mm: prevent potential recursive reclaim due to clearing PF_MEMALLOC
2a5e703230d8 fs/block_dev: always invalidate cleancache in invalidate_bdev()
70a6a7422b35 ceph: fix memory leak in __ceph_setxattr()
1eeca04d2091 fs/xattr.c: zero out memory copied to userspace in getxattr
6fba0c4d3153 orangefs: do not check possibly stale size on truncate
aef961cbc788 orangefs: do not set getattr_time on orangefs_lookup
ad35f4485072 orangefs: clean up oversize xattr validation
decc9664a7e4 orangefs: fix bounds check for listxattr
d62cac98eeb2 ext4: evict inline data when writing to memory map
ae88e436f00e IB/hfi1: Prevent kernel QP post send hard lockups
5512f0343e1c IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level
c831cf234702 IB/mlx4: Fix ib device initialization error flow
a2f97e715839 IB/IPoIB: ibX: failed to create mcg debug file
4bb65c977cec IB/core: For multicast functions, verify that LIDs are multicast LIDs
20ad33c71d4d IB/core: Fix sysfs registration error flow
0c4446e4d65c dm thin: fix a memory leak when passing discard bio down
8d5feb420e3b dm rq: check blk_mq_register_dev() return value in dm_mq_init_request_queue()
c7c19f2ba5db dm era: save spacemap metadata root after the pre-commit
820b3860065f crypto: algif_aead - Require setkey before accept(2)
f0757bc95106 block: fix blk_integrity_register to use template's interval_exp if not 0
491700e5904b KVM: arm/arm64: fix races in kvm_psci_vcpu_on
2146d0cf63d9 KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
42f69a5e282f perf/x86: Fix Broadwell-EP DRAM RAPL events
b07a3600b881 um: Fix PTRACE_POKEUSER on x86_64
583a0e218a99 x86, pmem: Fix cache flushing for iovec write < 8 bytes
57760637e50b selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug
60ca4f96555f x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
7fbd5421d5be usb: hub: Do not attempt to autosuspend disconnected devices
812c5f577e13 usb: hub: Fix error loop seen after hub communication errors
41c09b5e0036 usb: Make sure usb/phy/of gets built-in
2a164b1e1a37 usb: misc: add missing continue in switch
f184320880ec staging: comedi: jr3_pci: cope with jiffies wraparound
c38aa7ed4029 staging: comedi: jr3_pci: fix possible null pointer dereference
452fd7a68826 staging: gdm724x: gdm_mux: fix use-after-free on module unload
1ad9126ccbcb USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
ea0e314f4b99 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
4e9575b41329 usb: host: xhci: print correct command ring address
fe51d203bf26 usb: xhci: bInterval quirk for TI TUSB73x0
cb3c76399e7d iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
82d4c0daad4d target/fileio: Fix zero-length READ and WRITE handling
1fb92530ac51 target: Fix compare_and_write_callback handling for non GOOD status
82c59b4dee19 block: get rid of blk_integrity_revalidate()
bb25c9749298 drm/ttm: fix use-after-free races in vm fault handling
04b96345d77c f2fs: sanity check segment count
8004022099cb net: mdio-mux: bcm-iproc: call mdiobus_free() in error path
9974c98f5155 bpf: don't let ldimm64 leak map addresses on unprivileged
8ed935b2461f bnxt_en: allocate enough space for ->ntp_fltr_bmap
547e949b6556 ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf
41c79abb8e54 ipv6: initialize route null entry in addrconf_init()
60b4e1ac1bcd rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
3c76ecbb68fc ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
51f0c06655d7 tcp: do not inherit fastopen_req from parent
4f4ef66f8a54 net: usb: qmi_wwan: add Telit ME910 support
9190457be81e net: ipv6: Do not duplicate DAD on link up
fdbd8c9606d4 tcp: fix wraparound issue in tcp_lp
402219c947aa bpf, arm64: fix jit branch offset related to ldimm64
d1d3b5fac542 tcp: do not underestimate skb->truesize in tcp_trim_head()
b74a9f53923e macsec: dynamically allocate space for sglist
49e7abb4251d sparc64: fix fault handling in NGbzero.S and GENbzero.S
6ed64cb9e610 ALSA: hda - Fix deadlock of controller device lock at unbinding
8b5e31398ade staging: emxx_udc: remove incorrect __init annotations
19c278eaeef5 staging: wlan-ng: add missing byte order conversion
d923e0bc0605 brcmfmac: Make skb header writable before use
ba43849f60c0 brcmfmac: Ensure pointer correctly set if skb data location changes
a092754fb592 MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix
f316b49a6127 scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
276ac4dbab2f serial: 8250_omap: Fix probe and remove for PM runtime
6525e9e63036 clk: rockchip: add "," to mux_pll_src_apll_dpll_gpll_usb480m_p on rk3036
9d393de73c66 USB: serial: io_edgeport: fix descriptor error handling
f66d82e82938 USB: serial: mct_u232: fix modem-status error handling
f8de7e87ed68 USB: serial: quatech2: fix control-message error handling
7070f0b5094f USB: serial: ftdi_sio: fix latency-timer error handling
47f6ccfb10df USB: serial: ark3116: fix open error handling
53aef8f0af7d USB: serial: ti_usb_3410_5052: fix control-message error handling
2f54a3328f7a USB: serial: io_edgeport: fix epic-descriptor handling
5f5f5ba0c0d7 USB: serial: ssu100: fix control-message error handling
4b1da19109b9 USB: serial: digi_acceleport: fix incomplete rx sanity check
c88342441acb USB: serial: keyspan_pda: fix receive sanity checks
b3b834c7459c usb: chipidea: Handle extcon events properly
0ff8c355d1fd usb: chipidea: Only read/write OTGSC from one place
f5dc93d23c27 usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
f42b266cb8e0 usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
c350ac01f4f5 KVM: nVMX: do not leak PML full vmexit to L1
3a1e3fa213cf KVM: nVMX: initialize PML fields in vmcs02
2c44b9685a55 Revert "KVM: nested VMX: disable perf cpuid reporting"
48d8e6283bc9 x86/platform/intel-mid: Correct MSI IRQ line for watchdog device
bafa78c1a65e kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed
cf63da5d56fd clk: Make x86/ conditional on CONFIG_COMMON_CLK
7b34882df641 x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0
270dd7dbbf77 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
6a44ffd4dbc8 iwlwifi: mvm: writing zero bytes to debugfs causes a crash
301082e9c9b7 iwlwifi: mvm: synchronize firmware DMA paging memory
ee4cac606ac1 iwlwifi: mvm: fix references to first_agg_queue in DQA mode
97d3c48bd7d4 iwlwifi: mvm: Use aux queue for offchannel frames in dqa
8fffec6fff0b iwlwifi: mvm: fix reorder timer re-arming
46913adaacf1 iwlwifi: pcie: don't increment / decrement a bool
52368ddf6050 iwlwifi: mvm: overwrite skb info later
83a12256b172 iwlwifi: fix MODULE_FIRMWARE for 6030
86c87e0daa7f mwifiex: Avoid skipping WEP key deletion for AP
748491d99d68 mwifiex: remove redundant dma padding in AMSDU
1569633df83e mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print
ad4e8ed421e3 ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings
c60416688ca4 ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build
dd58846a5358 leds: ktd2692: avoid harmless maybe-uninitialized warning
381a374688d0 arm: dts: qcom: Fix ipq board clock rates
a109c21045cf arm64: dts: r8a7795: Mark EthernetAVB device node disabled
23f7727a1514 powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL
8a35dd72827b powerpc/powernv: Fix opal_exit tracepoint opcode
492d4c504275 powerpc/mm: Fixup wrong LPCR_VRMASD value
73ae00c24a34 cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
f348742efaa7 tmp: use pdev for parent device in tpm_chip_alloc
024f822c0f84 tpm: fix RC value check in tpm2_seal_trusted
bb61249ebc26 hwmon: (it87) Fix pwm4 detection for IT8620 and IT8628
2484c067e875 drm/sti: fix GDP size to support up to UHD resolution
e90276910177 9p: fix a potential acl leak
b1bde1d61aad dm ioctl: prevent stack leak in dm ioctl call
19952586021f ceph: try getting buffer capability for readahead/fadvise
2afa5529d98e hwmon: (it87) Avoid registering the same chip on both SIO addresses
20f5706414a4 scsi: storvsc: Workaround for virtual DVD SCSI version
bfd008363cd2 timerfd: Protect the might cancel mechanism proper
c5eb2c3f266f ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
79a67346f310 ARCv2: save r30 on kernel entry as gcc uses it for code-gen
d3b2ff49ba72 net: can: usb: gs_usb: Fix buffer on stack
a0b23de216d0 macsec: avoid heap overflow in skb_to_sgvec
93f3107c481a nfsd: stricter decoding of write-like NFSv2/v3 ops
0b02144efadc nfsd4: minor NFSv2/v3 write decoding cleanup
cf2b8df2aeea nfsd: check for oversized NFSv2/v3 arguments
25673437d3fa Input: i8042 - add Clevo P650RS to the i8042 reset list
328bc25d3525 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
fe671099fe8d p9_client_readdir() fix
29e8f9612740 MIPS: Avoid BUG warning in arch_check_elf
a10a315719a5 MIPS: cevt-r4k: Fix out-of-bounds array access
da135df655bf MIPS: KGDB: Use kernel context for sleeping threads
741f4ca5cc4a ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
f379be22874a ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
44b8f005e518 ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
52b55c9a73a4 ipv6: check raw payload size correctly in ioctl
2d55be6b35f3 tcp: memset ca_priv data to 0 properly
3571e0a934e0 ipv6: check skb->protocol before lookup for nexthop
47a52f3af5b3 net: ipv6: regenerate host route if moved to gc list
0719e904a617 macvlan: Fix device ref leak when purging bc_queue
974c18f8cebc net/mlx5e: Fix ETHTOOL_GRXCLSRLALL handling
ef68966cafe2 net/mlx5e: Fix small packet threshold
1a3947d78b89 ip6mr: fix notification device destruction
8907cd376e97 netpoll: Check for skb->queue_mapping
58fb2345c82e net: ipv6: RTF_PCPU should not be settable from userspace
92cfda6d6c88 dp83640: don't recieve time stamps twice
efe73421873e sh_eth: unmap DMA buffers when freeing rings
aa146f0df8e6 net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
193a114497ae net-timestamp: avoid use-after-free in ip_recv_error
11d565eec8c8 ipv6: Fix idev->addr_list corruption
aa1985f1aff7 tcp: clear saved_syn in tcp_disconnect()
b5323dffe1b4 sctp: listen on the sock only when it's state is listening or closed
eed6013d5c23 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
12add9d91a53 l2tp: fix PPP pseudo-wire auto-loading
a3fa03ac269b l2tp: take reference on sessions being dumped
9921b663da3b net/packet: fix overflow in check for tp_reserve
fb125e7739e8 net/packet: fix overflow in check for tp_frame_nr
d4380e099256 l2tp: purge socket queues in the .destruct() callback
5ea6fbde7c3a kcm: return immediately after copy_from_user() failure
b7c5f5e113a5 net: phy: handle state correctly in phy_stop_machine
853ff758b593 net: neigh: guard against NULL solicit() method
cc2ac542fad4 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
875b971b846a sparc64: kern_addr_valid regression
1e33ff438412 ping: implement proper locking
fc5b4dcef3f8 Revert "mmc: sdhci-msm: Enable few quirks"
cb66cad28324 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
c15018165b38 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
19aea564a24f ubi/upd: Always flush after prepared for an update
a4f1bff6eb6e mac80211: reject ToDS broadcast data frames
6e9b4ada4075 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
d7f182088aab Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
1edb7d9791b8 s390/mm: fix CMMA vs KSM vs others
302dc30d4442 CIFS: remove bad_network_name flag
08f16bf5c9ba cifs: Do not send echoes before Negotiate is complete
07c9b2816029 ring-buffer: Have ring_buffer_iter_empty() return true when empty
c2bd41c8a061 tracing: Allocate the snapshot buffer before enabling probe
9ec3d1139f9b KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
46756acd3faf KEYS: Change the name of the dead type to ".dead" to prevent user access
fd9a944708bd KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
970e219ec7e1 Linux 4.8.25
3f6b8912e69f Allow stack to grow up to address space limit
19a363d4402a mm: fix new crash in unmapped_area_topdown()
c8955c83e743 mm: larger stack guard gap, between vmas
a82d21362f92 net: ipv6: check route protocol when deleting routes
e359556b299b virtio-console: avoid DMA from stack
528b66933f17 [media] dvb-usb-firmware: don't do DMA on stack
5655955e2035 [media] dvb-usb: don't use stack for firmware load
b86699b34fa2 mm: Tighten x86 /dev/mem with zeroing reads
d5b2bb5bd980 rtc: tegra: Implement clock handling
ac2ac7ec1681 x86/xen: Fix APIC id mismatch warning on Intel
a831c1987779 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
84170de6d3e2 nbd: fix 64-bit division
c429ae72cf29 nbd: use loff_t for blocksize and nbd_set_size args
1b141a09624f drm/nouveau/disp/mcp7x: disable dptmds workaround
76b43ba43287 mm: memcontrol: use special workqueue for creating per-memcg caches
72728f399c48 ext4: fix inode checksum calculation problem if i_extra_size is small
33046ab810d1 [media] dvb-usb-v2: avoid use-after-free
9ec073c459f4 ath9k: fix NULL pointer dereference
fcbe53258784 crypto: ahash - Fix EINPROGRESS notification callback
137b0eb0f463 crypto: algif_aead - Fix bogus request dereference in completion function
1ff725fc2f3a ftrace: Fix function pid filter on instances
de250a35cfc4 zram: do not use copy_page with non-page aligned address
6285713e76c7 char: lack of bool string made CONFIG_DEVPORT always on
d201330068bb ftrace: Fix removing of second function probe
1c89c5b0ae04 irqchip/irq-imx-gpcv2: Fix spinlock initialization
0f7c92a68fee pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
3618cee7ddb0 can: ifi: use correct register to read rx status
e9561d080af6 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
f65e33661a10 xen, fbfront: fix connecting to backend
f582e5052686 target: Avoid mappedlun symlink creation during lun shutdown
be322b49b2c8 scsi: sd: Fix capacity calculation with 32-bit sector_t
c5958346d28c scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
303fe475c738 scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
86efd3fc929b scsi: sr: Sanity check returned mode data
edadf1178d73 iscsi-target: Drop work-around for legacy GlobalSAN initiator
1f501b60dde5 iscsi-target: Fix TMR reference leak during session shutdown
2cb216efc35f efi/fb: Avoid reconfiguration of BAR that covers the framebuffer
57765d387d5f efi/libstub: Skip GOP with PIXEL_BLT_ONLY format
d90cac84a86b ACPI / scan: Set the visited flag for all enumerated devices
5abbbaefcd3e x86/vdso: Plug race between mapping and ELF header setup
920f423183ee x86/vdso: Ensure vdso32_enabled gets set to valid values only
f4426d1f0c68 x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
0624cecc272a x86/signals: Fix lower/upper bound reporting in compat siginfo
9dcf17398d35 perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
774eb28fa29d Input: xpad - add support for Razer Wildcat gamepad
da3214318021 CIFS: store results of cifs_reopen_file to avoid infinite wait
4c8f2f3e96f7 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
fe2c5a1cab29 drm/nouveau/mpeg: mthd returns true on success now
4f0d2ae5a754 zsmalloc: expand class bit
14826db7e76f thp: fix MADV_DONTNEED vs clear soft dirty race
307ea67867f7 thp: fix MADV_DONTNEED vs. MADV_FREE race
84fcd4c616b3 tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
50a18a2c13e7 tcmu: Fix wrongly calculating of the base_command_size
04129b9eac53 tcmu: Fix possible overwrite of t_data_sg's last iov[]
1a96c4236345 cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
5af2034c5fa7 dma-buf: add support for compat ioctl
47dc33b02d9f net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
ca1cf7fa5e89 net/mlx4_core: Fix racy CQ (Completion Queue) free
c5d6272b48da net/mlx4_en: Fix bad WQE issue
0cbe1ba52ac8 usb: hub: Wait for connection to be reestablished after port reset
7e3909e459be blk-mq: Avoid memory reclaim when remapping queues
e53675310932 net/packet: fix overflow in check for priv area size
9f81b537bdcd crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
685e2f71d3d7 crypto: caam - fix RNG deinstantiation error checking
4b8d172d131a MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
06f41eff1758 MIPS: Switch to the irq_stack in interrupts
c48b1c1a49a2 MIPS: Only change $28 to thread_info if coming from user mode
43862dab7d91 MIPS: Stack unwinding while on IRQ stack
7f8386a79663 MIPS: Introduce irq_stack
0f13c368b848 mtd: bcm47xxpart: fix parsing first block after aligned TRX
009b4b307221 rt2x00: Fix incorrect usage of CONFIG_RT2X00_LIB_USB
f436af7dd007 rt2x00usb: do not anchor rx and tx urb's
ee88a8be30c3 rt2x00usb: fix anchor initialization
ff61181a39f4 i2c: bcm2835: Fix hang for writing messages larger than 16 bytes
eb4750b18bbf orangefs: fix buffer size mis-match between kernel space and user space.
72b953eed0ad drm/i915: Stop using RP_DOWN_EI on Baytrail
1701d71fc709 drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
a8a385efec43 drm/i915: Nuke debug messages from the pipe update critical section
d6e319631aec drm/i915/gen9: Increase PCODE request timeout to 50ms
440e2c3517e5 usb-storage: Add ignore-residue quirk for Initio INIC-3619
dd3716075af6 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
99219a2e9f79 x86/reboot/quirks: Add ASUS EeeBook X205TA reboot quirk
4c3ef6907d0d platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
95315644bbf7 platform/x86: asus-wmi: Set specified XUSB2PR value for X550LB
b590aade4894 watchdog: s3c2410: Fix infinite interrupt in soft mode
6fdc067c889b PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
2141fdc4e698 PCI: Sort the list of devices with D3 delay quirk by ID
0ccdd4e7d8fe mmc: sdhci-of-esdhc: remove default broken-cd for ARM
eb6e770ac347 PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
1b87711b21ed PCI: Add Broadcom Northstar2 PAXC quirk for device class and MPSS
59b53425ef16 ARM: smccc: Update HVC comment to describe new quirk parameter
8d0029108932 drm/msm/adreno: move function declarations to header file
d327e7b178fe firmware: qcom: scm: Fix interrupted SCM calls
71ea9cad84ef arm: kernel: Add SMC structure parameter
ebb1ca9607ad ASoC: sun4i-i2s: Add quirks to handle a31 compatible
72f6e982940a ACPI: save NVS memory for Lenovo G50-45
e362b1d5bfe9 ASoC: Intel: cht_bsw_rt5645: add Baytrail MCLK support
535fcee36f5b ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
b1ed3fbd993c ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10
eee473322818 ASoC: codecs: rt5670: add quirk for Lenovo Thinkpad 10
beca997c156f ASoC: rt5670: Add missing 10EC5072 ACPI ID
1c8321c341da ACPI / button: Change default behavior to lid_init_state=open
2b02ab5f7391 sata: ahci-da850: implement a workaround for the softreset quirk
11f02d8d7fe6 PCI: Add ACS quirk for Intel Union Point
9acd4d7d243a ARM: dts: STiH407-family: set snps,dis_u3_susphy_quirk
61df7a67273c drm/mga: remove device_is_agp callback
0a834595f470 usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
d0f8f71e4164 usb: dwc3: Add revision numbers for the USB 3.0 IP
51ea9fa290a8 usb: host: xhci-plat: enable BROKEN_PED quirk if platform requested
65e185bbe4d0 usb: xhci: add quirk flag for broken PED bits
12757d3bd930 ARM: davinci: PM: support da8xx DT platforms
cbb4822bc2c5 Input: gpio_keys - add support for GPIO descriptors
36a721bb8fac serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
5fc8dd1fcaf5 usb: chipidea: msm: Rely on core to override AHBBURST
9a07b4bc1627 scsi: ufs: issue link starup 2 times if device isn't active
1afa312a5792 scsi: ufs: introduce a new ufshcd_statea UFSHCD_STATE_EH_SCHEDULED
10c3c4d5694e drm/i915: actually drive the BDW reserved IDs
b1451c6b586c drm/i915: more .is_mobile cleanups for BDW
3afb3167148c drm/i915: fix INTEL_BDW_IDS definition
955982e63676 drm/i915: Remove .is_mobile field from platform struct
bc30de19926a drm/edid: constify edid quirk list
4942997e5413 HID: usbhid: Add quirk for Mayflash/Dragonrise DolphinBar.
07a85162b9b8 HID: usbhid: Add quirk for the Futaba TOSD-5711BB VFD
62dce069c3e7 nvme: simplify stripe quirk
38bbd1f16854 platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family
2135d9cd273b ALSA: usb-audio: Add native DSD support for TEAC 501/503 DAC
1fc78f3d70c3 PCI: Expand "VPD access disabled" quirk message
508e2ef86c69 ALSA: usb-audio: add implicit fb quirk for Axe-Fx II
0c79032c962a scsi: ufs: add quirk to increase host PA_SaveConfigTime
a3cc3396dc8f PCI: thunder-pem: Factor out resource lookup
6f35e25c8609 arm64: PCI: Add local struct device pointers
d529876b02ee arm64: PCI: Manage controller-specific data on per-controller basis
30c5d2cf21f2 x86/intel_idle: Add CPU model 0x4a (Atom Z34xx series)
fade24327d61 svcauth_gss: Close connection when dropping an incoming message
cc8fc2110982 scsi: ufs: ensure that host pa_tactivate is higher than device
ae98a7756e77 mmc: sdhci-msm: Enable few quirks
b1a90b94df54 HID: multitouch: do not retrieve all reports for all devices
3d6c18b57d87 HID: multitouch: enable the Surface 3 Type Cover to report multitouch data
76cc100d5055 HID: microsoft: Add Surface 4 type cover pro 4 (JP)
56974903bdfc HID: sensor-hub: add quirk for Microchip MM7150
3aa2d02479fb HID: sensor-hub add quirk for Microsoft Surface 3
dad6aeb660e1 scsi: ufs: introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
e1ce839b3c12 scsi: ufs: Enable no vccq quirk for skhynix device
61ebc76124e1 clocksource/drivers/arm_arch_timer: Don't assume clock runs in suspend
7d0017bedd43 net/mlx4_core: Use device ID defines
5f376717da59 HID: i2c-hid: add a simple quirk to fix device defects
b50df0349088 HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters
377bf00a97dd clk: lpc32xx: add a quirk for PWM and MS clock dividers
28b80486dd11 random: use chacha20 for get_random_int/long
5c14ae6c7827 mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
c47efb0b87cf Documentation: stable-kernel-rules: fix stable-tag format
fa71007c6e60 MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
d28f0f2ce69a MIPS: Flush wrong invalid FTLB entry for huge page
2d39761a305e MIPS: Add MIPS_CPU_FTLB for Loongson-3A R2
f4546c48295c MIPS: Check TLB before handle_ri_rdhwr() for Loongson-3
0f0cb6322f50 MIPS: Lantiq: fix missing xbar kernel panic
01b1e6e66f38 MIPS: End spinlocks with .insn
aa476702873f MIPS: ralink: Fix typos in rt3883 pinctrl
003987fb012a MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
3788f4d19762 s390/uaccess: get_user() should zero on failure (again)
a18a3a40ad5d s390/decompressor: fix initrd corruption caused by bss clear
cf251fc84ece nios2: reserve boot memory for device tree
c9c6823c8113 dm raid: fix NULL pointer dereference for raid1 without bitmap
c51b530047c4 powerpc/crypto/crc32c-vpmsum: Fix missing preempt_disable()
38494d50d37a powerpc: Don't try to fix up misaligned load-with-reservation instructions
e00fe427b686 powerpc/64: Fix flush_(d|i)cache_range() called from modules
7fd934338c40 powerpc/kernel: Use kprobe blacklist for asm functions
c2517a0fb5c0 powerpc/mm: Add missing global TLB invalidate if cxl is active
d29bfd4a2a5c powerpc: Disable HFSCR[TM] if TM is not supported
9413b2816e7d metag/usercopy: Add missing fixups
60e688fa135c metag/usercopy: Fix src fixup in from user rapf loops
3bd77f9b75ff metag/usercopy: Set flags before ADDZ
78ba0a0bc796 metag/usercopy: Zero rest of buffer from copy_from_user
23fe537faf0a metag/usercopy: Add early abort to copy_to_user
f93708a2faf5 metag/usercopy: Fix alignment error checking
8a27f50ba14b metag/usercopy: Drop unused macros
d3226caf07b4 brcmfmac: use local iftype avoiding use-after-free of virtual interface
b4b6d1cb7013 ring-buffer: Fix return value check in test_ringbuffer()
d06668b5c696 xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
f135506f5ce4 dm verity fec: fix bufio leaks
d10b19745ca0 dm verity fec: limit error correction recursion
9536055f1ec5 ptrace: fix PTRACE_LISTEN race corrupting task->state
bf895e98cfcb mm/page_alloc.c: fix print order in show_free_areas()
93fb8a316b99 Reset TreeId to zero on SMB2 TREE_CONNECT
00a743bf7f88 cfg80211: check rdev resume callback only for registered wiphy
75479ff29b44 arm64: mm: unaligned access by user-land should be received as SIGBUS
4e28a700651d iio: bmg160: reset chip when probing
89d631362aab kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
d52401c31a5f arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
73ba7e664274 arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
6f5c6ce2d9e9 staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
a9edcc5125e7 sysfs: be careful of error returns from ops->show()
f9b7f08dea27 drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
b2e8f39a707a drm/vmwgfx: Remove getparam error message
a339fb1acddf drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
7394c14ce409 drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
2ba060df6cd2 drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
f752c3934126 drm/vmwgfx: Type-check lookups of fence objects
(From OE-Core rev: 49dea7745d3f8e182566cb6bdf79e7b03560a699)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using multilib configurations either on arm/arm64 and x86/x86-64
python3 failed to execute due to a failure when looking for its
platform independent and dependent libraries.
This patch fixes this issue by assigning lib_python to the appropriate
macro.
[YOCTO #10812]
(From OE-Core rev: 8ef5c0511e51b82eaa45865df42ecbb2deeb7350)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream init script uses SIGUSR2 to terminate that daemon because
SIGTERM is ignored. As the killproc function does not support specifying
a signal, switch to start-stop-daemon. Drop the retry loop because
SIGUSR2 is lethal for agent.
(From OE-Core rev: 1e6235de0a3f6302cee37332f03b1ba403c789d1)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a conffile has been deleted (common when building a debugfs) the status
command will throw errors instead of handling that situation. Stop the code
being executed in the first place if it wasn't asked for, and handle errors
gracefully.
[ YOCTO #10761 ]
(From OE-Core rev: c32bca840d262ebc5ac93b06d0bce79729a178b1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libevdev configure script contains an unconditional check for
libcheck. If libcheck is found, libevdev unit tests will be built.
Without a dependency, the presence of libcheck in sysroot is non
deterministic (in morty and earlier) and builds can fail if libcheck
is available during do_configure but not during do_compile.
(In pyro and later, the libcheck dependency is not required to make
libevdev builds deterministic due to recipe specific sysroots).
(From OE-Core rev: 9dc52a9959b05c9fa548f1991366f29ae873a793)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since 2017-08-17 (git version 2.14.1.473.g3ec7d702a) using deprecated
git branch parameter "--set-upstream" causes a fetcher error. Replace
it by "--set-upstream-to".
https://git.kernel.org/pub/scm/git/git.git/commit/?id=52668846ea2d41ffbd87cda7cb8e492dea9f2c4d
says, it's deprecated since 2012-08-30 so hopefully all still supported
host distributions have new enough git to support "--set-upstream-to".
ERROR: PACKAGE do_unpack: Fetcher failure: ...;
git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master failed with exit code 128, output:
fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
ERROR: PACKAGE do_unpack: Function failed: base_do_unpack
(Bitbake rev: 991b533f1d61042a7b3edd1fbf3dea0bf9991606)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WPA2 is vulnerable to replay attacks which result in unauthenticated users
having access to the network.
* CVE-2017-13077: reinstallation of the pairwise key in the Four-way handshake
* CVE-2017-13078: reinstallation of the group key in the Four-way handshake
* CVE-2017-13079: reinstallation of the integrity group key in the Four-way
handshake
* CVE-2017-13080: reinstallation of the group key in the Group Key handshake
* CVE-2017-13081: reinstallation of the integrity group key in the Group Key
handshake
* CVE-2017-13082: accepting a retransmitted Fast BSS Transition Reassociation
Request and reinstalling the pairwise key while processing it
* CVE-2017-13086: reinstallation of the Tunneled Direct-Link Setup (TDLS)
PeerKey (TPK) key in the TDLS handshake
* CVE-2017-13087: reinstallation of the group key (GTK) when processing a
Wireless Network Management (WNM) Sleep Mode Response frame
* CVE-2017-13088: reinstallation of the integrity group key (IGTK) when
processing a Wireless Network Management (WNM) Sleep Mode Response frame
Backport patches from upstream to resolve these CVEs.
(From OE-Core rev: c79b479ab4b129007c6679bb0bdd8e2ec7ecb6ad)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
epitest.fi is down and hostap-utils source is now available in
w1.fi. So, move SRC_URI to https://w1.fi
Since hostap-utils is only meant for old Intersil Prism2/2.5/3 wifi cards,
this recipe will be removed from oe-core in future (most likely to
meta-handheld)
[YOCTO #12051]
(From OE-Core rev: 541b14c58132e8460a762617889bd5e3d736c1a4)
(From OE-Core rev: 0bc03289b775fefcb7f03e5463c79e4f96cd0b12)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Invisible Mirror FTP service is currently down, and FTP is horrible, so
switch to the HTTP mirror.
(From OE-Core rev: f31461f8ea11e82dbe14454a1149d9ec2120404d)
(From OE-Core rev: 4839f039036f3d72f9ef114a37500f9b498101df)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mirrors are not working so remove them. Simplify the SRC_URI as the archive in only in the older-releases dir.
(From OE-Core rev: 889cc3404255e9ba920909e90fbf3ab846a5d97a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Gentoo mirror also deletes old versions when they're not used, so revert
back to the canonical SourceForge site, adding /older-releases/ to MIRRORS to
handle new releases moving the version we want.
Original idea by Maxin B. John <maxin.john@intel.com>.
(From OE-Core rev: 791a3493c88c9c249f21f6d893b2061e1d8a0af6)
(From OE-Core rev: 16af873638830477a435574f1fedc643af2e2661)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hand applied to work with morty version
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer versions of gpg (at least 2.1.5 and 2.2.1) have issues when signing occurs in parallel
so (unfortunately) the signing must be done serially. Once the upstream problem is fixed,
this patch must be reverted, otherwise we loose all the intrinsic parallelism from
bitbake.
[YOCTO #12022]
(From OE-Core rev: 3aced3783b808449cd50f12684c061151861a1a5)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The high-level method tempfile.TemporaryDirectory give us no way to
ignore erros on removal thus use tempfile.mkdtemp instead. Ignoring possible issues
on removal is neccesary because it contains gpg sockets that are automatically removed
by the system once the process terminates, otherwise the following log is observed:
..
..
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.browser'
[YOCTO #11821]
(From OE-Core rev: e7f139c5d97a3871215c88c5bfc07ecf4e8fd7f3)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting the mainline commit, to fix gcc7 builds:
474c90156c [give up on gcc ilog2() constant optimizations]
We also integrate the 4.1.39 -stable update to pick up additional
fixes.
(From OE-Core rev: 774e0d3f429d383c55e9f54ab095f13694e1d8e6)
(From OE-Core rev: 7c816700d6f49c0e8fec142912738f36a7b1eb8c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit f0effea8716faae749a7d15003647d68fa0cabf7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KERNEL_IMAGETYPES lists all the kernel images that we want to build. in
cb17b6c2a7 (kernel.bbclass: support kernel image type of vmlinux.gz), some logic
was added to support vmlinux.gz which is not a target built by kernel
makefiles (only vmlinux). It is clear that the goal of this logic is only to
support vmlinux.gz and not others compressed format (such as Image.gz) which are
valid target for kernel makefiles.
For Image.gz we should rely on the kernel makefiles and not do the compression
in kernel class.
This patch updates the logic used to filter out non supported kernel target from
KERNEL_IMAGETYPES, and make vmlinux.gz a 'special case', instead of *.gz. If
more special cases are needed in the future, we could add them in a similar way.
This patch should be a no-op for anyone using vmlinux or vmlinux.gz, and on top
of that it is fixing the build for Image.gz which was not working until now.
(From OE-Core rev: 241cc3083f873743ac3551237acc62e55abbbf05)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cfc0c897656fe67e81a6a5dcd936dff785529f41)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All versions of the SDP server in BlueZ 5.46 and earlier are vulnerable to an
information disclosure vulnerability which allows remote attackers to obtain
sensitive information from the bluetoothd process memory. This vulnerability
lies in the processing of SDP search attribute requests.
(From OE-Core rev: 8878d599cbc48b700f393d94657fe39db06fd533)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newly added file in the last commit was corrupted, fix it.
(Bitbake rev: 7c9370f7fafc98e4c836255e72ff8acff1138997)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
eSDK testcases Ids were modified on testopia, hence there needs to be a change in the devtool script.
[YOCTO #11603]
(From OE-Core rev: b835e9bf9da6ebc8fd5728b4587470e9a57d5966)
Signed-off-by: libertad <libertad.cruz@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When selected multiple subimages a similar error could happend:
Variable do_image_cpio[subimages] value changed \
from 'cpio.gz.u-boot cpio.gz' to 'cpio.gz cpio.gz.u-boot'
To avoid this, 'ctypes' should be sorted at 'gen_conversion_cmds'.
This garantee that 'CONVERSION_CMD_xxx' are always written in tha same
order and consequently 'do_image_cpio' have the same hash.
(From OE-Core rev: 271f1a5f65b8685a1e3645026876251122ef3974)
(From OE-Core rev: 7401ef4d816030bd6844e2e1f1910ac86cdcbe70)
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the libc.so.6 dependency is detected always:
$ grep FILERDEPENDS BUILD-*/pkgdata/qemux86/runtime/localedef
BUILD-bad/pkgdata/qemux86/runtime/localedef:FILERDEPENDSFLIST_localedef: /usr/bin/localedef
BUILD-bad/pkgdata/qemux86/runtime/localedef:FILERDEPENDS_/usr/bin/localedef_localedef: libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6
BUILD-ok/pkgdata/qemux86/runtime/localedef:FILERDEPENDSFLIST_localedef: /usr/bin/localedef
BUILD-ok/pkgdata/qemux86/runtime/localedef:FILERDEPENDS_/usr/bin/localedef_localedef: libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6
* but in some builds the glibc dependency isn't built soon enough:
$ diff -uNr BUILD-*/pkgdata/qemux86/runtime/localedef
--- BUILD-bad/pkgdata/qemux86/runtime/localedef 2017-09-02 21:17:50.000000000 +0000
+++ BUILD-ok/pkgdata/qemux86/runtime/localedef 2017-09-11 10:15:49.954381592 +0000
@@ -6,6 +6,7 @@
LICENSE: GPLv2 & LGPLv2.1
DESCRIPTION_localedef: glibc: compile locale definition files
SUMMARY: Locale data from glibc
+RDEPENDS_localedef: glibc (>= 2.26)
SECTION: base
PKG_localedef: localedef
FILES_localedef: /usr/bin/localedef
and the build fails with QA issues:
http://errors.yoctoproject.org/Errors/Details/155529/
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.0), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.15), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.3), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.2), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.1), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6, but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
* reproducible with Yocto 2.2 Morty as well, with slightly different
error message:
ERROR: glibc-locale-2.24-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_localedef? [file-rdeps]
* cherry-picked from master 2d2b4d7383c93174fe8eeb72440e81345df71295
(From OE-Core rev: 6c6a06bb806ecd496bb1c3ad723f074ccb454076)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This only started showing up now for some reason but it does seem like
a legitimate bug in Makefile.am.
(From OE-Core rev: f43290f6e302dbacf5581d1fe1c6c991dd387779)
(From OE-Core rev: 56eae27b3a7bd938d6959e5b671fc48ea2ab80c7)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using httpServer from python for sharing sstate is known to be buggy, it can't
cope with the number/type of requests coming from bitbake and quietly fails
to share files.
This causes intermittent build failures which are hard to debug. We can
use a file:// url for the sstate mirror instead, removing the need for
the http server.
The sdk-update test is simply dropped since the SDK is never published
to this location and hence it would never have any update. Its equiavalent
to pointing at an empty web server. There is a better eSDK update test in
testsdk so rather than improve this one, lets drop it and concentrate on
the one there.
(From OE-Core rev: 7606f05e48ad2e31650e3a56bfcd04b4fbfad1e3)
(From OE-Core rev: 840a317e8a5518dbd1a025381441e13e906519ff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lately autobuilders are experiencing hangs with selftest,
it seems it is cause if an error happens in setUpClass
method of oeSDKExtSelfTest class because HTTP server
keeps running in background.
This patch will ensure tearDownClass will be run if there
is an error in setUpClass.
(From OE-Core rev: eb1383949f76c6eb36f86c051057f761a71016a3)
(From OE-Core rev: 5dc68a378d9f4ec2c313ac395e91225a02e5b2c7)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Test case adds perl recipe before build eSDK.
2. After this added recipe, the script verifies the update:
${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh
oe-publish-sdk [esdk] [path-to-http]
CORE_IMAGE_EXTRA_INSTALL = "perl"
bitbake -c populate-sdk-ext [some-image]
devtool sdk-update
This should fix [YOCTO #9369]
(From OE-Core rev: 21bd406bf89e9ceafe1a807877406be817cacca6)
(From OE-Core rev: 7824ca273e7e4b25d4efe5461c0402833f535d06)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the error below when SSTATE_DIR is not "${BUILDDIR}/sstate-cache".
FileNotFoundError: [Errno 2] No such file or directory: '/xxx/../sstate-cache'
(From OE-Core rev: 785f0343d04c1684363b5289a3012cf7e1caa95f)
(From OE-Core rev: 9d04fe3a0ce7eb418cd48438e1699825904e2dfb)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates to a newer glibc and updates patchelf to include a bugfix
to work with gold.
(From OE-Core rev: a2ab288bd002ebb6e64d46e941fb122e1157ff49)
(From OE-Core rev: 32d172c25072251d6cc7fdd40929d76b5f1f5059)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades to a version of patchelf which works on newer distros
and doesn't inflate binaries in crazy ways.
(From OE-Core rev: b857ec92564ee3f23adf88d2675d920aff13e141)
(From OE-Core rev: 1496ae0ab32315537649dea7e5a22a16fae0a528)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getentropy/random() is only available in glibc 2.25+ and uninative may relocate
binaries onto systems that don't have this function. For now, force the code to
the older codepaths until we can come up with a better solution for this kind of
issue.
(From OE-Core rev: 92bda0024d85ae78345665cc2f9646c9881ed61b)
(From OE-Core rev: 2dc6ee0c520442418fa14cf3fe12b059209e9ab7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes compile failures of qemu-native with new versions of glibc. Patch
is taken from upstream.
(From OE-Core rev: b1b7a46f0febe7ac17ec46ecdf88b4120a7d75c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, SRCREV is set to AUTOREV, causing mismatch between PV and the kernel
version shown in the makefile (see below to see the bitbake log). The solution
is to comment the lines which defaults SRCREV to AUTOREV, leaving the previous
comment to replace the SRCREVs for real ones once kernel changes are done.
ERROR: linux-yocto-4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1
do_kernel_version_sanity_check: Package Version (4.8.12+gitAUTOINC
+4fb6f24600_d4148a2064) does not match of kernel being built (4.8.21).
Please update the PV variable to match the kernel source.
ERROR: linux-yocto-4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1
do_kernel_version_sanity_check: Function failed:
do_kernel_version_sanity_check (log file is located
at ../tmp/work/myqemu-poky-linux/linux-yocto/4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1/temp/log.do_kernel_version_sanity_check.17509)
[YOCTO #11064]
(From meta-yocto rev: 51a42001c39d1b7c8170cc84904fa915295f1358)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dnsproxy: Fix crash on malformed DNS response
If the response query string is malformed, we might access memory
pass the end of "name" variable in parse_response().
[YOCTO #11959]
(From OE-Core rev: fb3e30e45eea2042fdb0b667cbc2c79ae3f5a1a9)
(From OE-Core rev: 55a5a609e7c25fa3e62e1975a33a9cc10448165c)
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Conflicts:
meta/recipes-connectivity/connman/connman_1.33.bb
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently runqemu hardcodes the "ip=" kernel boot parameter
when configuring QEMU to use tap or slirp networking. This makes
the guest system to have a network interface pre-configured
by kernel and causes systemd to fail renaming the interface
to whatever pleases it:
Feb 21 10:10:20 intel-corei7-64 systemd-udevd[201]: Error changing
net interface name 'eth0' to 'enp0s3': Device or resource busy,
Always append user input for kernel boot params after the ones
added by the script. This way user input has priority over runqemu's
default params.
(From OE-Core rev: 3f68b5c8d24b52aed5bb3ed970dd8f779b65b1b3)
(From OE-Core rev: 6050b4ac146722d6714589225ad58ccc26c9ca32)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It isn't clear that the README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file in the deploy directory warrants the complexity it brings elsewhere.
Let's just remove it entirely.
In particular, if two do_image_complete tasks run in parallel they risk
both trying to put their image into ${DEPLOY_DIR_IMAGE} at the same time.
Both will contain a README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file. In theory this should be safe because "cp -alf" will just cause one
to overwrite the other. Unfortunately, coreutils cp also has a race[1]
which means that if one copy creates the file at just the wrong point the
other will fail with:
cp: cannot create hard link ‘..../tmp-glibc/deploy/images/pantera/README_-_DO_NOT_DELETE_FILES_IN_THIS_D.txt’ to
+‘..../tmp-glibc/work/rage_against-oe-linux-gnueabi/my-own-image/1.0-r0/deploy-my-own-image-complete/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt’: File exists
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25680
(From OE-Core rev: 71e9e88847d7000781642ea6187ebd8f40dfdcfe)
(From OE-Core rev: 20c39fdbb25c1b1867709c5bfb3ae2baef249be9)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package_qa_check_rdepends() in insane.bbclass has
incorrectly replace its localdata OVERRIDES value with
the package name. Fixing it by appending the package name
to the existing OVERRIDES value. This resolves RDEPENDS QA
error when setting PACKAGECONFIG using a pn- override at
local.conf.
Cherry picked from master 60d28dd72daee235150ab6605cbf953f1ea691df
and modified to work with older bitbake where 2nd parameter in
localdata.getVar was mandatory.
[YOCTO #11374]
(From OE-Core rev: 15fabf4d6507d2a3f9b98ad56e822eba35950662)
Signed-off-by: Gan Yau Wai <yau.wai.gan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* without this we cause nativesdk-linux-libc-headers to depend
on target specific KERNEL_CC (through icecc_get_tool ->
icecc_is_kernel -> KERNEL_CC -> HOST_CC_KERNEL_ARCH ->
TARGET_CC_KERNEL_ARCH -> TUNE_FEATURES(thumb) as shown by
bitbake-diffsigs:
OE qemux86@ ~/build/oe-core $ ls /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemuarm/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.3a9a423878d56524e0ee8e42eba1804f
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemux86/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.401071dbaa88903ece37d35a47965ff2
OE qemux86@ ~/build/oe-core $ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
basehash changed from 39774238b66763c598153132e87a2c1a to aa2d66e770bf533e312536eb0a401c4c
Variable TARGET_CC_KERNEL_ARCH value changed from '${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork-marm', '', d)} TUNE_FEATURES{thumb} = Set' to ''
(From OE-Core rev: 6aa5dcc472e6be971a4cef06aab5c1c125367eca)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it reports at least 2 issues in every build (this file in
native and target sysroot) add it to whitelist
(From OE-Core rev: f15f98c2da473a2597e5178058e4855b5d5ac5ec)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* format of bitbake tasks changed in:
2c88afb taskdata/runqueue: Rewrite without use of ID indirection
-ERROR: Task 4 (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb, do_fetch) failed with exit code '1'
+ERROR: Task /OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch) failed with exit code '1'
so strip not only '\.bb, .*' used before, but also '\.bb:.*' to drop
the task name to get recipe name.
* for more details see:
http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123132.html
* without this change you can see test-dependencies.sh trying to rebuild packages
like:
Building recipe: fbprogress (6/21)
Building recipe: fbprogress.bb:do (7/21)
where the later of course doesn't exist as a recipe
(From OE-Core rev: 1cea8997f7ce2d6a137d3648b4942a27e2c6e62e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have more than one CONVERSION_CMD being used, for example
ext4.gz.sha256sum we will see errors about "metadata is not
deterministic". This is because we do not have a stable order of
intermediate files that will be removed in the generated shell command.
We fix this by calling sorted() on the set of rm_tmp_images so that we
will have a stable hash again.
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: a786b59a42e6b49229e2e0633728fd7b268438a9)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98a2afeb3a53bec7a72a4a9846e1dba636cc6f3d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When chaining of compression/conversion types was added, we had a new
way to handle doing things like "ext4.bz2.sha256sum" or
"ext2.gz.u-boot". However, because the U-Boot image class isn't
included normally, it wasn't properly converted at the time. After the
support was added the "clean" argument that the .u-boot code uses no
longer functions. The fix for this inadvertently broke chaining
compression/conversion. First, correct the u-boot conversion code.
Fixes: 46bc438374de ("image.bbclass: do exact match for rootfs type")
Cc: Zhenhua Luo <zhenhua.luo@nxp.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: e1546856890a438b5ea3763af3cdc13db8e8f236)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0a7ce0b971a208956cb895ba5a869ec8c5d94703)
excluded lz4 and lzo chnages
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a unit has a statement such as User=0day where the username exists but is
strictly speaking invalid, the unit will be started as the root user instead.
Backport a patch from upstream to mitigate this by refusing to start units such
as this.
(From OE-Core rev: e56cb926c170f493ee2a9c4c63d0ecbf883d4685)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The addition of missing.h to user-utils.c was done in v230 with 0b6b45d5.
(From OE-Core rev: b9e5a58f64e45be37b9532b20bf22d91257abbd6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe name needs to be escaped when using it in a regular expression so
that and special characters are treated literally
(From OE-Core rev: a26d12e43059fe37c843d3ff9480ead2e796e21f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since GENTOO_MIRROR removes older binaries, move back to
SOURCEFORGE_MIRROR. Also provide a MIRROR to "older-releases"
directory.
[YOCTO #11556]
(From OE-Core rev: 2340d0d244ea8eb3568d6ce06dd751bedf93eb1e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-sysv-generator translate sysv services on rcS runlevel to
services that starts before sysinit.target. This behavour conflict
with default dependency on same tartget.
String that define "DefaultDependency=no" was lost from patch for
sysv generator during porting patches to systemd 229 in commit
64ab17b707.
Current commit returns changes required for services that work on
rcS runlevel.
(From OE-Core rev: 5c0a87c94ab086514039f2f8d0e9b06daa2179a7)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream lsof releases are hosted on an ftp server which times out
download attempts from hosts for which it can not perform a DNS
reverse-lookup. See:
https://people.freebsd.org/~abe/http://www.mirrorservice.org seems to be the most commonly used
alternative (and using it for SRC_URI allows the custom
UPSTREAM_CHECK_URI to be removed).
(From OE-Core rev: ac31b1b2eaa22d32c5c3e7dcb6fa4f66303123e0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 4e718242c1554021689a7946add055b22b81ec42)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having 'lsof' as a +s (setuid) binary could lead to security issues if
a compromise in the binary is found. It is better that it be -s by
default as a precaution.
(From OE-Core rev: 4ea593aed96129c58e6bc24df71334c2a2bccff0)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 346c65dd6855106069d1861ca965d3121eb084d1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Total number of partitions should be taken into account when calculating
real partition number for msdos partition table. The number can be
different for the 4th partition: it can be 4 if there are 4 partitions in
the table and 5 if there are more than 4 partitions in the table. In the
latter case number 4 is occupied by extended partition.
[YOCTO #11790]
(From OE-Core rev: a1d18c00b8c9ce800a5147eaa71372083b8ae91e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A vulnerability was found in a way bash expands the $HOSTNAME.
Injecting the hostname with malicious code would cause it to run
each time bash expanded \h in the prompt string.
Porting patch from <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/
bash43-047> to solve CVE-2016-0634
CVE: CVE-2016-0634
(From OE-Core rev: 7dd6aa1a4bf6e9fc8a1998cda6ac5397bb5cd5cb)
(From OE-Core rev: a4b37b05140b549960baef49237ce3316e84a041)
(From OE-Core rev: a75c9657f785be3b2d14b10a7044105329c88e8a)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is heavily based on the oe-core master commit with the same
subject, but includes a backport of upstream's fix for the fallthrough
warnings rebased to 0.166 (the oe-core patch which targeted 0.168 did
not apply), a rebase of the format-truncation patch, and a backport of
the upstream format-length patch.
Info from OE-Core master patch follows:
From OE-Core rev: aaf4c4f3d09ac3897205417eb15e19d54e0c0d05
From: Joshua Lock <joshua.g.lock@intel.com>
Backport a fix from upstream for a -Wformat-truncation=2 warning
and implement a simple fix for a -Wimplicit-fallthrough warning.
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 3b91be97ae8c36cd6bad86fed992efc9800f4c9e)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building gcc-cross-initial with GCC7 on the host fails due to the
comparison of a pointer to an integer in ubsan_use_new_style_p, which
is forbidden by ISO C++:
ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and
integer [-fpermissive]
|| xloc.file == '\0' || xloc.file[0] == '\xff'
Backport the fix from upstream GCC to enable the build with GCC 7
(From OE-Core rev: 7a7fcbab0365b9501c737dbc02715be14dda72a3)
(From OE-Core rev: ad685600d52b2e8b6f4cdbf46baa9f14b51565dd)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
| /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
| /usr/bin/ld: final link failed: Bad value
(From OE-Core rev: 9e6a0da06aa832fbce06326622744b2a5ab9c091)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0a19e72081771fca8ed94fb2a2a8996fd3dce00c)
Signed-off-by: Mirza Krak <mirza.krak@endian.se>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you want to be able to use -fstack-protector then you need the
runtime support - you can either write this yourself or use libssp
supplied with GCC. If you're using GCC then it seems likely that you'd
just be using libssp, so include in the SDK by default; however use
RRECOMMENDS just in case it's been disabled or you aren't using GCC.
(From OE-Core rev: 6c990655e35bb3a14d59555662ec5802c9980028)
(From OE-Core rev: 69b5643ec66e1495c9d805736d8765a06f67416c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mkfs may create EXT file systems which can only be optimized by fsck
and not by itself, e.g. directory optimization (in Pass 3A).
To prevent those optimizations during runtime, it will be performed after
the creation of an EXT file system.
(From OE-Core rev: b8af7c10637c14b2c226fb7063b736755ee46802)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fsck.ext will return an error code of 1 if a file systems was checked
and successfully repaired. Even when an optimization was performed it
will return this error code.
This patch will change the error code to 0 if only optimizations had
changed the file systems.
The reason for this patch is a question I asked at the ext4 ML:
http://www.spinics.net/lists/linux-ext4/msg55700.html
Backport from git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
Based on commit bf9f3b6d5b10d19218b4ed904c12b22e36ec57dd
(From OE-Core rev: 34ccb6b66162400c3a3164cbdcca02fc1b42c92b)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patches are in upstream.
Rebase monitor-option.patch and no-msgfmt-check.patch
Add support for python 3 probes
(this necessitates the 0001-Do-not-let-configure-write-a-python-location-into-th.patch
and the Add 0001-Install-python-modules-to-correct-library-dir.patch to
install python modules to correct destination).
Add perl to RDEPENDS to fix a QA warning about one of the installed files.
(From OE-Core rev: e3bccfba499565ea13f154a11dadcab48ef5e0ab)
(From OE-Core rev: 74f390351bdf5b8749cba6e2345ef14d3ff9f077)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integration the -stable updates to 4.8, which comprise the following
commits:
ae51b3b4efe6 Linux 4.8.24
accb950219c0 nvme/pci: Disable on removal when disconnected
995be68699ef padata: avoid race in reordering
bea2fdcc6d3e blk: improve order of bio handling in generic_make_request()
26690f5a8bdf mm: workingset: fix premature shadow node shrinking with cgroups
f52ade55d6e9 MIPS: Lantiq: Fix cascaded IRQ setup
feae78cdcaef ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
e36a1a1a9695 ARM: BCM5301X: Add back handler ignoring external imprecise aborts
26fbe60844a9 mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
d15202219abe mm: rmap: fix huge file mmap accounting in the memcg stats
72f38e33793c x86/mce: Fix copy/paste error in exception table entries
9e08a6f8e64e x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization
100aa553e31b x86/mm/64: Enable KASLR for vmemmap memory region
2e5c45495433 drm/etnaviv: (re-)protect fence allocation with GPU mutex
7f160b149090 drm/vc4: Allocate the right amount of space for boot-time CRTC state.
38cdfd6153cf drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
ccd0fc5589ca KVM: kvm_io_bus_unregister_dev() should never fail
332e2ac55d3b KVM: x86: clear bus pointer when destroyed
fcbdbe1290d6 serial: mxs-auart: Fix baudrate calculation
3b7bb3391f62 USB: fix linked-list corruption in rh_call_control()
5f004babfd46 tty/serial: atmel: fix race condition (TX+DMA)
4509ea7b4349 ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
12fddf4d255f ACPI: Fix incompatibility with mcount-based function graph tracing
8805bbdea121 nfsd: map the ENOKEY to nfserr_perm for avoiding warning
1fa18f8fad45 mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection
3a0df02f0387 mmc: sdhci: Disable runtime pm when the sdio_irq is enabled
d742580939f5 ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer
726514355250 ASoC: atmel-classd: fix audio clock rate
0dd77376bd45 ALSA: hda - fix a problem for lineout on a Dell AIO machine
12788ff3a917 ALSA: seq: Fix race during FIFO resize
5ccedc21345f PCI: iproc: Save host bridge window resource in struct iproc_pcie
61b133e83718 scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function
ae4a71a0b8b4 scsi: scsi_dh_alua: Check scsi_device_get() return value
1b82bcc866c3 scsi: libsas: fix ata xfer length
0b9b5b603f27 scsi: sg: check length passed to SG_NEXT_CMD_LEN
8b02a4b8e3b3 xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask
a8eded7e1484 xfs: tune down agno asserts in the bmap code
7650b45a6dd8 xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment
e9d4a4b55c86 xfs: don't reserve blocks for right shift transactions
81f456210999 xfs: split indlen reservations fairly when under reserved
842c9d864561 xfs: handle indlen shortage on delalloc extent merge
f90db61ed148 xfs: don't fail xfs_extent_busy allocation
590e612677e2 xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
c493142b3a2c xfs: verify free block header fields
4dda58920fb9 xfs: check for obviously bad level values in the bmbt root
0faf06ef8b24 xfs: filter out obviously bad btree pointers
6974d828ce0c xfs: fail _dir_open when readahead fails
365ec079aeeb xfs: fix toctou race when locking an inode to access the data map
06a1dbe68823 xfs: fix eofblocks race with file extending async dio writes
fc1ff6abfb5d xfs: pull up iolock from xfs_free_eofblocks()
2de02a1aa708 xen/setup: Don't relocate p2m over existing one
bd37e332bc35 libceph: force GFP_NOIO for socket allocations
14d57fe1fcd3 sched/rt: Add a missing rescheduling point
461aa14a19df metag/ptrace: Reject partial NT_METAG_RPIPE writes
35d078d3b1f5 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
9519f4083b0d metag/ptrace: Preserve previous registers for short regset write
b2d2e181ebe4 sparc/ptrace: Preserve previous registers for short regset write
0a89a38ebbae mips/ptrace: Preserve previous registers for short regset write
a303cc3a707b h8300/ptrace: Fix incorrect register transfer count
576d881764eb c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
1661ca89ebd1 pinctrl: qcom: Don't clear status bit on irq_unmask
5c52be1e1c55 virtio_balloon: init 1st buffer in stats vq
171bd47e04fa KVM: x86: cleanup the page tracking SRCU instance
37c063abc015 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
f5e8896582a0 xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
ef704417015e xfrm: policy: init locks early
54b82b92b678 crypto: algif_hash - avoid zero-sized array
35a836ab3d9b fbcon: Fix vc attr at deinit
d64422cfc106 drm: reference count event->completion
5b8d397ea73a drm/bridge: analogix dp: Fix runtime PM state on driver bind
409d2330bd85 libceph: don't set weight to IN when OSD is destroyed
cb7f50af5964 Drivers: hv: vmbus: Don't leak channel ids
7d63e96a483f intel_th: Don't leak module refcount on failure to activate
bca70ad00096 blk-mq: don't complete un-started request in timeout handler
7ca7701e2615 cgroup, net_cls: iterate the fds of only the tasks which are being migrated
c3accccd8ebe cpufreq: Restore policy min/max limits on CPU online
42ec5a5b3f7a arm64: kaslr: Fix up the kernel image alignment
b74685fc49ce ARM: at91: pm: cpu_idle: switch DDR to power-down mode
cba43efed603 Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"
a54b0f345230 xen/acpi: upload PM state from init-domain to Xen
3700c9549893 crypto: ccp - Assign DMA commands to the channel's CCP
c05851c95c30 clk: sunxi-ng: mp: Adjust parent rate for pre-dividers
298b4bcbee9e mmc: sdhci: Do not disable interrupts while waiting for clock
d3bde483cd4e mmc: sdhci-of-arasan: fix incorrect timeout clock
1a0c2899c1fc mmc: sdhci-of-at91: Support external regulators
512b6b14b972 mmc: sdhci: Rename sdhci_set_power() to sdhci_set_power_noreg()
fcc465466352 powerpc/64s: Fix idle wakeup potential to clobber registers
e31490f131bd ext4: lock the xattr block before checksuming it
9515b8a3e59d ext4: mark inode dirty after converting inline directory
ee78dd996a48 parport: fix attempt to write duplicate procfiles
7aa1f90f7bc9 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
46ed5a6a0317 iio: sw-device: Fix config group initialization
4fd6237dcb15 iio: adc: ti_am335x_adc: fix fifo overrun recovery
10481fe5bcc5 mmc: ushc: fix NULL-deref at probe
b18275c8ca06 uwb: hwa-rc: fix NULL-deref at probe
90f875db3d83 uwb: i1480-dfu: fix NULL-deref at probe
fedb7364f161 USB: usbtmc: fix probe error path
19ab12977470 USB: usbtmc: add missing endpoint sanity check
d2f6089a604a usb: hub: Fix crash after failure to read BOS descriptor
4fe7f56d5936 usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
c314f1d496b3 USB: wusbcore: fix NULL-deref at probe
67ca7e6fbefe USB: idmouse: fix NULL-deref at probe
979ce26d7e67 USB: lvtest: fix NULL-deref at probe
bc5daa8fcb39 USB: uss720: fix NULL-deref at probe
778e23f6cd77 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
8d38a9d16950 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
ac5c5689dd1e ACM gadget: fix endianness in notifications
8e39a4d96fa0 USB: serial: qcserial: add Dell DW5811e
d3e557a5e277 USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
0ff11fc75667 ALSA: hda - Adding a group of pin definition to fix headset problem
73ac94f75f27 ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
ed79a62ce3b5 Input: sur40 - validate number of endpoints before using them
9f4a9350c962 Input: kbtab - validate number of endpoints before using them
535ecfd9ce37 Input: cm109 - validate number of endpoints before using them
d4d90cc1939b Input: yealink - validate number of endpoints before using them
6cd3c938420d Input: hanwang - validate number of endpoints before using them
114ea08f2b53 Input: ims-pcu - validate number of endpoints before using them
8e536247967f Input: iforce - validate number of endpoints before using them
d8e9da7cf4d2 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
d7bd4ff902d4 Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
15cbc365f36f tcp: initialize icsk_ack.lrcvtime at session start time
8d816936cb47 socket, bpf: fix sk_filter use after free in sk_clone_lock
599dca4e637a ipv4: provide stronger user input validation in nl_fib_input()
4dce5676bf12 net: bcmgenet: remove bcmgenet_internal_phy_setup()
e54a886d9c7e ipv6: make sure to initialize sockc.tsflags before first use
de7b203e7a07 net/mlx5e: Count LRO packets correctly
7e3b2755ae57 net/mlx5e: Count GSO packets correctly
0bb7b7ed9983 net/mlx5: Increase number of max QPs in default profile
de1454d45e43 net/mlx5: Add missing entries for set/query rate limit commands
aea1c1b15494 net: vrf: Reset rt6i_idev in local dst after put
30467a2d6a10 qmi_wwan: add Dell DW5811e
74a4f76fd1ac net: unix: properly re-increment inflight counter of GC discarded candidates
b4927d54c638 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD
d98fc268e284 amd-xgbe: Fix jumbo MTU processing on newer hardware
4ceda29faefa net: properly release sk_frag.page
42603fb986e2 net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
40dbeb5b15df net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
81ecfc287d5a cgroup/pids: remove spurious suspicious RCU usage warning
b488f503b905 percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
1924ae622fd9 gfs2: Avoid alignment hole in struct lm_lockname
e279f259f3e2 isdn/gigaset: fix NULL-deref at probe
0907a6cf5831 target: Fix VERIFY_16 handling in sbc_parse_cdb
6d71fefbf405 scsi: libiscsi: add lock around task lists to fix list corruption regression
4835fd5ad7aa scsi: lpfc: Add shutdown method for kexec
93ecb4c0e2cf target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
e5660310dac8 powerpc/boot: Fix zImage TOC alignment
8ce12dd199ac cpufreq: Fix and clean up show_cpuinfo_cur_freq()
4d5c2d2099a8 perf/core: Fix event inheritance on fork()
f7b9504c680d perf/core: Fix use-after-free in perf_release()
848b0d18a847 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
fbb1e639d3e1 qla2xxx: Fix request queue corruption.
60d674590d02 qla2xxx: Fix memory leak for abts processing
e5e1af16aeae give up on gcc ilog2() constant optimizations
2401ecb47c7f drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state.
c495444e18c6 drm/vc4: Fix termination of the initial scan for branch targets.
97b74d794fa3 Linux 4.8.23
5d2e054aa127 crypto: powerpc - Fix initialisation of crc32c context
30eacf198cab locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y
6ceef14519cd futex: Add missing error handling to FUTEX_REQUEUE_PI
0596ef2a1984 futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
e0421c6f49b0 x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
b88efae3588c x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
429bf916381e x86/tsc: Fix ART for TSC_KNOWN_FREQ
5eb6ff068525 drm/vc4: Fix ->clock_select setting for the VEC encoder
4a3f522f63ab drm/vc4: Fix race between page flip completion event and clean-up
02c5256b110c clk: bcm2835: Fix ->fixed_divider of pllh_aux
d5dd232fc11e usb: gadget: udc: atmel: remove memory leak
e85561f6aca8 serial: 8250_pci: Detach low-level driver during PCI error recovery
54c73832c576 ACPI / blacklist: Make Dell Latitude 3350 ethernet work
f92b80712355 ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
990db74c5c87 slub: move synchronize_sched out of slab_mutex on shrink
06e966ded31e [media] uvcvideo: uvc_scan_fallback() for webcams with broken chain
e30814bb2038 s390/zcrypt: Introduce CEX6 toleration
c73c813f59ed block: allow WRITE_SAME commands with the SG_IO ioctl
bb64e9763f59 drm/nouveau/disp/nv50-: specify ctrl/user separately when constructing classes
3c5d63c13311 drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user
49e8233a2726 drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices
275ff35915b3 vfio/spapr: Postpone default window creation
a6cc475b194a vfio/spapr: Add a helper to create default DMA window
95045ae80bba powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown
789e7eac7ee0 vfio/spapr: Reference mm in tce_container
28a412c87e63 powerpc/iommu: Stop using @current in mm_iommu_xxx
605c802e3cb9 powerpc/iommu: Pass mm_struct to init/cleanup helpers
c70e411994d8 vfio/spapr: Postpone allocation of userspace version of TCE table
89b9c28ca6d7 Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)
ea35dd4dc3d5 PCI: Do any VF BAR updates before enabling the BARs
ddb11bb30cbc PCI: Ignore BAR updates on virtual functions
bfaf6ec96d7f PCI: Update BARs using property bits appropriate for type
c09761e3af3f PCI: Don't update VF BARs while VF memory space is enabled
f49fdb5fb9aa PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
4453d0980e47 PCI: Add comments about ROM BAR updating
e9026b999d64 PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
bf5194f0e771 PCI: Separate VF BAR updates from standard BAR updates
4c25b4da1978 x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
f86de0bf6845 scsi: ibmvscsis: Synchronize cmds at remove time
03780edbb14b scsi: ibmvscsis: Synchronize cmds at tpg_enable_store time
6e76f14e8da7 scsi: ibmvscsis: Rearrange functions for future patches
87e714992008 scsi: ibmvscsis: Clean up properly if target_submit_cmd/tmr fails
26d9e831807f scsi: ibmvscsis: Return correct partition name/# to client
017f9415d242 scsi: ibmvscsis: Issues from Dan Carpenter/Smatch
1a865ae47435 igb: add i211 to i210 PHY workaround
7af86b0c55e3 igb: Workaround for igb i210 firmware issue
15fdb8c2a904 xen: do not re-use pirq number cached in pci device msi msg data
4af906f27c02 dmaengine: iota: ioat_alloc_chan_resources should not perform sleeping allocations.
7815d4127881 dccp: fix memory leak during tear-down of unsuccessful connection request
348714c022b1 tun: fix premature POLLOUT notification on tun devices
a1bc0a9f122e dccp/tcp: fix routing redirect race
0a787971aa5b bridge: drop netfilter fake rtable unconditionally
ee1d5c66f7d9 ipv6: avoid write to a possibly cloned skb
81ed14c04c32 ipv6: make ECMP route replacement less greedy
0949ba4922e5 mpls: Do not decrement alive counter for unregister events
76aaba0ce52e mpls: Send route delete notifications when router module is unloaded
48325fbb1d05 act_connmark: avoid crashing on malformed nlattrs with null parms
4331398f440e uapi: fix linux/packet_diag.h userspace compilation error
f5f6f5529468 net/tunnel: set inner protocol in network gro hooks
2a00f4bf0780 vrf: Fix use-after-free in vrf_xmit
61e3a5db6e7d dccp: fix use-after-free in dccp_feat_activate_values
39ff72664911 net: fix socket refcounting in skb_complete_tx_timestamp()
9d88ea01fe88 net: fix socket refcounting in skb_complete_wifi_ack()
65f7a3f9b6c0 tcp: fix various issues for sockets morphing to listen state
5531ae9e101d dccp: Unlock sock before calling sk_free()
beb7cb3c2a3d ipv6: orphan skbs in reassembly unit
728edccaedbf net: net_enable_timestamp() can be called from irq contexts
e9f82ae95dcc net: don't call strlen() on the user buffer in packet_bind_spkt()
b0c360a043c0 tcp/dccp: block BH for SYN processing
b64d0db77b52 mlxsw: spectrum_router: Avoid potential packets loss
8e1715480d7c l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
44797e4d24c0 net sched actions: decrement module reference count after table flush.
9c1294eeb41e ipv4: mask tos for input route
368d2236b926 vxlan: don't allow overwrite of config src addr
9ead713bc6ac vti6: return GRE_KEY for vti6
a305478b6e7d vxlan: correctly validate VXLAN ID against VXLAN_N_VID
bc68673783c7 net/mlx5e: Fix wrong CQE decompression
4e8f4987b785 IB/mlx5: Verify that Q counters are supported
f0d5cfb83dcb ext4: don't BUG when truncating encrypted inodes on the orphan list
9ac44a73a4c5 [media] rc: raw decoder for keymap protocol is not loaded on register
56174559c310 dm: flush queued bios when process blocks to avoid deadlock
875142c6e879 KVM: arm/arm64: Let vcpu thread modify its own active state
220f66f1f4d8 KVM: s390: Fix guest migration for huge guests resulting in panic
3dd1f5f0b22c serial: samsung: Continue to work if DMA request fails
2a7c66c1a7c0 USB: serial: io_ti: fix information leak in completion handler
71f396d687e9 USB: serial: io_ti: fix NULL-deref in interrupt callback
d9682fbb1252 USB: iowarrior: fix NULL-deref in write
e1affee35832 USB: iowarrior: fix NULL-deref at probe
07c5918e96e7 USB: serial: omninet: fix reference leaks at open
782317bc4eba USB: serial: safe_serial: fix information leak in completion handler
15b553818e00 usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
e5df1d8231d8 usb: host: xhci-dbg: HCIVERSION should be a binary number
a03e4fb73679 usb: gadget: function: f_fs: pass companion descriptor along
bf600df6aa66 usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()
40b091328f1c usb: dwc3: gadget: make Set Endpoint Configuration macros safe
7ab8263169d2 usb: gadget: dummy_hcd: clear usb_gadget region before registration
0a9e57a61494 PCI: Prevent VPD access for QLogic ISP2722
0c925288d9e2 powerpc/xics: Work around limitations of OPAL XICS priority handling
e7ef86271857 powerpc: Emulation support for load/store instructions on LE
88cb0342bbc9 i2c: add missing of_node_put in i2c_mux_del_adapters
49817d5f81a0 efi/arm: Fix boot crash with CONFIG_CPUMASK_OFFSTACK=y
b463b3b26bf5 tracing: Add #undef to fix compile error
03a9b9c5eb0f cpmac: remove hopeless #warning
9e7e1616fb69 MIPS: ralink: Remove unused rt*_wdt_reset functions
774bd1f0f2e0 MIPS: ralink: Cosmetic change to prom_init().
1ec4e1a6c373 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
e6c4a646d490 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
b70dce737466 MIPS: ip22: Fix ip28 build for modern gcc
c5f71770663f MIPS: Update ip27_defconfig for SCSI_DH change
4baa71bf6ca0 MIPS: ip27: Disable qlge driver in defconfig
810c65dcf036 crypto: improve gcc optimization flags for serpent and wp512
4b256e46c8e3 USB: serial: digi_acceleport: fix OOB data sanity check
b88d9bf6ce41 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
bd390a837bf2 mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()
bc83fdbb1b88 thp: fix another corner case of munlock() vs. THPs
6f3effcbddd2 x86/tlb: Fix tlb flushing when lguest clears PGE
52f93fd5358e x86, mm: fix gup_pte_range() vs DAX mappings
ab0eea711de5 libceph: use BUG() instead of BUG_ON(1)
6dd79e33d04d drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
267b0207162b drm: Cancel drm_fb_helper_dirty_work on unload
60a94aca40ff drm/i915/gvt: Disable access to stolen memory as a guest
076bb9ce1a9f drm/atomic: fix an error code in mode_fixup()
a6d98a3a3c5c drm/imx: imx-tve: Do not set the regulator voltage
3036e519c3f8 drm/ttm: Make sure BOs being swapped out are cacheable
8c52d5581851 drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
b4f89786c979 drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
23c1fdaced81 drm/ast: Call open_key before enable_mmio in POST code
cb624df381a6 drm/ast: Fix test for VGA enabled
8b6e3ca35b51 drm/amdgpu: add more cases to DCE11 possible crtc mask setup
77a708d95727 mac80211: use driver-indicated transmitter STA only for data frames
72aaf6d71167 mac80211: don't handle filtered frames within a BA session
680c812d7bdc mac80211: don't reorder frames with SN smaller than SSN
e9d8c725c29b mac80211: flush delayed work when entering suspend
9a7a9c5c88b2 xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
b389c603b09e pwm: pca9685: Fix period change with same duty cycle
711e95e9a7d4 nlm: Ensure callback code also checks that the files match
29f3a5545183 target: Fix NULL dereference during LUN lookup + active I/O shutdown
f82148e9ffd3 pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
1d53d522e4d1 ceph: remove req from unsafe list when unregistering it
a0e963dbeecc ktest: Fix child exit code processing
d8e905726d90 memory/atmel-ebi: Fix ns <-> cycles conversions
aef2ccf1d832 orangefs: Use RCU for destroy_inode
f0453d44086f fs: Better permission checking for submounts
eef4fcd21313 IB/srp: Fix race conditions related to task management
24960d72feeb IB/srp: Avoid that duplicate responses trigger a kernel bug
f3572a0ce31f IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
63129c2502c1 IB/mlx5: Fix out-of-bound access
f54cae186e6e IB/ipoib: Fix deadlock between rmmod and set_mode
77563b9714b9 mnt: Tuck mounts under others instead of creating shadow/side mounts.
521cf3b70359 brcmfmac: fix incorrect event channel deduction
55730c566d11 cxl: Prevent read/write to AFU config space while AFU not configured
3c20ea7dd380 net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
7006fe7139f6 s390: use correct input data address for setup_randomness
e936795084d3 s390: make setup_randomness work
bb318913c8ab s390: TASK_SIZE for kernel threads
64deb4069c4b s390/chsc: Add exception handler for CHSC instruction
a35d74c9c4a0 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
b3e8ded18f8e s390/dcssblk: fix device size calculation in dcssblk_direct_access()
e1b323f8b65e s390/qdio: clear DSCI prior to scanning multiple input queues
7d9a72f5eb8c Bluetooth: Add another AR3012 04ca:3018 device
7f422c5aec89 KVM: VMX: use correct vmcs_read/write for guest segment selector/base
61157eabc44e KVM: s390: Disable dirty log retrieval for UCONTROL guests
d44d2ea64003 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
eaae8c8005c1 tty: n_hdlc: get rid of racy n_hdlc.tbuf
(From OE-Core rev: 78ae0bb02175e601ca99387855a743a37294dee2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
URL decoding was improved in the core a while ago and this looks like
a leftover from those times which caused urls needing a user/password to
fail. Use the parameters from the core instead of the broken split
implementation.
[YOCTO #11262]
(Bitbake rev: 32a249cf33f79b579a2cf6224c7d23cdb20d376f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For shell constructs like
echo hello & wait $!
the process_tokens() method ended up with a situation where "token"
in the "name, value = token" assignment was a list of tuples
and not the expected tuple, causing the assignment to fail.
There were already two for loops (one in _parse_shell(), one in
process_tokens()) which iterated over token lists. Apparently the
actual nesting can also be deeper.
Now there is just one such loop in process_token_list() which calls
itself recursively when it detects that a list entry is another list.
As a side effect (improvement?!) of the loop removal in
_parse_shell(), the local function definitions in process_tokens() get
executed less often.
Fixes: [YOCTO #10668]
(Bitbake rev: 887ea6d25cee5114365dfbf1130603599e13ee80)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In libgcrypt before 1.7.7, an attacker who learns the EdDSA session key (from
side-channel observation during the signing process) can easily recover the
long-term secret key. 1.7.7 makes a cipher/ecc-eddsa.c change to store this
session key in secure memory, to ensure that constant-time point operations are
used in the MPI library.
(From OE-Core rev: 04d7a4adafa09f9f3012c355f4f2f9728cb0b166)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in these two functions is meant to be equivlanet in behaviour
but isn't. Add in code to ensure files that don't exist are handled
consistently by both functions. Users did report being able to generate
tracebacks otherwise.
(Bitbake rev: df69c0257aaa9f4e2f4a20d130b7bc0ce2ca0848)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue: LIN9-1648
Fixed when len(TMPDIR) = 410:
$ bitbake core-image-sato-sdk
[snip]
Subprocess output:
/bin/sh: /bin/cp: Argument list too long
ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Function failed: do_rootfs
[snip]
This is because "copyhardlinktree(src, dst)" does "cp -afl src/* dst",
while src/* is expanded to "src/file1 src/file2, src/file3..." which
causes the "Argument list too long", use ./* as src and change cwd in
subprocess.check_output() to fix the problem.
(From OE-Core rev: a3dc93eb25fba32109edd1db6e8766074fb52e4b)
(From OE-Core rev: befda6ce3fd916ab04c035d1d82ed173759f7f09)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is the potential for sensitive information to leak through the urls
there and removing it brings this into the behavior of the other package
backends since filtering it is likely error prone.
Since ipks don't appear to be generated at all if we don't set this, set
the field to the recipe name used (basename only, no paths). This avoids
information leaking. We may want to drop the field if opkg can allow that
at a future point but the recipe name is a suitable identifier for now.
Reported-by: Andrej Valek <andrej.valek@siemens.com>
(From OE-Core rev: 4c353eeff45f91533f22392f129bc5a477ee5207)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a branch is re-used, the kernel tools turns off any patch pushing unless
'mark patching' is explicitly set.
[YOCTO #10674]
(From meta-yocto rev: 4f3cd59d76e3d8a43a4460528082c0086bdbba41)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11578]
The package names "pip3" and "pexpect" do not exist for Ubuntu
and Debian. They need to be "python3-pip3" and "python3-pexpect".
I changed them in the poky.ent file and did some reformatting so
the install lines appear nice. I updated the other distributions
as well.
(From yocto-docs rev: 43c92b88c40815d906cfc5fabb3190b0aa4778c7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 51edde6537 makes a wrong assumption
that SSTATE_MIRRORS have write permissions.
A mirror is by definition outside of it's user control. In my use case
it happens I does not have permissions to update the access time of the
dereferenced symbolic-link file.
Checked if file is writable before changing its atime.
Thanks to Paulo Neves for the patch.
[YOCTO #11307]
(From OE-Core rev: 112ae104287ad4078a9fa90fb2a42f4c814ef824)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_recipetool_create_github test fetches HEAD of the repository so
upstream changes can (and do) break the test. Avoid these problems by passing
the rev= argument in the URL to lock the checkout to the same version that is
fetched in the github_tarball test.
Also pass the commands to runCmd() as a list instead of a string, the semicolon
in the URL needs more quotes if the shell is involved and passing a list
bypasses the shell entirely.
(From OE-Core rev: cbb5961d3db27f81967345a73267920f2623ccac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In git://sourceware.org/git/elfutils.git:
----------------
commit 1700fd25e6caf26663af2bd994d1d99fab9df59f
Author: Mark Wielaard <mark@klomp.org>
Date: Sat Dec 24 22:31:41 2016 +0100
http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
fedorahosted used to be our home, but we are now hosted at sourceware.
Change the elfutils project home to http://elfutils.org/
Point hosted services (email, release, git, bug tracker and web pages)
to https://sourceware.org/elfutils/
Move design notes from README to NOTES.
Add URLs for home, releases, bugs, git and mailinglist to README.
Make the --version output of all tools the same by using a common
print_version function and update the publicly shown copyright holder
to the elfutils developers.
Signed-off-by: Mark Wielaard <mark@klomp.org>
------------------
Based on a patch from Hongxu Jia <hongxu.jia@windriver.com>
(From OE-Core rev: 4ee8ad29e0eb3584eb8c6e1ba21a5a18d7a59714)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: b85905bc8b845c9da7d2a086ea239ec00d5142e3)
(From OE-Core rev: 8ae35a4391bd0313cdc8091140fa8c8648122161)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: 79ae1e98a7c3fd4c732ea4cd0b3099d4e319a111)
(From OE-Core rev: 6785157e7b30ca112ec5c65487a9e7e65b9dd5de)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: bbe3cde5fc2102fd84ba065ed14f2732bcd0d420)
(From OE-Core rev: 34312ac6edf13dc3e3d8f31b2a07df9044a9a8aa)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: 441ad240db4ce64d854e263e14dc6a1752aed956)
(From OE-Core rev: 516d55d3550d86c7458d20cea1adca7dc30ab66b)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: b0703175ed650d89870309e4065cda917199ac93)
(From OE-Core rev: a34ca1b1ee4c6e39a7fbc10fc9fc7aebfdbe8abc)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to update
the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: 0fb5427937576fe46d463b9c9953d0bcdc1f256a)
(From OE-Core rev: 5d57ccab9720f6c75cfefdf0cb153007d79beb2e)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: 9b3c9193d4a04061e64e43d55782a4d73ee166ad)
(From OE-Core rev: c9c0528d7f298dae4f543ab4006057022abe71e5)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on OE-Core rev: 8aafed5f4757550f2ff688e1b8981e5e8e6e3428 if systemtap
isn't disabled it's possible to race with systemtap headers being present
during autodetection and disappearing during the build:
tests/sdt.c:14:21: fatal error: sys/sdt.h: No such file or directory
#include <sys/sdt.h>
(From OE-Core rev: b206497bf2a68b1b009ae5a6b1c5a29df3966443)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gna! project announced that the download site from gna.org HTTP server
will soon be closing down. We have verified that the site is no longer
accessible without network proxy cache. We need to update SRC_URI to
point to new alternative (nwl.cc HTTP server) in order to avoid fetcher
issues in future.
[YOCTO #11575]
(From OE-Core rev: eaf1f56a865f8b71ef3ff4e3108b77fcc690d151)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently selftest doesn't use sstates because some tests
clean sstate cache; using sstates would give a performance
boost instead of building everything from scratch.
With this sstates are not corrupted using different methods
depending on tests:
devtool: These tests needed to delete the cache so SSTATE_DIR
as SSTATE_MIRRORS and set a temporal SSTATE_DIR.
sstatetests: This module already used a temporal SSTATE_DIR, so
just set up the SSTATE_MIRRORS.
Rest: Removed cleansstate, some of them required to force a
certain task, others were just removed or changed for another
task.
[YOCTO #10929]
(From OE-Core rev: 62c61087a10cc3b26fbff32c9e2efd1704a39724)
(From OE-Core rev: 44ca8b1c23e4b2cf470e9be42705e3cca23b7f85)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building ed into an sstate mirror, then leaving it enabled for
oe-selftest -r signing.Signing.test_signing_sstate_archive results in:
NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Started
WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Failed to fetch URL file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig, attempting MIRRORS if available
ERROR: ed-1.14.1-r0 do_populate_lic_setscene: Fetcher failure: Unable to find file file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig anywhere. The paths that were searched were:
/media/build1/poky/build/test-sstate
/media/build1/poky/build/test-sstate
WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Cannot verify signature on sstate package /media/build1/poky/build/test-sstate/29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz
NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Succeeded
so we need to disable SSTATE_MIRRORS for this test.
(From OE-Core rev: 2ce9962851fe58c099599679340fd87e90f426ec)
(From OE-Core rev: 9bb708cf31850f5a3e53660ee9ea5a9ba7615e43)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test was attempting to exercise a broken test, for some reason this broke
with patches under review but investigation revealed that the test itself is
broken. The test has been removed, so there's no need to test it.
(From OE-Core rev: 4f5f552cd6601ba244ef4efc782616bc477e1340)
(From OE-Core rev: 0b9bb6d9ec4e030ab64bac73680df4657cb7d066)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test aims to detect binaries in /bin which link to libraries in /usr/lib,
for the case where the user has /usr on a separate filesystem to /.
However it doesn't scan both image/ and the sysroot, so if a binary in /bin
links to a library in /usr/lib that was built by the same recipe then it will
error out.
This test isn't enabled by default, and because of this serious bug I suspect
nobody else is enabling it either. As /usr being on a separate partition to /
is a very rare configuration these days I think we should delete the test: if
someone cares sufficiently they should write a test that actually works.
(From OE-Core rev: a6af5bbf3dad6f0951c67a0aae13ef86a8906893)
(From OE-Core rev: 2f5b5685f75fc63489b628b540fcdd4c7cb27096)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fetching and building the toolchain and everything else
against empty download dir and sstate cache, and so was enormously slow.
The test does not need that, it only checks that one fetch task fails and
another succeeds when using bitbake's -k option.
(From OE-Core rev: 6c69b5edc5711d2e5304a931e43eba562a095191)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes include:
* poky.ent - changing variables for 2.2.2
* mega-manual.sed - updated "2.2.1" to "2.2.2" for links
* *.xml - Changed all the manual revision tables to say
"June 2017" for now.
(From yocto-docs rev: 9f3d983b754398b383b754df74d09fa17911137f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[BZ 20116] -- https://sourceware.org/bugzilla/show_bug.cgi?id=20116
The commit documents the ownership rules around 'struct pthread' and
when a thread can read or write to the descriptor. With those ownership
rules in place it becomes obvious that pd->stopped_start should not be
touched in several of the paths during thread startup, particularly so
for detached threads. In the case of detached threads, between the time
the thread is created by the OS kernel and the creating thread checks
pd->stopped_start, the detached thread might have already exited and the
memory for pd unmapped. As a regression test we add a simple test which
exercises this exact case by quickly creating detached threads with
large enough stacks to ensure the thread stack cache is bypassed and the
stacks are unmapped. Before the fix the testcase segfaults, after the
fix it works correctly and completes without issue.
For a detailed discussion see:
https://www.sourceware.org/ml/libc-alpha/2017-01/msg00505.html
(cherry-picked from commit f8bf15febcaf137bbec5a61101e88cd5a9d56ca8)
(From OE-Core rev: eaa844b6ce75d68f952de67ea5145a54a1968171)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg stable relase with the following shortlog summary:
8f8ee9706b0a Linux 4.4.60
84bd21a708b8 padata: avoid race in reordering
5cca175b6cda blk: Ensure users for current->bio_list can see the full list.
2cbd78f4239b blk: improve order of bio handling in generic_make_request()
063d30f187f5 power: reset: at91-poweroff: timely shutdown LPDDR memories
42462d23e60b KVM: kvm_io_bus_unregister_dev() should never fail
3a1246b46df5 rtc: s35390a: improve irq handling
a55ae9d1937b rtc: s35390a: implement reset routine as suggested by the reference
fdd4bc9313e5 rtc: s35390a: make sure all members in the output are set
b3ed3864912e rtc: s35390a: fix reading out alarm
6280ac931a23 MIPS: Lantiq: Fix cascaded IRQ setup
47e2fe17d14d mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
ef55c3df5dbd drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
3eb392056aeb KVM: x86: clear bus pointer when destroyed
eac3ab3e6915 USB: fix linked-list corruption in rh_call_control()
0a1757cfa5ba tty/serial: atmel: fix TX path in atmel_console_write()
74b8fc017d76 tty/serial: atmel: fix race condition (TX+DMA)
566a8711a7dd ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
3342857ac074 ACPI: Fix incompatibility with mcount-based function graph tracing
ab48ab614b8c ASoC: atmel-classd: fix audio clock rate
ce3dcfdbff04 ALSA: hda - fix a problem for lineout on a Dell AIO machine
a90d7447e4a1 ALSA: seq: Fix race during FIFO resize
75a03869c93a scsi: libsas: fix ata xfer length
a92f411914ca scsi: sg: check length passed to SG_NEXT_CMD_LEN
18639c4bad72 scsi: mpt3sas: fix hang on ata passthrough commands
1eed198ce16b xen/setup: Don't relocate p2m over existing one
ba46d8fab00a libceph: force GFP_NOIO for socket allocations
61a4577c9a44 Linux 4.4.59
2bed5987692c sched/rt: Add a missing rescheduling point
7a5202190810 fscrypt: remove broken support for detecting keyring key revocation
573341eba9c4 metag/ptrace: Reject partial NT_METAG_RPIPE writes
e441102d8c07 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
2d9bc3695012 metag/ptrace: Preserve previous registers for short regset write
962b95a88574 sparc/ptrace: Preserve previous registers for short regset write
c8693666856c mips/ptrace: Preserve previous registers for short regset write
e1dc8904b33b h8300/ptrace: Fix incorrect register transfer count
6e174bbd0631 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
800791e7e0fd pinctrl: qcom: Don't clear status bit on irq_unmask
927d04793f8a virtio_balloon: init 1st buffer in stats vq
22c9e7c092f6 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
cce7e56dd73f xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
a9a76a3e318e xfrm: policy: init locks early
0a5766a6a73b Linux 4.4.58
f8a62dbc7902 crypto: algif_hash - avoid zero-sized array
540d6d756ff8 fbcon: Fix vc attr at deinit
ac601978a2aa serial: 8250_pci: Detach low-level driver during PCI error recovery
b8687d83b34c ACPI / blacklist: Make Dell Latitude 3350 ethernet work
d3607fc2976e ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
4e2c66bb6658 uvcvideo: uvc_scan_fallback() for webcams with broken chain
ce5494107946 s390/zcrypt: Introduce CEX6 toleration
7023f502c835 block: allow WRITE_SAME commands with the SG_IO ioctl
9fd9e1436380 vfio/spapr: Postpone allocation of userspace version of TCE table
4110080574ac PCI: Do any VF BAR updates before enabling the BARs
bcbdcf48469b PCI: Ignore BAR updates on virtual functions
d4f09ea7e35c PCI: Update BARs using property bits appropriate for type
131f7969048b PCI: Don't update VF BARs while VF memory space is enabled
40a85d68185f PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
1278c9f87f11 PCI: Add comments about ROM BAR updating
cef498a2c75a PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
a87693ec42f2 PCI: Separate VF BAR updates from standard BAR updates
e4ce31c0265d x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
ca7e3bdc9c7e igb: add i211 to i210 PHY workaround
4db313df4946 igb: Workaround for igb i210 firmware issue
ec52364445a4 xen: do not re-use pirq number cached in pci device msi msg data
6d43e485e006 xfs: clear _XBF_PAGES from buffers when readahead page
f154de03f416 USB: usbtmc: add missing endpoint sanity check
74c8dd066cc0 nl80211: fix dumpit error path RTNL deadlocks
7922c1becb36 xfs: fix up xfs_swap_extent_forks inline extent handling
c4cf86f69597 xfs: don't allow di_size with high bit set
48da8f817b9d libceph: don't set weight to IN when OSD is destroyed
73dd1edf50a6 raid10: increment write counter after bio is split
175039632065 cpufreq: Restore policy min/max limits on CPU online
e1af444e52ce ARM: dts: at91: sama5d2: add dma properties to UART nodes
2705b183263b ARM: at91: pm: cpu_idle: switch DDR to power-down mode
55b6c187cf9d iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
c856b66c8aac xen/acpi: upload PM state from init-domain to Xen
52e40a2fcc39 mmc: sdhci: Do not disable interrupts while waiting for clock
27d9bf096406 ext4: mark inode dirty after converting inline directory
c7d1545c48ff parport: fix attempt to write duplicate procfiles
7413d1f8991e iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
8f189e1d0eca iio: adc: ti_am335x_adc: fix fifo overrun recovery
dcf879cb9ed3 mmc: ushc: fix NULL-deref at probe
2c251e568e1a uwb: hwa-rc: fix NULL-deref at probe
815321da2e26 uwb: i1480-dfu: fix NULL-deref at probe
14a2032287d4 usb: hub: Fix crash after failure to read BOS descriptor
47285be050ca usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
a7cb1fafe429 USB: wusbcore: fix NULL-deref at probe
d6389d6abb8a USB: idmouse: fix NULL-deref at probe
a7712869e2e7 USB: lvtest: fix NULL-deref at probe
73490abe249c USB: uss720: fix NULL-deref at probe
2c929ea720f9 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
8a8a8007871a usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
19f0fe67b9d0 ACM gadget: fix endianness in notifications
9218793a39de USB: serial: qcserial: add Dell DW5811e
8f0f081647cc USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
1ea551eec703 ALSA: hda - Adding a group of pin definition to fix headset problem
ed00b613bbcb ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
b55ffcb1bc8a ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
549993001e7d Input: sur40 - validate number of endpoints before using them
b3c4c0c470b5 Input: kbtab - validate number of endpoints before using them
c05490638ddf Input: cm109 - validate number of endpoints before using them
e916f1d6188e Input: yealink - validate number of endpoints before using them
0812c6855c89 Input: hanwang - validate number of endpoints before using them
6bed7c1e2b78 Input: ims-pcu - validate number of endpoints before using them
a07d3669654a Input: iforce - validate number of endpoints before using them
5f9243e4fca6 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
9ac7bd114e13 Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
afaed241928f tcp: initialize icsk_ack.lrcvtime at session start time
95aa915c2f04 socket, bpf: fix sk_filter use after free in sk_clone_lock
38dece41e5be ipv4: provide stronger user input validation in nl_fib_input()
85f00dac91a1 net: bcmgenet: remove bcmgenet_internal_phy_setup()
fdcee7c1e2f8 net/mlx5e: Count LRO packets correctly
9d1894cba25c net/mlx5: Increase number of max QPs in default profile
610c6bcc5fcf net: unix: properly re-increment inflight counter of GC discarded candidates
ae43f9360a21 amd-xgbe: Fix jumbo MTU processing on newer hardware
f3126725228c net: properly release sk_frag.page
12f0bffc489d net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
b362d6735156 net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
a5c3f390eb77 Linux 4.4.57
5fa513cb0721 ext4: fix fencepost in s_first_meta_bg validation
d88b83e66bbf percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
e08f608ab428 gfs2: Avoid alignment hole in struct lm_lockname
4f47ca488256 isdn/gigaset: fix NULL-deref at probe
d267ecbdfdb4 target: Fix VERIFY_16 handling in sbc_parse_cdb
246760c61d9c scsi: libiscsi: add lock around task lists to fix list corruption regression
82bd06aba880 scsi: lpfc: Add shutdown method for kexec
0a621633cdfa target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
582f548924cd md/raid1/10: fix potential deadlock
b24473976b98 powerpc/boot: Fix zImage TOC alignment
09875d1393d4 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
f02729f2ab87 perf/core: Fix event inheritance on fork()
4cb0c0b73d1c give up on gcc ilog2() constant optimizations
6052eb871217 kernek/fork.c: allocate idle task for a CPU always on its local node
6cc5b73d7969 hv_netvsc: use skb_get_hash() instead of a homegrown implementation
cea050150323 tpm_tis: Use devm_free_irq not free_irq
13a26889cbc1 drm/amdgpu: add missing irq.h include
68ea3948ed3d s390/pci: fix use after free in dma_init
50730d7f361f KVM: PPC: Book3S PR: Fix illegal opcode emulation
e2d9577854f5 xen/qspinlock: Don't kick CPU if IRQ is not initialized
b1a0f744f8e6 Drivers: hv: avoid vfree() on crash
0a2512768f16 Drivers: hv: balloon: don't crash when memory is added in non-sorted order
3787a071d145 pinctrl: cherryview: Do not mask all interrupts in probe
962c66c74184 ACPI / video: skip evaluating _DOD when it does not exist
12e1a3cd11ea cxlflash: Increase cmd_per_lun for better throughput
f8c07cbc2e72 crypto: mcryptd - Fix load failure
10659b8f5c60 crypto: cryptd - Assign statesize properly
c78c3376ec67 crypto: ghash-clmulni - Fix load failure
45d9558837d4 USB: don't free bandwidth_mutex too early
ac1a97d8a562 usb: core: hub: hub_port_init lock controller instead of bus
(From OE-Core rev: 80712877c843139e1990a4e4360a48dba003a560)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52a6823d4279d580a2b4bbfdc06234a903a17d93)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg release with the following shortlog:
0136bca4e0f6 Linux 4.4.56
99d403faba47 futex: Add missing error handling to FUTEX_REQUEUE_PI
44854c191e2c futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
62f57041fbdf x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
8e0ec20539f8 x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
3a19419c50c6 fscrypto: lock inode while setting encryption policy
fd74e8d258da fscrypt: fix renaming and linking special files
c10ffe988f15 net sched actions: decrement module reference count after table flush.
676fe978525d dccp: fix memory leak during tear-down of unsuccessful connection request
4ab956b56133 dccp/tcp: fix routing redirect race
56f9b9502f2d bridge: drop netfilter fake rtable unconditionally
aed728c38c48 ipv6: avoid write to a possibly cloned skb
5f8bc3856e28 ipv6: make ECMP route replacement less greedy
b57955ea30e1 mpls: Send route delete notifications when router module is unloaded
710fbeb3f5c5 act_connmark: avoid crashing on malformed nlattrs with null parms
6c72458ab428 uapi: fix linux/packet_diag.h userspace compilation error
e671f1cc588f vrf: Fix use-after-free in vrf_xmit
d0ebde92fbeb dccp: fix use-after-free in dccp_feat_activate_values
ec4d8692b76e net: fix socket refcounting in skb_complete_tx_timestamp()
9e7683301bee net: fix socket refcounting in skb_complete_wifi_ack()
2681a7853ad7 tcp: fix various issues for sockets morphing to listen state
9216632bf4a0 dccp: Unlock sock before calling sk_free()
a70c32859704 net: net_enable_timestamp() can be called from irq contexts
f331d6445a3e net: don't call strlen() on the user buffer in packet_bind_spkt()
2cd0afc64e33 l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
354f79125f12 ipv4: mask tos for input route
f1b3aae1f1bf vti6: return GRE_KEY for vti6
51a219a1371e vxlan: correctly validate VXLAN ID against VXLAN_N_VID
0c0be310ba29 netlink: remove mmapped netlink support
28ec98bc2e4a Linux 4.4.55
1c5265be54d3 ext4: don't BUG when truncating encrypted inodes on the orphan list
cd8ad4d9eb6d dm: flush queued bios when process blocks to avoid deadlock
66dd58f56eab nfit, libnvdimm: fix interleave set cookie calculation
a084aeef5633 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
b0e85701a776 KVM: s390: Fix guest migration for huge guests resulting in panic
61fbad6a28fd mvsas: fix misleading indentation
72ca0ab30680 serial: samsung: Continue to work if DMA request fails
72bb2b96b856 USB: serial: io_ti: fix information leak in completion handler
e71c7bad6844 USB: serial: io_ti: fix NULL-deref in interrupt callback
6498086195b9 USB: iowarrior: fix NULL-deref in write
179295c38d23 USB: iowarrior: fix NULL-deref at probe
54f11a9662b6 USB: serial: omninet: fix reference leaks at open
3cdc94638746 USB: serial: safe_serial: fix information leak in completion handler
cf09c7d60ccc usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
40c5634ffe3d usb: host: xhci-dbg: HCIVERSION should be a binary number
4a1a3bb70fb4 usb: gadget: function: f_fs: pass companion descriptor along
10af24856503 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
f47b97f2cdaa usb: gadget: dummy_hcd: clear usb_gadget region before registration
2ca39d130015 powerpc: Emulation support for load/store instructions on LE
074893495b72 tracing: Add #undef to fix compile error
127651058594 MIPS: Netlogic: Fix CP0_EBASE redefinition warnings
2e4aff2405af MIPS: DEC: Avoid la pseudo-instruction in delay slots
5fad17434465 mm: memcontrol: avoid unused function warning
5e45d834f762 cpmac: remove hopeless #warning
32883383f5e0 MIPS: ralink: Remove unused rt*_wdt_reset functions
4b91e7a2a9a7 MIPS: ralink: Cosmetic change to prom_init().
3dc8f1e3a8f2 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
d2a8d746ae95 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
c018595d83a3 MIPS: ip22: Fix ip28 build for modern gcc
7a6a965f350e MIPS: Update ip27_defconfig for SCSI_DH change
8ed0fdcc0c11 MIPS: ip27: Disable qlge driver in defconfig
adc48c710b7e MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
e041ad066440 crypto: improve gcc optimization flags for serpent and wp512
a8cb5c02a20f USB: serial: digi_acceleport: fix OOB-event processing
4d95645f3dd5 USB: serial: digi_acceleport: fix OOB data sanity check
(From OE-Core rev: 1b27f57fffb2ac7ffc22e294bda05b851cb2cf1c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aac3bd4b9a3a2dca42eff68beec1b075ae8e532a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating from v4.4.41 to v4.4.53, with the following list of changes:
49616e715061 Linux 4.4.53
9cee69465035 scsi: lpfc: Correct WQ creation for pagesize
1d316060cad5 MIPS: IP22: Fix build error due to binutils 2.25 uselessnes.
4dd29050e46e MIPS: IP22: Reformat inline assembler code to modern standards.
15959b728d07 powerpc/xmon: Fix data-breakpoint
afee78f03ee6 dmaengine: ipu: Make sure the interrupt routine checks all interrupts.
79a7ff1443bd bcma: use (get|put)_device when probing/removing device driver
5a1f03f1ee91 md linear: fix a race between linear_add() and linear_congested()
037cd23726b3 rtc: sun6i: Switch to the external oscillator
ee360e99dae0 rtc: sun6i: Add some locking
a0378b5bfc27 NFSv4: fix getacl ERANGE for some ACL buffer sizes
5d23e89065cd NFSv4: fix getacl head length estimation
52fb4bdcea4c NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
3ee4f442e5b3 nfsd: special case truncates some more
6030493a3422 nfsd: minor nfsd_setattr cleanup
781e6a08381d rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
6e10c33cb87a rtlwifi: Fix alignment issues
70a09029b7be gfs2: Add missing rcu locking for glock lookup
44dd30e04c1f rdma_cm: fail iwarp accepts w/o connection params
88326fe95f59 RDMA/core: Fix incorrect structure packing for booleans
f414af249f1e Drivers: hv: util: Backup: Fix a rescind processing issue
9b45ab285388 Drivers: hv: util: Fcopy: Fix a rescind processing issue
abaeda7f709a Drivers: hv: util: kvp: Fix a rescind processing issue
862d2b7d21d3 hv: init percpu_list in hv_synic_alloc()
374907e8d116 hv: allocate synic pages for all present CPUs
80190fcc48f6 usb: gadget: udc: fsl: Add missing complete function.
61e9e9bcfd7b usb: host: xhci: plat: check hcc_params after add hcd
900466a746f5 usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
89eb5ed1536e w1: ds2490: USB transfer buffers need to be DMAable
1df66c452471 w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
20bc8a897e48 can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
3584716db12a iio: pressure: mpl3115: do not rely on structure field ordering
2ab6b8c7172c iio: pressure: mpl115: do not rely on structure field ordering
e83a28c521a6 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
d4a8db66b946 fuse: add missing FR_FORCE
434ed4aff140 crypto: testmgr - Pad aes_ccm_enc_tv_template vector
7666ef1a36cc ath9k: use correct OTP register offsets for the AR9340 and AR9550
1aeced70f77d ath9k: fix race condition in enabling/disabling IRQs
dc7bbf895e43 ath5k: drop bogus warning on drv_set_key with unsupported cipher
6af0acc0b69f target: Fix multi-session dynamic se_node_acl double free OOPs
4a3c526ced41 target: Obtain se_node_acl->acl_kref during get_initiator_node_acl
da259399e487 samples/seccomp: fix 64-bit comparison macros
6ad4196f1952 ext4: return EROFS if device is r/o and journal replay is needed
9a79248c083d ext4: preserve the needs_recovery flag when the journal is aborted
6ec4583e9b03 ext4: fix inline data error paths
9d636818dbac ext4: fix data corruption in data=journal mode
8774c73cf696 ext4: trim allocation requests to group size
a3068b3e8066 ext4: do not polute the extents cache while shifting extents
3daefdae5f8b ext4: Include forgotten start block on fallocate insert range
cd3db55c64ae loop: fix LO_FLAGS_PARTSCAN hang
356d71df7398 block/loop: fix race between I/O and set_status
973f40f368f7 jbd2: don't leak modified metadata buffers on an aborted journal
c0ef1f537a97 Fix: Disable sys_membarrier when nohz_full is enabled
ea240cfed99b sd: get disk reference in sd_check_events()
33950b56d2c2 scsi: use 'scsi_device_from_queue()' for scsi_dh
2dc9a859eb89 scsi: aacraid: Reorder Adapter status check
18dbfcae65a3 scsi: storvsc: properly set residual data length on errors
80bccab34a57 scsi: storvsc: properly handle SRB_ERROR when sense message is present
5cdc8193ac38 scsi: storvsc: use tagged SRB requests if supported by the device
6a284310d5dd dm stats: fix a leaked s->histogram_boundaries array
fdea1f972158 dm cache: fix corruption seen when using cache > 2TB
f0ae01568e0c ipc/shm: Fix shmat mmap nil-page protection
c5c893e7c44e mm: do not access page->mapping directly on page_endio
66f43a576879 mm: vmpressure: fix sending wrong events on underflow
612e4679b865 mm/page_alloc: fix nodes for reclaim in fast path
31dac0e870dd iommu/vt-d: Tylersburg isoch identity map check is done too late.
07852563dba6 iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
5cc0cd0e3a5a regulator: Fix regulator_summary for deviceless consumers
272d60bfce0e staging: rtl: fix possible NULL pointer dereference
8c8f42c9a4a7 ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
cd585d3ba5c8 ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
003aa343724f ALSA: seq: Fix link corruption by event error handling
70dbc00f7e11 ALSA: ctxfi: Fallback DMA mask to 32bit
9879f9d01a3c ALSA: timer: Reject user params with too small ticks
b9bf1f0657c5 ALSA: hda - fix Lewisburg audio issue
1f4f37076d52 ALSA: hda/realtek - Cannot adjust speaker's volume on a Dell AIO
6b1d7b6f54c7 ARM: dts: at91: Enable DMA on sama5d2_xplained console
be83ed085fcd ARM: dts: at91: Enable DMA on sama5d4_xplained console
b401418c6cc3 ARM: at91: define LPDDR types
f3a0b2004080 media: fix dm1105.c build error
b0bde9f6a057 uvcvideo: Fix a wrong macro
5988e7320179 am437x-vpfe: always assign bpp variable
ab7546e49100 MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
cc387ae0898e MIPS: Calculate microMIPS ra properly when unwinding the stack
d75d675a0552 MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
72a0cfae59b4 MIPS: Fix get_frame_info() handling of microMIPS function size
2998bf60d385 MIPS: Prevent unaligned accesses during stack unwinding
0d45490221a2 MIPS: Clear ISA bit correctly in get_frame_info()
f1be0f5814a6 MIPS: Lantiq: Keep ethernet enabled during boot
093292b8f8f7 MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
b32e43cf3f74 MIPS: BCM47XX: Fix button inversion for Asus WL-500W
5636da7aba4d MIPS: Fix special case in 64 bit IP checksumming.
faf6aa4b129d samples: move mic/mpssd example code from Documentation
dd4534d88b93 Linux 4.4.52
c171caf7be28 kvm: vmx: ensure VMCS is current while enabling PML
e0913cc300c7 Revert "usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA"
151d4c0fb55b rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
de5634875b60 block: fix double-free in the failure path of cgwb_bdi_init()
15696979d80f goldfish: Sanitize the broken interrupt handler
d7f97304a485 x86/platform/goldfish: Prevent unconditional loading
67f47e57f9ca USB: serial: ark3116: fix register-accessor error handling
b04a2ca5c4b3 USB: serial: opticon: fix CTS retrieval at open
06b1cf346a4d USB: serial: spcp8x5: fix modem-status handling
22034ee5dab8 USB: serial: ftdi_sio: fix line-status over-reporting
cfad0817222d USB: serial: ftdi_sio: fix extreme low-latency setting
af82872b65e0 USB: serial: ftdi_sio: fix modem-status error handling
bcea8e993772 USB: serial: cp210x: add new IDs for GE Bx50v3 boards
1ae570ab1c06 USB: serial: mos7840: fix another NULL-deref at open
04fae8abfaef tty: serial: msm: Fix module autoload
49ed6307508e net: socket: fix recvmmsg not returning error from sock_error
ce9ecb8d7f3c ip: fix IP_CHECKSUM handling
353dd7290025 irda: Fix lockdep annotations in hashbin_delete().
a95df078e866 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
fe41cfb48f2d packet: Do not call fanout_release from atomic contexts
abd672deb170 packet: fix races in fanout_add()
2b3eb43342a0 net/llc: avoid BUG_ON() in skb_orphan()
e8330cb5ae47 blk-mq: really fix plug list flushing for nomerge queues
f0414c1f8bb7 rtc: interface: ignore expired timers when enqueuing new timers
a82ac399bcf2 rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
f1924ac09c96 Linux 4.4.51
5a86b1150f6c mmc: core: fix multi-bit bus width without high-speed mode
6f26f0ba2435 bcache: Make gc wakeup sane, remove set_task_state()
aee7d0412f17 ntb_transport: Pick an unused queue
c6c6851adbaf NTB: ntb_transport: fix debugfs_remove_recursive
efa061998d22 printk: use rcuidle console tracepoint
6787d3ecbef7 ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
e6394c7d1c19 futex: Move futex_init() to core_initcall
906bb56e3a12 drm/dp/mst: fix kernel oops when turning off secondary monitor
b32128386bf8 drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
c6cbae45a57f Input: elan_i2c - add ELAN0605 to the ACPI table
65de8bfbbe20 Fix missing sanity check in /dev/sg
8107096d243d scsi: don't BUG_ON() empty DMA transfers
d7b146c69229 fuse: fix use after free issue in fuse_dev_do_read()
385a592dc7ce siano: make it work again with CONFIG_VMAP_STACK
f9400118b015 vfs: fix uninitialized flags in splice_to_pipe()
c50b74d88661 Linux 4.4.50
b9dee56027ae l2tp: do not use udp_ioctl()
afb4feb8bfef ping: fix a null pointer dereference
9117c897c9aa packet: round up linear to header len
58691e5b4f27 net: introduce device min_header_len
6f99825e7632 sit: fix a double free on error path
a4226c7ebfb5 sctp: avoid BUG_ON on sctp_wait_for_sndbuf
f46f344841ec mlx4: Invoke softirqs after napi_reschedule
0db25098cb6c macvtap: read vnet_hdr_size once
625bd9e43b3b tun: read vnet_hdr_sz once
82e9f6b90a0e tcp: avoid infinite loop in tcp_splice_read()
96ada0a978fa ipv6: tcp: add a missing tcp_v6_restore_cb()
eaa3a58f4503 ip6_gre: fix ip6gre_err() invalid reads
13c3646dac70 netlabel: out of bound access in cipso_v4_validate()
2d9c2e011fd3 ipv4: keep skb->dst around in presence of IP options
22449a01baa5 net: use a work queue to defer net_disable_timestamp() work
f3ece3b38437 tcp: fix 0 divide in __tcp_select_window()
3f5b5134ec7c ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
41e07a7e01d9 ipv6: fix ip6_tnl_parse_tlv_enc_lim()
e6c654c9c092 can: Fix kernel panic at security_sock_rcv_skb
702c0ce9a7c7 Linux 4.4.49
5b0465dd4ad4 drm/i915: fix use-after-free in page_flip_completed()
a44ca389a736 ALSA: seq: Don't handle loop timeout at snd_seq_pool_done()
e5f20a3fd6db ALSA: seq: Fix race at creating a queue
010ada0cfcb9 xen-netfront: Delete rx_refill_timer in xennet_disconnect_backend()
1c0da0ac217b scsi: mpt3sas: disable ASPM for MPI2 controllers
4d6bdf7c73e7 scsi: aacraid: Fix INTx/MSI-x issue with older controllers
52e02d6bf304 scsi: zfcp: fix use-after-free by not tracing WKA port open/close on failed send
f2d256a2d49f netvsc: Set maximum GSO size in the right place
b9c29d45f980 mac80211: Fix adding of mesh vendor IEs
2f46791849be ARM: 8642/1: LPAE: catch pending imprecise abort on unmask
04ed4a9e21f5 target: Fix COMPARE_AND_WRITE ref leak for non GOOD status
0c863accadb0 target: Fix early transport_generic_handle_tmr abort scenario
ee44e73832c2 target: Use correct SCSI status during EXTENDED_COPY exception
44d03b9280ed target: Don't BUG_ON during NodeACL dynamic -> explicit conversion
fcc038db5959 ARM: 8643/3: arm/ptrace: Preserve previous registers for short regset write
cc187c6200f8 hns: avoid stack overflow with CONFIG_KASAN
3b7ff5ed114f cpumask: use nr_cpumask_bits for parsing functions
fd96835e205d Revert "x86/ioapic: Restore IO-APIC irq_chip retrigger callback"
e72c13d93e9e selinux: fix off-by-one in setprocattr
e871ea6bcf99 ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup
6a1bd9063246 Linux 4.4.48
87ebcc534d47 base/memory, hotplug: fix a kernel oops in show_valid_zones()
374d06699537 x86/irq: Make irq activate operations symmetric
94c0517fd0cb USB: serial: option: add device ID for HP lt2523 (Novatel E371)
9cf89ade1afd usb: gadget: f_fs: Assorted buffer overflow checks.
e4c1e6648298 USB: Add quirk for WORLDE easykey.25 MIDI keyboard
b4b3442e5032 USB: serial: pl2303: add ATEN device ID
244e7f00035d USB: serial: qcserial: add Dell DW5570 QDL
f4f09b79a0c4 KVM: x86: do not save guest-unsupported XSAVE state
8b51676d6cd9 HID: wacom: Fix poor prox handling in 'wacom_pl_irq'
b3c8c31ed24c percpu-refcount: fix reference leak during percpu-atomic transition
3a8e217851c9 mmc: sdhci: Ignore unexpected CARD_INT interrupts
85fb980acb01 can: bcm: fix hrtimer/tasklet termination in bcm op removal
4025ab36c81c mm, fs: check for fatal signals in do_generic_file_read()
e86a8769579e mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()
920bba109299 cifs: initialize file_info_lock
7aeb95ceb84b zswap: disable changing params if init fails
5dadebc67586 svcrpc: fix oops in absence of krb5 module
2b4e56fde91b NFSD: Fix a null reference case in find_or_create_lock_stateid()
f584bb6df7a2 powerpc: Add missing error check to prom_find_boot_cpu()
9b993e2c3df6 powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()
db18e92ceb8d libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices
579a917538f1 ata: sata_mv:- Handle return value of devm_ioremap.
d49d465d178f perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory
72bb4b549085 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
ae7d33f53a56 crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
c4305f00852c drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval
2a3797ef69c5 drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215
e21a3cad35bc ext4: validate s_first_meta_bg at mount time
62e546b2d3a0 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies
4686ea264f1d Linux 4.4.47
384e4bf0def9 net: dsa: Bring back device detaching in dsa_slave_suspend()
74a7c39ec627 qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card
0492a033fb71 af_unix: move unix_mknod() out of bindlock
e674c70bafe7 r8152: don't execute runtime suspend if the tx is not empty
980b9afd9ecc bridge: netlink: call br_changelink() during br_dev_newlink()
8f9e4ad8d7f3 tcp: initialize max window for a new fastopen socket
8051bf2890e9 ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock
8a066a87025e net: phy: bcm63xx: Utilize correct config_intr function
6fec199362c4 net: fix harmonize_features() vs NETIF_F_HIGHDMA
4f5e54bdd052 ax25: Fix segfault after sock connection timeout
062b7f35ff6c ravb: do not use zero-length alignment DMA descriptor
7d691d89eed0 openvswitch: maintain correct checksum state in conntrack actions
b82981fb273d tcp: fix tcp_fastopen unaligned access complaints on sparc
ec9e993f30f6 net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim
40e7c725ab0f net: ipv4: fix table id in getroute response
2e84b8ce6fc3 net: lwtunnel: Handle lwtunnel_fill_encap failure
290db2cd517e mlxsw: pci: Fix EQE structure definition
811bb1b9d9ab mlxsw: switchx2: Fix memory leak at skb reallocation
9edb2d75d81b mlxsw: spectrum: Fix memory leak at skb reallocation
595ac452c451 r8152: fix the sw rx checksum is unavailable
6c1ed78cb074 Linux 4.4.46
d0721893214e mm, memcg: do not retry precharge charges
14b97492d6e1 platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
d430c37db796 pinctrl: broxton: Use correct PADCFGLOCK offset
5ddaf6804e24 s5k4ecgx: select CRC32 helper
5288474d2f48 IB/umem: Release pid in error and ODP flow
e114e66eec3d IB/ipoib: move back IB LL address into the hard header
800a78f9e62b drm/i915: Don't leak edid in intel_crt_detect_ddc()
d79e41188a1e SUNRPC: cleanup ida information when removing sunrpc module
edef1086bf09 NFSv4.0: always send mode in SETATTR after EXCLUSIVE4
0f64f22c0686 nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
bde741e9cc23 parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
acb63c8b576d ARC: [arcompact] handle unaligned access delay slot corner case
42ad7663677d ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list
bca1a95c9e20 can: ti_hecc: add missing prepare and unprepare of the clock
63fe33a78428 can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer
bae49e72f951 s390/ptrace: Preserve previous registers for short regset write
8637de3a318d RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
d65032ab06f4 ISDN: eicon: silence misleading array-bounds warning
d1b232c2ce53 sysctl: fix proc_doulongvec_ms_jiffies_minmax()
f11e8bf8e99b mm/mempolicy.c: do not put mempolicy before using its nodemask
c83ad9703e71 drm: Fix broken VT switch with video=1366x768 option
23bc4e136bca tile/ptrace: Preserve previous registers for short regset write
63db7c91a3c0 fbdev: color map copying bounds checking
ef30573ef2b1 Linux 4.4.45
8323d0555fe3 arm64: avoid returning from bad_mode
6e65a4c698cf selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
a5291c1a9eae dmaengine: pl330: Fix runtime PM support for terminated transfers
238623ce487f ite-cir: initialize use_demodulator before using it
b02d7a8219bc blackfin: check devm_pinctrl_get() for errors
a4d2fa085b9a ARM: 8613/1: Fix the uaccess crash on PB11MPCore
baa2610c4962 ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
68664ae14535 ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
c55f8aaf4a19 arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields
4c87fc7f2059 arm64/ptrace: Avoid uninitialised struct padding in fpr_set()
03ee97d68d8b arm64/ptrace: Preserve previous registers for short regset write - 3
d8263f1753ce arm64/ptrace: Preserve previous registers for short regset write - 2
76e08d2966a9 arm64/ptrace: Preserve previous registers for short regset write
41a9abb0e06b ARM: dts: da850-evm: fix read access to SPI flash
62c3d36309d3 ceph: fix bad endianness handling in parse_reply_info_extra
abfa5e8ae937 ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs
294b0aadc8c2 svcrdma: avoid duplicate dma unmapping during error recovery
098b62b757a4 clocksource/exynos_mct: Clear interrupt when cpu is shut down
a07563c3cf05 ubifs: Fix journal replay wrt. xattr nodes
7ea1eb731453 qla2xxx: Fix crash due to null pointer access
86915782ff65 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
212bab3c5b0b mtd: nand: xway: disable module support
80aeb7bf5ca0 ieee802154: atusb: do not use the stack for buffers to make them DMA able
8f6f508f70ff mmc: mxs-mmc: Fix additional cycles after transmission stop
75c60df15c85 HID: corsair: fix control-transfer error handling
0f37d20fdc70 HID: corsair: fix DMA buffers on stack
4740d1d7d429 PCI: Enumerate switches below PCI-to-PCIe bridges
dc4e372f9a47 fuse: clear FR_PENDING flag when moving requests out of pending queue
6f3002c22087 svcrpc: don't leak contexts on PROC_DESTROY
3b434ca8592a x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
36672b8b99e2 tmpfs: clear S_ISGID when setting posix ACLs
39d7c9ce35a1 ARM: dts: imx31: fix AVIC base address
d2e4968e3c0d ARM: dts: imx31: move CCM device node to AIPS2 bus devices
280d00a94293 ARM: dts: imx31: fix clock control module interrupts description
2ba399c693c0 perf scripting: Avoid leaking the scripting_context variable
aa02f29e95f3 IB/IPoIB: Remove can't use GFP_NOIO warning
ea470497eb31 IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
f1c9169478ca IB/mlx4: Fix port query for 56Gb Ethernet links
c7a40c48f7a5 IB/mlx4: Fix out-of-range array index in destroy qp flow
1be54a4ec45a IB/mlx4: Set traffic class in AH
4ffb36efe22c IB/mlx5: Wait for all async command completions to complete
97085e2a386a ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it
a7dd347a67c0 Linux 4.4.44
45611fb9e0af pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE
ef6eadbf7b16 powerpc/ibmebus: Fix device reference leaks in sysfs interface
488e7b2c5b6a powerpc/ibmebus: Fix further device reference leaks
4d1b5086f7e2 bus: vexpress-config: fix device reference leak
6e8210ad2585 blk-mq: Always schedule hctx->next_cpu
ddf0c377bf82 ACPI / APEI: Fix NMI notification handling
4af7970b3593 block: cfq_cpd_alloc() should use @gfp
2c1dd423a567 cpufreq: powernv: Disable preemption while checking CPU throttling state
33ebdfe913fd NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success.
11804232d1ad NFS: Fix a performance regression in readdir
8ff851bf2240 pNFS: Fix race in pnfs_wait_on_layoutreturn
7aae6e3c0c52 pinctrl: meson: fix gpio request disabling other modes
f0382c090a20 btrfs: fix error handling when run_delayed_extent_op fails
205e997acde7 btrfs: fix locking when we put back a delayed ref that's too new
68b97d287e28 x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option
0cf23324af1c USB: serial: ch341: fix modem-control and B0 handling
1d25a05642c8 USB: serial: ch341: fix resume after reset
a1a0612b7dde drm/radeon: drop verde dpm quirks
b9d6631395a1 sysctl: Drop reference added by grab_header in proc_sys_readdir
ca81117b7432 sysrq: attach sysrq handler correctly for 32-bit kernel
075f493a974e tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx
4a6716f16517 mnt: Protect the mountpoint hashtable with mount_lock
836fd7c9e6e6 vme: Fix wrong pointer utilization in ca91cx42_slave_get
d5fcd719e889 xhci: fix deadlock at host remove by running watchdog correctly
ae76af251806 i2c: fix kernel memory disclosure in dev interface
f64b9acc368c i2c: print correct device invalid address
085f4ebec797 Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data
214a8e98e6bc USB: serial: ch341: fix open and resume after B0
802b4ef3b989 USB: serial: ch341: fix control-message error handling
bc74606d8d80 USB: serial: ch341: fix open error handling
e29f709c2f56 USB: serial: ch341: fix initial modem-control state
3ef5bc0b385f USB: serial: kl5kusb105: fix line-state error handling
4a1ecf37a59f nl80211: fix sched scan netlink socket owner destruction
9d3875c0c462 KVM: x86: Introduce segmented_write_std
3490e72ad6d0 KVM: x86: emulate FXSAVE and FXRSTOR
d9c4c1e7c2cf KVM: x86: add asm_safe wrapper
4fa0090249fb KVM: x86: add Align16 instruction flag
1fc673d96f9d KVM: x86: flush pending lapic jump label updates on module unload
3d27cd4b2527 jump_labels: API for flushing deferred jump label updates
34a55c9d4a2d KVM: eventfd: fix NULL deref irqbypass consumer
816307c80d4d KVM: x86: fix emulation of "MOV SS, null selector"
1a46e6ecf896 mm/hugetlb.c: fix reservation race when freeing surplus pages
6bbb8ff3b68e ocfs2: fix crash caused by stale lvb with fsdlm plugin
70429b970bde mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done}
6de62ec07d2a selftests: do not require bash for the generated test
2deaeea23fbd selftests: do not require bash to run netsocktests testcase
2e2679a168fe Input: i8042 - add Pegatron touchpad to noloop table
51377793758a Input: xpad - use correct product id for x360w controllers
d9ea51a9bea4 Linux 4.4.43
e21901d7a5eb mm/init: fix zone boundary creation
e3f77bb158f9 ALSA: usb-audio: Add a quirk for Plantronics BT600
a1c81f839c6f spi: mvebu: fix baudrate calculation for armada variant
dfd64d112a02 ARM: OMAP4+: Fix bad fallthrough for cpuidle
04dc1be104fe ARM: zynq: Reserve correct amount of non-DMA RAM
bed280bbc995 powerpc: Fix build warning on 32-bit PPC
fa48a1607580 ALSA: firewire-tascam: Fix to handle error from initialization of stream data
a2f727149ee4 HID: hid-cypress: validate length of report
70e05a9f2f4f net: vrf: do not allow table id 0
c177d491a948 net: ipv4: Fix multipath selection with vrf
67b21973ecf4 gro: Disable frag0 optimization on IPv6 ext headers
db7119eaacf4 gro: use min_t() in skb_gro_reset_offset()
5169043e9722 gro: Enter slow-path if there is no tailroom
0d3b9c2746d3 r8152: fix rx issue for runtime suspend
c31a3c79928b r8152: split rtl8152_suspend function
807cac887d95 ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
0d431f94c181 igmp: Make igmp group member RFC 3376 compliant
14e8d568f14f drop_monitor: consider inserted data in genlmsg_end
81e7916476ca drop_monitor: add missing call to genlmsg_end
1ff0308f33ce net/mlx5: Avoid shadowing numa_node
18d971f84c84 net/mlx5: Check FW limitations on log_max_qp before setting it
3f2847608cb9 net: stmmac: Fix race between stmmac_drv_probe and stmmac_open
67bce5821c9a net, sched: fix soft lockup in tc_classify
58d0d7a45ef8 ipv6: handle -EFAULT from skb_copy_bits
6ac0b3810cdc net: vrf: Drop conntrack data after pass through VRF device on Tx
1e5298d4c82b ser_gigaset: return -ENOMEM on error instead of success
33c7b0f74c57 netvsc: reduce maximum GSO size
49c4446a2e13 Linux 4.4.42
adf640eaefac usb: gadget: composite: always set ep->mult to a sensible value
f108b2de9cd0 Revert "usb: gadget: composite: always set ep->mult to a sensible value"
6053479cbbc5 tick/broadcast: Prevent NULL pointer dereference
af817b3fc6e5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
9205be7fa632 cx23885-dvb: move initialization of a8293_pdata
6b59fb520123 net: vxge: avoid unused function warnings
8003ac65d0a5 net: ti: cpmac: Fix compiler warning due to type confusion
becfb50c66cb cred/userns: define current_user_ns() as a function
f5a636fd416f staging: comedi: dt282x: tidy up register bit defines
8f251525da14 powerpc/pci/rpadlpar: Fix device reference leaks
ccd7bd29c2e6 md: MD_RECOVERY_NEEDED is set for mddev->recovery
1d3124821f3a crypto: arm64/aes-ce - fix for big endian
5b21c5489206 crypto: arm64/aes-xts-ce: fix for big endian
abca9c2d2cab crypto: arm64/sha1-ce - fix for big endian
83f8a200af45 crypto: arm64/aes-neon - fix for big endian
bd17e2d36615 crypto: arm64/aes-ccm-ce: fix for big endian
bed5c78798e1 crypto: arm/aes-ce - fix for big endian
4c575a30db8c crypto: arm64/ghash-ce - fix for big endian
820c2ac4c9f4 crypto: arm64/sha2-ce - fix for big endian
6119edd2d87a s390/crypto: unlock on error in prng_tdes_read()
85baf9416b7e mmc: mmc_test: Uninitialized return value
b0cb7f60998c PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
fc44d3d05478 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
69dc8473b750 target/iscsi: Fix double free in lio_target_tiqn_addtpg()
e57c830c9041 scsi: mvsas: fix command_active typo
079c4b43e1fe ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
83882724eb65 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
91bc81b9661c iommu/vt-d: Fix pasid table size encoding
dc78a9e1b4f8 iommu/amd: Fix the left value check of cmd buffer
b54dcc3b68ef iommu/amd: Missing error code in amd_iommu_init_device()
46105512474f clk: imx31: fix rewritten input argument of mx31_clocks_init()
f371ee85268d clk: clk-wm831x: fix a logic error
92e993abb928 hwmon: (g762) Fix overflows and crash seen when writing limit attributes
fd504f529160 hwmon: (nct7802) Fix overflows seen when writing into limit attributes
5e351caeaa96 hwmon: (ds620) Fix overflows seen when writing temperature limits
fbab1832e7e8 hwmon: (amc6821) sign extension temperature
07c05622f63d hwmon: (scpi) Fix module autoload
9453d46a12ba cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
8353a5deec10 ath10k: use the right length of "background"
56ef587b77fd stable-fixup: hotplug: fix unused function warning
acb7df233b72 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
ecd4ad9ab7e9 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
efcd2e082f0f usb: dwc3: gadget: always unmap EP0 requests
7927c0314060 staging: iio: ad7606: fix improper setting of oversampling pins
3e4302f99aed mei: bus: fix mei_cldev_enable KDoc
e94800df8c1f USB: serial: io_ti: bind to interface after fw download
1224bb23fe15 USB: phy: am335x-control: fix device and of_node leaks
d36d0122ff51 ARM: dts: r8a7794: Correct hsusb parent clock
de2cf4998a52 USB: serial: kl5kusb105: abort on open exception path
f5531856c2c7 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
d576c36a3e1f usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
e675483ee2f1 usb: hub: Move hub_port_disable() to fix warning if PM is disabled
02ef64ac647f usb: musb: Fix trying to free already-free IRQ 4
60dffc173220 usb: dwc3: pci: add Intel Gemini Lake PCI ID
59185ef00b46 xhci: Fix race related to abort operation
ce737ba8e23e xhci: Use delayed_work instead of timer for command timeout
b07b4fa72500 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
3e3f05182b39 USB: serial: mos7720: fix parallel probe
5c83e07c3c8b USB: serial: mos7720: fix parport use-after-free on probe errors
2f525ed5efb8 USB: serial: mos7720: fix use-after-free on probe errors
f2e8b37a9970 USB: serial: mos7720: fix NULL-deref at open
857757872704 USB: serial: mos7840: fix NULL-deref at open
1b1fdc715807 USB: serial: kobil_sct: fix NULL-deref in write
b60b91268cd0 USB: serial: cyberjack: fix NULL-deref at open
b835f4cd6700 USB: serial: oti6858: fix NULL-deref at open
374250ed9b26 USB: serial: io_edgeport: fix NULL-deref at open
ad4de3d91872 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
f0bdd7e0ccb2 USB: serial: garmin_gps: fix memory leak on failed URB submit
e3d6a0da47e6 USB: serial: iuu_phoenix: fix NULL-deref at open
11743d704e51 USB: serial: io_ti: fix I/O after disconnect
7ef8807cce7d USB: serial: io_ti: fix another NULL-deref at open
33a5d0cc25f4 USB: serial: io_ti: fix NULL-deref at open
0243498813d2 USB: serial: spcp8x5: fix NULL-deref at open
65d107038ec6 USB: serial: keyspan_pda: verify endpoints at probe
c6aa86222ec5 USB: serial: pl2303: fix NULL-deref at open
4e106709060f USB: serial: quatech2: fix sleep-while-atomic in close
7b5d7880019c USB: serial: omninet: fix NULL-derefs at open and disconnect
d88f0f6c5ba0 usb: xhci: hold lock over xhci_abort_cmd_ring()
f286c2513ba6 xhci: Handle command completion and timeout race
86bb666386ee usb: host: xhci: Fix possible wild pointer when handling abort command
3447b3772934 usb: xhci: fix return value of xhci_setup_device()
2d1b4fcba4a7 xhci: free xhci virtual devices with leaf nodes first
b303a108541e usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
b4b404b99177 xhci: workaround for hosts missing CAS bit
e224b8b7215f usb: xhci: fix possible wild pointer
438efb640e83 usb: dwc3: core: avoid Overflow events
96a21e702606 usb: gadget: composite: Test get_alt() presence instead of set_alt()
bd4e78bbc93f USB: dummy-hcd: fix bug in stop_activity (handle ep0)
7cc00abef071 USB: fix problems with duplicate endpoint addresses
f6ff9981743c USB: gadgetfs: fix checks of wTotalLength in config descriptors
74e36bffe645 USB: gadgetfs: fix use-after-free bug
fe75330a27fc USB: gadgetfs: fix unbounded memory allocation bug
10a4380ea145 usb: gadgetfs: restrict upper bound on device configuration size
9cc601b40d76 usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
96175db0a647 usb: musb: dsps: implement clear_ep_rxintr() callback
2a0e2a89cc41 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
e72575d2d76e KVM: MIPS: Flush KVM entry code from icache globally
7b95f36fc6fa KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
9b73f43fcef4 mac80211: initialize fast-xmit 'info' later
6e28a02f0e86 ARM: davinci: da850: don't add emac clock to lookup table twice
bb1cacd88e07 ALSA: usb-audio: Fix irq/process data synchronization
16b968a1ca96 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
b87483c27624 ALSA: hda - Fix up GPIO for ASUS ROG Ranger
(From OE-Core rev: 70c124ae85360428aa6942c5efd527d6139ab7ec)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf00e5e265d3f878d2af36a48d597ce477bd6f4f)
fixed merge conflicts
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg 4.1.38 -stable release with the following changes:
f40b3cc69de8 Linux 4.1.38
d8435bb5e8fb gro: Allow tunnel stacking in the case of FOU/GUE
066b300e5be4 tunnels: Don't apply GRO to multiple layers of encapsulation.
b11e1542feca net: ipv4: Convert IP network timestamps to be y2038 safe
5023ae270216 ipip: Properly mark ipip GRO packets as encapsulated.
3e3267311e3b sg_write()/bsg_write() is not fit to be called under KERNEL_DS
363f1a90b7f3 fs: exec: apply CLOEXEC before changing dumpable task flags
c63e64ae7665 IB/cma: Fix a race condition in iboe_addr_get_sgid()
6242668e855c Revert "ALSA: usb-audio: Fix race at stopping the stream"
dd5035276792 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
6fdb4af13f9f drivers/gpu/drm/ast: Fix infinite loop if read fails
d1b9fb84c423 target/user: Fix use-after-free of tcmu_cmds if they are expired
bbe48c2f932e kernel/debug/debug_core.c: more properly delay for secondary CPUs
1b51fce881b2 scsi: avoid a permanent stop of the scsi device's request queue
f413092ea8e0 IB/multicast: Check ib_find_pkey() return value
8c84816cedcb IPoIB: Avoid reading an uninitialized member variable
5eba61298b74 block_dev: don't test bdev->bd_contains when it is not stable
25e9e2367457 btrfs: limit async_work allocation and worker func duration
ced9b7a66a35 mm/vmscan.c: set correct defer count for shrinker
a62e45871b7b Input: drv260x - fix input device's parent assignment
e1589b27ffb9 libceph: verify authorize reply on connect
ed21b94ebbf4 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
f8c36e2b98b7 s390/vmlogrdr: fix IUCV buffer allocation
0848a2672eb3 kconfig/nconf: Fix hang when editing symbol with a long prompt
7b53fb41d447 SUNRPC: fix refcounting problems with auth_gss messages.
14927595fec9 ext4: return -ENOMEM instead of success
576cfe615feb nfs_write_end(): fix handling of short copies
77f3c11c13dd fgraph: Handle a case where a tracer ignores set_graph_notrace
29955c9a00d5 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
951f4b1f13a7 USB: serial: option: add dlink dwm-158
0c4f2f61d68f USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
0a32f5b4f72d ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
1d53a630766e dm space map metadata: fix 'struct sm_metadata' leak on failed create
67bcfac25cb8 arm/xen: Use alloc_percpu rather than __alloc_percpu
d09b66f9e70b drm/radeon: add additional pci revision to dpm workaround
e9631583d6c0 drm/radeon: Hide the HW cursor while it's out of bounds
beeda93356ae drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
7198dbbaa242 drm/radeon: Also call cursor_move_locked when the cursor size changes
15a12fbbf365 CIFS: Fix a possible memory corruption during reconnect
51fce08b64ec CIFS: Fix a possible memory corruption in push locks
7f16769173df CIFS: Fix missing nls unload in smb2_reconnect()
0ee8faf89305 USB: cdc-acm: add device id for GW Instek AFG-125
a2080cc28041 mmc: sdhci: Fix recovery from tuning timeout
2a1dc36fdc71 ALSA: usb-audio: Fix race at stopping the stream
93f5b2b5d28b xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
73e7d7aef06c block: protect iterate_bdevs() against concurrent close
a6d0744b18ae ASoC: intel: Fix crash at suspend/resume without card registration
90604ed2f10c Btrfs: fix tree search logic when replaying directory entry deletes
575b6eddbf73 Btrfs: fix deadlock caused by fsync when logging directory entries
32a27da220fb powerpc/ps3: Fix system hang with GCC 5 builds
07340eaf0743 USB: serial: kl5kusb105: fix open error path
b4fa7414cb79 thermal: hwmon: Properly report critical temperature in sysfs
3225aec938da md/raid5: limit request size according to implementation limits
93da0de16c94 firmware: fix usermode helper fallback loading
d7a1bfa59593 xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
315419538d84 tpm xen: Remove bogus tpm_chip_unregister
fee2ddaee775 f2fs: set ->owner for debugfs status file's file_operations
f52d439916f0 ALSA: hda - fix headset-mic problem on a Dell laptop
506d7d521174 dm crypt: mark key as invalid until properly loaded
4a7036809383 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
ec05ce11c1e9 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
b1a758009739 ext4: add sanity checking to count_overhead()
31eb998aa42d ext4: use more strict checks for inodes_per_block on mount
526cfedac0b3 ext4: sanity check the block and cluster size at mount time
c2404d06b82e usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
2861b336b594 ssb: Fix error routine when fallback SPROM fails
44ef406441e2 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
be733405b057 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
9d45d2e79800 ext4: fix stack memory corruption with 64k block size
d6ddc9cf431b ext4: fix mballoc breakage with 64k block size
b3409ef1849b loop: return proper error from loop_queue_rq()
9e19c28455b3 crypto: caam - fix AEAD givenc descriptors
332086b806ac regulator: stw481x-vmmc: fix ages old enable error
9e4033f56d3d USB: UHCI: report non-PME wakeup signalling for Intel hardware
257cb82ee6d7 PCI: Check for PME in targeted sleep state
78ef3e710efd scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
28a8e88f1d2f drm/gma500: Add compat ioctl
6ec54b062038 usb: gadget: composite: correctly initialize ep->maxpacket
33166482bf49 drm/i915: Unalias obj->phys_handle and obj->userptr
d7633e23c7f6 drm/i915/gen9: fix the WaWmMemoryReadLatency implementation
(From OE-Core rev: 96172bb6be3d4baf140b3b7db326930162103ab3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b60f1f2e0a5db22b466c8c812dea1716787c0d9a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has started doing 4.8 -stable updates. This integrates
his 4.8.18 queue from:
git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-4.8.y.git
Change log is as follows:
28dda89acd7c Linux 4.8.18
936e79682048 tick/broadcast: Prevent NULL pointer dereference
f22b03e15427 clocksource/dummy_timer: Move hotplug callback after the real timers
8f78db7e5df0 xfs: use GPF_NOFS when allocating btree cursors
1d818a81bac6 xfs: ignore leaf attr ichdr.count in verifier during log replay
62ef2c9c1d94 xfs: don't allow di_size with high bit set
db28776559c7 xfs: error out if trying to add attrs and anextents > 0
fb70f2a64910 xfs: don't crash if reading a directory results in an unexpected hole
ebff27d76e7e xfs: complain if we don't get nextents bmap records
14c3f0b270aa xfs: check for bogus values in btree block headers
31f0f90742a3 xfs: pass state not whichfork to trace_xfs_extlist
430a362685e9 xfs: Move AGI buffer type setting to xfs_read_agi
20aa52b53586 xfs: new inode extent list lookup helpers
c7b75fcea4e6 xfs: fix unbalanced inode reclaim flush locking
e89df591f833 xfs: check minimum block size for CRC filesystems
b04a2c02f4d7 xfs: provide helper for counting extents from if_bytes
f4e7f4cd52b1 xfs: don't BUG() on mixed direct and mapped I/O
49f159ae6e80 xfs: check return value of _trans_reserve_quota_nblks
23bb39fdbb96 xfs: don't call xfs_sb_quota_from_disk twice
d3c7d2aa00d4 tpm_tis: Check return values from get_burstcount.
9fc58e555d78 drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases
4f075608d2c4 drm/i915/gen9: unconditionally apply the memory bandwidth WA
55e9c9d00d70 drm/i915: disable PSR by default on HSW/BDW
2c266a9a3631 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
e4d1900e15db s390/topology: always use s390 specific sched_domain_topology_level
b04e5322d8a4 powerpc/pci/rpadlpar: Fix device reference leaks
458e63f135d6 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3)
05a725c46f56 PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
8d12795b1eac PCI: Convert Mellanox broken INTx quirks to be for listed devices only
24af87eb2ffa PCI: Convert broken INTx masking quirks from HEADER to FINAL
ec9f277f52e9 PCI: Add Mellanox device IDs
9e7c8ebc1316 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
8c6c73a692c9 f2fs: hide a maybe-uninitialized warning
a91f2c1d4f45 f2fs: remove percpu_count due to performance regression
93634e1cc928 md: MD_RECOVERY_NEEDED is set for mddev->recovery
239b31c50bde crypto: arm64/aes-ce - fix for big endian
a3141467e092 crypto: arm64/aes-xts-ce: fix for big endian
7c26ef18f05a crypto: arm64/sha1-ce - fix for big endian
cb70151453a1 crypto: arm64/aes-neon - fix for big endian
c1c451bea4af crypto: arm64/aes-ccm-ce: fix for big endian
c4957563b255 crypto: arm/aes-ce - fix for big endian
dcb0c4ebc7ad crypto: arm64/ghash-ce - fix for big endian
d60ecc7f02a4 crypto: arm64/sha2-ce - fix for big endian
f9315853c7c1 s390/crypto: unlock on error in prng_tdes_read()
a76c795f53e7 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration
d3b82f9a9716 mm: khugepaged: fix radix tree node leak in shmem collapse error path
ab533014582f mm: khugepaged: close use-after-free race during shmem collapsing
c9777f749c4c mm/hugetlb.c: use the right pte val for compare in hugetlb_cow
0ff00251359e mmc: mmc_test: Uninitialized return value
abe558647a0f PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
b90b6b8cce53 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
d6229a05dd06 ima: fix memory leak in ima_release_policy
8cbe9b689467 sbp-target: Fix second argument of percpu_ida_alloc()
fed8068fd1de target/iscsi: Fix double free in lio_target_tiqn_addtpg()
ec92af68808e scsi: mvsas: fix command_active typo
efe08cc6939b ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
a5a550bd0768 ASoC: cht_bsw_rt5645: Fix leftover kmalloc
3fcdecb0f9f6 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
22604a045edb iommu/vt-d: Fix pasid table size encoding
f7dd8813279b iommu/amd: Fix the left value check of cmd buffer
9a134d29af48 iommu/amd: Missing error code in amd_iommu_init_device()
35a294dd5723 clk: renesas: mstp: Support 8-bit registers for r7s72100
8a7022b2ffad clk: imx31: fix rewritten input argument of mx31_clocks_init()
8b4940dd9224 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks
a13af6a13e68 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message
c54f34533601 clk: clk-wm831x: fix a logic error
36c3481984b5 clk: qcom: ipq806x: Fix board clk rates
fdd91f12bebc hwmon: (g762) Fix overflows and crash seen when writing limit attributes
18d749bb756f hwmon: (nct7802) Fix overflows seen when writing into limit attributes
1e6b9473280a hwmon: (ds620) Fix overflows seen when writing temperature limits
0bc18f1d87d9 hwmon: (amc6821) sign extension temperature
4c8493cb90b9 hwmon: (scpi) Fix module autoload
d618b1647e27 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
b803e5984015 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
1121b5f49eb7 debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS
f4b9eaba036c clk: renesas: cpg-mssr: Fix inverted debug check
a25cb9b5744b efi/efivar_ssdt_load: Don't return success on allocation failure
b36f676475bd cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
40b0bbe612bb ath10k: use the right length of "background"
3e0f61361a82 nl80211: Use different attrs for BSSID and random MAC addr in scan req
3d04e6a06abc mac80211: fix tid_agg_rx NULL dereference
f4ded840a335 drm/i915: tune down the fast link training vs boot fail
2ed2b3cc6ae3 drm/i915/dp: add lane_count check in intel_dp_check_link_status
ac2370c93a40 usb: dwc3: gadget: always unmap EP0 requests
6039272a760e usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
4f76ead23734 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
7acc87fae524 iio: accel: st_accel: fix LIS3LV02 reading and scaling
d59378efa7ac staging: iio: ad7606: fix improper setting of oversampling pins
401316ef7253 mei: move write cb to completion on credentials failures
3ab87b8fd267 mei: bus: fix mei_cldev_enable KDoc
c103d55bb7d7 USB: serial: io_ti: bind to interface after fw download
d302588a910f ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
56dce131ec69 arm64: dts: hip06: Correct hardware pin number of usb node
0c03658a3e7b USB: phy: am335x-control: fix device and of_node leaks
518a4d8d533c ARM: dts: r8a7794: Correct hsusb parent clock
7780eb2fd54b usb: gadget: Fix second argument of percpu_ida_alloc()
a3ff51875d83 USB: serial: kl5kusb105: abort on open exception path
5f8a0a2fd33b ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
fb106dc8b847 usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
1bff22506598 usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
c7c4ad7fce6d usb: hub: Move hub_port_disable() to fix warning if PM is disabled
b7fb0479ecd6 usb: musb: Fix trying to free already-free IRQ 4
217c03eaf10c usb: dwc3: gadget: Fix full speed mode
7de3c659811a usb: dwc3: pci: Fix dr_mode misspelling
6fdac0047799 usb: dwc3: pci: add Intel Gemini Lake PCI ID
220d6521aac2 xhci: Fix race related to abort operation
d3f3b0bd0756 xhci: Use delayed_work instead of timer for command timeout
0da62a5b5242 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
997d598c694f USB: serial: mos7720: fix parallel probe
eb9e22ac9265 USB: serial: mos7720: fix parport use-after-free on probe errors
c91243377c8d USB: serial: mos7720: fix use-after-free on probe errors
b756fba5e563 USB: serial: mos7720: fix NULL-deref at open
8cc2ae8e130e USB: serial: mos7840: fix NULL-deref at open
68ab1ccfc085 USB: serial: kobil_sct: fix NULL-deref in write
37ca8378e77c USB: serial: cyberjack: fix NULL-deref at open
fd435e99f5ed USB: serial: oti6858: fix NULL-deref at open
1653f66ba3fb USB: serial: io_edgeport: fix NULL-deref at open
73ec9d58b1c7 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
d1706b42d164 USB: serial: garmin_gps: fix memory leak on failed URB submit
b653000d9b0c USB: serial: iuu_phoenix: fix NULL-deref at open
427bac51ce67 USB: serial: io_ti: fix I/O after disconnect
59f740cd834c USB: serial: io_ti: fix another NULL-deref at open
2ef82cf063c8 USB: serial: io_ti: fix NULL-deref at open
8d5f29b2d578 USB: serial: spcp8x5: fix NULL-deref at open
e1fe8df45b74 USB: serial: keyspan_pda: verify endpoints at probe
10da95b6a2eb USB: serial: pl2303: fix NULL-deref at open
e29498ba6e1f USB: serial: quatech2: fix sleep-while-atomic in close
05859d754d6f USB: serial: omninet: fix NULL-derefs at open and disconnect
be17e1c916ce usb: return error code when platform_get_irq fails
0e9fc72194ce usb: xhci: hold lock over xhci_abort_cmd_ring()
527f810d8a86 xhci: Handle command completion and timeout race
c18ca85fd6de usb: host: xhci: Fix possible wild pointer when handling abort command
67a7de5a2f35 usb: xhci: fix return value of xhci_setup_device()
775a2bec9cdf xhci: free xhci virtual devices with leaf nodes first
80c502e0ce6f usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
d3a9f7c7e8c4 usb: xhci: fix possible wild pointer
5ded28d83128 usb: gadget: composite: Test get_alt() presence instead of set_alt()
16718d267e09 USB: dummy-hcd: fix bug in stop_activity (handle ep0)
47acb8434892 USB: fix problems with duplicate endpoint addresses
a45f34e820c6 USB: gadgetfs: fix checks of wTotalLength in config descriptors
27b4d04d1b87 USB: gadgetfs: fix use-after-free bug
cd4da96b1bac USB: gadgetfs: fix unbounded memory allocation bug
1fa95887b663 usb: gadgetfs: restrict upper bound on device configuration size
e4efa88511eb usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
05ace125078d usb: musb: dsps: implement clear_ep_rxintr() callback
38caa4d8986e usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
483c56831853 KVM: MIPS: Flush KVM entry code from icache globally
08aa895b61e1 KVM: MIPS: Don't clobber CP0_Status.UX
d33b04df932e KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
e3843cdbf81a drm/i915: Force VDD off on the new power seqeuencer before starting to use it
dbce182845b4 gcc-plugins: update gcc-common.h for gcc-7
970150316c04 mac80211: initialize fast-xmit 'info' later
cf3b94f8fe70 ARM: davinci: da850: don't add emac clock to lookup table twice
391c21a9ab0a parisc: Mark cr16 clocksource unstable on SMP systems
684f6df20889 fscrypt: fix renaming and linking special files
6c55d3ad7fb3 ALSA: usb-audio: Fix irq/process data synchronization
3074297922e2 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
81a35981225c ALSA: hda - Fix up GPIO for ASUS ROG Ranger
576b9d7789d8 iio: bmi160: Fix time needed to sleep after command execution
ad2a1ae984c6 iio: max44000: correct value in illuminance_integration_time_available
ee8e4a73dbf6 iio: common: st_sensors: fix channel data parsing
(From OE-Core rev: dc5cb390c5563c5d839c29cf3f85c2317f7cff64)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a3daa89e28d58d35692cd2ae2af3e49c9f536fb)
fix merge conflict do to changes in master
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has updated 4.8 to the latest -rt release. This
integrates those changes to standard/preempt-rt/*. As usual the
branches are kept fast forward, and a clean copy of the patches
can be found on standard/preempt-rt/rebase.
(From OE-Core rev: f20ab66d2d012c535755af556d81412d5182cefd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 9b4a71785221e2b67180fe6047e2ba2ad83f6523)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable release. Changes are as follows:
35327468a79d Linux 4.1.37
c27edfb64bbf scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
016d02981cce tipc: check minimum bearer MTU
efcf38bd4020 net: ping: check minimum size on ICMP header length
e29fdf045048 packet: fix race condition in packet_set_ring
fabaaaa96d54 net: add recursion limit to GRO
7abf32087c1d Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
74cd81c810b9 ptrace: being capable wrt a process requires mapped uids/gids
8165fc3eb28c scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()
1171afc4a34e mnt: Add a per mount namespace limit on the number of mounts
62fa696b7b43 posix_acl: Clear SGID bit when setting file permissions
de42b9559d0c fs: Avoid premature clearing of capabilities
cb8e1eef351b fs: Give dentry to inode_change_ok() instead of inode
2ee3ceeccd34 nfsd: Disable NFSv2 timestamp workaround for NFSv3+
820bc4582ab9 fuse: Propagate dentry down to inode_change_ok()
89bc54c54027 xfs: Propagate dentry down to inode_change_ok()
1b364dc9edba xattr: Option to disable meta-data block cache
9a66bc6ee0f9 tcp: fix use after free in tcp_xmit_retransmit_queue()
ebdb88b8e465 x86/kexec: add -fno-PIE
672612a21845 scripts/has-stack-protector: add -fno-PIE
e06ded86d961 x86/init: Fix cr4_init_shadow() on CR4-less machines
eec746939372 ARM: 8617/1: dma: fix dma_max_pfn()
58024f829d0b mm,ksm: fix endless looping in allocating memory when ksm enable
d427d645ccf9 can: dev: fix deadlock reported after bus-off
791a92897274 cpuset: handle race between CPU hotplug and cpuset_hotplug_work
6b82b0601ac2 mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl
e537a0977f3e drm/msm: fix use of copy_from_user() while holding spinlock
b56eb9cdc5f1 bus: arm-ccn: Fix PMU handling of MN
7298a8bf4c63 bus: arm-ccn: Provide required event arguments
(From OE-Core rev: f38c64c607373070982d52c40af545d37a7217ee)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 592468a262cc01e4954be33b4281ffca84fea838)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg 4.8.17 -stable release. Changes are as follows:
3d8f8d06abb3 Linux 4.8.17
adf363fd5ab9 drm/i915: skip the first 4k of stolen memory on everything >= gen8
000e612673da drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time
22aba475d97b drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
294bb3402c76 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
6a412ff3df87 drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
4803ec2a74c4 net: mvpp2: fix dma unmapping of TX buffers for fragments
48f26edb689c sg_write()/bsg_write() is not fit to be called under KERNEL_DS
d787c6b32c3f kconfig/nconf: Fix hang when editing symbol with a long prompt
e141d1a21e31 target/user: Fix use-after-free of tcmu_cmds if they are expired
29f3d1127c4b libnvdimm, pfn: fix align attribute
3a4e4281b5cd powerpc/ps3: Fix system hang with GCC 5 builds
e451d674bac5 powerpc/64e: Convert cmpi to cmpwi in head_64.S
0349fbebd984 SUNRPC: fix refcounting problems with auth_gss messages.
c513ade4ca56 pNFS: Fix a deadlock between read resends and layoutreturn
abb2903f1ac2 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
f061c76c1d56 pNFS: Don't clear the layout stateid if a layout return is outstanding
7de1b81c27fd pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
8f5ff877bf19 nfs_write_end(): fix handling of short copies
1678adac85da libceph: verify authorize reply on connect
1f93d1a77b17 PCI: Check for PME in targeted sleep state
c75bc2bde102 i40iw: Use correct src address in memcpy to rdma stats counters
7d0a6cf3e8c9 Input: drv260x - fix input device's parent assignment
b7843712cbd2 v4l: tvp5150: Add missing break in set control handler
4963b1910090 media: solo6x10: fix lockup by avoiding delayed register write
88bfde25e60f s5p-mfc: fix failure path of s5p_mfc_alloc_memdev()
c3fe33d185e0 mn88473: fix chip id check on probe
84b2f664409c mn88472: fix chip id check on probe
15d1d226eab4 IB/cma: Fix a race condition in iboe_addr_get_sgid()
7b3721aff59b IB/rxe: Fix a memory leak in rxe_qp_cleanup()
2a0aa77a54fb IB/multicast: Check ib_find_pkey() return value
37d4adba02d3 IPoIB: Avoid reading an uninitialized member variable
f079fc11f28e IB/mad: Fix an array index check
e661b5d4b94f fgraph: Handle a case where a tracer ignores set_graph_notrace
b2758da04d73 platform/x86: asus-nb-wmi.c: Add X45U quirk
f61152e3bbf0 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
8569aadeed3f vsock/virtio: fix src/dst cid format
576ea9e5e92e fsnotify: Fix possible use-after-free in inode iteration on umount
43983ce75e61 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
9a5cf8c4b112 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
b751eb6e9d99 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
0773e9248ae3 scsi: aacraid: remove wildcard for series 9 controllers
b202064f0b3f md/raid5: limit request size according to implementation limits
47090341ec97 sc16is7xx: Drop bogus use of IRQF_ONESHOT
c33e1abd2e31 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest
d3d61bb37afb s390/kexec: use node 0 when re-adding crash kernel memory
9652b62af49d s390/vmlogrdr: fix IUCV buffer allocation
f356ab038e78 firmware: fix usermode helper fallback loading
5c98bf834d6f ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
cc328ce59a4a scsi: avoid a permanent stop of the scsi device's request queue
6d675dffd425 scsi: zfcp: fix rport unblock race with LUN recovery
057fe03d627e scsi: zfcp: do not trace pure benign residual HBA responses at default level
5cebfea8080c scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
de8a06c673ac iscsi-target: Return error if unable to add network portal
9c3928be0dba scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
dbd4e6c60b4f scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
3863ab6d710d stm class: Fix device leak in open error path
698ac693dbb4 vt: fix Scroll Lock LED trigger name
6d8bb567102c block: protect iterate_bdevs() against concurrent close
2695afd5e9c2 mei: me: add lewisburg device ids
7be0a5f39d64 mei: request async autosuspend at the end of enumeration
dfc3c8a0fa1b drivers/gpu/drm/ast: Fix infinite loop if read fails
0f95e4a58ecd drm/amdgpu: fix init save/restore list in gfx_v8.0
8bfa4f5e6395 drm/gma500: Add compat ioctl
10b598df92d9 drm/radeon/si: load the proper firmware on 0x87 oland boards
cdb7aaaaecff drm/radeon: add additional pci revision to dpm workaround
1f884ec818a6 drm/radeon: Hide the HW cursor while it's out of bounds
6fb94229b2f6 drm/radeon: Also call cursor_move_locked when the cursor size changes
9c6fb7bf404d drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
2a7a43772bff drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
28d186430686 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
82d9824d9446 drm/nouveau/ltc: protect clearing of comptags with mutex
ce71868acee2 drm/nouveau/bios: require checksum to match for fast acpi shadow method
764e8e8af190 drm/nouveau/kms: lvds panel strap moved again on maxwell
00e1fb138ffa drm/nouveau/gr: fallback to legacy paths during firmware lookup
fef542735a48 drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
bab520835f81 ACPI / video: Add force_native quirk for HP Pavilion dv6
b7eea51a3a5c ACPI / video: Add force_native quirk for Dell XPS 17 L702X
ce8100660364 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
689d59259385 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
823c5c94f716 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()
235394e1625c docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
a26a016a4e2f thermal: hwmon: Properly report critical temperature in sysfs
def2c87dc7ac clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
2f885dafe704 arm64: tegra: Add VDD_GPU regulator to Jetson TX1
bd12562fceb4 gpio: chardev: Return error for seek operations
61d0b7139cf9 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
95d2a43e5a59 regulator: stw481x-vmmc: fix ages old enable error
52980ceb1832 mmc: sdhci: Fix recovery from tuning timeout
0ed0b2592437 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
d80ff7cb5d06 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
42e76c596c93 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
d2546f653bb0 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting
2abcc023a460 perf/x86/intel/cstate: Prevent hotplug callback leak
7b9e1a16a1b0 perf/x86: Fix exclusion of BTS and LBR for Goldmont
e24523a80c19 rtlwifi: Fix enter/exit power_save
c9fce6ba9c09 ssb: Fix error routine when fallback SPROM fails
c65ed08dcc04 Linux 4.8.16
645897231f96 driver core: fix race between creating/querying glue dir and its cleanup
f199bdbaab37 Revert "netfilter: move nat hlist_head to nf_conn"
99d6d4e0c50c Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
774225699b4d arm64: mark reserved memblock regions explicitly in iomem
587e89bd56c1 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
959e363eaf14 arm/xen: Use alloc_percpu rather than __alloc_percpu
6fbd3fb6c4df xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
883f12a20583 tpm xen: Remove bogus tpm_chip_unregister
8419f5215db3 kernel/debug/debug_core.c: more properly delay for secondary CPUs
63b33e0885d6 watchdog: qcom: fix kernel panic due to external abort on non-linefetch
bf902ead61d8 watchdog: mei_wdt: request stop on reboot to prevent false positive event
2f826a72ea8b kernel/watchdog: use nmi registers snapshot in hardlockup handler
bbf23f00d55e CIFS: Fix a possible memory corruption in push locks
9f1f5076149a CIFS: Fix missing nls unload in smb2_reconnect()
ff04da387c10 CIFS: Fix a possible memory corruption during reconnect
6cb589c7529f ASoC: intel: Fix crash at suspend/resume without card registration
769c0922d4a6 dm space map metadata: fix 'struct sm_metadata' leak on failed create
ab10ab0a2a3d dm raid: fix discard support regression
454b98d3f2b5 dm rq: fix a race condition in rq_completed()
26011e67339e dm crypt: mark key as invalid until properly loaded
bd5fcd18c8c3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
1ca66d6a19d2 dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device
d948d3b1e416 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded
45f631113b36 blk-mq: Do not invoke .queue_rq() for a stopped queue
e3742a15d6cd PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()
8b63a922ac07 usb: gadget: composite: always set ep->mult to a sensible value
d4f4b2e659f5 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted
0927d281a2fc mm/vmscan.c: set correct defer count for shrinker
3e0ef1b8e0cc nvmet: Fix possible infinite loop triggered on hot namespace removal
6290a3bcd3c3 loop: return proper error from loop_queue_rq()
bf0f02079039 f2fs: fix overflow due to condition check order
154d83a8384e f2fs: set ->owner for debugfs status file's file_operations
67e5239c8366 Revert "f2fs: use percpu_counter for # of dirty pages in inode"
d06eaf28f1bb ext4: do not perform data journaling when data is encrypted
e33673bef6f0 ext4: return -ENOMEM instead of success
3664877022ea ext4: reject inodes with negative size
1bfcffbb8801 ext4: add sanity checking to count_overhead()
9689eb99ce0f ext4: fix in-superblock mount options processing
52a9daa3d5c0 ext4: use more strict checks for inodes_per_block on mount
7505584356d2 ext4: fix stack memory corruption with 64k block size
86efd99f0ebe ext4: fix mballoc breakage with 64k block size
8022387d236a crypto: caam - fix AEAD givenc descriptors
ade692b8f1f5 ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
23d179acb363 vfs,mm: fix return value of read() at s_maxbytes
e45692fa1aea mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
04804d83d483 block_dev: don't test bdev->bd_contains when it is not stable
52d69727a441 fs: exec: apply CLOEXEC before changing dumpable task flags
781e976ac2c6 exec: Ensure mm->user_ns contains the execed files
fc1d3e5f3cd0 btrfs: make file clone aware of fatal signals
8c59356c1232 Btrfs: fix incremental send failure caused by balance
02fffa116bda Btrfs: don't BUG() during drop snapshot
0f2e022db237 btrfs: fix a possible umount deadlock
65563ab7271b Btrfs: fix memory leak in do_walk_down
364b85c57d25 btrfs: clean the old superblocks before freeing the device
6a6e9276f3f5 Btrfs: don't leak reloc root nodes on error
4d3d9b59d963 Btrfs: return gracefully from balance if fs tree is corrupted
a6522e487b2c Btrfs: bail out if block group has different mixed flag
d7839adcb0e3 Btrfs: fix memory leak in reading btree blocks
1a087cd869c6 clk: ti: omap36xx: Work around sprz319 advisory 2.1
2b96c4b19e0a ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
dc8144f49988 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
685c4db17890 ALSA: hda - fix headset-mic problem on a Dell laptop
b757fc019fc9 ALSA: hda - ignore the assoc and seq when comparing pin configurations
38c6095f48fe ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
5496ec423449 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
abf549a8b969 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
6b0a56e9aaf3 usbip: vudc: fix: Clear already_seen flag also for ep0
a9143e58d3cc USB: UHCI: report non-PME wakeup signalling for Intel hardware
4422a26936ae usb: gadget: composite: correctly initialize ep->maxpacket
be8f1c44177a usb: gadget: f_uac2: fix error handling at afunc_bind
79d5a30e37ab usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
e3dfbc8904b3 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs
269edaef820f USB: cdc-acm: add device id for GW Instek AFG-125
741523f3da82 USB: serial: kl5kusb105: fix open error path
f34b7e027eeb USB: serial: option: add dlink dwm-158
e47e81c4e705 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
3aa3cb940878 Btrfs: fix qgroup rescan worker initialization
691ea6c7eb1e Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
0695d8b10a88 btrfs: store and load values of stripes_min/stripes_max in balance status item
80f7d2836e37 Btrfs: fix relocation incorrectly dropping data references
f1b268d7a8e2 Btrfs: fix tree search logic when replaying directory entry deletes
65553a02a313 Btrfs: fix deadlock caused by fsync when logging directory entries
361e82137a2d Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
562de9c7ce24 btrfs: limit async_work allocation and worker func duration
f080d7094838 aoe: fix crash in page count manipulation
8bba2e2e62cb Linux 4.8.15
762c9bb16fce crypto: rsa - Add Makefile dependencies to fix parallel builds
014e5a7d9354 hotplug: Make register and unregister notifier API symmetric
3527ad05b46e batman-adv: Check for alloc errors when preparing TT local data
32ccd76788a5 m68k: Fix ndelay() macro
9fc7a4758608 ceph: don't set req->r_locked_dir in ceph_d_revalidate
a05f493f8d4e ARM: dts: imx7d: fix LCDIF clock assignment
798c825fb006 ARM: dts: orion5x: fix number of sata port for linkstation ls-gl
d271b9bec2d3 Revert "ACPI: Execute _PTS before system reboot"
3ee9f16cff18 can: peak: fix bad memory access and free sequence
212e0ff80970 can: raw: raw_setsockopt: limit number of can_filter that can be set
bdb5ed2040f5 crypto: marvell - Don't corrupt state of an STD req for re-stepped ahash
bfef274e4dae crypto: mcryptd - Check mcryptd algorithm compatibility
86bea59218a0 crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel
666531ca650e crypto: marvell - Don't copy hash operation twice into the SRAM
04925ba9b944 acpi, nfit: fix bus vs dimm confusion in xlat_status
53ed7c2e8d02 acpi, nfit: validate ars_status output buffer size
e04e2dace316 acpi, nfit, libnvdimm: fix / harden ars_status output length handling
483ac1487a9d acpi, nfit: fix extended status translations for ACPI DSMs
0525cebf8ef7 perf/x86: Fix full width counter, counter overflow
eceab1fd7f9e vhost-vsock: fix orphan connection reset
b0224f36735e sched/autogroup: Fix 64-bit kernel nice level adjustment
2a477999977c scsi: lpfc: fix oops/BUG in lpfc_sli_ringtxcmpl_put()
ac65fe0bbdea device-dax: fix private mapping restriction, permit read-only
2386c6b188c5 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
7b2347c8e803 locking/rtmutex: Prevent dequeue vs. unlock race
bed4eef2e8fa zram: restrict add/remove attributes to root only
4fb7569c7370 parisc: Fix TLB related boot crash on SMP machines
b81e5db49515 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
7e8f68aa1833 parisc: Purge TLB before setting PTE
6e284445bab5 fuse: fix clearing suid, sgid for chown()
e70d6d2d7383 powerpc/boot: Fix build failure in 32-bit boot wrapper
a82ad493f045 powerpc/mm: Fix lazy icache flush on pre-POWER5
84b36287c72d powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
7b8c57cad53a Linux 4.8.14
1670d1584701 esp6: Fix integrity verification when ESN are used
b3e9d4982939 esp4: Fix integrity verification when ESN are used
be5339492b29 flowcache: Increase threshold for refusing new allocations
3a116fa8c95d Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"
686182870c6a ipv4: Set skb->protocol properly for local output
e67bd82fb79d ipv6: Set skb->protocol properly for local output
22d94c326660 Don't feed anything but regular iovec's to blk_rq_map_user_iov
e4a6c61c6b71 constify iov_iter_count() and iter_is_iovec()
907bc3181c9a sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
360e257f8cf3 sparc64: fix compile warning section mismatch in find_node()
2f02dcb673a4 sparc64: Fix find_node warning if numa node cannot be found
ad02ec7d37a2 ipv4: Drop suffix update from resize code
0b1c601d367f ipv4: Drop leaf from suffix pull/push functions
cd8a6c0e95bf ipv4: Fix memory leak in exception case for splitting tries
a8780378b39e ipv4: Restore fib_trie_flush_external function and fix call ordering
5ff5e5c06c25 net: ping: check minimum size on ICMP header length
f818e5d86aef net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
bfecf9017f8b geneve: avoid use-after-free of skb->data
4daa2c73eb05 tipc: check minimum bearer MTU
1ff3209a21c8 sh_eth: remove unchecked interrupts for RZ/A1
bbf913d774b7 net: bcmgenet: Utilize correct struct device for all DMA operations
accb7c99fc0f cdc_ether: Fix handling connection notification
34457543e203 ip6_offload: check segs for NULL in ipv6_gso_segment.
cef222d40f2e packet: fix race condition in packet_set_ring
17941a9d6409 GSO: Reload iph after pskb_may_pull
ff0d7874078d net/dccp: fix use-after-free in dccp_invalid_packet
023cd33ece37 net: macb: fix the RX queue reset in macb_rx()
25d9b4bb64ea netlink: Do not schedule work from sk_destruct
f5dad3473d83 netlink: Call cb->done from a worker thread
360d6a23e79d net/sched: pedit: make sure that offset is valid
aa239369bdfa net: dsa: fix unbalanced dsa_switch_tree reference counting
9a7479273949 net, sched: respect rcu grace period on cls destruction
a9437ebc69f5 net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
ddf053431efe udplite: call proper backlog handlers
7b0aa75be3ab ipv6: bump genid when the IFA_F_TENTATIVE flag is clear
58c8cc33de6c rtnl: fix the loop index update error in rtnl_dump_ifinfo()
84df56749f48 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
7f8b251a0985 rtnetlink: fix FDB size computation
c39caa8f80c0 af_unix: conditionally use freezable blocking calls in read
bdc5c63e4b38 net: sky2: Fix shutdown crash
a75684ab7a12 ip6_tunnel: disable caching when the traffic class is inherited
1b079d5b9fc1 net: check dead netns for peernet2id_alloc()
65dfc8b4547f net: dsa: b53: Fix VLAN usage and how we treat CPU port
f959eb507439 virtio-net: add a missing synchronize_net()
8070f33be6c4 gro_cells: mark napi struct as not busy poll candidates
55d64c0b3c15 Linux 4.8.13
a4edb1a2b045 arm64: suspend: Reconfigure PSTATE after resume from idle
6353400d9130 arm64: mm: Set PSTATE.PAN from the cpu_enable_pan() call
b49b1ae6d341 arm64: cpufeature: Schedule enable() calls instead of calling them via IPI
e4e77deda200 batman-adv: Detect missing primaryif during tp_send as error
f106de5604dd clk: sunxi: Fix M factor computation for APB1
9e2d9e95094a perf/x86: Restore TASK_SIZE check on frame pointer
ab34b429a01f drm/mediatek: fix null pointer dereference
43b5bb262711 pwm: Fix device reference leak
6c6947613979 KVM: use after free in kvm_ioctl_create_device()
ff8b06b4efa6 arm64: dts: juno: fix cluster sleep state entry latency on all SoC versions
f67b89acdfa1 drm/radeon: fix check for port PM availability
835bb5cd3653 drm/amdgpu: fix check for port PM availability
972d595824b6 drm/radeon: fix power state when port pm is unavailable (v2)
be1b75edf20b drm/amdgpu: fix power state when port pm is unavailable
bd78c077f8fe drm/i915: drop the struct_mutex when wedged or trying to reset
5dd86b6e5873 drm/i915: Don't touch NULL sg on i915_gem_object_get_pages_gtt() error
05abe7452b71 KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs
ca42bd35d308 mwifiex: printk() overflow with 32-byte SSIDs
de9ba13ebfdb PCI: Set Read Completion Boundary to 128 iff Root Port supports it (_HPX)
4f4857148b4a PCI: Export pcie_find_root_port
27dce9bcad4d mm: workingset: fix NULL ptr in count_shadow_nodes
60e33689a06e rcu: Fix soft lockup for rcu_nocb_kthread
b6f9e236b7ef Input: psmouse - disable automatic probing of BYD touchpads
6ca8ab7052c4 Input: change KEY_DATA from 0x275 to 0x277
600bec25b855 ovl: fix d_real() for stacked fs
5661a6926871 mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlb
48b6b50a2ba5 kasan: update kasan_global for gcc 7
db04d354b7f1 zram: fix unbalanced idr management at hot removal
010020900006 thp: fix corner case of munlock() of PTE-mapped THPs
08fd95de5eee mm, thp: propagation of conditional compilation in khugepaged.c
76e59ecacd54 ARC: Don't use "+l" inline asm constraint
b43fb9f6f162 ARC: mm: PAE40: Fix crash at munmap
8d1ee7b245ef scsi: libfc: fix seconds_since_last_reset miscalculation
10e2627377b0 scsi: hpsa: use bus '3' for legacy HBA devices
e170c1003c02 libata-scsi: Fixup ata_gen_passthru_sense()
(From OE-Core rev: e58e0ed459c18e2e8de63350e95a45307ce2b7c7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 9cd1850a0a8882796f89c65c073bc80f915f413f)
fix merged conflicts do to changes in master
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release. Changes are as follows:
cdd86b972265 Linux 4.4.41
9f11a0ab6a96 net: mvpp2: fix dma unmapping of TX buffers for fragments
d85727365859 sg_write()/bsg_write() is not fit to be called under KERNEL_DS
7fb5a936457d kconfig/nconf: Fix hang when editing symbol with a long prompt
e321f384d8a5 target/user: Fix use-after-free of tcmu_cmds if they are expired
e5de1c724c06 powerpc: Convert cmp to cmpd in idle enter sequence
cadaba838f1b powerpc/ps3: Fix system hang with GCC 5 builds
8a2bcaae1bc7 nfs_write_end(): fix handling of short copies
b66e3126569e libceph: verify authorize reply on connect
edfe6a79f905 PCI: Check for PME in targeted sleep state
8db00756afbd Input: drv260x - fix input device's parent assignment
44685f03dd56 media: solo6x10: fix lockup by avoiding delayed register write
952a9f5af9f8 IB/cma: Fix a race condition in iboe_addr_get_sgid()
b7f73ada92a3 IB/multicast: Check ib_find_pkey() return value
7b1369215616 IPoIB: Avoid reading an uninitialized member variable
0de381ca35b5 IB/mad: Fix an array index check
e945df4c6bc2 fgraph: Handle a case where a tracer ignores set_graph_notrace
88e41441ccd4 platform/x86: asus-nb-wmi.c: Add X45U quirk
2ef502e860f1 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
19aa9c14989e kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
129e4323df37 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
ddf5718adfb8 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
1c8841c9b7d2 md/raid5: limit request size according to implementation limits
d78006d2345f sc16is7xx: Drop bogus use of IRQF_ONESHOT
b988320dab53 s390/vmlogrdr: fix IUCV buffer allocation
656c9abd574b firmware: fix usermode helper fallback loading
429a533a3d9a ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
dbb67e1d585d scsi: avoid a permanent stop of the scsi device's request queue
565ae61d8995 scsi: zfcp: fix rport unblock race with LUN recovery
3b3739dfa69c scsi: zfcp: do not trace pure benign residual HBA responses at default level
1cc0f9488b91 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
bccd78746f88 scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
49ea06561154 scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
edf1169bbbaa vt: fix Scroll Lock LED trigger name
f4f02a856a92 block: protect iterate_bdevs() against concurrent close
abb78811e242 mei: request async autosuspend at the end of enumeration
1f9c91a37542 drivers/gpu/drm/ast: Fix infinite loop if read fails
970dc8cdec9c drm/gma500: Add compat ioctl
0e0b70f581fc drm/radeon: add additional pci revision to dpm workaround
62a272498dbe drm/radeon: Hide the HW cursor while it's out of bounds
deac395e0ba8 drm/radeon: Also call cursor_move_locked when the cursor size changes
cb8d63d885e9 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
adea4a7b0f2b drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
d32d4b3d7c9f drm/nouveau/ltc: protect clearing of comptags with mutex
3a2990e67b05 drm/nouveau/bios: require checksum to match for fast acpi shadow method
a163451c80b0 drm/nouveau/kms: lvds panel strap moved again on maxwell
69e236e70ead ACPI / video: Add force_native quirk for HP Pavilion dv6
2c2375e40d28 ACPI / video: Add force_native quirk for Dell XPS 17 L702X
01b6089b5622 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
5283a7bedbcb staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
e692edec93c1 thermal: hwmon: Properly report critical temperature in sysfs
9d9541d44a26 clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
e01b04be3eb0 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
96ea1b9ea099 regulator: stw481x-vmmc: fix ages old enable error
842ec27cd3f2 mmc: sdhci: Fix recovery from tuning timeout
dae7cb414834 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
b63929e8e130 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
05f4183ab5a4 rtlwifi: Fix enter/exit power_save
f5d90f434c9a ssb: Fix error routine when fallback SPROM fails
a3edc7b2e537 Linux 4.4.40
7a2b4ee54b3f ppp: defer netns reference release for ppp channel
37de955c11b5 driver core: fix race between creating/querying glue dir and its cleanup
f85a337b4066 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
fdb17ddd0a49 arm/xen: Use alloc_percpu rather than __alloc_percpu
9397e79c4b2d xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
00a0de085d60 tpm xen: Remove bogus tpm_chip_unregister
f93777c91544 kernel/debug/debug_core.c: more properly delay for secondary CPUs
f2b8b3455b22 kernel/watchdog: use nmi registers snapshot in hardlockup handler
597f9c03b2d5 CIFS: Fix a possible memory corruption in push locks
a9c69e152897 CIFS: Fix missing nls unload in smb2_reconnect()
f0b715409cb9 CIFS: Fix a possible memory corruption during reconnect
6dcb01e78333 ASoC: intel: Fix crash at suspend/resume without card registration
701ec6e5cea7 dm space map metadata: fix 'struct sm_metadata' leak on failed create
85290a163b06 dm crypt: mark key as invalid until properly loaded
9188611f81e3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
f0898dc2852b blk-mq: Do not invoke .queue_rq() for a stopped queue
c53af76d5de1 usb: gadget: composite: always set ep->mult to a sensible value
b35f34f66943 exec: Ensure mm->user_ns contains the execed files
0812936b11ea fs: exec: apply CLOEXEC before changing dumpable task flags
14d8e5cae039 mm/vmscan.c: set correct defer count for shrinker
ffef1630187b loop: return proper error from loop_queue_rq()
011ded975e34 f2fs: set ->owner for debugfs status file's file_operations
3460edfc70c2 ext4: do not perform data journaling when data is encrypted
36af7cd560b9 ext4: return -ENOMEM instead of success
519a30148e23 ext4: reject inodes with negative size
f655b3575c47 ext4: add sanity checking to count_overhead()
3995881b0f72 ext4: fix in-superblock mount options processing
386588013810 ext4: use more strict checks for inodes_per_block on mount
7b74c351de1c ext4: fix stack memory corruption with 64k block size
26492d8a22b0 ext4: fix mballoc breakage with 64k block size
4b6050922fb8 crypto: caam - fix AEAD givenc descriptors
1c1f15f8ebfb ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
03eed7afbc09 mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
d80411dea6a4 block_dev: don't test bdev->bd_contains when it is not stable
85cfbd9db2c6 btrfs: make file clone aware of fatal signals
323ffc03ddb2 Btrfs: don't BUG() during drop snapshot
107800061996 Btrfs: fix memory leak in do_walk_down
5a9b659edef6 Btrfs: don't leak reloc root nodes on error
8ca6845a58cd Btrfs: return gracefully from balance if fs tree is corrupted
78a587c608f9 Btrfs: bail out if block group has different mixed flag
25ee81e54620 Btrfs: fix memory leak in reading btree blocks
590202271ffd clk: ti: omap36xx: Work around sprz319 advisory 2.1
119b6658ce05 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
f0ea0ade046e ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
fa695bdc1741 ALSA: hda - fix headset-mic problem on a Dell laptop
faff777fb456 ALSA: hda - ignore the assoc and seq when comparing pin configurations
518fca87c645 ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
29348065c339 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
d0ba0f6a8291 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
cbb2a2563587 USB: UHCI: report non-PME wakeup signalling for Intel hardware
8ede2d7908aa usb: gadget: composite: correctly initialize ep->maxpacket
c67c2ed829f3 usb: gadget: f_uac2: fix error handling at afunc_bind
747b31526369 usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
acca3cf0d62b USB: cdc-acm: add device id for GW Instek AFG-125
5d6a392b6d36 USB: serial: kl5kusb105: fix open error path
6a6e113cd928 USB: serial: option: add dlink dwm-158
17907f291779 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
1f5adadcd032 Btrfs: fix qgroup rescan worker initialization
b5e715ed11ec btrfs: store and load values of stripes_min/stripes_max in balance status item
919b74ba5ed5 Btrfs: fix tree search logic when replaying directory entry deletes
0d619cf6f982 btrfs: limit async_work allocation and worker func duration
a34f0e8a2f89 Linux 4.4.39
5d488dee9236 crypto: rsa - Add Makefile dependencies to fix parallel builds
1c0f4e0ebb79 hotplug: Make register and unregister notifier API symmetric
537e42d759ae batman-adv: Check for alloc errors when preparing TT local data
f03531d09125 m68k: Fix ndelay() macro
55e15b2f44d7 arm64: futex.h: Add missing PAN toggling
e29949ed3903 can: peak: fix bad memory access and free sequence
083021bdba1e can: raw: raw_setsockopt: limit number of can_filter that can be set
9a3baed9103b crypto: mcryptd - Check mcryptd algorithm compatibility
c4db8a7d1e0c perf/x86: Fix full width counter, counter overflow
c6a5bf4cda12 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
b27d9147f24a locking/rtmutex: Prevent dequeue vs. unlock race
e286b6c16758 zram: restrict add/remove attributes to root only
a0bd6aa097a4 parisc: Fix TLB related boot crash on SMP machines
605f315c5a83 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
db9598605768 parisc: Purge TLB before setting PTE
4bcea472de10 powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
c95b7f1fab0c Linux 4.4.38
52783ada69b4 esp6: Fix integrity verification when ESN are used
3bf28ce9c749 esp4: Fix integrity verification when ESN are used
2176ec1c82ea ipv4: Set skb->protocol properly for local output
25d8b7c105e1 ipv6: Set skb->protocol properly for local output
d41fb2fbb28d Don't feed anything but regular iovec's to blk_rq_map_user_iov
fd1aa12c6340 constify iov_iter_count() and iter_is_iovec()
899b60535a2a sparc64: fix compile warning section mismatch in find_node()
ed7b60db00a1 sparc64: Fix find_node warning if numa node cannot be found
438e91da24fa sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
06cdad2b6d92 net: ping: check minimum size on ICMP header length
77125815f058 net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
6e682c528b3e geneve: avoid use-after-free of skb->data
a89e2ff894bc sh_eth: remove unchecked interrupts for RZ/A1
c36a2a14f26d net: bcmgenet: Utilize correct struct device for all DMA operations
5a01eaf19858 packet: fix race condition in packet_set_ring
1a15519fdcdb net/dccp: fix use-after-free in dccp_invalid_packet
baaf0c65bc8e netlink: Do not schedule work from sk_destruct
d1ed9c1dba63 netlink: Call cb->done from a worker thread
6c42bd6a393c net/sched: pedit: make sure that offset is valid
cfa7c16d4577 net, sched: respect rcu grace period on cls destruction
94de6f2ffb3d net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
56366fa0ad46 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
aece024e38cb rtnetlink: fix FDB size computation
6ef59b986190 af_unix: conditionally use freezable blocking calls in read
acf9504ae220 net: sky2: Fix shutdown crash
49695d1e3b81 ip6_tunnel: disable caching when the traffic class is inherited
2b54505c877f net: check dead netns for peernet2id_alloc()
790fd11f9ed6 virtio-net: add a missing synchronize_net()
(From OE-Core rev: c3c66220630162c84ead895dc98c7d951b0e2e85)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 2042e74352fcec84ac69645387273438794966f6)
fixed up merge conflicts do to changes in master
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
IPv6 routes need the device argument for link-local routes, or they
cannot be used at all. E.g. "gateway fe80::def" seems to be used in
some places, but kernel refuses to insert the route unless device
name is explicitly specified in the route addition.
(From OE-Core rev: 4d9fcf9f2fa573218cda3a133e0da34c4185838a)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 96ed437d57316153453bb5e170a4fd4f3a95883d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These changes are required for compatibility with ConnMan, which by default
uses table ids greater than 255.
(From OE-Core rev: 8ab20681730a3cbd75ed0c7c208a30b437714915)
Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit e9114bdd8a83b88f59526780910c49e3092fdd57)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream commit to address vulnerabilities:
CVE: CVE-2017-6965
[BZ 21137] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21137
Fix readelf writing to illegal addresses whilst processing corrupt input
files containing symbol-difference relocations.
PR binutils/21137
* readelf.c (target_specific_reloc_handling): Add end parameter.
Check for buffer overflow before writing relocated values.
(apply_relocations): Pass end to target_specific_reloc_handling.
CVE: CVE-2017-6966
[BZ 21139] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21139
Fix read-after-free error in readelf when processing multiple, relocated
sections in an MSP430 binary.
PR binutils/21139
* readelf.c (target_specific_reloc_handling): Add num_syms
parameter. Check for symbol table overflow before accessing
symbol value. If reloc pointer is NULL, discard all saved state.
(apply_relocations): Pass num_syms to target_specific_reloc_handling.
Call target_specific_reloc_handling with a NULL reloc pointer
after processing all of the relocs.
(From OE-Core rev: 477afc5634698d6c5cdb6d7705a31d859495695d)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backported from master.]
We don't want to run resize on non serial consoles. There's
been an earlier attempt (6557787), so this builds upon that.
The problem we're seeing is that if there is text buffered in
the virtual console (like from a desperate user trying to
enter login details), resize will get stuck while calling
ioctl(tty, TCSETAW);
Since serial consoles are named (not just numbered), this
change limits resize's reach even further to run only on
/dev/tty[A-z] (thus avoiding /dev/tty[0-9]).
(From OE-Core rev: 00ff70dc6284a510e4fe3acfaae6b59663fd3141)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
Update the ${PN} to ${BPN} in order to pass the autobuilder
mulitlib enable configuration.
[YOCTO #11226]
(From OE-Core rev: b935c1e9dd17afa85a9ffe213d5f94051f585529)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-tmpfiles-setup will fail at boot, so we suppress
the default versions of etc.conf and home.conf.
We also make sure that /var/{cache,spool} and /srv are writeable
if they exist.
(From OE-Core rev: a7c6129a7c9c0c7e1b729e16a60b2ca704af3f97)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was already whitelisted, but the 4.8 kernel changed the error
message, causing it to get caught by parselogs again.
Fixes [YOCTO #10494].
(From OE-Core rev: a163060c25615fd29cdc477319f83997e65d0846)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit e1bad14231115f3b1a2bf844ef5b2022c648b55d)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.siginfo files are not being accessed from local or NFS-mounted
sstate mirrors when sstate package is installed, so their atime
is not updated. If sstate mirror is cleaned based on access time,
they get deleted, even though they are still being used.
Updated atime of .siginfo symlinks with 'touch -a'. This command
dereferences symlinks pointing to the local mirror and updates
atime of the .siginfo file on the mirror.
[YOCTO #10857]
(From OE-Core rev: 9f8013e3339533c7d60139c1993a5d077fe02ee5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* when OPKGLIBDIR doesn't have the default /var/lib value it will
silently fail to copy package database from normal rootfs to debugfs
rootfs and then when trying to install *-dbg complimentary packages
it won't install anything, because installed_pkgs.txt file generated
from debugfs is empty
(From OE-Core rev: 0554537271f56d95cb43e09bb831f57f82e8f3ac)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* respect it for incremental rootfs generation
* add lists_dir option to opkg.conf
* also fix setting info_dir and status_file when they use default value, the
problem is that self.opkg_dir is already prefixed with rootfs directory,
comparing it with /var/lib/opkg always returned false and the options were
appended to config file unnecessary
* with opkg 0.3.4 we can use VARDIR prefix added in:
commit d2a8e23dc669adc398f4bb8bcfcabfcf925708f7
Author: Florin Gherendi <floring2502@gmail.com>
Date: Mon Dec 19 12:25:38 2016 +0200
libopkg: make the /var and /etc directories configurable at compile time.
(From OE-Core rev: f1d21d1d408d89cc3bd59cd30ab10c902863c7c0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit: 512334f102a33833d39af53467894315f0715d07
"python-3.5-manifest: Add imp to importlib"
added imp to importlib in the generated manifest, but not in the generator script.
(From OE-Core rev: 70bea8d0be82781ce615794434225418cce63a90)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
* In build1:
$ runqemu nfs qemux86-64
In build2:
$ runqemu nfs qemux86-64
It would fail before since the port numerbs and conf files are
conflicted, now make runqemu-export-rootfs work together with runqemu to
fix the problem.
* And we don't need export PSEUDO_LOCALSTATEDIR in runqemu, the
runqemu-export-rootfs can handle it well based on NFS_EXPORT_DIR.
* Remove "async" option from unfsd to fix warning in syslog:
Warning: unknown exports option `async' ignored
* Fixed typos
Both slirp and tap can work.
(From OE-Core rev: f3a9ff2cea88cf4c90b1037b3ca17e6a63ea33ee)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ runqemu nfs qemux86-64
[snip]
On your target please remember to add the following options for NFS
nfsroot=IP_ADDRESS:/path/to/nfsroot,nfsvers=3,port=,mountprog=,nfsprog=,udp,mountport=
[snip]
Note that the values are null, this is because their var names are
inconsistent.
[YOCTO #10519]
(From OE-Core rev: b572921b359010f281cdb861a73bf05317c6dacf)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the recently implemented update-alternatives for bash binary,
sanity checker may end up with a (false-positive) error such as:
Error, /bin/sh links to /bin/bash.bash, must be dash or bash
This patch modifies the test: presence of "/bash" or "/dash" in shell binary
name results in pass.
[YOCTO#11108]
(From OE-Core rev: 3f2bc735e514b27a21ac47524fe0c5ca16e19dd7)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If image type "foo" depends on image type "bar.xz", then dependencies
should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
not from "IMAGE_DEPENDS_bar.xz".
(From OE-Core rev: 854fff614059100494326adeec7c48fa5272d080)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8a9f249a9166347cc0468191ce130003e3d306e1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously if IMAGE_TYPEDEP_* contained a conversion type of the form,
"foo.bar", the dependency on CONVERSION_DEPENDS_bar would not get added
to the task depends for do_rootfs.
[YOCTO #10883]
(From OE-Core rev: c0ff0e1ff872b04006b26c6db4f8c9cf053b0764)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 037d39898e0e16c6d5b24a8d3844abfb328d3c14)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gmplib has some assembly routines. These have not been optimized
for MIPS R6 yet. Add --disable-assembly so that the C implementation
is used.
(From OE-Core rev: b21d5c0c615c99bd0d756ab32818acc3b648fb4e)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b0975809fe43b7506cc30a60245f5e32b275a3ec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without the int() function this variable will be a string. This will led
to a error in Filemap on line 545 due wrong types.
> [...]
> File
> ".../poky/scripts/lib/wic/filemap.py", line 545, in sparse_copy
> if start < skip < end:
> TypeError: unorderable types: int() < str()
(From OE-Core rev: 5b9bcfef9086c19a4577d36729b7b339f959d5c4)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 46b5814bcdc0e7e3cb293e877e2aa949baf5fef8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patches removes the empty space in front of the copied file which
was skipped. Without this reduction it's not possible to place a
partition with rawcopy and skip parameter on a desired alignment.
(From OE-Core rev: e29deac69ed29226b68001db2fcfb3ed24c0568a)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 5c024d71f9413b81ee1707dbc41f0721f8f27bdb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building on a system without "cc" showed this recipe doesn't respect
the $CC variable. Fix this by passing the right option to the makefile.
(From OE-Core rev: 313d977fdfe571ad6edf65c6ed20bbb0110dc320)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 402080c0a77443f541fa3d658b79f3fba327279d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Southern Chile moves from -04/-03 to -03, and Mongolia
discontinues DST.
Changes to future time stamps
Mongolia no longer observes DST. (Thanks to Ganbold Tsagaankhuu.)
Chile's Region of Magallanes moves from -04/-03 to -03 year-round.
Its clocks diverge from America/Santiago starting 2017-05-13 at
23:00, hiving off a new zone America/Punta_Arenas. Although the
Chilean government says this change expires in May 2019, for now
assume it's permanent. (Thanks to Juan Correa and Deborah
Goldsmith.) This also affects Antarctica/Palmer.
Changes to past time stamps
Fix many entries for historical time stamps for Europe/Madrid
before 1979, to agree with tables compiled by Pere Planesas of the
National Astronomical Observatory of Spain. As a side effect,
this changes some time stamps for Africa/Ceuta before 1929, which
are probably guesswork anyway. (Thanks to Steve Allen and
Pierpaolo Bernardi for the heads-ups, and to Michael Deckers for
correcting the 1901 transition.)
Ecuador observed DST from 1992-11-28 to 1993-02-05.
(Thanks to Alois Treindl.)
Asia/Atyrau and Asia/Oral were at +03 (not +04) before 1930-06-21.
(Thanks to Stepan Golosunov.)
Changes to past and future time zone abbreviations
Switch to numeric time zone abbreviations for South America, as
part of the ongoing project of removing invented abbreviations.
This avoids the need to invent an abbreviation for the new Chilean
new zone. Similarly, switch from invented to numeric time zone
abbreviations for Afghanistan, American Samoa, the Azores,
Bangladesh, Bhutan, the British Indian Ocean Territory, Brunei,
Cape Verde, Chatham Is, Christmas I, Cocos (Keeling) Is, Cook Is,
Dubai, East Timor, Eucla, Fiji, French Polynesia, Greenland,
Indochina, Iran, Iraq, Kiribati, Lord Howe, Macquarie, Malaysia,
the Maldives, Marshall Is, Mauritius, Micronesia, Mongolia,
Myanmar, Nauru, Nepal, New Caledonia, Niue, Norfolk I, Palau,
Papua New Guinea, the Philippines, Pitcairn, Qatar, Réunion, St
Pierre & Miquelon, Samoa, Saudi Arabia, Seychelles, Singapore,
Solomon Is, Tokelau, Tuvalu, Wake, Vanuatu, Wallis & Futuna, and
Xinjiang; for 20-minute daylight saving time in Ghana before 1943;
for half-hour daylight saving time in Belize before 1944 and in
the Dominican Republic before 1975; and for Canary Islands before
1946, for Guinea-Bissau before 1975, for Iceland before 1969, for
Indian Summer Time before 1942, for Indonesia before around 1964,
for Kenya before 1960, for Liberia before 1973, for Madeira before
1967, for Namibia before 1943, for the Netherlands in 1937-9, for
Pakistan before 1971, for Western Sahara before 1977, and for
Zaporozhye in 1880-1924.
For Alaska time from 1900 through 1967, instead of "CAT" use the
abbreviation "AST", the abbreviation commonly used at the time
(Atlantic Standard Time had not been standardized yet). Use "AWT"
and "APT" instead of the invented abbreviations "CAWT" and "CAPT".
Use "CST" and "CDT" instead of invented abbreviations for Macau
before 1999 and Taiwan before 1938, and use "JST" instead of the
invented abbreviation "JCST" for Japan and Korea before 1938.
Change to database entry category
Move the Pacific/Johnston link from 'australasia' to 'backward',
since Johnston is now uninhabited.
(From OE-Core rev: 697ea2e2776e54b5cac70461b8aafa2c9b7a0bc3)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 784a8379260759700ab8482b1699c9567d6e9f3f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles some transitions in January 2038 when it
attempts to work around Qt bug 53071. This fixes a bug affecting
Pacific/Tongatapu that was introduced in zic 2016e. localtime.c
now contains a workaround, useful when loading a file generated by
a buggy zic. (Problem and localtime.c fix reported by Bradley
White.)
zdump -i now outputs non-hour numeric time zone abbreviations
without a colon, e.g., "+0530" rather than "+05:30". This agrees
with zic %z and with common practice, and simplifies auditing of
zdump output.
zdump is now buildable again with -DUSE_LTZ=0.
(Problem reported by Joseph Myers.)
zdump.c now always includes private.h, to avoid code duplication
with private.h. (Problem reported by Kees Dekker.)
localtime.c no longer mishandles early or late timestamps
when TZ is set to a POSIX-style string that specifies DST.
(Problem reported by Kees Dekker.)
date and strftime now cause %z to generate "-0000" instead of
"+0000" when the UT offset is zero and the time zone abbreviation
begins with "-".
Changes to documentation and commentary
The 'Theory' file now better documents choice of historical time
zone abbreviations. (Problems reported by Michael Deckers.)
tz-link.htm now covers leap smearing, which is popular in clouds.
(From OE-Core rev: 064457dd47cff339ae442c29ce23648a83a695b9)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 6c95fbf51ec538e29083a4a890d106b732c1b182)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles file systems that lack hard links, fixing
bugs introduced in 2016g. (Problems reported by Tom Lane.)
Also, when the destination already contains symbolic links, zic
should now work better on systems where the 'link' system call
does not follow symbolic links.
Changes to documentation and commentary
tz-link.htm now documents the relationship between release version
numbers and development-repository commit tags. (Suggested by
Paul Koning.)
The 'Theory' file now documents UT.
iso3166.tab now accents "Curaçao", and commentary now mentions
the names "Cabo Verde" and "Czechia". (Thanks to Jiří Boháč.)
(From OE-Core rev: 3fb5ddce97af1d4ada0dcc7f9c0ceef6ac392918)
(From OE-Core rev: b83b3565554c923468049ea1fdc9bb5dcec631aa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9d6b482f2275c054dff91b81ac901b612f9c9b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04.
Changes to future time stamps
Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
This hives off a new zone Europe/Saratov from Europe/Volgograd.
(Thanks to Yuri Konotopov and Stepan Golosunov.)
Changes to past time stamps
The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
Asia/Aqtau except it switched from +05/+06 to +04/+05 in spring
1999, not fall 1994. (Thanks to Stepan Golosunov.)
Changes to past time zone abbreviations
Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote
summer time before 1948. The old use of "EET" was a typo.
(From OE-Core rev: a0b389b5f3effad5194109f9914dec6125b3569d)
(From OE-Core rev: 5e117f4250d6155d3014f85dd1cbbfad0afdf282)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 147d7802926153ef0abb12d5e738576d8dfd02d7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of html5lib 0.9999999/1.0b8 (released on July 14, 2016), some modules
have moved from _base to base. Handle this, while staying compatible
with earlier versions.
(Bitbake rev: bdf7a362ecdafd47f309b7a21feac4b94624f287)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 87c17b352daa63bc4f62e8802982288ab1839f1b.
Upstream restored the original hashes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Machines that cloned a while ago will have the commit, but new
deployments won't because it seems the upstream changed/rebased
and the old commit ID has been garbage-collected away. Hence
the fetch fails to check out the named commit ID.
Both the old (gone) commit, and the "new" commit show the same
dates and commit log and point at 5.28, so hopefully this is
the right thing to do. A git diff of the two seems to only show
a blanket uprev of CVS tags and deletion of a couple autogen'd
files, and no real source changes.
(From OE-Core rev: adb71e06768adadda7b69c3b5e81ca3ad67237f4)
Cc: Christos Zoulas <christos@zoulas.com>
(From OE-Core rev: 87c17b352daa63bc4f62e8802982288ab1839f1b)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also run sanity check for all additional multiconfig configurations
as listed in BBMULTICONFIG, not just the "default" configuration.
[YOCTO#10810]
(Bitbake rev: 0f7fdaa8212a8b9f1f089d32e652400d6c4b4822)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently you cannot build a target for all the configured multiconfigs without
specifying a list. The list can be quite long, requiring to type several lines
of text.
This enhancement is to support globbing so that you can do this,
e.g. instead of:
$ bitbake multiconfig:A:bash multiconfig:B:bash bash
you can do:
$ bitbake multiconfig:*:bash
There are real world use cases where it is desirable to use multiconfig with
two different tasks. For example: SDKs with multiple toolchains but also
containing set of additional host tools, or multiconfig builds requiring one image for
the main CPU(s) and a different co-image for a companion CPU.
For this reason, two variations of the new syntax are supported.
For example, the following:
$ bitbake multiconfig:*:meta-toolhchain
would expand to:
$ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain meta-toolchain
However the following:
$ bitbake multiconfig:*:meta-toolhchain hosttools
would expand to:
$ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain hosttools
In other words, if the user specified the "default" task explicitly, it replaces the implicit
"default" task.
[YOCTO#10680]
(Bitbake rev: 3e80d47bea51b64ed6c8bffc033f2d11a630481e)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If was pointed out that if we have:
XXX = " A"
XXX_remove_inactive-override = "YY"
then XXX can become "A" and the leading space can be removed. This is because
the remove override code changes the variable value even when there is no
removals active. In the process it dirties the cache.
We don't really need to do this so tweak the code accordingly.
(Bitbake rev: f1ee6dfd3d193a9055320bdd555c1dbaa63f9475)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to check the gpg version and alter its command line options
accordingly.
[YOCTO #11054]
(From OE-Core rev: 863459e6b565eb6b1a74b78bc01e884ffeac2085)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 44a44b7e582a5a654baf21829d168568481c13d9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new %_gpg_sign_cmd_extra_args macro that allows customizing the
gpg options used when signing rpm packages. This is needed to be able to
sign packages with gpg 2.1 which requires "--pinentry-mode loopback" to
allow non-interactive signing.
[YOCTO #11054]
(From OE-Core rev: 5cbba2c4016ad84a54f83531868aa6e66eef468e)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 373a7146d596d27376a003014df0d06f3df5348d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the file list into chunks in order to avoid
"OSError: [Errno 7] Argument list too long"
This would happend when a package has huge amount of subpackages, e.g.
glibc-locale.
[YOCTO #11069]
(From OE-Core rev: 786eafd7b1080eccfe1c7d417eede20d75d80cb0)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 874f5016fd4dc76bc867b68470297fe59e78a9e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without doing this, locale data is not written
into usr/src/locale.
We could also just use MKDIR_P instead of mkdir_p.
(From OE-Core rev: 6a767f6587a9d60e21fa1d9687c7c08efe3f89ab)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp python module is the forerunner of importlib. Include imp in
the importlib subpackage instead of the misc subpackage so that it can
be depended on without bringing in a bunch of unrelated, unused modules.
(Slightly modified backport of afd9de380d
by George McCollister <george.mccollister@gmail.com>)
[YOCTO#11134]
(From OE-Core rev: 65f6010346c08bf90f381a2d834dd9908ba2100c)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing dependency on nativesdk-python3-importlib so the imp Python
module is installed.
Before this patch, running gdb from the sdk would give the following
error:
Python Exception <class 'ImportError'> No module named 'imp':
(From OE-Core rev: ad00a31fbe93e073a2d83616efcd08c5a7ef37c9)
(From OE-Core rev: d6e7dc5cbf1cc09c8882a717cd4dd34d10ec7fa3)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If an SSL/TLS server or client is running on a 32-bit host, and a
specific cipher is being used, then a truncated packet can cause that
server or client to perform an out-of-bounds read, usually resulting
in a crash.
Backported from:
8e204996292198b3a55d
* CVE: CVE-2017-3731
Upstream-status: Backport
(From OE-Core rev: 1fe1cb3e6e03b4f7f0d30b2b67edc8809a18fe70)
Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using an alternative as an initscript, the ordering between
update-rc.d and update-alternatives tasks during prerm and postinst
tasks must always be the following in order to work:
* prerm:
- stop daemon
- remove alternative
* postinst:
- add alternative
- start daemon
This patchset adds comments to the scripts generated by both classes and
organize the generated sections based on those comments.
[YOCTO #10433]
(From OE-Core rev: b0c70bef015f1b2a30556a5db5e255592d5bf316)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During normal bitbake execution, the environment is cleaned of variables
not on a whitelist while starting up cooker, and then restored
afterwards. Prior to the tinfoil2 rework in master we were taking a
number of shortcuts within tinfoil and one of those was not doing this
environment cleaning. However, prior to OE-Core rev
3d39ca5c91dbb62fb43199f916bd390cd6212e3d we didn't have any code (as far
as I'm aware) that was affected by this shortcut, hence why this wasn't
an issue up to now.
The result is the following error when attempting to run "devtool build"
in the eSDK, as CCACHE_PATH is allowed through from the eSDK's
environment setup script:
----------- snip -----------
ccache: error: Could not find compiler "gcc" in PATH
...
subprocess.CalledProcessError: Command 'gcc --version' returned
non-zero exit status 1
----------- snip -----------
We can fix this by simply doing the environment filtering while we are
starting up cooker, thus the environment when uninative.bbclass comes to
do the gcc version check it is not affected by CCACHE_PATH or other
variables in the external environment that should be filtered out.
For clarity, this patch is only applicable to the bitbake 1.32 branch
as used for the OE-Core morty branch - master uses the reworked
tinfoil2 and doesn't need this fix.
Fixes [YOCTO #10961].
(Bitbake rev: a240f5ff71092cb209c44a071cd6fa07756ccfa0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I noiced builds where tasks seemed to be taking a surprisingly long time.
When I looked at the output of top/pstree, these tasks were no longer
running despite being listed in knotty. Some were in D/Z state waiting for
their exit code to be collected, others were simply not present at all.
strace showed communication problems between the worker and cooker, each
was trying to write to the other and nearly deadlocking. Eventually, timeouts
would allow them to echange 64kb of data but this was only happening every
few seconds.
Whilst this particularly affected builds on machines with large numbers
of cores (and hence highly parallal task execution) and in cases where
I had a lot of debug enabled, this situation is clearly bad in general.
This patch introduces a thread to the worker which is used to write data
back to cooker. This means that the deadlock can't occur and data flows
much more freely and effectively.
(Bitbake rev: f48befe1163147b02a9926ee38af0f7258a477e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10889]
Missing this package. Speculation is that this package was
part of the Python 2.7 stuff but not Python 3. So, adding it
clears the issue up.
(From yocto-docs rev: fc6bfab923f18a8ec91e29fed2404690d0afeb5d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes following error in configure:
FATAL ERROR: msgfmt does not seem to be installed.
attr cannot be built without a working gettext installation.
(From OE-Core rev: 85e087d9b323ad87c59900f01aad751c9c7a9e3a)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: d044fad8a0ac5d57deb88b25106f3a39cb7c1636)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of awk -F "." in do_install/do_deploy to strip filename extension
was deprecated long time ago in 72980d5bb465f0640ed451d1ebb9c5d2a210ad0c.
Make a similar change in postinst/postrm to properly use basename command.
Otherwise DTB files that contain dots in the name result in broken symlinks
that point to non-existent truncated files.
(From OE-Core rev: ed0f9cf63cb1226f9d92377e13ef63e36a95d29d)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: 40c2addf0f0ee16b1c1334cf00f1490ffeaac475)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With enabled SSTATE_MIRRORS sstate code expects mirrors to
contain entries for all tasks, which is not the case for ext
installer as it uses reduced sstate cache.
Added do_package tasks to BB_SETSCENE_ENFORCE_WHITELIST to prevent
installer failing with ERROR: Sstate artifact unavailable
[YOCTO #10832]
(From OE-Core rev: 2ed46ada4b8e496493835e84b36f7e9c367f59d2)
(From OE-Core rev: eb2fc2cd9081a4533ed30fe81c9f491b06cc5ae1)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mapped uninative sstate directories to make ext SDK installer to
use them when it's run on systems with gcc version different from
gcc version used to build installer.
[YOCTO #10832]
(From OE-Core rev: fb945c0fd2e66d70461e6cf2e602020eeabe32f7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream have removed the file from zlib.net as a new version has
been released, switch to fetching from the official sourceforge
mirror.
[YOCTO #10879]
(From OE-Core rev: bb99e4a620efd59556539c156cd98ea23aae74c8)
(From OE-Core rev: b7599330f1d629384e16a5fbeffc1a65c1555667)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent - changed variables appropriately for 2.2.1
* <manual> - updated the manual revision tables to have a new
2.2.1 entry indicating a "January 2017" release
* mega-manual.sed - Updated the "2.2" string to "2.2.1" so
links will work.
(From yocto-docs rev: 20eeccff9fdad25f7b21aa6326999deb3d58abc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #7096]
Applied a couple review comments to the section to clarify where
to set key variables. Also fixed an incorrect variable name used
to specify the *.cpio file.
(From yocto-docs rev: 1ef9bb89057be46878a70c558268b5ace43967f8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10763]
The final example in the section describing how to create
the base recipe using receipetool create was wrong. I updated
it to use the -d option in addition to the -o opetion. I also
changed the description to match appropriately.
(From yocto-docs rev: 749970f4394af3855751c776689b7002232f2d13)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #7096]
We did not document how to create an initramfs image to be included
with a kernel build. Various variables sort of inferred the
knowledge. I created a new section in the "Common Tasks" section
of the dev-manual that describes how to create an initramfs image.
Also, I updated the kernel.bbclass reference section to point back
to the new "how-to" section.
Finally, I also created a bunch of cross-reference links from various
related variables back to the new "how-to" section.
(From yocto-docs rev: a14e550494641c46ac2518632cbf251e07d459fd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This term was incorrect and I have replaced it with the
term "partitioned."
(From yocto-docs rev: af1bf889bf862b1bc861de72888a82e25997ab71)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
new information on how wic works
(From yocto-docs rev: c5bfbba2bc810eb1ff8825b66aa1397cfeed8ce1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This new variable points to the location of the wics kickstart
file.
(From yocto-docs rev: 6d9a7220ed41c8a512eccbad0ae170072d40fc6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10714]
Apparently there is some issues with GTK3 libraries for the Mars
Eclipse version. The note provides a workaround that requires
editing the eclipse.ini file.
(From yocto-docs rev: 89ace71c6d9d3a9db84bb9bb2b2abe4779a516f6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes an error such as:
Exception: File "/master/poky/meta-yocto-bsp/lib/oeqa/controllers/edgeroutertarget.py", line 47
self.image_fstype = self.get_image_fstype(d)
TabError: inconsistent use of tabs and spaces in indentation
(From meta-yocto rev: 5ff5dc2767dfef93c314e7465a52ca2dce553604)
(From meta-yocto rev: d1c50ea67f53b5fa2618b460efe4cc879d7cee0c)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
People are struggling with multiconfig as the point the conf file
is injected into the data store is not what people expect. We can't
really use a post config since that is too late and we can't really
use a pre config file since that is too early. In OE terms, we need
something right around the local.conf point so it behaves in a similar
way.
A way to handle this is to set the new variable BB_CURRENT_MC to be the
currently selected multiconfig, then the metadata itself can choose
when to inject the approriate configuration.
(Bitbake rev: 1469828fa747da0aaaa3e964954ff17f2b3180fa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fakeroot workers usually have dependencies that need to be ready before they
can be started. Starting them as a block therefore doesn't work as the
dependencies may or may not have been built. Therefore start the multiconfig
fakeworkers individually upon demand.
[YOCTO #10344]
(Bitbake rev: ac5ea74152b011256209c8b5664216f290b123e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multiconfig, mutliple tasks can execute which share the same stamp file. These
must not execute in parallel, the idea is the first should execute, the subsequent
ones should see a valid stamp and get skipped.
The normal task execution code has stamps code to handle this, this adds similar
code to the setscene execute() function to handle the issue there too.
(Bitbake rev: df8408a6b54fc908d4de81529b34477b8924d181)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setscene was being entirelu skipped for multiconfig variants as the tasks
were simply not being spotted. If the default config was also being built
it masked the problem. When this was fixed by using taskfn instead of fn
in lookups against dataCache, several other instances of this problem were
highlighted.
This goes through and corrects the setscene code to correclty use taskfn
instead of fn in the appropriate places meaning setscene tasks for multiconfig
now work correctly.
(Bitbake rev: a5d81eefe9106f2080001b7313e2b15ab21ea55b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tasknames can now start with "multiconfig:" which broke the virtual: comparison code and
lead to unpredictable checksums with nativesdk recipes. This adds in handling for
the new additional prefix which unbreaks nativesdk builds when using multiconfig.
(Bitbake rev: 0ca6b8438624d892ee7ef3b42df0024604b64567)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the UI shows X is building, possibly multiple times but doesn't
say which of the multilibs that might be. This adds a prefix to the task
name so the mulitconfig being built can be identified.
(Bitbake rev: dfb775c67a96a79f3b85104870c0ade46ef2a9ea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The location of the fakeroot command and the various environmental values need
to be taken from the right multiconfig datastore, not the shared one. This
patch ensures the right one is used for cases like a split TMPDIR.
[YOCTO #10344]
(Bitbake rev: c241f16670cada2cdf45ecddb4961e16edb83486)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If many files change and the inotify queue overflows, rather than print
a traceback, invalidate the caches and warn the user.
[YOCTO #10676]
(Bitbake rev: 058f8517c041b80e8b591ad7d34a68281b2d03fc)
(Bitbake rev: 4fafb6c6d261de78dd1bc3824a1389d191b70321)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The processing of the "do_" prefix to tasks is currently inconsistent
and has resulted in "bitbake world -g" being broken as task prefixes
don't get handled correctly.
Make the "do_" task prefix handling consistent through various codepaths.
[YOCTO #10651]
(Bitbake rev: 3d7186353e804c9410096c408bc337a98c8b33fe)
(Bitbake rev: 100439e715841ecfd6460d59cd51c831184b328d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-libgcc doesn't need a symlink into the target space and if we do this
sstate installation of the recipe can fail depending on whether it races with
the cross-canadian toolchains.
(From OE-Core rev: b2c1e1fe4221862e0dbf5d08960f0d0228e47c72)
(From OE-Core rev: 62012e81c6f7aaad5d9c5e8bec2e2417433572e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
People are strugling with multiconfig as the up front inclusion of the
configuration file doesn't do what people expect. The only way to meet
user expectations is to include the file immediately after local.conf.
We add BB_CURRENT_MC to bitbake so that the metadata can determine when
to include the extra configuration.
(From OE-Core rev: a6a3894fb2cb2097d2404b8b8cb2b85df595cfa9)
(From OE-Core rev: 378ba0c92172ed7850ec1b0eb2971afb0dae427b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means that a user can change TMPDIR in a multiconfig situation
and still only have one path to the uninative setup. Without this change
its not possile to make such a setup work.
(From OE-Core rev: 779422c5458f5f643b3a4a0dedaa4d9ad709367a)
(From OE-Core rev: f50547fb9d70a8ae079380c25e697da3d2c2b181)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting WKS_FILE variable in qemux86-64 made wic test to
use wrong wks file to produce an image and resulted in
test_qemu failure.
Used conditional assignment in qemux86-64 and explicitly
set WKS_FILE in wic testing suite to make the suite to use
wic-image-minimal.wsk. This should fix test_qemu failure.
(From OE-Core rev: 3bca4d18c2712e3b154bacfb917f0a749ebaddeb)
(From OE-Core rev: bda4e3cceda2205a0a5d916ef5b674df560d43f9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BUILD_CC may reference something like ccache and expect this to come from
ccache-native, we at least have some selftests which assume this. Modify the
code to use PATH when runnig BUILD_CC to ensure the tests continue to work
as expected.
(From OE-Core rev: f3e753372baac43d0921186340cf260df056de20)
(From OE-Core rev: e7ec3228d9a2f40165b60f273205c17438b2c9bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hand applied and used d.getVar(True)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hack: Depending on how glibc was compiled (e.g. optimised
for size or built with _FORTIFY_SOURCE enabled) the strlen
symbol might not be found in ld-XXX.so. Therefore although
we should still try to intercept it, don't make it mandatory
to do so.
(From OE-Core rev: 84ec50e587e7464b260b1b189659b93b6dab0ef6)
(From OE-Core rev: 850735191c131d7baab72e7df6292b189ea56801)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some c++ libraries fail to build if uninative is built
with gcc 5.x and host gcc version is either 4.8 or 4.9.
The issue should be solved by making separate uninative sstate
directory structure sstate-cache/universal-<gcc version> for host gcc
versions 4.8 and 4.9. This causes rebuilds of uninative if host gcc
is either 4.8 or 4.9 and it doesn't match gcc version used to build
uninative.
[YOCTO #10441]
(From OE-Core rev: d36f41e5658bbbb6080ee833027879c119edf3e0)
(From OE-Core rev: 3d39ca5c91dbb62fb43199f916bd390cd6212e3d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Namespace nodes must be copied to avoid use-after-free errors.
But they don't necessarily have a physical representation in a
document, so simply disallow them in XPointer ranges.
(From OE-Core rev: 00e928bd1c2aed9caeaf9e411743805d2139a023)
(From OE-Core rev: cf810d5cc17cb6b9f53d21a404c89afe372accb7)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xpath:
- Check for errors after evaluating first operand.
- Add sanity check for empty stack.
- Include comparation in changes from xmlXPathCmpNodesExt to xmlXPathCmpNodes
(From OE-Core rev: 96ef568f75dded56a2123b63dcc8b443f796afe0)
(From OE-Core rev: 68b0f3a0bf8dfdf49be4aed1745a7f50662c555d)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were calling _log_check() in the RPM-specific rootfs class as well as
in the base class; this is unnecessary and resulted in any errors/warnings
generated during the actual package installation time triggering two warnings
instead of one. Drop the call from RpmRootfs._create() to fix this.
(From OE-Core rev: 541c56d755ba0354297673e857628026ad9e4df2)
(From OE-Core rev: 9654a6a238a44ed1025a45e4ad1cb779a8684344)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes:
The libtiff tools bmp2tiff, gif2tiff, ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from the distribution, used for demos.
CVEs fixed:
CVE-2016-9297
CVE-2016-9448
CVE-2016-9273
CVE-2014-8127
CVE-2016-3658
CVE-2016-5875
CVE-2016-5652
CVE-2016-3632
plus more that are not identified in the changelog.
removed patches integrated into update.
more info: http://libtiff.maptools.org/v4.0.7.html
(From OE-Core rev: 9945cbccc4c737c84ad441773061acbf90c7baed)
(From OE-Core rev: 009b330591b27bd14d4c8ceb767c78fd7eb924fd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To trap errors and halt processing, do_kernel_metadata was recently
switched to exit on any non zero return code. While the concept is
sound, there are subcommands that have legitimate non-zero return
codes.
Instead of removing set +e, we'll explicitly check the return code
of the commands that can error, and throw a bbfatal to alert the
user.
(From OE-Core rev: a4705e62d0973c290011fc0d250501d358b659e8)
(From OE-Core rev: a4888a63620fa05e1399355d9e20c2da586efb4c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ARM stack frames for abort and raise were limited to the the actual
abort and raise call, such as:
Obtained 4 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4adae1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4adacf74]
This is not terribly useful when trying to figure out what function
may have called called the abort, especially when using pthreads.
After the change the trace would now look like:
Obtained 8 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4befe1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4befcf74]
/lib/libc.so.6(abort+0x134) [0x4befe358]
./test-app(dummy_function+0x50) [0x10adc]
./test-app(main+0xd4) [0x10c24]
/lib/libc.so.6(__libc_start_main+0x114) [0x4bee7a58]
(From OE-Core rev: 93bf8713d8e13c278543baea94fb8dad0cb80e49)
(From OE-Core rev: b0e6a6048fa09dceac78bf8c46d484690ff5b098)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that
the value could serve as a default value and could be easily overridden in
configuration files like local.conf.
When using the default value for SERIAL_CONSOLES in qemux86-64,we would have
annoying messages on console complaining about respawning getty on ttyS1.
Although the value is set by purpose, at least we need to provide an easy way
to override it.
(From OE-Core rev: 5f060b66162c41a295995947b918253450870117)
(From OE-Core rev: 5a19335f0f1d763a066a8c9ead23bb332e229f93)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to chdir() as tarfile.add() can be told what name to use in the
archive.
(From OE-Core rev: d0b282bce34db44dde4dd7f53a64dfaafe6789de)
(From OE-Core rev: d637d5f02be4eab26cfab7352a8ea584fb1f7e4d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than erroring out on a single attempt while
terminating EFI services, make a few retries because
such quirks are found in a few implementations.
Also fix a div by zero issue in the same framework
which causes an infinite reboot on the target.
Both patches included here are backports.
(From OE-Core rev: 5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a)
(From OE-Core rev: dbe597b317067362e7acddbefd0d6768f6a44e8c)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't worth bother with logical partition on MBR partition type (aka
msdos) if disk image generated by wic should have 4 partitions.
(From OE-Core rev: 36a558fbdc96094626e7de1a3510691e30885368)
(From OE-Core rev: 98a3e096eaa6cfdf1532c7c03c57222ae8cd6533)
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'tar' utility from tar and bsdtar has the same alternative priority.
'cpio' utility from cpio and bsdcpio has the same alternative priority.
Lower the ALTERNATIVE_PRIORITY to avoid conflict.
(From OE-Core rev: 9a59ff628771b586666999d44923968a6bc58956)
(From OE-Core rev: 773ea033e973abd2b97c62b8095d7142c020ad24)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new variable CVE_PRODUCT for the product name to look up in the NVD
database. Default this to BPN, but allow recipes such as tiff (which is libtiff
in NVD) to override it.
(From OE-Core rev: ba330051570a4c991885ee726cb187e0c911bd4f)
(From OE-Core rev: bee636b759feafba544e95d6355c52eb85e4ba72)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ClassType was removed from python3.
The code testing for ClassType kept throwing AttributeError exceptions:
module 'types' has no attribute 'ClassType'
The exceptions prevented loading of any dynamically resolved target
controllers.
(From OE-Core rev: d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf)
(From OE-Core rev: 6258471b7077839519898d537b99dce0a0fc8aa4)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the update to 4.4.36 -rt no longer builds. The fixes for the
issues are found in the v4.4-rt43 release.
(From OE-Core rev: 262fff10ba5cdedbee9ba9ecf00f98dc9159477c)
(From OE-Core rev: 86e24908bb28d4e0ee7defdc64a2efd8eefe37c7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to avoid using shared/common directories for any files that are
part of specific build, since permissions issues in multi user
environments will cause issues.
Integrating the following commit to solve the issue:
scc: move unused patch queue under output dir
(From OE-Core rev: cad65cc0eef2e06cb5ae08062ffae7a4d43a51ad)
(From OE-Core rev: e57f861496ed07aca8785a53971b34c99a4d64bd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shortlog of the changes follow:
356ccf6d2b0c Linux 4.8.12
f81c90012f2f scsi: mpt3sas: Unblock device after controller reset
3de3eebb10fd flow_dissect: call init_default_flow_dissectors() earlier
7838fbe25a95 mm, oom: stop pre-mature high-order OOM killer invocations
374ff835e2b6 can: bcm: fix support for CAN FD frames
7ed8d94b99b3 powerpc/boot: Fix the early OPAL console wrappers
7cbe9568fa04 powerpc/mm: Fixup kernel read only mapping
30988ea31783 powerpc: Set missing wakeup bit in LPCR on POWER9
8d248df485f2 device-dax: fail all private mapping attempts
f87a483126b5 device-dax: check devm_nsio_enable() return value
5b08489eba14 xc2028: Fix use-after-free bug properly
9030deb21f29 X.509: Fix double free in x509_cert_parse() [ver #3]
0257b7e20c07 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
bdab996a7a9e mmc: sdhci-of-esdhc: fixup PRESENT_STATE read
0a80bef18a9f parisc: Also flush data TLB in flush_icache_page_asm
09e35a83cdc9 parisc: Fix race in pci-dma.c
3cb2bc6fdc54 parisc: Switch to generic sched_clock implementation
113b60efa37c parisc: Fix races in parisc_setup_cache_timing()
b2f64572db2e thermal/powerclamp: add back module device table
6dfe1643b56a perf/x86/intel: Cure bogus unwind from PEBS entries
403f47ddbf6b perf/core: Fix address filter parser
c5795c5f682d x86/traps: Ignore high word of regs->cs in early_fixup_exception()
885bad1e5f32 x86/fpu: Fix invalid FPU ptrace state after execve()
1a42cd56229b NFSv4.x: hide array-bounds warning
154c665b2b02 apparmor: fix change_hat not finding hat after policy replacement
9c15a98542f0 cfg80211: limit scan results cache size
f204d21ee0b7 tile: avoid using clocksource_cyc2ns with absolute cycle count
c707019bef62 scsi: mpt3sas: Fix secure erase premature termination
b33387f6a68d Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
89a28f3a3c77 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
6476f6530187 USB: serial: cp210x: add ID for the Zone DPMX
7445ffb75ed5 usb: chipidea: move the lock initialization to core file
32fe669c8634 KVM: x86: check for pic and ioapic presence before use
c02d13809180 KVM: x86: fix out-of-bounds accesses of rtc_eoi map
39b653013527 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
3c22c81377d4 KVM: x86: fix out-of-bounds access in lapic
eb060c1a03f7 iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
8b23f16343f6 iommu/vt-d: Fix PASID table allocation
36bd5bfe4349 Linux 4.8.11
a9a0027757f8 gpio: pca953x: Fix corruption of other gpios in set_multiple.
88fce76cf590 gpio: pca953x: Move memcpy into mutex lock for set multiple
9a7b80894951 netfilter: nft_dynset: fix element timeout for HZ != 1000
fd4251fa4d09 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
8ce92be782f8 IB/uverbs: Fix leak of XRC target QPs
160149299f71 IB/hfi1: Remove incorrect IS_ERR check
46e47543175b IB/core: Avoid unsigned int overflow in sg_alloc_table
82c377d05311 IB/mlx5: Fix NULL pointer dereference on debug print
554e4b69f1bb IB/mlx5: Fix fatal error dispatching
32091ee63d17 IB/mlx5: Fix memory leak in query device
21822a5bbddd IB/mlx5: Use cache line size to select CQE stride
ad886a0e9035 IB/mlx5: Validate requested RQT size
76a93a6f8dd7 IB/mlx4: Fix create CQ error flow
4234e6a06f8b IB/mlx4: Check gid_index return value
fc9275365065 IB/rxe: Clear queue buffer when modifying QP to reset
3c87b4a8f6d5 IB/rxe: Fix handling of erroneous WR
c4605a0e9605 IB/rxe: Fix kernel panic in UDP tunnel with GRO and RX checksum
04d016249998 IB/rxe: Update qp state for user query
bac1543b764c perf hists: Fix column length on --hierarchy
4cba876de64d PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
2e2c8f0e7502 PM / sleep: fix device reference leak in test_suspend
fd669bf2a099 uwb: fix device reference leaks
ab17baeaea91 sunrpc: svc_age_temp_xprts_now should not call setsockopt non-tcp transports
8c7ea73e3a9b mfd: core: Fix device reference leak in mfd_clone_cell
545ea4003db9 iwlwifi: mvm: wake the wait queue when the RX sync counter is zero
8bfaf856695b iwlwifi: mvm: fix d3_test with unified D0/D3 images
8cdfd32398b5 iwlwifi: mvm: fix netdetect starting/stopping for unified images
6e3324dc039c iwlwifi: pcie: mark command queue lock with separate lockdep class
b822907865cc iwlwifi: pcie: fix SPLC structure parsing
edb60ee4bc65 rtc: omap: Fix selecting external osc
5f95e68daae3 clk: imx: fix integer overflow in AV PLL round rate
fec43900c9b7 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
63465eaf7b2e clk: mmp: pxa168: fix return value check in pxa168_clk_init()
a42bbd552ded clk: mmp: pxa910: fix return value check in pxa910_clk_init()
bb6c9ec826be virtio-net: drop legacy features in virtio 1 mode
899f5426eebf drm/i915: Assume non-DP++ port if dvo_port is HDMI and there's no AUX ch specified in the VBT
f6920e506992 drm/i915: Refresh that status of MST capable connectors in ->detect()
56a02a5f60ea drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
3eac4767dd7e powerpc/64: Fix setting of AIL in hypervisor mode
fc312878ffe3 crypto: caam - do not register AES-XTS mode on LP units
54f28973e8a5 ARM: dts: imx53-qsb: Fix regulator constraints
7001b98b9dce ext4: sanity check the block and cluster size at mount time
56df604296c2 kbuild: Steal gcc's pie from the very beginning
e14754cb8f0c x86/kexec: add -fno-PIE
ad4e2f324ade scripts/has-stack-protector: add -fno-PIE
1c7727d0bca0 kbuild: add -fno-PIE
20bcbe246933 Disable the __builtin_return_address() warning globally after all
504b60516ba7 i2c: i2c-mux-pca954x: fix deselect enabling for device-tree
45244660281c i2c: mux: fix up dependencies
ce97f5012b6d ALSA: hda - Fix mic regression by ASRock mobo fixup
23e14ee1abcf ALSA: hda - add a new condition to check if it is thinkpad
85fcb62a58b2 ALSA: usb-audio: Fix use-after-free of usb_device at disconnect
e902f10da218 gpio: do not double-check direction on sleeping chips
b21b327d96bc can: bcm: fix warning in bcm_connect/proc_register
50e6cd2feff7 mfd: stmpe: Fix RESET regression on STMPE2401
e015527c6fbd mfd: intel-lpss: Do not put device in reset state on suspend
8b4d44f46bf2 IB/hfi1: Fix rnr_timer addition
06eac15f11e0 IB/rdmavt: rdmavt can handle non aligned page maps
ca720a2b11b4 fuse: fix fuse_write_end() if zero bytes were copied
de58c50e84e2 genirq: Use irq type from irqdata instead of irqdesc
8844024c8839 ftrace: Add more checks for FTRACE_FL_DISABLED in processing ip records
c5d20ce0b459 ftrace: Ignore FTRACE_FL_DISABLED while walking dyn_ftrace records
f271087fb2ea KVM: arm64: Fix the issues when guest PMCCFILTR is configured
8d8b37e242de arm64: KVM: pmu: Fix AArch32 cycle counter access
1cb9b2489e77 KVM: Disable irq while unregistering user notifier
23555ca21394 KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
f8c74cf95655 x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
(From OE-Core rev: beb9adb4763a1bbed182503371921e676ccd4ae2)
(From OE-Core rev: a09653cae042c287c109f6891f7abedfddaba828)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shortlog of the changes follow:
87c6c6ef5b17 Linux 4.4.36
6eddf5c993dd scsi: mpt3sas: Unblock device after controller reset
c178e4809df7 flow_dissect: call init_default_flow_dissectors() earlier
0b7860d6e88c mei: fix return value on disconnection
bab2f72f70ea mei: me: fix place for kaby point device ids.
4f13967ecd20 mei: me: disable driver on SPT SPS firmware
e1049372d7a7 drm/radeon: Ensure vblank interrupt is enabled on DPMS transition to on
249090830942 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
cd4235a794c0 parisc: Also flush data TLB in flush_icache_page_asm
7a1ab6a2bf3a parisc: Fix race in pci-dma.c
e541fd815db9 parisc: Fix races in parisc_setup_cache_timing()
0c0ddbf7efec NFSv4.x: hide array-bounds warning
be79d7fa43f9 apparmor: fix change_hat not finding hat after policy replacement
8316338a201b cfg80211: limit scan results cache size
4df31626fc08 tile: avoid using clocksource_cyc2ns with absolute cycle count
ffffc1ed47e7 scsi: mpt3sas: Fix secure erase premature termination
ab0867dd8bc8 Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
f3f95f177269 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
1f36db0b397f USB: serial: cp210x: add ID for the Zone DPMX
55d061bf9d23 usb: chipidea: move the lock initialization to core file
341f9730c29b KVM: x86: check for pic and ioapic presence before use
b7f9404d1b48 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
c091bbddbc5e iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
d88a1bd00cfa iommu/vt-d: Fix PASID table allocation
0a5b451a53d4 Linux 4.4.35
1ba7fafae3c2 netfilter: nft_dynset: fix element timeout for HZ != 1000
698a8dddb8a5 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
2b026a265a9a IB/uverbs: Fix leak of XRC target QPs
eba83a85caba IB/core: Avoid unsigned int overflow in sg_alloc_table
c524185c81d4 IB/mlx5: Fix fatal error dispatching
734039913373 IB/mlx5: Use cache line size to select CQE stride
7cf5b7882184 IB/mlx4: Fix create CQ error flow
41664d7077e9 IB/mlx4: Check gid_index return value
04c0800c73b2 PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
469fcbcb84d8 PM / sleep: fix device reference leak in test_suspend
680bc27065b9 uwb: fix device reference leaks
dd214a159de6 mfd: core: Fix device reference leak in mfd_clone_cell
d2adb5ebec61 iwlwifi: pcie: fix SPLC structure parsing
1f995573bac8 rtc: omap: Fix selecting external osc
c8aa3e98c1a8 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
96576127ffb7 clk: mmp: pxa168: fix return value check in pxa168_clk_init()
a4709b4582ac clk: mmp: pxa910: fix return value check in pxa910_clk_init()
d039fc37ec7f drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
96f10a6239a2 crypto: caam - do not register AES-XTS mode on LP units
454cf79b05c5 ext4: sanity check the block and cluster size at mount time
147117cf23c0 kbuild: Steal gcc's pie from the very beginning
e543f094a38a x86/kexec: add -fno-PIE
3a868dde1824 scripts/has-stack-protector: add -fno-PIE
f740b5cc39dd kbuild: add -fno-PIE
936d157fa7ae i2c: mux: fix up dependencies
4e583b89add6 can: bcm: fix warning in bcm_connect/proc_register
0c6e0db9686b mfd: intel-lpss: Do not put device in reset state on suspend
b7321bcc8b1c fuse: fix fuse_write_end() if zero bytes were copied
d4a774fdb92f KVM: Disable irq while unregistering user notifier
b689e86c9a8f KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
aea9d760b8ba x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
4eb9a8100248 Linux 4.4.34
b4bbdcef7d90 sparc64: Delete now unused user copy fixup functions.
cb85910b0d45 sparc64: Delete now unused user copy assembler helpers.
1c7e17b1c4d6 sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
7181969338f8 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
bfc8be659309 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
dc3a7a7d2c85 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
1731d90d8a55 sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
8a444c770f6e sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
c718e917b3d3 sparc64: Convert copy_in_user to accurate exception reporting.
dd8a78b2b6ad sparc64: Prepare to move to more saner user copy exception handling.
756723ad553d sparc64: Delete __ret_efault.
f5a69ff7486e sparc64: Handle extremely large kernel TLB range flushes more gracefully.
d36a1ac49d24 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
5d8eb954763d sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
217f829ae967 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
2ba06323db41 sparc64: Handle extremely large kernel TSB range flushes sanely.
75931800733c sparc: Handle negative offsets in arch_jump_label_transform
8fd11efa2140 sparc64 mm: Fix base TSB sizing when hugetlb pages are used
4e90b6880135 sparc: serial: sunhv: fix a double lock bug
a395f7a66eec sparc: Don't leak context bits into thread->fault_address
4e772c53ab98 tty: Prevent ldisc drivers from re-using stale tty fields
225a24ae9733 tcp: take care of truncations done by sk_filter()
ae9e052a58ef ipv4: use new_gw for redirect neigh lookup
5c67f9477bb2 net: __skb_flow_dissect() must cap its return value
b67ed647d135 sock: fix sendmmsg for partial sendmsg
0650eeb4f187 fib_trie: Correct /proc/net/route off by one error
3f8857a4971d sctp: assign assoc_id earlier in __sctp_connect
65d29c185614 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
99131760a885 ipv6: dccp: fix out of bound access in dccp_v6_err()
a2df29ed840f dccp: fix out of bound access in dccp_v4_err()
ad6d0a82016b dccp: do not send reset to already closed sockets
69a5c7ca2e62 tcp: fix potential memory corruption
8777977b22c4 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
c5bad811ca4d bgmac: stop clearing DMA receive control register right after it is set
6e9ca1b61cc8 net: mangle zero checksum in skb_checksum_help()
ac4c2cf6f57a net: clear sk_err_soft in sk_clone_lock()
74e53a3a053f dctcp: avoid bogus doubling of cwnd after loss
86429bd405de Linux 4.4.33
21cc1a183a9d netfilter: fix namespace handling in nf_log_proc_dostring
ee5dd6878886 btrfs: qgroup: Prevent qgroup->reserved from going subzero
ae6d4df4a7a0 mmc: mxs: Initialize the spinlock prior to using it
ae5b8dbfe6be ASoC: sun4i-codec: return error code instead of NULL when create_card fails
125e84726d7c ACPI / APEI: Fix incorrect return value of ghes_proc()
5cd2cd84d573 i40e: fix call of ndo_dflt_bridge_getlink()
5be7e6b48b21 hwrng: core - Don't use a stack buffer in add_early_randomness()
ba8580f6cf03 lib/genalloc.c: start search from start of chunk
c048b6711ed6 mei: bus: fix received data size check in NFC fixup
19426f065d1e iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
f029e7b34f25 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
f5bb84163704 tty/serial: at91: fix hardware handshake on Atmel platforms
49163391881a dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers
fff40ee4d224 drm/i915: Respect alternate_ddc_pin for all DDI ports
d7b0055e5566 KVM: MIPS: Precalculate MMIO load resume PC
d24587404922 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
6e897d034d4c scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
29cf142cefed iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
caff14e99c63 iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
dbbc5e6bcf36 clk: qoriq: Don't allow CPU clocks higher than starting value
2c5cdadeab5d toshiba-wmi: Fix loading the driver on non Toshiba laptops
f523deedff82 drbd: Fix kernel_sendmsg() usage - potential NULL deref
f1de32232db3 usb: gadget: u_ether: remove interrupt throttling
0ab4186bf238 USB: cdc-acm: fix TIOCMIWAIT
290ffd550e34 staging: nvec: remove managed resource from PS2 driver
4aa859ea591e Revert "staging: nvec: ps2: change serio type to passthrough"
729eb8d9f7b7 drivers: staging: nvec: remove bogus reset command for PS/2 interface
6bba8c37ceed staging: iio: ad5933: avoid uninitialized variable in error case
a98e483ca784 pinctrl: cherryview: Prevent possible interrupt storm on resume
126d0a2fe878 pinctrl: cherryview: Serialize register access in suspend/resume
c45bfaa9211e ARC: timer: rtc: implement read loop in "C" vs. inline asm
3b21a0b468a3 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
e835220ed25f coredump: fix unfreezable coredumping task
5c54f79ad234 swapfile: fix memory corruption via malformed swapfile
2f7496c48a7b dib0700: fix nec repeat handling
a04769029386 ASoC: cs4270: fix DAPM stream name mismatch
f3155797b91c ALSA: info: Limit the proc text input size
c1ea2b3c07c6 ALSA: info: Return error for invalid read/write
(From OE-Core rev: 7d8d71ba5bc2dd8884c3f43a8d71a6d399c4e2fe)
(From OE-Core rev: ccca1eda8bb40dc79099d80e0314521aafa9f4aa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo [snip]: Argument list too long
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
It doesn't happen when MACHINE="qemux86", I think it is because
intel-x86-64 is longer than qemux86.
(From OE-Core rev: 5210ccd61ef52a191454a4587cfeb22079df746d)
(From OE-Core rev: 3903e93c50616b592ac1a2a241573305bb9265a9)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These files cause warnings because they don't get packaged, now that they
don't land in kernel-vmlinux anymore.
(From OE-Core rev: a49569e3a7534779bbe3f01a0647fd076c95798d)
(From OE-Core rev: 6a4e09b295d760654fd43897841c014d50f109ab)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With multiple kernel images enabled starting with 'vmlinux', e.g.
vmlinux.gz and vmlinux.bin, all files landed inside the
kernel-vmlinux package.
On top of that, even initramfs images were included, e.g.
vmlinux.gz-initramfs-*.
(From OE-Core rev: b7f4133b44b740e8ac8e758b0d4a3ee32d326332)
(From OE-Core rev: a248ef51ae680e81cf78f07fe242ac6e01a5fcb4)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When iterating over kernel image types to set up their packaging
variables, don't use make targets but the real names.
It was surprising if both vmlinux.bin and vmlinux.gz were enabled
and only the latter had its filename extension removed from the
package name.
(From OE-Core rev: aa189f183e10588f7e8d642f351bd9b8d69f3ea9)
(From OE-Core rev: 07e93839ee0dc25904fb93d6ae236e3ab16982ec)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yet another instance of us expecting a string back from subprocess when
in Python 3 what you get back is bytes. Just decode the output within
run_command() so we avoid this everywhere.
(From OE-Core rev: 103faae78cdff5280c7b7cdb7ca01e0868d02ec9)
(From OE-Core rev: f9e0267a64069fa2488ceb7ca1f6dbe5bfb66c18)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing sed expression can match expressions like
--sysroot=/some/path/xxx-linux/ which clearly isn't intended and
injects incorrect paths into LDFLAGS.
Fix this in the same way we address the problem in CFLAGS. This fixes corrupt
build paths and incorrect paths in .la files amongst other issues.
(From OE-Core rev: 9a8382422ddbb0972dc25b752204f4908bb9857c)
(From OE-Core rev: 980140fc0735df66592c09acda9686386711f2b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A SSTATEPOSTINSTFUNCS function here is overkill, just do this in a
do_install_append_class-native and create relative symlinks rather
than absolute ones which would then have to be relocated.
(From OE-Core rev: 518e8d0216b0f42f574e42288804f553b9ff6f99)
(From OE-Core rev: f884ee9b911d1ce38b84d90113113c6e8c30253b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This hasn't been used in years and isn't referenced anywhere, drop
the definition.
(From OE-Core rev: 68258f856f08f35813964e58ef761471e29373ad)
(From OE-Core rev: b8b261d2e40457ee2e0cf1e8f40bd22230eb8ca7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Historically the processing of kernel meta data contained some
commands that exited with a non-zero return code. Special processing
was required to properly deal with their exit.
That is no longer true, and instead of handling all return codes
and doing an explicit 'exit' call, we can remove set -e from the
routine and have all errors be trapped and stop processing.
(From OE-Core rev: 476ffd57cf5b6fba40d4e3f5dd913824ab8a8d3d)
(From OE-Core rev: 620c74336dad517037fcf26c8f7bf8c013b213c1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lernel meta-data that has patches, but no branches, can trigger an
error due to no branch specific patch queue.
This error then cascades to more issues since the tools are using
a named file in /tmp to store and display error messages to the
user.
We fix both issues though the following kern tools tweaks:
commit bd9e1d6c9b0a34ff3e19a06999aaf57ffadfd04c
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Dec 2 13:09:40 2016 -0500
scc: use mktemp for consolidated output capture
To provide useful error messages the tools dump pre-processed
files and messages to a temporary file. If multiple users are
doing builds, this means they either race, or can have permissions
issues.
By creating the temporary file via mktemp, we avoid both issues.
(We also make sure to clean these up on exit, or /tmp will get
polluted quickly).
commit a287da4bfe0b4acb8f2b0627bd8e7abd1a1dde26
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Dec 2 13:08:08 2016 -0500
patch: do not assume a branch specific patch queue is needed
When processing input files per-branch and global patch queues are
generated. If the meta-data has not created any branches in the
repo, no branch specific queue is required.
The tools assumed that one is always valid, and hence would throw a
non-zero exit code and stop processing.
By testing for a named per-branch queue, we avoid this issue.
(From OE-Core rev: 0fd7da7375f0dcc59b56791fd482de557507c04c)
(From OE-Core rev: 6bc941a2a8e83e2db409af50ad77a0932e3ffe28)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.8.9 and 4.8.10 -stable updates. The commit log is
as follows:
cf5ae2989a32 Linux 4.8.10
5cd8f6788ff3 usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable
e2458382c792 usb: gadget: f_fs: edit epfile->ep under lock
e34a0f1c53b5 sparc64: Delete now unused user copy fixup functions.
af97481a6f5b sparc64: Delete now unused user copy assembler helpers.
ac663c54f40b sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
d91bb7a87e26 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
a15859f9d839 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
bb522726d311 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
b0580eadc19f sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
50e927483ccf sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
620ec41010d1 sparc64: Convert copy_in_user to accurate exception reporting.
bf4d0da8e800 sparc64: Prepare to move to more saner user copy exception handling.
bbbab9f59ea7 sparc64: Delete __ret_efault.
81a91edbb91a sparc64: Handle extremely large kernel TLB range flushes more gracefully.
7f8a50eb38d3 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
f7ef55af2f1b sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
2a28ab3d4148 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
f4fb552a033e sparc64: Handle extremely large kernel TSB range flushes sanely.
51915c6d9070 sparc: Handle negative offsets in arch_jump_label_transform
da6fe239ceff spi: spidev_test: fix build with musl libc
4ea98e573d65 net: stmmac: Fix lack of link transition for fixed PHYs
150b491b1b88 sctp: change sk state only when it has assocs in sctp_shutdown
5235fcfa6cf8 bnx2: Wait for in-flight DMA to complete at probe stage
6523ff2e27fe Revert "bnx2: Reset device during driver initialization"
224fb8cbefb2 mlxsw: spectrum_router: Correctly dump neighbour activity
9092bbd64bd9 mlxsw: spectrum: Fix refcount bug on span entries
5712922773b5 Revert "include/uapi/linux/atm_zatm.h: include linux/time.h"
2b5f22e4f7fd tcp: take care of truncations done by sk_filter()
22a78d4c7f43 ipv4: use new_gw for redirect neigh lookup
bccb4093d464 net: __skb_flow_dissect() must cap its return value
a1632e969a55 net: icmp_route_lookup should use rt dev to determine L3 domain
9885f474d92b sock: fix sendmmsg for partial sendmsg
b78ba0a0f231 fib_trie: Correct /proc/net/route off by one error
92fd1c1f2fd2 net: icmp6_send should use dst dev to determine L3 domain
09ee09498bca bpf: fix htab map destruction when extra reserve is in use
de289ad2e575 sctp: assign assoc_id earlier in __sctp_connect
76b5fee5cfa0 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
84d9c612bb7a ipv6: dccp: fix out of bound access in dccp_v6_err()
ba93cf7d2118 dccp: fix out of bound access in dccp_v4_err()
378a61101374 dccp: do not send reset to already closed sockets
72b03e549b95 dccp: do not release listeners too soon
b3523a0773ed tcp: fix return value for partial writes
1f49cc6fa91c ipv4: allow local fragmentation in ip_finish_output_gso()
842a858fa048 tcp: fix potential memory corruption
fc3b825f2c81 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
f5f4b71d5632 bgmac: stop clearing DMA receive control register right after it is set
0c7f764d2c6a net: mangle zero checksum in skb_checksum_help()
ac22a3ba0796 net: clear sk_err_soft in sk_clone_lock()
5b078dc6fb64 dctcp: avoid bogus doubling of cwnd after loss
876577321657 Linux 4.8.9
07d00beb1e04 netfilter: fix namespace handling in nf_log_proc_dostring
8ef009e09c13 drm/i915: Fix mismatched INIT power domain disabling during suspend
88a45e5d2c0d drm/amdgpu: fix a vm_flush fence leak
25ed6e4b0b65 drm/amdgpu: fix fence slab teardown
de5e9aa77a3c NFSv4.1: work around -Wmaybe-uninitialized warning
18c801047a18 libceph: fix legacy layout decode with pool 0
53c1792b94da memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB
02e1ee6b3e1c mmc: mxs: Initialize the spinlock prior to using it
ce0702e35aeb pinctrl: iproc: Fix iProc and NSP GPIO support
320244ac9eb6 ASoC: sun4i-codec: return error code instead of NULL when create_card fails
2140d4fd9277 ASoC: Intel: Skylake: Always acquire runtime pm ref on unload
5037fdbc62c2 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
7a9239fd0480 gpio/mvebu: Use irq_domain_add_linear
6de98e87effb batman-adv: Modify neigh_list only with rcu-list functions
a3f000ce7b44 ACPI/PCI: pci_link: Include PIRQ_PENALTY_PCI_USING for ISA IRQs
6c76dd0c7066 ACPI/PCI: pci_link: penalize SCI correctly
86c711665c84 ACPI/PCI/IRQ: assign ISA IRQ directly during early boot stages
ad185d9251e1 ACPI / APEI: Fix incorrect return value of ghes_proc()
b55ebc89ab1d mmc: sdhci-msm: Fix error return code in sdhci_msm_probe()
85284c0850f9 i40e: fix call of ndo_dflt_bridge_getlink()
1242c9dfab0c hwrng: core - Don't use a stack buffer in add_early_randomness()
c1a2ada73dac lib/genalloc.c: start search from start of chunk
06bb5ebedbb4 s390/dumpstack: restore reliable indicator for call traces
1ef1bd02ad23 rtc: pcf2123: Add missing error code assignment before test
4baabb72e9dd clk: samsung: clk-exynos-audss: Fix module autoload
3bbdbd8aa3c8 x86/build: Fix build with older GCC versions
f5eadc27a60c Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"
645a6b823739 nvme: Delete created IO queues on reset
07c4cbe01341 svcrdma: Tail iovec leaves an orphaned DMA mapping
4131e00a436e svcrdma: Skip put_page() when send_reply() fails
755ab7aa1466 mei: bus: fix received data size check in NFC fixup
d1b564536c6a perf top: Fix refreshing hierarchy entries on TUI
6ac4e06b717f Input: synaptics-rmi4 - fix error handling in I2C transport driver
d3716f1b3e4b Input: synaptics-rmi4 - fix error handling in SPI transport driver
66503ec38f34 watchdog: core: Fix devres_alloc() allocation size
c5e9e5cc8cd1 agp/intel: Flush chipset writes after updating a single PTE
813617a4c8dc iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
b6ef0b142208 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
2ef38255b588 iommu/io-pgtable-arm: Check for v7s-incapable systems
d3d9428d7133 xprtrdma: Fix DMAR failure in frwr_op_map() after reconnect
31c749bee3de xprtrdma: use complete() instead complete_all()
67080e2785a3 drm/amd: fix scheduler fence teardown order v2
b0da5ab2ffb5 drm/amdgpu: fix sched fence slab teardown
920a85ba4306 tty/serial: at91: fix hardware handshake on Atmel platforms
9d76a886eb2f drm/amdgpu: fix crash in acp_hw_fini
6e652d18d73d drm/amdgpu: disable runtime pm in certain cases
8c8fdc683295 drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms
db8e005bf2ba drm/i915/dp: BDW cdclk fix for DP audio
f50b7450a8e4 drm/i915: Respect alternate_ddc_pin for all DDI ports
e1b24f6a0b3c drm/radeon: disable runtime pm in certain cases
eb13abb0e515 KVM: arm/arm64: vgic: Prevent access to invalid SPIs
2850fad5acb0 scsi: scsi_dh_alua: Fix a reference counting bug
5fac70d772a4 scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work()
f29bcd11a170 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
b2040deabb07 scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
1281b9683f96 iio: st_sensors: fix scale configuration for h3lis331dl
4dfb6d1dd11d iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
341c5534edad iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
b9d031f354da cdc-acm: fix uninitialized variable
c480880cd12c clk: qoriq: Don't allow CPU clocks higher than starting value
ee27fd32c499 toshiba-wmi: Fix loading the driver on non Toshiba laptops
f713523a234c drbd: Fix kernel_sendmsg() usage - potential NULL deref
31da266e4b9a usb: gadget: u_ether: remove interrupt throttling
264e4131a167 USB: cdc-acm: fix TIOCMIWAIT
c12c24eeaf77 usb: dwc3: Fix error handling for core init
6b95417150b7 staging: nvec: remove managed resource from PS2 driver
82239ab105a5 Revert "staging: nvec: ps2: change serio type to passthrough"
529789866abe drivers: staging: nvec: remove bogus reset command for PS/2 interface
dea774aac054 staging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value
5d510185f99a staging: sm750fb: Fix bugs introduced by early commits
45983d678b70 staging: iio: ad5933: avoid uninitialized variable in error case
5289e59246dd mmc: mmc: Use 500ms as the default generic CMD6 timeout
ce4dfe7d927e mmc: sdhci: Fix unexpected data interrupt handling
bde8d3f73375 mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer
10d24701f3f4 cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set
f062e738c19b pinctrl: cherryview: Prevent possible interrupt storm on resume
1d99fe3317e3 pinctrl: cherryview: Serialize register access in suspend/resume
f5ad96462615 arc: Implement arch-specific dma_map_ops.mmap
004e7c97f181 PCI: Don't attempt to claim shadow copies of ROM
7fac0361f94e ARC: timer: rtc: implement read loop in "C" vs. inline asm
4058116db4d0 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
2f3e0b82ebe9 coredump: fix unfreezable coredumping task
d6ee4f47e2e7 mm/hugetlb: fix huge page reservation leak in private mapping error paths
e87bf4f558f1 mm: hwpoison: fix thp split handling in memory_failure()
67c79e166d46 swapfile: fix memory corruption via malformed swapfile
c87739e5d029 shmem: fix pageflags after swapping DMA32 object
5b5243b606ec mm, frontswap: make sure allocated frontswap map is assigned
2e594273d4c5 dib0700: fix nec repeat handling
9964230320d5 ASoC: cs4270: fix DAPM stream name mismatch
9386a722d250 ALSA: info: Limit the proc text input size
c3ea1b15b71e ALSA: info: Return error for invalid read/write
(From OE-Core rev: b5e43be6aaf912cf6c679ee98ed61cf34dd00ee8)
(From OE-Core rev: 05c1981319f4f5637e72ed4f86e91d38483c8dc8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warning occurs when the GPT image is not the same size than the
media into which it's being flashed, causing the backup GPT table
not being at the end of the disk. However, this is expected as the
image is created before having the information about the destination
media. The error is harmless, so it will be whitelisted.
Fixes [YOCTO 10481].
(From OE-Core rev: 5cc5cdc788308a79f8f0706e6d794c602ef427ed)
(From OE-Core rev: 941194d29d8e4c334d3f85ce7709c894cf34b8d1)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The iwlwifi module of any given kernel has a minimum and maximum
supported firmware version. The kernel begins by attempting to load the
maximum version, and decrements until it is successful. The 4.8 kernel's
maximum supported firmware version is 24, but thus far only 22 has been
released, meaning we get errors for 24 and 23.
Filter out iwlwifi firmware load error messages, as they are not
necessarily indicative of real problems.
(From OE-Core rev: 7df570c2310efac8f9898da15deaac2b7df16655)
(From OE-Core rev: 23aa95a8a15cd0b7bdc43dba9375e139f4b20607)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a patch set with cover letter using the
send-pull-request script, both the "In-Reply-To" and "References"
headers are appended twice in patch 2 and subsequent.
That's because git-format-patch already inserted them and then
git-send-email repeats that. Suppressing mail threading in
git-send-email with --no-thread avoids the problem and is the
right solution because it works regardless whether git-send-email is
called once or twicee.
Repeating these headers is a violation of RFC 2822 and can confuse
mail programs. For example, Patchwork does not detect a patch series
problem when there are these extra headers.
[YOCTO #10718]
(From OE-Core rev: 303a1aa3df43eb0b693d8602062fa33c4a08fdd6)
(From OE-Core rev: 025d21b856e650c8edefd2d06493e84f8416d50f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on run() in bitbake/lib/bb/process.py, ExecutionError() expects strings
not bytes. Passing bytes results in a "TypeError: Can't convert 'bytes' object
to str implicitly" exception.
Fixes Bug 10729
(From OE-Core rev: 063b63d4d324c23322ac1b6b7c7928e725d7b968)
(From OE-Core rev: df4d5246d47acc54aa322b777364c9b86f9a4c54)
Signed-off-by: Martin Vuille <jpmv27@yahoo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installation task fails if run in parallel. This case happens if we
define PARALLEL_MAKEINST to a different value of PARALLEL_MAKE.
(From OE-Core rev: bbe59d7c49b540d65c871666c95cc89a23cab474)
(From OE-Core rev: 1aff7c867c0ad926f204459b65d3088900871ec9)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current class works fine when a recipe uses SYSTEMD_AUTO_ENABLE
'enable' and has no on device pkg_postinst(), ie when the postinst is
run as part of rootfs creation. However, when there is a component of
pkg_postinst() that is run on device the 'systemctl restart' is run as
part of the run_postinsts.service at boot. This results in the boot
spinning indefinitely with:
[ *** ] A start job is running for Run pending postinsts (7s / no limit)
The issue could potentially be that the packages service has an
'After' clause which comes later in the boot, beyond
run_postinsts.service, creating a chicken before the egg
scenario. Even service files without an 'After' clause cause this
situation however. Despite this not being the cause of the issue this
fix will prevent this scenario from happenning.
Using strace we are able to find that during boot, when
run_postinsts.service is running attempting to start or restart any
service will result in the call get stuck on poll(). Since the
run_postinsts.service does not monitor the outcome of the call to
restart we can work around this by using '--no-block'.
(From OE-Core rev: 6ad6a0084a73088fc2a27ab9958e5c46d6e094fc)
(From OE-Core rev: caad8aa89f9815a278e39296497596996a35fe95)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set directdisk.wks as default wks to use for qemux86 machines.
Set requried dependeincies to build directdisk image.
This should simplify building wic images for qemux86* machines.
It should be enough to add wic to the list of IMAGE_FSTYPES to get
the images built.
[YOCTO #10637, YOCTO #8719]
(From OE-Core rev: 8716b8b9be05e3f140bfa426a8e0d4eeaa2edcbe)
(From OE-Core rev: 3d99674a712cf06c62aa3a98b6696d430547fcec)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.
(From OE-Core rev: a93bbfa096cd7de8e935c6c2d2ad98d72a1c297f)
(From OE-Core rev: fd02a12e875a900e46f50d92772098298ed4bc73)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of being executed for every file in every package, this is now just
called for each package. It is also now correctly called for packages which
don't have any content but do have postinst scripts.
[ YOCTO #10711 ]
(From OE-Core rev: afda72b2424528eaff9054327530bdf5654bec66)
(From OE-Core rev: b653bfb800a470894ec93c8bb4acd12a143716a6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QAPATHTEST defines a function that is executed for every file in every package.
For tests which just need to look at the datastore this is massive overkill.
Add QAPKGTEST, which is invoked for each package in the recipe.
(From OE-Core rev: acc3cc26099c77e4eeb44c75bc7167ab58ef1147)
(From OE-Core rev: e7751fa0bdb5bc9b217a0bf267a9c658bec997fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test should be looking for the expanded value of ${D} in the expanded value
of pkg_postinst and so on, but one of the getVar() calls was passing
expand=False so the test would never be true.
(From OE-Core rev: cc545044cba51317bee32e3bf674723e422e3a8a)
(From OE-Core rev: 9d4f094a7c9cbff0d3db5f339d084b2b7c70df86)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During processing of the kernel meta data the kern tools were
not properly exiting on syntax errors or invalid commands.
Noticing and debugging these issues wasn't trivial. To make this
easier, we now trap the error and dump the offending meta-data
for the user to see.
There was also an issue with creating branches during tree
generation, which is resolved by always switching to the
active branch.
The following are the commit logs of the changes themselves:
[
commit b36f6f9a5695f2084b83823393e13ca42284bed9
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Sat Oct 22 17:23:25 2016 -0400
kgit-scc: dont mention meta-repo in help ; it doesnt exist
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
commit 08463d684c1952e74c25344cddace4c3f24c739d
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Mon Oct 31 14:30:12 2016 -0400
scc: exit on error
If there is an error in the processing of the input files, scc
should exit and inform the user.
scc is executed on a combined/preprocessed file and as a result
it doesn't have the granularity to see each input file individually.
Rather than moving preprocessing into scc (from spp), we can trap
the line number of the error and dump context around the line.
This gives the user a pointer to the input file and the specific
line that caused the problem.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
commit bf99953e8ac14cee653e559f2d4a6022c847a182
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Oct 28 21:23:27 2016 -0400
kgit-meta: always checkout branches on branch commands
During a tree generation we must always make the branch active when
we see any kind of branch command. This ensures that any subsequent
patches are applied in the proper context.
Previously, only branch creation was changing the active branch, and
this mean that tree generation was not determinstic and relied
on the order of processing to generate a correct tree.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 83d10e2acef936b1f38804988f10eafa48db36f9)
(From OE-Core rev: 95dd034a5d911c6f703856d7baeb6e61cb625396)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release 4.8.8. The short log change
summary follows:
61385cc1db42 Linux 4.8.8
8ed841d6c045 scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
32f60e9b621f scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
eb2ca7aac349 usb: dwc3: gadget: properly account queued requests
38db26fb3ae5 arch/powerpc: Update parameters for csum_tcpudp_magic & csum_tcpudp_nofold
a143c6022cef packet: on direct_xmit, limit tso and csum to supported devices
a6289d9ac3fe ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()
c9e086b9009a sctp: validate chunk len before actually using it
5a37dce1b679 net sched filters: fix notification of filter delete with proper handle
d46b19687fec net: ipv6: Do not consider link state for nexthop validation
eb77db88ea11 macsec: Fix header length if SCI is added if explicitly disabled
027ab3b8ee5a netvsc: fix incorrect receive checksum offloading
b75edf27a6c3 udp: fix IP_CHECKSUM handling
5ee356021c42 sctp: fix the panic caused by route update
d90cbfaf5439 net: sctp, forbid negative length
64774617da37 net: fec: Call swap_buffer() prior to IP header alignment
c6c82c2b707e ipv4: use the right lock for ping_group_range
8418193f7052 ipv4: disable BH in set_ping_group_range()
23c110c4cdbc net: add recursion limit to GRO
d3bbd04b92fd net: core: Correctly iterate over lower adjacency list
fc5722f8f8f2 rtnetlink: Add rtnexthop offload flag to compare mask
4ac3ca8c2933 switchdev: Execute bridge ndos only for bridge ports
63d82a2cbd0c bridge: multicast: restore perm router ports on multicast enable
e9a5921c393f net: pktgen: remove rcu locking in pktgen_change_name()
2eeb5735dd04 net/mlx4_en: fixup xdp tx irq to match rx
27bb6e31d32d IB/ipoib: move back IB LL address into the hard header
f280126ec8d8 ipv6: correctly add local routes when lo goes up
0f3e77623916 ip6_tunnel: fix ip6_tnl_lookup
a148a818df84 net: phy: Trigger state machine on state change and not polling.
2a9099899a6a ipv6: tcp: restore IP6CB for pktoptions skbs
50b43ad1dce6 net_sched: reorder pernet ops and act ops registrations
dac04913ee27 drivers/ptp: Fix kernel memory disclosure
3f841d1555ad netlink: do not enter direct reclaim from netlink_dump()
5086cadf8fa4 packet: call fanout_release, while UNREGISTERING a netdev
6fff1319fdac net: Add netdev all_adj_list refcnt propagation to fix panic
9caee42c800e net/sched: act_vlan: Push skb->data to mac_header prior calling skb_vlan_*() functions
c002dfd8adaa net: pktgen: fix pkt_size
ff1b27c31706 net: fec: set mac address unconditionally
567aeca9fbb7 Linux 4.8.7
1bf121d3b234 HID: usbhid: add ATEN CS962 to list of quirky devices
05a833d4b051 cpufreq: intel_pstate: Set P-state upfront in performance mode
c89771511deb ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap()
591bf1362e9e btrfs: qgroup: Prevent qgroup->reserved from going subzero
0c879624701d kvm: x86: Check memopp before dereference (CVE-2016-8630)
725a92be3926 ARM: fix oops when using older ARMv4T CPUs
e339609bf377 tty: vt, fix bogus division in csi_J
4a22930a74ac v4l: vsp1: Prevent pipelines from running when not streaming
59f9693a170a usb: musb: Fix hardirq-safe hardirq-unsafe lock order error
086ac9180437 usb: chipidea: host: fix NULL ptr dereference during shutdown
07bae478e1c1 usb: dwc3: Fix size used in dma_free_coherent()
fedede0963c4 pwm: Unexport children before chip removal
7b4b77b9566d omapfb: fix return value check in dsi_bind()
a3e55d6342b2 video: fbdev: pxafb: potential NULL dereference on error
13d0f5b3a399 uapi: add missing install of sync_file.h
db5025bd08ef UBI: fastmap: scrub PEB when bitflips are detected in a free PEB EC header
cc94524e8940 netfilter: xt_NFLOG: fix unexpected truncated packet
720a40113e78 i2c: mark device nodes only in case of successful instantiation
f7d8d44a68de drm: i915: Wait for fences on new fb, not old
1cefe4cb4f8c drm/i915/fbc: fix CFB size calculation for gen8+
809e9e6fc390 drm/i915: Clean up DDI DDC/AUX CH sanitation
ba0a959e0334 drm/i915: Respect alternate_aux_channel for all DDI ports
426a724c9972 drm: Release reference from blob lookup after replacing property
5064a6a05387 drm/dp/mst: Check peer device type before attempting EDID read
e6fcf953a995 drm/i915/gen9: fix watermarks when using the pipe scaler
0f7f9c456380 drm/i915/gen9: fix DDB partitioning for multi-screen cases
0cc98b5963f8 drm/fb-helper: Keep references for the current set of used connectors
14f4a463dc78 drm/fb-helper: Fix connector ref leak on error
6222f1e0b9ef drm/fb-helper: Don't call dirty callback for untouched clips
7290da41b8da drm/nouveau/acpi: fix check for power resources support
fd5f9e1e28cb drm/radeon: drop register readback in cayman_cp_int_cntl_setup
e136de5d7331 drm/radeon/si_dpm: workaround for SI kickers
fe777e7a595c drm/radeon/si_dpm: Limit clocks on HD86xx part
fa6227dbfd6a drm/imx: ipuv3-plane: Access old u/vbo properly in ->atomic_check for YU12/YV12
d040374f3473 drm/imx: ipuv3-plane: Switch EBA buffer only when we don't need modeset
51ed5a2bbf38 Revert "drm/radeon: fix DP link training issue with second 4K monitor"
ac6f210dd7a6 md: be careful not lot leak internal curr_resync value into metadata. -- (all)
eba4fe9db92f RAID10: ignore discard error
21faa6dbf53f RAID1: ignore discard error
b80fcd58e6f6 mmc: dw_mmc-pltfm: fix the potential NULL pointer dereference
1244d3c3a0f6 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
2a1a0a6f1d60 scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
5bac49422b4a ath10k: cache calibration data when the core is stopped
a7d092e946f5 Revert "ath9k_hw: implement temperature compensation support for AR9003+"
aea7cb3b7ceb mac80211: discard multicast and 4-addr A-MSDUs
27fa1e735c70 firewire: net: fix fragmented datagram_size off-by-one
032430fb6a2c firewire: net: guard against rx buffer overflows
facb17b67ac9 Input: i8042 - add XMG C504 to keyboard reset table
8b535f07898a rtl8xxxu: Fix rtl8723bu driver reload issue
1c9edb27261e rtl8xxxu: Fix big-endian problem reporting mactime
ece1b51ae1c4 rtl8xxxu: Fix memory leak in handling rxdesc16 packets
5a805cd29284 dm raid: fix activation of existing raid4/10 devices
6e5456768ba1 dm raid: fix compat_features validation
056290446e8a dm rq: clear kworker_task if kthread_run() returned an error
13a59a868756 dm table: fix missing dm_put_target_type() in dm_table_add_target()
159a17e8dbf6 dm mirror: fix read error on recovery after default leg failure
d8db5234adef virtio: console: Unlock vqs while freeing buffers
7569d22a820d virtio_pci: Limit DMA mask to 44 bits for legacy virtio devices
0c2f67a6196d virtio_ring: Make interrupt suppression spec compliant
c528df925fba parisc: Ensure consistent state when switching to kernel stack at syscall entry
592de1000694 ovl: fsync after copy-up
3ad464dadb7c ovl: update S_ISGID when setting posix ACLs
be9015460ed5 ovl: fix get_acl() on tmpfs
2b632307635f MIPS: KASLR: Fix handling of NULL FDT
1734afcce32b nfsd: Fix general protection fault in release_lock_stateid()
202c6676b963 ARM: dts: fix the SD card on the Snowball
db20b510ca5c ARM: mvebu: Select corediv clk for all mvebu v7 SoC
c627b2e76ae2 KVM: MIPS: Precalculate MMIO load resume PC
f3a0c969e788 KVM: MIPS: Make ERET handle ERL before EXL
961cf133b710 KVM: s390: Fix STHYI buffer alignment for diag224
88aca01f8cb4 KVM: x86: fix wbinvd_dirty_mask use-after-free
ea261d177aed dm: free io_barrier after blk_cleanup_queue call
377a2a273c4b Staging: wilc1000: Fix kernel Oops on opening the device
0c4ffbf9e118 iio:chemical:atlas-ph-sensor: Fix use of 32 bit int to hold 16 bit big endian value
52a1e76f16e2 arm64: dts: marvell: fix clocksource for CP110 master SPI0
0dff3c6321a5 tty: limit terminal size to 4M chars
44f0722dc9ac xhci: workaround for hosts missing CAS bit
0894224ae7c0 xhci: add restart quirk for Intel Wildcatpoint PCH
b2d28d93cf83 hv: do not lose pending heartbeat vmbus packets
eeae0a12a166 vt: clear selection before resizing
9710f5b19328 x86/smpboot: Init apic mapping before usage
58b0a7f115f8 GenWQE: Fix bad page access during abort of resource allocation
b9aa0a7290f5 usb: increase ohci watchdog delay to 275 msec
241208e7b721 usb: renesas_usbhs: add wait after initialization for R-Car Gen3
00dbeb06292b xhci: use default USB_RESUME_TIMEOUT when resuming ports.
1e306cd37a66 USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7
d082fd105eb9 USB: serial: cp210x: fix tiocmget error handling
e8bf726705bd USB: serial: fix potential NULL-dereference at probe
23124735a6f0 usb: gadget: function: u_ether: don't starve tx request queue
fe4af125085a usb: gadget: udc: atmel: fix endpoint name
420d16894425 mei: txe: don't clean an unprocessed interrupt cause.
5d30e8f65073 ubifs: Fix regression in ubifs_readdir()
b8176cc56bf1 ubifs: Abort readdir upon error
1755f43e9a90 timers: Lock base for same bucket optimization
e18ed431d7da timers: Plug locking race vs. timer migration
b5e3a038997a timers: Prevent base clock corruption when forwarding
665f7bf33aa8 timers: Prevent base clock rewind when forwarding clock
0d621c57e739 x86/microcode/AMD: Fix more fallout from CONFIG_RANDOMIZE_MEMORY=y
e599203f55ad powerpc/64: Fix race condition in setting lock bit in idle/wakeup code
51d784b54768 powerpc/64: Re-fix race condition between going idle and entering guest
2c7ff0e5c311 powerpc/mm/radix: Use tlbiel only if we ever ran on the current cpu
ae150de2d5e0 powerpc: Convert cmp to cmpd in idle enter sequence
1198fbca645e btrfs: fix races on root_log_ctx lists
bc720ae2ffab cxl: Fix leaking pid refs in some error paths
2a997e83960b ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
599cfd58ffde ANDROID: binder: Add strong ref checks
2a0efa30b15c ALSA: hda - Fix headset mic detection problem for two Dell laptops
2585e17b71c7 ALSA: hda - Fix surround output pins for ASRock B150M mobo
14456570a4a5 ALSA: hda - Adding a new group of pin cfg into ALC295 pin quirk table
54186c7dd2ec ALSA: hda - allow 40 bit DMA mask for NVidia devices
0f574c90d747 ALSA: seq: Fix time account regression
8ccf154b2654 ALSA: usb-audio: Add quirk for Syntek STK1160
9d3f5b85ef8b device-dax: fix percpu_ref_exit ordering
33bcff297228 security/keys: make BIG_KEYS dependent on stdrng.
5152986c9257 KEYS: Sort out big_key initialisation
5daa841d0437 KEYS: Fix short sprintf buffer in /proc/keys show function
0a38e6c551c4 thermal/powerclamp: correct cpu support check
5db5e0c11c13 mm: memcontrol: do not recurse in direct reclaim
68adb469dd3b mm/slab: fix kmemcg cache creation delayed issue
67ae004e2c52 mm/list_lru.c: avoid error-path NULL pointer deref
5cb73199ca48 libxfs: clean up _calc_dquots_per_chunk
d00057ecf82f gpio: GPIO_GET_LINE{HANDLE,EVENT}_IOCTL: Fix file descriptor leak
c70eb2cc1276 gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix another information leak
6bba4b226521 gpio: GPIO_GET_LINEEVENT_IOCTL: Reject invalid line and event flags
e2144827d96b gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags
c0699405b147 gpio: GPIO_GET_LINEEVENT_IOCTL: Validate line offset
49bdfb21e37d gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
e22edf53b40f gpio: GPIO_GET_LINEHANDLE_IOCTL: Validate line offset
a23a59c56a53 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak
78ae767553e4 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix line offset validation
56ffab4f532e gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()
4366246129ca h8300: fix syscall restarting
a639266ae0c3 spi: mark device nodes only in case of successful instantiation
d6634d871199 spi: fsl-espi: avoid processing uninitalized data on error
0cee66b72acc drm/dp/mst: Clear port->pdt when tearing down the i2c adapter
f2ffb21fb495 i2c: core: fix NULL pointer dereference under race condition
0fda1cdcbb72 i2c: xgene: Avoid dma_buffer overrun
9c619c2a8d4d i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings
(From OE-Core rev: f95903012735e764ae0608a17fc6d4d8c139eb83)
(From OE-Core rev: 02cbbeb726923df8122d5e30a1908a0897e8cd6c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker sent along updates to the latest 4.8 -rt version.
Updating the SRCREVs to include the following commits:
f83a3d4a643b v4.8.6-rt5
74c7ffc2e3f2 NFSv4: don't disable preemption on !RT
9711dc408890 kbuild: Add -fno-pie to KBUILD_AFLAGS:
7b4d4278e307 v4.8.6-rt4
24aa22031f3c v4.8.2-rt3
8541163464e2 kbuild: add -fno-PIE
81b61ced2d45 NFSv4: replace seqcount_t with a seqlock_t
a8300ce29d0c worqueue: document the proper argument
9711591ebdc3 genirq: document swork member
1aace69fd88f rbtree: include barrier.h
74d4589809f2 rxrpc: remove unused static variables
a941e2f0611c x86/apic: get rid of "warning: 'acpi_ioapic_lock' defined but not used"
9888d1c2e3ab hotplug: Call mmdrop_delayed() in sched_cpu_dying() if PREEMPT_RT_FULL
debf0ec42b2e drivers/zram: Don't disable preemption in zcomp_stream_get/put()
c84b472ee376 mm/zs_malloc: Fix bit spinlock replacement
c17de80bfeba zsmalloc: turn that get_cpu_light() into a local_lock()
33586701e8ad connector/cn_proc: Protect send_msg() with a local lock on RT
b20867d36bcd ftrace: Fix trace header alignment
(From OE-Core rev: 6840594c43b892056886f471575ccb49a78f34e4)
(From OE-Core rev: 0ec50af0cbc8c3fc6301637e4efeaf99fea0512e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that compilation was broken for the in tree variant of
cryptodev. This commit integrates two patches that fix the issue:
efbdfa1ed95f cryptodev: stomp dynamic version numbering for in tree builds
32f54070205f cryptodev: fix compile error when enable CONFIG_CRYPTODEV
(From OE-Core rev: b91469ac21825a86eb7a71f1e91206719061bcaa)
(From OE-Core rev: 4ce2375e4ef1ef37e87c95faa0cae6171f390afa)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a common include file for compiler flags which allow native binaries to
be interoperable on a wide range of hosts. In particular the C++ ABI is
problematic so choose the CXX11 version to allow interoperation between gcc4 and
gcc5 based hosts. Moving this to a common include instead of uninative.bbclass
allows uninative to be configured later and used in the eSDK (where its
mandatory) even if the base configuration doesn't enable uninative by default
(e.g. nodistro in OE-Core).
[ YOCTO #10645 ]
(From OE-Core rev: 60c912ae9306532bdd4c5e09a65863ee77c12f43)
(From OE-Core rev: 10dea25aac31c156350e3e73f937472404c22d81)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We explicitly check for --fstype if no source was provided for a
partition. However, this was not the case for rootfs partitions. Make
sure to raise an error if filesystem was left unspecified when preparing
a rootfs partition image.
(From OE-Core rev: b8c35fcad57810a87aa25ebeb533adf286eed565)
(From OE-Core rev: dc4d1cfc4d6bd01432857448f66af5492cad7574)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The size field of Partition class is expected to be an integer and ought
to be set inside prepare_*() method. Make sure that this is always the
case.
(From OE-Core rev: a37838f995ae642b0b8bdd47a605a264fb3bf200)
(From OE-Core rev: 4e869343952aef8748b40e538c14ad8b94221910)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mount nfs directory would fail if no specific nfsvers:
mount -t nfs IP:/foo/bar/ /mnt/
mount.nfs: an incorrect mount option was specified
mount.nfs currently expects mount(2) to fail with EPROTONOSUPPORT if
the kernel doesn't understand the requested NFS version.
Unfortunately if the requested minor is not known to the kernel
it returns -EINVAL.
Backport patch from nfs-utils-1.3.4 to fix this issue.
(From OE-Core rev: 332596628697d28ae6e8c2271c9658aaf5e54796)
(From OE-Core rev: 2b8362c42f9a7d689084ad956370d2d6c4fa9179)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use SHA256 as default digest for OpenSSL instead of MD5.
CVE: CVE-2004-2761
The MD5 Message-Digest Algorithm is not collision resistant,
which makes it easier for context-dependent attackers to
conduct spoofing attacks, as demonstrated by attacks on the
use of MD5 in the signature algorithm of an X.509 certificate.
Upstream-Status: Backport
Backport from OpenSSL 2.0 to OpenSSL 1.0.2
Commit f8547f62c212837dbf44fb7e2755e5774a59a57b
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(From OE-Core rev: f924428cf0c22a0b62769f8f31f11f173f25014f)
(From OE-Core rev: 0066e5c5559009f250b6e5953d5830db2c8769e1)
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: T.O. Radzy Radzykewycz <radzy@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We strip the TOOLCHAIN_OPTIONS and HOST_CC_ARCH from CC/CXX in cmake.bbclass
whereas CFLAFS and CXXFLAGS assume that TOOLCHAIN_OPTIONS are
part of CC/CXX variables, this causes compile failures when cmake
is running compiler tests during configure on some architectures
especially armhf, because hf ABI information -mfloat-abi is part
of TOOLCHAIN_OPTIONS, so what happens is that testcase gets compiled
without hard-float, howver, during linking the float ABI option
is passed via LDFLAGS, now linker rejects this and fails like
/mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: error: cmTC_27947 uses VFP register arguments, CMakeFiles/cmTC_27947.dir/src.cxx.o does not
mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: failed to merge target specific data of file CMakeFiles/cmTC_27947.dir/src.cxx.o
collect2: error: ld returned 1 exit status
This means that CMake now fails the configure time test too
which is not right, e.g. it might disable features which actually do exist
and should be enabled e.g. in case above it is resulting as below
Performing C++ SOURCE FILE Test HAS_BUILTIN_SYNC_SUB_AND_FETCH failed with the following output:
Its actually a bug in CMake see
https://gitlab.kitware.com/cmake/cmake/issues/16421
CMake is ignoring CMAKE_CXX_FLAGS when using CHECK_CXX_SOURCE_COMPILES
function.
Until it is fixed upstream, we add HOST_CC_ARCH and TOOLCHAIN_OPTIONS
to CFLAGS and CXXFLAGS, so that we can ensure that compiler invocation
remains consistent.
(From OE-Core rev: 826f3cdb474b5728b22f08d2342fc90235ca9e7d)
(From OE-Core rev: 7e5fd5914e15397a56425130c2322ace67da2ee4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script claims to be a /bin/sh script, but it uses
a bashism:
from checkbashisms:
possible bashism in meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh line 151 (should be 'b = a'):
if [ "x/" == "x$( echo ${FILE} | cut -c1 -)" ]
This causes build issues on systems that don't have
/bin/sh symlinked to bash:
Updating certificates in ${WORKDIR}/rootfs/etc/ssl/certs...
<builddir>/tmp/sysroots/x86_64-linux/usr/bin/c_rehash: 151: [: x/: unexpected operator
...
Fix this by using POSIX shell syntax for the comparison.
(From OE-Core rev: 0526524c74d4c9019fb014a2984119987f6ce9d3)
(From OE-Core rev: 2ece9c0e955ee99543968ddfd14da909e23ae611)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest Ubuntu uses yet more aggressive hardening options, which causes the
unconventional build order used by systemtap to fail.
[ YOCTO #10521 ]
(From OE-Core rev: 5ca6ac8739ea4a273df7b8e5c5f7d481619923d8)
(From OE-Core rev: 3397af5877a41a6a59aeb90f8610c759cad38795)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passing --disable-nls should be enough to disable the requirement for a full
gettext to be present, but the upstream configure explicitly checks for msgfmt
even if it isn't going to be used. To avoid having to depend on gettext-native,
patch this check out.
(From OE-Core rev: 2f8d2a74f73490c1ae35131d3eb3592f7ee0a1e4)
(From OE-Core rev: 7d689876574ba47e5ad07d67ad40fd865b0c27f5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Root device name in systemd-bootdisk.wks is 'sda'. This can cause
images, produced using this wks to refuse booting if real device
name is not 'sda'. For example, when booting MinnowBoard MAX from
MicroSD card the boot process stucks with this message on the boot
console output: Waiting for root device /dev/sda2...
This happens because real device name of MicroSD card on this device
is mmcblk1.
Used --use-uuid option for root partition. This should make
wic to put partiion UUID instead of device name into kernel command
line.
[YOCTO #10485]
(From OE-Core rev: 5b73d5f484cc844affe91ec19d881d42e187f30c)
(From OE-Core rev: 71a365d57359dd8d9bfce66985975b1533e983d7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
a.out.h support is not across all architectures only
x86/x86_64 support is in linux/a.out.h, this patch
abstracts the minimum needed constructs into itself
(From OE-Core rev: 757224640bbf4ebf17aea22fa1419c9c3bcd89ce)
(From OE-Core rev: 7985b295384f98fd6ea88f3aff197ccf0369977b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The swpb in macro MUTEX_SET will cause "undefined instruction" error
on the new arm arches which don't support this assembly instruction
any more. If use ldrex/strex to replace swpb, the old arm arches don't
support them. So to avoid this issue, just disable the ARM assembler
mutex code, and use the default pthreads mutex.
(From OE-Core rev: aafbc548ebc66dc0d703526f9a98f784e9c9605b)
(From OE-Core rev: d6a0ef7e9dfbda3d55ba18f2bcc69f04d502495d)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The included patch, backported from Weston master (and OE-Core
master since Weston 1.11.1, b6864b1), allows it to run without
any input device at launch. An ini option is introduced for
this purpose, so there is no behavioral change.
Related change in weston.ini:
[core]
require-input=true
Default is true; setting it false allows Weston to run
without a keyboard or mouse, which is handy for automated
environments.
(From OE-Core rev: 8fa5e442d16b1d04066b51b9fd56be41ae67d2d5)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Android-tools depends on it and to build the native versions of fastboot, adb, mkbootimg and others libbsd needs to support native builds.
(From OE-Core rev: 5d6761dacd370fdb6f29269a22cfbca86f301024)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b02cef58ee35dd277fff48538ce2803df1cbc4d5)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Cyprus split into two time zones on 2016-10-30, and Tonga
reintroduces DST on 2016-11-06.
Changes to future time stamps
Pacific/Tongatapu begins DST on 2016-11-06 at 02:00, ending on
2017-01-15 at 03:00. Assume future observances in Tonga will be
from the first Sunday in November through the third Sunday in
January, like Fiji. (Thanks to Pulu ʻAnau.) Switch to numeric
time zone abbreviations for this zone.
Changes to past and future time stamps
Northern Cyprus is now +03 year round, causing a split in Cyprus
time zones starting 2016-10-30 at 04:00. This creates a zone
Asia/Famagusta. (Thanks to Even Scharning and Matt Johnson.)
Antarctica/Casey switched from +08 to +11 on 2016-10-22.
(Thanks to Steffen Thorsen.)
Changes to past time stamps
Several corrections were made for pre-1975 time stamps in Italy.
These affect Europe/Malta, Europe/Rome, Europe/San_Marino, and
Europe/Vatican.
First, the 1893-11-01 00:00 transition in Italy used the new UT
offset (+01), not the old (+00:49:56). (Thanks to Michael
Deckers.)
Second, rules for daylight saving in Italy were changed to agree
with Italy's National Institute of Metrological Research (INRiM)
except for 1944, as follows (thanks to Pierpaolo Bernardi, Brian
Inglis, and Michael Deckers):
The 1916-06-03 transition was at 24:00, not 00:00.
The 1916-10-01, 1919-10-05, and 1920-09-19 transitions were at
00:00, not 01:00.
The 1917-09-30 and 1918-10-06 transitions were at 24:00, not
01:00.
The 1944-09-17 transition was at 03:00, not 01:00. This
particular change is taken from Italian law as INRiM's table,
(which says 02:00) appears to have a typo here. Also, keep the
1944-04-03 transition for Europe/Rome, as Rome was controlled by
Germany then.
The 1967-1970 and 1972-1974 fallback transitions were at 01:00,
not 00:00.
(From OE-Core rev: daf95f7fd9f7ab65685d7b764d8e50df8d00d308)
(From OE-Core rev: 550901db388eda2476da24b71117223be999688b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
The code should now be buildable on AmigaOS merely by setting the
appropriate Makefile variables. (From a patch by Carsten Larsen.)
(From OE-Core rev: d2b8c4ee535684f5d874082a7f76efbda1907ea5)
(From OE-Core rev: 757f2cb2f2acaf41d3f81c5b9bb0afd8e05001db)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ELF parser was assuming that the segment tables are in the first 4kb of the
binary. Whilst this generally appears to be the case, there have been instances
where the segment table is elsewhere (offset 2MB, in this sample I have). Solve
this problem by mmap()ing the file instead.
Also clean up the code a little whilst chasing the problem.
(From OE-Core rev: b88c6bd61e7c3388b3902de1adb5e48a88f2e235)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version of epiphany still needs libwnck3.
This reverts commit fb5c4f181176710a4cfb3c875b5edb4e5aa5df73.
(From OE-Core rev: eec53627ac5c3aa811a0bd97f06a4827ef0189d3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The epiphany in morty still needs libwnck3, so bring it back.
This reverts commit 129281e8557ec8d29ecf863675884713a3050f4b.
(From OE-Core rev: d09108805dab4595101706f6e75a0a622d3b0cda)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fact that the OpenEmbedded build system can now build
multiple image types caused the KERNEL_IMAGE_BASE_NAME variable
to have the KERNEL_IMAGETYPE portion removed. This could cause
existing recipes that use the KERNEL_IMAGE_BASE_NAME variable
directly issues. I added a section indicating that the user
should address those recipes to avoid problems.
(From yocto-docs rev: 2b4a36b45846e296c15d62ee8fabdd9ff29b2b0f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10717]
Now that multiple images can be built, the KERNEL_IMAGE_BASE_NAME
no longer requires "${KERNEL_IMAGETYPE}" as part of its default
value. I have removed this portion of the default definition
described in the glossary.
(From yocto-docs rev: 54abeb3fbbac8b6d319183f88803fbe71b27fcbe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10351]
I added a note to the "Post Installation Scripts" section of the
"Writing a New Recipe" section to call out the fact that the
RPM package manager will not install packages on the target when
any RPM post-install script returns a non-zero exit code when
the script is run on the target.
(From yocto-docs rev: a2b36b4a352522e3c576a45ee239af51eda518c1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10692]
I updated the STAGING_DIR variable description to have a reference
to the SYSROOT_DIRS variable as well as the "Sharing Files
Between Recipes" section of the dev-manual.
I also updated the "Sharing Files Between Recipes" section so
that the role of SYSROOT_DIRS is explained and actually used
in an example to add another directory.
(From yocto-docs rev: 23114b4bc708398bae8c4559793dd36bc53c96a2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
Made some edits to tighten this down and make it more efficient.
(From yocto-docs rev: f25c0cf08877b62a6e2523b5d4caa83c008ef004)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of Django 1.8.16, Django is rejecting any HTTP_HOST header that is
not on the ALLOWED_HOST list. We often need to reference the
toaster server via a fqdn, if we start it via webport=0.0.0.0:8000 for
instance, and are hitting the server from a laptop. This change does
reduce the protection from a DNS rebinding attack, however, if you are
running the toaster server outside a protected network, you should be
using the production instance.
[YOCTO #10578]
(Bitbake rev: 59a3f391ac5ac194f30d11a39676356464269d55)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
This fix essentially had to document how to add the API
documentation to the standard SDK. The fix required adding a
new appendix to the SDK manual on how to customize that
standard SDK. I could not put just one topic in a new appendix
so I also added a sub-section on how to add indidual packages
to the standard SDK.
Other changes here were the introduction of a new file for the new
appendix, updated the mega-manual.xml file so that it would include
the new chapter when the MM was built. Finally, I added some
cross-referencing to the new appendix from the TOOLCHAIN_HOST_TASK
and TOOLCHAIN_TARGET_TASK variables. And a cross reference from the
distro features section on the api-documentation bullet.
(From yocto-docs rev: d2b5224df82959e0ce52d12f579a572b86f9fc70)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
Updated the "Distro Features" section to include the
"api-documentation" feature.
(From yocto-docs rev: ad02528f13390c2c0dc5717c1f9088212def37be)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string appeared in the text as "$(INC_PR).0". So, fixed
it to be proper with the curly braces.
(From yocto-docs rev: 113296272e60da09c88660d09a5e8ba06f0fda7a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The way I had this string was incorrect. I changed it to "openSUSE".
(From yocto-docs rev: 1b44f58f7cf9c68186dd271b4779b3a368757b1d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10445]
Pointed out that the EXTENDPKGV variable is hard to locate in the
BB manual. Firstly, we don't document that variable in the
BB manual.... maybe we should. For the ref-manual, however, it is
barely referenced in a side example from the dev-manual. So, I
updated the RDEPENDS variable to have a "Tip" box in the area where
it is shown how to use the package version as part of the RDEPENDs
variable.
(From yocto-docs rev: f42525ba8a4d20722d15c9fa250c494a90ff478b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #10588]
This section was confusing due to the fact that it used an actual
set of IP addresses and image name where they should be clearly
called out as examples. Fixed it.
(From yocto-docs rev: 006a25fad282b03aacd59eb8dc1a44cad2c19fc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10451]
Added a missing closing parentheses to a sentence.
(From yocto-docs rev: 8fc10d592eb426c5b173be2280b72fa7ccf3510c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "runqemu Ported to Python" section was using past tense
for a note about previous usage patterns being supported. I
changed this to present tense.
(From yocto-docs rev: 15aa9d5a0164fa9553cf252a651d6aa5fb1c23f0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Print full traceback instead of just the exception message in the
child() function inside fork_off_task(). This makes debugging a lot
easier as the function catches a generic "Exception" and the exception
message alone might not give much information.
[YOCTO #10393]
(Bitbake rev: 61cc397a5b7136afb37052a2860c6c39a176ddab)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a bug where a totally wrong value of a variable would be exported if
an exception happened during d.getVar(). Also, print a warning if an
exception happends instead of silently ignoring it. It would probably be
best just to raise the exception, instead, but use the warning for now
in order to avoid breaking existing builds.
[YOCTO #10393]
(Bitbake rev: 59c606cfc6e0a4f367344d4e3def6017fb560d75)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We recalculate the taskhash to ensure the version we have matches
what we think it should be. When we write out a sigdata file, use
the calculated value so that we don't overwrite any existing file.
This leaves any original taskhash sigdata file intact to allow a
debugging comparison.
(Bitbake rev: dac68af6f4add9c99cb7adcf23b2ae89b96ca075)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake can parse metadata in the cooker and in the worker during builds. If
the metadata isn't deterministic, it can change between these two parses and
this confuses things a lot. It turns out to be hard to debug these issues
currently.
This patch ensures the basehashes from the original parsing are passed into
the workers and that these are checked when reparsing for consistency. The user
is shown an error message if inconsistencies are found.
There is debug code in siggen.py (see the "Slow but can be useful for debugging
mismatched basehashes" commented code), we don't enable this by default due to
performance issues. If you run into this message, enable this code and you will
find "sigbasedata" files in tmp/stamps which should correspond to the hashes
shown in this error message. bitbake-diffsigs on the files should show which
variables are changing.
(Bitbake rev: 46207262ee6cdd2e49c4765481a6a24702ca4843)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(Bitbake rev: 06e7c00f2e1ddda6a2632ec2354a3c8f5c34562d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(From OE-Core rev: 988349f90c8dc5498b1f08f71e99b13e928a0fd0)
(From OE-Core rev: c8d96b10ee3bc2eae0fd269d2564286fd0bc82ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(From OE-Core rev: 1ebd85f8dfe45b92c0137547c05e013e340f9cec)
(From OE-Core rev: 3764a5ce8a1f26b46c389c256c10596ed8d31cc7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41d8236 Set GDB version number to 7.11.1.
136613e Fix PR gdb/19828: gdb -p <process from a container>: internal error
a0de87e Make gdb/linux-nat.c consider a waitstatus pending on the infrun side
cf2cd51 Add mi-threads-interrupt.exp test (PR 20039)
f0a8d0d Fix double prompt output after run control MI commands with mi-async on (PR 20045)
b5f0db4 Fix -exec-run not running asynchronously with mi-async on (PR gdb/18077)
7f8e34d Use target_terminal_ours_for_output in MI
(From OE-Core rev: 371345c0dc49bf781c27aea1e9f6a4c947fa30e6)
(From OE-Core rev: 23a7c411b39eece9c80e1fde84894c75ca8dcbe0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When run the following command on x86:
svnadmin create /var/test_repo
It cause segmentation fault error like the following:
[16499.751837] svnadmin[21117]: segfault at 83 ip 00000000f74bf7f6 sp 00000000ffdd9b34 error 4 in libc-2.24.so[f7441000+1af000]
Segmentation fault (core dumped)
This is because in source code ./subversion/libsvn_fs_fs/low_level.c,
function svn_fs_fs__unparse_footer, when:
target arch: x86
apr_off_t: 4 bytes
if the "APR_OFF_T_FMT" is "lld", it still use type "apr_off_t" to pass
data to apr, but in apr source code file apr_snprintf.c the function
apr_vformatter meet "lld", it would use the:
i_quad = va_arg(ap, apr_int64_t);
It uses the apr_int64_t to deal data, it read 8 bytes, so the follow-up
data may be error.
(From OE-Core rev: 7ea7e3db7801b58495b89a95ec2751d618d3a29f)
(From OE-Core rev: 81b9ac05bdb3dc89c6fd17acbfff7cc4f4685108)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you are using a repository which contains a .templateconf file that
sets TEMPLATECONF to point into a layer it contains, but you aren't
using that layer in your bblayers.conf, the eSDK would produce an error
during the preparation step of the installation. An example would be
using the poky repository but setting DISTRO to your own custom distro
and removing meta-poky from your bblayers.conf. The eSDK doesn't
support creating new build directories, so we don't care about the
templates and can thus force a known good value to prevent this from
happening.
Fixes [YOCTO #10568].
(From OE-Core rev: 5ee32191a18013061dfa72e64713a94c5d321496)
(From OE-Core rev: 7fbc086f47ef6e36c819836deaa1b2fb3f0ec97a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This directory shouldn't contain local.conf and bblayers.conf - just
templates for them; except it doesn't have to contain those, it just has
to exist to pass this test. Change the error message accordingly, and
mention TEMPLATECONF so that the user has at least some context.
(From OE-Core rev: 61adaaa4348c670769f8750223977dbefe369ffb)
(From OE-Core rev: 3136666fee621d94ec4c48e706f0dad3b6b6f08c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure the recipe version matches what we're
actually shipping, so that tools like cve-check
can do the right thing.
Rather than fetching version 3.2.48 and applying all
patches up to and including version 3.2.57, we just
fetch the latter in the first place.
(From OE-Core rev: 614ac87f2832c5359f371439559be88d6106cd6b)
(From OE-Core rev: db3f5330d7a38bb07aca0d65aa94ca36beb721d6)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to future time stamps
Asia/Gaza and Asia/Hebron end DST on 2016-10-29 at 01:00, not
2016-10-21 at 00:00. (Thanks to Sharef Mustafa.) Predict that
future fall transitions will be on the last Saturday of October
at 01:00, which is consistent with predicted spring transitions
on the last Saturday of March. (Thanks to Tim Parenti.)
Changes to past time stamps
In Turkey, transitions in 1986-1990 were at 01:00 standard time
not at 02:00, and the spring 1994 transition was on March 20, not
March 27. (Thanks to Kıvanç Yazan.)
Changes to past and future time zone abbreviations
Asia/Colombo now uses numeric time zone abbreviations like "+0530"
instead of alphabetic ones like "IST" and "LKT". Various
English-language sources use "IST", "LKT" and "SLST", with no
working consensus. (Usage of "SLST" mentioned by Sadika
Sumanapala.)
(From OE-Core rev: ff11ca44fec8e4b2aa523e032bd967e3ab8339a8)
(From OE-Core rev: 5637d1555b51569cdd7202ee47a0b913a0b429cb)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles relativizing file names when creating
symbolic links like /etc/localtime, when these symbolic links
are outside the usual directory hierarchy. This fixes a bug
introduced in 2016g. (Problem reported by Andreas Stieger.)
(From OE-Core rev: 9c5de646e01a83219be74e99dcf7c1e56ba38b53)
(From OE-Core rev: 9288b6e699abbf5b314029b0db9230ca159b335a)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Compiling texi2html 5.0 out-of-source with USE_NLS set to no failed
because it tried to copy from srcdir without using that variable.
Fix this issue and add a reference to the upstream commit.
(From OE-Core rev: 28a37020f50e513b247015b1b0a784c99d41aae3)
(From OE-Core rev: f31ec69379a752e18321ce600a09db9de48fc263)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported gcc5-port.patch
Remove 11_mips-link-tool.patch as there is nothing in the target file
(or the entire source tree) that resembles anything contained in the patch.
(From OE-Core rev: 221093e850fbc3c154e9069f1958384b59ba3f70)
(From OE-Core rev: 7178febeb04f9b7326554f6b57ed50345fd95126)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream had a 2.0 tag for a while, then removed it and added a 1.1 tag :-/
Let's make it match to avoid confusion. There's only one new commit
added, which adds a missing manpage.
Also, update the outdated version comment in rt-tests.inc
(From OE-Core rev: 799a7b74f1219040fe2d43dcdcd145600a9fecbd)
(From OE-Core rev: 5a577f1aa4891646075a559fc94e52cfe34b96c9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxrandr dependency has been removed upstream
Udev dependecy has been added upstream:
commit b8cbfbe06475703f333367976eae9477f229891a
pnp-ids: Use udev's hwdb to query PNP IDs
(From OE-Core rev: 5f939fbf229e3c05d6b726f481a0e862ad5a5ceb)
(From OE-Core rev: 623f9eb815ae0a53f96222947b566c4e6d74ab97)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was creating a race in runtime library dependency resolution
where sometimes the library was assumed to be provided by the ptest
package.
(From OE-Core rev: c4a10c0b4bc14f4bac06deed8ecb64d0303f4029)
(From OE-Core rev: 10e32463236df05458af7fb7d1ef388f380ab10c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manpage is also shipped in util-linux-doc as an alternative, so it needs to
be managed as an alternative here too.
(From OE-Core rev: 0c1e8e0939b39dcf6ea753b41da5ec9bc6ebb82a)
(From OE-Core rev: 4a916484adbf7ae38338279b83f8a64c2cee4f3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The su binary is handled by alternatives but the man page wasn't, so
installing both util-linux-doc and shadow-doc produces errors.
Also use d.expand() to neaten the code.
(From OE-Core rev: 70a161ee88d3d54fec6d59039c181b43f1857dc3)
(From OE-Core rev: bec07530536c36b2ab2a7818a9ffc475faba27ac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
eMMC devices may report block devices like "mmcblk0rpmb" and
"mmcblk0boot0". These are not actually block devices and any
read/write operation on them will fail. To prevent spamming error
messages attempting to mount them, just ignore these devices.
(From OE-Core rev: 9f4a85eb929f67420d9689d7dddadd120ed49843)
(From OE-Core rev: 50d97edaeb18a4c6374101d222410a3b0f344bf2)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not use --force-depends when trying to remove all dependent packages,
as it removes only the selected package and not the dependent packages.
(From OE-Core rev: a82e8725902086dab785a0b14305927dae1e4e8d)
(From OE-Core rev: 0666c66b2719f59e556c12d5875dea696006ed0b)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
open() is default to 'rt' which may cause decoding errors when open
binary file:
$ bitbake xcursor-transparent-theme
[snip]
Exception: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in position 18: invalid start byte
[snip]
(From OE-Core rev: ddbab61f47efd9b4fde38ef8f0f3482c78abe37c)
(From OE-Core rev: 8364558a2904d21c9b31d29bfb8f2d9cbeac8659)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDK_OLDEST_KERNEL currently only controls the check on SDK installation,
however as with OLDEST_KERNEL it should be controlling the OLDEST_KERNEL
value for building glibc used in the SDK. Thus, set it in
nativesdk.bbclass. This means we need to move the default to
bitbake.conf so that it can be seen in both places.
Also set a more reasonable default for SDK_OLDEST_KERNEL for x86/x86-64 as
glibc 2.24 still supports back to 2.6.32 there and there are still
people wanting to build SDKs that will install on older distros (e.g.
CentOS 6). However it's not possible to set this with overrides since
there aren't any for the SDK_ARCH, however we can instead set the variable
from conf files in conf/machine-sdk especially as there is now a soft
default for SDKMACHINE.
Fixes [YOCTO #10561].
(From OE-Core rev: 42d5781e31c5bf76b5b7e27abed4f6f3fd65bf40)
(From OE-Core rev: e02aa8e8b62eae0f83beca850466408dd060b248)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you used an & character in SDK_TITLE (possibly indirectly from
DISTRO_NAME) then sed interpreted this as a directive to paste in the
replaced string (@SDK_TITLE@ in this case). Escape any & characters in
SDK_TITLE to avoid that.
(From OE-Core rev: acb85689c13cfdac21435509001048af5c3a7e99)
(From OE-Core rev: bbad3402d431ac178cabdc00fcaf37b3a1a6bfd6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manager_invoke_notify_message function in systemd 231 and earlier allows
local users to cause a denial of service (assertion failure and PID 1 hang)
via a zero-length message received over a notify socket.
The patch is a backport from the latest git repo.
Please see the link below for more information.
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-7795
(From OE-Core rev: 543570cafa8d7f595b489d03d05f0aa4478f8539)
(From OE-Core rev: df3f4785fc69d3ddbd30ccd954aad3d3618c5916)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there is a relative symlink in the layer, for example:
symA -> ../out/of/layer/file
symA will be invalid fater copied, it would be invalid from build time
if it points to a relative path, and would be invalid after extracted
the sdk if it points to a absolute py. Dereference symlink when copy
will fix the problem.
Use tar rather than shutil.copytree() to copy is because:
1) shutil.copytree(symlinks=Fasle) has bugs when dereference symlinks:
https://bugs.python.org/issue21697
And Ubunutu 1404 doesn't upgrade python3 to fix the problem.
2) shutil.copytree(symlinks=False) raises errors when there is a invalid
symlink, and tar just prints a warning, tar is preferred here since
the real world is unpredicatable
3) tar is faster than shutil.copytree() as said by oe.path.copytree()
So use tar to copy.
(From OE-Core rev: f4d70bb0882eec4fb46cd942f2796fad57c72982)
(From OE-Core rev: 51d3cab8aab593481be16cadaca6fcddbb64bc52)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The c_rehash utility is supposed to be run in the folder /etc/ssl/certs
of a rootfs where the package ca-certificates puts symlinks to
various CA certificates stored in /usr/share/ca-certificates/mozilla/.
These symlinks are absolute. This means that when c_rehash is run
at rootfs creation time it can't hash the actual files since they
actually reside in the build host's directory
$SYSROOT/usr/share/ca-certificates/mozilla/.
This problem doesn't reproduce when building on Debian or Ubuntu
hosts though, because these OSs have the certificates installed
in the same /usr/share/ca-certificates/mozilla/ folder.
Images built in other distros, e.g. Fedora, have problems with
connecting to https servers when using e.g. python's http lib.
The patch fixes c_rehash to check if it runs on a build host
by testing $SYSROOT and to translate the paths to certificates
accordingly.
(From OE-Core rev: 5199b990edf4d9784c19137d0ce9ef141cd85e46)
(From OE-Core rev: 9ab0cba49d9ab67aacfcfb47689f4a77a72a0866)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm2cpio is in ${PN}-common, but rpm2cpio.real is in ${PN}. This seperation
is really weird. Put them both in ${PN}-common.
(From OE-Core rev: 8a0af7e4ae8ba8ce0c7fd2a9f6ab7cc070f47af0)
(From OE-Core rev: 0f87812a515ae349885929558fbfb315f4a10ec7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The AC_PATH_XTRA check for X11 headers is never actually used, so patch that out
and remove the options in EXTRA_OECONF.
Move pcre/png/zlib toggles to PACKAGECONFIG, retaining the behaviour that only
PCRE is enabled by default.
Add missing libiconv dependency.
(From OE-Core rev: 3587053646c34002fa18b87834516ce27fbd0788)
(From OE-Core rev: 200cc00b048dbef11b01c6402d6525559de76306)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The slang maintainer only puts the current release at
jedsoft.org/releases/slang/slang-1.2.3.tar.bz2, all previous releases are moved
into /releases/slang/old/.
As this breaks the fetch the moment a new version is released, use PREMIRRORS to
also look in the /old/ directory.
(From OE-Core rev: 50d49766ab76b67e312f6a1d91977a40d1020919)
(From OE-Core rev: f2783109ac7939eba722dc2f863661ade03e4a8a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you set LIC_FILES_CHKSUM to point to a relative symlink then you'll
get "Could not copy license file" warnings in copy_license_files() since
the symlink won't be valid after it's copied. If the source is a symlink
then we need to dereference it first.
I encountered this when I used recipetool on the sources for capnproto,
where the c++ directory contains a LICENSE.txt symlink to the LICENSE
file in the parent directory, and this symlink ends up being pointed to
in LIC_FILES_CHKSUM.
(From OE-Core rev: c4d3b1e9c37b920444e53d3231552da18d101882)
(From OE-Core rev: 650ddf1d8b687845099a8ac463c3a550a7965095)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import a patch from upstream, which fixes a connman daemon freeze
under certain conditions (multiple active interfaces, no r/w storage).
(From OE-Core rev: bba18cdce6fb6c5ff2f7161198d46607a72747d6)
(From OE-Core rev: 87d6ccd8c7775b1d3e2571b6e17091538a8bd6c8)
Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When modifying the PATH variable in .bashrc, double quote characters
were used, resulting in expanding the variable $PATH with the value of
PATH of the system building the Build Appliance.
The original intent was to enter an un-expanded (literal) $PATH.
In order to that, one must use single quotes instead of double quotes.
[YOCTO#10434] [YOCTO#10504]
(From OE-Core rev: 6238faf901956e2a350315a66ca1ce557deaa513)
(From OE-Core rev: ac2b0413526df46cfdcae2d3f9add1a29fe3c2b5)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes segfaults when doing partial linking and generaring binary objects
/tmp/binu/ld/ld-new -r -b binary -o etc_certs_ui_ca_pem.o etc_certs_ui_ca_pem
0 elf32_arm_count_additional_relocs (sec=0x79bf40) at /mnt/a/work/oe/binutils-gdb/bfd/elf32-arm.c:18210
1 0x000000000047635a in bfd_elf_final_link (abfd=abfd@entry=0x783250, info=info@entry=0x748400 <link_info>) at /mnt/a/work/oe/binutils-gdb/bfd/elflink.c:11224
2 0x000000000044df7b in elf32_arm_final_link (abfd=0x783250, info=0x748400 <link_info>) at /mnt/a/work/oe/binutils-gdb/bfd/elf32-arm.c:12131
3 0x0000000000418917 in ldwrite () at /mnt/a/work/oe/binutils-gdb/ld/ldwrite.c:577
4 0x000000000040365f in main (argc=<optimized out>, argv=<optimized out>) at /mnt/a/work/oe/binutils-gdb/ld/ldmain.c:433
gold works ok. The patch is already applied in master binutils
(From OE-Core rev: 00d1913520f1572fa7def865e57852c7f25b0ec4)
(From OE-Core rev: 2b1a571899eec018d6f44876b743e06835ed761d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were presuming that all the layer dependency information was of the
form "^/path/to/layer" to we were just stripping the leading "^" off of
the layer information when we were matching the layer priorities to the
toaster database. This patch splits out the priorities layer match which
gets a regex from the task/recipe match which is gets a path.
(Bitbake rev: 82775c80d169266cc18ca2b2065a05c79dc6fbfc)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Built and boot test for all these boards on 4.1, 4.4 and 4.8 kernels.
(From meta-yocto rev: d4627701a3a5d8c82f49747c41c5b3226da56d07)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The initial 4.8 -rt feature was directly from Paul Gortmaker, and
now the 'upstream' -rt has done a release on the same kernel
version.
Paul has sync'd the initial effort with the upstream work, and we
now have a consolidated standard/preempt-rt/*
Along with the rsync'd content, Paul has fixed -rt boot on 32 bit
x86.
(From OE-Core rev: 1270050079feeefc38744fdbfe23b16aa1b632a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new runqemu script assumes that if OECORE_NATIVE_SYSROOT is set then
it shouldn't try to run bitbake to find out the values of various
variables such as DEPLOY_DIR_IMAGE; this assumption is incorrect for the
extensible SDK. To work around this, clear OECORE_NATIVE_SYSROOT in the
environment when running runqemu.
Fixes [YOCTO #10447].
(From OE-Core rev: abff69a48bf3076ce8e21356accdc8d85d2c8dbf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These requirements were in place for the ADT, which is gone now.
I have removed the four supported host lists for packages to
support the SDK.
(From yocto-docs rev: e0f36333b3a0e5f3503f6ac48b87c3ae8c23afe3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved a couple notes around and changed some wordings...
nothing major.
(From yocto-docs rev: 518d368c4c981df5ddde6681859906c9eb16ff62)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10462]
The section that shows how to build images had two examples all
within the same section. It was suggested to place these examples
in their own sub-sections. Good suggestion. I broke them out into
sub-sections titled appropriately.
(From yocto-docs rev: b97918820cfa12a2d5dfbccd6c0ce22b16d65206)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10451]
The example that writes the image to bootable media did not seem
to work when using 'mkefidisk.sh'. It does work using 'dd'. I changed
the procedure to use 'dd'.
(From yocto-docs rev: e3f90869291f619db1d830b127ade66986eba886)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a new section in the "Common Tasks" chapter to support
the fact that BB can now build for multi-configurations.
(From yocto-docs rev: 0bf464908200d6c40c35fbf753712a8b0201dd88)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Indicated that the configuration file is not mandatory. Also,
documented the supported qemu* machines should you run the
script without a configuration file.
(From yocto-docs rev: c01e8ff8e3233e56a220be042616d5810f181a58)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-25 17:56:27 +01:00
6767 changed files with 453774 additions and 473126 deletions
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
@@ -24,9 +36,9 @@ from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 10 or not sys.argv[1].startswith("decafbad"):
print("bitbake-server is meant for internal execution by bitbake itself, please don't use it standalone.")
sys.exit(1)
import bb.server.process
lockfd = int(sys.argv[2])
readypipeinfd = int(sys.argv[3])
logfile = sys.argv[4]
lockname = sys.argv[5]
sockname = sys.argv[6]
timeout = sys.argv[7]
xmlrpcinterface = (sys.argv[8], int(sys.argv[9]))
if xmlrpcinterface[0] == "None":
xmlrpcinterface = (None, xmlrpcinterface[1])
if timeout == "None":
timeout = None
# Replace standard fds with our own
with open('/dev/null', 'r') as si:
os.dup2(si.fileno(), sys.stdin.fileno())
so = open(logfile, 'a+')
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(so.fileno(), sys.stderr.fileno())
# Have stdout and stderr be the same so log output matches chronologically
# and there aren't two seperate buffers
sys.stderr = sys.stdout
logger = logging.getLogger("BitBake")
# Ensure logging messages get sent to the UI as events
@@ -20,7 +17,7 @@ from multiprocessing import Lock
from threading import Thread
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
@@ -65,6 +62,7 @@ if 0:
format_str = "%(levelname)s: %(message)s"
conlogformat = bb.msg.BBLogFormatter(format_str)
consolelog = logging.FileHandler(logfilename)
bb.msg.addDefaultlogFilter(consolelog)
consolelog.setFormatter(conlogformat)
logger.addHandler(consolelog)
@@ -97,7 +95,6 @@ def worker_flush(worker_queue):
pass
while (worker_queue_int or not worker_queue.empty()):
# TODO: add argument to automatically keep local-only refs, since they
# can't be easily restored with a git fetch.
parser = argparse.ArgumentParser(description='Remove the history of the specified revisions, then optionally filter the available refs to those specified.')
parser.add_argument('--ref', '-r', metavar='REF', action='append', dest='refs', help='remove all but the specified refs (cumulative)')
parser.add_argument('--shrink', '-s', action='store_true', help='shrink the git repository by repacking and pruning')
for pidfile in ${BUILDDIR}/.toastermain.pid ${BUILDDIR}/.runbuilds.pid; do
if [ -f ${pidfile} ]; then
pid=`cat ${pidfile}`
while kill -0 $pid 2>/dev/null; do
kill -SIGTERM $pid 2>/dev/null
sleep 1
done
rm ${pidfile}
fi
done
}
webserverStartAll()
{
# do not start if toastermain points to a valid process
if ! cat "${BUILDDIR}/.toastermain.pid" 2>/dev/null | xargs -I{} kill -0 {} ; then
retval=1
rm "${BUILDDIR}/.toastermain.pid"
fi
retval=0
# check the database
databaseCheck || return 1
echo "Starting webserver..."
$MANAGE runserver --noreload "$ADDR_PORT" \
$MANAGE runserver "$ADDR_PORT" \
</dev/null >>${BUILDDIR}/toaster_web.log 2>&1 \
& echo $! >${BUILDDIR}/.toastermain.pid
@@ -95,7 +79,6 @@ webserverStartAll()
else
echo "Toaster development webserver started at http://$ADDR_PORT"
echo -e "\nYou can now run 'bitbake <target>' on the command line and monitor your build in Toaster.\nYou can also use a Toaster project to configure and run a build.\n"
discussion mailing list about the BitBake build tool.
</para>
<note>
This example was inspired by and drew heavily from these sources:
<itemizedlist>
<listitem><para>
<ulinkurl="http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html">Mailing List post - The BitBake equivalent of "Hello, World!"</ulink>
</para></listitem>
<listitem><para>
<ulinkurl="https://web.archive.org/web/20150325165911/http://hambedded.org/blog/2012/11/24/from-bitbake-hello-world-to-an-image/">Hambedded Linux blog post - From Bitbake Hello World to an Image</ulink>
</para></listitem>
</itemizedlist>
</note>
<para>
As stated earlier, the goal of this example
is to eventually compile "Hello World".
However, it is unknown what BitBake needs and what you have
to provide in order to achieve that goal.
Recall that BitBake utilizes three types of metadata files:
$('#outdated-warning').html('Version '+release+' of the project is now considered obsolete, please select and use a more recent version');
$('#outdated-warning').css('padding','.5em');
}elseif(release!="dev"){
$.each(all_versions,function(version,title){
varseries=version.substr(0,3);
if(series==current_series&&version!=release){
$('#outdated-warning').html('This document is for outdated version '+release+', you should select the latest release version in this series, '+version+'.');
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.