]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agolibjpeg-turbo: upgrade to 1.5.3
Maxin B. John [Tue, 2 Jan 2018 12:41:44 +0000 (14:41 +0200)]
libjpeg-turbo: upgrade to 1.5.3

1.5.2 -> 1.5.3

No change in license. Updates in License Checksums are due to change
in Copyright years.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoharfbuzz: upgrade to 1.7.4
Maxin B. John [Tue, 2 Jan 2018 12:41:42 +0000 (14:41 +0200)]
harfbuzz: upgrade to 1.7.4

1.7.0 -> 1.7.4

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86
Richard Purdie [Tue, 2 Jan 2018 11:36:53 +0000 (11:36 +0000)]
runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86

On pre 4.15 host kernels, an APIC window emulation bug can cause qemu
to hang. On 64 bit we can use the x2apic, for 32 bit, we just have to
disable the other timer sources and rely on kvm-clock.

[YOCTO #12301]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: drop obsolete workaround for ARM + gcc 5.2
Andre McCurdy [Wed, 20 Dec 2017 21:41:12 +0000 (13:41 -0800)]
systemd: drop obsolete workaround for ARM + gcc 5.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemtap_git.inc: Add microblazeel as a supported architecture
Bhargava Sreekantappa Gayathri [Fri, 22 Dec 2017 19:55:23 +0000 (11:55 -0800)]
systemtap_git.inc: Add microblazeel as a supported architecture

This patch adds microblazeel as a supported architecture for systemtap.

Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-pygobject: update to 3.26.1
Derek Straka [Fri, 22 Dec 2017 17:19:17 +0000 (12:19 -0500)]
python3-pygobject: update to 3.26.1

Update to the latest stable release

Tested in qemux86-64 running core-image-minimal

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-pycairo: update to 1.15.4
Derek Straka [Fri, 22 Dec 2017 17:17:41 +0000 (12:17 -0500)]
python3-pycairo: update to 1.15.4

Update to the latest stable release

Tested in qemux86-64 running core-image-minimal

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-git: update to 2.1.8
Derek Straka [Fri, 22 Dec 2017 16:14:11 +0000 (11:14 -0500)]
python3-git: update to 2.1.8

python3-git was updated to the latest stable version

Tested on qemux86-64 using core-image-minimal

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglib-2.0: Add python3 modules required by gdbus-codegen
Jef Driesen [Fri, 22 Dec 2017 09:30:19 +0000 (10:30 +0100)]
glib-2.0: Add python3 modules required by gdbus-codegen

The gdbus-codegen tool depends on python3, python3-distutils and python3-xml at
runtime. But because these dependencies are not stated in the yocto recipe,
those python modules are not automatically included in the SDK.

Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolib/oe/patch: add missing import
Paul Eggleton [Fri, 22 Dec 2017 08:57:53 +0000 (21:57 +1300)]
lib/oe/patch: add missing import

This module refers to oe.types, so it needs to actually import oe.types.
Fixes errors when parsing certain OE-Core recipes within the layer
index update script.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoat-spi2-core: 2.26.0 -> 2.26.2
Huang Qiyu [Wed, 27 Dec 2017 11:20:25 +0000 (19:20 +0800)]
at-spi2-core: 2.26.0 -> 2.26.2

Upgrade at-spi2-core from 2.26.0 to 2.26.2.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoat-spi2-atk: 2.26.0 -> 2.26.1
Huang Qiyu [Wed, 27 Dec 2017 11:19:40 +0000 (19:19 +0800)]
at-spi2-atk: 2.26.0 -> 2.26.1

Upgrade at-spi2-atk from 2.26.0 to 2.26.1

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython*-setuptools: update to 38.2.5
Derek Straka [Mon, 25 Dec 2017 18:05:23 +0000 (13:05 -0500)]
python*-setuptools: update to 38.2.5

Update the python{3}-setuptools to the latest stable version

Tested on the qemu with core-image-minimal

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython-gitdb: upgrade to v2.0.3
Tim Orling [Sat, 23 Dec 2017 02:59:47 +0000 (18:59 -0800)]
python-gitdb: upgrade to v2.0.3

* Change PYPI_PACKAGE to gitdb2 to reflect upstream change
* Now inherits setuptools rather than distutils

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobmap-tools: fix RDEPENDS and update SRC_URI
Tim Orling [Sat, 23 Dec 2017 02:46:17 +0000 (18:46 -0800)]
bmap-tools: fix RDEPENDS and update SRC_URI

* RDEPENDS are now all the python3 versions
* Upstream SRC_URI has moved to github.com/intel/bmap-tools
* Missing RDEPENDS on python3-setuptools added
  - Provides import for pkg_resources

Fixes [YOCTO #12148]

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorm_work: remove debugging statements
Ross Burton [Fri, 22 Dec 2017 23:36:59 +0000 (23:36 +0000)]
rm_work: remove debugging statements

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokexec-tools: update to 2.0.16 and simplify
Armin Kuster [Sun, 17 Dec 2017 16:34:36 +0000 (08:34 -0800)]
kexec-tools: update to 2.0.16 and simplify

combine .inc with bb file

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxcursor: update to 1.1.15 plus sec fixes
Armin Kuster [Sun, 17 Dec 2017 16:34:35 +0000 (08:34 -0800)]
libxcursor: update to 1.1.15 plus sec fixes

This update includes:
CVE-2017-16612
and some clan warning fixes

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxfont2: update to 2.0.3 with sec fix
Armin Kuster [Sun, 17 Dec 2017 16:34:34 +0000 (08:34 -0800)]
libxfont2: update to 2.0.3 with sec fix

Includes:
Open files with O_NOFOLLOW. (CVE-2017-16611)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxfont: update 1.5.4 with sec fix
Armin Kuster [Sun, 17 Dec 2017 16:34:33 +0000 (08:34 -0800)]
libxfont: update 1.5.4 with sec fix

Includes CVE-2017-16611

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibassuan: update to 2.5.1
Armin Kuster [Sun, 17 Dec 2017 16:34:32 +0000 (08:34 -0800)]
libassuan: update to 2.5.1

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopinentry: update to 1.1.0
Armin Kuster [Sun, 17 Dec 2017 16:34:31 +0000 (08:34 -0800)]
pinentry: update to 1.1.0

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonss: update to 3.34.1
Armin Kuster [Sun, 17 Dec 2017 16:34:30 +0000 (08:34 -0800)]
nss: update to 3.34.1

The following CA certificate was Re-Added. It was removed in NSS 3.34, but has been re-added with only the Email trust bit set. (bug 1418678)

CN = Certum CA, O=Unizeto Sp. z o.o.
SHA-256 Fingerprint: D8:E0:FE:BC:1D:B2:E3:8D:00:94:0F:37:D2:7D:41:34:4D:99:3E:73:4B:99:D5:65:6D:97:78:D4:D8:14:36:24

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers.inc: remove stat recipe
Yi Zhao [Fri, 15 Dec 2017 01:18:39 +0000 (09:18 +0800)]
maintainers.inc: remove stat recipe

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agostat: remove the recipe
Yi Zhao [Fri, 15 Dec 2017 01:18:38 +0000 (09:18 +0800)]
stat: remove the recipe

The stat hasn't any update since 2002. All modern Linux distributions
use stat from coreutils as default. After replace it with coreutils as
runtime dependency in hdparm, it is safe to drop this recipe and move it
to meta-oe.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agohdparm: replace stat with coreutils as runtime dependency
Yi Zhao [Fri, 15 Dec 2017 01:18:37 +0000 (09:18 +0800)]
hdparm: replace stat with coreutils as runtime dependency

Currently only hdparm specifies stat as runtime dependency in oe-core.
But the stat hasn't any update since 2002. Replace it with coreutils as
runtime dependency since coreutils also provides stat program. Then we
can drop the stat recipe totally.

Also add a patch to fix stat path in wiper.sh.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoselftest-ed: add a RECIPE_NO_UPDATE_REASON
Alexander Kanavin [Thu, 14 Dec 2017 16:40:31 +0000 (18:40 +0200)]
selftest-ed: add a RECIPE_NO_UPDATE_REASON

This will avoid AUH looking at it, among other things.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoltp: fix ar01 case failure
Yi Zhao [Thu, 14 Dec 2017 06:45:04 +0000 (14:45 +0800)]
ltp: fix ar01 case failure

Our binutils is configured with --enable-deterministic-archives, so ar
runs in deterministic mode by default. The ar01 case would fail because
it doesn't consider this mode. Backport a patch from upstream to fix
this issue.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoltp: add tar as runtime dependency
Yi Zhao [Thu, 14 Dec 2017 06:45:03 +0000 (14:45 +0800)]
ltp: add tar as runtime dependency

The tar from busybox lacks some options that cause the tar01 case
failed. Add tar as runtime dependency.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokernel-fitimage: Fix bad image type replacement for aarch64
Thomas Perrot [Wed, 13 Dec 2017 18:26:38 +0000 (10:26 -0800)]
kernel-fitimage: Fix bad image type replacement for aarch64

When using kernel-fitimage class with aarch64, the image type has to be
Image not zImage.  This patch fixes the bad image type replacement for
aarch64

Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorecipes-multimedia/gstreamer: Add gst-validate recipe
Aníbal Limón [Tue, 12 Dec 2017 17:11:14 +0000 (11:11 -0600)]
recipes-multimedia/gstreamer: Add gst-validate recipe

The gst-validate is a tool to run integration tests of Gstreamer
components [1].

This tool can be used along with gst-integration-testsuites (scenarios
and media) [2] to test Gstreamer components on the target device.

An example of test using gst-integration-testsuites:

$ gst-validate-launcher --sync # get [2] uses git and git-annex
$ gst-validate-launcher

or

$ gst-validate-launcher -nd # needs xserver-xorg-xvfb to run wo DISPLAY

[1]
https://blogs.gnome.org/tsaunier/2014/04/21/gst-validate-a-suite-of-tools-to-run-integration-tests-for-gstreamer-2/
[2] https://cgit.freedesktop.org/gstreamer/gst-integration-testsuites

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage-live.bbclass: add MLPREFIX to core-image-minimal-initramfs
Robert Yang [Wed, 13 Dec 2017 02:45:52 +0000 (10:45 +0800)]
image-live.bbclass: add MLPREFIX to core-image-minimal-initramfs

The 32bit core-image-minimal-initramfs should be built when build lib32-iso, e.g.:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_FSTYPES += "iso"

$ bitbake lib32-core-image-minimal
Exception: FileExistsError: [Errno 17] File exists: '/path/to/tmp/sysroots-components/core2-64/qemuwrapper-cross/usr/bin/crossscripts/qemuwrapper' -> '/path/to/tmp/work/qemux86_64-pokymllib32-linux/lib32-core-image-minimal/1.0-r0/lib32-recipe-sysroot/usr/bin/crossscripts/qemuwrapper'

This was because:
lib32-core-image-minimal -> core-image-minimal-initramfs
core-image-minimal-initramfs -> qemuwrapper-cross
lib32-core-image-minimal -> lib32-qemuwrapper-cross

So we got the error, build lib32-core-image-minimal-initramfs can fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowaf.bbclass: Add compile progress
Joshua Watt [Thu, 7 Dec 2017 16:57:35 +0000 (10:57 -0600)]
waf.bbclass: Add compile progress

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agou-boot-fw-utils: Fix broken makefile in v2017.11.
Kristian Amlie [Wed, 13 Dec 2017 14:03:27 +0000 (15:03 +0100)]
u-boot-fw-utils: Fix broken makefile in v2017.11.

See the patch for details. This patch has already been applied
upstream, but we need it for v2017.11.

Upstream-Status: Accepted [http://git.denx.de/?p=u-boot.git;a=commit;h=ded84f90a1066eef5f34daa4539273de64f7b811]

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage-live.bbclass: print warn when initramfs is invalid
Robert Yang [Wed, 13 Dec 2017 03:24:05 +0000 (11:24 +0800)]
image-live.bbclass: print warn when initramfs is invalid

It's a problem when initramfs is invalid, so print warn rather than note.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoptest-runner: Upgrade to 2.1.1
Aníbal Limón [Tue, 12 Dec 2017 15:38:17 +0000 (09:38 -0600)]
ptest-runner: Upgrade to 2.1.1

Contains fixes,

- timeout option missing the argument option ":" to getopt
- utils.c: Prefer monotonic clock to calculate elapsed time
- Add support to avoid load/run twice a run_ptest script

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: Fix a path to a psuedo state directory (PSEUDO_LOCALSTATEDIR).
Adrian Fiergolski [Mon, 11 Dec 2017 17:08:26 +0000 (18:08 +0100)]
wic: Fix a path to a psuedo state directory (PSEUDO_LOCALSTATEDIR).

In case of 'new_rootfs' the psuedo directory is not copied. Thus
PSEUDO_LOCALSTATEDIR should still point to the dsa
'native_sysroot'/../pseudo. Otherwise PSEUDO_LOCALSTATEDIR points to a not
existing director ('new_rootfs'/../pseudo) and UID and GUID attributes are not
applied to files of the image.

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@cern.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomachine/include/qemu.inc: update RDEPENDS to match kernel naming
Ross Burton [Tue, 19 Dec 2017 14:33:38 +0000 (14:33 +0000)]
machine/include/qemu.inc: update RDEPENDS to match kernel naming

The kernel class now sets RDEPENDS_${KERNEL_PACKAGE_NAME}-base so this include
needs to do the same, otherwise bitbake emits a warning and the kernel isn't
removed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokernel: Add support for multiple kernel packages
Haris Okanovic [Tue, 7 Nov 2017 18:40:39 +0000 (12:40 -0600)]
kernel: Add support for multiple kernel packages

Some distros may want to provide alternate kernel "flavors" via feeds or
within bootable images. For example, readily available builds which
provide certain diagnostic features can enable developers and testers to
more quickly resolve issues by avoiding lengthy kernel builds.

This change allows for building multiple flavors of the kernel and
module packages by templatizing kernel package names via a new
KERNEL_PACKAGE_NAME variable in kernel.bbclass. It defaults to the old
name of "kernel", but can be overridden by certain recipes providing
alternate kernel flavors.

To maintain compatibility, recipes providing alternate kernel flavors
cannot be the "preferred provider" for virtual/kernel. This is because
OE puts the preferred provider's build and source at
"tmp-glibc/work-shared/$MACHINE/kernel-build-artifacts/" and
"tmp-glibc/work-shared/$MACHINE/kernel-source/" instead of
"tmp-glibc/work/*/$PN/" like other recipes. Therefore, recipes using the
default KERNEL_PACKAGE_NAME="kernel" follows the old semantics -- build
in the old location and may be preferred provider -- while recipes using
all other KERNEL_PACKAGE_NAME's build from the normal WORKDIR and don't
provide "virtual/kernel".

Testing:
 1. Add `KERNEL_PACKAGE_NAME_pn-linux-yocto-tiny = "tiny-linux"`
    to local.conf so that linux-yocto-tiny may build alongside
    the main kernel (linux-yocto).
 2. `bitbake linux-yocto linux-yocto-tiny` to build both kernel flavors.
 3. Verified image and modules IPKs exist for both:
    tmp-glibc/deploy/ipk/qemux86/kernel-* for linux-yocto
    tmp-glibc/deploy/ipk/qemux86/tiny-linux* for linux-yocto-tiny
 4. Verified linux-yocto is the "preferred provider", and was built in
    shared directory: tmp-glibc/work-shared/qemux86/kernel-*
 5. Add `CORE_IMAGE_BASE_INSTALL_append_pn-core-image-base = "tiny-linux"`
    to local.conf to install both kernel flavors in core-image-base.
 6. `bitbake core-image-base` to build an image.
 7. Verified image contains two bzImage's under /boot/, with
    "yocto-standard" (linux-yocto recipe) selected to boot via symlink.

Discussion threads:
http://lists.openembedded.org/pipermail/openembedded-core/2015-December/thread.html#114122
http://lists.openembedded.org/pipermail/openembedded-core/2017-July/thread.html#139130

[YOCTO #11363]

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Coauthored-by: Gratian Crisan <gratian.crisan@ni.com>
Coauthored-by: Haris Okanovic <haris.okanovic@ni.com>
Coauthored-by: Josh Hernstrom <josh.hernstrom@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowaf.bbclass: explicitly pass bindir and libdir if supported
Stefan Agner [Tue, 12 Dec 2017 16:13:24 +0000 (17:13 +0100)]
waf.bbclass: explicitly pass bindir and libdir if supported

On some build hosts distros (e.g. Fedora 26) waf tries to be
smart about libdir detection and defaults to [EXEC_PREFIX/lib64].
This obviously is not what we want for 32-bit targets and usually
fails in the do_package phase:
  WARNING: gstreamer1.0-plugins-imx-0.13.0-r0 do_package: QA Issue: gstreamer1.0-plugins-imx: Files/directories were installed but not shipped in any package:
    /usr/lib64/libgstimxcommon.so.0
    ...

Depending on version, waf knows prefix or prefix, bindir and
libdir as default options. Explicitly pass the right set of
arguments.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoavahi: upgrade to 0.7
Dengke Du [Tue, 12 Dec 2017 01:46:23 +0000 (09:46 +0800)]
avahi: upgrade to 0.7

Delete the unneeded patch, because the upstream contains the needed changes.
The new version of avahi 0.7 use "/run" directory to place some run-time
variable data, not /var/run, so in avahi.inc, we should remove the "/run"
not "/var/run".

Remove PACKAGECONFIG for pygtk which already dropped in upstream.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokernel.bbclass: Fix do_sizecheck behaviour
Mike Crowe [Fri, 8 Dec 2017 13:43:26 +0000 (13:43 +0000)]
kernel.bbclass: Fix do_sizecheck behaviour

During the introduction of support for multiple kernel image types in
849b67b2e4820564b5e5c9bd4bb293c44351c5f3, do_sizecheck was changed to only
warn if any kernel was bigger than ${KERNEL_IMAGE_MAXSIZE}. (Well, it tried
to warn - it turns out that there's no function called "warn", it should be
"bbwarn".) The previous behaviour had been to fail the build if the single
kernel image did not fit.

It seems possible that people might be generating both compressed and
uncompressed kernels and only really care whether the compressed one fits.
This means that we shouldn't just always fail if any of the images are too
large. So, let's warn (correctly this time) on every image that is too
large, but only ultimately fail if no image will fit. The build will also
fail if ${KERNEL_IMAGETYPES} is empty, but I hope that no-one needs to do
that.

While we're here correct a typo in the KERNEL_IMAGE_MAXSIZE validity check.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/qemu: remove elf image type
Saul Wold [Tue, 5 Dec 2017 01:10:35 +0000 (17:10 -0800)]
oeqa/qemu: remove elf image type

Since we are depercating the ELF image type, we should not test it
here either.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomkelfimage: Remove un-needed recipe
Saul Wold [Tue, 5 Dec 2017 01:10:34 +0000 (17:10 -0800)]
mkelfimage: Remove un-needed recipe

As we are removing the ELF image type, we can now removed this older
mkelfimage recipe also, we reach back 3+ years in the coreboot git repo
to retrieve the source.  This tool needs updating everything we change
binutils, which would normally be done by the upstream, but that is now
gone.

[YOCTO #11967]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage_types: Remove ELF type
Saul Wold [Tue, 5 Dec 2017 01:10:33 +0000 (17:10 -0800)]
image_types: Remove ELF type

As warned in a proir commit, it's time to remove the elf image type,
it is not long used anywhere (that I am aware of) and the mkelfimage
tool has been removed from the upstream coreboot code base.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooe-selftest: devtool: switch away from mkelfimage
Paul Eggleton [Tue, 12 Dec 2017 02:26:19 +0000 (15:26 +1300)]
oe-selftest: devtool: switch away from mkelfimage

mkelfimage is about to be removed, so test_devtool_modify_git needs to
use a different recipe. psplash is a reasonable choice given it uses a
git repository (and probably will forever), and doesn't have too many
dependencies, so change the test to use that recipe instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodnf: update to 2.7.5
Alexander Kanavin [Wed, 4 Oct 2017 14:39:46 +0000 (17:39 +0300)]
dnf: update to 2.7.5

Drop upstreamed patch.
Rebase the other patches.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibrepo: update to 1.8.1
Alexander Kanavin [Wed, 4 Oct 2017 14:33:37 +0000 (17:33 +0300)]
librepo: update to 1.8.1

Drop upstreamed patches, rebase the PYTHON_INSTALL_DIR patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibdnf: update to 0.11.1
Alexander Kanavin [Wed, 4 Oct 2017 14:18:17 +0000 (17:18 +0300)]
libdnf: update to 0.11.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agorpm: update to 4.14.0
Alexander Kanavin [Mon, 18 Dec 2017 16:00:28 +0000 (18:00 +0200)]
rpm: update to 4.14.0

Previously oe-core had a development snapshot of rpm, it's better to update
to something more stable.

Removed patches:
0001-Add-PYTHON_ABI-when-searching-for-python-libraries.patch
(upstream is using pkg-config)
0001-When-nice-value-cannot-be-reset-issue-a-notice-inste.patch
(functionality has been moved to a plugin, we disable plugins
for rpm-native)
0012-Use-conditional-to-access-_docdir-in-macros.in.patch
(merged upstream)

Changed patches:
0001-Fix-build-with-musl-C-library.patch
(one previous musl issue has been resolved upstream; another has been added)

Rest of the patches are trivial rebases.

Update the signing oe-selftest so that the reference output matches
the upstream changes.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackage.bbclass: replace rpm/debugedit with dwarfsrcfiles
Alexander Kanavin [Fri, 10 Nov 2017 15:38:59 +0000 (17:38 +0200)]
package.bbclass: replace rpm/debugedit with dwarfsrcfiles

Debugedit provided by rpm 4.14 is rewriting binaries in-place, and was
found to produce broken output at least for grub:
http://lists.openembedded.org/pipermail/openembedded-core/2017-November/143989.html

A replacement utility was suggested via private mail:
https://lists.fedorahosted.org/archives/list/elfutils-devel@lists.fedorahosted.org/message/VZP4G5N2ELYZEDAB3QYLXYHDGX4WMCUF/

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolinux-yocto/4.12: CQM and kmemleak fixes
Bruce Ashfield [Thu, 21 Dec 2017 15:49:20 +0000 (10:49 -0500)]
linux-yocto/4.12: CQM and kmemleak fixes

Integrating the following commits for kmemleak fixes and CQM
backports:

   58fe84d691a mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objects
   5babb9c8f695 mm: kmemleak: factor object reference updating out of scan_block()
   8c22ef5ee138 mm: kmemleak: slightly reduce the size of some structures on 64-bit architectures
   7ea6b560ef4c netfilter: conntrack: do not enable connection tracking unless needed
   4fdf0a5a0863 netfilter: nf_ct_dccp/sctp: fix memory leak after netns cleanup
   85385ffd1e9b netfilter: move table iteration out of netns exit paths
   c95b3f8e1cbc netfilter: conntrack: add nf_ct_iterate_destroy
   753c83b98a1e netfilter: conntrack: don't call iter for non-confirmed conntracks
   bcf21cba7fd5 netfilter: conntrack: rename nf_ct_iterate_cleanup
   f5c3a4c19075 perf/x86/intel/uncore: Fix missing marker for skx_uncore_cha_extra_regs
   c44ebea2f116 perf/x86/intel/uncore: Fix SKX CHA event extra regs
   1d70f7feb408 perf/x86/intel/uncore: Remove invalid Skylake server CHA filter field
   eb3059e9e0ea perf/x86/intel/uncore: Fix Skylake server CHA LLC_LOOKUP event umask
   3514c02c7bff perf/x86/intel/uncore: Fix Skylake server PCU PMU event format
   804530f02515 perf/x86/intel/uncore: Fix Skylake UPI PMU event masks

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: common-pc*: enable X2APIC by default
Bruce Ashfield [Thu, 21 Dec 2017 15:49:19 +0000 (10:49 -0500)]
linux-yocto/4.12: common-pc*: enable X2APIC by default

Enabling CONFIG_X86_X2APIC=y by default for common-pc* (and hence
qemux86*) to work around interrupt delivery issues when running on some
host kernels.

There's little overhead with this, and no impact to non x2apic
platforms, so we enable it for all builds.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto-dev: update to v4.15+
Bruce Ashfield [Thu, 21 Dec 2017 15:49:18 +0000 (10:49 -0500)]
linux-yocto-dev: update to v4.15+

Outside of the normal patch refreshes and boot issues, there are new
build time tools within the kernel that required the following
dependencies:

For ORC_UNWINDER support in x86-64:

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

And for certificate processing during the build, we need ssl headers
and hexdump:

  DEPENDS += "openssl-native util-linux-native"

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: update to v.4.12.18
Bruce Ashfield [Thu, 21 Dec 2017 15:49:17 +0000 (10:49 -0500)]
linux-yocto/4.12: update to v.4.12.18

Integrating the -stable backports from Paul Gortmaker, which comprise the
following commits:

   33070a47be56 Linux 4.12.18
   7441b94462dd sctp: use right member as the param of list_for_each_entry
   393004dcde90 packet: fix crash in fanout_demux_rollover()
   0a9012474dc5 coda: fix 'kernel memory exposure attempt' in fsync
   b5cc211a6240 x86/cpu/amd: Derive L3 shared_cpu_map from cpu_llc_shared_mask
   2567785ab75b mm/page_ext.c: check if page_ext is not prepared
   40991abd5541 mm/page_alloc.c: broken deferred calculation
   7fd5cc66154b ipmi: fix unsigned long underflow
   fa5ba256bc53 ocfs2: should wait dio before inode lock in ocfs2_setattr()
   97181d7d56ab ocfs2: fix cluster hang after a node dies
   3e60437f8fac mm/pagewalk.c: report holes in hugetlb ranges
   2974b65a0852 rcu: Fix up pending cbs check in rcu_prepare_for_idle
   3048be8b900f tpm-dev-common: Reject too short writes
   60bf233eeed8 serial: 8250_fintek: Fix finding base_port with activated SuperIO
   1539a3ace4ee serial: omap: Fix EFR write on RTS deassertion
   7c601c15e06d ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
   42e3beae3ace net/sctp: Always set scope_id in sctp_inet6_skb_msgname
   09fc4fe93e10 fealnx: Fix building error on MIPS
   01c2c1581c94 sctp: do not peel off an assoc from one netns to another one
   0a2e9fbdc391 vxlan: fix the issue that neigh proxy blocks all icmpv6 packets
   1063c860aecd af_netlink: ensure that NLMSG_DONE never fails in dumps
   045a67694539 vlan: fix a use-after-free in vlan_device_event()
   eb1321c9ad5e tcp: fix tcp_fastretrans_alert warning
   55bfb1ef83e0 qmi_wwan: Add missing skb_reset_mac_header-call
   315ea5f8348b net: qmi_wwan: fix divide by 0 on bad descriptors
   554d1d375f1c bonding: discard lowest hash bit for 802.3ad layer3+4
   6b6b2c804d4e l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
   30ec586cda8a netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
   62bd603f2677 net: systemport: Correct IPG length settings
   70cd6d6bea88 tcp: do not mangle skb->cb[] in tcp_make_synack()
   26ab537f2e5f net: vrf: correct FRA_L3MDEV encode type
   f2561863b0d6 tcp_nv: fix division by zero in tcpnv_acked()
   5dfe41dc67fc staging: greybus: spilib: fix use-after-free after deregistration
   2c7eb0674a3d staging: sm750fb: Fix parameter mistake in poke32
   008bfaf7b155 HID: wacom: generic: Recognize WACOM_HID_WD_PEN as a type of pen collection
   695db9d1697c HID: cp2112: add HIDRAW dependency
   b9edc34d9c29 x86/MCE/AMD: Always give panic severity for UC errors in kernel context
   90e3029e582c selftests/x86/protection_keys: Fix syscall NR redefinition warnings
   4ef762021938 USB: serial: garmin_gps: fix memory leak on probe errors
   f1423a77b98b USB: serial: garmin_gps: fix I/O after failed probe and remove
   68a94c90dfc3 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
   885e857a7c26 USB: serial: Change DbC debug device binding ID
   3e7a792beda2 USB: serial: metro-usb: stop I/O after failed open
   da73445f1b69 usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
   d3cc53bd3a61 USB: Add delay-init quirk for Corsair K70 LUX keyboards
   402588b38460 USB: usbfs: compute urb->actual_length for isochronous
   5a8714de40ac USB: early: Use new USB product ID and strings for DbC device
   83f0fdf7ccc6 crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
   b494fa860365 crypto: dh - Don't permit 'p' to be 0
   4ffcf85d08b7 crypto: dh - Fix double free of ctx->p
   d20a9c0d1233 crypto: dh - fix memleak in setkey
   ad8b281c05c5 Bluetooth: btusb: fix QCA Rome suspend/resume
   21fc98337c60 dmaengine: dmatest: warn user when dma test times out
   72a0fc7e4f7d tcp: fix tcp_mtu_probe() vs highest_sack
   ca42624b53de ipv6: addrconf: increment ifp refcount before ipv6_del_addr()
   751e5b20c03f tun/tap: sanitize TUNSETSNDBUF input
   eea9efba6bdc net_sched: avoid matching qdisc with zero handle
   e76cd730f32e sctp: reset owner sk for data chunks on out queues when migrating a sock
   6027b882617c tun: allow positive return values on dev_get_valid_name() call
   984a8b424c58 tap: reference to KVA of an unloaded module causes kernel panic
   92adaa4247c1 tcp: refresh tcp_mstamp from timers callbacks
   026ff0f99bbf tcp: refresh tp timestamp before tcp_mtu_probe()
   aa3fb0cbb88d ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit
   88f0bf544d46 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
   7256c950ca70 ipip: only increase err_count for some certain type icmp in ipip_err
   62e3502c1991 net/mlx5e: Properly deal with encap flows add/del under neigh update
   84d26c8a74fc tap: double-free in error path in tap_open()
   94946f4812fa net/unix: don't show information about sockets from other namespaces
   43997314bb13 net: dsa: check master device before put
   d5c769c98986 tcp/dccp: fix other lockdep splats accessing ireq_opt
   1d4c7c3266a4 tcp/dccp: fix lockdep splat in inet_csk_route_req()
   462504bc99ac sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND
   fe91475c8310 ipv6: flowlabel: do not leave opt->tot_len with garbage
   009a3e7461cd soreuseport: fix initialization race
   16e36e55f822 net: bridge: fix returning of vlan range op errors
   3d32d75474d1 geneve: Fix function matching VNI and tunnel ID on big-endian
   04e37f3a5c02 packet: avoid panic in packet_getsockopt()
   3895ca099a69 tcp/dccp: fix ireq->opt races
   eda355607691 sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect
   785b144296af netlink: fix netlink_ack() extack race
   01af773e7a6b tun: call dev_get_valid_name() before register_netdevice()
   1b522844eabe l2tp: check ps->sock before running pppol2tp_session_ioctl()
   ae90bb6362cd net: call cgroup_sk_alloc() earlier in sk_clone_lock()
   1ec7babcf934 netlink: do not set cb_running if dump's start() errs
   7fa820a09305 gso: fix payload length when gso_size is zero
   463a7737df22 ppp: fix race in ppp device destruction
   57b61ea36589 xfs: move two more RT specific functions into CONFIG_XFS_RT
   b5bea8ab390b tty: fix __tty_insert_flip_char regression
   1d4d3f8e98b3 KVM: add X86_LOCAL_APIC dependency
   737d1a26d83a pinctrl/amd: Fix build dependency on pinmux code
   5f9a4e690c9f seccomp: make function __get_seccomp_filter static
   407108cebb23 Fix tracing sample code warning.
   e53f80ca68ae security/keys: BIG_KEY requires CONFIG_CRYPTO
   b177131cdd05 udp: fix bcast packet reception
   51165c2e0923 Linux 4.12.17
   e37973f85463 media: dib0700: fix invalid dvb_detach argument
   2be5d96a5441 media: imon: Fix null-ptr-deref in imon_probe
   6cc6ecdb2ad9 Input: ims-psu - check if CDC union descriptor is sane
   dcc13ac27971 net: cdc_ether: fix divide by 0 on bad descriptors
   6a98f24f0530 net: usb: asix: fill null-ptr-deref in asix_suspend
   1da204e5439f usb: usbtest: fix NULL pointer dereference
   39795ceb702b x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
   cf6308a136f2 x86/smpboot: Make optimization of delay calibration work correctly
   5cee51d999ed x86/debug: Handle warnings before the notifier chain, to fix KGDB crash
   7faef4f041ed can: c_can: don't indicate triple sampling support for D_CAN
   2efab93ab541 can: ifi: Fix transmitter delay calculation
   9a9a3a778c22 can: peak: Add support for new PCIe/M2 CAN FD interfaces
   befd4aa29428 can: sun4i: handle overrun in RX FIFO
   ce274815fdac drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
   327b1f353263 rbd: use GFP_NOIO for parent stat and data requests
   81a57d23e6f9 Input: elan_i2c - add ELAN060C to the ACPI table
   8b43ca400436 MIPS: AR7: Ensure that serial ports are properly set up
   fd11bdb71a3a MIPS: AR7: Defer registration of GPIO
   361b86eaf6ec MIPS: BMIPS: Fix missing cbr address
   1f5ee962f2cd MIPS: Fix CM region target definitions
   95eca04aa013 ALSA: seq: Fix OSS sysex delivery in OSS emulation
   a77a957d8dd4 ALSA: hda - fix headset mic problem for Dell machines with alc274
   5e838d3a8e07 ALSA: usb-audio: support new Amanero Combo384 firmware version
   af199c8af86e ALSA: timer: Limit max instances per timer
   7f740a514450 ARM: 8720/1: ensure dump_instr() checks addr_limit
   378309492920 ACPI / scan: Enable GPEs before scanning the namespace
   3d41affb49ba ACPICA: Make it possible to enable runtime GPEs earlier
   73b2b51c57bc ACPICA: Dispatch active GPEs at init time
   b8a8b7486b60 KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
   1dd87968f2e3 crypto: x86/sha256-mb - fix panic due to unaligned access
   ad3194d5cdd7 crypto: x86/sha1-mb - fix panic due to unaligned access
   176121ac7fe1 crypto: ccm - preserve the IV buffer
   565a57ec4f8d workqueue: Fix NULL pointer dereference
   86d04817638d x86/mcelog: Get rid of RCU remnants
   61f8603bcb05 perf/cgroup: Fix perf cgroup hierarchy support
   c39d83f28cf5 MIPS: microMIPS: Fix incorrect mask in insn_table_MM
   ff06d106db71 MIPS: smp-cmp: Use right include for task_struct
   6da5b0e13e3e drm/i915/edp: read edp display control registers unconditionally
   89e68088def8 drm/i915: Do not rely on wm preservation for ILK watermarks
   052130e6dd1c mm, swap: fix race between swap count continuation operations
   92ede622224e ocfs2: fstrim: Fix start offset of first cluster group during fstrim
   d4e8f4c82ec4 userfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size
   bf69e4b41953 drm/amdgpu: allow harvesting check for Polaris VCE
   aa09acb11a5b drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting
   707ba2820623 ARM: 8715/1: add a private asm/unaligned.h
   4fa5fe6ea340 ARM: dts: mvebu: pl310-cache disable double-linefill
   a01a5c2e6e9e arm/arm64: kvm: Disable branch profiling in HYP code
   3441fa885cf3 arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort
   a650f10a6423 KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table
   24d22fb868e3 arm64: ensure __dump_instr() checks addr_limit
   cac0dcc9179e ASoC: adau17x1: Workaround for noise bug in ADC
   7e34e27aaf91 KEYS: fix out-of-bounds read during ASN.1 parsing
   53ec125b27a1 KEYS: trusted: fix writing past end of buffer in trusted_read()
   9b453e30fc82 cifs: check MaxPathNameComponentLength != 0 before using it
   69828d917713 ALSA: seq: Fix nested rwsem annotation for lockdep splat
   11f1d2059857 ALSA: timer: Add missing mutex lock for compat ioctls
   86306c8bf739 powerpc/xive: Fix the size of the cpumask used in xive_find_target_in_mask()
   7d5b350c311e regulator: fan53555: fix I2C device ids
   bba7a802ffa0 ipsec: Fix aborted xfrm policy dump crash
   3f17c12b2ef6 cfg80211: fix connect/disconnect edge cases
   036cb11e2b93 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
   25a5d333b556 can: kvaser_usb: Correct return value in printout
   0dea0f030394 can: sun4i: fix loopback mode
   b26722135e12 drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace
   748e46331dc7 drm/amd/powerplay: fix uninitialized variable
   859bc7ad2aa9 x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't
   1370811ed5b7 scsi: aacraid: Fix controller initialization failure
   626a5aae973e scsi: zfcp: fix erp_action use-before-initialize in REC action trace
   250835c62a90 assoc_array: Fix a buggy node-splitting case
   fea99b11049a SMB3: Validate negotiate request must always be signed
   d030ae8043b8 Fix encryption labels and lengths for SMB3.1.1
   158c28974465 Input: gtco - fix potential out-of-bound access
   a603b795cb7e Input: elan_i2c - add ELAN0611 to the ACPI table
   9bb1ce736e36 CIFS: Fix NULL pointer deref on SMB2_tcon() failure
   fbe5c09ee805 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
   950c2786017a fuse: fix READDIRPLUS skipping an entry
   1be2e5e41f0e spi: armada-3700: Fix failing commands with quad-SPI
   733d72531cc5 spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
   cffec62ffee5 spi: a3700: Return correct value on timeout detection
   be9198ea33e1 spi: uapi: spidev: add missing ioctl header
   9b5c3ee4ed3f KVM: PPC: Book3S: Protect kvmppc_gpa_to_ua() with SRCU
   9574b6e81e45 KVM: PPC: Book3S HV: POWER9 more doorbell fixes
   bceb8e9d95be KVM: PPC: Book3S HV: Use msgsync with hypervisor doorbells on POWER9
   229642d22e3a KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM
   32e77b72733b ceph: unlock dangling spinlock in try_flush_caps()
   f4180593b1e9 ALSA: hda - fix headset mic problem for Dell machines with alc236
   33477d1e5e6b ALSA: hda/realtek - Add support for ALC236/ALC3204
   0230f9ed329f workqueue: replace pool->manager_arb mutex with a flag
   5ec0d1c9d5a9 xfs: trim writepage mapping to within eof
   fcc029896ba9 xfs: cancel dirty pages on invalidation
   da45acc2e9cd xfs: handle error if xfs_btree_get_bufs fails
   7d57f66d6f17 xfs: reinit btree pointer on attr tree inactivation walk
   731ead3be639 xfs: don't change inode mode if ACL update fails
   173d49a9a531 xfs: move more RT specific code under CONFIG_XFS_RT
   ba899492a1d5 xfs: handle racy AIO in xfs_reflink_end_cow
   72ac4f1186a6 xfs: always swap the cow forks when swapping extents
   204bdfa1f67c xfs: perag initialization should only touch m_ag_max_usable for AG 0
   7b74f08372bd xfs: update i_size after unwritten conversion in dio completion
   a387eb05ff73 xfs: report zeroed or not correctly in xfs_zero_range()
   7df2a96d20a4 fs/xfs: Use %pS printk format for direct addresses
   4c71c06ac80f xfs: evict CoW fork extents when performing finsert/fcollapse
   f0f53f176d94 xfs: don't unconditionally clear the reflink flag on zero-block files
   032e53c378a8 iomap_dio_rw: Allocate AIO completion queue before submitting dio
   bd603f7110b9 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set.
   362a37a0cf59 KEYS: don't let add_key() update an uninstantiated key
   e4968379c1b6 FS-Cache: fix dereference of NULL user_key_payload
   047fe074b659 KEYS: Fix race between updating and finding a negative key
   8ea691e39413 ecryptfs: fix dereference of NULL user_key_payload
   bfd7bc34be16 fscrypt: fix dereference of NULL user_key_payload
   83f4c52d9fd7 lib/digsig: fix dereference of NULL user_key_payload
   e966d2d4f6a1 x86/microcode/intel: Disable late loading on model 79
   d647900b826d rtlwifi: rtl8821ae: Fix connection lost problem
   3f4f2f812312 clockevents/drivers/cs5535: Improve resilience to spurious interrupts
   6bd3022f41a1 bus: mbus: fix window size calculation for 4GB windows
   c7a86caa19f2 brcmsmac: make some local variables 'static const' to reduce stack size
   4df70a6e8969 brcmfmac: Add check for short event packets
   f6f7db182f44 i2c: piix4: Fix SMBus port selection for AMD Family 17h chips
   dfc7eebd0b5d ALSA: hda: Abort capability probe at invalid register read
   a7252ee01e59 ALSA: hda: Remove superfluous '-' added by printk conversion
   514d11ccc861 ALSA: seq: Enable 'use' locking in all configurations
   a4476518e1e7 tracing/samples: Fix creation and deletion of simple_thread_fn creation
   ad84c20a9f47 media: dvb: i2c transfers over usb cannot be done from stack
   11fbb0237319 media: cec: Respond to unregistered initiators, when applicable
   43ac45e69b11 media: s5p-cec: add NACK detection support
   686020330a68 drm/nouveau/mmu: flush tlbs before deleting page tables
   90905608e49e drm/nouveau/bsp/g92: disable by default
   a276b1329f6e drm/nouveau/kms/nv50: fix oops during DP IRQ handling on non-MST boards
   75c7d377d125 drm/i915: Use bdw_ddi_translations_fdi for Broadwell
   a4e778fda246 mmc: sdhci-pci: Fix default d3_retune for Intel host controllers
   c51c64badbdf KEYS: encrypted: fix dereference of NULL user_key_payload
   8d5f0ae655f9 can: flexcan: fix p1010 state transition issue
   32a5167fcdae can: flexcan: fix i.MX28 state transition issue
   5babb6c595a6 can: flexcan: fix i.MX6 state transition issue
   9319913df979 can: flexcan: implement error passive state quirk
   1c93f600ac19 can: flexcan: rename legacy error state quirk
   25cb31c3f806 can: flexcan: fix state transition regression
   f433519c4cba can: af_can: can_pernet_init(): add missing error handling for kzalloc returning NULL
   947a57f938f3 can: esd_usb2: Fix can_dlc value for received RTR, frames
   792c8810f196 usb: xhci: Handle error condition in xhci_stop_device()
   c83a48144395 xhci: Cleanup current_cmd in xhci_cleanup_command_queue()
   666fd52c080b xhci: Identify USB 3.1 capable hosts by their port protocol capability
   523dad046e0f usb: musb: Check for host-mode using is_host_active() on reset interrupt
   5e277dcadf45 usb: musb: musb_cppi41: Configure the number of channels for DA8xx
   1ddbc42b569c usb: musb: musb_cppi41: Fix cppi41_set_dma_mode() for DA8xx
   b4ae14cc4f93 usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers
   dbb13f2fcbc9 USB: musb: fix late external abort on suspend
   cff06a4ae7d5 USB: musb: fix session-bit runtime-PM quirk
   7545aa66403b usb: musb: sunxi: Explicitly release USB PHY on exit
   8447db4b2e33 iio: dummy: events: Add missing break
   9d8a108edff7 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels
   58bacefc0b50 s390/cputime: fix guest/irq/softirq times after CPU hotplug
   7543b1a05d0c nbd: don't set the device size until we're connected
   b7e699fcefbe can: gs_usb: fix busy loop if no more TX context is available
   2053fee203fb ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital
   a069429516bc usb: hub: Allow reset retry for USB2 devices on connect bounce
   79d5e5d8d2fe usb: quirks: add quirk for WORLDE MINI MIDI keyboard
   4d493d5a62ea usb: cdc_acm: Add quirk for Elatec TWN3
   d553fc8e775f USB: serial: metro-usb: add MS7820 device id
   9872dc2ad066 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
   4d75d952a2ac USB: devio: Revert "USB: devio: Don't corrupt user memory"
   b5264fc112b2 staging: bcm2835-audio: Fix memory corruption

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: bug fixes and feature backports
Bruce Ashfield [Thu, 21 Dec 2017 15:49:16 +0000 (10:49 -0500)]
linux-yocto/4.12: bug fixes and feature backports

Integrating the following changes to the 4.12 tree:

 1b85adfc0b81 mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID
 b373e336eb84 mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash
 c37662f04d7c mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash
 a8a4ae37e8b7 mtd: spi-nor: intel-spi: Add support for Intel Denverton SPI serial flash controller
 aa830ab86985 net/bluetooth: make bluetooth socket can be created in net namespace
 2e98dc285831 x86/debug: Handle warnings before the notifier chain, to fix KGDB crash

These are all bug fixes, or mainline backports.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.x: configuration updates
Bruce Ashfield [Thu, 21 Dec 2017 15:49:15 +0000 (10:49 -0500)]
linux-yocto/4.x: configuration updates

Integrating the following configuration changes to the 4.x linux
yocto kernels:

  common-pc*.scc: Add igb to common-pc drivers
  mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM
  features/i915/i915.cfg: compile i915 as a module

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: ipv4 stable backport and config changes
Bruce Ashfield [Thu, 21 Dec 2017 15:49:14 +0000 (10:49 -0500)]
linux-yocto/4.12: ipv4 stable backport and config changes

Integrating the following ipv4 backport:

    ipv4: net namespace does not inherit network configurations

    patch from https://lkml.org/lkml/2014/7/29/119

    Ipv4 net namespace requires a similar logic change as commit a79ca223e029
    [ipv6: fix bad free of addrconf_init_net] introduces for newer kernels.

    Since a net namespace is independent to another. That is, there
    is no any relationship between the net namespaces. So a new net
    namespace should not inherit network configurations from another
    net namespace including the host.

CC: Hong Zhiguo <honkiko@gmail.com>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
And the following configuration changes:

  3574bb061c1b mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM
  f187df8fca31 features/i915/i915.cfg: compile i915 as a module
  332b38cb83a2 common-pc*.scc: Add igb to common-pc drivers

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: bug fixes and VRF feature addition
Bruce Ashfield [Thu, 21 Dec 2017 15:49:13 +0000 (10:49 -0500)]
linux-yocto/4.12: bug fixes and VRF feature addition

Integrating two bug fixes (functionality regressions):

  1d685baca196 iwlwifi: bump max FW API to 31
  cb8ce8c4ad0f tty: fix __tty_insert_flip_char regression

And the following configuration fragment:

  vrf: Add feature

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: update to v4.12.16
Bruce Ashfield [Thu, 21 Dec 2017 15:49:12 +0000 (10:49 -0500)]
linux-yocto/4.12: update to v4.12.16

Integrating the -stable updates from Paul Gortmaker that cover the
following commits:

   8500552cb6f7 Linux 4.12.16
   3041c36e51aa vmbus: more host signalling avoidance
   170ce449d952 vmbus: eliminate duplicate cached index
   1843e4c61d03 vmbus: refactor hv_signal_on_read
   3114e4beb799 vmbus: simplify hv_ringbuffer_read
   47cd1be8a9b1 HID: hid-elecom: extend to fix descriptor for HUGE trackball
   663b5513c683 mm: page_vma_mapped: ensure pmd is loaded with READ_ONCE outside of lock
   8a0af0f30b6b perf pmu: Unbreak perf record for arm/arm64 with events with explicit PMU
   20ce8834fc99 KVM: nVMX: update last_nonleaf_level when initializing nested EPT
   bf6a0ec7751f x86/alternatives: Fix alt_max_short macro to really be a max()
   8566ad9542c8 x86/microcode: Do the family check first
   d369002c85c7 RAS/CEC: Use the right length for "cec_disable"
   2f5df0825d43 USB: serial: console: fix use-after-free after failed setup
   38d29750c751 USB: serial: console: fix use-after-free on disconnect
   3312688774a5 USB: serial: qcserial: add Dell DW5818, DW5819
   8ceb1ab5b8b6 USB: serial: option: add support for TP-Link LTE module
   9a492331d4d8 USB: serial: cp210x: add support for ELV TFD500
   05a76c3972a3 USB: serial: cp210x: fix partnum regression
   36db7ee477f7 USB: serial: ftdi_sio: add id for Cypress WICED dev board
   f5f28aa1189d bio_copy_user_iov(): don't ignore ->iov_offset
   2e23ac57b91b more bio_map_user_iov() leak fixes
   be96ea60abf4 fix unbalanced page refcounting in bio_map_user_iov
   62272a78cd64 direct-io: Prevent NULL pointer access in submit_page_section
   da889b1de1e2 usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options
   82bb04bf4ef3 usb: gadget: configfs: Fix memory leak of interface directory data
   48f321f266d2 drm/i915: Use crtc_state_is_legacy_gamma in intel_color_check
   300533678314 drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel
   6e7077ce8b8f drm/i915: Read timings from the correct transcoder in intel_crtc_mode_get()
   a89c571ae8a8 drm/i915/edp: Get the Panel Power Off timestamp after panel is off
   002894140f21 drm/atomic: Unref duplicated drm_atomic_state in drm_atomic_helper_resume()
   7e9518d4926c ALSA: line6: Fix leftover URB at error-path during probe
   44a4ce6662bd ALSA: line6: Fix missing initialization before error path
   7f16c070632d ALSA: line6: Fix NULL dereference at podhd_disconnect()
   317938e88d45 ALSA: caiaq: Fix stray URB at probe error path
   39921169c481 ALSA: seq: Fix copy_from_user() call inside lock
   dc744c119f6d ALSA: seq: Fix use-after-free at creating a port
   3da32e1a4a3a ALSA: usb-audio: Kill stray URB at exiting
   cbf3f880a31c fs/mpage.c: fix mpage_writepage() for pages with buffers
   24bb3d33bf9c Revert "vmalloc: back off when the current task is killed"
   076e98e18525 device property: Track owner device of device property
   2404f2c63a8f iommu/amd: Finish TLB flush in amd_iommu_unmap()
   2681ccd7a877 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet
   014b37ece737 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit
   c0f617345da5 KVM: MMU: always terminate page walks at level 1
   810fa30a4ec6 crypto: shash - Fix zero-length shash ahash digest crash
   c55f32198aa4 crypto: skcipher - Fix crash on zero-length input
   688d47df70db HID: usbhid: fix out-of-bounds bug
   fceb5f74236c NFS: Fix uninitialized rpc_wait_queue
   3936965498e9 dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
   232ab7abddce dmaengine: edma: Align the memcpy acnt array size with the transfer
   a1b8e04e4478 mei: always use domain runtime pm callbacks.
   ff7884c2afbf MIPS: math-emu: Remove pr_err() calls from fpu_emu()
   c43a87667d3f USB: dummy-hcd: Fix deadlock caused by disconnect detection
   111001ffa651 watchdog: Revert "iTCO_wdt: all versions count down twice"
   d6703459b5bf udp: perform source validation for mcast early demux
   5a2bdca5336a nl80211: Define policy for packet pattern attributes
   fd4bee8c17d9 mmc: core: add driver strength selection when selecting hs400es
   11a49827d263 nvme-pci: Use PCI bus address for data/queues in CMB
   bfd19d3e3511 drm/i915/bios: ignore HDMI on port A
   8ab3d473cbfd drm/i915: always update ELD connector type after get modes
   ec338aac41a5 brcmfmac: setup passive scan if requested by user-space
   a2db156a40ef brcmfmac: add length check in brcmf_cfg80211_escan_handler()
   fda708d0e6c9 scsi: sd: Do not override max_sectors_kb sysfs setting
   9d0c3a0c8ed3 scsi: sd: Implement blacklist option for WRITE SAME w/ UNMAP
   e57b8ad57afc scsi: remove various unused blist flags
   86d40a1cfd5e iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD
   0a1447d60118 kvm/x86: Avoid async PF preempting the kernel incorrectly
   9dfcfa3ac381 KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive()
   4d93aae9b293 dm crypt: fix memory leak in crypt_ctr_cipher_old()
   8ab4dc921826 dm crypt: reject sector_size feature if device length is not aligned to it
   da3c3bd6ad07 netlink: fix nla_put_{u8,u16,u32} for KASAN
   dbe7d8a9dba2 rocker: fix rocker_tlv_put_* functions for KASAN
   1fa70078bcba HID: wacom: bits shifted too much for 9th and 10th buttons
   de1b19226d80 HID: wacom: Always increment hdev refcount within wacom_get_hdev_data
   78fbbdd94b75 HID: wacom: generic: Clear ABS_MISC when tool leaves proximity
   4c0d78da4868 HID: wacom: generic: Send MSC_SERIAL and ABS_MISC when leaving prox
   f4efe333405d HID: wacom: Correct coordinate system of touchring and pen twist
   3dd5dae733f6 HID: wacom: Properly report negative values from Intuos Pro 2 Bluetooth
   429ea46a9d3a HID: wacom: leds: Don't try to control the EKR's read-only LEDs
   ffb802b9d7f9 HID: i2c-hid: allocate hid buffers for real worst case
   9a95f1edac92 HID: rmi: Make sure the HID device is opened on resume
   16be0f8ec04d arm64: Ensure the instruction emulation is ready for userspace
   8fe55ce33212 ftrace: Fix kmemleak in unregister_ftrace_graph
   86f8a516079a auxdisplay: charlcd: properly restore atomic counter on error path
   99ff327c8738 stm class: Fix a use-after-free
   d68b3c9e3511 vmbus: don't acquire the mutex in vmbus_hvsock_device_unregister()
   07d4af70fd2e Drivers: hv: fcopy: restore correct transfer length
   c106e296904b cgroup: Reinit cgroup_taskset structure before cgroup_migrate_execute() returns
   336cc70e7777 driver core: platform: Don't read past the end of "driver_override" buffer
   4384e4fd5416 intel_th: pci: Add Lewisburg PCH support
   6b8889bc67cf percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
   5524a161ced3 powerpc/tm: Fix illegal TM state in signal handler
   11939f4de59b powerpc/64s: Use emergency stack for kernel TM Bad Thing program checks
   19cae92eb3d3 powerpc/powernv: Increase memory block size to 1GB on radix
   6834ed0682d8 ALSA: usx2y: Suppress kernel warning at page allocation failures
   c73650323e57 Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members"
   435ad40590e7 ALSA: compress: Remove unused variable
   d62ff966e300 lsm: fix smack_inode_removexattr and xattr_getsecurity memleak
   8907604ceee1 lib/ratelimit.c: use deferred printk() version
   a646d2e16d5e userfaultfd: non-cooperative: fix fork use after free
   7376b8c10bde mm: avoid marking swap cached page as lazyfree
   d912b7cf15a6 mm: fix RODATA_TEST failure "rodata_test: test data was not read only"
   3a8584637eb7 mm, oom_reaper: skip mm structs with mmu notifiers
   a3a2270666cb ksm: fix unlocked iteration over vmas in cmp_and_merge_page()
   0b833e6215f1 staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist
   21163f7980af uwb: ensure that endpoint is interrupt
   3474cb66fea2 uwb: properly check kthread_run return value
   27a8bc07aaaa iio: adc: mcp320x: Fix oops on module unload
   3f8385a599bb iio: adc: mcp320x: Fix readout of negative voltages
   143b44819564 iio: ad7793: Fix the serial interface reset
   c15998910ffd iio: trigger: stm32-timer: fix a corner case to write preset
   e4445ff462ff iio: trigger: stm32-timer: preset shouldn't be buffered
   620dfbd1d966 IIO: BME280: Updates to Humidity readings need ctrl_reg write!
   3f78bc054bd0 iio: core: Return error for failed read_reg
   bb9ad7727c30 staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack.
   ef8f8aac9c40 iio: ad_sigma_delta: Implement a dedicated reset function
   91cec30e5600 iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()'
   0694b17d52b5 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()'
   9598144dd7fe Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"
   d075a0375ff9 xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor
   214dd70fd584 usb: host: xhci-plat: allow sysdev to inherit from ACPI
   f1741099affe xhci: fix wrong endpoint ESIT value shown in tracing
   ce2e382d152c xhci: fix finding correct bus_state structure for USB 3.1 hosts
   49398e9c9987 USB: fix out-of-bounds in usb_set_configuration
   fbe76115049a usb: Increase quirk delay for USB devices
   2d3ad4d1d46d USB: core: harden cdc_parse_cdc_header
   58134902731a USB: uas: fix bug in handling of alternate settings
   4fea0da59600 USB: devio: Don't corrupt user memory
   14e7521b5253 USB: devio: Prevent integer overflow in proc_do_submiturb()
   7b6d9826473c USB: dummy-hcd: Fix erroneous synchronization change
   110b5cb4d9b4 USB: dummy-hcd: fix infinite-loop resubmission bug
   86481bcda003 USB: dummy-hcd: fix connection failures (wrong speed)
   4ffa59b1c5ef USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse
   9faf2caf8cfa usb: pci-quirks.c: Corrected timeout values used in handshake
   d039e3d01004 ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor
   7c4a2bdf47db usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction
   928b7190418b usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe
   a6302dbe96dc usb-storage: fix bogus hardware error messages for ATA pass-thru devices
   78b35c89cf5e usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
   c2aafffef836 usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
   3317d2d0ff4c usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value
   251a4b607db6 usb: gadget: udc: renesas_usb3: fix for no-data control transfer
   3cb875dbac15 usb: gadget: udc: atmel: set vbus irqflags explicitly
   21f8963948de USB: gadgetfs: fix copy_to_user while holding spinlock
   57dddf4436e3 USB: gadgetfs: Fix crash caused by inadequate synchronization
   13ac3ba437dd bpf: fix bpf_tail_call() x64 JIT
   9377e85e3d96 net: rtnetlink: fix info leak in RTM_GETSTATS call
   73229f01c713 socket, bpf: fix possible use after free
   721915e62286 l2tp: fix l2tp_eth module loading
   ef4721707447 tipc: use only positive error codes in messages
   9b2249636b6e IPv4: early demux can return an error code
   857c4b1f1004 ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path
   5222b3c935d8 ip6_gre: ip6gre_tap device should keep dst
   59d0df52c04c netlink: do not proceed if dump's start() errs
   cd53a041d929 net/mlx5e: IPoIB, Fix access to invalid memory address
   6e2af86f894f net: Set sk_prot_creator when cloning sockets to the right proto
   fd767b3c9282 net: dsa: mv88e6xxx: lock mutex when freeing IRQs
   a9b7868d8603 packet: only test po->has_vnet_hdr once in packet_snd
   49791a17d4f4 packet: in packet_do_bind, test fanout with bind_lock held
   c45234f432ed tun: bail out from tun_get_user() if the skb is empty
   f6a0ed8e5f3c l2tp: fix race condition in l2tp_tunnel_delete
   b2861a38475a vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit
   b1c7b474de2d net: qcom/emac: specify the correct size when mapping a DMA buffer
   366fcb432b12 net_sched: always reset qdisc backlog in qdisc_reset()
   95cee692dafa isdn/i4l: fetch the ppp_write buffer in one shot
   2f707d184b55 net: change skb->mac_header when Generic XDP calls adjust_head
   53097ad73f85 bpf: one perf event close won't free bpf program attached by another perf event
   f42a78ad68f6 packet: hold bind lock when rebinding to fanout hook
   495589ad7efc net: ipv6: fix regression of no RTM_DELADDR sent after DAD failure
   f8fcd8e80c6b net: emac: Fix napi poll list corruption
   942383d73c7e tcp: fastopen: fix on syn-data transmit failure
   b9156f4cbc05 8139too: revisit napi_complete_done() usage
   c7da54ebfc21 net/sched: cls_matchall: fix crash when used with classful qdisc
   d366a6d8fa78 ip6_tunnel: do not allow loading ip6_tunnel if ipv6 is disabled in cmdline
   13b1a41fff28 net: phy: Fix mask value write on gmii2rgmii converter speed register
   8786b0419353 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header
   4064c6617aca udpv6: Fix the checksum computation when HW checksum does not apply
   8c1ca8be42a4 bpf/verifier: reject BPF_ALU64|BPF_END
   8c8468276d86 tcp: update skb->skb_mstamp more carefully
   6746b3e1e62f tcp: use tp->tcp_mstamp in output path
   1708658272d8 sctp: potential read out of bounds in sctp_ulpevent_type_enabled()
   4adf05c23f5d net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker
   807813b1440a net_sched: gen_estimator: fix scaling error in bytes/packets samples
   2280d8256b8f net: bonding: fix tlb_dynamic_lb default value
   9ba28de2fb47 mlxsw: spectrum: Prevent mirred-related crash on removal
   d843223f43a8 net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs
   1b7ddba95ec0 Linux 4.12.15
   9d16c1a513c7 video: fbdev: aty: do not leak uninitialized padding in clk to userspace
   bc94f3c025d3 KVM: VMX: use cmpxchg64
   cea4b7ad6495 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt
   4cebefacc13f KVM: VMX: do not change SN bit in vmx_update_pi_irte()
   5a44051221c3 x86/mm: Fix fault error path using unsafe vma pointer
   d791f8cc082d PM / OPP: Call notifier without holding opp_table->lock
   8fa3761f3899 btrfs: prevent to set invalid default subvolid
   8b7eb4320d6e btrfs: propagate error to btrfs_cmp_data_prepare caller
   66fff45ff37a btrfs: finish ordered extent cleaning if no progress is found
   d382eb1c62d7 btrfs: clear ordered flag on cleaning up ordered extents
   61f18171d910 btrfs: fix NULL pointer dereference from free_reloc_roots()
   3f619f467ff2 PCI: Fix race condition with driver_override
   8420e1f0af47 md: separate request handling
   12319e7484d2 md: fix a race condition for flush request handling
   e676df0b1216 futex: Fix pi_state->owner serialization
   b36416a27475 etnaviv: fix gem object list corruption
   691ffb4f0df4 etnaviv: fix submit error path
   a84cfcb017eb mtd: nand: atmel: fix buffer overflow in atmel_pmecc_user
   10abcdf16087 sched/sysctl: Check user input value of sysctl_sched_time_avg
   5419de995f66 xfs: validate bdev support for DAX inode flag
   1e278dd0b455 kvm: nVMX: Don't allow L2 to access the hardware CR8
   25d709528376 KVM: VMX: Do not BUG() on out-of-bounds guest IRQ
   1b5878780e93 kvm/x86: Handle async PF in RCU read-side critical sections
   acc5982be80a KVM: VMX: simplify and fix vmx_vcpu_pi_load
   1c16ff161d31 KVM: VMX: avoid double list add with VT-d posted interrupts
   0a43cc31678e KVM: VMX: extract __pi_post_block
   e7eb9c1ba767 arm64: fault: Route pte translation faults via do_translation_fault
   7babcf8e63c1 arm64: mm: Use READ_ONCE when dereferencing pointer to pte table
   38085d92217f arm64: Make sure SPsel is always set
   94a2d9d24d33 seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()
   65185bc520d1 selftests/seccomp: Support glibc 2.26 siginfo_t.h
   fc5162ded95e extable: Enable RCU if it is not watching in kernel_text_address()
   e022bf93a924 extable: Consolidate *kernel_text_address() functions
   6d755f70dff5 mmc: sdhci-pci: Fix voltage switch for some Intel host controllers
   c2125202b46c rcu: Allow for page faults in NMI handlers
   0b4ff86ce0a2 iw_cxgb4: put ep reference in pass_accept_req()
   70f0bf226a5e iw_cxgb4: remove the stid on listen create failure
   c39cd8c519dd iw_cxgb4: drop listen destroy replies if no ep found
   48a056a511a4 bsg-lib: don't free job in bsg_prepare_job
   0f4a3495da6a gfs2: Fix debugfs glocks dump
   5284e4435c06 brd: fix overflow in __brd_direct_access
   da1b0075cf0c nl80211: check for the required netlink attributes presence
   f5231169840c vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets
   98da77ff8eb5 SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags
   60746c15130d SMB3: handle new statx fields
   f874292f3df8 SMB: Validate negotiate (to protect against downgrade) even if signing off
   274d2957576d SMB3: Warn user if trying to sign connection that authenticated as guest
   69543984ef44 Fix SMB3.1.1 guest authentication to Samba
   848c26a04de0 Revert "IB/ipoib: Update broadcast object if PKey value was changed in index 0"
   df3f543b639e PM: core: Fix device_pm_check_callbacks()
   65bee7492116 s390/mm: fix write access check in gup_huge_pmd()
   b0b70437296e s390/mm: make pmdp_invalidate() do invalidation only
   3d8166e70730 s390/perf: fix bug when creating per-thread event
   5887ff9cbff2 MIPS: Fix perf event init
   ef9d7b3442ab powerpc/pseries: Fix parent_dn reference leak in add_dt_node()
   0970872dc16c KEYS: prevent KEYCTL_READ on negative key
   7427f0ec5e24 KEYS: prevent creating a different user's keyrings
   535c77f6cc0c KEYS: fix writing past end of user-supplied buffer in keyring_read()
   65e577e5d218 security/keys: rewrite all of big_key crypto
   6e4990d8d226 random: add get_random_{bytes,u32,u64,int,long,once}_wait family
   20543a488913 random: add wait_for_random_bytes() API
   37e408cf708d security/keys: properly zero out sensitive key material in big_key
   a25aa12be307 crypto: talitos - fix hashing
   e2a61a9c8de8 crypto: talitos - fix sha224
   deea80b71ca1 crypto: talitos - Don't provide setkey for non hmac hashing algs.
   42b449e1e74b crypto: drbg - fix freeing of resources
   60b92951710b drm/radeon: disable hard reset in hibernate for APUs
   b9e88e67fa58 Revert "drm/i915/bxt: Disable device ready before shutdown command"
   3f97a3dc28cc drm/i915/gvt: Fix incorrect PCI BARs reporting
   5cde5ed0e3e9 scsi: aacraid: Fix 2T+ drives on SmartIOC-2000
   31fe32c4c118 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly
   b051b4ae9e6a md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
   58b050319933 md/raid5: fix a race condition in stripe batch
   805f300c67bd tracing: Remove RCU work arounds from stack tracer
   682542006df3 tracing: Erase irqsoff trace with empty write
   82306dc328b9 tracing: Fix trace_pipe behavior for instance traces
   dbc8d3db80a1 KVM: PPC: Book3S HV: Hold kvm->lock around call to kvmppc_update_lpcr
   ffd067e2cbb0 genirq/msi: Fix populating multiple interrupts
   aab5f168d7c6 genirq: Make sparse_irq_lock protect what it should protect
   dac8a5354b20 mac80211: flush hw_roc_start work before cancelling the ROC
   f6dc54e4edf3 mac80211_hwsim: Use proper TX power
   e991455baa63 mac80211: fix VLAN handling with TXQs
   3722540c8cb3 scsi: scsi_transport_fc: fix NULL pointer dereference in fc_bsg_job_timeout
   71a7d27fd864 fs/proc: Report eip/esp in /prod/PID/stat for coredumping
   3941feee3478 cifs: release auth_key.response for reconnect.
   86806e1ac9ab cifs: release cifs root_cred after exit_cifs
   0de25f7acd91 cifs: check rsp for NULL before dereferencing in SMB2_open
   8737eec0e579 sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs
   a3f1d53c1c2b bcache: fix bch_hprint crash and improve output
   0fa332456800 bcache: fix for gc and write-back race
   6ec401ab79a1 bcache: fix sequential large write IO bypass
   273676b9a143 bcache: Correct return value for sysfs attach errors
   d8cc6ff5d172 bcache: correct cache_dirty_target in __update_writeback_rate()
   64a03d02ce82 bcache: do not subtract sectors_to_gc for bypassed IO
   bec155f8ae9b bcache: Fix leak of bdev reference
   809094f51397 bcache: initialize dirty stripes in flash_dev_run()
   6c2a71ced908 ALSA: seq: Cancel pending autoload work at unbinding device
   c29f8277f34c PM / devfreq: Fix memory leak when fail to register device
   2872fe22451a media: adv7180: add missing adv7180cp, adv7180st i2c device IDs
   c84111b698c8 media: uvcvideo: Prevent heap overflow when accessing mapped controls
   56575dd7a0ed media: v4l2-compat-ioctl32: Fix timespec conversion
   bb6ccacff00c s390/mm: fix race on mm->context.flush_mm
   7b33ee224620 s390/mm: fix local TLB flushing vs. detach of an mm address space
   e2813581906a net/netfilter/nf_conntrack_core: Fix net_conntrack_lock()
   77f420b4d792 PCI: pciehp: Report power fault only once until we clear it
   a58bbffad34d PCI: shpchp: Enable bridge bus mastering if MSI is enabled
   9caa334f7158 ARC: Re-enable MMU upon Machine Check exception
   fceed125b7a5 tracing: Apply trace_clock changes to instance max buffer
   e183b93ae81e tracing: Add barrier to trace_printk() buffer nesting modification
   b9b3fa21babe ftrace: Fix memleak when unregistering dynamic ops when tracing disabled
   82e12dcbfd1f ftrace: Fix selftest goto location on error
   5ab726174eae ftrace: Fix debug preempt config name in stack_tracer_{en,dis}able
   59ce93476f82 mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE()
   ddaf72eb0d17 scsi: qla2xxx: Fix an integer overflow in sysfs code
   f74974648540 scsi: qla2xxx: Use fabric name for Get Port Speed command
   b4cb86cdb179 scsi: qla2xxx: Use BIT_6 to acquire FAWWPN from switch
   432d773132a5 scsi: qla2xxx: Correction to vha->vref_count timeout
   6fa7602be640 scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
   d55c1d09656d scsi: sg: Re-fix off by one in sg_fill_request_table()
   3992966852f4 scsi: sg: factor out sg_fill_request_table()
   c15de6f030a9 scsi: storvsc: fix memory leak on ring buffer busy
   3c710fb3c2a0 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead
   8323a8af45f4 scsi: megaraid_sas: Check valid aen class range to avoid kernel panic
   b06876d957af scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs
   a128d0520218 scsi: megaraid_sas: mismatch of allocated MFI frame size and length exposed in MFI MPT pass through command
   d3065824b5d8 scsi: aacraid: Fix command send race condition
   9ef86a2c2f9c scsi: qedi: off by one in qedi_get_cmd_from_tid()
   991a1a973948 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN
   7373c36cf075 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response
   2bfe5894d999 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records
   c679798f4383 scsi: zfcp: fix missing trace records for early returns in TMF eh handlers
   d456a6a7eba5 scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA
   c3542a2687e4 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records
   159e38c80f1c scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path
   c6c3b0a8f550 scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled
   c3df0e8d390b skd: Submit requests to firmware before triggering the doorbell
   90b434ca7fd1 skd: Avoid that module unloading triggers a use-after-free
   d850e6fbdea2 md/bitmap: disable bitmap_resize for file-backed bitmaps.
   aee5be4e0cf6 md/bitmap: copy correct data for bitmap super
   ee6afcd47b63 block: directly insert blk-mq request from blk_insert_cloned_request()
   4dfcf18b9669 block: Relax a check in blk_start_queue()
   dd7a87a9600e powerpc: Fix DAR reporting when alignment handler faults
   4ccf03cf6796 powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs
   57a7853a3297 powerpc/powernv/npu: Move tlb flush before launching ATSD
   fce49edeb7b8 cxl: Fix driver use count
   adcbc87965eb ext4: fix quota inconsistency during orphan cleanup for read-only mounts
   6d8326041868 ext4: fix incorrect quotaoff if the quota feature is enabled
   699ec491aa59 ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets
   b9aa3e877bea wcn36xx: Introduce mutual exclusion of fw configuration
   b51f1d0bed48 regulator: cpcap: Fix standby mode
   961497c9322b crypto: AF_ALG - remove SGL terminator indicator when chaining
   e66082e0af79 crypto: caam/qi - properly set IV after {en,de}crypt
   be48e355e2b0 crypto: caam/qi - fix typo in authenc alg driver name
   c1b0aa5e489e crypto: scompress - don't sleep with preemption disabled
   bedc673ee431 crypto: ccp - Fix XTS-AES-128 support on v5 CCPs
   32bb68256227 docs: disable KASLR when debugging kernel
   ebb451616d95 MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case)
   8a9e0b68b344 MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case)
   f1045424c538 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration
   db1ba5de2711 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs
   b9891c4cf672 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs
   12ab5ebcc3f3 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation
   b3a6ac0d63b6 MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs
   797910efa67c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs
   32401438ab1c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs
   b4095004e721 MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative
   47e062700023 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero
   9db3b8a2ffed MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation
   c8b054b62131 Input: i8042 - add Gigabyte P57 to the keyboard reset table
   39d29eb95f64 pinctrl/amd: save pin registers over suspend/resume
   b36d90f0b2fb pinctrl: samsung: Fix NULL pointer exception on external interrupts on S3C24xx
   b098a309db19 pinctrl: samsung: Fix invalid register offset used for Exynos5433 external interrupts
   a6a33ff37c4c tty: improve tty_insert_flip_char() slow path
   d584d1580fc4 tty: improve tty_insert_flip_char() fast path
   361c23e37c1f drm/amdgpu: read reg in each iterator of psp_wait_for loop
   c29802eb2b14 Input: xpad - validate USB endpoint type during probe
   f56b7f2bf63e smp/hotplug: Handle removal correctly in cpuhp_store_callbacks()
   c4705a91ac8f srcu: Provide ordering for CPU not involved in grace period
   7ac16054fc2b IB/mlx5: Fix cached MR allocation flow
   1183d4d2624c IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation
   3e5ed45a45e0 IB/hfi1: Revert egress pkey check enforcement
   1994169a2b63 <linux/uaccess.h>: Fix copy_in_user() declaration
   f8d5b811ae66 orangefs: Don't clear SGID when inheriting ACLs

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/selftest/cases/wic: update OETestID decorator for test_qemu
Joshua Lock [Tue, 19 Dec 2017 17:13:12 +0000 (17:13 +0000)]
oeqa/selftest/cases/wic: update OETestID decorator for test_qemu

Test case ID 1422 is not correct for this issue, the correct test
case ID for test_qemu is 1424.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage_types_wic.bbclass: Ensure '-c image_wic' works
Otavio Salvador [Tue, 19 Dec 2017 18:14:23 +0000 (16:14 -0200)]
image_types_wic.bbclass: Ensure '-c image_wic' works

The 'wic' image may use files which has been deployed (e.g in
do_deploy) for some partitions that may need to be copied in a
specific partition or filesystem (e.g a bootloader).

When using 'bitbake <image> -c image_wic', from a clean build, the
contents of do_deploy must also be available so we need to ensure all
do_deploy of the image dependencies has been complete.

Reported-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorm_work: Handle race with -inital tasks
Richard Purdie [Tue, 19 Dec 2017 12:39:42 +0000 (12:39 +0000)]
rm_work: Handle race with -inital tasks

There is a race with rm_work when tasks run deltask do_build since
do_rm_work becomes a floating task. Handle this by injecting
the populate_sysroot/lic dependencies manually if the tasks returned
are empty. This depends on a change to fix bb.build.preceedtask() in
bitbake too.

[YOCTO #12365]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc: Drop 6.4
Richard Purdie [Tue, 19 Dec 2017 11:56:57 +0000 (11:56 +0000)]
gcc: Drop 6.4

We've had 7.x around for long enough now that it should be tested and usable
everywhere, drop 6.4.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/selftest/buildoptions: Add test for fortran compiler building
Richard Purdie [Tue, 19 Dec 2017 11:27:54 +0000 (11:27 +0000)]
oeqa/selftest/buildoptions: Add test for fortran compiler building

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/selftest/archiver: Add test for srpm archiver mode dependencies
Richard Purdie [Tue, 19 Dec 2017 11:27:25 +0000 (11:27 +0000)]
oeqa/selftest/archiver: Add test for srpm archiver mode dependencies

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibgfortran: Fix breakage from libbacktrace dependency
Richard Purdie [Tue, 19 Dec 2017 11:28:28 +0000 (11:28 +0000)]
libgfortran: Fix breakage from libbacktrace dependency

In 6.x and 7.x gcc, libgfortran now needs libbacktrace. Enable building of this
so that libgfortran builds correctly.

[YOCTO #12394]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodepmodwrapper-cross: Set PACKAGES=''
Richard Purdie [Tue, 19 Dec 2017 09:46:33 +0000 (09:46 +0000)]
depmodwrapper-cross: Set PACKAGES=''

This recipe inherits nopackages but has a non-empty PACKAGES which confuses
the archiver class when:

INHERIT += "archiver"
ARCHIVER_MODE[srpm] = "1"

Ensuring PACKAGES is empty removes the errors that occur in this configuration.

[YOCTO #11121]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage.bbclass: Add additional bb.debug to help track 12304
Saul Wold [Thu, 7 Dec 2017 04:28:34 +0000 (20:28 -0800)]
image.bbclass: Add additional bb.debug to help track 12304

We actually caught the ext4 size issue in the wild with the debug
output in the oe_mkext234fs() code, but it did not help.  What that
showed was that the get_rootfs_size was returning a default size of
8192, where as the actual rootfs was more like 10572, thus too large
to fit in the created sparse file.

This additional temporary debug code should help us determine where
the failure might be.

More debug for
[YOCTO #12304]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agometa-selftest: wic: Add test for --use-uuid / --fsuuid
Tom Rini [Thu, 14 Dec 2017 03:20:26 +0000 (22:20 -0500)]
meta-selftest: wic: Add test for --use-uuid / --fsuuid

- Mount a '/media' partition to wic-image-minimal.wks with a known UUID.
- In test_qemu, sort our output from checking the output of 'mount' as
  it may not be stable.  Also, do not check the exit code as passing any
  output to cut ensures a 0 exit code.
- Check for a 'UUID=' line in /etc/fstab with out expected output.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: Introduce --fsuuid and have --use-uuid make use of UUID too
Tom Rini [Thu, 14 Dec 2017 03:20:25 +0000 (22:20 -0500)]
wic: Introduce --fsuuid and have --use-uuid make use of UUID too

First, allow for wic to be given a filesystem UUID to be used when
creating a filesystem.  When not provided, wic will generate the UUID to
be used.  Next, when --use-uuid is passed, we update the fstab to mount
things via UUID (and if not found, then use PARTUUID) as UUID is more
portable.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: partition.py: Update comments slightly
Tom Rini [Thu, 14 Dec 2017 03:20:24 +0000 (22:20 -0500)]
wic: partition.py: Update comments slightly

First, we support squashfs as root, so mention that.  Second, the btrfs
rootfs creation function had a copy/paste of the previous function
comment, remove the irrelevant line.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: kparser.py: Check for SquashFS and use-uuid
Tom Rini [Thu, 14 Dec 2017 03:20:23 +0000 (22:20 -0500)]
wic: kparser.py: Check for SquashFS and use-uuid

The SquashFS filesystem does not support UUIDs so make this combination
be an error.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage_types: btrfs use sparse file creation
Saul Wold [Thu, 7 Dec 2017 03:37:10 +0000 (19:37 -0800)]
image_types: btrfs use sparse file creation

This will speed up file creation and still allow the btrfs tools to
create a full btrfs image.  This is similar to what we do for ext234
FS types.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers.inc: add an entry for pkgconf
Alexander Kanavin [Wed, 13 Dec 2017 15:28:18 +0000 (17:28 +0200)]
maintainers.inc: add an entry for pkgconf

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agomaintainers.inc: add an entry for dwarfsrcfiles
Alexander Kanavin [Tue, 12 Dec 2017 13:08:31 +0000 (15:08 +0200)]
maintainers.inc: add an entry for dwarfsrcfiles

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agodevtool: add license checksum change handling to 'devtool upgrade'
Alexander Kanavin [Mon, 27 Nov 2017 14:47:22 +0000 (16:47 +0200)]
devtool: add license checksum change handling to 'devtool upgrade'

Specifically, 'devtool upgrade' will now do these things:

1) determine if any of the license checksums need updating; if so,
write the new checksums into the LIC_FILES_CHKSUM value in the recipe
that is written to the workspace;

2) print a notice to the standard output:

NOTE: New recipe is /home/ak/development/poky/build/workspace/recipes/puzzles/puzzles_git.bb
NOTE: License checksums have been updated in the new recipe; please refer to it for the difference between the old and the new license texts.

3) and the cool part: devtool will create a diff of the old and new licenses,
and write the diff into the workspace recipe as a comment, like this:

======
 FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
 The following is the difference between the old and the new license text.
 Please update the LICENSE value if needed, and summarize the changes in
 the commit message via 'License-checksum-change:' tag.
 (example: 'License-checksum-change: copyright years updated.')

 The changes:

 --- LICENCE
 +++ LICENCE
 @@ -1,8 +1,9 @@
  This software is copyright (c) 2004-2014 Simon Tatham.

  Portions copyright Richard Boulton, James Harvey, Mike Pinna, Jonas
 -Klker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
 -Schmidt, Steffen Bauer, Lennard Sprong and Rogier Goossens.
 +Kölker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd
 +Schmidt, Steffen Bauer, Lennard Sprong, Rogier Goossens and Michael
 +Quevillon.

  Permission is hereby granted, free of charge, to any person
  obtaining a copy of this software and associated documentation files

======

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agodevtool: provide useful defaults for version/commit when upgrading recipes
Alexander Kanavin [Thu, 23 Nov 2017 15:27:47 +0000 (17:27 +0200)]
devtool: provide useful defaults for version/commit when upgrading recipes

Specifically, 'devtool upgrade' will use the latest upstream release if available
or latest commit if upstream never makes releases.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agodevtool: add a 'latest-version' command
Alexander Kanavin [Thu, 23 Nov 2017 15:11:40 +0000 (17:11 +0200)]
devtool: add a 'latest-version' command

This command queries the upstream server for what the latest release is and prints
the output; it is a much neater way to find out these things than fumbling with distrodata,
'bitbake -c checkpkg' and awkward to read csv output in a file.

Examples:

python3 (tarballs):
NOTE: Current version: 3.5.3
NOTE: Latest version: 3.6.3

rpm (git):
NOTE: Current version: 4.13.90
NOTE: Latest version: 4.14.0
NOTE: Latest version's commit: da3720f62e57648fb1dc2a632744d38866139971

puzzles (git without version tags):
NOTE: Latest commit: ee8ea9b9785964694cb2b3ad77c3fb2460f49510

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoswig: add patch to support Node.js 7+
Paul Eggleton [Mon, 11 Dec 2017 02:44:20 +0000 (15:44 +1300)]
swig: add patch to support Node.js 7+

Add a patch which has been submitted upstream to support producing
bindings for Node.js 7+. This is important to enable mraa to build with
newer Node.js versions.

Fixes [YOCTO #12293].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodbus-test: upgrade to 1.12.2
Chen Qi [Fri, 8 Dec 2017 05:03:14 +0000 (13:03 +0800)]
dbus-test: upgrade to 1.12.2

Upgrade dbus-test to 1.12.2 as dbus has been upgraded to this version.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodbus: upgrade to 1.12.2
Chen Qi [Fri, 8 Dec 2017 05:03:13 +0000 (13:03 +0800)]
dbus: upgrade to 1.12.2

1. os-test.patch is removed because current dbus has removed
   distro specific init script.

2. Add autoconf-archive to DEPENDS to fix do_configure failure as below.
     error: Unexpanded AX_ macro found.

3. Modify FILES variable to fix installed-vs-shipped QA issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoconf/machine/include/microblaze: Add MicroBlaze architecture includes
Nathan Rossi [Thu, 7 Dec 2017 09:52:24 +0000 (19:52 +1000)]
conf/machine/include/microblaze: Add MicroBlaze architecture includes

Add architecture and tune includes for MicroBlaze. This covers
architecture configuration as well as tune configuration and features.

The Xilinx MicroBlaze architecture is a soft-core CPU architecture
designed for implementation on Xilinx FPGAs. Because the CPU is a
soft-core it can be configured differently depending on resource and
performance constraints which affect the ABI and supported instructions.
The architecture is also used in other Xilinx products where the core is
implemented as part of fixed silicon (e.g. Xilinx ZynqMP).

The default tune include 'tune-microblaze.inc' provides the baseline (no
features enabled) tune configuration for a target machine. This is
similar to other architectures such that the machine.conf includes a
tune-*.inc. However due to the customizability configuration is
specifically handled on a per machine basis. A machine should configure
the available tune features by setting the available features directly
by appending to the 'TUNE_FEATURES_tune-microblaze' variable.

This tune configuration approach is preferred to avoid the definition of
an otherwise large set of possible tune configurations for the available
features (14 CPU versions and 11 feature configurations), which would
otherwise require >1024 predefined tune configurations.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackagegroup-core-tools-testapps: kexec does not support MicroBlaze
Nathan Rossi [Wed, 6 Dec 2017 09:43:56 +0000 (19:43 +1000)]
packagegroup-core-tools-testapps: kexec does not support MicroBlaze

The kexec-tools do not currently support MicroBlaze, override the
KEXECTOOLS variable to disable the inclusion of these tools in the
packagegroup.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackagegroup-core-sdk: Disable SANITIZERS for MicroBlaze
Nathan Rossi [Wed, 6 Dec 2017 09:43:28 +0000 (19:43 +1000)]
packagegroup-core-sdk: Disable SANITIZERS for MicroBlaze

The libasan and libubsan sanitizers are not available for MicroBlaze.
Follow the overriding of the SANITIZERS variable as done for other
architectures to remove these from the packagegroup when targeting
MicroBlaze.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: fix segfault when terminating systemd --test
Joe Slater [Wed, 6 Dec 2017 19:27:18 +0000 (11:27 -0800)]
systemd: fix segfault when terminating systemd --test

Currently, if "systemd --test" is not allowed to complete
sending output, it will segfault.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorecipetool: create: fix conflict between SRCREV and tag
Chang Rebecca Swee Fun [Wed, 15 Nov 2017 02:01:13 +0000 (10:01 +0800)]
recipetool: create: fix conflict between SRCREV and tag

If you specify 'tag=' for a git URL and passed to recipetool create, you
will get into Bitbake expansion error shown below:

----- snip -----
$ devtool add --version 2.4.2 mbedtls "git://github.com/ARMmbed/mbedtls;tag=mbedtls-2.4.2"
...
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Conflicting revisions (abeccb9dbd7e19ae91ac50e1edd3803111c5f9b6 from SRCREV and mbedtls-2.4.2 from the url) found, please specify one valid value
----- snip -----

Assuming the tag is valid, we should get the tag commit hash and
drop the usage of 'tag=' from SRC_URI. By using a commit hash
corresponding to the tag will prevent bitbake from accessing
remote repository in order to expand SRCPV.

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: Upgrade to 17.2.6 stable release
Otavio Salvador [Mon, 4 Dec 2017 18:53:31 +0000 (16:53 -0200)]
mesa: Upgrade to 17.2.6 stable release

This upgrades the recipe to 17.2.6 bugfix release.

The changes can be seen at:

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

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxslt: remove inappropriate patch
Ross Burton [Wed, 6 Dec 2017 14:55:33 +0000 (14:55 +0000)]
libxslt: remove inappropriate patch

This was patching -lxslt directly into the pkgconfig file, but XSLT_LIBS already
contains this so the patch is redundant.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxslt: use HTTP instead of FTP in SRC_URI
Ross Burton [Wed, 6 Dec 2017 14:10:42 +0000 (14:10 +0000)]
libxslt: use HTTP instead of FTP in SRC_URI

FTP isn't as reliable as HTTP.

[ YOCTO #12398 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoicu: fix libicudata corruption on big endian system
Yi Zhao [Tue, 5 Dec 2017 01:17:04 +0000 (09:17 +0800)]
icu: fix libicudata corruption on big endian system

ICU library libicudata is created with a wrong endianness if the host
and target have different endianness. (e.g. build ICU for qemuppc on
x86-64 host)
See upstream bug report: http://bugs.icu-project.org/trac/ticket/11758

The discussion in oe-core mailing list:
https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg65155.html

The root cause is the native pkgdata can not generate correct icu data
for different endianness. By default, this data is built into the shared
library libicudata that would cause it corrupt. But ICU also provides
additional options for loading the data. With option
--with-data-packaging=archive, ICU outputs a single icudt.dat file which
can be loaded by the library.
See document: http://userguide.icu-project.org/icudata

So for big endian system, we can use the separated data file which
re-generates by icupkg and set the correct ICU_DATA environment variable
to make sure the library can load the data without problems.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoautoconf: Override config.guess/.sub in source tree
Nathan Rossi [Wed, 6 Dec 2017 09:51:57 +0000 (19:51 +1000)]
autoconf: Override config.guess/.sub in source tree

autoconf has not been released in a number of years. However many
changes have been made to the gnu-config config.guess/.sub since 2.69,
including new architectures, OS variants, etc. In order to enable these
targets without creating patches for the source itself populate the
gnu-config files from the sysroot as is done with autotools recipes.
Whilst it is not possible for the autoconf recipe to bootstrap its
configure task (using the autotools_do_configure), the files can be
manually copied into the target location.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoovmf: Fix build failure for PARALLEL_MAKE with no space
Jason Wessel [Tue, 5 Dec 2017 17:51:16 +0000 (09:51 -0800)]
ovmf: Fix build failure for PARALLEL_MAKE with no space

The ovmf package fails to build if you use a PARALLEL_MAKE flag
without a space in it.  If you put the following in local.conf for
example:

     PARALLEL_MAKE = "-j4"

The build will fail with as follows:

| build.exe: error: Option -n only allows one instance in command line!
| WARNING: /opt/build/ovmf/git-r0/temp/run.do_compile.26080:1 exit 2 from '/opt/build/ovmf/git-r0/git/OvmfPkg/build.sh $PARALLEL_JOBS -a $OVMF_ARCH -b RELEASE -t ${FIXED_GCCVER}'
| ERROR: Function failed: do_compile (log file is located at /opt/build/ovmf/git-r0/temp/log.do_compile.26080)

The failure is because the build.sh expects a space.  The simple work
around is to fix the recipe to add some white space.  The build.sh
only cares that it gets at least one space between the arguments, the
extra space if someone uses "-j 4" does not cause problems.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglib-2.0: fix for non-utf8 encoded files
Jackie Huang [Tue, 5 Dec 2017 07:56:44 +0000 (15:56 +0800)]
glib-2.0: fix for non-utf8 encoded files

Some source files aren't valid utf-8 containing for example
iso8859-1 accented characters in author's names.
Replace invalid data with a replacement '?' character and
print a warning to keep things working.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoprelink_git.bb: Update recipe to newest commit
Nathan Rossi [Wed, 6 Dec 2017 09:40:22 +0000 (19:40 +1000)]
prelink_git.bb: Update recipe to newest commit

Update prelink to the newest commit on the cross_prelink ref. This
includes the following changes:

  05aeafd053 Disable automatic generation of prelink.pdf
  aa2985eefa src/rtld: Add MicroBlaze support based on glibc-2.24
  62f80843f8 README: update information on reloc8/reloc9 failures

The primary purpose of this update is to enable the added MicroBlaze
rtld support so as to enable gobject-introspection for MicroBlaze.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocoreutils: add PACKAGECONFIG for single-binary
Chen Qi [Mon, 4 Dec 2017 10:25:37 +0000 (18:25 +0800)]
coreutils: add PACKAGECONFIG for single-binary

Add PACKAGECONFIG for single-binray. Disable it by default.

When enabled, there would only be one binary file /usr/bin/coreutils, other
files like 'ls' are text files containing contents like:

  #!/usr/bin/coreutils --coreutils-prog-shebang=ls

And the size of the rpm package reduces from 849K to 519K.

Default to disable this option to keep the traditional behaviour.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocoreutils: upgrade to 8.28
Chen Qi [Wed, 6 Dec 2017 04:37:05 +0000 (12:37 +0800)]
coreutils: upgrade to 8.28

Upgrade coreutils to 8.28.

Backport a patch to fix the following build error on centos7.

  warning: unreferenced node `Realpath usage examples'

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotargetcontrol.py: use oe.types.boolean for QEMU_USE_KVM
Robert Yang [Mon, 13 Nov 2017 18:19:22 +0000 (02:19 +0800)]
targetcontrol.py: use oe.types.boolean for QEMU_USE_KVM

So that both QEMU_USE_KVM = "True" and "1" will work.

[YOCTO #12343]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibunistring: upgrade to 0.9.8
Maxin B. John [Tue, 5 Dec 2017 11:51:46 +0000 (13:51 +0200)]
libunistring: upgrade to 0.9.8

Refreshed the following patch:
        iconv-m4-remove-the-test-to-convert-euc-jp.patch

No change in license as update in License Checksum is due
to change in Copyright years.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoorc: upgrade to 0.4.28
Maxin B. John [Tue, 5 Dec 2017 11:51:45 +0000 (13:51 +0200)]
orc: upgrade to 0.4.28

0.4.27 -> 0.4.28

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>