Richard Purdie [Tue, 17 Apr 2018 14:42:31 +0000 (15:42 +0100)]
uninative: Add allow-shlib-undefined to BUILD_LDFLAGS and drop other workarounds
We have a problem when for example, a glibc 2.27 based system builds some
library like libpopt-native and puts it into sstate then it is reused
on a pre glibc-2.27 system to build something which depends on popt like
rpm-native. This results in an error like:
recipe-sysroot-native/usr/lib/libpopt.so: undefined reference to `glob@GLIBC_2.27'
In the past we've had this problem with new symbols like getrandom and
getentropy, here its with a more complex symbol where there is an old
version and a newer version.
We've looked into various options, basically we cannot link against our
uninative libc/ld.so since we don't have the right headers or compiler
link libraries. The compiler doesn't allow you to switch in a new set
either, even if we did want to ship them. Shipping a complete compiler,
dev headers and libs also isn't an option.
On the other hand if we follow the ld man page, it does say:
"""
The reasons for allowing undefined symbol references in shared libraries
specified at link time are that:
- A shared library specified at link time may not be the same as the one
that is available at load time, so the symbol might actually be
resolvable at load time.
"""
which is exactly this case. By the time the binary runs, it will use
our uninative loader and libc and the symbol will be available.
Therefore we basically have a choice, we get weird intermittent bugs,
we drop uninative entirely, or we pass this option.
If we pass the option, we can drop the other workarounds too.
Richard Purdie [Fri, 13 Apr 2018 16:08:10 +0000 (17:08 +0100)]
bitbake.conf: Set and export TZ envvar to UTC
We just ran into an issue where tar failed to build on one server setup
but built everywhere else just fine.
It was running makeinfo to regenerate some docs files and makeinfo was too
old for the host it was running on. There was no dependency on makeinfo-native
as it was not meant to be regenerating the docs.
It was being regenerated as a date from a timestamp used in the docs
was different in Asian timezones than in the other timezones our builds
were being tested in.
I added an entry to https://wiki.yoctoproject.org/wiki/TipsAndTricks/
about how this was debugged.
As such, lets default to setting and exporting TZ to 'UTC' as was already
pioneered by the reproducibile builds work. This makes the builds
deterministic.
Mark Hatle [Mon, 16 Apr 2018 15:34:18 +0000 (11:34 -0400)]
package.bbclass: Add '-b' option to file call in isELF
The isELF function works by running:
result = file <pathname>
if 'ELF' in result
By default 'file' will prepend the result with the path name of the file
that is being checked. This usually works fine, such as:
$ file /home/foo/openembedded-core/meta/classes/package.bbclass
/home/foo/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines
However, if the path includes 'ELF', ELF will end up in the result, and then
the check will return positive.
$ file /home/ELF/openembedded-core/meta/classes/package.bbclass
/home/ELF/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines
This will then result in the isELF coming back true, and possibly causing the
checks that use isELF, such as the 'is it already stripped' check, to do the
incorrect thing.
Adding the '-b' option to file will result in the path being omitted in the
result:
$ file /home/ELF/openembedded-core/meta/classes/package.bbclass
Python script, ASCII text executable, with very long lines
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>
[fixup for Rocko] Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Fix arbitrary command execution in ed-style patches:
- src/pch.c (do_ed_script): Write ed script to a temporary file instead
of piping it to ed: this will cause ed to abort on invalid commands
instead of rejecting them and carrying on.
- tests/ed-style: New test case.
- tests/Makefile.am (TESTS): Add test case.
* Fix segfault with mangled rename patch
- src/pch.c (intuit_diff_type): Ensure that two filenames are specified
for renames and copies (fix the existing check).
Cuero Bugot [Fri, 16 Mar 2018 17:31:30 +0000 (17:31 +0000)]
uninative: add variables to the whitelist so that it does not re-triger recipe parsing
When uninative is activated (poky's default) internal datastore variables are modified (NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS) to enable uninative
support. This is happening after parsing is done at the beginning of the build. On the next bitbake call the recipe would be parsed if the two
variables above were not added to the parsing whitelist BB_HASHCONFIG_WHITELIST.
The fix is to add these two variables to the recipe parsing whitelist BB_HASHCONFIG_WHITELIST, this is done at recipe parsing time, only when
uninative.bbclass is used.
package_manager.py: Skip gpgcheck while using dnf on target
By default, RPM_SIGN_PACKAGES is not defined. Add gpgcheck=0 to
oe-remote-repo.repo file, otherwise dnf will complain during
install operation on target
Note, RPM_SIGN_PACKAGES is set only when you inherit sign_rpm explicitly
Juro Bystricky [Thu, 29 Mar 2018 20:27:02 +0000 (13:27 -0700)]
libpcre-ptest: skip locale test
If a fr_FR locale is found, it is automatically tested. The test
will fail if the locale is UTF-8, as the test blindly assumes
(and expects) a non-UTF fr_FR locale.
The remedy is to skip the test.
Koen Kooi [Fri, 9 Mar 2018 10:55:14 +0000 (11:55 +0100)]
openssl: fix libdir logic to allow multiarch style paths
The recipes were using 'basename' to turn '/usr/lib' into 'lib', which breaks when libdir is '/usr/lib/tuple', leading to libraries ending up in '/usr/tuple', which isn't in FILES_*. Change the logic to use sed to strip the prefix instead.
The patch was applied in a completely incorrect spot (due to fuzz),
no one noticed or complained. Meanwhile upstream says the issue
has been resolved differently:
https://rt.openssl.org/Ticket/Display.html?id=3759&user=guest&pass=guest
Ross Burton [Fri, 9 Mar 2018 18:55:44 +0000 (20:55 +0200)]
openssl: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
Signed-off-by: Ross Burton <ross.burton@intel.com> 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 <akuster@mvista.com>
features/wifi: Add WiFi driver fragments for various vendors/interfaces
This change adds WiFi driver configuration fragments. The fragments are
split into vendor and interface files to allow for easy selection of
drivers for specific interface types (USB, PCI, SDIO) which is useful
for BSPs with specific interfaces. The specific vendor/interface config
fragments can be included by specific BSPs in its .scc files.
However .scc files (wifi-*.scc) are provided to allow enabling interface
specific or all interfaces drivers via KERNEL_FEATURES or inclusion via
other .scc files. And wifi-common.scc is provided to enable the base
config options required for all WiFi drivers, which is done to ensure
correct configuration for default no config setups (e.g.
linux-yocto-tiny).
This patch only enables a limited set of drivers, which is based on what
the common-pc-wifi.cfg fragment sets as well as some additional drivers,
that primarily appear in USB WiFi devices.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This gives us a much better granularity of drivers and a good baseline for
future improvements.
The 4.12 fragments are also slightly re-organized on top of this commit
to avoid patch failures when including the new frags.
Mikko Rapeli [Mon, 26 Mar 2018 11:57:59 +0000 (14:57 +0300)]
mirrors.bbclass: change Debian anonscm to salsa
Debian anonscm service in Alioth is shutdown and thus
fetching sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
https://wiki.debian.org/Salsa
"What is Salsa?
Salsa is the name of a collaborative development server for Debian based on the gitlab software. Salsa is supposed to provide the necessary tools for package maintainers, packaging teams and other Debian related individuals and groups for collaborative development.
What is the status of Salsa?
After various discussions about the future of Alioth, the Alioth Sprint in August 2017 gave birth to the initial setup of the the upcoming Salsa service. The productive weekend resulted in a working prototype and was launched as a beta in December 2017. It left its beta status in January 2018."
Mikko Rapeli [Mon, 26 Mar 2018 11:57:58 +0000 (14:57 +0300)]
ca-certificates: change SRC_URI from Debian anonscm to salsa
Debian anonscm service in Alioth is shutdown and thus
fetching ca-certificates sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
Mikko Rapeli [Mon, 26 Mar 2018 11:57:57 +0000 (14:57 +0300)]
ncurses: change SRC_URI from Debian anonscm to salsa
Debian anonscm service in Alioth is shutdown and thus
fetching ncurses sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
André Draszik [Thu, 5 Apr 2018 11:08:58 +0000 (12:08 +0100)]
curl: DEPENDS on libidn2 (not libidn)
Since v7.51.0, libidn2 is the only available option, libidn
support was dropped.
The configure option was renamed as of v7.53.0
Therefore, curl unconditionally tries to build against libidn2,
which in particular is a problem for curl-native, as that might
or might not build against the build-machine's libidn2 now,
which furthermore causes problems when trying to share sstate
between multiple build machines.
We therefore see the following in the config log:
...
checking whether to build with libidn2... (assumed) yes
...
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... yes
checking idn2.h usability... yes
checking idn2.h presence... yes
checking for idn2.h... yes
...
IDN support: enabled (libidn2)
...
even though this recipe tries to disable that.
While libidn2 isn't available in OE, this change at least:
* prevents curl-native to silently build against libidn2 if
that is installed on build machine, even if not requested
* alerts people who use the PACKAGECONFIG option that it's
not actually doing what they intend to do
Huang Qiyu [Wed, 24 Jan 2018 03:01:36 +0000 (11:01 +0800)]
curl: 7.54.1 -> 7.57.0
1.Upgrade curl from 7.54.1 to 7.57.0.
2.Delete CVE-2017-1000099.patch, CVE-2017-1000100.patch, CVE-2017-1000101.patch, CVE-2017-1000254.patch, reproducible-mkhelp.patch, since it is integrated upstream.
3.Remove "do_install_append()" from curl_7.57.0.bb, since curl/curlbuild.h has been removed.
The debug output tells us that the NONDIGITS check failed to remove
the digits using the tr expression. Enclosing the expression in
quotes causes it to work properly.
Tanu Kaskinen [Sat, 31 Mar 2018 05:21:31 +0000 (08:21 +0300)]
libvorbis: CVE-2017-14632
Xiph.Org libvorbis 1.3.5 allows Remote Code Execution upon freeing
uninitialized memory in the function vorbis_analysis_headerout() in
info.c when vi->channels<=0, a similar issue to Mozilla bug 550184.
Tanu Kaskinen [Sat, 31 Mar 2018 05:21:30 +0000 (08:21 +0300)]
libvorbis: CVE-2017-14633
In Xiph.Org libvorbis 1.3.5, an out-of-bounds array read vulnerability
exists in the function mapping0_forward() in mapping0.c, which may lead
to DoS when operating on a crafted audio file with vorbis_analysis().
Niko Mauno [Mon, 29 Jan 2018 17:47:24 +0000 (19:47 +0200)]
bitbake.conf: Add comm to HOSTTOOLS
This mitigates following issues during u-boot do_compile() step --
otherwise, if comm is not available, they are quietly ignored:
.../scripts/check-config.sh: line 33: comm: command not found
.../scripts/check-config.sh: line 39: comm: command not found
Since 'comm' is provided by coreutils package, adding it to HOSTTOOLS
was considered a lower impact fix compared to adding coreutils-native
buildtime dependency to u-boot recipe.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
[got reports the latest 4.4 is having issues too] Signed-off-by: Armin Kuster <akuster808@gmail.com>
Armin Kuster [Fri, 23 Mar 2018 04:57:20 +0000 (21:57 -0700)]
distcc: Change SRC_URI
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.
Tanu Kaskinen [Wed, 21 Mar 2018 17:07:41 +0000 (19:07 +0200)]
e2fsprogs: fix compatibility with glibc 2.27
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.
Juro Bystricky [Sat, 10 Mar 2018 19:27:29 +0000 (11:27 -0800)]
openssl_1.0.2n: improve reproducibility
Improve reproducible build of:
openssl-staticdev
openssl-dbg
libcrypto
There are two main causes that prevent reproducible build, both related to
the generated file "buildinf.h":
1. "buildinf.h" contains build host CFLAGS, containing various build
host references. We need to pass sanitized CFLAGS to the script
generating this file ("mkbuildinf.pl". )
2. We also need to modify the script "mkbuildinf.pl" itsel in order to
generate a build timestamp based on SOURCE_DATE_EPOCH, if present in
the environment.
ca-certificates: run postinst script only for -target package
Nativesdk package has a special arrangement where the same thing is done
in do_install(). It was assumed (in the comment) that postinsts don't run when
installing nativesdk packages, but this was incorrect: they are run, but
any failures were previously silently ignored. Now this missing failure reporting has
been fixed, and so we get to see the failures.
Bruce Ashfield [Wed, 14 Mar 2018 15:10:29 +0000 (11:10 -0400)]
linux-yocto/4.12: backport bugfixes for x86
Integrating the following commits:
60b649971940 x86/hibernate/64: Mask off CR3's PCID bits in the saved CR3 cec3c008ec8f drm/i915/cfl: Coffee Lake works on Kaby Lake PCH. 073873cb152c brd: remove unused brd_mutex 912c53b1b346 audit: fix memleak in auditd_send_unicast_skb.
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>
[Fixup to bypass the aufs & systemtap changes] Signed-off-by: Armin Kuster <akuster808@gmail.com>
fs/aufs/debug.h:95:19: warning: comparison of constant '0'
with boolean expression is always false [-Wbool-compare]
if (unlikely((e) < 0)) \
^
fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr'
AuTraceErr(!valid);
^~~~~~~~~~
In expansion of AuTraceErr(!valid), comparison of (!valid)
and constant '0' always passes unlikely(x) false. function
'static int seek_vdir(struct file *file, struct dir_context *ctx)'
is to find whether there is a valid vd_deblk following ctx->pos.
return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1)
makes more sense.
Ross Burton [Fri, 2 Mar 2018 20:52:54 +0000 (20:52 +0000)]
populate_sdk_base: depend on nativesdk-glibc-locale
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.
Ross Burton [Thu, 1 Mar 2018 18:26:32 +0000 (18:26 +0000)]
populate_sdk: install UTF-8 locales in SDKs
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.
Ross Burton [Thu, 1 Mar 2018 18:26:27 +0000 (18:26 +0000)]
glibc: relocate locale paths in nativesdk
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.
busybox: separate inittab into own package, due to SERIAL_CONSOLES being machine-specific
* Create busybox-inittab recipe to produce machine-specific package with /etc/inittab
and necessary getty calls for a machine, based on SERIAL_CONSOLES, similar to how
sysvinit-inittab was done
* Since CONFIG_FEATURE_USE_INITTAB is controlled by VIRTUAL-RUNTIME_init_manager, make
main busybox package RDEPENDS on busybox-inittab when init_manager is set to busybox
When running bitbake -c populate_sdk <image_name>, it is expected that
packages matching SDKIMAGE_INSTALL_COMPLEMENTARY name mask (unless
declared in PACKAGE_EXCLUDE_COMPLEMENTARY) are installed to resulting
SDK. Underlying mechanism issues a package manager install call for set
of complementary packages. However the mechanism doesn't seem to inform
the user all too obviously in case the package manager command behind
install_complementary() method fails -- and since it is combined with
attempt_only=True option, user might end up wondering why several *-dev,
*-dbg packages are missing from resulting SDK.
Improve associated install() method behaviour in affected OpkgPM and
DpkgPM classes so that a problematic state of affairs becomes directly
obvious for bitbake user, resulting in shell output like:
WARNING: someimage-1.0-r0 do_populate_sdk: Unable to install packages.
Command '...' returned 1:
Collected errors:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - package somepkg-dev-1.0-r0.x86 requires somepkg = 1.0-r0, but
none of the providers can be installed
*
* Solution 1:
* - allow deinstallation of someotherpkg-1.1-r1.x86
* - do not ask to install a package providing somepkg-dev
* Solution 2:
* - do not ask to install a package providing somepkg-dev
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d4459e7086fced5e9e0b4ad10378c9eddec56a8) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Otavio Salvador [Mon, 12 Mar 2018 11:29:01 +0000 (04:29 -0700)]
go: Upgrade 1.9 to 1.9.4 stable release
The 1.9.4 fixes a number of issues in the Go compiler and is important
to get in before we start working on 1.10 inclusion.
- go1.9.1 (released 2017/10/04) includes two security fixes.
- go1.9.2 (released 2017/10/25) includes fixes to the compiler,
linker, runtime, documentation, go command, and the crypto/x509,
database/sql, log, and net/smtp packages. It includes a fix to a
bug introduced in Go 1.9.1 that broke go get of non-Git
repositories under certain conditions.
- go1.9.3 (released 2018/01/22) includes fixes to the compiler,
runtime, and the database/sql, math/big, net/http, and net/url
packages.
- go1.9.4 (released 2018/02/07) includes a security fix to “go get”.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Richard Purdie [Wed, 14 Mar 2018 16:52:18 +0000 (09:52 -0700)]
uninative: Add compatiblity version check
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Daniel Díaz [Tue, 13 Mar 2018 16:07:50 +0000 (10:07 -0600)]
gdb: fix header ordering for TRAP_HWBKPT
This error can appear in gdb/nat/linux-ptrace.c because of
the order in which some headers are processed:
| In file included from ../../gdb-7.11.1/gdb/nat/linux-ptrace.c:20:0:
| ../../gdb-7.11.1/gdb/nat/linux-ptrace.h:175:22: error: expected identifier before numeric constant
| # define TRAP_HWBKPT 4
| ^
| Makefile:2357: recipe for target 'linux-ptrace.o' failed
| make[2]: *** [linux-ptrace.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/oe/build/tmp-rpb-glibc/work/aarch64-linaro-linux/gdb/7.11.1-r0/build-aarch64-linaro-linux/gdb'
| Makefile:8822: recipe for target 'all-gdb' failed
| make[1]: *** [all-gdb] Error 2
| make[1]: Leaving directory '/oe/build/tmp-rpb-glibc/work/aarch64-linaro-linux/gdb/7.11.1-r0/build-aarch64-linaro-linux'
| Makefile:846: recipe for target 'all' failed
| make: *** [all] Error 2
A patch from GDB's current master solves the issue.
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 11 Mar 2018 12:12:49 +0000 (05:12 -0700)]
gcc: Remove patch causing ICE on x86_64 valgrind compile
| ../../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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Juro Bystricky [Thu, 1 Mar 2018 18:32:43 +0000 (10:32 -0800)]
gcc6: Backport few more patches
Backported series of patches from https://github.com/hjl-tools/gcc.git
branch /hjl/indirect/gcc-6-branch/master which contains
an IA patch series for security related issues
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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:
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.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
gcc: Fix libssh_nonshared linker specs for ppc/musl
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
Khem Raj [Wed, 28 Jun 2017 02:11:44 +0000 (19:11 -0700)]
gcc: Link libssp_nonshared.a only on musl targets
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
glibc: Adapt do_install_append_aarch64() for usrmerge
Change hardcoded /lib to ${nonarch_base_libdir} to correctly adapt the
code in do_install_append_aarch64() for when usrmerge is enabled in
DISTRO_FEATURES.
Ross Burton [Tue, 20 Feb 2018 00:39:57 +0000 (00:39 +0000)]
libtirpc: stop dropping in NIS headers
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.
Armin Kuster [Sat, 17 Feb 2018 15:44:19 +0000 (07:44 -0800)]
update-rc.d: QA regression.
I noticed many new QA warning with arm64 mulitlib
suspicious values 'initd-functions-dev' in RRECOMMENDS [multilib]
I believe this is a regression via commit
http://cgit.openembedded.org/openembedded-core/commit/meta/classes/update-rc.d.bbclass?id=cdcebd81c872cb7386c658998e27cf24e1d0447c
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 :-(
Bruce Ashfield [Tue, 20 Feb 2018 14:26:37 +0000 (09:26 -0500)]
linux-yocto/4.12: fix qemuarm64 boot failure
The -stable update to 4.12 needs one more commit to fix the boot of
qemuarm64. This will be part of the next 4.12 -stable series, but for
now, we merge the patch directly.
40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 19 Feb 2018 18:08:20 +0000 (13:08 -0500)]
kernel-yocto/4.9: update to v4.9.82
Updating to the korg -stable release of 4.9.82 which comprises the
following commits:
3e598a7089ee Linux 4.9.82 2de1085e8deb ftrace: Remove incorrect setting of glob search field df113487f844 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy 38e3bc59e0dd ovl: fix failure to fsync lower dir a468a3749bb5 acpi, nfit: fix register dimm error handling 623c28ee02b3 ACPI: sbshc: remove raw pointer from printk() message 3169a7c06e91 drm/i915: Avoid PPS HW/SW state mismatch due to rounding 8fe7ceaf8a4e btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker 3c83fe52b5c1 lib/ubsan: add type mismatch handler for new GCC/Clang 3f8130127c0c lib/ubsan.c: s/missaligned/misaligned/ 1bb09d05a41c clocksource/drivers/stm32: Fix kernel panic with multiple timers 944723bf84d3 pktcdvd: Fix pkt_setup_dev() error path 86d408d10efd pinctrl: intel: Initialize GPIO properly when used through irqchip 10ddc77ffb92 EDAC, octeon: Fix an uninitialized variable warning 2d4e295284a9 xtensa: fix futex_atomic_cmpxchg_inatomic 71611b37cca4 alpha: fix formating of stack content 7d22d92ca6c9 alpha: fix reboot on Avanti platform 68d18e90eeec alpha: fix crash if pthread_create races with signal delivery 21f94109d0f1 signal/sh: Ensure si_signo is initialized in do_divide_error 498b8b7453a3 signal/openrisc: Fix do_unaligned_access to send the proper signal 5795b076bd7f Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version 84bf682f5342 Revert "Bluetooth: btusb: fix QCA Rome suspend/resume" 6913d1b190b9 Bluetooth: btsdio: Do not bind to non-removable BCM43341 df9658e80605 HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working 71baf27d8c2b pipe: fix off-by-one error when checking buffer limits a705c24b5d50 pipe: actually allow root to exceed the pipe buffer limits 91cebf98cd94 kernel/relay.c: revert "kernel/relay.c: fix potential memory leak" 33a4459bdef1 kernel/async.c: revert "async: simplify lowest_in_progress()" da3b224658d3 fs/proc/kcore.c: use probe_kernel_read() instead of memcpy() 1666d38f4ed6 media: cxusb, dib0700: ignore XC2028_I2C_FLUSH b2e7c63cad18 media: ts2020: avoid integer overflows on 32 bit machines d1d85ae79d5e media: dvb-frontends: fix i2c access helpers for KASAN b7f9df60f410 watchdog: imx2_wdt: restore previous timeout after suspend+resume eb10c5973eb2 ASoC: skl: Fix kernel warning due to zero NHTL entry 76376783a453 ASoC: rockchip: i2s: fix playback after runtime resume f6741799aa53 KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED ba88289e7acb KVM: nVMX: Fix races when sending nested PI while dest enters/leaves L2 51e22c571fad arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls 68f2013e1ff8 crypto: sha512-mb - initialize pending lengths correctly a96e82079025 crypto: caam - fix endless loop when DECO acquire fails f2d4bed9eabf media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic 437c4ec62efb media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors 30dcb0756b0f media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type 30ac343c4222 media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32 55e3f3e6846c media: v4l2-compat-ioctl32: Copy v4l2_window->global_alpha 8465657a3be4 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs 9a7cd41be3ad media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer eec955463de3 media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32 daff4d009f4f media: v4l2-compat-ioctl32.c: avoid sizeof(type) 81e0acf07015 media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32 02129c9bc235 media: v4l2-compat-ioctl32.c: fix the indentation f294548da645 media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF e78d9fdf5ecc media: v4l2-ioctl.c: don't copy back the result for -ENOTTY daaa81c48402 nsfs: mark dentry with DCACHE_RCUACCESS b93728341fb7 crypto: poly1305 - remove ->setkey() method 45f31106baa3 crypto: mcryptd - pass through absence of ->setkey() c1ebf9f83547 crypto: cryptd - pass through absence of ->setkey() d2b492bda560 crypto: hash - introduce crypto_hash_alg_has_setkey() 016572d31d32 ahci: Add Intel Cannon Lake PCH-H PCI ID 72c0031a914e ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI 3332b6f3276b ahci: Annotate PCI ids for mobile Intel chipsets as such 058d13f85da6 kernfs: fix regression in kernfs_fop_write caused by wrong type b79d8854ee0e NFS: Fix a race between mmap() and O_DIRECT 967f650f8835 NFS: reject request for id_legacy key without auxdata ca2c316f7cb4 NFS: commit direct writes even if they fail partially d1840343f948 NFS: Add a cond_resched() to nfs_commit_release_pages() e1df8c682df6 nfs/pnfs: fix nfs_direct_req ref leak when i/o falls back to the mds 298dc6c6696b ubifs: Massage assert in ubifs_xattr_set() wrt. init_xattrs de14d0c124ca ubi: block: Fix locking for idr_alloc/idr_remove 84f9d8536c8b ubi: fastmap: Erase outdated anchor PEBs during attach 44ebd641be56 mtd: nand: sunxi: Fix ECC strength choice d80cd3e93653 mtd: nand: Fix nand_do_read_oob() return value d25d52ff1011 mtd: nand: brcmnand: Disable prefetch by default cbdabc7027b1 mtd: cfi: convert inline functions to macros 198a7ddaf5d2 media: hdpvr: Fix an error handling path in hdpvr_probe() f320dd20224c media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner 1ff1353a03c6 media: dvb-usb-v2: lmedm04: Improve logic checking of warm start 7e2fb808d3c7 dccp: CVE-2017-8824: use-after-free in DCCP code a384e5437f70 sched/rt: Up the root domain ref count when passing it around via IPIs 1c679981309b sched/rt: Use container_of() to get root domain in rto_push_irq_work_func() 57ddb8eae517 usb: gadget: uvc: Missing files for configfs interface 0b376535ad54 posix-timer: Properly check sigevent->sigev_notify 83946c33b9b9 kaiser: fix compile error without vsyscall 297c7cc4b565 dmaengine: dmatest: fix container_of member in dmatest_callback 7e68916c361a CIFS: zero sensitive data when freeing f59eda16646a cifs: Fix autonegotiate security settings mismatch ee6858f72a39 cifs: Fix missing put_xid in cifs_file_strict_mmap ba4f9c192d3b powerpc/pseries: include linux/types.h in asm/hvcall.h 7f3bd8db9974 Linux 4.9.81 2760f452a718 x86/microcode: Do the family check first 230ca8fb9515 drm: rcar-du: Fix race condition when disabling planes at CRTC stop 758e22acf4fd drm: rcar-du: Use the VBK interrupt for vblank events 1cb145c67260 ASoC: rsnd: avoid duplicate free_irq() 24978c21f7ed ASoC: rsnd: don't call free_irq() on Parent SSI a7de0e9718c3 ASoC: simple-card: Fix misleading error message 7c17a1e5852a crypto: tcrypt - fix S/G table for test_aead_speed() fc00dde96099 KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL e5a83419c957 KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL 755502f810c6 KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES 7013129a4034 KVM/x86: Add IBPB support 6236b782eba3 KVM: VMX: make MSR bitmaps per-VCPU ff546f9d83d3 KVM: VMX: introduce alloc_loaded_vmcs 46e24dfc2dfe KVM: nVMX: Eliminate vmcs02 pool b7649e177670 KVM: nVMX: mark vmcs12 pages dirty on L2 exit 1edccf20b9d8 KVM: nVMX: vmx_complete_nested_posted_interrupt() can't fail 19b1d4bdfe5c KVM: nVMX: kmap() can't fail 34900390e966 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL 4b234a253e52 x86/pti: Mark constant arrays as __initconst 961cb14c615d x86/spectre: Simplify spectre_v2 command line parsing fe4333893936 x86/retpoline: Avoid retpolines for built-in __init functions eb99bd6341cb x86/kvm: Update spectre-v1 mitigation 7552556f65af x86/paravirt: Remove 'noreplace-paravirt' cmdline option cda6b6074cc6 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel f67e05d1506a x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable" 359fde6bd0ec x86/spectre: Report get_user mitigation for spectre_v1 0781a50a30d3 nl80211: Sanitize array index in parse_txq_params c26ceec69576 vfs, fdtable: Prevent bounds-check bypass via speculative execution c3193fd49f6f x86/syscall: Sanitize syscall table de-references under speculation 398a39311c0b x86/get_user: Use pointer masking to limit speculation 065eae4be83d x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec ae75f83e79e4 x86/usercopy: Replace open coded stac/clac with __uaccess_{begin, end} e06d7bfb223e x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec 1f03d140e2f5 x86: Introduce barrier_nospec 8c33e2d23a68 x86: Implement array_index_mask_nospec 579ef9ea20d6 array_index_nospec: Sanitize speculative array de-references 899ab2cf9138 Documentation: Document array_index_nospec f03d00ba0b47 x86/asm: Move 'status' from thread_struct to thread_info 572e50917811 x86/entry/64: Push extra regs right away d7f8d17406d6 x86/entry/64: Remove the SYSCALL64 fast path 9eedeb72c412 x86/spectre: Check CONFIG_RETPOLINE in command line parser 77d1424d2fb8 x86/retpoline: Simplify vmexit_fill_RSB() 77b3b3ee2386 x86/cpufeatures: Clean up Spectre v2 related CPUID flags 98911226d51e x86/cpu/bugs: Make retpoline module warning conditional 557cbfa22211 x86/bugs: Drop one "mitigation" from dmesg 18bc71dff630 x86/nospec: Fix header guards names 31fd9eda7f69 x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support 6c5e49150a51 x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes a8799fd14d9f x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown af57d43c908f x86/msr: Add definitions for new speculation control MSRs c26a6bea26b3 x86/cpufeatures: Add AMD feature bits for Speculation Control 40532f65cccc x86/cpufeatures: Add Intel feature bits for Speculation Control d3eba7744075 x86/cpufeatures: Add CPUID_7_EDX CPUID leaf a1745ad92f50 module/retpoline: Warn about missing retpoline in module ec86a1dad0c0 KVM: VMX: Make indirect call speculation safe fea3c9a54012 KVM: x86: Make indirect calls in emulator speculation safe 734e687d1d7b x86/retpoline: Remove the esp/rsp thunk 9692602ab850 KEYS: encrypted: fix buffer overread in valid_master_desc() 0a01ecbd23a9 b43: Add missing MODULE_FIRMWARE() 113d22965c78 media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE dd7b14c3e05e x86/microcode/AMD: Do not load when running on a hypervisor 0a9b2dec6c12 x86/asm: Fix inline asm call constraints for GCC 4.4 b671f40419bb soreuseport: fix mem leak in reuseport_add_sock() 5771415d24bf ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only fa46d1437fab cls_u32: add missing RCU annotation. b980f718f525 tcp_bbr: fix pacing_gain to always be unity when using lt_bw 73adb3b74efd vhost_net: stop device during reset owner ee46a8614204 tcp: release sk_frag.page in tcp_disconnect 5db5cabbf09d r8169: fix RTL8168EP take too long to complete driver initialization. 9f2f873d5a1c qmi_wwan: Add support for Quectel EP06 97fe899816a6 qlcnic: fix deadlock bug ce43c07fcef8 net: igmp: add a missing rcu locking section 7d3d60ef2256 ip6mr: fix stale iterator ffcf167d348e serial: core: mark port as initialized after successful IRQ change 400d3c8b0c7f kaiser: allocate pgd with order 0 when pti=off ae1fc8de51b1 x86/pti: Make unpoison of pgd for trusted boot work for real 0a61cd6caed7 kaiser: fix intel_bts perf crashes 374c84de94af ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 0ee4f5e7bbff pinctrl: pxa: pxa2xx: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 781a2d683110 auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 9fed3978c39b powerpc/64s: Allow control of RFI flush via debugfs 1f0c936f431d powerpc/64s: Wire up cpu_show_meltdown() 6aec12e1869e powerpc/powernv: Check device-tree for RFI flush settings 7db0fff62f52 powerpc/pseries: Query hypervisor for RFI flush settings 0ef9f8289edf powerpc/64s: Support disabling RFI flush with no_rfi_flush and nopti c3b82ebee6e0 powerpc/64s: Add support for RFI flush of L1-D cache 48cc95d4e4d6 powerpc/64s: Convert slb_miss_common to use RFI_TO_USER/KERNEL 00e40620a51e powerpc/64: Convert the syscall exit path to use RFI_TO_USER/KERNEL 9d914324d966 powerpc/64: Convert fast_exception_return to use RFI_TO_USER/KERNEL 8fd3f98d0f4d powerpc/64: Add macros for annotating the destination of rfid/hrfid be6641a7e6f7 powerpc/pseries: Add H_GET_CPU_CHARACTERISTICS flags & wrapper 331b057d4f3c Linux 4.9.80 1333c3e996eb spi: imx: do not access registers while clocks disabled 5846849a1ac7 serial: imx: Only wakeup via RTSDEN bit if the system has RTS/CTS 9df847674ede usbip: vhci_hcd: clear just the USB_PORT_STAT_POWER bit 57d4bb1beecb usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc() 92e64a1079fa usb: uas: unconditionally bring back host after reset f24d171a8100 usb: f_fs: Prevent gadget unbind if it is already unbound 800de0fab17a USB: serial: simple: add Motorola Tetra driver f80079536bb6 usbip: list: don't list devices attached to vhci_hcd 4c6fcc3425e1 usbip: prevent bind loops on devices attached to vhci_hcd ec719c52af16 USB: serial: io_edgeport: fix possible sleep-in-atomic aa6a93fd0c38 CDC-ACM: apply quirk for card reader c3b1f3137751 USB: cdc-acm: Do not log urb submission errors on disconnect 068cc4ad2b23 USB: serial: pl2303: new device id for Chilitag 2ef0d2ad5ce8 usb: option: Add support for FS040U modem 55eaecffe3d6 tty: fix data race between tty_init_dev and flush of buf 383e0620b70b staging: lustre: separate a connection destroy from free struct kib_conn f94b238fb856 drm/vc4: Move IRQ enable to PM path ace1911b7620 staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID 0e216b0a0f74 usb: gadget: don't dereference g until after it has been null checked b4bfc8ef594a media: usbtv: add a new usbid c16c193e3abc ARM: dts: NSP: Fix PPI interrupt types 9adb2a0f9a47 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type a248dc6a55b7 scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg fa64914313c1 scsi: aacraid: Prevent crash in case of free interrupt during scsi EH path fde77c712ac0 xfs: Properly retry failed dquot items in case of error during buffer writeback d96024440ee5 xfs: ubsan fixes 9301165c4623 drm/omap: Fix error handling path in 'omap_dmm_probe()' f7170eb80aff drm/bridge: tc358767: fix 1-lane behavior 8ae615fecee5 drm/bridge: tc358767: fix AUXDATAn registers access 1bdfc52c331a drm/bridge: tc358767: fix timing calculations c55908604ecc drm/bridge: tc358767: fix DP0_MISC register set 8d4bfe89aacf drm/bridge: tc358767: filter out too high modes 5f6a0441ca0d drm/bridge: tc358767: do no fail on hi-res displays 7b8623841f2b kmemleak: add scheduling point to kmemleak_scan() d2a67f7afcad SUNRPC: Allow connect to return EHOSTUNREACH c4ecc2f69643 quota: Check for register_shrinker() failure. d47907bcac94 net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit e11616d5e6c3 drm/amdgpu: don't try to move pinned BOs 54a1fdff1b09 xfs: fortify xfs_alloc_buftarg error handling 98ae1ca7534e bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()' d5a746cf4797 hwmon: (pmbus) Use 64bit math for DIRECT format values 3b7742374f3e lockd: fix "list_add double add" caused by legacy signal interface f25e222ccc50 nfsd: check for use of the closed special stateid f35ab8e2eeb8 grace: replace BUG_ON by WARN_ONCE in exit_net hook 2a7d4a723d2e nfsd: Ensure we check stateid validity in the seqid operation checks 5cd3586ca8d4 nfsd: CLOSE SHOULD return the invalid special stateid for NFSv4.x (x>0) c57767b60962 auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM c6a34556f539 xen-netfront: remove warning when unloading module b5bfda0f8e29 xfs: always free inline data before resetting inode fork during ifree 5c0b19bd8cff KVM: VMX: Fix rflags cache during vCPU reset b0fa04e8429e KVM: X86: Fix softlockup when get the current kvmclock 90ef2c30ebd3 reiserfs: remove unneeded i_version bump 8cfb3965ebcd btrfs: fix deadlock when writing out space cache 030d4676a268 mac80211: fix the update of path metric for RANN frame 03899a46c223 openvswitch: fix the incorrect flow action alloc size 827558408206 drm/amdkfd: Fix SDMA oversubsription handling 16980affa1b0 drm/amdkfd: Fix SDMA ring buffer size calculation 8afdbb165a79 drm/amdgpu: Fix SDMA load/unload sequence on HWS disabled mode 409982cbb5eb bcache: check return value of register_shrinker 6436981ba6d1 cpufreq: Add Loongson machine dependencies 876b31fd9815 KVM: x86: ioapic: Preserve read-only values in the redirection table 1d3ab3b2964e ACPI / bus: Leave modalias empty for devices which are not present a9f2c1693667 KVM: x86: ioapic: Clear Remote IRR when entry is switched to edge-triggered 2f9e94ef498d KVM: x86: ioapic: Fix level-triggered EOI and IOAPIC reconfigure race ec73d16bc7ce KVM: X86: Fix operand/address-size during instruction decoding 114de9bfefa5 KVM: x86: Don't re-execute instruction when not passing CR2 value 60d9b22b1ffc KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure d8f75b4c7f25 cpupower : Fix cpupower working when cpu0 is offline 82e57cdce058 cpupowerutils: bench - Fix cpu online check 036c227cdd1c drm/vc4: Account for interrupts in flight 30942f91b5a5 igb: Free IRQs when device is hotplugged 3a98d0753928 mtd: nand: denali_pci: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE e29997d55268 gpio: ath79: add missing MODULE_DESCRIPTION/LICENSE cb1a0b51d103 gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 517931760e69 power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE ddba3c67a5b8 HID: wacom: EKR: ensure devres groups at higher indexes are released b7edc45f3ada crypto: af_alg - whitelist mask and type 1ce8e52f6f36 crypto: sha3-generic - fixes for alignment and big endian operation 95259cb008ba crypto: aesni - handle zero length dst buffer f1803207b5ea crypto: ecdh - fix typo in KPP dependency of CRYPTO_ECDH cc1fa4a7b653 gpio: Fix kernel stack leak to userspace 241c04f75e90 gpio: stmpe: i2c transfer are forbiden in atomic context efe3f94f83d2 tools/gpio: Fix build error with musl libc 2a7076e71575 RDMA/mlx5: set UMR wqe fence according to HCA cap 20e6f5bdf542 net/mlx5: Define interface bits for fencing UMR wqe 56bc086358ca loop: fix concurrent lo_open/lo_release 6c6f924f9c62 Linux 4.9.79 f12d0602633d nfsd: auth: Fix gid sorting when rootsquash enabled f531fbb06a56 bpf: reject stores into ctx via st and xadd 265d7657c9ba bpf: fix 32-bit divide by zero 4606077802f2 bpf: fix divides by zero 5cb917aa1f1e bpf: avoid false sharing of map refcount with max_entries fcabc6d00885 bpf: arsh is not supported in 32 bit alu thus reject it a3d6dd6a66c1 bpf: introduce BPF_JIT_ALWAYS_ON config 5226bb3b9551 bpf: fix bpf_tail_call() x64 JIT c964ad34f6d9 x86: bpf_jit: small optimization in emit_bpf_tail_call() c98ff7299b40 hrtimer: Reset hrtimer cpu base proper on CPU hotplug 9f3a6cadf494 x86/microcode/intel: Extend BDW late-loading further with LLC size check dc1932c69835 perf/x86/amd/power: Do not load AMD power module on !AMD platforms eecfa2eeefe3 flow_dissector: properly cap thoff field 18717ee28ef5 tun: fix a memory leak for tfile->tx_array 1105145cb3d5 mlxsw: spectrum_router: Don't log an error on missing neighbor 3110e2134c97 gso: validate gso_type in GSO handlers cc99c6d59adf ip6_gre: init dev->mtu and dev->hard_header_len correctly 1711ba166e5f be2net: restore properly promisc mode after queues reconfiguration 00f9e47c6f9d ppp: unlock all_ppp_mutex before registering device 260eb694b5a4 ipv4: Make neigh lookup keys for loopback/point-to-point devices be INADDR_ANY 014510b11781 net: Allow neigh contructor functions ability to modify the primary_key 66c16a22e3b1 vmxnet3: repair memory leak 0e52703d0746 tipc: fix a memory leak in tipc_nl_node_get_link() 2f056e7def42 sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf 8e3534ea657e sctp: do not allow the v4 socket to bind a v4mapped v6 address 0f51492d1bd5 r8169: fix memory corruption on retrieval of hardware statistics. 1bd21b158e07 pppoe: take ->needed_headroom of lower device into account on xmit cf67be7a1a21 net: tcp: close sock if net namespace is exiting a44d91150f33 net: qdisc_pkt_len_init() should be more robust 0ae16964f215 net: igmp: fix source address check for IGMPv3 reports 283498b4ca35 lan78xx: Fix failure in USB Full Speed c2ceff11b46e ipv6: ip6_make_skb() needs to clear cork.base.dst fb50d8c9169e ipv6: fix udpv6 sendmsg crash caused by too small MTU 8b0d3e81cdec ipv6: Fix getsockopt() for sockets with default IPV6_AUTOFLOWLABEL 5bb5ae9718f6 dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state 5f6c581bcb3c eventpoll.h: add missing epoll event masks 9a0be5afbfbb vsyscall: Fix permissions for emulate mode with KAISER/PTI 1be7d46e775c um: link vmlinux with -no-pie d680db722516 orangefs: fix deadlock; do not write i_size in read_iter 42f0aba58e00 Input: trackpoint - force 3 buttons if 0 button is reported 19a7db1e2ef3 mm: fix 100% CPU kswapd busyloop on unreclaimable nodes e62b0c661f65 Revert "module: Add retpoline tag to VERMAGIC" c41bb027ed63 scsi: libiscsi: fix shifting of DID_REQUEUE host byte 7b50205cf8b9 fs/fcntl: f_setown, avoid undefined behaviour 0ccfbd4d6f02 reiserfs: don't preallocate blocks for extended attributes b7d25282b75e reiserfs: fix race in prealloc discard 898eeca02a55 netfilter: xt_osf: Add missing permission checks 2c3184ea8032 netfilter: nfnetlink_cthelper: Add missing permission checks 2915f16bdce2 ACPICA: Namespace: fix operand cache leak 3a53accd9c39 ACPI / scan: Prefer devices without _HID/_CID for _ADR matching 542cde0e3cc2 ipc: msg, make msgrcv work with LONG_MIN 685cce58f1c2 mm, page_alloc: fix potential false positive in __zone_watermark_ok 714c19ef57a5 cma: fix calculation of aligned offset bc0e2174b092 hwpoison, memcg: forcibly uncharge LRU pages c57664bd1299 mm/mmap.c: do not blow on PROT_NONE MAP_FIXED holes in the stack 1d8c402e0c46 drivers: base: cacheinfo: fix boot error message when acpi is enabled f5aaa5a2836d drivers: base: cacheinfo: fix x86 with CONFIG_OF enabled 318e17d09cbc Prevent timer value 0 for MWAITX 45ee9d5e97a4 KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2 41e4aa17bc02 can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once 40bf2c0c1c9e can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once 69e78e7214e3 usbip: Fix potential format overflow in userspace tools 853c39f239eb usbip: Fix implicit fallthrough warning ce601a07bc50 usbip: prevent vhci_hcd driver from leaking a socket pointer address 5c26ee198fca orangefs: initialize op on loop restart in orangefs_devreq_read fb39345e7314 orangefs: use list_for_each_entry_safe in purge_waiting_ops c36c940cd4aa x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>