Commit Graph

31260 Commits

Author SHA1 Message Date
Serhii Popovych 4aa21211a3 automake: Adjust shebang lines to remove interpreter path hardcode
If build host perl (and other tools) is old and we use some kind
of toolchain to provide recent perl/python/etc to the OE build
we still locked to use build host perl due to hardcoded shebang
lines in automake scripts.

Behaviour was observed with Enterprise Linux 6 and devtoolset
toolchain from SCL (Software Collections) used to provide recent
version of perl (not provided with default buildtools-tarball).

Pass /usr/bin/env perl in ac_cv_path_PERL configuration variables
for class-native and class-nativesdk. Use patch to automake to replace
-w option in shebang line with modern way to enable warnings on perl
(i.e. "use warnings").

Also add nativesdk-autoconf to RDEPENDS to bring runtime dependencies
inline with other targets.

Note that ac_cv_path_PERL must be valid perl interpreter path
since configure will check perl version and Flock implementation.
It is not possible currently to use nativeperl from native
sysroot because automake does not DEPENDS on perl-native (and
doing so fails due to circular dependencies). Only possible
solution is to overwrite shebangs with nativeperl somewhere at
do_install() and update RDEPENDS for class-native. Or add perl
symlinks to nativeperl in sysroot.

For now it seems good to use perl found by /usr/bin/env from
automake-native.

Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 3b7111b30dbd9a4cdd141b594164da18c15ae970)

Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 23:28:20 +01:00
Serhii Popovych e44946bff1 autoconf: Adjust shebang lines to remove interpreter path hardcode
If build host perl (and other tools) is old and we use some kind
of toolchain to provide recent perl/python/etc to the OE build
we still locked to use build host perl due to hardcoded shebang
lines in autoconf scripts.

Behaviour was observed with Enterprise Linux 6 and devtoolset
toolchain from SCL (Software Collections) used to provide recent
version of perl (not provided with default buildtools-tarball).

Pass /usr/bin/env perl in ac_cv_path_PERL configuration variables
for class-native and class-nativesdk. Use patch to autoconf to replace
-w option in shebang line with modern way to enable warnings on perl
(i.e. "use warnings").

Also add nativesdk-m4 and nativesdk-gnu-config to RDEPENDS to bring
runtime dependencies inline with other targets.

Note that ac_cv_path_PERL must be valid perl interpreter path
since configure will check perl version and Flock implementation.
It is not possible currently to use nativeperl from native
sysroot because autoconf does not DEPENDS on perl-native (and
doing so fails due to circular dependencies). Only possible
solution is to overwrite shebangs with nativeperl somewhere at
do_install() and update RDEPENDS for class-native. Or add perl
symlinks to nativeperl in sysroot.

