It isn't clear that the README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file in the deploy directory warrants the complexity it brings elsewhere.
Let's just remove it entirely.
In particular, if two do_image_complete tasks run in parallel they risk
both trying to put their image into ${DEPLOY_DIR_IMAGE} at the same time.
Both will contain a README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file. In theory this should be safe because "cp -alf" will just cause one
to overwrite the other. Unfortunately, coreutils cp also has a race[1]
which means that if one copy creates the file at just the wrong point the
other will fail with:
cp: cannot create hard link ‘..../tmp-glibc/deploy/images/pantera/README_-_DO_NOT_DELETE_FILES_IN_THIS_D.txt’ to
+‘..../tmp-glibc/work/rage_against-oe-linux-gnueabi/my-own-image/1.0-r0/deploy-my-own-image-complete/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt’: File exists
Patrick Ohly [Thu, 23 Feb 2017 17:38:55 +0000 (18:38 +0100)]
ovmf: increase path length limit
The VfrCompile tool has a hard-coded maximum length for path names
which turned out to be too small by around 20 characters in the
Yocto autobuilder setup. Increasing the maximum by a factor of 4
is relatively easy and makes the problem less likely.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Patrick Ohly [Wed, 21 Dec 2016 08:18:05 +0000 (09:18 +0100)]
ovmf: build image which enrolls standard keys
When booting a qemu virtual machine with ovmf.secboot, it comes up
with no keys installed and thus Secure Boot disabled. To lock down
the machine like a typical PC, one has to enroll the same keys
that PC vendors normally install, i.e. the ones from Microsoft.
This can be done manually (see
https://wiki.ubuntu.com/SecurityTeam/SecureBoot and
https://github.com/tianocore-docs/Docs/raw/master/White_Papers/A_Tour_Beyond_BIOS_into_UEFI_Secure_Boot_White_Paper.pdf) or automatically with the EnrollDefaultKeys.efi helper
from the Fedora ovmf rpm.
To use this with qemu:
$ bitbake ovmf-shell-image
...
$ runqemu serial nographic qemux86 ovmf-shell-image wic ovmf.secboot
...
UEFI Interactive Shell v2.1
EDK II
UEFI v2.60 (EDK II, 0x00010000)
Mapping table
FS0: Alias(s):HD2b:;BLK4:
PciRoot(0x0)/Pci(0x5,0x0)/HD(1,GPT,06AEF759-3982-4AF6-B517-70BA6304FC1C,0x800,0x566C)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x0)
BLK1: Alias(s):
PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x1)
BLK2: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
BLK3: Alias(s):
PciRoot(0x0)/Pci(0x5,0x0)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> fs0:EnrollDefaultKeys.efi
info: SetupMode=1 SecureBoot=0 SecureBootEnable=0 CustomMode=0 VendorKeys=1
info: SetupMode=0 SecureBoot=1 SecureBootEnable=1 CustomMode=0 VendorKeys=0
info: success
Shell> reset
Remember that this will modify
deploy/images/qemux86/ovmf.secboot.qcow2, so make a copy and use the
full path of that copy instead of the "ovmf" argument if needed.
The ovmf-shell-image contains an EFI shell, which is what got started
here directly. After enrolling the keys, Secure Boot is active and the
same image cannot be booted anymore, so the BIOS goes through the
normal boot targets (including network boot, which can take a while to
time out), and ends up in the internal EFI shell. Trying to invoke
bootia32.efi (the shell from the image) or EnrollDefaultKeys.efi then
fails:
Shell> bootia32.efi
Command Error Status: Security Violation
The main purpose at the moment is to test that Secure Boot enforcement
really works. If we had a way to sign generated images, that part could
also be tested by booting in a locked down qemu instance.
0007-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch is
from
https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/0007-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch?id=b1781931894bf2057464e634beed68b1e3218c9e
with one line changed to fix
https://bugzilla.redhat.com/show_bug.cgi?id=132502:
"EFI_STATUS Status = EFI_SUCCESS;" in EnrollListOfX509Certs() lacked
the initializer.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Patrick Ohly [Fri, 16 Dec 2016 14:18:12 +0000 (15:18 +0100)]
runqemu: support UEFI with OVMF firmware
In the simplest case, "runqemu qemux86 <some-image> qcow2 ovmf" for an
EFI-enabled image in the qcow2 format will locate the ovmf.qcow2
firmware file deployed by the ovmf recipe in the image deploy
directory, override the graphics hardware with "-vga std" because that
is all that OVMF supports, and boot with UEFI enabled.
ovmf is not built by default. Either do it explicitly ("bitbake ovmf")
or make it a part of the normal build
("MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = ' ovmf'").
The firmware file is activated as a flash drive instead of using the
qemu BIOS parameters, because that is the recommended method
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764918#47) as it
allows storing UEFI variables in the file.
Instead of just "ovmf", a full path to an existing file can also be
used, just as with the rootfs. That may be useful when making a
permanent copy of the virtual machine data files.
It is possible to specify "ovmf*" parameters more than once, then
each parameter creates a separate flash drive. This way it is possible
to use separate flash drives for firmware code and variables:
$ runqemu qemux86 <some-image> qcow2 ovmf.code ovmf.vars"
Note that rebuilding ovmf will overwrite the ovmf.vars.qcow2 file in
the image deploy directory. So when the goal is to update the firmware
while keeping variables, make a copy of the variable file and use
that:
$ mkdir my-machine
$ cp tmp/deploy/images/qemux86/ovmf.vars.qcow2 my-machine/
$ runqemu qemux86 <some-image> qcow2 ovmf.code my-machine/ovmf.vars.qcow2
When Secure Boot was enabled in ovmf, one can pick that instead of
the non-Secure-Boot enabled ovmf.code:
$ runqemu qemux86 <some-image> qcow2 ovmf.secboot.code my-machine/ovmf.vars.qcow2
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Patrick Ohly [Tue, 10 Jan 2017 11:11:21 +0000 (12:11 +0100)]
runqemu: also accept -image suffix for rootfs parameter
The magic detection of the rootfs parameter only worked for image
recipes which embedd the "image" string in the middle, as in
"core-image-minimal".
Sometimes it is more natural to call an image "something-image". To
get such an image detected by runqemu, "-image" at the end of a
parameter must also cause that parameter to be treated as the rootfs
parameter.
Inside the image directory, "something-image" has an -<arch> suffix
and thus no change is needed for those usages of
re.search('-image-'). However, while at it also enhance those string
searches a bit (no need for re; any()+map() a bit closer to the
intended logic).
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Patrick Ohly [Tue, 20 Dec 2016 07:47:21 +0000 (08:47 +0100)]
ovmf_git.bb: enable Secure Boot
When enabled via PACCKAGECONFIG = "secureboot" (off by default because
of the extra work and license change), the recipe compiles OVMF twice,
once without Secure Boot, once with. This is the same approach as in
https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec
The results are "ovmf.qcow2" and "ovmf.secboot.qcow2" in the
image deploy directory, so
runqemu <machine> <image> ovmf.secboot
will boot with Secure Boot enabled.
ovmf.secboot.code.qcow2 is provided for those who want separate code
and variable flash drives. The normal ovmf.vars.qcow2 can be used with
it.
In contrast to Fedora, no attempt is made to strip potentially patent
encumbered algorithms out of the OpenSSL archive. OVMF does not use
the ones considered problematic for Fedora, so this shouldn't be a
problem.
Fixes: luv-yocto/#38 Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Patrick Ohly [Mon, 19 Dec 2016 16:02:43 +0000 (17:02 +0100)]
ovmf_git.bb: enable parallel compilation
The Fedora srpm [1] seems to have no problems with parallel
compilation, so let's also use that for the target. The native
tools however indeed have dependency problems:
Patrick Ohly [Fri, 16 Dec 2016 14:07:29 +0000 (15:07 +0100)]
ovmf: deploy firmware in image directory
When used with '-drive if=pflash', qemu will store UEFI variables
inside the firmware image file. That is unexpected for a file located in
the sysroot, which should be read-only, while it is normal for image
files in the deploy/images directory. Therefore that directory is a
better place for use with runqemu.
The name was chose so that "runqemu ovmf" can be used as shorthand for
"runqemu <full path>/ovmf.qcow2" by treating "ovmf" as the base name
of the firmware file. "ovmf.secboot.qcow2" is meant to be used for the
Secure Boot enabled firmware.
qcow2 is used because it is needed for "savevm" snapshots of a virtual
machine.
With code and variables stored in the same ovmf.qcow2 it is not
possible to update the firmware code without also overwriting the
variables. For users who care about persistent variables, the code and
variables are also provided as separate files, in ovmf.code.qcow2 and
ovmf.vars.qcow2.
The traditional usage of OVMF via the qemu bios parameter ("biosdir"
and/or "biosfilename" in runqemu) is no longer recommended, and
therefore this recipe no longer provides the bios.bin file. Instead,
OVMF is meant to be used as flash drive in qemu. See the "runqemu:
support UEFI with OVMF firmware" patch for details on how to use OVMF
that way.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Patrick Ohly [Fri, 20 Jan 2017 13:26:59 +0000 (14:26 +0100)]
acpica: work around flex 2.6.2 code generation issue
Without this patch, linking fails with a missing implementation of
yy_scan_string. This looks like a regression in flex, because 2.6.0 generated
different code that called PrParser_scan_string
resp. DtParser_scan_string.
Working around that in acpica until this is better understood or fixed
in flex is the easiest solution for now.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Fathi Boudra [Tue, 10 Jan 2017 14:55:10 +0000 (15:55 +0100)]
acpica: move from meta-oe to OE-core
qemu support for UEFI in OE-core depends on OVMF, which needs the iasl
tools provided by this recipe. There's also an iasl recipe in
meta-luv, but than can and will be replaced by this one, thus reducing
overall maintenance work.
Copied from meta-openembedded rev fa65be9ba (current master).
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Patrick Ohly [Fri, 20 Jan 2017 07:51:07 +0000 (08:51 +0100)]
qemu: support virtual TPM
This enables the use of swtpm (from meta-security) as a virtual TPM in
qemu. These patches extend the existing support in qemu for TPM
passthrough so that a swtpm daemon can be accessed via CUSE (character
device in user space).
To use this:
- add the meta-security layer including the swtpm enhancements for qemu
- bitbake swtpm-native
- create a TPM instance and initialize it with:
$ mkdir -p my-machine/myvtpm0
$ tmp-glibc/sysroots/x86_64-linux/usr/bin/swtpm_setup_oe.sh --tpm-state my-machine/myvtpm0 --createek
Starting vTPM manufacturing as root:root @ Fri 20 Jan 2017 08:56:18 AM CET
TPM is listening on TCP port 52167.
Successfully created EK.
Successfully authored TPM state.
Ending vTPM manufacturing @ Fri 20 Jan 2017 08:56:19 AM CET
- run swtpm *before each runqemu invocation* (it shuts down after use) and
do it as root (required to set up the /dev/vtpm0 CUSE device):
Jussi Kukkonen [Thu, 23 Feb 2017 14:49:49 +0000 (16:49 +0200)]
libva: Find the correct wayland-scanner
* Add a patch to make sure wayland-scanner from native sysroot is used
* Depend on wayland-native to get the scanner into the sysroot
* Add a patch to make sure the scanner really is used
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Mariano Lopez [Wed, 22 Feb 2017 13:12:55 +0000 (13:12 +0000)]
selftest/eSDK.py: Cleanup when there is an error in setUpClass
Lately autobuilders are experiencing hangs with selftest,
it seems it is cause if an error happens in setUpClass
method of oeSDKExtSelfTest class because HTTP server
keeps running in background.
This patch will ensure tearDownClass will be run if there
is an error in setUpClass.
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Maxin B. John [Tue, 21 Feb 2017 11:55:07 +0000 (13:55 +0200)]
iptables: upgrade to 1.6.1
1.6.0 -> 1.6.1
Refreshed the following patches:
a) 0001-configure-Add-option-to-enable-disable-libnfnetlink.patch
b) 0002-configure.ac-only-check-conntrack-when-libnfnetlink-enabled.patch
Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Andy Kling [Wed, 15 Feb 2017 06:15:16 +0000 (07:15 +0100)]
dbus: do not use systemctl from host for configure
configure.ac from dbus uses $PATH to get the location of systemctl.
If it is not found /usr/bin/systemctl is used. It is possible to
override the location by passing SYSTEMCTL=[value] to configure.
The value is used to replace @SYSTEMCTL@ in systemd-user/dbus.socket.in.
dbus.socket sets the environment variable DBUS_SESSION_BUS_ADDRESS
using systemctl.
dbus does not depend on systemd-systemctl-native, so location from
host installation or the default value gets used. Adding
systemd-systemctl to the build would give path from sysroot.
Forcing SYSTEMCTL=${base_bindir}/systemctl for target gives the
correct path there and the environment variable is set after a user
session was opened.
[YOCTO #11002]
Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
Tanu Kaskinen [Wed, 15 Feb 2017 07:13:03 +0000 (09:13 +0200)]
alsa-lib: merge alsa-conf-base into alsa-conf
As far as I can see, there's no benefit in having separate alsa-conf and
alsa-conf-base packages. libasound depended on both, so it was not
really possible to only install alsa-conf-base.
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com>
Tanu Kaskinen [Wed, 15 Feb 2017 07:13:02 +0000 (09:13 +0200)]
alsa-lib: fix softfloat enabling
EXTRA_OECONF = "--disable-python" overrode the previous EXTRA_OECONF
assignment, so softfloat didn't get enabled when needed. Fixed this by
replacing "=" with "+=".
Bitbake then complained about tabs in alsa-fpu.inc, changed them to
spaces.
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Ross Burton <ross.burton@intel.com>
Added a patch to fix a build failure with musl (cherry-picked from
upstream).
The new release doesn't any more install the smixer modules when Python
support is disabled. The modules weren't usable without Python support
before either, so this change does not constitute a loss of
functionality [1].
alsa-lib-dev has automatic dependencies on alsa-lib and libasound, but
since the smixer modules were the only thing in the alsa-lib package,
the alsa-lib package doesn't get generated any more. alsa-lib-dev still
has an automatic dependency on alsa-lib, however, so I had to override
the RDEPENDS of alsa-lib-dev to only include libasound.
lsb: lsb_release script incompatible with busybox head and find
Busybox implementation only supports head -1 option if ENABLE_INCLUDE_SUSv2
or ENABLE_FEATURE_FANCY_HEAD configuration options are enabled. Also the -and
option for find is only supported if ENABLE_DESKTOP configuration option is
enabled. These configuration options are not enabled in several builds, which is
why this patch is needed.
[YOCTO #11041]
Signed-off-by: Athanasios Oikonomou <athoik@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Mike Crowe [Mon, 20 Feb 2017 10:33:13 +0000 (10:33 +0000)]
ccache: Upgrade to v3.3.4
Only the copyright year has been updated in LICENSE.txt. The license text
itself has not changed.
This version fixes a bug with dependency output that could cause problems
when compiling kernels for different MACHINEs using a shared ccache. See
https://github.com/ccache/ccache/issues/158
Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Robert Yang [Mon, 20 Feb 2017 08:46:35 +0000 (00:46 -0800)]
gettext: fix formatting issues
Fixed when compile with "-Wformat -Wformat-security -Werror=format-security":
| gettext-tools/gnulib-lib/libcroco/cr-statement.c: In function 'cr_statement_dump_charset':
| gettext-tools/gnulib-lib/libcroco/cr-statement.c:2661:17: error: format not a string literal and no format arguments [-Werror=format-security]
| fprintf (a_fp, str) ;
And:
gettext-tools/gnulib-lib/libxml/timsort.h:326:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);
[YOCTO #9544]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Mon, 20 Feb 2017 16:56:24 +0000 (16:56 +0000)]
unifdef: add UPSTREAM_CHECK_REGEX to filter out development snapshots
Upstream is releasing development snapshots of the form
unifdef-2.11.23.1cca442.tar.gz so filter out versions which end is something
that looks like a git SHA.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Fri, 17 Feb 2017 16:58:32 +0000 (16:58 +0000)]
btrfs-tools: don't run autogen.sh
Instead of running autogen.sh (which runs autoconf et al) before running
autoreconf (which runs autoreconf et al...) just do the one task that we need
from autogen.sh: copying install-sh from automake's libdir.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Khem Raj [Thu, 16 Feb 2017 21:19:57 +0000 (13:19 -0800)]
qemu-native: Point python to python2 on build host
On buildhosts where default python has switched to using python3
qemu-native fails configure like this
| ERROR: Cannot use 'python', Python 2.6 or later is required.
| Note that Python 3 or later is not yet supported.
| Use --python=/path/to/python to specify a supported Python.
|
we still expect build host to have python2 pre-installed
and is always available.
Patrick Ohly [Fri, 17 Feb 2017 16:14:10 +0000 (17:14 +0100)]
libarchive: fix bzip2 dependency for native build
When DEPENDS=bzip2 becomes bzip2-native in libarchive-native,
the dependency ends up getting ignored because bzip2-native
is in ASSUME_PROVIDED.
But we need the library and thus have to depend on
bzip2-replacement-native, otherwise the build proceeds
without it despite the explicit --with-bz2lib.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The demangler in GNU Libiberty allows remote attackers to cause a denial
of service (infinite loop, stack overflow, and crash) via a cycle in the
references of remembered mangled types.
PR c++/71696
* cplus-dem.c: Prevent infinite recursion when there is a cycle
in the referencing of remembered mangled types.
(work_stuff): New stack to keep track of the remembered mangled
types that are currently being processed.
(push_processed_type): New method to push currently processed
remembered type onto the stack.
(pop_processed_type): New method to pop currently processed
remembered type from the stack.
(work_stuff_copy_to_from): Copy values of new variables.
(delete_non_B_K_work_stuff): Free stack memory.
(demangle_args): Push/Pop currently processed remembered type.
(do_type): Do not demangle a cyclic reference and push/pop
referenced remembered type.
cherry-picked from commit of
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239143 138bc75d-0d04-0410-961f-82ee72b054a4
Robert Yang [Wed, 15 Feb 2017 06:25:10 +0000 (22:25 -0800)]
tcl: fix sed in do_install()
The command:
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
was used for replacing "${WORKDIR}", but it also replaced
"-L${WORKDIR}", but binconfig.bbclass would replace "-L${WORKDIR}", too,
which caused incorrect result, use "'${WORKDIR}" to fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andre McCurdy [Tue, 14 Feb 2017 13:57:49 +0000 (05:57 -0800)]
weston: fix LIC_FILES_CHKSUM endline and md5sum for src/compositor.c
The license text in Weston sources was changed from "MIT X11" to "MIT
Expat" in the 1.9.0 release. The new text is 3 lines longer than the
previous version, so endline and md5 hash have been incorrect for the
oe-core weston recipes from 1.9.0 onwards.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stephen Arnold [Mon, 13 Feb 2017 02:25:27 +0000 (18:25 -0800)]
gcc-6: Add fix for missing no-PIE flags
Fixes build on hardened PAX host with gcc-5 (linker error on relocs).
Completes no-PIE config by adding to ALL_* flags variables.
Borrowed from Gentoo gcc patches, tested on 2 hardened amd64 hosts.
Signed-off-by: Stephen Arnold <stephen.arnold42@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jussi Kukkonen [Tue, 14 Feb 2017 09:55:06 +0000 (11:55 +0200)]
piglit: Upgrade to current master
Remove backported patches. Add runtime dependency for netserver
(as socketserver was recently moved there) and depend on
libxkbcommon (this is really only needed for wayland support
which could be made configurable).
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Mon, 13 Feb 2017 18:00:10 +0000 (10:00 -0800)]
musl: Update to latest
here is shortlog
* d6601f0a avoid unbounded strlen in gettext functions
* dbbb3734 fix use of uninitialized pointer in gettext core
* 01e6bbec fix bindtextdomain logic error deactivating other domains
* 6894f847 fix spurious EINTR errors from multithreaded set*id, etc.
* 1f53e7d0 fix crashes in x32 __tls_get_addr
* 27b3fd68 fix crash from corrupted tls module list after failed dlopen
* 809ff8cf treat base 1 as an error in strtol-family functions
* 786fda87 fix getopt[_long] clobbering of optopt on success
* 150747b4 reduce impact of REG_* namespace pollution in x86[_64] signal.h
Robert Yang [Fri, 10 Feb 2017 03:42:02 +0000 (19:42 -0800)]
libpcre2: add it for newer vte
There are two major versions of the PCRE library. The newest version, PCRE2,
was released in 2015 and is at version 10.22.
The original, very widely deployed PCRE library, originally released in 1997,
is at version 8.40, and the API and feature set are stable, future releases
will be for bugfixes only. All new future features will be to PCRE2, not the
original PCRE 8.x series.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 7 Feb 2017 14:35:43 +0000 (14:35 +0000)]
slang: rewrite recipe to run autoconf
I discovered that we were not running autoreconf (and cannot due to the
unconvential file structure upstream), so manually run autoconf and move the
generated configure to the right place as we do already for gnu-configize.
Update no-x.patch (now that it is actually being used) so that it doesn't break
the build.
Patch out the use of INST_LIB_DIR in slsh/Makefile.in as this is the *target*
path, so is inappropriate to link to. This means we can remove the custom
do_install() which was working around the problem.
Remove all rpath patches (now overwritten by autoconf) and replace
with just passing RPATH='' via oe_runmake.
Remove the library search path patches (now overwritten by autoconf) and replace
with passing explicit pointers to the sysroot in the options.
Richard Purdie [Sun, 19 Feb 2017 14:57:00 +0000 (06:57 -0800)]
depmodwrapper-cross/qemuwrapper-cross: Drop unneeded binutils dependency
By default these pull in binutils-cross since they're a cross tool
and pull in any native tool requirements. In reality they don't
need such tools at build time or runtime since they're scripts.
Therefore clear the dependency and save on some processing time.
Richard Purdie [Sun, 19 Feb 2017 14:51:57 +0000 (06:51 -0800)]
gcc-cross: Avoid races with gcc_stash_builddir
Its sad we need to do this but do_install and do_populate_sysroot appear
to change the files in ${B} and this breaks if something works in parallel
like gcc_stash_builddir. We've seen a few too many race errors on the
autobuilder which appear to be from this so make things run in sequence
deterministically for now.
An example failure was this from do_populate_sysroot whilst stash_builddir was running
in parallel:
Robert Yang [Mon, 13 Feb 2017 06:33:31 +0000 (22:33 -0800)]
binconfig.bbclass: fix get_binconfig_mangle()
The command was:
s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
The STAGING_LIBDIR and STAGING_INCDIR now contains WORKDIR, so the
result would be incorrect like:
TCL_INCLUDE_SPEC='-IFIXMESTAGINGDIRTARGET/usr/include/recipe-sysroot/usr/include/tcl8.6'
Note, the "/usr/include/recipe-sysroot" is not needed. Move the last two
sed commands ahead will fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Saul Wold [Mon, 20 Feb 2017 05:40:43 +0000 (21:40 -0800)]
native.bbclass: populate native recipe with it's files
This allows a native package's recipe-sysroot-native to be populated with
that packages native image files. This in turns allows it to be used by
scripts or other tools without creating un-necessary DEPENDS.
An example of this is systemtap-native and the crosstap script.
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Andre McCurdy [Fri, 17 Feb 2017 18:47:01 +0000 (10:47 -0800)]
arch-arm*.inc: squash whitespace within TUNE_FEATURES strings
TUNE_FEATURES is include in BUILDCFG_VARS, so any whitespace is
visible to the user during the build process. Remove the extra
whitespace added during the 2.1 development cycle:
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mariano Lopez [Tue, 21 Feb 2017 10:11:00 +0000 (10:11 +0000)]
oeqa/runtime/context.py: Fix use of getTarget() with testexport
The idea on getTarget is to use kwargs to send custom variables
to different targets, instead of this, a new variable was added
(just used for custom targets) and this broke testexport. So
in order to fix it, just add the custom variable to kwargs.
Ed Bartosh [Wed, 22 Feb 2017 14:39:35 +0000 (16:39 +0200)]
image_types_wic: fix expansion error
Variable WKS_SEARCH_PATH was not fully expanded when used directly
in this expression:
WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), '${WKS_SEARCH_PATH}') or ''}"
This caused expansion error: bb.data_smart.ExpansionError:
Failure expanding variable WKS_FULL_PATH, .... which triggered exception
SyntaxError: invalid syntax (WKS_FULL_PATH, line 1)
Calling d.getVar instead of directly referencing variables
should fix the issue.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Randy Witt [Mon, 30 Jan 2017 21:16:28 +0000 (13:16 -0800)]
selftest/containerimage.py: Add container IMAGE_FSTYPES test
This test checks to make sure only the files expected exist in a
container image. Currently only ROOTFS_BOOTSTRAP_INSTALL, gets added to
all images without the user specifying it.
But this test should help if a developer in the future ever silently
adds more than just ROOTFS_BOOTSTRAP_INSTALL, and that the developer can
make sure it also gets removed from a container image.
[YOCTO #9502]
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Randy Witt [Wed, 18 Jan 2017 18:31:51 +0000 (10:31 -0800)]
image-container.bbclass: Error if not using linux-dummy
In the typical case of a container, the user doesn't particularly care
about the kernel version used. Since using linux-dummy prevents building
a kernel in the most common case, alert the user if they choose a
container image, but don't also specify linux-dummy.
In the cases the user actually does want to build against particular
kernel headers, etc, they can override by setting
IMAGE_CONTAINER_NO_DUMMY = "1".
[YOCTO #9502]
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Patrick Ohly [Fri, 10 Feb 2017 11:29:14 +0000 (12:29 +0100)]
rootfspostcommands: remove shadow backup files instead of trying to sort
Backup are files sometimes are inconsistent and then cannot be
sorted (YOCTO #11043), and more importantly, are not needed in
the initial rootfs, so they get deleted.
Fixes: [YOCTO #11007] Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
While there are intel-quark configurations for the KTYPEs standard
and tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
intel-quark yields a .config having a potentially misconfigured
architecture. More importantly, however, preempt-rt related CONFIG
options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
not result in a preempt-rt enabled kernel.
This patch qualifies to be (back)ported to other branches than
master.
Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 14 Feb 2017 21:14:21 +0000 (16:14 -0500)]
linux-yocto/4.9: update to v4.9.9
Updating to the korg -stable release. Changelog is as follows:
d2e4b66b4ef2 Linux 4.9.9 f2a0409a0850 drm/i915/execlists: Reset RING registers upon resume 72cd604cfd86 fs: break out of iomap_file_buffered_write on fatal signals bf9ab22c350d iw_cxgb4: set correct FetchBurstMax for QPs 13363b6988f6 x86/irq: Make irq activate operations symmetric e02136282296 irqdomain: Avoid activating interrupts more than once c6b0333baea0 iio: health: max30100: fixed parenthesis around FIFO count check 12c2fcf6bcf7 iio: dht11: Use usleep_range instead of msleep for start signal 7baa8491d47d iio: health: afe4403: retrieve a valid iio_dev in suspend/resume 5f0ee562605b iio: health: afe4404: retrieve a valid iio_dev in suspend/resume 54d2ccc4003b iio: adc: palmas_gpadc: retrieve a valid iio_dev in suspend/resume db0e02ef6b82 staging: greybus: timesync: validate platform state callback 89cc65c1117f USB: serial: option: add device ID for HP lt2523 (Novatel E371) 12a9c11c2e19 usb: gadget: f_fs: Assorted buffer overflow checks. e40d15fce929 usb: musb: Fix host mode error -71 regression cbd819e7db3a USB: Add quirk for WORLDE easykey.25 MIDI keyboard 4807725aab0b USB: serial: pl2303: add ATEN device ID 8bc382a9652b USB: serial: qcserial: add Dell DW5570 QDL 0dcbd0aa44e6 KVM: x86: do not save guest-unsupported XSAVE state bc05a2e940fe dmaengine: cppi41: Fix oops in cppi41_runtime_resume 2c2e7fe7c9c5 dmaengine: cppi41: Fix runtime PM timeouts with USB mass storage bebb9d75e84d perf/x86/intel/uncore: Clean up hotplug conversion fallout e6bd712154aa HID: wacom: Fix poor prox handling in 'wacom_pl_irq' f24bc920612c HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2 80246551c7d7 HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL 40add19d3897 iwlwifi: mvm: avoid crash on restart w/o reserved queues 97663735a96f iwlwifi: fix double hyphen in MODULE_FIRMWARE for 8000 3d8ec7d2d5f9 pinctrl: intel: merrifield: Add missed check in mrfld_config_set() 2cf6c49264e4 pinctrl: baytrail: Debounce register is one per community 449d3ecfbd76 Revert "vring: Force use of DMA API for ARM-based systems with legacy devices" 16f61dee7e7c Revert "bcma: init serial console directly from ChipCommon code" 12f822d23dee percpu-refcount: fix reference leak during percpu-atomic transition 8ee8ff9e2652 regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce 1594edd9ea0d vhost: fix initialization for vq->is_le 04eb7db25bb1 mmc: sdhci: Ignore unexpected CARD_INT interrupts 1d88791d5ed5 cgroup: don't online subsystems before cgroup_name/path() are operational a150e08704b2 can: bcm: fix hrtimer/tasklet termination in bcm op removal a93ae8dccc3c tracing: Fix hwlat kthread migration b67c7d39bc28 mm, fs: check for fatal signals in do_generic_file_read() 6cb0497aec81 base/memory, hotplug: fix a kernel oops in show_valid_zones() 72f7419610c8 mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone() 9e255997c2e1 cifs: initialize file_info_lock f0c3a0ac3349 zswap: disable changing params if init fails a3d729526f2f svcrpc: fix oops in absence of krb5 module 743146d347f3 NFSD: Fix a null reference case in find_or_create_lock_stateid() 4c953848c95b powerpc/mm: Use the correct pointer when setting a 2MB pte 8f415333be3a powerpc: Fix build failure with clang due to BUILD_BUG_ON() bbf69e5197da powerpc: Add missing error check to prom_find_boot_cpu() 73d45909780e powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe() 4b70d598c2ee libata: Fix ATA request sense 6d08607ef35b libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices fc794153c407 ata: sata_mv:- Handle return value of devm_ioremap. b41615aa7056 perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory 3996a91e3bdc perf/core: Fix use-after-free bug 53bed1f64025 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes b04a39f88ced crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg 2eb8f7c4225a drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval bd5cefed1ccc drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215 c9fb422fd938 drm/amdgpu/si: fix crash on headless asics 20658b3df8b9 pinctrl: baytrail: Add missing spinlock usage in byt_gpio_irq_handler 7396685a1bca HID: cp2112: fix gpio-callback error handling a18c4584a489 HID: cp2112: fix sleep-while-atomic dfd713307adb xtensa: fix noMMU build on cores with MMU f2e24dd91818 efi/fdt: Avoid FDT manipulation after ExitBootServices() f0c7412edfc1 x86/efi: Always map the first physical page into the EFI pagetables 13e6ef99d23b ext4: validate s_first_meta_bg at mount time 610c2b7ff8f6 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While there are intel-quark configurations for the KTYPEs standard and
tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
intel-quark yields a .config having a potentially misconfigured
architecture. More importantly, however, preempt-rt related CONFIG
options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
not result in a preempt-rt enabled kernel.
Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 14 Feb 2017 21:14:18 +0000 (16:14 -0500)]
linux-yocto-rt/4.9: integrate 4.9-rt4
Integrating the 4.9-rt4 new changes:
56a3dd6fb4e9 x86/mm/cpa: avoid wbinvd() for PREEMPT 221db3244e71 pinctrl: qcom: Use raw spinlock variants 43158f23e188 radix-tree: use local locks 109a8fea2c4a cpuset: Convert callback_lock to raw_spinlock_t 3741fb19d20f softirq: wake the timer softirq if needed
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28dda89acd7c Linux 4.8.18 936e79682048 tick/broadcast: Prevent NULL pointer dereference f22b03e15427 clocksource/dummy_timer: Move hotplug callback after the real timers 8f78db7e5df0 xfs: use GPF_NOFS when allocating btree cursors 1d818a81bac6 xfs: ignore leaf attr ichdr.count in verifier during log replay 62ef2c9c1d94 xfs: don't allow di_size with high bit set db28776559c7 xfs: error out if trying to add attrs and anextents > 0 fb70f2a64910 xfs: don't crash if reading a directory results in an unexpected hole ebff27d76e7e xfs: complain if we don't get nextents bmap records 14c3f0b270aa xfs: check for bogus values in btree block headers 31f0f90742a3 xfs: pass state not whichfork to trace_xfs_extlist 430a362685e9 xfs: Move AGI buffer type setting to xfs_read_agi 20aa52b53586 xfs: new inode extent list lookup helpers c7b75fcea4e6 xfs: fix unbalanced inode reclaim flush locking e89df591f833 xfs: check minimum block size for CRC filesystems b04a2c02f4d7 xfs: provide helper for counting extents from if_bytes f4e7f4cd52b1 xfs: don't BUG() on mixed direct and mapped I/O 49f159ae6e80 xfs: check return value of _trans_reserve_quota_nblks 23bb39fdbb96 xfs: don't call xfs_sb_quota_from_disk twice d3c7d2aa00d4 tpm_tis: Check return values from get_burstcount. 9fc58e555d78 drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases 4f075608d2c4 drm/i915/gen9: unconditionally apply the memory bandwidth WA 55e9c9d00d70 drm/i915: disable PSR by default on HSW/BDW 2c266a9a3631 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values e4d1900e15db s390/topology: always use s390 specific sched_domain_topology_level b04e5322d8a4 powerpc/pci/rpadlpar: Fix device reference leaks 458e63f135d6 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3) 05a725c46f56 PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+ 8d12795b1eac PCI: Convert Mellanox broken INTx quirks to be for listed devices only 24af87eb2ffa PCI: Convert broken INTx masking quirks from HEADER to FINAL ec9f277f52e9 PCI: Add Mellanox device IDs 9e7c8ebc1316 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs() 8c6c73a692c9 f2fs: hide a maybe-uninitialized warning a91f2c1d4f45 f2fs: remove percpu_count due to performance regression 93634e1cc928 md: MD_RECOVERY_NEEDED is set for mddev->recovery 239b31c50bde crypto: arm64/aes-ce - fix for big endian a3141467e092 crypto: arm64/aes-xts-ce: fix for big endian 7c26ef18f05a crypto: arm64/sha1-ce - fix for big endian cb70151453a1 crypto: arm64/aes-neon - fix for big endian c1c451bea4af crypto: arm64/aes-ccm-ce: fix for big endian c4957563b255 crypto: arm/aes-ce - fix for big endian dcb0c4ebc7ad crypto: arm64/ghash-ce - fix for big endian d60ecc7f02a4 crypto: arm64/sha2-ce - fix for big endian f9315853c7c1 s390/crypto: unlock on error in prng_tdes_read() a76c795f53e7 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration d3b82f9a9716 mm: khugepaged: fix radix tree node leak in shmem collapse error path ab533014582f mm: khugepaged: close use-after-free race during shmem collapsing c9777f749c4c mm/hugetlb.c: use the right pte val for compare in hugetlb_cow 0ff00251359e mmc: mmc_test: Uninitialized return value abe558647a0f PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend b90b6b8cce53 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback d6229a05dd06 ima: fix memory leak in ima_release_policy 8cbe9b689467 sbp-target: Fix second argument of percpu_ida_alloc() fed8068fd1de target/iscsi: Fix double free in lio_target_tiqn_addtpg() ec92af68808e scsi: mvsas: fix command_active typo efe08cc6939b ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call a5a550bd0768 ASoC: cht_bsw_rt5645: Fix leftover kmalloc 3fcdecb0f9f6 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped 22604a045edb iommu/vt-d: Fix pasid table size encoding f7dd8813279b iommu/amd: Fix the left value check of cmd buffer 9a134d29af48 iommu/amd: Missing error code in amd_iommu_init_device() 35a294dd5723 clk: renesas: mstp: Support 8-bit registers for r7s72100 8a7022b2ffad clk: imx31: fix rewritten input argument of mx31_clocks_init() 8b4940dd9224 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks a13af6a13e68 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message c54f34533601 clk: clk-wm831x: fix a logic error 36c3481984b5 clk: qcom: ipq806x: Fix board clk rates fdd91f12bebc hwmon: (g762) Fix overflows and crash seen when writing limit attributes 18d749bb756f hwmon: (nct7802) Fix overflows seen when writing into limit attributes 1e6b9473280a hwmon: (ds620) Fix overflows seen when writing temperature limits 0bc18f1d87d9 hwmon: (amc6821) sign extension temperature 4c8493cb90b9 hwmon: (scpi) Fix module autoload d618b1647e27 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks b803e5984015 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6 1121b5f49eb7 debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS f4b9eaba036c clk: renesas: cpg-mssr: Fix inverted debug check a25cb9b5744b efi/efivar_ssdt_load: Don't return success on allocation failure b36f676475bd cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected 40b0bbe612bb ath10k: use the right length of "background" 3e0f61361a82 nl80211: Use different attrs for BSSID and random MAC addr in scan req 3d04e6a06abc mac80211: fix tid_agg_rx NULL dereference f4ded840a335 drm/i915: tune down the fast link training vs boot fail 2ed2b3cc6ae3 drm/i915/dp: add lane_count check in intel_dp_check_link_status ac2370c93a40 usb: dwc3: gadget: always unmap EP0 requests 6039272a760e usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb() 4f76ead23734 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb() 7acc87fae524 iio: accel: st_accel: fix LIS3LV02 reading and scaling d59378efa7ac staging: iio: ad7606: fix improper setting of oversampling pins 401316ef7253 mei: move write cb to completion on credentials failures 3ab87b8fd267 mei: bus: fix mei_cldev_enable KDoc c103d55bb7d7 USB: serial: io_ti: bind to interface after fw download d302588a910f ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support 56dce131ec69 arm64: dts: hip06: Correct hardware pin number of usb node 0c03658a3e7b USB: phy: am335x-control: fix device and of_node leaks 518a4d8d533c ARM: dts: r8a7794: Correct hsusb parent clock 7780eb2fd54b usb: gadget: Fix second argument of percpu_ida_alloc() a3ff51875d83 USB: serial: kl5kusb105: abort on open exception path 5f8a0a2fd33b ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream() fb106dc8b847 usb: musb: blackfin: add bfin_fifo_offset in bfin_ops 1bff22506598 usb: gadget: udc: core: fix return code of usb_gadget_probe_driver() c7c4ad7fce6d usb: hub: Move hub_port_disable() to fix warning if PM is disabled b7fb0479ecd6 usb: musb: Fix trying to free already-free IRQ 4 217c03eaf10c usb: dwc3: gadget: Fix full speed mode 7de3c659811a usb: dwc3: pci: Fix dr_mode misspelling 6fdac0047799 usb: dwc3: pci: add Intel Gemini Lake PCI ID 220d6521aac2 xhci: Fix race related to abort operation d3f3b0bd0756 xhci: Use delayed_work instead of timer for command timeout 0da62a5b5242 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL 997d598c694f USB: serial: mos7720: fix parallel probe eb9e22ac9265 USB: serial: mos7720: fix parport use-after-free on probe errors c91243377c8d USB: serial: mos7720: fix use-after-free on probe errors b756fba5e563 USB: serial: mos7720: fix NULL-deref at open 8cc2ae8e130e USB: serial: mos7840: fix NULL-deref at open 68ab1ccfc085 USB: serial: kobil_sct: fix NULL-deref in write 37ca8378e77c USB: serial: cyberjack: fix NULL-deref at open fd435e99f5ed USB: serial: oti6858: fix NULL-deref at open 1653f66ba3fb USB: serial: io_edgeport: fix NULL-deref at open 73ec9d58b1c7 USB: serial: ti_usb_3410_5052: fix NULL-deref at open d1706b42d164 USB: serial: garmin_gps: fix memory leak on failed URB submit b653000d9b0c USB: serial: iuu_phoenix: fix NULL-deref at open 427bac51ce67 USB: serial: io_ti: fix I/O after disconnect 59f740cd834c USB: serial: io_ti: fix another NULL-deref at open 2ef82cf063c8 USB: serial: io_ti: fix NULL-deref at open 8d5f29b2d578 USB: serial: spcp8x5: fix NULL-deref at open e1fe8df45b74 USB: serial: keyspan_pda: verify endpoints at probe 10da95b6a2eb USB: serial: pl2303: fix NULL-deref at open e29498ba6e1f USB: serial: quatech2: fix sleep-while-atomic in close 05859d754d6f USB: serial: omninet: fix NULL-derefs at open and disconnect be17e1c916ce usb: return error code when platform_get_irq fails 0e9fc72194ce usb: xhci: hold lock over xhci_abort_cmd_ring() 527f810d8a86 xhci: Handle command completion and timeout race c18ca85fd6de usb: host: xhci: Fix possible wild pointer when handling abort command 67a7de5a2f35 usb: xhci: fix return value of xhci_setup_device() 775a2bec9cdf xhci: free xhci virtual devices with leaf nodes first 80c502e0ce6f usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake d3a9f7c7e8c4 usb: xhci: fix possible wild pointer 5ded28d83128 usb: gadget: composite: Test get_alt() presence instead of set_alt() 16718d267e09 USB: dummy-hcd: fix bug in stop_activity (handle ep0) 47acb8434892 USB: fix problems with duplicate endpoint addresses a45f34e820c6 USB: gadgetfs: fix checks of wTotalLength in config descriptors 27b4d04d1b87 USB: gadgetfs: fix use-after-free bug cd4da96b1bac USB: gadgetfs: fix unbounded memory allocation bug 1fa95887b663 usb: gadgetfs: restrict upper bound on device configuration size e4efa88511eb usb: storage: unusual_uas: Add JMicron JMS56x to unusual device 05ace125078d usb: musb: dsps: implement clear_ep_rxintr() callback 38caa4d8986e usb: musb: core: add clear_ep_rxintr() to musb_platform_ops 483c56831853 KVM: MIPS: Flush KVM entry code from icache globally 08aa895b61e1 KVM: MIPS: Don't clobber CP0_Status.UX d33b04df932e KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS e3843cdbf81a drm/i915: Force VDD off on the new power seqeuencer before starting to use it dbce182845b4 gcc-plugins: update gcc-common.h for gcc-7 970150316c04 mac80211: initialize fast-xmit 'info' later cf3b94f8fe70 ARM: davinci: da850: don't add emac clock to lookup table twice 391c21a9ab0a parisc: Mark cr16 clocksource unstable on SMP systems 684f6df20889 fscrypt: fix renaming and linking special files 6c55d3ad7fb3 ALSA: usb-audio: Fix irq/process data synchronization 3074297922e2 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL 81a35981225c ALSA: hda - Fix up GPIO for ASUS ROG Ranger 576b9d7789d8 iio: bmi160: Fix time needed to sleep after command execution ad2a1ae984c6 iio: max44000: correct value in illuminance_integration_time_available ee8e4a73dbf6 iio: common: st_sensors: fix channel data parsing
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>