For now it seems good to use perl found by /usr/bin/env from
autoconf-native.

Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 443d2d31732fa5700aa00ff020a0d79ab245c114)

Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 23:28:20 +01:00
Khem Raj 5a85d39c9d binutils: Detect 64bit mips target for gold
(From OE-Core rev: b007eb12a80d81c2aa498941961df3f2899ece7e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 23:28:19 +01:00
Juro Bystricky 7d369d794a ncurses_6.0: Improve reproducibility
Build static libraries without the binutils "ar" -U option.
This option deliberately breaks deterministic mode.
The option seems to be a relic from 2015, intended as a workaround
for some unspecified build problems.

[YOCTO#11247]

(From OE-Core rev: 46c757d0ca7ff294a7e55c130698fd256b69b62e)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 23:28:19 +01:00
Bob Cochran 1771bfd1a7 python: remove stale link to "Python for Embedded Systems Site"
Reference url is a stale, non existent site that returns a 404, so get rid of it

Change impacts both the manifest files and the scripts that generate the manifests

Run the following from within recipes-devtools/python

../../../scripts/contrib/python/generate-manifest-2.7.py > python-2.7-manifest.inc
../../../scripts/contrib/python/generate-manifest-2.7.py -n > python-native-2.7-manifest.inc

../../../scripts/contrib/python/generate-manifest-3.5.py > python-3.5-manifest.inc
../../../scripts/contrib/python/generate-manifest-3.5.py -n > python-native-3.5-manifest.inc

(From OE-Core rev: ae13f580b759211c1a6b59a276f75d589f1db11c)

Signed-off-by: Bob Cochran <openembedded@mindchasers.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 23:28:19 +01:00
Richard Purdie 2bdfce59bd dpkg: Add PACKAGECONFIG for liblzma and enable it
liblzma is part of xz and we already build it but configure it out. This makes
no sense. Enabling it means we gain multithreaded compression and it speeds
dpkg-deb up massively. It also removes the fork overhead of separate xz processes.

Turning the existing config into a PACKAGECONFIG and turning it on by default
therefore makes best use of what we have available.

The manual RDEPENDS are no longer needed since it uses liblzma which is picked
up by the shlibs code magically.

(From OE-Core rev: 97b2a20b55acf76ebaacff0054e0f3c2b4236847)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 23:28:19 +01:00
Ming Liu c09a0631b5 kernel.bbclass: introduce INITRAMFS_IMAGE_NAME
It defaults to ${INITRAMFS_IMAGE}-${MACHINE} if INITRAMFS_IMAGE is not
empty.

This allows the end users to be able to override the initramfs image
name with a customized value.

(From OE-Core rev: e788fb2b894852f71b1c545abde71b45b9f230dc)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:58 +01:00
Daniel Díaz 63c605b841 base-files: resize only serial tty's in profile
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: 474ef7c95722aa68ee5dfbae2920d7c3d436d717)

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>
2017-04-01 08:14:58 +01:00
Peter Kjellerstedt 0324617782 lsb: Create ${base_prefix}/lib64 correctly when needed
There were two remaining cases that could end up creating /lib64
rather than ${base_prefix}/lib64. The difference matters when building
with usrmerge.

(From OE-Core rev: b791f13286c8c58ce1f3fa3745ffdd5bd5ff1d02)

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>
2017-04-01 08:14:58 +01:00
Peter Kjellerstedt 3041659c43 lsb: Avoid using double slashes in paths
Use ${D}${var} rather than ${D}/${var} for variables where ${var}
contains an absolute path.

(From OE-Core rev: 2799eda9f373b430ad64c8b61f8047abce7f1e22)

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>
2017-04-01 08:14:58 +01:00
Leonardo Sandoval 63a3081006 selftest/pkgdata: replace the glibc recipe allowing execution on non-poky distros
Replace the glibc recipe for zlib on unit tests, otherwise tests are restricted
to glibc distros (poky).

[YOCTO #10890]

(From OE-Core rev: b77cf437e89a2ec21de6a69d5e34736925f1eeba)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:58 +01:00
Enrico Jorns 64fd22e42e systemd: make vconsole a PACKAGECONFIG option
Allowing to remove the systemd-vconsole-setup package without specifying
the --disable-vconsole configure option for systemd will make the system
boot with the failure prompt

| systemd-udevd[142]: failed to execute '/lib/systemd/systemd-vconsole-setup' '/lib/systemd/systemd-vconsole-setup': No such file or directory
| systemd-udevd[96]: Process '/lib/systemd/systemd-vconsole-setup' failed with exit code 2.

as the 90-vconsole.rules will still be installed with having a
RUN+="/lib/systemd/systemd-vconsole-setup" in it that attempts to
execute a non-existing binary.

(From OE-Core rev: 396e9dcf308a2a6660a84eb36c5ff29f8a0d08de)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:58 +01:00
Ming Liu 35565057fa kernel.bbclass: fix a typo
In a addtask statement, do_strip should be strip.

(From OE-Core rev: 8413e26164644230615f4503ca9488b5b4021aeb)

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:58 +01:00
Ed Bartosh 67ec097bc3 wic: remove prepare_empty_partition_squashfs
There is not much sense in creation of empty squashfs
partition. It's also not possible to create empty squashfs
partition of specified size.

Even more, prepare_empty_partition_squashfs method is
absolutely broken. It raises exception when called and
even its signature differs from the rest of of similar
methods. It means that nobody uses it and it's safe
to remove it.

Removed prepare_empty_partition_squashfs method and
testing of empty squashfs partition.

(From OE-Core rev: 9152960f250cb4df1e559d747fb09005675a0d75)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:58 +01:00
Ed Bartosh 5efb8e039b oe-selftest: test creation of msdos partition
Added msdos partition to the .wks file in test_fs_types
wic test case.

[YOCTO #11137]

(From OE-Core rev: 044dd146d39542d0e6b598ee1dcadc49e0db3de9)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:58 +01:00
Ed Bartosh 09548406e1 oe-selftest: fix incorrect fstype
Fixed typo in wks content: squash->squashfs

(From OE-Core rev: cf06e6763d06e3e631bed85e2cb087f713808e6d)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Ed Bartosh a24ffc7088 oe-selftest: add test_image_bootpart_globbed test for wic
Test image-bootpart wic plugin with globbed value of
IMAGE_BOOT_FILES variable to increase test coverage.

[YOCTO #10618]

(From OE-Core rev: 4da2526800de1d40b51db96b0d5ab44dbaff68ff)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Ed Bartosh a7f22bd46f oe-selftest: add kickstart_parser test case
Added test_kickstart_parser test case to test wks parser
options not yet covered by tests.

[YOCTO #10618]

(From OE-Core rev: 36779a95f2e1e2c0d94ba81d30c8b1fc9dd161e4)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Ed Bartosh fae19c345d oe-selftest: add wic test case test_fs_types
Added wic test case to test all possible filesystem
types for empty and not empty partitions.

[YOCTO #10618]

(From OE-Core rev: 95ec9e6b987706fac9bd410681f0950f957989bb)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Ed Bartosh 0de9b2ade8 wic-tools: add btrfs-tools squashfs-tools to DEPENDS
Added btrfs-tools-native and squashfs-tools-native to DEPENDS as
wic uses these tools to support btrfs and squashfs filesystems.

(From OE-Core rev: d6fea657671637af30fe9bf9a2264746b5bd6deb)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Joe Slater fcd48092d7 volatile-binds: correct some errors reported by systemd
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: 4a44a7658cebafab336f061f270b6ff44150a6d6)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Mariano Lopez 739130370f oeqa/runtime/cases: Migrate underscore cases
There were two missing cases to be migrated to the new framework: _qemutiny and
_ptest.

qemutiny was straightforward.

ptest on the other hand wasn't working even in previous releases; it has been
migrated from smart to dnf, and how ptest packages are gathered to be
installed, adapted to use unicode, and removed a lot of code that wasn't needed
anymore.

(From OE-Core rev: ee7c19546b686e852d01df25143504d9798d10d6)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Alexander Kanavin 34a7654689 openssl: add a "openssl10" PROVIDES
In 2.4 development cycle openssl 1.1 will replace openssl 1.0 as the
default openssl version. Openssl 1.0 will stay but will be renamed
to openssl10, and eventually it will be removed (hopefully much
sooner than the official end of support date of Dec 2019, as we do not
want an unsupported openssl version in supported Yocto releases).

There are several recipes that are not API compatible with 1.1; some
of them will eventually be fixed, but others will never be (such as Qt4).
To avoid breaking such recipes when openssl 1.1 is added to oe-core,
let's provide "openssl10" already now and change the recipes to depend
on that where necessary; Qt4 is a particularly pressing issue as it is
causing failures on the autobuilder with my work in progress
openssl 1.1 branch, and so I'm not able to see what else would fail
later in the build process.

(From OE-Core rev: cffc3a88608bd295eb1220fadae56eb4676414df)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Serhii Popovych 7cce71cf54 perl-native: Bring build dependencies inline with target perl package
Make sure we have all build time dependencies of perl-native
satisfied before we start building it.

Behaviour was observed with RHEL6 build hosts where perl-native
build fails at linging stage when attempting to link to the build
hosts old Berkley DB because virtual/db-native is missing in
native sysroot.

Add dependencies to the native packages taken from perl recipe.

Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: c0e0b3774313f6acb00374c87a4f99201daa2270)

Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 08:14:57 +01:00
Serhii Popovych 5156cdc36b distutils3.bbclass: Fix path to python for scripts
This change is similar to the recently introduced
change to the distutils.bbclass fixing shebang
line in python scripts for nativesdk class builds.

v2: Rebased on top of new head.

Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 49772e1a1f291d1cacce27b381009dbb441c483e)

Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:30 +01:00
Serhii Popovych 253ce5d6c0 distutils.bbclass: Fix path to python for scripts
Commit 11229de (distutils: Replacing path to native python by path
to python in the image to support python packages with
console-script setup) replaces path to python-native with path
to the python interpreter in the target image.

However on nativesdk builds ${bindir} expanded to the
${SDKPATHNATIVE}${prefix_nativesdk} making shebang line
pointing to the absolute path to env(1) in SDKPATHNATIVE
which may not be present if coreutils isn't part of nativesdk.

On the other hand commit cf63d90 (bitbake.conf: Define USRBINPATH
globally instead of individually) introduces USRBINPATH variable
which has correct value regarding build class and intended for
this use case.

v2: Rebased on top of new head.

Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 2a83c22a510e10b169015ce936eb51a6fc959ec1)

Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Max Krummenacher 43832aa6c1 openssl: Fix regression when building for thumb2
Commit 'c8da8ce openssl: Fix build with clang' introduced a regression.
do_compile fails when building with gcc/thumb2.

Note that I did not test if it still builds with clang.

Prevents the following when building with thumb2:

| ghash-armv4.S: Assembler messages:
| ghash-armv4.S:88: Error: thumb conditional instruction should be in IT block -- `ldrplb r12,[r2,r3]'
| ghash-armv4.S:98: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:98: Error: thumb conditional instruction should be in IT block -- `ldrplb r8,[r0,r3]'
| ghash-armv4.S:105: Error: thumb conditional instruction should be in IT block -- `eorpl r12,r12,r8'
| ghash-armv4.S:107: Error: thumb conditional instruction should be in IT block -- `andpl r14,r12,#0xf0'
| ghash-armv4.S:108: Error: thumb conditional instruction should be in IT block -- `andpl r12,r12,#0x0f'
| ghash-armv4.S:144: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:144: Error: thumb conditional instruction should be in IT block -- `ldrneb r12,[r2,#15]'
| ghash-armv4.S:231: conditional infixes are deprecated in unified syntax
| ghash-armv4.S:231: Error: thumb conditional instruction should be in IT block -- `ldrplb r12,[r0,r3]'
| ghash-armv4.S:248: Error: thumb conditional instruction should be in IT block -- `andpl r14,r12,#0xf0'
| ghash-armv4.S:249: Error: thumb conditional instruction should be in IT block -- `andpl r12,r12,#0x0f'

(From OE-Core rev: 65cfb24033278fd4fb27013d3272394197649ca2)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Ross Burton 22d9e285fe nasm: remove COMPATIBLE_HOST
nasm can build on every architecture, it just can't generate anything but X86
code.  As we can't know what the user intends to do with nasm, remove the
COMPATIBLE_HOST line.

(From OE-Core rev: 41d6e5bb295e952de6e1a3e36b313caa58e935bf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Patrick Ohly 271b06d8b9 net-tools: enable native and nativesdk variant
net-tools-native is needed by swtpm-wrappers (in meta-security)
because swtpm_setup.sh calls netstat, which cannot be assumed to be
present in all Linux installations (for example, it is not in OpenSUSE
minimal base).

(From OE-Core rev: 508163bef169cf0d9aa97e73c02d1ecc68480e91)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Ross Burton 2a934a3df7 base.bbclass: ensure HOSTTOOLS links point to executables
Use the new executable argument to bb.utils.which() to ensure that the symlinks
point to executable files and not for example directories with the right name
which happened to be on $PATH.

[ YOCTO #11256 ]

(From OE-Core rev: 7f40c934c3aeb1d34f95f30b281e25a17c428fce)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 555c48fb01 sanity.conf: Increase minimum version requirement to 1.33.3
This pulls in changes to bb.utils.which() for HOSTTOOLS.

(From OE-Core rev: 398fd35bfc2b4795067e25659841adaeea211809)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 707e74ffbc linux-libc-headers: Remove reference to cross-linkage
This is long dead (thankfully), remove stale reference/comment.

(From OE-Core rev: 2340fcb1af3c9ca350dba89d48a44f414277d1a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 978bce0d49 linux-libc-headers: Drop 4.4
We've been using 4.10 for a while now, I think 4.4 was accidentally left
behind so clean it up.

(From OE-Core rev: b114d2f2f53e2c1b327f140fb5d29f8bf1641ac9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 6897b33abe glibc-package: Allow 32 and 64 bit headers to exist on arm
With this change (combined with the previous linux-libc-header fix), a
combined sysroot for 32 and 64 bit arm works meaning our SDK works
correctly for that multilib setup.

(From OE-Core rev: 4690cd8e34fc23de10400cc1c178b2c73c7690c7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 69ac4e284d linux-libc-headers: Allow arm kernel headers to coexist on 32/64 bit
Its rather sad we need to do this but in order to make combined 32 and 64 bit
SDKs work, we need a common set of headers and this is the delta that
allows things to work. It only applies on arm.

(From OE-Core rev: 592ae8e521a3926e8e5f87e2364e1ba8d92b8c2d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 8b41b5ddfe multilib_header: Update wrapper to handle arm 32/64 bit
Having arm 32/64 bit headers coexisting turns out to be tricky. Unfortunately
our wrapper works using wordsize.h and this differs on arm so we can't use it.

Therefore replicate the logic here for arm. I did look into writing our
own wordsize.h but we also need to remap kernel headers on arm and
since wordsize.h comes from libc, that doesn't work for kernel headers.

(From OE-Core rev: 141dc7136c9c62da1d30132df4b3244fe6d8898d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 408e0b46ae bitbake.conf: Drop MULTIMACH_HOST_SYS
There are no users of this left after recipe specfic sysroots was implemented,
drop the variable as it no longer makes sense or is useful.

(From OE-Core rev: a2fbf85f68b685c32049fb48aed0248369911c49)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 33887b5c07 ccache: Use MULTIMACH_TARGET_SYS not HOST_SYS
I suspect this was a typo and that TARGET_SYS makes more sense here. Its
also the only remaining user of MULTIMACH_HOST_SYS in OE-Core. Change it.

(From OE-Core rev: fd51900f203ae997b0f606f94ab87c12e37696c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 236a291abc sanity: Drop obsolete TMPDIR ABI conversions
When we get to version 12 we have a hard break as we can't convert to newer
versions. There is no point in running the old conversions on an old tmpdir
only to hit that block. Remove all the old conversions to avoid that and
make things clearer.

(From OE-Core rev: 163b27bdfe323b648929240375aaf251e8d5edf4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Richard Purdie 8babb56c92 bitbake.conf: Add DEPLOY_DIR to BB_HASHBASE_WHITELIST
Users should be able to locally choose DEPLOY_DIR without impacting
the reuse of sstate, this change allows that.

[YOCTO #11110]

(From OE-Core rev: 460f6ca573667dfcbd66f5efcaebf686f1442b36)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Patrick Ohly caf1c90871 populate_sdk_ext.bbclass: enhance compatibility with rm_work.bbclass
"bitbake -c populate_dsk_ext" must not trigger do_rm_work, because it
is impossible to declare that the additional tasks activated by "-c
populate_dsk_ext" must run before do_rm_work. When do_populate_dsk_ext
and do_rm_work are both active, the resulting race condition breaks
do_populate_dsk_ext.

The existing bitbake dependencies can't be used for that, because
"addtask populate_dsk_ext before do_rm_work" would then always execute
populate_dsk_ext also in normal builds.

do_populate_dsk_ext triggers do_rm_work indirectly through the
dependency on do_build of the SDK_TARGETs. Using the new
do_build_without_rm_work instead (when available, with do_build as
before if not) avoids the problem.

However, one has to be careful to not trigger do_rm_work in the same
build in some other way.  "bitbake core-image-sato:do_populate_sdk_ext
core-image-sato:do_build" still fails, for example. Doing one after
the other works.

Fixes: [YOCTO 11042]

(From OE-Core rev: 00b1911c65fa1b21c3dedec40170998573b62178)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Patrick Ohly d83e16a99c rm_work.bbclass: introduce do_build_without_rm_work
Some classes, for example populate_sdk_ext.bbclass, must be able to
trigger a full build of a recipe without also triggering
do_rm_work. They cannot depend on do_build anymore, because that would
trigger do_rm_work.

Instead, do_build_without_rm_work can be used. It has the exact same
dependencies as do_build, minus do_rm_work and do_rm_work_all.

This may also be useful in a test build of a recipe where one wants
to preserve the work directory without having to modify configuration
settings:
   bitbake foobar:do_build_without_rm_work

(From OE-Core rev: 04a7b8d6d2e86cc4dd1362c775f5e3ac1eb1d19d)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Patrick Ohly 8e7f76bd8a ovmf: avoid linking with gold
Linking with gold fails due to an internal error in gold. The ovmf
linker is gcc, which has a -fuse-ld=bfd option to choose the linker
which (for ovmf) is known to work.

Like the choice of the compilers, this is done in ovmf-native. To keep
that recipe independent of DISTRO_FEATURES, choosing bfd is done
unconditionally.

(From OE-Core rev: 7ee548b9f6f2893caf6b5ade8c892f2968d4ec47)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-31 10:10:29 +01:00
Elizabeth 'pidge' Flanagan d828ccb05e bitbake.conf: Add aws to HOSTTOOLS_NONFATAL
This adds aws to HOSTTOOLS_NONFATAL in order to get the s3 fetcher
working again.

(From OE-Core rev: 6d6d0737a29bbf3dcd231bfefe13784ed16dd55a)

Signed-off-by: Elizabeth 'pidge' Flanagan <pidge@toganlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-30 10:02:40 +01:00
Serhii Popovych 2935151498 dnf: Use lnr to create relative symlinks
Make use of lnr while creating relative symlinks to enable
builds on host with old ln that does not support -r option.

Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: dd162286921ccac4981e091de1df4c36d5cfbf5b)

Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-30 10:02:39 +01:00
Christopher Larson 6b0abc9b7c systemd-boot: write startup.nsh
This aligns with the behavior of grub-efi and gummiboot, and is needed to fix
auto-boot of intel-corei7-64 for non-GPLv3 builds.

(From OE-Core rev: c187326afcf1e9d781c1bd0923e1362a6f50f613)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-29 16:37:28 +01:00
Bruce Ashfield 1632f6623c linux-yocto: drop 4.8 recipes
We have 4.1 (LTSI), 4.4 (LTS), 4.9 (LTS/LTSI) and 4.10 available in
master. 4.8 is no longer required, so we drop the recipe to keep
the version selection under control.

(From OE-Core rev: 466e6e45ca04a07ebe1b1f52de747f077b362d54)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-29 16:37:27 +01:00
Bruce Ashfield fa86ca6e6f linux-yocto/4.9: integrate 4.9-rt12
Paul Gortmaker has made the 4.9-rt12 available to linux-yocto, so
we integrate it here and update the SRCREVs.

(From OE-Core rev: 919a789adbb06d8220e7f9025ebe983832132bf3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-29 16:37:27 +01:00
Bruce Ashfield b3d4b70220 linux-yocto/4.9: update to v4.9.17
Integrating the korg -stable release with the following shortlogs:

   c3825da143fc Linux 4.9.17
   ecdc5b12d7a0 crypto: powerpc - Fix initialisation of crc32c context
   c40609652267 locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y
   1522181f4bc1 futex: Add missing error handling to FUTEX_REQUEUE_PI
   6244ffc5a122 futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
   9f9115b67aa5 x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
   24ba2842a49d x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
   5ec98e6ffdce x86/tsc: Fix ART for TSC_KNOWN_FREQ
   095635be809a irqchip/gicv3-its: Add workaround for QDF2400 ITS erratum 0065
   61e79860b4bc arm64: KVM: VHE: Clear HCR_TGE when invalidating guest TLBs
   8ca7ef0d9af9 drm/vc4: Fix ->clock_select setting for the VEC encoder
   6b3306706733 drm/vc4: Fix race between page flip completion event and clean-up
   f4d40cfd61ea clk: bcm2835: Fix ->fixed_divider of pllh_aux
   7885195b9177 powerpc/mm: Fix build break when CMA=n && SPAPR_TCE_IOMMU=y
   ce7aeffe7596 usb: gadget: udc: atmel: remove memory leak
   4fa1c65cf040 serial: 8250_pci: Detach low-level driver during PCI error recovery
   56c28e7983a8 ACPI / blacklist: Make Dell Latitude 3350 ethernet work
   5c19e9070df8 ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
   bc01eb939899 slub: move synchronize_sched out of slab_mutex on shrink
   bd2de45031b9 uvcvideo: uvc_scan_fallback() for webcams with broken chain
   e627116c0c35 s390/zcrypt: Introduce CEX6 toleration
   61a153d06ef4 block: allow WRITE_SAME commands with the SG_IO ioctl
   0042afe117c6 drm/nouveau/disp/nv50-: specify ctrl/user separately when constructing classes
   5001756c1c70 drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user
   ddc23b5212b9 drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices
   53e18968a9c0 vfio/spapr: Postpone default window creation
   2e60baca235b vfio/spapr: Add a helper to create default DMA window
   080eb13542a8 powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown
   92e44bcd71ae vfio/spapr: Reference mm in tce_container
   5b34666bd2e7 powerpc/iommu: Stop using @current in mm_iommu_xxx
   2ba7ef21820e powerpc/iommu: Pass mm_struct to init/cleanup helpers
   5d8b3e755974 vfio/spapr: Postpone allocation of userspace version of TCE table
   3c0cbb47a8d6 Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)
   3e5a7f5b95f0 ibmveth: calculate gso_segs for large packets
   fb7c521a1460 PCI: Do any VF BAR updates before enabling the BARs
   3d58444dea81 PCI: Ignore BAR updates on virtual functions
   74cce811a4b6 PCI: Update BARs using property bits appropriate for type
   a38012dc69eb PCI: Don't update VF BARs while VF memory space is enabled
   bb479246bb3e PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
   ed09d211d28e PCI: Add comments about ROM BAR updating
   7b65c3a84311 PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
   6a5f3e664ac7 PCI: Separate VF BAR updates from standard BAR updates
   29d928785f5e x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
   456be98b4e79 scsi: ibmvscsis: Synchronize cmds at remove time
   94700877c25f scsi: ibmvscsis: Synchronize cmds at tpg_enable_store time
   189491f81cf6 scsi: ibmvscsis: Rearrange functions for future patches
   4d36f4859fa4 scsi: ibmvscsis: Clean up properly if target_submit_cmd/tmr fails
   29022860df8e scsi: ibmvscsis: Return correct partition name/# to client
   0ad1d7660a57 scsi: ibmvscsis: Issues from Dan Carpenter/Smatch
   61229e62c1aa igb: add i211 to i210 PHY workaround
   15ffc931eeb9 igb: Workaround for igb i210 firmware issue
   4b40611a9b7e xen: do not re-use pirq number cached in pci device msi msg data
   2382c1486c62 dmaengine: iota: ioat_alloc_chan_resources should not perform sleeping allocations.
   0e0f1d6fdb35 bpf: fix mark_reg_unknown_value for spilled regs on map value marking
   1889d6d9b5e7 bpf: fix regression on verifier pruning wrt map lookups
   b7f5aa1ca0be bpf: fix state equivalence
   1411707acb85 bpf: Detect identical PTR_TO_MAP_VALUE_OR_NULL registers
   9e38375a4b17 dccp: fix memory leak during tear-down of unsuccessful connection request
   beaa66cce556 tun: fix premature POLLOUT notification on tun devices
   98933eb36dd2 dccp/tcp: fix routing redirect race
   9bce26f224d8 bridge: drop netfilter fake rtable unconditionally
   683100ed4576 ipv6: avoid write to a possibly cloned skb
   4a8d3bb73a82 ipv6: make ECMP route replacement less greedy
   87c0286a07f9 mpls: Do not decrement alive counter for unregister events
   b61206e25302 mpls: Send route delete notifications when router module is unloaded
   47c8dc47c008 act_connmark: avoid crashing on malformed nlattrs with null parms
   ccb65adc6ca6 uapi: fix linux/packet_diag.h userspace compilation error
   b07eed8f7119 net/tunnel: set inner protocol in network gro hooks
   db6e7796186a vrf: Fix use-after-free in vrf_xmit
   7c0eaeec84d1 dccp: fix use-after-free in dccp_feat_activate_values
   5f79aab41ded net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
   f157cc1d7251 net: fix socket refcounting in skb_complete_tx_timestamp()
   98fa3d2a8e39 net: fix socket refcounting in skb_complete_wifi_ack()
   07753bc6a281 tcp: fix various issues for sockets morphing to listen state
   4547f03d1a62 strparser: destroy workqueue on module exit
   51ae1fbcf173 dccp: Unlock sock before calling sk_free()
   0bcc319d554c ipv6: orphan skbs in reassembly unit
   3d87dce3dfd6 net: net_enable_timestamp() can be called from irq contexts
   62fe0521fb6c net: don't call strlen() on the user buffer in packet_bind_spkt()
   fa7c48fb3ad1 net: bridge: allow IPv6 when multicast flood is disabled
   bbaeb9b73fa8 tcp/dccp: block BH for SYN processing
   8f4db60c7fb5 mlxsw: spectrum_router: Avoid potential packets loss
   02595f472548 geneve: lock RCU on TX path
   0a40da4a74f1 vxlan: lock RCU on TX path
   feaa5bab4335 net: phy: Avoid deadlock during phy_error()
   837786cbbb60 l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
   063893e4ec88 net sched actions: decrement module reference count after table flush.
   36931eb015ee ipv4: mask tos for input route
   a64407fafe09 vxlan: don't allow overwrite of config src addr
   f7081057d12c vti6: return GRE_KEY for vti6
   ee2da79de289 vxlan: correctly validate VXLAN ID against VXLAN_N_VID
   0c6e38e791e9 net/mlx5e: Fix wrong CQE decompression
   a63326646995 net/mlx5e: Do not reduce LRO WQE size when not using build_skb
   9e354abf9ce3 net/mlx5e: Register/unregister vport representors on interface attach/detach
   8a16224b4054 Linux 4.9.16
   c8186699527b IB/mlx5: Verify that Q counters are supported
   8fed8fc18839 ext4: don't BUG when truncating encrypted inodes on the orphan list
   39df5977fd41 rc: raw decoder for keymap protocol is not loaded on register
   21582cd0b64c dm: flush queued bios when process blocks to avoid deadlock
   d29e6215e5ab KVM: arm/arm64: Let vcpu thread modify its own active state
   9d89c20f3b8f KVM: s390: Fix guest migration for huge guests resulting in panic
   ce8ab5f168f6 serial: samsung: Continue to work if DMA request fails
   d0ef6ecee85e USB: serial: io_ti: fix information leak in completion handler
   449b0bb23708 USB: serial: io_ti: fix NULL-deref in interrupt callback
   f06b17020a84 USB: iowarrior: fix NULL-deref in write
   653418adaf10 USB: iowarrior: fix NULL-deref at probe
   6d6c5895f454 USB: serial: omninet: fix reference leaks at open
   0ab90ddba78a USB: serial: safe_serial: fix information leak in completion handler
   24db1c5a1c52 usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
   d86376790752 usb: host: xhci-dbg: HCIVERSION should be a binary number
   03123df08e6b Revert "usb: gadget: uvc: Add missing call for additional setup data"
   5ce2e4ce4a8a usb: gadget: function: f_fs: pass companion descriptor along
   40192c96660f usb: ohci-at91: Do not drop unhandled USB suspend control requests
   accadd8164b7 usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()
   808ee146d733 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
   de90394b0c6b usb: gadget: dummy_hcd: clear usb_gadget region before registration
   ed99f5a09cc6 PCI: Prevent VPD access for QLogic ISP2722
   1ced52ead244 powerpc/xics: Work around limitations of OPAL XICS priority handling
   bc8d2eefe63f powerpc: Emulation support for load/store instructions on LE
   ac4666a7fd1a i2c: add missing of_node_put in i2c_mux_del_adapters
   06996254a605 dw2102: don't do DMA on stack
   56d91e106b13 efi/arm: Fix boot crash with CONFIG_CPUMASK_OFFSTACK=y
   ee6f7ee1e4cd ucount: Remove the atomicity from ucount->count
   8bb208d02acc tracing: Add #undef to fix compile error
   b72ae5ca7a8b cpmac: remove hopeless #warning
   04275d2a8af3 bcm63xx_enet: avoid uninitialized variable warning
   b7e968da04d7 MIPS: ralink: Remove unused rt*_wdt_reset functions
   dd2419e1cec0 MIPS: ralink: Remove unused timer functions
   f34064186f0e MIPS: ralink: Cosmetic change to prom_init().
   7b767f6b515d mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
   976e40d7f6fe MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
   dd2ef28eb76e MIPS: ip22: Fix ip28 build for modern gcc
   aff853abd298 MIPS: Update ip27_defconfig for SCSI_DH change
   23096c56787e MIPS: ip27: Disable qlge driver in defconfig
   ad8387a60228 MIPS: VDSO: avoid duplicate CAC_BASE definition
   5841e3d37db9 MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
   2c1820ea8dcc crypto: improve gcc optimization flags for serpent and wp512
   ce4d67cb3e6e USB: serial: digi_acceleport: fix OOB-event processing
   e1533c46151c USB: serial: digi_acceleport: fix OOB data sanity check
   d962bf8dd954 Linux 4.9.15
   182ff0ebbdab drivers: hv: Turn off write permission on the hypercall page
   63e873679ba9 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
   16ace91043bf mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()
   1771fc58a35d thp: fix another corner case of munlock() vs. THPs
   2f18b39499b2 x86/tlb: Fix tlb flushing when lguest clears PGE
   91cdd9d79616 x86, mm: fix gup_pte_range() vs DAX mappings
   290215a2abfd libceph: use BUG() instead of BUG_ON(1)
   ff3bcdc9b5f0 drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
   686ea5862eb6 drm/i915: Avoid spurious WARNs about the wrong pipe in the PPS code
   967e17bcc96d drm: Cancel drm_fb_helper_resume_work on unload
   9edc456fe621 drm: Cancel drm_fb_helper_dirty_work on unload
   868a747c77cb drm/i915/gvt: Disable access to stolen memory as a guest
   f72b751f4340 drm/atomic: fix an error code in mode_fixup()
   98620b564fad drm/imx: imx-tve: Do not set the regulator voltage
   3a654a85932f dmaengine: imx-sdma - correct the dma transfer residue calculation
   56a567de553e drm/vmwgfx: Work around drm removal of control nodes
   55f47122c2e8 drm/ttm: Make sure BOs being swapped out are cacheable
   ec8e40b117c3 drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
   f96c10c2bd1b drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
   5da03582e212 drm/ast: Call open_key before enable_mmio in POST code
   54aa80e300d6 drm/ast: Fix test for VGA enabled
   0734a3213ca8 drm/amdgpu: add more cases to DCE11 possible crtc mask setup
   b507df2e236e mac80211: use driver-indicated transmitter STA only for data frames
   39813849996f mac80211: don't handle filtered frames within a BA session
   42e7f3771429 mac80211: don't reorder frames with SN smaller than SSN
   b116db0da1bd mac80211: flush delayed work when entering suspend
   9ad1571da2c0 nfit, libnvdimm: fix interleave set cookie calculation
   a7b9c9ddb6f4 xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
   019c088dc403 pwm: pca9685: Fix period change with same duty cycle
   1f2f16c7b7e3 nlm: Ensure callback code also checks that the files match
   4f77c55c3ac2 drivers/pci/hotplug: Fix initial state for empty slot
   1afe7b4ac3df drivers/pci/hotplug: Handle presence detection change properly
   17ea11d55322 target: Fix NULL dereference during LUN lookup + active I/O shutdown
   54eff720c99f pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts
   4ee3508f7abe pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
   5da90d0018a7 ceph: remove req from unsafe list when unregistering it
   ff61e0123b7d ktest: Fix child exit code processing
   1f2ca141ec53 memory/atmel-ebi: Fix ns <-> cycles conversions
   b2b0f6ffd3f9 orangefs: Use RCU for destroy_inode
   d3381fab77cb fs: Better permission checking for submounts
   48e2181b0b8d IB/srp: Fix race conditions related to task management
   d5d1d2cc4be7 IB/srp: Avoid that duplicate responses trigger a kernel bug
   516a12ab11bd IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
   04f16db056d0 IB/mlx5: Fix out-of-bound access
   2e539fa49efd IB/IPoIB: Add destination address when re-queue packet
   1626076b8e1c IB/ipoib: Fix deadlock between rmmod and set_mode
   808e83e5add1 mnt: Tuck mounts under others instead of creating shadow/side mounts.
   c9b3f3173fa5 brcmfmac: fix incorrect event channel deduction
   53d43706f2ba cxl: fix nested locking hang during EEH hotplug
   411d0b0ced69 cxl: Prevent read/write to AFU config space while AFU not configured
   60037aa689ba net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
   e067f68db256 s390: use correct input data address for setup_randomness
   321081d522d3 s390: make setup_randomness work
   9d38fd6a4f6c s390: TASK_SIZE for kernel threads
   dc31841fcdce s390/chsc: Add exception handler for CHSC instruction
   91cfcaa6ed46 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
   b848102542f5 s390/dcssblk: fix device size calculation in dcssblk_direct_access()
   5cec5e32ba56 s390/qdio: clear DSCI prior to scanning multiple input queues
   519b6cead21e Bluetooth: Add another AR3012 04ca:3018 device
   7c3bab189c16 KVM: VMX: use correct vmcs_read/write for guest segment selector/base
   035dcc8e87f6 KVM: s390: Disable dirty log retrieval for UCONTROL guests
   c4c590be4944 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
   e5b977876155 tty: n_hdlc: get rid of racy n_hdlc.tbuf

(From OE-Core rev: 9b91f4ed409aeee3fa856c9ae1c5bdb3ad73f6cd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-29 16:37:27 +01:00
Bruce Ashfield 962f419195 linux-yocto/4.4: update to v4.4.56
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: aac3bd4b9a3a2dca42eff68beec1b075ae8e532a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-29 16:37:27 +01:00