The comment is misleading and there was confusion in a bug report. In the native
case STAGING_DATADIR would be equal to the native value so there isn't any issue
but tweak the comment.
[YOCTO #12761]
(From OE-Core rev: 0fdf76305a3cb543c23d6122c523ce5c2af04a0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tmp paths end up in the test names making it hard to compare test runs
so filter them out, they're not useful for our purposes.
(From OE-Core rev: dc47b3855d03af962bab176c7aed9bd47426b419)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to libxcrypt revealed a missing dependency in the openssh recipe.
(From OE-Core rev: 0fd0a1b1f733a8d9978d64fa23e9d083a716de87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output format for Python and GLib both can be of this form:
FAIL: foobar (Segmentation fault)
In this case the test is called foobar not foobar_segmentation_fault.
(From OE-Core rev: 0219e9bd0273661b4b70df97e5762f77b3ac3e8c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the NVD json CVE feed, affected versions can be strictly matched to a
version, but they can also be matched with the operator '<='.
Add a new condition in the sqlite query to match affected versions that
are defined with the operator '<='. Then use LooseVersion to discard all
versions that are not relevant.
(From OE-Core rev: 3bf63bc60848d91e90c23f6d854d22b78832aa2d)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cve-check-tool-native do_populate_cve_db task was using deprecated NVD
xml data feeds, cve-update-db uses NVD json data feeds.
Sqlite database schema was updated to take into account CVSSv3 CVE
scores and operator in affected product versions.
A new META table was added to store the last modification date of the
NVD json data feeds.
(From OE-Core rev: 546d14135c50c6a571dfbf3baf6e9b22ce3d58e0)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patch, and a patch where upstream took care of the issue.
(From OE-Core rev: 35bd7de678223f48443bddbeed4f4640534805a4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libnewt-python was including libnewt recipe and adding tweaks, which is bad form.
It also broke AUH, as it won't update more than one recipe in a single
transaction.
(From OE-Core rev: 282b744f46c5c058966836130084e300030d419e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids sstate/uninative relocation issues where a binary was built against
a system with libcrypt.so.1 or libcrypt.so.2 and then run on the opposite by
ensuring both libraries are in uninative.
(From OE-Core rev: 6089bfbc059c8bebb63ae6b0bafe8fe035548ac0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a recipe which is able to build the obsolete APIs. This is mainly
to support uninative which needs to have both the new and obsolete APIs
available to support the different host combinations.
(From OE-Core rev: ad83f35c012e84dc8d2d27e02a4847568b4f3f35)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we have a fair amount of control of what we build in OE we can disable the obsolete
APIs which is what most distros are doing at this point.
This causes the library version to bump from 1 to 2.
(From OE-Core rev: 641529503a4bce628327855dc4769b0e57a9cb1d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building x86->x86 the system will try to execute .so and related items
from the default PYTHONPATH. This will fail if the target CPU contains
instructions that the host CPU does not have, add CROSSPYTHONPATH
into PYTHONPATH so we can prepend the list to find correct libs.
Fixes:
Illegal instruction (core dumped)
Makefile:625: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 132
make: *** Waiting for unfinished jobs....
(From OE-Core rev: 2106a567820bad438ff78d54a49e3d87da428dcf)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
File "/workdir/build/tmp/work/dbfp4-poky-linux/qv4l2/1.17.0+gitAUTOINC+95f39aae48-r0/recipe-sysroot-native/usr/lib/python3.7/site-packages/mesonbuild/dependencies/base.py", line 574, in _call_pkgbin
cache[(self.pkgbin, targs, fenv)] = self._call_pkgbin_real(args, env, use_native)
File "/workdir/build/tmp/work/dbfp4-poky-linux/qv4l2/1.17.0+gitAUTOINC+95f39aae48-r0/recipe-sysroot-native/usr/lib/python3.7/site-packages/mesonbuild/dependencies/base.py", line 556, in _call_pkgbin_real
cmd = self.pkgbin.get_command() + "-native" + args
TypeError: can only concatenate list (not "str") to list
(From OE-Core rev: f7a470531d4bcc2888cbb9a7b197b86174f3aba2)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade rng-tools from 6.6 to latest commit 9fc873c which 26 commits
beyond release 6.7:
$ git describe 9fc873c5af0e39263
v6.7-26-g9fc873c
Because it includes some critical fixes such as configure fails and
'Import yocto fixes for 6.6'.
* remove local patches that all are merged by upstream
* backport patch to fix rngd fails to stop issue
* add PACKAGECONFIG libp11
(From OE-Core rev: 3e09c8b5b6517da97a9ec0ce5deb4ba1b066d19b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian traditionaly uses /usr/bin/pager as the system pager, which is a
link to the user preferred pager. This is a Debianism.
Without this patch:
root@qt5122:~# dpkg -l
sh: pager: command not found
dpkg-query: error: showing package list on pager subprocess returned error exit status 127
(From OE-Core rev: 580d7f3325af0569239cdd9757ca77fbe6f29146)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Glib's build looks for the 'env' binary and embeds that path into the test
script, but thanks to hosttools this is /path/to/tmpdir/hosttools/env.
Fix this by hardcoding the path to env in the cross file.
Also as the cross file is only used in target builds only add it to SRC_URI for
target builds, so that changes to the cross file don't cause a rebuild of
glib-2.0-native.
(From OE-Core rev: 05c9fb5a026e3006a1fc037f957cb4341fb55030)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since wpa-supplicant is provided,
the database of permitted frequencies should also be provided.
wireless-regdb-static should be used with kernel >= 4.15.
wireless-regdb can be used with older kernels and is mostly
irrelevant here, but keeping it in meta-networking would
create needless recipe duplication.
This package was previously in meta-networking.
(From OE-Core rev: 00c5a665b48c830a0008139b7ae1a51e79b72bb5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since 1522f09a4d serf: cleanup recipe
serf.do_install fails in builds with multilib enabled (with
libdir=/usr/lib64 on host where /usr/lib64 doesn't exist)
DEBUG: Executing shell function do_install
scons: Reading SConscript files ...
PermissionError: [Errno 13] Permission denied: '/usr/lib64':
File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct", line 158:
ENV = os.environ,
File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Environment.py", line 965:
variables.Update(self)
File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Variables/__init__.py", line 227:
option.validator(option.key, env.subst('${%s}'%option.key), env)
File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct", line 60:
return PathVariable.PathIsDirCreate(key, val, env)
File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Variables/PathVariable.py", line 101:
os.makedirs(val)
File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/lib/python3.7/os.py", line 221:
mkdir(name, mode)
ERROR: scons install execution failed.
* I don't know how exactly --install-sandbox is supposed to work but
in this case it's trying to mkdir /usr/lib64 on the host rootfs
which is clearly wrong and if I set LIBDIR together with
--install-sandbox then the install paths are prefixed with $D twice
in some cases (not for includedir and empty libdir at the end).
So in the end I think it was an issue caused by the custom path
validator in serf's SConstruct, removing that stops touching host
and the installed paths (including the paths inside libserf*.pc)
look correct
(From OE-Core rev: 7ce8b1bc510cfe8b013430a3826ece6878d8568e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to boot nfs root with systemd that systemd-networkd
re-configures wired network and breaks the connection with nfs root.
(From OE-Core rev: 2abfbf186989223d5d256c25e0b52b02f29d5bfb)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The include is split ready to add the 32-bit RISC-V machine as soon as
glibc supports 32-bit RISC-V.
This is based on the work in the meta-riscv layer, thanks to Khem for
starting this.
(From OE-Core rev: 11b6020dff4550fc3a42e04bc1e86baf37942c62)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is used as a bootloader for RISC-V QEMU machines.
(From OE-Core rev: 112ca2174dd97f5ca9ea25f83007d44054abc487)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a libffi patch to add RISC-V support.
(From OE-Core rev: 24f4b2a8f2a0ed52fd791a5c393dea7d02f45116)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow plugin bootimg-efi to configure with multiple initrd
through source parameter.
Uses ; to separate each initrd.
e.g:
--sourceparams="loader=${EFI_PROVIDER},initrd=initrd1;initrd2"
(From OE-Core rev: c7b0823f9ab6a9959aaa809b8c3f70d199feb64d)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from lttng-ust_2.10.3.bb to lttng-ust_2.10.4.bb.
-lttng-ust/0001-compat-work-around-broken-_SC_NPROCESSORS_CONF-on-MU.patch
Removed since this is included in 2.10.4
(From OE-Core rev: dc25e9525495e00940da7716cbba6bca96423acd)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add libperl.so.5 to DUMMY_PROVIDES to avoid do_rootfs failure like
below.
Error:
Problem: package postgresql-11.3-r0.core2_32 requires libperl.so.5, but none of the providers can be installed
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by perl-5.30.0-r0.core2_32
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl-module-strict provided by perl-5.30.0-r0.core2_32
This problem could be reproduced by add 'postgresql' to IMAGE_INSTALL
and then `bitbake core-image-minimal -c populate_sdk'.
(From OE-Core rev: 8a21559bd49feba6288ad02d928daed6c736df3d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from libevent_2.1.8.bb to libevent_2.1.10.bb.
-libevent/0001-test-fix-32bit-linux-regress.patch
Removed since this is included in 2.1.10.
(From OE-Core rev: 40ea686112e4def38363edb4a5b1cec2692e34da)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default logrotate uses 'dateext' in logrotate.conf which results in a
date string being appended at the end of log name. In cases when a test
that installs configuration in logrotate.d is executed first (dnf for
example), it might result in errors when logrotate test is executed:
error: destination /var/log/dnf.librepo.log-20190528 already exists, skipping rotation
error: destination /var/log/dnf.rpm.log-20190528 already exists, skipping rotation
error: destination /var/log/hawkey.log-20190528 already exists, skipping rotation
Tweak the test to use it's own temporary configuration that doesn't
enable dateext.
Fixes [YOCTO #13363]
(From OE-Core rev: d0a30c1c57edc9a724658e2ed312b34eed3af5a9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SDK was unable to find the C++ header pieces correctly since it's
using a generic compiler, not one specifically targeting the multilib
vendor prefix and default tune. This adds the right mapping to ensure
SDKs work as expected. And fix problem in below configurations:
multilib configuration 1:
MACHINE="qemumips64"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
require conf/multilib.conf
ignoring nonexistent directory "<path>/sysroots/mips64-poky-linux/usr/include/c++/8.2.0/mips64-poky-linux/32
multilib configuration 2:
MACHINE="qemumips64"
MULTILIBS = 'multilib:lib64 multilib:lib32'
DEFAULTTUNE = 'mips64-n32'
DEFAULTTUNE_virtclass-multilib-lib64 = 'mips64'
DEFAULTTUNE_virtclass-multilib-lib32 = 'mips32r2'
require conf/multilib.conf
For this configuration:
for target gcc-runtime, need to create symlink like mips64-poly-linux --> mips64-poky-linux-gnu32
for target lib64-gcc-runtime, need to create symlink like mips64-poly-linux/32 --> mips64-pokymllib64-linux
in order to avoid conflict during populate_sdk, create symlink for subfoler bits/ext for target gcc-runtime,
this is ugly, but seems no better way to cover all kinds of configuration.
single lib configuration:
MACHINE="qemumips64"
DEFAULTTUNE = "mips64-n32"
(From OE-Core rev: b071a1a209556158bcfcc20e3c8bd4b15373767c)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix bug as following on aarch64BE:
Error: operand 1 must be an integer register -- `rev v31.16b,v31.16b'
(From OE-Core rev: f29572f70a89fd88ab3898d334c126422b66755c)
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* just to make sure it's expaned by bitbake before it gets
executed in shell
* e.g. with cmake.bbclass and cmake recipe (any recipe without
PACKAGECONFIG options have this issue) it looks like this:
bitbake -e cmake | grep EXTRA_OECMAKE=
EXTRA_OECMAKE=" -DCMAKE_DOC_DIR=share/doc/cmake-3.14
-DCMAKE_USE_SYSTEM_LIBRARIES=1 -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0
-DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0
-DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 -DKWSYS_CHAR_IS_SIGNED=1
-DBUILD_CursesDialog=0 -DKWSYS_LFS_WORKS=1
\${PACKAGECONFIG_CONFARGS}"
(From OE-Core rev: 745b63f4e11a6536cabd97013973562631a0e080)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script needs to be executable so the service doesn't
fail.
(From OE-Core rev: 1b93bc3857b352394abd652ef83f1081298b7a5b)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just like libsdl, we can rip out the sdl2-config script from the sysroot as
pkg-config is preferrable.
(From OE-Core rev: 8d93fc236a72cb1bb0e713c4fc5b73e65ede6f53)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're going to clean buildpaths from installed .la files then we should do it
globally, not in a class that only six recipes in oe-core use.
(From OE-Core rev: bd4e2cd3f70243f52215f8c92bcd7eb088a9b9f6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of reporting large chunks of the work directory and not the package
name:
"File /work/corei7-64-poky-linux/libidn2/2.2.0-r0/packages-split/libidn2-dev/usr/lib/pkgconfig/libidn2.pc in package contained reference to tmpdir"
We can clean up the paths and be more useful:
"File /usr/lib/pkgconfig/libidn2.pc in package libidn2-dev contains reference to TMPDIR"
(From OE-Core rev: 156329247b40e9ee97e6249468ac3b9af4dffb68)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even if SYSTEMD_AUTO_ENABLE is set to "enable", the service is never
activated by systemd. The cause is the postinst function in the recipe:
pkg_postinst_${PN} () {
if [ -n "$D" ]; then
exit 0
fi
if [ -e /etc/init.d/populate-volatile.sh ]; then
/etc/init.d/populate-volatile.sh update
fi
}
This generates with activated systemd the following postinst script:
set -e
if [ -n "$D" ]; then
exit 0
fi
if [ -e /etc/init.d/populate-volatile.sh ]; then
/etc/init.d/populate-volatile.sh update
fi
OPTS=""
if [ -n "$D" ]; then
OPTS="--root=$D"
fi
if type systemctl >/dev/null 2>/dev/null; then
if [ -z "$D" ]; then
systemctl daemon-reload
fi
systemctl $OPTS enable sysstat.service
if [ -z "$D" -a "enable" = "enable" ]; then
systemctl --no-block restart sysstat.service
fi
fi
Due to the exit statement, systemctl is never called and the service is
never enabled in rootfs.
Invert the logic for the check to let run the rest of postinst script.
(From OE-Core rev: 24ccfd80edb74871d0d69ddbe83c358f04ac0844)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TOOLCHAIN_OUTPUTNAME could be overridden. So use this variable directly
instead of its default value ${SDK_NAME}-toolchain-${SDK_VERSION}.
(From OE-Core rev: 35a13468f551fff6305ba1ebbcb5dd28e99ec050)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* especially when pushing longer history to slow remote git server or when
it timeouts during the push, it's useful to see where the time was actually
spent
(From OE-Core rev: 96f1225d47985d94d9ed91eb5e7affdd70671c79)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original BSP qemuarm has been renamed to qemuarmv5. Update the machine
overrides accordingly to avoid not generating dtb.
(From OE-Core rev: a1ac097686daf0769e7ff94ff2c8795e1e8ae790)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A configure error occurs when /bin/sh -> dash:
checking for is_selinux_enabled in -lselinux... yes
checking for semanage_connect in -lsemanage... yes
configure: 16322: test: yesyes: unexpected operator
Use "=" instead of "==" since dash doesn't support the latter.
(From OE-Core rev: a86da25d620aa9a2fd832ffe12816e7670b43633)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-Revert-Return-correct-error-number-in-ubi_get_vol_in.patch is upstreamed
* Add "crypto" PACKAGECONFIG for UBIFS crypto features
* One extra commit after 2.1.0 release tag is pulled in to fix openssl error
when "crypto" PACKAGECONFIG is not enabled:
| In file included from ../git/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:25:
| ../git/ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:49:10: fatal error: openssl/rand.h: No such file or directory
| #include <openssl/rand.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:3457: recipe for target 'ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o' failed
| make: *** [ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o] Error 1
(From OE-Core rev: 917050ccb750d01a793c053d4b2e0e59723d2e07)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add runtime and ptest dependencies
* Add own run-ptest, since we need to run blib
License-Update: License lines moved up in README
Upstream release notes:
0.4229 - Tue Apr 16 00:49:45 CEST 2019
- Released 0.42_28 without changes
0.42_28 - Thu Apr 19 16:34:32 CEST 2018
- Replace "MOTIVATIONS" section with "COMPARISON" [Dan Brook]
- Update configure, build, test prereqs [Karen Etheridge]
0.4227 - Wed Dec 13 11:17:51 CET 2017
- Released 0.42_26 without changes
0.42_26 - Wed Dec 13 10:52:39 CET 2017
- Improve pureperl-only support (#119914) [Shoichi Kaji]
- Improve the documentation of Module::Build::Compat and dynamic_config [Dan Brook]
(From OE-Core rev: f9ffeab5caa4eafc57692a90f58ff2ef34153884)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Sort ptest dependencies alphabetically
Upstream release notes:
1.02 14 Jun 2019 Grant McLean
- Spelling fixes (patch from Ville Skyttä)
- Add repo location to metadata (patches from Ville Skyttä & Martin McGrath)
- Reorganise module files under lib/XML
- Regenerate MANIFEST using 'make manifest' to include missing test files
(From OE-Core rev: 2bd3e9b1aa7bf550564484df842a8a6f89b73497)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* File::Spec::Unix runtime depends on Cwd and constant
* Module::Metadata runtime depends on version
* CPAN::Meta runtime depends on Parse::CPAN::Meta and JSON::PP
* ExtUtils::MakeMaker runtime depends on ExtUtils::MM_Unix
* TAP::Base runtime depends on TAP::Object
* TAP::Parser::SourceHandler::Perl runtime depends on
TAP::Parser::SourceHandler::Executable
* TAP::Harness runtime depends on TAP::Formatter::File
* TAP::Formatter::File runtime depends on TAP::Formatter::Session
and TAP::Formatter::Base
* Many TAP::Harness::* dependencies
* POD::Simple::Transcode runtime depends on POD::Simple::Transcode{dumb,smart}
(From OE-Core rev: c80176774f675c1f48353dfd93942c6b60cbea82)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed in "Selecting an Initialization Manager" section.
Extraneous word needed removed.
(From yocto-docs rev: ab97d36299a7a648bc3f3325175d8ab633ad2d1a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
I updated the "Source Control Managers (Optional)" section
to reference the "Fetchers" section in the BB manuual.
(From yocto-docs rev: 0c014fba509d3ec28236e63a7bd2355b447c4acf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided a general link to the wiki on npm software.
Also, updated the section to point to the new section on how to
create NPM packages, which is in the dev-manual.
(From yocto-docs rev: 03fd635d06d64a53ad00196919350a45942731ce)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added the "Creating node package manager (NPM) packages
section link to the list. Also, made some edits to make
the capitalization consistent in the list items.
(From yocto-docs rev: d3e345cd3f44e9588c5fe8f0560e1859df0ff496)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newly created section on how to create NPM packages
required a figure. I added the figure to both the dev-manual
and mega-manual tarballs creation areas.
(From yocto-docs rev: 5109274d107b6d3ae6be3f71a20379cb6abb39d6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
This is a new section in the development tasks manual that describes
how to create Node Package Manager (NPM) packages. I put the
section in the "Working with Packages" section.
(From yocto-docs rev: d7acd9f27418d414854d25bb27842407edfe7dda)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check existence of all the bblayer direcotories at once and print them
all, so if there are multiple nonexistent directories, user does not
have to correct bblayers.conf and restart bitbake multiple times.
[YOCTO #11647]
(Bitbake rev: 19291f7c4d17086ebb6a7b80c3cb06333d7fd55b)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was moved during the perl cleanup, it can/should be moved back now as
its confusing too many people.
(From OE-Core rev: ce69c21707aa19ab8a3f6c07dc5a560671ab53a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
AArch64 images are not self-decompressing, thus usually much larger.
Boot times can be reduced by compressing them in FIT and uImages.
(From OE-Core rev: a725d188b5d6b5d3c5cf21cc2f3070a0fe711e18)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run ptest case test_shlibload which requires libcrypto.so
and libssl.so with version numbers now.
(From OE-Core rev: 728cd93f45096a1ba0997b3812504d27194b1b49)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The execscript test in bash fails when run with ptest-runner calling
'su', with the error:
bash: cannot set terminal process group (16036): Inappropriate ioctl for device
Even with ptest-runner fixed to make a child process use the right
process group, 'su' still results in the warning above. Use 'setpriv'
instead. 'runuser' was considered and works but depends on pam so it's
ruled out.
Now that all bash tests are run as a user, the patch:
fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch
can be removed. Also to create the account 'bashtest' in the
'run-ptest' script the bash-ptest must depend on 'shadow'. Also,
in 'run-ptest', ensure that the bash ptests are owned by the 'bashtest' user.
Add 'sed' as a dependency for ptests since tests/exp8.sub runs:
var=$'x\001y\177z'
declare -p var | sed -n l
and that results in:
sed.busybox: ""
sed.sed: declare -- var="x\001y\177z"$
This appears to be a feature that busybox sed has not implemented.
With this series of changes, bash-ptest for qemux86-64 passes
79 of 81 tests. The remaining failures are:
1. run-read:
# cat tests/read6.sub
# test read with a timeout of 0 -- input polling
# sleep with fractional seconds argument is not universal
echo abcde | { sleep 0.25 2>/dev/null ; read -t 0; }
echo $?
read -t 0 < $0
echo $?
read -t 0
echo $? <-- returns 1, when 0 is expected.
I can reproduce this on my workstation but only when using ptest-runner
and initially logging into the console as root. That's a little odd and
seems like I need to continue to improve ptest-runner.
2. run-trap:
# cat tests/trap3.sub
PS4='+[$LINENO] '
trap 'echo trap: $LINENO' ERR
set -x
echo 1
echo 2
echo 3 | cat | false <--- error
echo 4
This is a scheduler behaviour difference between the common case
on a workstation and the common case in qemu. The test case does
warn about the completion order not being deterministic so I plan
to ignore it.
>From tests/run-trap:
UNIX versions number signals and schedule processes differently.
If output differing only in line numbers is produced, please
do not consider this a test failure.
Still, it's notable and slightly odd that the common case output
is different.
(From OE-Core rev: 81e3f01867cf114b728ab5a417c29426c9bf8122)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running the run-execscript bash ptest as a user rather than root, a warning:
bash: cannot set terminal process group (16036): Inappropriate ioctl for device
bash: no job control in this shell
contaminates the bash log files causing the test to fail. This happens only
when run under ptest-runner and not when interactively testing!
The changes made to fix this include:
1. Get the process group id (pgid) before forking,
2. Set the pgid in both the parent and child to avoid a race,
3. Find, open and set permission on the child tty, and
4. Allow the child to attach to controlling tty.
(From OE-Core rev: 83795a83505a311058130c662ff3342b0e39e67f)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
util-linux's setpriv needs the libcap-ng library but
not the python package so split the package up to enable
this without a dependency loop.
(From OE-Core rev: 9592b318ccd6a8dca60d1060c8255ed8e62ef046)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the setpriv utility for targets only. It will be used in
the run-ptest script for bash and perhaps other packages where
the ptest code is expected to run as a user.
setpriv uses libcap-ng which doesn't build natively so disable
it for native* builds. Also, busybox has a setpriv implementation
so ensure that setpriv adheres to the alternatives scheme.
(From OE-Core rev: 587ba5f4bef18e8260fe671bd2e303140369a5e5)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current codes to skip test cases are logically correct, but they
do not work correctly in reality. It does skip the tests as the command
line argument specifies, but the related information is wrong.
e.g.
$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:24:53,764 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:25:06,309 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:25:06,312 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:25:10,522 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:25:10,522 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,522 - oe-selftest - INFO - Skip by the command line argument "runtime_test"
2019-06-17 09:25:10,523 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:25:10,523 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,523 - oe-selftest - INFO - Skip by the command line argument "runtime_test"
The archiver.Archiver.xxx tests should be skipped by 'archiver' command line
argument, not 'runtime_test'.
Change to use a function generator to achieve the desired effect. After the change,
the effect is as follows.
$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:19:06,223 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:19:19,598 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:19:19,602 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:19:24,369 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,369 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,370 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,370 - oe-selftest - INFO - test_archiver_filters_by_type_and_name (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,371 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,371 - oe-selftest - INFO - test_archiver_srpm_mode (archiver.Archiver)
2019-06-17 09:19:24,371 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,372 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,372 - oe-selftest - INFO - test_bitbakelayers_add_remove (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,373 - oe-selftest - INFO - Skip by the command line argument "bblayers"
2019-06-17 09:19:24,373 - oe-selftest - INFO - test_bitbakelayers_createlayer (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,374 - oe-selftest - INFO - Skip by the command line argument "bblayers"
[snip]
(From OE-Core rev: 50004f431a71c71af4acf0f25403fee5a8447eab)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git based recipe is for those who want to build lttng-modules with bleeding
edge kernel, to avoid regularly backporting patches from upstream.
Note that PREFERRED_VERSION needs to be set to select the git recipe instead of
the tar ball one.
(From OE-Core rev: 18dd8e719f7c845d7e4bb1148ef6adad80a9493e)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pointer arithmatic results in implementation defined signed integer
type, so that 'd - dst’ in strlcat may trigger signed overflow if
pointer ‘d’ is near 0x7fffffff in 32 bits system. In case of ompilation
by gcc or clang with -ftrapv option, the overflow would generate
program abort.
(From OE-Core rev: 1c4b8d797c76a08ebd1658066e9d32972b6abe58)
Signed-off-by: hguo3 <heng.guo@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the latest gtk-doc release the gstreamer1.0-libav documentation fails to
build:
| gst-libav-plugins-docs.sgml:38: element include: XInclude error:
| could not load xml/tree_index.sgml, and no fallback was found
For the short term we can just disable the documentation. The next upstream
release of gstreamer1.0-libav doesn't use gtk-doc anyway.
(From OE-Core rev: 27744ad292c9d7e57ebcf7c3c30acbd85aac77a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upgrade from 5.28 to 5.30 caused acl's ptests to fail. The issue is
that the new function changes the endptr to the end of the scanned number
and this now needs to be reset to the end of the string for each iteration
of the loop.
[YOCTO #13391]
(From OE-Core rev: c1c4907f0e548564e6744fef1cb93c74bd330c55)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the subprocess command to run dtc was not properly displaying
the error on console. Combining stderr into stdout for the dtc subprocess
so the actual error can be seen on console without having to open the
do_compile log.
For example, previously on a dtc error, just the following stack trace
and dtc command was being shown on console:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:devicetree_do_compile(d)
0003:
File:
function: devicetree_do_compile
0127: if not(os.path.isfile(dtspath)) or
not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):
0128: continue # skip non-.dts files and non-overlay
files
0129: except:
0130: continue # skip if can't determine if overlay
*** 0131: devicetree_compile(dtspath, includes, d)
...
Exception: subprocess.CalledProcessError: Command '['dtc', '-R', '8',
'-b', '0', '-p', '0x1000', '-i', '${INCLUDES}, '-o', 'system-top.dtb',
'-I', 'dts', '-O', 'dtb', 'system-top.dts.pp']' returned non-zero exit
status 1
with this patch, the actual error from the dtc command will be appended
like the following:
Subprocess output:
Error: Label or path not found
FATAL ERROR: Syntax error parsing input tree
(From OE-Core rev: 1da43a558ffd5040a1b5aaebfc1c5118f5e59c01)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Match only the first line and match even if the line says python3.
Otherwise we end up with multiple 3s at the end after multiple
invocations of do_install on same source.
(From OE-Core rev: 144c6c7183dd2b32c65edf325038eb84683a28f8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building `systemd-resolve` from systemd 242 with OpenSSL 1.1.1c and enabling
DNS over TLS ends up calling abort (on 32 bit armhf):
Program terminated with signal SIGABRT, Aborted.
#0 __libc_do_syscall () at libc-do-syscall.S:49
49 libc-do-syscall.S: No such file or directory.
(gdb) where
#0 __libc_do_syscall () at libc-do-syscall.S:49
#1 0xb6940ea4 in __libc_signal_restore_set (set=0xbec68b78) at ../sysdeps/unix/sysv/linux/internal-signals.h:84
#2 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:48
#3 0xb69336e0 in __GI_abort () at abort.c:79
#4 0xb6968428 in __libc_message (action=action@entry=do_abort, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:181
#5 0xb696c7e6 in malloc_printerr (str=<optimized out>) at malloc.c:5352
#6 0xb696ca1a in munmap_chunk (p=<optimized out>) at malloc.c:2840
#7 0xb6bd1c4a in CRYPTO_clear_realloc (str=0xd0e59a, old_len=388, num=<optimized out>, file=0xb6c300dc "../../../../../../workspace/sources/openssl/crypto/buffer/buffer.c", line=135)
at ../../../../../../workspace/sources/openssl/crypto/mem.c:290
#8 0xb6b5da3a in BUF_MEM_grow_clean (str=0xcfb960, len=len@entry=393) at ../../../../../../workspace/sources/openssl/crypto/buffer/buffer.c:135
#9 0xb6b486a0 in mem_write (b=0xcf8300, in=0xd07c6b "\027\003\003", inl=24) at ../../../../../../workspace/sources/openssl/crypto/bio/bss_mem.c:235
#10 0xb6b45c86 in bwrite_conv (bio=<optimized out>, data=<optimized out>, datal=<optimized out>, written=0xbec68ec8) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_meth.c:77
#11 0xb6b452d4 in bio_write_intern (written=0xbec68ec8, dlen=24, data=0xd07c6b, b=0xcf8300) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:343
#12 bio_write_intern (b=0xcf8300, data=0xd07c6b, dlen=24, written=0xbec68ec8) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:320
#13 0xb6b455b2 in BIO_write (b=<optimized out>, data=<optimized out>, dlen=<optimized out>) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:363
#14 0xb6cabd1a in ssl3_write_pending (s=s@entry=0xcfd2d8, type=type@entry=23, buf=buf@entry=0xcfcc28 "", len=len@entry=2, written=written@entry=0xbec698b0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:1146
#15 0xb6cac72e in do_ssl3_write (s=s@entry=0xcfd2d8, type=type@entry=23, buf=buf@entry=0xcfcc28 "", pipelens=pipelens@entry=0xbec698b4, numpipes=numpipes@entry=1, create_empty_fragment=create_empty_fragment@entry=0,
written=written@entry=0xbec698b0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:1107
#16 0xb6cac92e in ssl3_write_bytes (s=0xcfd2d8, type=23, buf_=0xcfcc28, len=<optimized out>, written=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:613
#17 0xb6cb1698 in ssl3_write (s=<optimized out>, buf=0xcfcc28, len=2, written=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/s3_lib.c:4460
#18 0xb6cb87b2 in ssl_write_internal (s=<optimized out>, buf=buf@entry=0xcfcc28, num=num@entry=2, written=written@entry=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/ssl_lib.c:1943
#19 0xb6cb8896 in SSL_write (s=<optimized out>, buf=buf@entry=0xcfcc28, num=num@entry=2) at ../../../../../../workspace/sources/openssl/ssl/ssl_lib.c:1957
#20 0x004ddac8 in dnstls_stream_write (stream=stream@entry=0xcfca60, buf=0xcfcc28 "", count=2) at ../git/src/resolve/resolved-dnstls-openssl.c:270
#21 0x004d8d5c in dns_stream_writev (s=s@entry=0xcfca60, iov=iov@entry=0xbec69b4c, iovcnt=iovcnt@entry=2, flags=flags@entry=0) at ../git/src/resolve/resolved-dns-stream.c:225
#22 0x004d9516 in on_stream_io (es=<optimized out>, fd=<optimized out>, revents=4, userdata=0xcfca60) at ../git/src/resolve/resolved-dns-stream.c:334
#23 0xb6e7f020 in source_dispatch (s=0xcf3658) at ../git/src/libsystemd/sd-event/sd-event.c:2821
#24 0xb6e806b0 in sd_event_dispatch (e=e@entry=0xced6d0) at ../git/src/libsystemd/sd-event/sd-event.c:3234
#25 0xb6e807f6 in sd_event_run (e=0xced6d0, timeout=<optimized out>) at ../git/src/libsystemd/sd-event/sd-event.c:3291
#26 0xb6e809bc in sd_event_loop (e=0xced6d0) at ../git/src/libsystemd/sd-event/sd-event.c:3312
#27 0x004bb64c in run (argv=<optimized out>, argc=<optimized out>) at ../git/src/resolve/resolved.c:84
#28 main (argc=<optimized out>, argv=<optimized out>) at ../git/src/resolve/resolved.c:91
(From OE-Core rev: b11ddab19bc7c0ce35b95345181de8a708268472)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scons tries to get build time vars by loading sysconfigdata. Inherit
python3native instead of using host python and unset
_PYTHON_SYSCONFIGDATA_NAME to avoid the need to depend on target
python3 for sysconfigdata when using scons to build.
Avoids build errors on still supported CentOS 7:
| DEBUG: Executing shell function do_compile
| scons: *** SCons version 3.0.5 does not run under Python version
3.4.8.
| Python 2.7 or >= 3.5 is required.
(From OE-Core rev: 44f303ba9fb193a985e8e4b7c6962883ae3970d1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Inherit scons bbclass and use the task definitions from there.
* Remove the DEPENDS on python3-scons-native that is already present in
scons class.
(From OE-Core rev: 1522f09a4dd21fef177d514cb4d37e94d140dd33)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Run run-ptest at arbitrary path
2. Fix large-subopt.in1 not found
...
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in1:
No such file or directory
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in2:
No such file or directory
...
(From OE-Core rev: 0f7ada89ef8ed65eee8ada5e766999af7771c2c8)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop 0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch
- Drop 0001-opkg-list-fields-fix-to-print-the-fields-again.patch
(From OE-Core rev: 76a7f0d60f5dc38da15f21720cb97bf761562b44)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running 'oe-selftest -r oescripts', the following error appeared.
cls.skipTest('Python module cairo is not present')
TypeError: skipTest() missing 1 required positional argument: 'reason'
This is because the host does not have the cairo python module installed.
Fix this problem by using unittest's SkipTest exception.
(From OE-Core rev: 785bb108ceb9dc137ec8d75d887b6a3869cbfb9c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
util-linux ptest requires the scsi_debug module to perform eject/mount
tests. This will conditionally add scsi_debug module when ptest is in
DISTRO_FEATURES.
This doesn't include linux-yocto-tiny because the resulting image will
be too big and do_image would complain about this.
[YOCTO #13301]
(From OE-Core rev: 70a30872bd93cc058b05d9cf2b4f9334658629ee)
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The util-linux's ptest uses the SCSI_DEBUG kernel module to create
virtual SCSI disks. The automount feature of udevd will try to mount
these disks by default. Because udevd controls the mount of the disks,
the eject/mount tests will fail or be skipped. This change will stop
udevd before executing the util-linux's ptest and start the daemon
again after all the tests.
This is for eudevd only, systemd-udevd doesn't present this problem
because there are no automount rules.
[YOCTO #13301]
(From OE-Core rev: f7becf0b5743dfbee06b354a086dc553db2b1348)
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add bison-native to DEPENDS of qemu and qemu-system-native to fix
compile warning:
| BISON dtc-parser.tab.c
| make[1]: bison: Command not found
(From OE-Core rev: ef2592eb898b494cf61f1e0614bdcaf94ec103d0)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm5.org has been down for about a year now. Use linuxfromscratch.org
as an alternative reliable source instead.
(From OE-Core rev: d9224014da9a512b1b8837e4e7a736d465c97be3)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was in meta-oe but EFI is sufficiently widespread now that we need it in
core.
The recipe is based on the one in meta-oe but with several updates.
(From OE-Core rev: 275e5e7ecf4f79b7892ae35a47902188d9905bd0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was in meta-oe but EFI is sufficiently wide spread now that we need it in
core.
The recipe is based on the one in meta-oe but with several updates.
(From OE-Core rev: 53fe0133432f62024850e87456292b044d1280ee)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since this commit:
commit ad1db93d134db1ec4f6d6598c9741dc13e82e1f3
Author: Anuj Mittal <anuj.mittal@intel.com>
Date: Tue May 28 06:32:10 2019 +0800
Subject: Revert "pigz: pigz is not gzip"
pigz-native and nativesdk-pigz no longer installs pigz, unpigz, pigzcat,
so scripts explicitly depending on pigz-native and calling pigz started to fail.
* reverse the logic
- all the builds install pigz, unpigz, pigzcat
- only the native one installs it as gzip as well
* it could be optimized a bit more to create gzip as just a symlink
in native case as well, but they are in different directories
(pigz in base_bindir and gzip in bindir) and it's only 130kB..
(From OE-Core rev: 112deafd1c144d770b6ec0953911f2adc1cb30dd)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this commit will permit to read the option from
/etc/default/rng-tools both from systemd and sysvinit unit file.
(From OE-Core rev: 16ced1a253c74c01ca414db2f1a010c083213b91)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since UBOOT_DTB_BINARY empty means we don't need to inject signatures
into the U-Boot DTB, we can remove the dependencies between consumers of
these two classes and resolve a circular dependency between u-boot and
kernel.
(From OE-Core rev: c6b49cb75285e71909d1f9e4bf636f186941b519)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_install_ptest in recipe is covered by default function
in ptest.bbclass since inherit ptest write in wrong place,
fix it by move it to top.
(From OE-Core rev: d4ad8d95c60830ac4bd988314cd865c32d1ec4e0)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE set to qemux86-64
for lib32-core-image-sato, during do_rootfs, it will run
install_complementary, which will get localedir by
d.getVar("libdir"), without override, libdir will still be
lib64. add override to fix it.
(From OE-Core rev: 8ed0cf040abbfb0999ac92b59ca9b7067d340202)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license files' names are changed, but the contents remain the
same. However, the LICENSE section of the recipe was wrong. This
upgrade change the 'BSD' part to 'BSD-3-Clause & BSD-4-Clause'.
(From OE-Core rev: 9bc68bcc79d9e2464b9b29f6bfde8322b65c09b9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With meta-micro, ${prefix} is the empty string. This means that
CMAKE_INSTALL_BINDIR:PATH and friends end up containing paths starting with
many instances of "../", presumably due to os.path.relpath attempting to
find its way to the current directory.
Let's avoid this by ensuring that the root path always ends in a slash. If
it already ends in a slash then adding another one shouldn't cause any
problems.
(From OE-Core rev: 67b19414c1c17f71f39c971b9f9fdd1f776516a1)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase 0003-Add-disable-opengl-configure-option.patch
and add another fix to it (g-introspection input file list assumes
opengl is always available).
(From OE-Core rev: e6ca80559f02a8a38272ae52c568053dde52ac9f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-loaders.cache-depend-on-loaders-being-fully-build.patch
as upstream has fixed the issue.
Add a patch to revert upstream's decision to not cross-compile
thumbnailer or tests.
(From OE-Core rev: 0598f66aa823ec4355284a0a40c3d125d6c5e0c9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One bug went unnoticed without these selftests: an INCOMPATIBLE_LICENSE
with a non-SPDX license for a package with that non-SPDX license wasn't
enforcing the denial of build for said package. See
4b6ce4604c ("meta: license: fix non-SPDX
license being removed from INCOMPATIBLE_LICENSE")
While adding a test for that particular case, let's add a few more so
that we cover a handful more use cases of INCOMPATIBLE_LICENSE.
(From OE-Core rev: 6c2ca52218c196e7ccf6b3275bffc3e3a04193c6)
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current QA team need to merge test result files from multiple sources.
Adding TESTSERIES configuration too early will have negative
implication to report and regression. Enable control to add TESTSERIES
when needed. Also enable adding EXECUTED_BY configuration when
needed.
(From OE-Core rev: 651d8d371e78e77599d56681228d5782664f7743)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current results stored does not have information needed to trace who
executed the tests. Enable store to add EXECUTED_BY configuration
to results file in order to track who executed the tests.
(From OE-Core rev: dca2a57d54163a2e63b06e2f140fea3bd49cef0d)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current resultutils library always add "TESTSERIES" configuration
to results. Enhance this to allow control of adding "TESTSERIES"
configuration as well as allow adding extra configurations
when needed.
(From OE-Core rev: 443c0acc14ef2451b10878fc83dd11b46805daf0)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch originally only meant to correct the python3 build for mips
with softfloat, as the original test only checked for mips hardfloat.
Replaced custom C Program for triplet detection with autotools triplet
detection.
(From OE-Core rev: 203336486c84528e8779db93f64cc28e4b372aab)
Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have nose recipes for both Py2 and Py3, but they both want to ship the
unversioned nosetest binary. As Py2 is approaching EOL, remove the unversioned
binary from python-nose (leaving nosetest-2.7) instead of renaming the binary to
nosetest3 in python3-nose.
(From OE-Core rev: e22111a18a0f67fefd1800f67bd5e45637deaa60)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have no BBMULTICONFIG set but set mcdepends, they're currently
ignored. We can handle them correctly with this small tweak.
(Bitbake rev: 578f0c02f6a13f4315e7c2ce8b5e876dd2025055)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A separate patch to base.bbclass (in poky) will add the OE_EXTRA_IMPORTS
variable. The contents are appended into OE_IMPORTS. This provides a
mechanism by which layers (in their layer.conf) can make custom progress
handlers available.
As a backup, individual recipes can inject progress handlers into
__builtins__.
Custom handlers are expected to have this __init__ signature:
def __init__(self, d, outfile=None, otherargs=None):
Recipes can then use the handlers like this:
do_task[progress] = "custom:mylayer.util.ProgressHandler[:args]"
The last part (everything after and including the second colon) is
optional. If provided, it is passed to HandlerClass's __init__ as
otherargs="args". Otherwise, otherargs=None.
(Bitbake rev: 20289d62c84c393990dd3deb0cca1b17c09092e6)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It seems context management support was half-implemented, but never
finished. For example, LogTee has __enter__ and __exit__ but they
haven't been exercised until now.
(Bitbake rev: bf522ad3e0c52cdb69b406226840d870ff4f2766)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package 'make-mod-scripts' creates files in 'kernel-build-artifacts/include/config'
which are removed by 'cleanall/cleansstate' of 'virtual/kernel'. And this causes the
below error while building out of tree kernel module:
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
Suggested-by: Jun Nie <jun.nie@linaro.org>
(From OE-Core rev: f79c95f6a883e999e0c2ecfd60b6b696b7595497)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value of PACKAGE_EXTRA_ARCHS_tune-thunderx should be based on
PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto instead of armv8a-crc-crypto.
Otherwise we would get some sanity check error like this:
OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Error, the PACKAGE_ARCHS variable (all any noarch armv8a-crc-crypto thunderx qemuarm64) for DEFAULTTUNE (thunderx) does not contain TUNE_PKGARCH (aarch64)
(From OE-Core rev: 13cc0f7c0bd98ea228e9bdf51043117d38837ce7)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A non-SPDX license (which is not an alias to an SPDX license) cannot
currently be marked as incompatible in INCOMPATIBLE_LICENSE.
In the current state, we take all INCOMPATIBLE_LICENSE and pass them
through expand_wildcard_licenses which is only adding SPDX licenses that
match the glob regexp of what is in INCOMPATIBLE_LICENSE (be it a direct
match to an SPDX license or via an alias).
This does not work well with custom licenses.
E.g.:
foo.bb:
LICENSE = "FooLicense"
conf/local.conf:
INCOMPATIBLE_LICENSE = "FooLicense"
`bitbake foo`
Gives no warning, no error, builds and packages successfully, because
INCOMPATIBLE_LICENSE is basically empty since FooLicense is neither in
SPDXLICENSEMAP nor in SRC_DISTRIBUTE_LICENSES.
Let's add the original licenses to the list returned by
expand_wildcard_licenses to be able to handle the aforementioned case.
INCOMPATIBLE_LICENSE = "FooLicense GPLv2 GPLv3+" used to "resolve" to
"GPLv2 GPLv3". It now resolves to "FooLicense GPLv2 GPLv3 GPLv3+" which
fixes the issue with custom licenses not being in SPDXLICENSEMAP or
SRC_DISTRIBUTE_LICENSES and thus being left out of the blacklisted
licenses.
I needed to pass a list to expand_wildcard_licenses from the
license_image class instead of the current output of map() because the
operator [:] does not work on this kind of type, and list(map()) or
anything that iterates over map() actually moves the iterator and breaks
the forloop right after in expand_wildcard_licenses.
(From OE-Core rev: 2d976587d703462db2b7b78661b05ac22fb93787)
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
replaced hardcoded kernel image with KERNEL_IMAGETYPE.
set kernel image to "bzImage" incase KERNEL_IMAGETYPE not set.
(From OE-Core rev: 88a9fef761c5e67b2964fedc85a7e8ad37067564)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
icecc preprocesses source files locally before shipping them off to be compiled
on remote hosts. This preprocessing removes comments, including /* fallthough */
comments in switch statements that normally prevent an implicit-fallthrough
warning, see https://github.com/icecc/icecream/issues/419
Rather than turning off -Werror, the upstream project has implemented a
configure option, --disable-werror, in response to Ross's
https://github.com/json-c/json-c/issues/489
This patch from
21c886534f
Upstream-Status: Backport [Not yet released]
(From OE-Core rev: c668b467415599cb95d93a231eb51d77137a57e4)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The action of "dhclient -x eth0" and "dhclient -r eth0" is
same when enable ENABLE_GENTLE_SHUTDOWN. Disable ENABLE_GENTLE_SHUTDOWN
that will use the default signal hander.
(From OE-Core rev: 8e5c85332f222efd5ffddaa9da9272c6e42881f5)
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As mentioned in upstream commit a2cf84afff,
"gstpythonplugin hardcodes the location of the libpython from the build
workspace and then fails at runtime."
In other words, PYTHON_LIB_LOC was set to the recipe-sysroot-native dir
in the gstreamer1.0-python workspace on the host. Overriding
PYTHON_LIB_LOC with /usr/lib by adding --with-libpython-dir=${libdir} to
EXTRA_OECONF to fix this issue.
The error that was seen is:
** (gst-plugin-scanner:2343): CRITICAL **: 23:08:18.327: Couldn't
g_module_open libpython. Reason: ${project}/build/tmp/work/${arch}/
gstreamer1.0-python/1.14.4-r0/recipe-sysroot-native/usr/lib/libpython3.5m.so:
cannot open shared object file: No such file or directory
The comment continues and says "it still fails because it looks for
a symlinked library ending in .so instead of the actually library with
LIBNAME.so.MAJOR.MINOR. Although we could patch the code to use the path
we want, it will break again if the library version ever changes."
This isn't the case anymore as the package is deploying
/usr/lib/gstreamer-1.0/libgstpython.cpython-37m-i386-linux-gnu.so, a
versionless so.
(From OE-Core rev: ac1d6d55e9cc647caf104e94465e32cf25647ad1)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for generating python3 recipes using the recipetool / devtool.
Drop python2 support at the same time.
Tested with:
oe-selftest -r recipetool.RecipetoolTest
[YOCTO #13264]
(From OE-Core rev: d8b2f58974482b3b1ccc65c5f93104d0d7ba87bc)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic images are handled as vmtype images. Starting qemu with "-kernel"
parameter and an image of type wic is not supported. Especially for
"-machine virt" the combination of wic with -kernel parameter would
be beneficial.
The new parameter QB_FSINFO allows to pass image type specific flags to
runqemu. QB_FSINFO is a space separated list of parameters. Parameters are
structured according to the following pattern: image-type:flag.
For now two parameters are supported:
- wic:no-kernel-in-fs
The wic image is treated as rootfs only image. A -kernel option is
passed to qemu.
- wic:kernel-in-fs
The wic image is treated as VM image including a bootloader and a
kernel. This is still the default behavior.
Example:
QB_DEFAULT_FSTYPE = "wic"
QB_FSINFO = "wic:no-kernel-in-fs"
QB_KERNEL_ROOT = "/dev/vda1"
QB_SYSTEM_NAME = "qemu-system-aarch64"
QB_MACHINE = "-machine virt"
...
[YOCTO #13336]
(From OE-Core rev: 2aa79a67affd22dfa37e4c2945c6ab0c86321f98)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows "multiconfig:" targets to continue to work by internally
mapping them to the new "mc:" naming, allowing older builds to work
as before.
(Bitbake rev: c4d90890547af642e99cc541af3415df3559563e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After real world use its clear the "multiconfig:" prefix to multiconfig tasks,
whilst clear, is also clumbersome. Switch to use the short version instead.
mcdepends will continue to work with "multiconfig:" for now as well. The commandline
will only accept mc: going forward.
[YOCTO #11168]
(Bitbake rev: 821daf093b76504067a8b77dfa4b181af6ec92b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an initial test for reproducible builds to the OE selftest. This
initial test builds core-image-minimal using sstate, then does a clean
build without sstate in another build directory, and finally does a
binary comparison of the resulting package files between the two builds.
The test is currently always skipped since it doesn't pass yet, but it
can easily be enabled locally
(From OE-Core rev: 2e591bdf93ec9e59b900562263dfe8e72b163baa)
Signed-off-by: Joshua Watt <JPEWHacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE_IMPORTS is not intended to be touched by users, but there are cases
in which layers might want to make additional Python modules available
to Python functions. For example, Python modules defined in the layer
themselves (under meta-layer/lib).
(From OE-Core rev: 00fa8391365863fa7805ad61b2d1a8425b9ea040)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testimage.bbclass starts qemu with the first image type found in
the IMAGE_FSTYPES list. It's weird: this ['wic', 'tar'] works but
this ['tar'. 'wic'] does not. If QB_DEFAULT_FSTYPE is defined,
this fstype is booted.
(From OE-Core rev: aedb6bf9b6ccf37f69372642bc4c5dbbca92d0d9)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While hacking on this I got an Exception. It's better to define
variables also in python.
Signe:-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
(From OE-Core rev: 1ea225a86cdee4ed932ede509d3351d5aecae497)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In minimal images the agent-ptrace test is skipped unless gdb is
installed which explains the difference in test counts. We don't
want a build dependency on gdb and the test isn't critical so just
document the dependency.
(From OE-Core rev: d3f29e6e52367e124e3f543f970038c0332ad3e1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In minimal images all tests pass due to a missing dependency on make.
Add the missing dependecy.
The test list created by the run-ptest script is incorrect as it includes
entries like "fi". Simplify it and correct it.
Some tests are skipped due to mpfr not being enabled. Correctly mark these
as SKIP.
Some tests need the "../gawk" script, create a link to it so the tests
work correctly.
Also print more information in the failed test cases.
(From OE-Core rev: 8392d60e05c4eed0b08273c1a934eeea54215079)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't really care about kernels this old anymore, so drop the patch.
(From OE-Core rev: b9630048451342a0ca1080955b0df35b0c94ce46)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several of the parted fixes are actually upstream in slightly different form.
(From OE-Core rev: 90e032a4dc8e7d56db667d35a15cbf30b9fcdf06)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop autotools-specific parts from patches, as all autotools files
have been removed upstream (meson is now the only option).
Remove autotools-specific 0001-Revert-Use-absolute-paths-in-pkg-config-files.patch
Remove backported fix-nl-abaltmon.patch
Add a hunk to Enable-more-tests-while-cross-compiling.patch which comments out
the part of the tests that hard-codes native ld for building.
(From OE-Core rev: c7479bfd5fad4b9ba2e4299048a0c432200a5204)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some file systems don't support fetching the block size (notably the file system
Docker uses for containers), so handle the iotctl() failing and raise the
expected error.
(From OE-Core rev: 3757073726a00c5250556aae3d0daac76b88085e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I left out the word "not" in a key sentence in the new
"Checking on the Upgrade Status of a Recipe" section.
Little words can make big differences.
(From yocto-docs rev: 46a524a0d6c9e2ed6428039a4454e384a6ef648d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the section to include more detail on what the user
sees in the returned table.
(From yocto-docs rev: 671279548dde7f356888ba1ad1551b8bb1f70a65)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I show the "devtool check-upgrade-status" command as part of
the "do_checkpkg" task section. I added a cross-reference
link to the "Checking on the Upgrade Status of a Recipe"
section in the ref-manual.
(From yocto-docs rev: 034054f431cc9f0e61c8e156eed66bdf6e1198a1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section "Upgrading Recipes" covers several ways of
upgrading a recipe. I added some stuff in the introductory
area that mentions the fact a user might want to check
the upgrade status of a recipe first.
(From yocto-docs rev: bd2fd8d0a91b64455c282ebf4974e40874274f46)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a new section showcasing the "devtool check-upgrade-status"
command.
Also, added a note in the "Upgrading a Recipe" section" to tell
the reader they might want to check on a recipe's upgrade
status before upgrading a recipe.
(From yocto-docs rev: 974f63fe8836fccd51f12b511c23644235cbd4b4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically missing was the "devtool check-upgrade-status"
command.
(From yocto-docs rev: beaa40e8d1037f237ab588ec6ce256b8c3a18543)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class was removed for 2.7 and I took the reference section
out of the class area.
(From yocto-docs rev: daf786bebb0286d2ced46c97957d80a94c921c56)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The migration section noted this class as becoming obsolete.
I removed it from the class reference section.
(From yocto-docs rev: 63128888242493fb5671f11a2e5e470f2da6b22a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ousted these since it was noted in the migration section that
the class had been removed. Modified all references to the
removed class as needed.
(From yocto-docs rev: 7000acc76da6b7ee850b799347ab9083663c7e6a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
This task needed to cross-reference the "Fetchers" section,
which is in the BitBake User Manual.
(From yocto-docs rev: c8862f4c8cc43777acead0e93fc728f2e8be4641)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Use devtool upgrade to Create a Version of the Recipe
that Supports a Newer Version of the Software" section, we
reference "fetchers" but do not link to the section on them
in the BB manual. I added a link.
(From yocto-docs rev: 633ac78daa2ab3bdde17ecb1a203f6addd6ee4af)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
IrDA support was removed in upstream kernel 4.17,
and irda-utils as well as the feature are now also removed.
(From yocto-docs rev: 5650b3c733310b4d478440449d427de417946c81)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One array test attempts to create an array that is far too
large to exist. Different exceptions are thrown for 32 and 64
bit machines, so we account for that when catching them.
(From OE-Core rev: 03e3721674fe7fc22911ec738524cef86c7a5357)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile used for bash-ptest can pick up the path to the uninative
loader through BUILD_LDFLAGS. This includes the full path to the
uninative loader, which is not reproducible. Replace it with /bin/false.
It doesn't appear as if these native programs are used in the test
suites and if there are likely to be other problems related to building
them using the BUILD_* flags.
(From OE-Core rev: 1208ff934a2bb6378aa8b219345110a0d56bf767)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They are now added automatically by the ptest class.
(From OE-Core rev: 25cf1820122bb2b15057aafe1c9e04a733f81bcf)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We keep seeing "cannot allocate memory" errors from rpm when signing packages
on the autobuilder. The following were tried:
* checking locked memory use (isn't hitting limits)
* Restricting RPM_GPG_SIGN_CHUNK to 1
* Limiting to 10 parallel do_package_write_rpm tasks
* Allowing unlimied memory overcommit
* Disabling rpm parallel compression
and the test still failed. Further invetigation showed that the --auto-expand-secmem
wasn't being passed to gpg-agent which meant the secmem couldn't be expanded hence the
errors when there was pressure on the agent.
The reason this happens is that some of the early gpg commands can start the agent
without the option and it sticks around in memory so a version with the correct
option may or may not get started.
We therefore add the option to all the key gpg calls.
(From OE-Core rev: c7e131a76e522503df55e211dd261829feacfa28)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the openssh tests in minimal images since they use options
not present in the busybox versions of the commands.
[YOCTO #13295]
(From OE-Core rev: 4059d8eedc5cf6f46a834997b7120150fcec4c0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
allow wic to list and search for kickstart file in .wks.in extension.
basename show by wic list images to fully exclude extension.
(From OE-Core rev: 2c0a292a790ad069648e37b1b29fcea656fcf3e4)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added 9 years ago as a workaround for a problem with
gcc 4.5 on mips.
Building webkitgtk works for me without it for qemumips.
Debian also builds webkitgtk for 32/64 bit big/little endian mips
without using this workaround.
(From OE-Core rev: 7af322a995a9385f7f452c2988188de98db300c2)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the commit ad522ea6a6 ("runqemu: Let qemuparams override default
settings"), the order of the two "-serial" parameters when running the
qemu have been switched. The effect of this is that the logging thread
will use ttyS1 (of course can't capture the kernel boot message anymore),
and the test command will run on the ttyS0. So the output of the test
command may be mangled by the kernel message (such as call trace), and
let the test command produce a fake timeout error message. We can't fix
it by just adjusting the order of the threadport and serverport, since
it will break some machines such as qemuarm64 which use the virtio
serial. So using the tcpserial to setup both the threadport and
serverport.
[YOCTO Bug 13309]
(From OE-Core rev: 9f2005dee41b1ef5a0d1f7b69bcd6c8352dac016)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases(such as the oeqa's qemurunner), we need to setup multi
serial devices via the '-serial 127.0.0.1:xx" and the order of them
is significant. The mixing use of "tcpserial" and "-serial 127.0.0.1:xx"
cause ambiguous issues and we can't fix it by only adjusting the order
of them. So add the support to pass multi ports to the tcpserial
parameter, this will make sure that the order of setting up the serial
is really what we want.
[YOCTO Bug 13309]
(From OE-Core rev: 766c3b56e5071b5a5a64e88df6d3abe5232dd958)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This introduces a variable, PKGDATA_VARS, that contains the names of
the variables that are to be output in the runtime pkgdata files.
(From OE-Core rev: 43e55bfa040425cf93d94ac626a31f6fd00a7a74)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ship some obex files in the appropriate obex package. This fixes boot
error:
[FAILED] Failed to start Bluetooth OBEX service.
that was caused by the obex.service being shipped in the main package,
rather than the -obex (that includes obexd).
(From OE-Core rev: bc9f5f4c107ea34171aad3245a49b25b671d8679)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several files that are part of libvte (e.g. src/widget.cc)
are licensed LGPLv3+.
(From OE-Core rev: 4e3b013daaa07934f1fa81f1b26fe40fea1e3435)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of patching out the Perl detection, seed the search for perl with
HOSTTOOLS_DIR/perl. This search usually fails because we don't let
find_program() hunt in the system paths currently.
(From OE-Core rev: 802091c09091b71814cbdce0ec3323741862f807)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
63d097c Add SPDX-License-Identifier: GPL-2.0-or-later in source files (HEAD)
fb93c99 utils.c: close all file descriptors after completing a ptest
(From OE-Core rev: 4115805fb4ff47fc794651ca59c858f91fe26fc7)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newlibs Makefiles use a variable CC_FOR_TARGET to build
libraries for the TARGET machine (as opposed to
CC_FOR_BUILD).
We pass CC on our compile function, which is normally
use to build, although in this case, the configure
script is trimming CC and using simply gcc for the target
machine, basically taking out the TUNE variables we pass
in CC as well, such as march, mfloat-abi and such.
This causes errors when building applications since
CC will try to use hard floating point for example
whereas the libc.a from newlib will contain libraries
built with the defaults which could be soft floating
point for example.
e.g.:
$ ${CC} test.c
real-ld: error: test.out uses VFP register arguments,
/usr/lib/libg.a(lib_a-stdio.o) does not.
Analizing the object files we can see that one of them
uses soft (library) and the other one uses hard
floating point (program):
$ readelf -A test.out | grep VFP
Tag_ABI_VFP_args: VFP registers
$ readelf -A usr/lib/libc.a | grep VFP
Hence why the linker complains.
Pass CC_FOR_TARGET with the contents of CC to override
the trimming from the configure script and build newlib
with the correct tune.
(From OE-Core rev: d00b32f4f961ceeb75e7a014209666c10cf3eb93)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade both newlib and libgloss to the yearly
release 3.1.0.
BSD-2 license was added on:
6864c08b94752d34cca
(From OE-Core rev: ef90ed7e4be3f1ed63faba73bd4bbd593ae7bdf2)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32-bit x86 isn't really a useful target these days, and if users are
experimenting without setting MACHINE to their actual target then 64-bit x86
will have better performance.
(From meta-yocto rev: 69ddecdb15168dcd362f29226419a448d66fdacc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The unistring patch isn't needed anymore (the relevant lines are entirely
removed).
License checksums updated because of a typo fix, and an added author name.
(From OE-Core rev: 73fe3f7108e1d194961440f63afa73d5f7a0b983)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent upgrade to the recipe moved SRC_URI to github. Fix the version
check accordingly.
(From OE-Core rev: 6119272f8855f949d428e12ab4da987d43a6adbf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As said in ${S}/m4/groff.m4
...
1642 # gdiffmk will attempt to use bash (for option -ef of 'test'). If bash
1643 # is not available it will use /bin/sh.
...
So drop hardcode shebang replacement, and pass variable to configure,
it also remove build path in gdiffmk to improve reproducibility
(From OE-Core rev: 9726c75c98f04735df33f61cf019ee50f67296f5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Printing the lack of a test is not necessary (per feedback). Remove
this from the template to quieten it.
(From OE-Core rev: b1fe6ae66360e160eeaeafe456536f335a0eab60)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing quotes in ptest runner. Without these it runs all gnome tests
which is why the counts in my minimal image tests differed from those on the
main autobuilder core-image-sato runs.
Also fix an error showing in the ptest logs where invalid options were being
passed to busybox du.
(From OE-Core rev: dc0c916e610297063821450761c17e10c53bb4dd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sorts the list of detected ELF files by path before processing. This
ensures that when multiple files are hardlinked together the first one
found is always the same. This is required to have reproducible builds.
(From OE-Core rev: de86bfeda6e3845336a0b56c883b49219967128f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch from Debian to remove the build date from zip.
(From OE-Core rev: 222d485e4eb789307093d57cb3c8d373c2e695b8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of test case configuration file based on user inputs.
Where this testcase configuration file will be used by the the manual
execution to run selected test cases for a module rather than compulsory
run all test cases in manual json file.
(From OE-Core rev: 73d2a747c17779da0ca972da776b3cf02c2e1cbc)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the SRCREVs to pickup the following configuration tweak for
ptest usage:
Author: Mariano López <just.another.mariano@gmail.com>
Date: Sat Jun 1 17:30:46 2019 -0500
Add SCSI debug configuration for util-linux ptest
The ptests from util-linux require the scsi debug module to be installed
for a subset of tests. This patch would allow to build the kernel module
for the linux-yocto kernel.
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
(From OE-Core rev: 1d72b295a22cde80259393e36e3515b6fa2ee34d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows ptests to execute successfully in minimal images.
(From OE-Core rev: 895d96fc65fbaab6d94b6e2fe56202f256d86ede)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the code will sum all of the different machine results into a
single report of the tests results. This can lead to confusion as to
which machine may be experiencing issues. Modify the code to store the
results in a per machine basis and report them accordingly.
(From OE-Core rev: 16d4031ea5df8a4ddfdb937d35464c09e1abd10e)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While pv contains char `+' (such as ncurses 6.1+20181013),
it was incorrectly converted to `6.1'
In this commit:
- Convert [^\+]* to .*?
Support pv to contain char `+' and not greedy match
(Such as ncurses 6.1+20181013)
- Add [^\+] to sfx match
Support sfx contains extra chars between `+' and `git'
(such as asciidoc "8.6.9+py3-gitAUTOINC+618f6e6f6b")
- Make sfx and rev greedy match
Run `devtool check-upgrade-status --all' in poky and compare results,
only one difference on ncurses version:
Without the commit:
INFO: ncurses 6.1 6.1+20181013 Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835
With the commit:
INFO: ncurses 6.1+20181013 MATCH Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835
(From OE-Core rev: 8049bd34b89e710f7bb20883813ba3f929d9e997)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [330fc83 grub: Use -Wno-error instead of doing this
on a per-warning basis] applied in oe-core, it missed a space
in append.
(From OE-Core rev: 62c3c8277fcea61940a4433d3796a4cec1b5f577)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: cd1dc2334fd3e3d1db9be1d26e888051e3f59c5a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--
v2: Add comment in the patch headers.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 6fa60ac102f6d3977df4236bd5a22680298bdac2)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--
v2: Add comment in the patch header.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gtk-doc was the only user, and has been switched over to python3-pygments.
(From OE-Core rev: 5301fe1a41ff921dcf1349dece74644bb7cc3a0f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source-highlight support has been replaced upstream with python3-pygments.
(From OE-Core rev: 25a26ee7bc73a9a475f89cf9fc7876a4e75a26f4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit is part of 5.0.17+:
ARM: fix function graph tracer and unwinder dependencies
[ Upstream commit 503621628b32782a07b2318e4112bd4372aa3401 ]
Naresh Kamboju recently reported that the function-graph tracer crashes
on ARM. The function-graph tracer assumes that the kernel is built with
frame pointers.
We explicitly disabled the function-graph tracer when building Thumb2,
since the Thumb2 ABI doesn't have frame pointers.
We recently changed the way the unwinder method was selected, which
seems to have made it more likely that we can end up with the function-
graph tracer enabled but without the kernel built with frame pointers.
Fix up the function graph tracer dependencies so the option is not
available when we have no possibility of having frame pointers, and
adjust the dependencies on the unwinder option to hide the non-frame
pointer unwinder options if the function-graph tracer is enabled.
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
As such, we no longer have UNWINDER_ARM enabled in our ARM builds by
default, since we do have FUNCTION_GRAPH_TRACER enabled in the common
ftrace configuration.
We disable FUNCTION_GRAPH_TRACER for ARM, which allows UNWINDER_ARM to
remain enabled and hence systemtap work out of the box for our ARM
reference builds. Obviously, BSPs or other users of the fragments can
make a different decision, but we chose unwinder to be on by default.
(From OE-Core rev: 8b8fb2e0d991c280317e28867224ed2080aa50c1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 5.0 -rt to -rt11, which comprises the following commits:
9c1e84c9b81b v5.0.19-rt11
c4258b70deda workqueue: rework
2a0f03c9daff softirq: rework
cb38c9a00313 Revert "drm/i915/fence: Do not use TIMER_IRQSAFE"
0ffa8402bf10 clocksource: TCLIB: Add proper depend
6a2ecc186d9a arm: imx6: cpuidle: Use raw_spinlock_t
c302271409c2 locking/lockdep: Don't complain about incorrect name for no validate class
4042bcac2c90 v5.0.19-rt10
d6ad4a85a911 genirq: Handle missing work_struct in irq_set_affinity_notifier()
(From OE-Core rev: 9bef18bd94af24d758d2b6e9b4a1de6f4323ce05)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
3f7c1cab1a61 Linux 5.0.19
64d314bd8cc8 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
e5c6d75b0f03 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
b5f95aa7a88b bpf: add map_lookup_elem_sys_only for lookups from syscall side
d811930f74ac bpf: relax inode permission check for retrieving bpf program
ca7ef7e3ddfa driver core: Postpone DMA tear-down until after devres release for probe failure
bad4fbe76cfb md/raid: raid5 preserve the writeback action after the parity check
3770eb3721be Revert "Don't jump to compute_result state from check_result state"
07116a6548c8 perf/x86/intel: Fix race in intel_pmu_disable_event()
58d1e074c742 perf cs-etm: Always allocate memory for cs_etm_queue::prev_packet
cd448c27b08e perf bench numa: Add define for RUSAGE_THREAD if not present
7325696ce261 i2c: designware: ratelimit 'transfer when suspended' errors
8258661858d5 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
5b73764a5d2c KVM: selftests: make hyperv_cpuid test pass on AMD
fb654d0763c8 KVM: fix KVM_CLEAR_DIRTY_LOG for memory slots of unaligned size
497ce5c7f538 x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
96f0be982c8a sched/cpufreq: Fix kobject memleak
2a9605f177f8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
df5eba5f41be qmi_wwan: new Wistron, ZTE and D-Link devices
bd61ddd3e9fc bpf: Fix preempt_enable_no_resched() abuse
bd3713424a01 tools: bpftool: fix infinite loop in map create
1e61a219090f power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
e6ae43922897 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
5450811a02f5 net: ieee802154: fix missing checks for regmap_update_bits
15f64f420bae mac80211: Fix kernel panic due to use of txq after free
eff6d5429bd2 x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
48be4d7ced2c PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
fa42fde1f8e6 apparmorfs: fix use-after-free on symlink traversal
cf0259f7662a securityfs: fix use-after-free on symlink traversal
04aa8a51e723 power: supply: cpcap-battery: Fix division by zero
38a725dd0be7 KVM: PPC: Book3S: Protect memslots while validating user address
eec0c746757b KVM: PPC: Book3S HV: Perserve PSSCR FAKE_SUSPEND bit on guest exit
f3adb80bb243 clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
791746a758e7 ARC: PAE40: don't panic and instead turn off hw ioc
30bd4585bf14 xfrm4: Fix uninitialized memory read in _decode_session4
79fad8fd2b76 xfrm: Honor original L3 slave device in xfrmi policy lookup
ff7fa2c801bc esp4: add length check for UDP encapsulation
4e8ce2680442 xfrm: clean up xfrm protocol checks
6c0db1cbf772 vti4: ipip tunnel deregistration fixes.
f8a427ca50d6 xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
70a87327025a xfrm: Reset secpath in xfrm failure
9531aac1ee3e xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
07a573c046c0 fuse: Add FOPEN_STREAM to use stream_open()
560c6fd312c9 dm mpath: always free attached_handler_name in parse_path()
96ecf4c59f08 dm integrity: correctly calculate the size of metadata area
ecff1441aa15 dm crypt: move detailed message into debug level
862a78341ade dm delay: fix a crash when invalid device is specified
fab2e96c6be0 dm zoned: Fix zone report handling
ef3f84246954 dm cache metadata: Fix loading discard bitset
6c412dc3b757 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
d06a30b1a957 PCI: Factor out pcie_retrain_link() function
4f22ec9f0c28 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
fbd9c6ef0dfc PCI/AER: Change pci_aer_init() stub to return void
be361ee757b8 PCI: Init PCIe feature bits for managed host bridge alloc
adb00a68d2dd PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
2e4017e3ddfd PCI: Mark Atheros AR9462 to avoid bus reset
4ddfb43373ca PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
1fbec8aa02f3 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
620a97786fd6 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
b2adbace369e fbdev: sm712fb: fix support for 1024x768-16 mode
d119b4a43e53 fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
39045ad5a808 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
4badede3e74b fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
62463c4661f1 fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
2a5d31230505 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
cfe31930dac8 fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
a816dc52fe77 x86/mpx, mm/core: Fix recursive munmap() corruption
9d50a05607a7 objtool: Allow AR to be overridden with HOSTAR
93dbb5304b51 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
822e8c43b08a perf intel-pt: Fix sample timestamp wrt non-taken branches
14f3460ed499 perf intel-pt: Fix improved sample timestamp
23abb1eed2ee perf intel-pt: Fix instructions sampling rate
c82da3e43ce1 memory: tegra: Fix integer overflow on tick value calculation
dda71c1663c8 tracing: probeevent: Fix to make the type of $comm string
95142e28042b tracing: Fix partial reading of trace event's id file
9dba717a8156 ftrace/x86_64: Emulate call function while updating in breakpoint handler
2a1069824a5c x86_64: Allow breakpoints to emulate call instructions
16e559791d6b x86_64: Add gap to int3 to allow for call emulation
69fc24195198 ceph: flush dirty inodes before proceeding with remount
43cc8d378ca0 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
d79e6a726acb gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6
0e83f9e5ce46 ovl: fix missing upper fs freeze protection on copy up for ioctl
bf076fd44bd6 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
79d8f6321221 fuse: fix writepages on 32bit
12db517f8a3e udlfb: introduce a rendering mutex
0bd143ed4109 udlfb: fix sleeping inside spinlock
02851943751d udlfb: delete the unused parameter for dlfb_handle_damage
855e2af24ab5 clk: rockchip: fix wrong clock definitions for rk3328
317e574eaf6d clk: mediatek: Disable tuner_en before change PLL rate
b5f7027a6f79 clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
87b083dbdd8f clk: hi3660: Mark clk_gate_ufs_subsys as critical
3c1f44469d83 PNFS fallback to MDS if no deviceid found
73e0d62f16ec NFS4: Fix v4.0 client state corruption when mount
1aa8f89cf5ad RDMA/ipoib: Allow user space differentiate between valid dev_port
90ebb540a7b1 RDMA/mlx5: Use get_zeroed_page() for clock_info
2132baff7e0f media: imx: Clear fwnode link struct for each endpoint iteration
7543aeaf9331 media: imx: csi: Allow unknown nearest upstream entities
8a6a542635fe media: ov6650: Fix sensor possibly not detected on probe
252f74c15935 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
921bb3e9be5b cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
6c65b5a9d829 brcmfmac: Add DMI nvram filename quirk for ACEPC T8 and T11 mini PCs
e15c901c9b1f of: fix clang -Wunsequenced for be32_to_cpu()
a1243cd45745 p54: drop device reference count if fails to enable device
24cb69043d68 intel_th: msu: Fix single mode with IOMMU
86901d0a34ab dcache: sort the freeing-without-RCU-delay mess for good.
cb259d53313c md: add a missing endianness conversion in check_sb_changes
ceaae3df28ef md: add mddev->pers to avoid potential NULL pointer dereference
3d8c54fb4b8f md: batch flush requests.
dfbe4d1af4b3 Revert "MD: fix lock contention for flush bios"
be2bcbeda06b proc: prevent changes to overridden credentials
e2d95e6022f9 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
019da3cf8d2d stm class: Fix channel bitmap on 32-bit systems
e52484d4b315 stm class: Fix channel free in stm output free path
7a76effe2dea parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
e2d87b36a59b parisc: Use PA_ASM_LEVEL in boot code
fac8648ec7ce parisc: Allow live-patching of __meminit functions
62c78938e3ee parisc: Add memory barrier to asm pdc and sync instructions
81641f9c6039 parisc: Skip registering LED when running in QEMU
f4a05c586c3a parisc: Add memory clobber to TLB purges
52b905433b0d parisc: Export running_on_qemu symbol for modules
5b3b51fe5bef regulator: core: fix error path for regulator_set_voltage_unlocked
97346dda2c99 blk-mq: free hw queue's resource in hctx's release handler
860dde8d0962 mm/gup: Remove the 'write' parameter from gup_fast_permitted()
b80fc1eed537 net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
5125c4d4cfca net/mlx5: Imply MLXFW in mlx5_core
ac5465716ae6 net/mlx5e: Additional check for flow destination comparison
e3e09b07aab6 net/mlx5e: Add missing ethtool driver info for representors
5048d03fa137 vsock/virtio: Initialize core virtio vsock before registering the driver
ac01b87ed3ec tipc: fix modprobe tipc failed after switch order of device registration
51adb8ebe8c1 vsock/virtio: free packets during the socket release
3f48a2fa3d79 tipc: switch order of device registration to fix a crash
0501b80b158a rtnetlink: always put IFLA_LINK for links with a link-netnsid
4d4b20738489 ppp: deflate: Fix possible crash in deflate_init
ebf4338d96e9 nfp: flower: add rcu locks when accessing netdev for tunnels
d818a94975ed net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
18b3bb2503b4 net: test nouarg before dereferencing zerocopy pointers
4e6d54b16a89 net/mlx4_core: Change the error print to info print
708c22fedf0c net: avoid weird emergency message
145708e7d94c net: Always descend into dsa/
6c8566ebb5f1 ipv6: prevent possible fib6 leaks
aed9be48191f ipv6: fix src addr routing with the exception table
8614793dbb41 Linux 5.0.18
3dacabb35d7f ext4: don't update s_rev_level if not required
18f59db712ce ext4: fix compile error when using BUFFER_TRACE
593ddcbac4a4 s390/mm: convert to the generic get_user_pages_fast code
97249a2034b6 s390/mm: make the pxd_offset functions more robust
4999174b1a77 iov_iter: optimize page_copy_sane()
6e52e4b6cf50 libnvdimm/namespace: Fix label tracking error
63e54af2e570 xen/pvh: correctly setup the PV EFI interface for dom0
a1c5c7476db0 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
9339434bdbb4 kbuild: turn auto.conf.cmd into a mandatory include file
d71c6a4b31db KVM: lapic: Busy wait for timer to expire when using hv_timer
fae3b156b196 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
87e61d57ae37 KVM: Fix the bitmap range to copy during clear dirty
295a7bd172d2 jbd2: fix potential double free
a5f8b69097a3 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
20f6e5999787 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
5ddcddba1be6 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
ec9ff0dd9829 ext4: avoid panic during forced reboot due to aborted journal
297a39c6528c ext4: fix use-after-free in dx_release()
256e27da8b62 ext4: fix data corruption caused by overlapping unaligned and aligned IO
7f3b711cbf54 ext4: zero out the unused memory region in the extent tree block
bde5b8473bd3 tty: Don't force RISCV SBI console as preferred console
549b0b8a9479 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
f7fea7c067fb crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
638fffb11c93 ipmi:ssif: compare block number correctly for multi-part return messages
bfc6980ff235 bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
5fa31fabc628 bcache: fix a race between cache register and cacheset unregister
0e56cc24df1a Btrfs: fix race between send and deduplication that lead to failures and crashes
0565f46b75e4 Btrfs: do not start a transaction at iterate_extent_inodes()
d48e71659e07 Btrfs: do not start a transaction during fiemap
e7fb540d6a06 Btrfs: send, flush dellaloc in order to avoid data loss
b9ee62718749 btrfs: Honour FITRIM range constraints during free space trim
4afdd2d2afbb btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
1a6e5f745b57 btrfs: Check the first key and level for cached extent buffer
f325062756d0 ext4: fix ext4_show_options for file systems w/o journal
91bf9123ce86 ext4: actually request zeroing of inode table after grow
715f547a6299 ext4: fix use-after-free race with debug_want_extra_isize
310aea022196 ext4: avoid drop reference to iloc.bh twice
7db933229f64 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
7dfca4b97693 ext4: make sanity check in mballoc more strict
39108bea309d jbd2: check superblock mapped prior to committing
033b15ff6b92 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
770e812bbc1d tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
9537358c9452 mtd: maps: Allow MTD_PHYSMAP with MTD_RAM
969859b87f8b mtd: maps: physmap: Store gpio_values correctly
8a2c3433b51b mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
ed824ff290d3 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
12061d7ce0ee mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
966e7ae49bee ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
09ceb529c4ac userfaultfd: use RCU to free the task struct when fork fails
3f26c01c4001 ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
f989305d02a4 hugetlb: use same fault hash key for shared and private mappings
6720e0bc50e9 mm/hugetlb.c: don't put_page in lock of hugetlb_lock
ff191b1d827d mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
535ca6f75ddb mm/mincore.c: make mincore() more conservative
b5b076649d2e crypto: ccree - handle tee fips error during power management resume
2380a8464ee1 crypto: ccree - add function to handle cryptocell tee fips error
22a44b51f2e0 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
f1a7dc5d0e46 crypto: ccree - pm resume first enable the source clk
4a807bab1431 crypto: ccree - don't map AEAD key and IV on stack
a1cb31fd79be crypto: ccree - use correct internal state sizes for export
3ff036422024 crypto: ccree - don't map MAC key on stack
2e1679f6a1d0 crypto: ccree - fix mem leak on error path
23a072df0482 crypto: ccree - remove special handling of chained sg
8efcdb781463 bpf, arm64: remove prefetch insn in xadd mapping
fd049ce703c3 ASoC: codec: hdac_hdmi add device_link to card device
519511e47f79 ASoC: fsl_esai: Fix missing break in switch statement
94748513d811 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
dccbcc8060c8 ASoC: max98090: Fix restore of DAPM Muxes
b2c90ad71e00 ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
0a1cf4fdc58b ALSA: hda/realtek - EAPD turn on later
98ffad31068d ALSA: hda/hdmi - Consider eld_valid when reporting jack event
787d1c606f1a ALSA: hda/hdmi - Read the pin sense from register when repolling
bc3c4c9e00b0 ALSA: usb-audio: Fix a memory leak bug
592b655a306b ALSA: line6: toneport: Fix broken usage of timer for delayed execution
978e70ead670 mmc: sdhci-pci: Fix BYT OCP setting
56f590e2e30a mmc: core: Fix tag set memory leak
1ea20c66648a mmc: tegra: fix ddr signaling for non-ddr modes
4ea5e92a20b9 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
b51455e5493a crypto: arm/aes-neonbs - don't access already-freed walk.iv
86d478d06696 crypto: caam/qi2 - generate hash keys in-place
fd2830991e56 crypto: caam/qi2 - fix DMA mapping of stack memory
0eaed393b4ec crypto: caam/qi2 - fix zero-length buffer DMA mapping
86add9b56835 crypto: rockchip - update IV buffer to contain the next IV
8d9cdf34aaf9 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
246ef445e015 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
47a9de26eb06 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
8eb6266c8eb1 crypto: crct10dif-generic - fix use via crypto_shash_digest()
043e69dd7fef crypto: skcipher - don't WARN on unprocessed data after slow walk step
2c0f409ba69c crypto: vmx - fix copy-paste error in CTR mode
8d02b83b332b crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
fdcd8b3b745e crypto: chacha20poly1305 - set cra_name correctly
d6d54c7c59c6 crypto: chacha-generic - fix use as arm64 no-NEON fallback
0a348941ad06 crypto: lrw - don't access already-freed walk.iv
25f1509c739f crypto: salsa20 - don't access already-freed walk.iv
fb7261b31a2c crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
3149ac3ef4e6 crypto: crypto4xx - fix ctr-aes missing output IV
5404a6ff7458 x86/MCE/AMD: Don't report L1 BTB MCA errors on some family 17h models
ad09c6ef2dcb x86/MCE: Group AMD function prototypes in <asm/mce.h>
b05237350b4a x86/MCE/AMD: Carve out the MC4_MISC thresholding quirk
e6b8b66f965e x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models
993a6595b253 x86/MCE: Add an MCE-record filtering function
52176123f9cb sched/x86: Save [ER]FLAGS on context switch
d81b4ae57fe9 arm64: Save and restore OSDLR_EL1 across suspend/resume
bd254f9d1157 arm64: Clear OSDLR_EL1 on CPU boot
a184f8889306 arm64: compat: Reduce address limit
e57320e0177a arm64: arch_timer: Ensure counter register reads occur with seqlock held
32e802d947ca arm64: mmap: Ensure file offset is treated as unsigned
38a6f722c01a power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
a4e41f047a3e power: supply: axp288_charger: Fix unchecked return value
fe3f22b7084d ARM: exynos: Fix a leaked reference by adding missing of_node_put
a6bc3bfb8206 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
bf6cb21717f4 ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
de42e519cbee ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
3ea393bb1ca4 ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
5d6fa0370c51 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
5414a4761988 arm64: dts: rockchip: fix IO domain voltage setting of APIO5 on rockpro64
8c1134ff70df objtool: Fix function fallthrough detection
bc19bb7d8d10 x86/speculation/mds: Improve CPU buffer clear documentation
d2214ccfecb5 x86/speculation/mds: Revert CPU buffer clear on double fault exit
bfcac7872252 locking/rwsem: Prevent decrement of reader count before increment
(From OE-Core rev: a05ca00a3c44900bfeade01a998ddc8e8c61d9e4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto-rt to -rt9, which comprises the following commits:
cc66f1b95af7 (HEAD -> v5.0/standard/preempt-rt/base) v5.0.14-rt9
96957f0ca4a4 sched/completion: Fix a lockup in wait_for_completion()
7108dfc6c002 iommu/dma-iommu: Remove iommu_dma_map_msi_msg()
50e9a302a12e irqchip/gic-v3-mbi: Don't map the MSI page in mbi_compose_m{b, s}i_msg()
4a4c41f25d90 irqchip/ls-scfg-msi: Don't map the MSI page in ls_scfg_msi_compose_msg()
e6549dc52874 irqchip/gic-v3-its: Don't map the MSI page in its_irq_compose_msi_msg()
21ab1a505f71 irqchip/gicv2m: Don't map the MSI page in gicv2m_compose_msi_msg()
5c7e7ee1155f iommu/dma-iommu: Split iommu_dma_map_msi_msg() in two parts
ed562a120218 genirq/msi: Add a new field in msi_desc to store an IOMMU cookie
8269017c7c71 x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails
834de13e9df3 v5.0.14-rt8
60a1f2741b0b v5.0.10-rt7
5cbcfdaf619f clocksource: improve Atmel TCB timer driver
dde28bc12270 x86/ima: Check EFI_RUNTIME_SERVICES before using
c02d0b49cf87 printk: kmsg_dump: remove mutex usage
b4ccebf15704 locking/rwsem: Rename rwsem_rt.h to rwsem-rt.h
d5758ba7a93e x86/fpu: Remove unnecessary saving of FPU registers in copy_fpstate_to_sigframe()
e16351073c50 x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails
14ff99cb7d48 v5.0.10-rt6
843445383127 v5.0.7-rt5
e886711e0449 drm/i915: Don't disable interrupts independently of the lock
69e41e29c6ad clocksource: improve Atmel TCB timer driver
c2e266f415d0 x86: load FPU registers on return to userland (Update to v9)
4be2fd56d44f v5.0.7-rt4
6fb29acc8efe (origin/v5.0/standard/preempt-rt/base) genirq: Prevent use-after-free and work list corruption on rt
(From OE-Core rev: 80f59dc94ab1522a70412bfb1df9086f6bb7ba22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable commits that comprise the following
changes:
d59f5a01fa43 Linux 5.0.17
ba686f90778b f2fs: Fix use of number of devices
78b8c59eee72 PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
f20f463b32bc PCI: hv: Add hv_pci_remove_slots() when we unload the driver
d3a9cd23b172 PCI: hv: Fix a memory leak in hv_eject_device_work()
7f9572e798ea virtio_ring: Fix potential mem leak in virtqueue_add_indirect_packed
ba81b50090a4 powerpc/booke64: set RI in default MSR
0da52ad69b37 powerpc/powernv/idle: Restore IAMR after idle
d314437d17ad powerpc/book3s/64: check for NULL pointer in pgd_alloc()
79e981a8503f drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
1a84219f73b2 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
8b8fc62b6c67 isdn: bas_gigaset: use usb_fill_int_urb() properly
12786188dcf3 flow_dissector: disable preemption around BPF calls
39f7b3941969 net: phy: fix phy_validate_pause
4a91e5e4c58f tuntap: synchronize through tfiles array instead of tun->numqueues
e0630246658a tuntap: fix dividing by zero in ebpf queue selection
92edcf205388 vrf: sit mtu should not be updated when vrf netdev is the link
13d54150e746 vlan: disable SIOCSHWTSTAMP in container
83c25477e944 tipc: fix hanging clients using poll with EPOLLOUT flag
be6a9818866d selinux: do not report error on connect(AF_UNSPEC)
c3954f8f5a7e packet: Fix error path in packet_init
7bc936f4f226 net: ucc_geth - fix Oops when changing number of buffers in the ring
57ee33b48190 net: seeq: fix crash caused by not set dev.parent
224b04c9e028 net: macb: Change interrupt and napi enable order in open
a3bf31d7ffb2 net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
261a8958a57e net: dsa: Fix error cleanup path in dsa_init_module
2f679c41821f ipv4: Fix raw socket lookup for local traffic
f8351176aed6 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
e4607de103ba dpaa_eth: fix SG frame cleanup
430a64f6fa2c bridge: Fix error path for kobject_init_and_add()
69798384ba38 bonding: fix arp_validate toggling in active-backup mode
d3ff0184ebd2 Don't jump to compute_result state from check_result state
843135c1ce1e rtlwifi: rtl8723ae: Fix missing break in switch statement
14654a1f2e2b mwl8k: Fix rate_idx underflow
202436fe0810 cw1200: fix missing unlock on error in cw1200_hw_scan()
92a9787bb38c drm/rockchip: fix for mailbox read validation.
5b4ef3c5faf9 net: mvpp2: fix validate for PPv2.1
45e1075e04cb net: sched: fix cleanup NULL pointer exception in act_mirr
4b84cde61ce9 bpf: only test gso type on gso packets
073d8f286f34 mm/page_alloc.c: avoid potential NULL pointer dereference
61fadd8a5000 mm/memory_hotplug.c: drop memory device reference after find_memory_block()
59c58e43e80f RDMA/hns: Bugfix for mapping user db
26f70c4e0aef gpio: Fix gpiochip_add_data_with_key() error path
fb53ebc9eb9a net: vrf: Fix operation not supported when set vrf mac
ec69b3c91b3b Input: synaptics-rmi4 - fix possible double free
6a2abf951ed3 Input: snvs_pwrkey - make it depend on ARCH_MXC
21a3f7c2c76c drm/sun4i: Unbind components before releasing DRM and memory
f79084e5372b Revert "drm/virtio: drop prime import/export callbacks"
2455f6cbd19b ceph: handle the case where a dentry has been renamed on outstanding req
d3a9275364d9 spi: ST ST95HF NFC: declare missing of table
943609acd628 spi: Micrel eth switch: declare missing of table
4c6df58231f8 ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
dc41fe5d6fb5 ARM: fix function graph tracer and unwinder dependencies
0cb06e339cee drm/imx: don't skip DP channel disable for background plane
7680e881fdaa gpu: ipu-v3: dp: fix CSC handling
28e4593bb148 arm64/module: ftrace: deal with place relative nature of PLTs
d0f8faa2f540 dmaengine: bcm2835: Avoid GFP_KERNEL in device_prep_slave_sg
d4dc7d99b111 netfilter: fix nf_l4proto_log_invalid to log invalid packets
ddb632889fae netfilter: never get/set skb->tstamp
226ef4f27a45 selftests/net: correct the return value for run_afpackettests
1a20185157b5 selftests/net: correct the return value for run_netsocktests
2d83e90c2375 of_net: Fix residues after of_get_nvmem_mac_address removal
7ba51c0e84b3 drm/sun4i: Fix component unbinding and component master deletion
3000bdec55c8 drm/sun4i: Set device driver data at bind time for use in unbind
1330679d64f8 s390: ctcm: fix ctcm_new_device error return code
143c8279955e IB/mlx5: Fix scatter to CQE in DCT QP creation
b3a64096c5ee MIPS: perf: ath79: Fix perfcount IRQ assignment
ecef50c35a07 netfilter: nat: fix icmp id randomization
c2987d193f8b netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
b0a90cae081d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
a3a5ad78488b ipvs: do not schedule icmp errors from tunnels
44fbb3db2bde selftests: netfilter: check icmp pkttoobig errors are set as related
16b01614d369 drm: bridge: dw-hdmi: Fix overflow workaround for Rockchip SoCs
5bc0352515ef init: initialize jump labels before command line option parsing
57c2301fc9c9 mm: fix inactive list balancing between NUMA nodes and cgroups
47d1b202e325 mm/hotplug: treat CMA pages as unmovable
247e9fe2f4ad slab: store tagged freelist for off-slab slabmgmt
4176e671a44e scsi: aic7xxx: fix EISA support
e9697ba264c2 perf tools: Fix map reference counting
d39036685e22 ocelot: Don't sleep in atomic context (irqs_disabled())
d7200d0648e5 ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
d2ae8127d693 perf top: Always sample time to satisfy needs of use of ordered queuing
9b2395e2bfec tools lib traceevent: Fix missing equality check for strcmp
b053700b6ce9 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
7cee96602903 KVM: fix spectrev1 gadgets
ac0cd21ff7f3 KVM: nVMX: always use early vmcs check when EPT is disabled
ad0b4845927e x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
47155c33761e x86/mm: Prevent bogus warnings with "noexec=off"
e011d319f736 x86/build/lto: Fix truncated .bss with -fdata-sections
5a8306e3b433 s390/pkey: add one more argument space for debug feature entry
7a96a56eea04 drm/amd/display: If one stream full updates, full update all planes
e3a41f93e337 qed: Fix the DORQ's attentions handling
47ef1bab8d1d qed: Fix missing DORQ attentions
deb2cc51dd52 qed: Fix the doorbell address sanity check
2de1573a5ed9 qed: Delete redundant doorbell recovery types
775e0e613250 afs: Fix in-progess ops to ignore server-level callback invalidation
35d71b00267e afs: Unlock pages for __pagevec_release()
f4faab6c9034 qede: fix write to free'd pointer error and double free of ptp
40990109952a vxge: fix return of a free'd memblock on a failed dma mapping
4230787c0655 mISDN: Check address length before reading address family
2d56b3f53ac8 drm/amdgpu: shadow in shadow_list without tbo.mem.start cause page fault in sriov TDR
bf4b7bc690e3 selftests: fib_tests: Fix 'Command line is not complete' errors
b1e68de7659a clocksource/drivers/oxnas: Fix OX820 compatible
641a9b94456d clocksource/drivers/npcm: select TIMER_OF
44d7638b3934 drm/amd/display: extending AUX SW Timeout
6661203b4210 drm/ttm: fix dma_fence refcount imbalance on error path
1e1bdaca091e s390/3270: fix lockdep false positive on view->lock
adefea883c1f tools/testing/nvdimm: Retain security state after overwrite
40af621fefdb libnvdimm/pmem: fix a possible OOB access when read and write pmem
7547c20fdd1c libnvdimm/security: provide fix for secure-erase to use zero-key
8f2e6b8c9b0b nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
0e36c8ed2d52 mac80211: fix memory accounting with A-MSDU aggregation
c93951de3ecb cfg80211: Handle WMM rules in regulatory domain intersection
7c7345f1cad8 mac80211: Increase MAX_MSG_LEN
0c077b14bdc0 mac80211: fix unaligned access in mesh table hash function
9d02fc4b7789 s390/dasd: Fix capacity calculation for large volumes
181518b8eb4e libnvdimm/btt: Fix a kmemdup failure check
f744a5e31a47 HID: input: add mapping for "Toggle Display" key
0e56b93040c2 HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
c64e4d22342c HID: input: add mapping for Expose/Overview key
e42bcea02b46 libnvdimm/namespace: Fix a potential NULL pointer dereference
469cc616e03c acpi/nfit: Always dump _DSM output payload
a9189a36d66e iio: adc: xilinx: prevent touching unclocked h/w on remove
1fc0aeddc0b7 iio: adc: xilinx: fix potential use-after-free on probe
fc92e97e24df iio: adc: xilinx: fix potential use-after-free on remove
a41382ca99e8 USB: serial: fix unthrottle races
b5f2cb384e11 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
a16532b59cca kernfs: fix barrier usage in __kernfs_new_node()
0748cf2d9d1c selftests/seccomp: Handle namespace failures gracefully
5c3c0ffa9d74 hwmon: (occ) Fix extended status bits
a91e668131ad hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
b9d31180294a platform/x86: dell-laptop: fix rfkill functionality
22c8b3235eb2 platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
8fb172181a29 platform/x86: sony-laptop: Fix unintentional fall-through
54c140c5b614 bfq: update internal depth state when queue depth changes
89e11ec0280b Linux 5.0.16
f8bb2589227b x86/speculation/mds: Fix documentation typo
14e3ad8a1452 Documentation: Correct the possible MDS sysfs values
0acbbdf3e41d x86/mds: Add MDSUM variant to the MDS documentation
4cf168a94fd5 x86/speculation/mds: Add 'mitigations=' support for MDS
394e3d8de828 s390/speculation: Support 'mitigations=' cmdline option
f905727fa11c powerpc/speculation: Support 'mitigations=' cmdline option
bd600de16b82 x86/speculation: Support 'mitigations=' cmdline option
6d7407ef9272 cpu/speculation: Add 'mitigations=' cmdline option
c2b25b6b3582 x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
3f7fe4ad1f62 x86/speculation/mds: Fix comment
9cd62662dd7e x86/speculation/mds: Add SMT warning message
c98b736e763d x86/speculation: Move arch_smt_update() call to after mitigation decisions
fb49e1bb2061 x86/speculation/mds: Add mds=full,nosmt cmdline option
08831a92501f Documentation: Add MDS vulnerability documentation
ab8e3e63f23e Documentation: Move L1TF to separate directory
31fd0223449e x86/speculation/mds: Add mitigation mode VMWERV
3944139ce828 x86/speculation/mds: Add sysfs reporting for MDS
0174e8984c2d x86/speculation/mds: Add mitigation control for MDS
d9117863c521 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
100087c08030 x86/kvm/vmx: Add MDS protection when L1D Flush is not active
481871997e37 x86/speculation/mds: Clear CPU buffers on exit to user
a5a8ef7cd7c9 x86/speculation/mds: Add mds_clear_cpu_buffers()
87f96d5e7525 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
78157c977674 x86/speculation/mds: Add BUG_MSBDS_ONLY
ea3d1b32b86e x86/speculation/mds: Add basic bug infrastructure for MDS
019159aec4b7 x86/speculation: Consolidate CPU whitelists
26c0aff1ad63 x86/msr-index: Cleanup bit defines
7b13756d2c32 Linux 5.0.15
41d7bb19aa31 arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
3b928b59fae0 locking/futex: Allow low-level atomic operations to return -EAGAIN
be4b9a303a25 i3c: Fix a shift wrap bug in i3c_bus_set_addr_slot_status()
4b1f2ad28fe1 ASoC: Intel: avoid Oops if DMA setup fails
987722984163 UAS: fix alignment of scatter/gather segments
349bb9138b3a Bluetooth: hci_bcm: Fix empty regulator supplies for Intel Macs
41d5f23ef17b Bluetooth: Fix not initializing L2CAP tx_credits
2c93762f4b38 Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
1c1727f4b948 Bluetooth: hidp: fix buffer overflow
69d6687a5c66 scsi: qla2xxx: Fix device staying in blocked state
aee2053554ea scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
45076c8e403a scsi: lpfc: change snprintf to scnprintf for possible overflow
185e58d16ac8 soc: sunxi: Fix missing dependency on REGMAP_MMIO
34ebc8ad2ea4 ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate
61ae16c4586b cpufreq: armada-37xx: fix frequency calculation for opp
573a935bfb4f iio: adc: qcom-spmi-adc5: Fix of-based module autoloading
284af2788432 intel_th: pci: Add Comet Lake support
704eaf49399f usb-storage: Set virt_boundary_mask to avoid SG overflows
bba2feefcacd USB: cdc-acm: fix unthrottle races
5b1c70f36832 USB: serial: f81232: fix interrupt worker not stop
083a8f69962a usb: dwc3: Fix default lpm_nyet_threshold value
9092861ce665 usb: dwc3: Allow building USB_DWC3_QCOM without EXTCON
70a44a01f8a4 genirq: Prevent use-after-free and work list corruption
b5dbb4058183 iommu/amd: Set exclusion range correctly
6610c1785f70 perf/core: Fix perf_event_disable_inatomic() race
a5f62d2c15a2 NFSv4.1 fix incorrect return value in copy_file_range
a3aa7cab0fc2 platform/x86: pmc_atom: Drop __initconst on dmi table
e6f2733f48cb nvmet: fix discover log page when offsets are used
ea359038ab73 nvme-fc: correct csn initialization and increments on error
407bb38bf3f7 nvme: cancel request synchronously
e62732d12bd9 blk-mq: introduce blk_mq_complete_request_sync()
e81f9ca291ac virtio-blk: limit number of hw queues by nr_cpu_ids
677713b1254f ALSA: hda: Fix racy display power access
7c7450aa9838 ASoC: stm32: sai: fix master clock management
60ec4c3d39be ASoC: Intel: kbl: fix wrong number of channels
c79f5a7a3559 drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy
718254750661 drm/mediatek: using new factor for tvdpll for MT2701 hdmi phy
5b82d95ac6fe drm/mediatek: remove flag CLK_SET_RATE_PARENT for MT2701 hdmi phy
273ed6c20cb5 drm/mediatek: make implementation of recalc_rate() for MT2701 hdmi phy
4b112e5e6af9 drm/mediatek: fix the rate and divder of hdmi phy for MT2701
a873474c769a drm/mediatek: fix possible object reference leak
3051b6a1a14a scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
353392e5b9a5 KEYS: trusted: fix -Wvarags warning
6fb3aa5d7307 RDMA/hns: Fix bug that caused srq creation to fail
f4d87f9b027a RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
3fa40c30fe4c virtio_pci: fix a NULL pointer reference in vp_del_vqs
e0696fe3c10f drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind
09c5ad16c22c slab: fix a crash by reading /proc/slab_allocators
ad74ab443e30 objtool: Add rewind_stack_do_exit() to the noreturn list
fa42760cf276 ASoC: cs35l35: Disable regulators on driver removal
c577757d294e drm/amd/display: fix cursor black issue
4b5f2b0ce17c drm/amdgpu: amdgpu_device_recover_vram always failed if only one node in shadow_list
f528dbeec017 drm/amdgpu: Adjust IB test timeout for XGMI configuration
255063992678 drm/amdkfd: Add picasso pci id
2f0ec100032e ASoC: rockchip: pdm: fix regmap_ops hang issue
dfa9efe42df2 xtensa: fix initialization of pt_regs::syscall in start_thread
9680a806201d iov_iter: Fix build error without CONFIG_CRYPTO
2e94d4e8f2b9 linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
bae9b6b98342 perf/x86/intel: Initialize TFA MSR
9bd3e66587f5 perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
83f3ed3b4bde drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
693d72f920e7 ASoC: tlv320aic32x4: Fix Common Pins
e904a8b14895 MIPS: KGDB: fix kgdb support for SMP platforms.
59188acd0c7d IB/hfi1: Fix the allocation of RSM table
a3270ed43389 IB/hfi1: Eliminate opcode tests on mr deref
1f9f22f6c7d6 IB/hfi1: Clear the IOWAIT pending bits when QP is put into error state
a2fdb5d19477 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
08aa8be65b52 ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
15d326f9548b ASoC: cs4270: Set auto-increment bit for register writes
1be14f5da0b1 ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
9baa2f8ab758 ASoC: stm32: dfsdm: manage multiple prepare
5bff91d2a18f clk: meson-gxbb: round the vdec dividers to closest
b2b47cecd2ce ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
9fb991d9cf50 ASoC: rt5682: recording has no sound after booting
b2cb6f8f307b ASoC: rt5682: fix jack type detection issue
8425db671440 ASoC: rt5682: Check JD status when system resume
3f60f8813be9 ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
b44509a152a3 ASoC: nau8810: fix the issue of widget with prefixed name
6c4a8ae4baa6 ASoC: nau8824: fix the issue of the widget with prefix name
f4f4303c6d54 ASoC: dpcm: prevent snd_soc_dpcm use after free
71ec072682ff ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
ad8af1f8d26e ASoC:hdac_hda:use correct format to setup hda codec
30d948ac01d9 ASoC:soc-pcm:fix a codec fixup issue in TDM case
6872cfa57c42 ASoC: stm32: sai: fix race condition in irq handler
b329de3769b0 ASoC: stm32: sai: fix exposed capabilities in spdif mode
27162c8fdfb9 ASoC: stm32: sai: fix iec958 controls indexation
aba1a357cd90 ASoC: hdmi-codec: fix S/PDIF DAI
045c73ba325d ASoC: tlv320aic3x: fix reset gpio reference counting
ce3a072f275a staging: most: sound: pass correct device when creating a sound card
2dbcc037de1a staging: most: cdev: fix chrdev_region leak in mod_exit
3f57fef02fa7 staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context.
9cccac4ee35f staging: greybus: power_supply: fix prop-descriptor request size
9fe5b8e9d4c2 ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
7c03a3534d24 Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
634424f63373 net: stmmac: Use bfsize1 in ndesc_init_rx_desc
(From OE-Core rev: 3faea669be9aa3c75ffbd5309316116392434aff)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 597eddc71a963613edea243c4c320ecbd6149916)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 688ac24fca404233d68f26ac8744938e96740541)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 531e5b0b790434d4cadd9b5abd4b76fc9f197709)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 35ec94fa3c3d3d6c2781f579c74094a271b220f9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when using the module (as used by various other perl
module ptests).
(From OE-Core rev: ba2dff81186c194c5f4b7361f2f9678068d93769)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 0e1539bfa0e07a9d8d8a670ce4add221d1955feb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: a99204f36afd1b98e6a0aabe70cc4d86d8d18315)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the ptest to work in minimal images.
(From OE-Core rev: 2a74e127cbb1972923d8b35f6f41b6fba6cf96fa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the new source highlighter used by gtk-doc.
(From OE-Core rev: 18ac8091728ede09024385cc71acff2b59500017)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The wic image built for beaglebone-yocto needs the u-boot deployed artefacts but
there is no direct dependency. Usually this happens to work but if the u-boot
build fails, the image built with -k exposes this race.
Add the missing dependnecy.
[YOCTO #13280]
(From meta-yocto rev: d0abe4a39ad261bcd4993ebd3340c2160870959a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are taking a development version from an odd-even versioned project,
so upstream version check reports that the latest version is less than
the one the recipe is using.
UPSTREAM_VERSION_UNKNOWN avoids a version check failure until
there is a new stable series.
(From OE-Core rev: 0e7a4a14dc63588cfd5f6adff527f7613bb69c55)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
new-exp ptest fails as it expects non-root user.
>From the failed ptest log:
< new-exp.tests: the test suite should not be run as root
628c627
< argv[1] = <host(2)[5.0]# >
---
> argv[1] = <host(2)[5.0]$ >
FAIL: run-new-exp
Many of the ptests declare that they should not be run as root
and a few fail since the expected result strings are for a
user shell.
When ptests are run as bash_user (non-root) the glob test
fails with error:
run-glob-test
59,60d58
< touch: cannot touch 'a?': Permission denied
< touch: cannot touch 'aa': Permission denied
So ensure that the bash/ptest/tests directory is owned by the
bash_user while the tests are being run and return it to root
owner afterwards.
(From OE-Core rev: c125609886b36048cfde6e694eee7fb47f197241)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 91227184b5.
Instead of fixing incorrect regex, the commit actually broke the correct one.
Before the reverted commit:
alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses
INFO: ncurses 6.1 6.1+20181013 Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835
After the reverted commit:
alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses
INFO: ncurses 6.1 UNKNOWN_BROKEN Hongxu Jia <hongxu.jia@windriver.com>
The code in bitbake/lib/bb/fetch2/git.py actually splits each tag
with '/' as separator and takes only the last part for some reason,
so the "debian/" or "upstream/" prefixes are never a part of the string
that is matched against regex:
https://salsa.debian.org/debian/ncurses/tags
(From OE-Core rev: b6f4c130e5b2df458bf9d1b2d8edc8ac87fecf12)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Config_git.pl is required for Test::Builder and other perl ptest
modules. It was packaged before the perl-sanity change, but
missed in the refactoring.
(From OE-Core rev: a432df483a6b2c44518882b976c73b0d7ad28509)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A number of dependencies for Test::Builder and other perl ptest
modules were missing, especially Test2::API and its like.
Fixes [YOCTO #13200]
(From OE-Core rev: bad9856570094792de22c8a857cecfcb57d3555f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ptests have additional dependency on:
* perl-module-filehandle
* perl-module-if
* perl-module-test
(From OE-Core rev: 278b4fb78cc35338f692c559b4e4c068e8f37c71)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to gitlab.freedesktop.org, as the previous
location is now a mirror of that and may be taken down.
Remove upstreamed patches.
(From OE-Core rev: a109aa96a3c3b8ce3d3e8076955fd72b3a60af77)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_populate_sysroot task doesn't rerun if you change any of the USERADD_PARAM
or GROUPADD_PARAM variables, only do_package will.
If another task depends on the recipe, this means it won't see any updated changes.
This patch adds in the missing vardeps ensuring the code is deterministic.
[YOCTO #13232]
(From OE-Core rev: 37d0382a3c67f47f8cfdd977a041069bf912b8c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing files which needed by ptest test
to fix the ptest failures such as:
| sh: ../src/elflint: No such file or directory
| FAIL: asm-tst4
* Rework 0001-skip-the-test-when-gcc-not-deployed.patch
to skip the tests which depend on gcc
* Define INHIBIT_PACKAGE_STRIP_FILES for elfutils to
avoid stripping some generated binaries otherwise
some of the tests such as test-nlist, run-strip-reloc.sh,
run-strip-strmerge.sh and so on will fail
* Set EXCLUDE_PACKAGES_FROM_SHLIBS = "${PN}-ptest"
to avoid ${PN}-ptest be the shlibs provider to
fix below error:
Problem 1: package rpm-1:4.14.2.1-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
- conflicting requests
- nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32
Problem 2: package dnf-4.2.2-r0.core2_32 requires python3-rpm, but none of the providers can be installed
- package python3-rpm-1:4.14.2.1-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
- conflicting requests
- nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32
Problem 3: package ltp-20190115-r0.core2_32 requires iproute2, but none of the providers can be installed
- package packagegroup-core-tools-testapps-1.0-r2.qemux86 requires ltp, but none of the providers can be installed
- package iproute2-5.1.0-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
- conflicting requests
- nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32
Before:
--------------------------------------------
Recipe | Passed | Failed | Skipped
--------------------------------------------
elfutils | 176 | 23 | 4
--------------------------------------------
After:
--------------------------------------------
Recipe | Passed | Failed | Skipped
--------------------------------------------
elfutils | 199 | 0 | 4
--------------------------------------------
(From OE-Core rev: 174690b1745eadc6981d83b7c6869712e835b5d0)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The restriction against glibc-locale depending on virtual/libc is
removed now that libc-initial no longer exists.
Adding the DEPENDS on virtual/libc fixes a race (and reproducibility
issue) where the packages created by this recipe would have different
runtime dependencies depending on if libc had generated its packages yet
or not.
(From OE-Core rev: 75539cb23073596a9f13446dd6f3921755d7fb53)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since version 2.58 the glib-networking TLS database relies on GnuTLS's system
trust store, so not enabling it leads to TLS errors in applications depending on
glib-networking. The raised runtime warning is:
process:500): GLib-Net-WARNING **: 09:14:09.321: Failed to load TLS database: Failed to load system trust store: GnuTLS was not configured with a system trust
(app:490): ... TLS Error: TLS certificate has unknown CA.
(From OE-Core rev: 1d147be584d2f016853edbe9751247d7daa0b5d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
X11 support in at-spi2-core can be turned off at compile time, so leverage this
and disable it when X11 is not present in DISTRO_FEATURES.
(From OE-Core rev: be18dabdb28703c889f97faadbaec07e76d5e8bd)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl uses an internal #define called PERL_BUILD_DATE as the string for
the date when perl was built. If undefined, it defaults to using
__DATE__ and __TIME__, which is not reproducible. If SOURCE_DATE_EPOCH
is set at do_configure time, use it to generate a reproducible string
for PERL_BUILD_DATE.
(From OE-Core rev: 0ab44c72d0fb9b1d110ba975273b520cea5bf29f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When mixing aarch64 and x86_64 host builds with common sstate, useradd failures
were found. This was due to references to:
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/aarch64/pseudo-native/usr/bin/pseudo
or
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo
on the wrong architecture within the useradd postinst files.
Instead of using COMPONENTS_DIR as the FIXME, use PSEUDO_SYSROOT which contains
the arch component as well to avoid this.
Add extra comments to cause the relavent sstate to be rebuilt.
(From OE-Core rev: 0384622f72a6c0bd8225cf06f692340fdef67d4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main issue is to make the x86 checks apply to x86 targets only. We may
end up with better checks on other architectures but this adapts the code to
allow for that and its still controlled by whether QB_CPU_KVM is set.
The code needed minor refactoring so the qemu-system-XXX name is set
earlier so the kvm code can use it.
(From OE-Core rev: 06c473a0127f19b76d0f647b87873944add1e331)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows kvm acceleration on arm systems that support it. "host" is the
best option I can find right now to attempt to use the acceleration. It
potentially might not be correct but arm systems are sensitive to the
correct values and I don't want to encode the autobuilders CPU type here.
(From OE-Core rev: f13788541f64774a586971ed57699e4397b38b32)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes in this release:
979a351 [common] Add A2RGB10 fourcc definition
22cba79 build: meson: enables va messaging and visibility
b89f6ec va/va_trace: add trace support for RIR(rolling intra refresh).
844b90c va/va_trace: add trace support for ROI(region of interest).
(From OE-Core rev: 6072f1f3a0064bbb550367386d96c6cf7d88e32c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since yocto thud, and more specifically since poky switched to
openssl 1.1 line, the openssl binary is provided by 'openssl-bin'. This
impacts the native and nativesdk recipe variants as well.
(From OE-Core rev: dc778c70449ee5401b5a24ad18b22b88338c47c5)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of commit 898490c010b [moduleparam: Save information about built-in
modules in separate file] (kernels v5.2-rc1+), modules.builtin.modinfo
is generated as part of the kernel build process.
We package it along with the other module artifacts, so it can be used
by scripts/other build steps.
(From OE-Core rev: 112a4d3b2b4a829dd5657b6533b1c1bb589d6c8e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
dafc674bbcb1 Linux 4.19.44
9fa23ea14e8f PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
76888d135c4e PCI: hv: Add hv_pci_remove_slots() when we unload the driver
a47e0054253f PCI: hv: Fix a memory leak in hv_eject_device_work()
4179b8580219 powerpc/booke64: set RI in default MSR
71b20cdb4353 powerpc/powernv/idle: Restore IAMR after idle
69c2b71cb0c1 powerpc/book3s/64: check for NULL pointer in pgd_alloc()
e9ec5073c90d drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
ee3b53d89967 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
afa485dc6f17 tipc: fix hanging clients using poll with EPOLLOUT flag
98652e0b0a1b isdn: bas_gigaset: use usb_fill_int_urb() properly
17d8a9ebaa99 tuntap: synchronize through tfiles array instead of tun->numqueues
9c79732f98a8 tuntap: fix dividing by zero in ebpf queue selection
737713e6d835 vrf: sit mtu should not be updated when vrf netdev is the link
e38406070729 vlan: disable SIOCSHWTSTAMP in container
dfdfad3d188f selinux: do not report error on connect(AF_UNSPEC)
9f51d6f72063 packet: Fix error path in packet_init
2e95eb9c92f7 net: ucc_geth - fix Oops when changing number of buffers in the ring
210057b79e71 net: seeq: fix crash caused by not set dev.parent
dfd919285f27 net: macb: Change interrupt and napi enable order in open
68df8383f3ca net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
9284895b7ee6 net: dsa: Fix error cleanup path in dsa_init_module
da2e770f0c4a ipv4: Fix raw socket lookup for local traffic
947fec630c41 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
c7b5e55be825 dpaa_eth: fix SG frame cleanup
a79feef32392 bridge: Fix error path for kobject_init_and_add()
9c2cda31196a bonding: fix arp_validate toggling in active-backup mode
0dc9ad4e904d powerpc/64s: Include cpu header
db1b4aa651df um: Don't hardcode path as it is architecture dependent
85f347944a6b Don't jump to compute_result state from check_result state
ace28a8efdd4 rtlwifi: rtl8723ae: Fix missing break in switch statement
d756d1dea670 mwl8k: Fix rate_idx underflow
c300c98a94b4 cw1200: fix missing unlock on error in cw1200_hw_scan()
575260507647 x86/kprobes: Avoid kretprobe recursion bug
322a57551d06 nfc: nci: Potential off by one in ->pipes[] array
f5e60565e6bd NFC: nci: Add some bounds checking in nci_hci_cmd_received()
21e9515b7d16 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
85b9e8694f9c net/tls: fix the IV leaks
e38c6748d1cc mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
835ae6cc28d9 mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
880a328e197b mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
a80f62f781c2 mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
fb7c783b3139 net: fec: manage ahb clock in runtime pm
c18731c2786c netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
5014aa937422 netfilter: nf_tables: use-after-free in dynamic operations
9965da064e9a usb: typec: Fix unchecked return value
68321994225d mm/memory.c: fix modifying of page protection by insert_pfn()
bc3361461fcb net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
19f4f94fdb2a powerpc/smp: Fix NMI IPI xmon timeout
f8bd34d1d399 powerpc/smp: Fix NMI IPI timeout
6a60fb62c82a mm/memory_hotplug.c: drop memory device reference after find_memory_block()
fb67c97c4e2f RDMA/hns: Bugfix for mapping user db
afc7cebbbb5e Input: synaptics-rmi4 - fix possible double free
f621bc1bd7f4 drm/sun4i: Unbind components before releasing DRM and memory
21b71e191bd8 spi: ST ST95HF NFC: declare missing of table
09185e359827 spi: Micrel eth switch: declare missing of table
3835cb5a911f ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
521ae4da71cc drm/imx: don't skip DP channel disable for background plane
df3a97d197a3 gpu: ipu-v3: dp: fix CSC handling
3a53fa469d60 netfilter: fix nf_l4proto_log_invalid to log invalid packets
5bc3d4491821 selftests/net: correct the return value for run_netsocktests
24b1c849ce9d drm/sun4i: Fix component unbinding and component master deletion
1973df1ec5bc drm/sun4i: Set device driver data at bind time for use in unbind
005325b7f026 s390: ctcm: fix ctcm_new_device error return code
ca8648816e3d MIPS: perf: ath79: Fix perfcount IRQ assignment
743a5a951d4d netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
7b115755fb9d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
4e1994ef6365 ipvs: do not schedule icmp errors from tunnels
cb9a11d017c6 selftests: netfilter: check icmp pkttoobig errors are set as related
74e9b761fba0 init: initialize jump labels before command line option parsing
6536de8232c8 mm: fix inactive list balancing between NUMA nodes and cgroups
1134736869ef scsi: aic7xxx: fix EISA support
ba87f547b0f7 ocelot: Don't sleep in atomic context (irqs_disabled())
9e4fd5e0b81a ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
7d4d8683e925 tools lib traceevent: Fix missing equality check for strcmp
0c8afd514df0 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
d39f3cc71382 KVM: fix spectrev1 gadgets
4074bc379b1f x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
3b51d71365e0 x86/build/lto: Fix truncated .bss with -fdata-sections
8eb64692d6e2 s390/pkey: add one more argument space for debug feature entry
e360515f41fc drm/amd/display: If one stream full updates, full update all planes
58be7c109cea afs: Unlock pages for __pagevec_release()
08f2c299b38c qede: fix write to free'd pointer error and double free of ptp
090b74020014 vxge: fix return of a free'd memblock on a failed dma mapping
f83beff28048 mISDN: Check address length before reading address family
e4525c9d9ada selftests: fib_tests: Fix 'Command line is not complete' errors
7828986b84ba clocksource/drivers/oxnas: Fix OX820 compatible
6a414ef36840 clocksource/drivers/npcm: select TIMER_OF
068d1cce7801 drm/amd/display: extending AUX SW Timeout
2773e7454f4f s390/3270: fix lockdep false positive on view->lock
4c8c9d514917 libnvdimm/pmem: fix a possible OOB access when read and write pmem
f2565d0e5277 nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
1d918120e37d mac80211: fix memory accounting with A-MSDU aggregation
9d4da01f7d66 cfg80211: Handle WMM rules in regulatory domain intersection
35e2abbaffa2 mac80211: Increase MAX_MSG_LEN
bbe1ab38e1a2 mac80211: fix unaligned access in mesh table hash function
e28e5055eacd s390/dasd: Fix capacity calculation for large volumes
af5b7a150ef8 libnvdimm/btt: Fix a kmemdup failure check
f7ab4818f74e HID: input: add mapping for "Toggle Display" key
bbdccc170adf HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
dc30867da997 HID: input: add mapping for Expose/Overview key
e94f852e2034 libnvdimm/namespace: Fix a potential NULL pointer dereference
5f72e3a021a6 acpi/nfit: Always dump _DSM output payload
f07db1f1f54c iio: adc: xilinx: prevent touching unclocked h/w on remove
6400212ae3b6 iio: adc: xilinx: fix potential use-after-free on probe
06d5ea398e55 iio: adc: xilinx: fix potential use-after-free on remove
5640d0781267 USB: serial: fix unthrottle races
4c416eef65a7 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
e361ccccdd51 kernfs: fix barrier usage in __kernfs_new_node()
f1917f21c8f6 hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
87cc345aefc9 platform/x86: dell-laptop: fix rfkill functionality
381eaca5017f platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
efe6802e812b platform/x86: sony-laptop: Fix unintentional fall-through
824c212908b6 bfq: update internal depth state when queue depth changes
3351e9d39947 Linux 4.19.43
b21bde49d386 x86/speculation/mds: Fix documentation typo
8e65568e9d23 Documentation: Correct the possible MDS sysfs values
2e4c54890226 x86/mds: Add MDSUM variant to the MDS documentation
12a0dad799fb x86/speculation/mds: Add 'mitigations=' support for MDS
59a14fb5832c s390/speculation: Support 'mitigations=' cmdline option
74857f69fec5 powerpc/speculation: Support 'mitigations=' cmdline option
af5332dd991e x86/speculation: Support 'mitigations=' cmdline option
8cb932aca5d6 cpu/speculation: Add 'mitigations=' cmdline option
7ba793ae7b9f x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
e9ae32266605 x86/speculation/mds: Fix comment
b9faa4652867 x86/speculation/mds: Add SMT warning message
b3a63d9c7453 x86/speculation: Move arch_smt_update() call to after mitigation decisions
f7a119a762ef x86/speculation/mds: Add mds=full,nosmt cmdline option
cfaa3d76301e Documentation: Add MDS vulnerability documentation
e3803099d2f4 Documentation: Move L1TF to separate directory
c50e81fe8a13 x86/speculation/mds: Add mitigation mode VMWERV
8230c2028dce x86/speculation/mds: Add sysfs reporting for MDS
2951067089a3 x86/speculation/mds: Add mitigation control for MDS
4df98b3f3161 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
b39dc9a8cced x86/kvm/vmx: Add MDS protection when L1D Flush is not active
e4fa775b5606 x86/speculation/mds: Clear CPU buffers on exit to user
1f7c31be1e04 x86/speculation/mds: Add mds_clear_cpu_buffers()
de89ff6f1674 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
aca9e8d8e2ce x86/speculation/mds: Add BUG_MSBDS_ONLY
2e9104aa2633 x86/speculation/mds: Add basic bug infrastructure for MDS
00b76324bd35 x86/speculation: Consolidate CPU whitelists
e09450ffa980 x86/msr-index: Cleanup bit defines
ca0056d97840 kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
1f1bc8222ce7 x86/cpu: Sanitize FAM6_ATOM naming
34aae15cb179 Documentation/l1tf: Fix small spelling typo
9c2556f428cf Linux 4.19.42
9ccdbde1850c arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
0f4ef8fb1dae locking/futex: Allow low-level atomic operations to return -EAGAIN
6fee39874d1f ASoC: Intel: avoid Oops if DMA setup fails
c3b3955f0250 UAS: fix alignment of scatter/gather segments
38f092c41ceb Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
c6d1f9b4b2cb Bluetooth: hidp: fix buffer overflow
de7fe08b92dc scsi: qla2xxx: Fix device staying in blocked state
ef7014d76361 scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
7a793ca17357 scsi: lpfc: change snprintf to scnprintf for possible overflow
8b330b3efa91 soc: sunxi: Fix missing dependency on REGMAP_MMIO
557be5771563 cpufreq: armada-37xx: fix frequency calculation for opp
6b7daf1ff8bf intel_th: pci: Add Comet Lake support
5b2ba94386eb usb-storage: Set virt_boundary_mask to avoid SG overflows
18e6f3027642 USB: cdc-acm: fix unthrottle races
bce2b9d63786 USB: serial: f81232: fix interrupt worker not stop
caa5680dc05a usb: dwc3: Fix default lpm_nyet_threshold value
33f2aa87c294 genirq: Prevent use-after-free and work list corruption
29184cbaaec0 iommu/amd: Set exclusion range correctly
42638d6aae06 perf/core: Fix perf_event_disable_inatomic() race
c1189d68be7d platform/x86: pmc_atom: Drop __initconst on dmi table
777943cd6c5f nvme-fc: correct csn initialization and increments on error
0e8e67b8147f virtio-blk: limit number of hw queues by nr_cpu_ids
d955bb0b3189 ASoC: Intel: kbl: fix wrong number of channels
e5c749ad6d7f drm/mediatek: fix possible object reference leak
8f4dbd17777f scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
fb357b9eb47d RDMA/hns: Fix bug that caused srq creation to fail
8dfb2896d8c7 RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
5984fd687600 virtio_pci: fix a NULL pointer reference in vp_del_vqs
a8f5c1bceb25 drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind
78bc98235e84 slab: fix a crash by reading /proc/slab_allocators
cf6cb79d57b0 objtool: Add rewind_stack_do_exit() to the noreturn list
e66e72710962 ASoC: cs35l35: Disable regulators on driver removal
dd015a3b072a drm/amd/display: fix cursor black issue
88294658ddbe ASoC: rockchip: pdm: fix regmap_ops hang issue
95587274e9d5 linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
7d10436ca569 perf/x86/intel: Initialize TFA MSR
2b791e8ee7b2 perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
929d019d6d44 drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
0fb785e28833 ASoC: tlv320aic32x4: Fix Common Pins
e6efcbf3cbce MIPS: KGDB: fix kgdb support for SMP platforms.
09c6954e83e8 IB/hfi1: Fix the allocation of RSM table
3abd4aef917f IB/hfi1: Eliminate opcode tests on mr deref
1ed91af83a45 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
d356db088333 ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
6f69661f6ebe ASoC: cs4270: Set auto-increment bit for register writes
8f5077ceee5f ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
33ffe0807d52 ASoC: stm32: dfsdm: manage multiple prepare
74f5898f660d clk: meson-gxbb: round the vdec dividers to closest
8aa62dc731e5 ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
2ece73fe079b ASoC: rt5682: recording has no sound after booting
afcbb3c755c9 ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
7525d6104ca4 ASoC: nau8810: fix the issue of widget with prefixed name
c2119de4ed41 ASoC: nau8824: fix the issue of the widget with prefix name
29f1b9761520 ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
581a8bd9fa8b ASoC:soc-pcm:fix a codec fixup issue in TDM case
c37f7344075a ASoC: stm32: sai: fix exposed capabilities in spdif mode
2aeceaaff09b ASoC: stm32: sai: fix iec958 controls indexation
6544b4966193 ASoC: hdmi-codec: fix S/PDIF DAI
98a80393b82a ASoC: tlv320aic3x: fix reset gpio reference counting
34ae4c6a3609 staging: most: cdev: fix chrdev_region leak in mod_exit
2197e11bb624 staging: greybus: power_supply: fix prop-descriptor request size
35d2c86db2d4 ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
eb7b8d1afb92 Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
0f18e433b97b scsi: libsas: fix a race condition when smp task timeout
e629cabe34ed net: stmmac: Use bfsize1 in ndesc_init_rx_desc
21de7eb67cff Linux 4.19.41
e7c2d066566b mm/kmemleak.c: fix unused-function warning
5b94768bd07c ASoC: wm_adsp: Check for buffer in trigger stop
c5c74e63985f media: v4l2: i2c: ov7670: Fix PLL bypass register values
5f18c95d2964 i2c: i2c-stm32f7: Fix SDADEL minimum formula
7a32cbf1720b x86/mm/tlb: Revert "x86/mm: Align TLB invalidation info"
c48b027f2aa3 x86/mm: Fix a crash with kmemleak_scan()
052c78f5cfe2 x86/mm/KASLR: Fix the size of the direct mapping section
d572a3a03f63 clk: x86: Add system specific quirk to mark clocks as critical
61ff44069f5b x86/mce: Improve error message when kernel cannot recover, p2
c7e220eff874 powerpc/mm/hash: Handle mmap_min_addr correctly in get_unmapped_area topdown search
a78c3898de59 mac80211: Honor SW_CRYPTO_CONTROL for unicast keys in AP VLAN mode
574be221407e selinux: never allow relabeling on context mounts
6b13ae52ac75 selinux: avoid silent denials in permissive mode under RCU walk
53ffa56456fb gpio: mxc: add check to return defer probe if clock tree NOT ready
a10c88bf365a Input: stmfts - acknowledge that setting brightness is a blocking call
a99b9c82bde6 Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ
8d5c1c039708 IB/core: Destroy QP if XRC QP fails
841487432d11 IB/core: Fix potential memory leak while creating MAD agents
dabcbe58d8bc IB/core: Unregister notifier before freeing MAD security
d1698f74bdbd platform/x86: intel_pmc_core: Handle CFL regmap properly
51e777c795ce platform/x86: intel_pmc_core: Fix PCH IP name
d4f1e3ef9586 ASoC: stm32: fix sai driver name initialisation
7d3f7107079b ASoC: wm_adsp: Correct handling of compressed streams that restart
3b958d5e6972 ASoC: Intel: bytcr_rt5651: Revert "Fix DMIC map headsetmic mapping"
9d696f405e6d scsi: RDMA/srpt: Fix a credit leak for aborted commands
f16e83170e25 staging: iio: adt7316: fix the dac write calculation
ad774285beee staging: iio: adt7316: fix the dac read calculation
7041e3d6b81f staging: iio: adt7316: allow adt751x to use internal vref for all dacs
2ccaef716388 clk: qcom: Add missing freq for usb30_master_clk on 8998
8897bf03ec30 Bluetooth: mediatek: fix up an error path to restore bdev->tx_state
f5ad05e680aa Bluetooth: btusb: request wake pin with NOAUTOEN
3f8497cfff3b perf/x86/amd: Update generic hardware cache events for Family 17h
96e4471d3881 block: pass no-op callback to INIT_WORK().
14f3c36b47ed ARM: iop: don't use using 64-bit DMA masks
39839f3ec616 ARM: orion: don't use using 64-bit DMA masks
04b4d5f75ab0 fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock
a82cfd770651 xsysace: Fix error handling in ace_setup
54ad0956ef93 sh: fix multiple function definition build errors
b51fdcbe45d1 hugetlbfs: fix memory leak for resv_map
6a62bbe82343 kmemleak: powerpc: skip scanning holes in the .bss section
82e8da1f1a91 KVM: SVM: prevent DBG_DECRYPT and DBG_ENCRYPT overflow
57186663b3a1 libcxgb: fix incorrect ppmax calculation
5c5e9f23df7a net: hns: Fix WARNING when remove HNS driver with SMMU enabled
c9f431017617 net: hns: fix ICMP6 neighbor solicitation messages discard problem
1ff38d33d7c4 net: hns: Fix probabilistic memory overwrite when HNS driver initialized
7713ee691767 net: hns: Use NAPI_POLL_WEIGHT for hns driver
7e7befd8dee2 net: hns: fix KASAN: use-after-free in hns_nic_net_xmit_hw()
98d6651f1878 arm64: fix wrong check of on_sdei_stack in nmi context
69da58b7386c arm/mach-at91/pm : fix possible object reference leak
8052c066e6d0 scsi: storvsc: Fix calculation of sub-channel count
03260f46f2d1 scsi: core: add new RDAC LENOVO/DE_Series device
4d043d3d2be1 vfio/pci: use correct format characters
7ce0b428c046 HID: input: add mapping for Assistant key
ce9e2dc03f63 rtc: da9063: set uie_unsupported when relevant
e5be04ee1766 block: use blk_free_flush_queue() to free hctx->fq in blk_mq_init_hctx
177edf25706a mfd: twl-core: Disable IRQ while suspended
f0112b649525 debugfs: fix use-after-free on symlink traversal
e22c11da0a86 jffs2: fix use-after-free on symlink traversal
7cce2543cbcd net: stmmac: don't log oversized frames
f86c1d3f10a2 net: stmmac: fix dropping of multi-descriptor RX frames
0ab012e3df48 net: stmmac: don't overwrite discard_frame status
2170bbf19f6e net: stmmac: don't stop NAPI processing when dropping a packet
cd50daabf5ee net: stmmac: ratelimit RX error logs
c13a936f46e3 net: stmmac: use correct DMA buffer size in the RX descriptor
824451fdcfc2 bonding: show full hw address in sysfs for slave entries
f91bb70a3616 net/mlx5: E-Switch, Fix esw manager vport indication for more vport commands
7e0548e111e5 net: hns3: fix compile error
6869dd570f10 HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630
bc031095828b riscv: fix accessing 8-byte variable from RV32
0424b0b35793 igb: Fix WARN_ONCE on runtime suspend
cc04b5b3314a reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev
ef9533481c11 ARM: dts: rockchip: Fix gpu opp node names for rk3288
894b4fc04387 batman-adv: fix warning in function batadv_v_elp_get_throughput
7afe374cc718 batman-adv: Reduce tt_global hash refcnt only for removed entry
6957021da735 batman-adv: Reduce tt_local hash refcnt only for removed entry
be807f9b4fc4 batman-adv: Reduce claim hash refcnt only for removed entry
8a734e251c0c rtc: sh: Fix invalid alarm warning for non-enabled alarm
5b5c653ddf91 rtc: cros-ec: Fail suspend/resume if wake IRQ can't be configured
2f4052ffd9be HID: debug: fix race condition with between rdesc_show() and device removal
61effc648fe4 HID: logitech: check the return value of create_singlethread_workqueue
dbfef4bd8836 arm64: dts: rockchip: fix rk3328-roc-cc gmac2io tx/rx_delay
3e6b472f474a efi: Fix debugobjects warning on 'efi_rts_work'
30673786f906 nvme-loop: init nvmet_ctrl fatal_err_work when allocate
83c6688d679c USB: core: Fix bug caused by duplicate interface PM usage counter
7b73c2a056b3 USB: core: Fix unterminated string returned by usb_string()
7df0d2c7d092 usb: usbip: fix isoc packet num validation in get_pipe
512ce15023a8 USB: dummy-hcd: Fix failure to give back unlinked URBs
508954883054 USB: w1 ds2490: Fix bug caused by improper use of altsetting array
9f632afe4f39 USB: yurex: Fix protection fault after device removal
f02c6460a5b6 ALSA: hda/realtek - Apply the fixup for ASUS Q325UAR
347411f9aded ALSA: hda/realtek - Fixed Dell AIO speaker noise
f937634b6626 ALSA: hda/realtek - Add new Dell platform for headset mode
b19c230648b5 i2c: Prevent runtime suspend of adapter when Host Notify is required
04e07919f7da i2c: Allow recovery of the initial IRQ by an I2C client device.
1e031ab31843 i2c: Clear client->irq in i2c_device_remove
63eab25ed1cc i2c: Remove unnecessary call to irq_find_mapping
e89ba70e10b2 i2c: imx: correct the method of getting private data in notifier_call
d1493c5cbbad i2c: synquacer: fix enumeration of slave devices
ec30811209e4 mac80211: don't attempt to rename ERR_PTR() debugfs dirs
be7df63d3680 mwifiex: Make resume actually do something useful again on SDIO cards
81a7534f9ef4 iwlwifi: fix driver operation for 5350
(From OE-Core rev: 0a70d1c66ccb52cbdbe655eccd0560ca38ed5677)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest -stable release which comprises the following
changes:
1656b1457209 Linux 4.19.40
cc313d405b0c ath10k: Drop WARN_ON()s that always trigger during system resume
d0a5000f10e7 ALSA: line6: use dynamic buffers
68d49ff47789 KVM: nVMX: Fix size checks in vmx_set_nested_state
499bbe739d5a KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
d0771bd41c27 net/tls: fix copy to fragments in reencrypt
dd424182bc2d net/tls: don't copy negative amounts of data in reencrypt
f1fd68e93409 bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
396350737326 bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
09a921361353 bnxt_en: Improve multicast address setup logic.
6a57fa6fa7d5 packet: validate msg_namelen in send directly
7a42cf4dfa43 selftests: fib_rule_tests: print the result and return 1 if any tests failed
b563e9bbabfe sctp: avoid running the sctp state machine recursively
fdd36abd9d09 rxrpc: Fix net namespace cleanup
a976384b9553 net/tls: avoid NULL pointer deref on nskb->sk in fallback
1d412d873a12 net: phy: marvell: Fix buffer overrun with stats counters
b48a0a1207e9 net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
485f382f2c6d l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
e571a33963f4 l2ip: fix possible use-after-free
f78ec0cd0664 ipv6: invert flowlabel sharing check in process and user mode
39eddbb7cab3 ipv6/flowlabel: wait rcu grace period before put_pid()
1a9e0134af40 ipv6: fix races in ip6_dst_destroy()
7ea4f000c41f ipv6: A few fixes on dereferencing rt->from
3f611a479962 ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
ad119c970bbe Linux 4.19.39
ee096f0dc4a4 leds: trigger: netdev: use memcpy in device_name_store
2663959af22c leds: pca9532: fix a potential NULL pointer dereference
13a6a6dd3c11 ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
71f3397a1c31 iommu/amd: Reserve exclusion range in iova-domain
75a5e3e6340c kconfig/[mn]conf: handle backspace (^H) key
458a65c71029 perf machine: Update kernel map address and re-order properly
60d3b51d05a7 nvme-multipath: relax ANA state check
a918af5b6fd8 gpio: of: Fix of_gpiochip_add() error path
43dba153d52b libata: fix using DMA buffers on stack
6a364b2e47a6 x86/mm: Don't exceed the valid physical address space
a138f995ab84 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
97c4f3a8853c ceph: fix use-after-free on symlink traversal
90ce58d457c2 usb: u132-hcd: fix resource leak
fe71e625e23f x86/realmode: Don't leak the trampoline kernel address
04cac1dce923 leds: trigger: netdev: fix refcnt leak on interface rename
0018c21f34d6 usb: usb251xb: fix to avoid potential NULL pointer dereference
4135e588274e scsi: qla4xxx: fix a potential NULL pointer dereference
a2b302e4f2fb scsi: aacraid: Insure we don't access PCIe space during AER/EEH
2c8c8ef8d3b4 scsi: mpt3sas: Fix kernel panic during expander reset
6222f1c6ed97 ARM: davinci: fix build failure with allnoconfig
5d545dde8d9d drm/meson: Uninstall IRQ handler
efa69a66697c drm/meson: Fix invalid pointer in meson_drv_unbind()
c87a5086d354 gpio: aspeed: fix a potential NULL pointer dereference
c5eb9a424ebd drm: Fix drm_release() and device unplug
11242181f52f net: ethernet: ti: fix possible object reference leak
ae6e6bbc1741 net: ibm: fix possible object reference leak
b9c8db41912f net: xilinx: fix possible object reference leak
b989a3e9d260 NFS: Fix a typo in nfs_init_timeout_values()
e0c34051669c drm/tegra: hub: Fix dereference before check
abd76731f899 ARM: dts: imx6qdl: Fix typo in imx6qdl-icore-rqs.dtsi
2b0e6d6bf088 net/sched: don't dereference a->goto_chain to read the chain index
b435a79e5a87 net: macb: Add null check for PCLK and HCLK
f85682bc594a staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
c5750b45e406 staging: rtl8712: uninitialized memory in read_bbreg_hdl()
5a5f1decd6fc staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
d55bfd0746ae staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
bfa4cd06a902 net: ks8851: Set initial carrier state to down
3796ab4828ed net: ks8851: Delay requesting IRQ until opened
3005509f88e3 net: ks8851: Reassert reset pin if chip ID check fails
fb6ca157d738 net: ks8851: Dequeue RX packets explicitly
cdef35e83c3f i2c: i801: Add support for Intel Comet Lake
c6694e7c8bf6 ARM: dts: pfla02: increase phy reset duration
41be4abfb04d usb: gadget: net2272: Fix net2272_dequeue()
edaebfe7721c usb: gadget: net2280: Fix net2280_dequeue()
346eab0d1559 usb: gadget: net2280: Fix overrun of OUT messages
710d4f29fe38 usb: dwc3: pci: add support for Comet Lake PCH ID
e4705ae72736 KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
0371fa033741 KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory
51a5d70a59ee KVM: arm64: Reset the PMU in preemptible context
2ba0421f2b77 serial: ar933x_uart: Fix build failure with disabled console
1d815c5a9434 sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
2cbb465e526a ARM: imx51: fix a leaked reference by adding missing of_node_put
f67021192cc1 s390/qeth: fix race when initializing the IP address table
e634fc48661f netfilter: ip6t_srh: fix NULL pointer dereferences
506375f509b8 netfilter: fix NETFILTER_XT_TARGET_TEE dependencies
a5374a3086d6 netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
5f7e5b9bba19 netfilter: nft_set_rbtree: check for inactive element after flag mismatch
2fbb4c48f138 staging, mt7621-pci: fix build without pci support
99f1ba88d7f8 staging: axis-fifo: add CONFIG_OF dependency
947bd0d9bdbc xsk: fix umem memory leak on cleanup
fc055dffa575 qlcnic: Avoid potential NULL pointer dereference
98650508a9d0 net: stmmac: don't set own bit too early for jumbo frames
24a46cad0e18 ieee802154: hwsim: propagate genlmsg_reply return code
f722b7789afa net: ieee802154: fix a potential NULL pointer dereference
a1e34e289e15 s390: limit brk randomization to 32MB
d52dfdf1845d ARM: dts: bcm283x: Fix hdmi hpd gpio pull
0311ff82b70f fs: prevent page refcount overflow in pipe_buf_get
d972ebbf42ba mm: prevent get_user_pages() from overflowing page refcount
0612cae7ec6b mm: add 'try_get_page()' helper function
9f6da5fd0557 mm: make page ref count overflow check tighter and more explicit
99ae2bd0772f Revert "ACPICA: Clear status of GPEs before enabling them"
145f6a70bb9b selinux: use kernel linux/socket.h for genheaders and mdp
a03957ab0fd5 Linux 4.19.38
5cb299c80651 powerpc/fsl: Add FSL_PPC_BOOK3E as supported arch for nospectre_v2 boot arg
53db65232428 net/tls: don't leak IV and record seq when offload fails
d3bdd359fa53 net/tls: avoid potential deadlock in tls_set_device_offload_rx()
041b3224e8f8 net/mlx5e: Fix use-after-free after xdp_return_frame
ae6b07107458 net/mlx5e: Fix the max MTU check in case of XDP
b08774d38882 mlxsw: spectrum: Put MC TCs into DWRR mode
21e47998d959 mlxsw: pci: Reincrease PCI reset timeout
e875a409594b net: hns: Fix WARNING when hns modules installed
7ce836e8a963 team: fix possible recursive locking when add slaves
1f78e75e85bb stmmac: pci: Adjust IOT2000 matching
e97f0bc7be88 net/tls: fix refcount adjustment in fallback
b02f8aa85604 net: stmmac: move stmmac_check_ether_addr() to driver probe
d7b10dfe6c31 net/rose: fix unbound loop in rose_loopback_timer()
ed1866aa608a net: rds: exchange of 8K and 1M pool
7da11d6a5d85 net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query
829fd9849e44 mlxsw: spectrum: Fix autoneg status in ethtool
250e51f856e1 ipv4: set the tcp_min_rtt_wlen range from 0 to one day
07445fea9575 ipv4: add sanity checks in ipv4_link_failure()
d4ff57d0320b x86/fpu: Don't export __kernel_fpu_{begin,end}()
423497a96d4a mm: Fix warning in insert_pfn()
e923c6b70ce2 x86/retpolines: Disable switch jump tables when retpolines are enabled
6cfcff3cfb0e x86, retpolines: Raise limit for generating indirect calls from switch-case
e9e47779aaa7 Fix aio_poll() races
aab66dfb757a aio: store event at final iocb_put()
c20202c51d2b aio: keep io_event in aio_kiocb
592ea630b081 aio: fold lookup_kiocb() into its sole caller
c7f2525abfec pin iocb through aio.
d6b2615f7d31 aio: simplify - and fix - fget/fput for io_submit()
2afa01cd9186 aio: initialize kiocb private in case any filesystems expect it.
a812f7b68a39 aio: abstract out io_event filler helper
d384f8b855a5 aio: split out iocb copy from io_submit_one()
4d677689742a aio: use iocb_put() instead of open coding it
ef529eead8cf aio: don't zero entire aio_kiocb aio_get_req()
730198c889d8 aio: separate out ring reservation from req allocation
b3373253f0ba aio: use assigned completion handler
9101cbe70ef6 aio: clear IOCB_HIPRI
920ecc72093d rxrpc: fix race condition in rxrpc_input_packet()
5a228d5ddca2 net/rds: Check address length before reading address family
e30203e4f94d net: netrom: Fix error cleanup path of nr_proto_init
a0cb0faa15f3 tipc: check link name with right length in tipc_nl_compat_link_set
f21fae8049cd tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
9b9b0df4e788 fm10k: Fix a potential NULL pointer dereference
f7dc13d6e4a2 netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
94ad68a6e570 NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
245a94a0ffab sched/deadline: Correctly handle active 0-lag timers
6bf7d3c5c0c5 binder: fix handling of misaligned binder object
8c37f7c23c02 workqueue: Try to catch flush_work() without INIT_WORK().
4d476a00b3f9 fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
bce00f419c9d intel_th: gth: Fix an off-by-one in output unassigning
9c8c39bae89a slip: make slhc_free() silently accept an error pointer
f41d2de67101 USB: Consolidate LPM checks to avoid enabling LPM twice
50cda8891818 USB: Add new USB LPM helpers
8c700e902ceb drm/vc4: Fix compilation error reported by kbuild test bot
2bc7ce32eb21 Revert "drm/i915/fbdev: Actually configure untiled displays"
2c892ef09435 drm/vc4: Fix memory leak during gpu reset.
087341c0f40d powerpc/mm/radix: Make Radix require HUGETLB_PAGE
478afe341d29 ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache
129c337c6659 dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status
0f00e1c599b3 dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
f7b467ad1be0 vfio/type1: Limit DMA mappings per container
ac9e2bece112 Input: synaptics-rmi4 - write config register values to the right offset
37ecf31a3e5e perf/x86/intel: Update KBL Package C-state events to also include PC8/PC9/PC10 counters
c0309570a5f1 sunrpc: don't mark uninitialised items as VALID.
b4d4b5e4b839 nfsd: Don't release the callback slot unless it was actually held
950eec812600 ceph: fix ci->i_head_snapc leak
246d2bf32da1 ceph: ensure d_name stability in ceph_dentry_hash()
8d693ef0141c ceph: only use d_name directly when parent is locked
9b8c07129ddf sched/numa: Fix a possible divide-by-zero
1af34bf97eca RDMA/mlx5: Do not allow the user to write to the clock page
8ac57d1bdc25 IB/rdmavt: Fix frwr memory registration
d0264d10ae6a trace: Fix preempt_enable_no_resched() abuse
7f9c9d1d79fd MIPS: scall64-o32: Fix indirect syscall number load
ce900ddd660d lib/Kconfig.debug: fix build error without CONFIG_BLOCK
710733e539d1 zram: pass down the bvec we need to read into in the work struct
a19e4a1b4c63 gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
cffeb9c84d20 tracing: Fix buffer_ref pipe ops
0e78e92da2d8 tracing: Fix a memory leak by early error exit in trace_pid_write()
ee231063ff95 cifs: do not attempt cifs operation on smb2+ rename error
d5bf783a09a0 cifs: fix memory leak in SMB2_read
15e978391577 net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework
984c4e00c387 ALSA: hda/ca0132 - Fix build error without CONFIG_PCI
1e0cab1bce57 powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64
ae5e0c773ca6 ipvs: fix warning on unused variable
8e59639791f2 vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock
416699b9bb90 drm/rockchip: fix for mailbox read validation.
1832b1517c2b loop: do not print warn message if partition scan is successful
070e34b627f4 tipc: handle the err returned from cmd header function
8766cc7d0d1d ext4: fix some error pointer dereferences
816e3e2258e8 net: mvpp2: fix validate for PPv2.1
e7ddd6af17e4 net/ibmvnic: Fix RTNL deadlock during device reset
ffc1d85e8c5f netfilter: nf_tables: bogus EBUSY in helper removal from transaction
e313d5da057b netfilter: nf_tables: bogus EBUSY when deleting set after flush
25ddad73070c netfilter: nf_tables: fix set double-free in abort path
8906234c5015 netfilter: nft_compat: use .release_ops and remove list of extension
4f67e8976f7b netfilter: nft_compat: don't use refcount_inc on newly allocated entry
af26f3e2903b netfilter: nf_tables: unbind set in rule from commit path
27458b5457d3 netfilter: nf_tables: warn when expr implements only one of activate/deactivate
cb2e343d1d85 netfilter: nft_compat: destroy function must not have side effects
3dbba8ebb066 netfilter: nf_tables: split set destruction in deactivate and destroy phase
7693bae6b314 netfilter: nft_compat: make lists per netns
db99f122cbf8 netfilter: nft_compat: use refcnt_t type for nft_xt reference count
19bb613acb9a Linux 4.19.37
cdd369fe0f98 kernel/sysctl.c: fix out-of-bounds access when setting file-max
ac54bc121e1f Revert "locking/lockdep: Add debug_locks check in __lock_downgrade()"
9c1862566176 i2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array
52dde1160f17 ASoC: rockchip: add missing INTERLEAVED PCM attribute
a782f8475715 tools include: Adopt linux/bits.h
6580376fe810 percpu: stop printing kernel addresses
8a6f2ea0c3dd ALSA: info: Fix racy addition/deletion of nodes
1343fd8f9629 mm/vmstat.c: fix /proc/vmstat format for CONFIG_DEBUG_TLBFLUSH=y CONFIG_SMP=n
628c99a836dd device_cgroup: fix RCU imbalance in error case
c3edd427d538 sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup
c21bcc2352e9 Revert "kbuild: use -Oz instead of -Os when using clang"
1c36862e8be8 tpm: Fix the type of the return value in calc_tpm2_event_size()
18af9b7b9138 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
7de43cb71116 modpost: file2alias: check prototype of handler
aa0e8cc9d7a8 modpost: file2alias: go back to simple devtable lookup
87eadc0b8c2a mmc: sdhci: Handle auto-command errors
ba8a6c055677 mmc: sdhci: Rename SDHCI_ACMD12_ERR and SDHCI_INT_ACMD12ERR
b2be40b73b29 mmc: sdhci: Fix data command CRC error handling
be608583d9c4 nfit/ars: Avoid stale ARS results
40221d56ae28 nfit/ars: Allow root to busy-poll the ARS state machine
bc18c2593635 nfit/ars: Introduce scrub_flags
82a13a006ed5 nfit/ars: Remove ars_start_flags
cd37fd46b485 timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
5680b0635cda x86/speculation: Prevent deadlock on ssb_state::lock
90e17512f1e4 perf/x86: Fix incorrect PEBS_REGS
293926b37013 x86/cpu/bugs: Use __initconst for 'const' init data
f45829e6250a perf/x86/amd: Add event map for AMD Family 17h
ba407222f563 drm/amdgpu/gmc9: fix VM_L2_CNTL3 programming
39cad03c4360 mac80211: do not call driver wake_tx_queue op during reconfig
852de0d53d14 rt2x00: do not increment sequence number while re-transmitting
23a926e5edd9 kprobes: Fix error check when reusing optimized probes
426e2a8024c2 kprobes: Mark ftrace mcount handler functions nokprobe
1fab567a270b x86/kprobes: Verify stack frame on kretprobe
5105fc758bdc arm64: futex: Restore oldval initialization to work around buggy compilers
96800ba9e565 drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
fbe5cff93229 crypto: x86/poly1305 - fix overflow during partial reduction
dacdbc115d23 ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier
6ff17bc5936e coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
3e1b3e4d3c83 Revert "svm: Fix AVIC incomplete IPI emulation"
ee4b8e266229 Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
1aa2682d0a98 scsi: core: set result when the command cannot be dispatched
8f2ef0e8f967 vt: fix cursor when clearing the screen
38b7f09a9e83 serial: sh-sci: Fix HSCIF RX sampling point calculation
de6d6b8902fb serial: sh-sci: Fix HSCIF RX sampling point adjustment
ec96f65e1214 Input: elan_i2c - add hardware ID for multiple Lenovo laptops
b50e435df2d8 ALSA: core: Fix card races between register and disconnect
4171b6ee9328 ALSA: hda/realtek - add two more pin configuration sets to quirk table
4e78a1fb8d1d staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf
09f9bacae118 staging: comedi: ni_usb6501: Fix use of uninitialized mutex
edf2f548baa9 staging: comedi: vmk80xx: Fix possible double-free of ->usb_rx_buf
1f01a970b8c2 staging: comedi: vmk80xx: Fix use of uninitialized semaphore
a1da981f6643 staging: most: core: use device description as name
b007c64d860f io: accel: kxcjk1013: restore the range after resume.
bbe0bed4647c iio: core: fix a possible circular locking dependency
98171e1947b6 iio: adc: at91: disable adc channel interrupt in timeout case
36971130bb2f iio: Fix scan mask selection
0e47edde9132 iio: dac: mcp4725: add missing powerdown bits in store eeprom
5ad173ea6c3a iio: ad_sigma_delta: select channel when reading register
42eae0cff22a iio: cros_ec: Fix the maths for gyro scale calculation
adfb0f0b17a3 iio:chemical:bme680: Fix SPI read interface
a3117576a73f iio:chemical:bme680: Fix, report temperature in millidegrees
f7ee6890caa5 iio/gyro/bmg160: Use millidegrees for temperature scale
8bd3fd46ec23 iio: gyro: mpu3050: fix chip ID reading
6f3e66b155f0 staging: iio: ad7192: Fix ad7193 channel address
c54d1258c637 Staging: iio: meter: fixed typo
c9e34935a351 KVM: x86: svm: make sure NMI is injected after nmi_singlestep
18cf09a81771 KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
2fcee5eaae6e cifs: fix handle leak in smb2_query_symlink()
c69330a855ab cifs: Fix use-after-free in SMB2_read
8fb89b43b65f cifs: Fix use-after-free in SMB2_write
8092ecc306d8 CIFS: keep FileInfo handle live during oplock break
6e2081f29392 net: IP6 defrag: use rbtrees in nf_conntrack_reasm.c
684685326ab0 net: IP6 defrag: use rbtrees for IPv6 defrag
702ddf862d9d net: IP defrag: encapsulate rbtree defrag code into callable functions
e24be8e38cd7 sch_cake: Simplify logic in cake_select_tin()
8d9051a4680a nfp: flower: remove vlan CFI bit from push vlan action
06f7d2182f9d nfp: flower: replace CFI with vlan present
cbce0413f783 sch_cake: Make sure we can write the IP header before changing DSCP bits
490532225e20 sch_cake: Use tc_skb_protocol() helper for getting packet protocol
5f72cb2ab51d route: Avoid crash from dereferencing NULL rt->from
1d2499b08600 net/mlx5: FPGA, tls, idr remove on flow delete
785833b9eee0 net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()
7cfddb81a817 net/mlx5: FPGA, tls, hold rcu read lock a bit longer
d1785bea2f34 net: thunderx: don't allow jumbo frames with XDP
9de22b997fe4 net: thunderx: raise XDP MTU to 1508
7ba5ec69e1a7 ipv4: ensure rcu_read_lock() in ipv4_link_failure()
8a430e56a648 ipv4: recompile ip options in ipv4_link_failure
b82df42059fb vhost: reject zero size iova range
242e5746cb47 tipc: missing entries in name table of publications
a60a47206a31 team: set slave to promisc if team is already in promisc mode
6728c6174a47 tcp: tcp_grow_window() needs to respect tcp_space()
1cd878836822 net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
2804598764f9 net: Fix missing meta data in skb with vlan packet
97fd88e04c8d net: bridge: multicast: use rcu to access port list from br_multicast_start_querier
08b0b4f28008 net: bridge: fix per-port af_packet sockets
bcb964012d1b net: atm: Fix potential Spectre v1 vulnerabilities
fae6053d7611 failover: allow name change on IFF_UP slave interfaces
2a458eddc4c2 bonding: fix event handling for stacked bonds
c98875d930e9 Linux 4.19.36
0c00f71e7d7c appletalk: Fix compile regression
9e91db59e3b9 mm: hide incomplete nr_indirectly_reclaimable in sysfs
d49dea545af4 mm: hide incomplete nr_indirectly_reclaimable in /proc/zoneinfo
7a4626798276 IB/hfi1: Failed to drain send queue when QP is put into error state
e8eef7ad9841 bpf: fix use after free in bpf_evict_inode
40c6d718d78c include/linux/swap.h: use offsetof() instead of custom __swapoffset macro
48b0309f85ae f2fs: fix to dirty inode for i_mode recovery
11582064271d rxrpc: Fix client call connect/disconnect race
a7e90c1892d9 lib/div64.c: off by one in shift
6c42507f426b appletalk: Fix use-after-free in atalk_proc_exit
539282e9cd9b drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
91583411b5d1 ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t
1b871f39097a drm/nouveau/volt/gf117: fix speedo readout register
ad854fa3c8dc PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports
4984d918cd46 coresight: cpu-debug: Support for CA73 CPUs
2a3c322d46e0 Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"
5f516d0ba082 crypto: axis - fix for recursive locking from bottom half
862adb5b0da6 drm/panel: panel-innolux: set display off in innolux_panel_unprepare
2be8987a076f lkdtm: Add tests for NULL pointer dereference
55588aebde38 lkdtm: Print real addresses
8387c1455d34 soc/tegra: pmc: Drop locking from tegra_powergate_is_powered()
29b934dd5fa0 scsi: core: Avoid that system resume triggers a kernel warning
38855a84d891 iommu/dmar: Fix buffer overflow during PCI bus notification
8c5e9ea11730 net: ip6_gre: fix possible NULL pointer dereference in ip6erspan_set_version
d7a90ee5aadd crypto: sha512/arm - fix crash bug in Thumb2 build
1f52fa127898 crypto: sha256/arm - fix crash bug in Thumb2 build
bbbe47463da9 xfrm: destroy xfrm_state synchronously on net exit path
5be4bb315de2 net/rds: fix warn in rds_message_alloc_sgs
d801282dfd2a ACPI: EC / PM: Disable non-wakeup GPEs for suspend-to-idle
e434fbf4f049 ALSA: hda: fix front speakers on Huawei MBXP
b10cc0837472 drm/ttm: Fix bo_global and mem_global kfree error
cb09e99b9ad3 platform/x86: Add Intel AtomISP2 dummy / power-management driver
491dee743d6b kernel: hung_task.c: disable on suspend
e9603cffb1ca cifs: fallback to older infolevels on findfirst queryinfo retry
fc34758d4af6 net: stmmac: Set OWN bit for jumbo frames
8722566b7870 f2fs: cleanup dirty pages if recover failed
263ed7e66b17 netfilter: nf_flow_table: remove flowtable hook flush routine in netns exit routine
19e6ff0146ef compiler.h: update definition of unreachable()
f35e2a685c81 KVM: nVMX: restore host state in nested_vmx_vmexit for VMFail
3d11fc93aa28 HID: usbhid: Add quirk for Redragon/Dragonrise Seymur 2
1424b7fefd6b ACPI / SBS: Fix GPE storm on recent MacBookPro's
0d41c7b3860e usbip: fix vhci_hcd controller counting
360186d8ab02 ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms
1475ce4ff957 pinctrl: core: make sure strcmp() doesn't get a null parameter
8e271100efa6 HID: i2c-hid: override HID descriptors for certain devices
09b6c08061bb Bluetooth: Fix debugfs NULL pointer dereference
6496b9636f74 media: au0828: cannot kfree dev before usb disconnect
6947d853be19 powerpc/pseries: Remove prrn_work workqueue
7863304bc00f serial: uartps: console_setup() can't be placed to init section
1f2b1c6ab353 netfilter: xt_cgroup: shrink size of v2 path
14b183214c08 f2fs: fix to do sanity check with current segment number
7fcce1828e5f ASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx()
4369f8a38085 9p locks: add mount option for lock retry interval
db77c7890ed7 9p: do not trust pdu content for stat item size
f9368366b4d1 f2fs: fix to avoid NULL pointer dereference on se->discard_map
de1fd69b6541 rsi: improve kernel thread handling to fix kernel panic
93b7c722637c gpio: pxa: handle corner case of unprobed device
13cc3e6b2a18 drm/cirrus: Use drm_framebuffer_put to avoid kernel oops in clean-up
6fd66bec6d6a ext4: prohibit fstrim in norecovery mode
83e3e89d6639 x86/gart: Exclude GART aperture from kcore
40276e4e2fd0 fix incorrect error code mapping for OBJECTID_NOT_FOUND
777cd2681b2d x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
cff04fad89b9 iommu/vt-d: Check capability before disabling protected memory
181117a1b4f3 drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
276084f0e017 x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
16dab2916615 x86/hyperv: Prevent potential NULL pointer dereference
30d9b740e201 x86/hpet: Prevent potential NULL pointer dereference
ac0343a48e7e irqchip/mbigen: Don't clear eventid when freeing an MSI
f3c3b0f1fae5 irqchip/stm32: Don't clear rising/falling config registers at init
41b1234677bd drm/exynos/mixer: fix MIXER shadow registry synchronisation code
bde271d1ad0e blk-iolatency: #include "blk.h"
b63df738ce7d PM / Domains: Avoid a potential deadlock
19302c51c043 ACPI / utils: Drop reference in test for device presence
00059edd3121 perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
2c843ae984a8 perf tests: Fix memory leak by expr__find_other() in test__expr()
a077618a3af8 perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test
cf050670d092 perf evsel: Free evsel->counts in perf_evsel__exit()
28848061d882 perf hist: Add missing map__put() in error case
bb644ded9e6d perf top: Fix error handling in cmd_top()
df894a047f37 perf build-id: Fix memory leak in print_sdt_events()
871aa38e9525 perf config: Fix a memory leak in collect_config()
9007d724cb08 perf config: Fix an error in the config template documentation
93d449bd6552 perf list: Don't forget to drop the reference to the allocated thread_map
c5d9104281b9 tools/power turbostat: return the exit status of a command
ada35b525486 x86/mm: Don't leak kernel addresses
52466ab20393 sched/core: Fix buffer overflow in cgroup2 property cpu.max
a8c1de3ab8b6 sched/cpufreq: Fix 32-bit math overflow
a629c32ac2d1 scsi: iscsi: flush running unbind operations when removing a session
5b67d518eaaf thermal/intel_powerclamp: fix truncated kthread name
193dd213bebd thermal/int340x_thermal: fix mode setting
10313672b3f0 thermal/int340x_thermal: Add additional UUIDs
c5161c689e81 thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
8fd403fc2a8e thermal: samsung: Fix incorrect check after code merge
0644ee713c00 thermal/intel_powerclamp: fix __percpu declaration of worker_data
a803600c5b90 ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
94a6f47a5ecb mmc: davinci: remove extraneous __init annotation
f596ad9ea8a4 i40iw: Avoid panic when handling the inetdev event
74ed2226e65a IB/mlx4: Fix race condition between catas error reset and aliasguid flows
5e4dc4b6fc10 drm/udl: use drm_gem_object_put_unlocked.
cbba1f554b4f auxdisplay: hd44780: Fix memory leak on ->remove()
317e716a8ad9 ALSA: sb8: add a check for request_region
17829309ec00 ALSA: echoaudio: add a check for ioremap_nocache
a793860c0f52 ext4: report real fs size after failed resize
f5a94fd3b375 ext4: add missing brelse() in add_new_gdb_meta_bg()
90a1327e4ed3 ext4: avoid panic during forced reboot
673e23ce80a6 perf/core: Restore mmap record type correctly
ca306c17d2ed inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()
618490ba5841 arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
2296eedef0c5 ARC: u-boot args: check that magic number is correct
4b0e041c9dad Linux 4.19.35
59bf185ae6b7 KVM: x86: nVMX: fix x2APIC VTPR read intercept
119031be7b0a KVM: x86: nVMX: close leak of L0's x2APIC MSRs (CVE-2019-3887)
f8053df634d4 ACPICA: AML interpreter: add region addresses in global list during initialization
fad502a9439e arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64
c963475972f6 arm64: dts: rockchip: fix vcc_host1_5v pin assign on rk3328-rock64
aa9ee4b1ed46 dm integrity: fix deadlock with overlapping I/O
469b40a429c5 dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
4f5c99e0421c dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE")
30dc4d7b299d dm integrity: change memcmp to strncmp in dm_integrity_ctr
5be6e02cfbdf PCI: pciehp: Ignore Link State Changes after powering off a slot
250fef8de77c PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
056264656a67 x86/perf/amd: Remove need to check "running" bit in NMI handler
23d39b0af08e x86/perf/amd: Resolve NMI latency issues for active PMCs
e5a791b4ab56 x86/perf/amd: Resolve race condition when disabling PMC
4b004504bfcc x86/asm: Use stricter assembly constraints in bitops
356ae4deab4b x86/asm: Remove dead __GNUC__ conditionals
f7b778b9007e xtensa: fix return_address
cb75a0c5d381 sched/fair: Do not re-read ->h_load_next during hierarchical load calculation
ed3adb562fc8 xen: Prevent buffer overflow in privcmd ioctl
84c6c2af4c53 arm64: backtrace: Don't bother trying to unwind the userspace stack
1ec54cee6333 arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
82a30a5d60e3 arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value
4362ff977bc6 ARM: dts: at91: Fix typo in ISC_D0 on PC9
627a7d5a4422 ARM: dts: am335x-evm: Correct the regulators for the audio codec
57a9c1f40f5b ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
3ba48b3cf850 ARM: dts: rockchip: fix rk3288 cpu opp node reference
32fdac09765d virtio: Honour 'may_reduce_num' in vring_create_virtqueue
8b4f68b47448 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
cd5b06a93997 genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent()
543bb48dc48b block: fix the return errno for direct IO
2591bfc68282 block: do not leak memory in bio_copy_user_iov()
7af20b60f6db riscv: Fix syscall_get_arguments() and syscall_set_arguments()
54fb5c9da6cd btrfs: prop: fix vanished compression property after failed set
fbfbb996d58e btrfs: prop: fix zstd compression parameter validation
16515acd5bc3 Btrfs: do not allow trimming when a fs is mounted with the nologreplay option
e6265e368022 ASoC: fsl_esai: fix channel swap issue when stream starts
19b0a7f5a083 ASoC: intel: Fix crash at suspend/resume after failed codec registration
43f47331a4ce mm: writeback: use exact memcg dirty counts
576f22ac47ba include/linux/bitrev.h: fix constant bitrev
c4f103f6ac3a kvm: svm: fix potential get_num_contig_pages overflow
93d60348edcb drm/udl: add a release method and delay modeset teardown
df4106f23d0b drm/i915/gvt: do not deliver a workload if its creation fails
a5277bcc1b7d alarmtimer: Return correct remaining time
5db86e2a9b36 parisc: also set iaoq_b in instruction_pointer_set()
53bb8444eab2 parisc: regs_return_value() should return gpr28
41cf8111f3cb parisc: Detect QEMU earlier in boot process
ba5765a243ed arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
9a62d69114d7 mm/huge_memory.c: fix modifying of page protection by insert_pfn_pmd()
b3a8a3728d7e ALSA: hda - Add two more machines to the power_save_blacklist
bfea74941d6d ALSA: hda/realtek - Add quirk for Tuxedo XC 1509
c6d25f0b3653 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate B114-21 with ALC233
73b50a56e51e ALSA: seq: Fix OOB-reads from strlcpy
d4b4aeea5506 ACPICA: Namespace: remove address node from global list after method termination
ed52b07bd698 ACPICA: Clear status of GPEs before enabling them
370004024aec hwmon: (w83773g) Select REGMAP_I2C to fix build error
4ebab60d6561 tty: ldisc: add sysctl to prevent autoloading of ldiscs
894dc8495898 tty: mark Siemens R3964 line discipline as BROKEN
902eaef7781c arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region
40177a7931e0 netfilter: nfnetlink_cttimeout: fetch timeouts for udplite and gre, too
c2d27b330a98 netfilter: nfnetlink_cttimeout: pass default timeout policy to obj_to_nlattr
564f0391b783 Revert "clk: meson: clean-up clock registration"
3412671a781b lib/string.c: implement a basic bcmp
c7415f2a3ad6 x86/vdso: Drop implicit common-page-size linker flag
f66a52d991de kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
23605a4664ae kbuild: deb-pkg: fix bindeb-pkg breakage when O= is used
da9b353c78b8 net/mlx5e: Update xon formula
e2d92a74a353 net/mlx5e: Update xoff formula
eab86503fec0 net: mlx5: Add a missing check on idr_find, free buf
b787544dc5e7 r8169: disable default rx interrupt coalescing on RTL8168
55a7f7b20c40 net: core: netif_receive_skb_list: unlist skb before passing to pt->func
a2ef7723a13c net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
5c6f2f4c0e9f net: ip_gre: fix possible use-after-free in erspan_rcv
ecee513a5273 bnxt_en: Reset device on RX buffer errors.
d2d055a55403 bnxt_en: Improve RX consumer index validity check.
a333fcc41075 nfp: disable netpoll on representors
81da1314596c nfp: validate the return code from dev_queue_xmit()
c297e8814578 net/mlx5e: Add a lock on tir list
9441317513b7 net/mlx5e: Fix error handling when refreshing TIRs
0516ef27ddba vrf: check accept_source_route on the original netdevice
7243e3520956 tcp: fix a potential NULL pointer dereference in tcp_sk_exit
0e0afb06e11c tcp: Ensure DCTCP reacts to losses
87349583e517 sctp: initialize _pad of sockaddr_in before copying to user memory
1e4a7e7869ac r8169: disable ASPM again
84dc2f872d2d qmi_wwan: add Olicard 600
ec0e32da41a6 openvswitch: fix flow actions reallocation
eeedfa94c195 net/sched: fix ->get helper of the matchall cls
15c0770e2e83 net/sched: act_sample: fix divide by zero in the traffic path
78b4bf26a8a7 net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock().
a1c2f3229734 netns: provide pure entropy for net_hash_mix()
53a1906859a2 net/mlx5: Decrease default mr cache size
b87ec81362ac net-gro: Fix GRO flush when receiving a GSO packet.
80c205813d3f net: ethtool: not call vzalloc for zero sized memory request
b7b058315577 kcm: switch order of device registration to fix a crash
42f1fa0fcf55 ipv6: sit: reset ip header pointer in ipip6_rcv
ea06796f8857 ipv6: Fix dangling pointer when ipv6 fragment
8e4b4da3d3d9 ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
167019572ca8 ibmvnic: Fix completion structure initialization
9a7c4f5acc0e hv_netvsc: Fix unwanted wakeup after tx_disable
902eca1a0ccf powerpc/tm: Limit TM code inside PPC_TRANSACTIONAL_MEM
8ad895bf4b8b drm/i915/gvt: do not let pin count of shadow mm go negative
646f8e01fc37 kvm: nVMX: NMI-window and interrupt-window exiting should wake L2 from HLT
(From OE-Core rev: 554970c74c3dc7fd11385076e75350be8afe339f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable commits that comprise the following
changes:
e5b9547b1aa3 Linux 5.0.13
d467f3acebc5 ath10k: Drop WARN_ON()s that always trigger during system resume
3c13f6cd254d iwlwifi: mvm: properly check debugfs dentry before using it
c391e6198768 ALSA: line6: use dynamic buffers
4c38bd0d4cd6 KVM: nVMX: Fix size checks in vmx_set_nested_state
119ac69c0772 KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
a31a8f55c8e8 net/tls: fix copy to fragments in reencrypt
f7f4d4b85b83 net/tls: don't copy negative amounts of data in reencrypt
126255f1ef2b bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
95fc8b4b4367 bnxt_en: Fix statistics context reservation logic.
1c38ed7b5ef6 bnxt_en: Pass correct extended TX port statistics size to firmware.
4348cae3a6e1 bnxt_en: Fix possible crash in bnxt_hwrm_ring_free() under error conditions.
76dba4d8d0db bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
4aaaa658466a bnxt_en: Improve multicast address setup logic.
7a0d81d12f62 udp: fix GRO packet of death
8858d7234542 udp: fix GRO reception in case of length mismatch
b58d12d306ae tcp: add sanity tests in tcp_add_backlog()
4d5aaae5fa0e selftests: fib_rule_tests: Fix icmp proto with ipv6
3362ece2719c packet: in recvmsg msg_name return at least sizeof sockaddr_ll
3a0701b8d93a packet: validate msg_namelen in send directly
02694885a2be selftests: fib_rule_tests: print the result and return 1 if any tests failed
484d404fdc2a sctp: avoid running the sctp state machine recursively
f8970584f08c rxrpc: Fix net namespace cleanup
90cb17d3df6f net/tls: avoid NULL pointer deref on nskb->sk in fallback
52c89e455b5c net: phy: marvell: Fix buffer overrun with stats counters
801038cca48c net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
31f4cb2730d8 l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
f86adc57e7db l2ip: fix possible use-after-free
d1fa4f8784bb ipv6: invert flowlabel sharing check in process and user mode
787a77cccb18 ipv6/flowlabel: wait rcu grace period before put_pid()
d0aa794674e5 ipv6: fix races in ip6_dst_destroy()
c61a4beb31f0 ipv6: A few fixes on dereferencing rt->from
5a06ba5ed2ae ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
6006d5b02522 Linux 5.0.12
310f9b1e52c0 leds: trigger: netdev: use memcpy in device_name_store
004ec01370bc leds: pca9532: fix a potential NULL pointer dereference
107cfb99c81f ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
87eaf3d8ac51 kasan: fix variable 'tag' set but not used warning
514860ee6633 iommu/amd: Reserve exclusion range in iova-domain
8bd7d23a4a76 kconfig/[mn]conf: handle backspace (^H) key
44fe72aeaae8 perf machine: Update kernel map address and re-order properly
441d23c87644 perf cs-etm: Add missing case value
b8bc52cd62e8 nvmet: fix error flow during ns enable
163719bdcd9c nvmet: fix building bvec from sg list
2e7d5b2e1fa0 nvme-multipath: relax ANA state check
a72f60dbb557 gpio: of: Fix of_gpiochip_add() error path
41a94b1909a4 KVM: selftests: complete IO before migrating guest state
a312d0eaf90d KVM: selftests: disable stack protector for all KVM tests
77507936fea3 KVM: selftests: explicitly disable PIE for tests
e478d1c9b585 KVM: selftests: assert on exit reason in CR4/cpuid sync test
02a7fc6c77d5 x86/kvm/hyper-v: avoid spurious pending stimer on vCPU init
e10edda577cc kvm/x86: Move MSR_IA32_ARCH_CAPABILITIES to array emulated_msrs
3d714ded80f6 KVM: SVM: Workaround errata#1096 (insn_len maybe zero on SMAP violation)
5369433777ec KVM: nVMX: Do not inherit quadrant and invalid for the root shadow EPT
e8b8dde69f81 gpio: of: Check for "spi-cs-high" in child instead of parent node
0e48494c0edf gpio: of: Check propname before applying "cs-gpios" quirks
fb853a4a7748 afs: Fix StoreData op marshalling
c6d02b1ea4d7 kbuild: skip parsing pre sub-make code for recursion
479e1afd232e libata: fix using DMA buffers on stack
8d3c7282cec4 x86/mm: Don't exceed the valid physical address space
ab4a5df699b5 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
b0921da055f1 ceph: fix use-after-free on symlink traversal
1ab2566c5329 usb: u132-hcd: fix resource leak
4f5d11bf2eca x86/realmode: Don't leak the trampoline kernel address
89ae17728a98 SUNRPC: fix uninitialized variable warning
ec44e4273006 leds: trigger: netdev: fix refcnt leak on interface rename
facfcac8357d usb: usb251xb: fix to avoid potential NULL pointer dereference
3ce3290dee84 scsi: qla4xxx: fix a potential NULL pointer dereference
ab602d0043a4 scsi: aacraid: Insure we don't access PCIe space during AER/EEH
9a5795520b91 scsi: mpt3sas: Fix kernel panic during expander reset
08dd1acccb43 staging: vc04_services: Fix an error code in vchiq_probe()
b2814ce32d47 sbitmap: order READ/WRITE freed instance and setting clear bit
44a7849ecbd2 ARM: davinci: fix build failure with allnoconfig
e24c5428060f drm/meson: Uninstall IRQ handler
da9c64dc934a drm/meson: Fix invalid pointer in meson_drv_unbind()
55a5c46268ff gpio: aspeed: fix a potential NULL pointer dereference
e9917fd844ec drm: Fix drm_release() and device unplug
c4cdbd4075a6 net: ethernet: ti: fix possible object reference leak
6e4f7c129b24 net: ibm: fix possible object reference leak
3da122192cde net: xilinx: fix possible object reference leak
8dcf6dce4023 NFS: Fix a typo in nfs_init_timeout_values()
4d88134c2f7c drm/tegra: hub: Fix dereference before check
ec44a9a47e7e ARM: dts: imx6qdl: Fix typo in imx6qdl-icore-rqs.dtsi
4da511ff427b net/sched: don't dereference a->goto_chain to read the chain index
fe9fae9c5bff net: macb: Add null check for PCLK and HCLK
ead946dc3824 net: phy: Add DP83825I to the DP83822 driver
9bd87bbd2988 staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
62d91f5a1ea4 staging: rtl8712: uninitialized memory in read_bbreg_hdl()
6300a60f50b9 staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
5fad07771fb8 staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
fe4e7a03c742 net: ks8851: Set initial carrier state to down
372b41d6efe3 net: ks8851: Delay requesting IRQ until opened
860fd08630a6 net: ks8851: Reassert reset pin if chip ID check fails
75e3e76a45c6 net: ks8851: Dequeue RX packets explicitly
07c5093a04f8 KVM: arm/arm64: Fix handling of stage2 huge mappings
e68cc902c624 i2c: i801: Add support for Intel Comet Lake
bcc78b63f0b4 ARM: dts: pfla02: increase phy reset duration
2af87002a5e4 usb: gadget: net2272: Fix net2272_dequeue()
202db3b5c17c usb: gadget: net2280: Fix net2280_dequeue()
ad7be5bfe969 usb: gadget: net2280: Fix overrun of OUT messages
e5a7f0905664 usb: dwc3: pci: add support for Comet Lake PCH ID
7f482404c11e KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
d2eecdbc6eca KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory
d6d23d335672 arm64: KVM: Always set ICH_HCR_EL2.EN if GICv4 is enabled
e38694c6b9a8 KVM: arm64: Reset the PMU in preemptible context
4343cbf52e36 serial: ar933x_uart: Fix build failure with disabled console
d25b0c89b3b9 sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
0bb1f79a1427 ARM: imx51: fix a leaked reference by adding missing of_node_put
42ed22a8b969 s390/qeth: fix race when initializing the IP address table
f0028f723428 netfilter: ip6t_srh: fix NULL pointer dereferences
21fde4fcbbd2 netfilter: fix NETFILTER_XT_TARGET_TEE dependencies
eb213c54aaac netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
0f9c88c5ccc9 netfilter: nft_set_rbtree: check for inactive element after flag mismatch
7f0d096410af staging, mt7621-pci: fix build without pci support
6c41d389904c staging: axis-fifo: add CONFIG_OF dependency
5227fe96b107 xsk: fix umem memory leak on cleanup
9fc5c6e8fce8 qlcnic: Avoid potential NULL pointer dereference
2e75be8dd6fa net: stmmac: fix jumbo frame sending with non-linear skbs
53485ee41fc3 net: stmmac: don't set own bit too early for jumbo frames
099a26557db9 Btrfs: fix file corruption after snapshotting due to mix of buffered/DIO writes
61a9e0f4cc86 ieee802154: hwsim: propagate genlmsg_reply return code
645dc42f97d8 net: ieee802154: fix a potential NULL pointer dereference
edb616838408 mt76: mt76x2: fix 2.4 GHz channel gain settings
63019ec07c61 mt76: mt76x2: fix external LNA gain settings
a495f4c9afbf mt76x02: fix hdr pointer in write txwi for USB
1d568d7476da s390: limit brk randomization to 32MB
87240adabb46 ARM: dts: bcm283x: Fix hdmi hpd gpio pull
9979cd3953b9 arm64: dts: renesas: r8a77990: Fix SCIF5 DMA channels
27f651142eec fs: prevent page refcount overflow in pipe_buf_get
ad73e3a19906 mm: prevent get_user_pages() from overflowing page refcount
bdc8dfd65873 mm: add 'try_get_page()' helper function
258fc3baeb4b mm: make page ref count overflow check tighter and more explicit
cc37cb69fbdc drm/i915: Do not enable FEC without DSC
742c556944e1 Revert "ACPICA: Clear status of GPEs before enabling them"
635e82b9bdc8 selinux: use kernel linux/socket.h for genheaders and mdp
d5a2675b207d Linux 5.0.11
bcf0c1f4d564 net/tls: don't leak IV and record seq when offload fails
2adb99038ae4 net/tls: avoid potential deadlock in tls_set_device_offload_rx()
c01e42fdccf5 net/mlx5e: Fix use-after-free after xdp_return_frame
f9444b6aaa01 net/mlx5e: Fix the max MTU check in case of XDP
a7b71fc253e8 mlxsw: spectrum: Put MC TCs into DWRR mode
a3964a683ca1 mlxsw: pci: Reincrease PCI reset timeout
72f71005903d net/ncsi: handle overflow when incrementing mac address
19f6d3f49b28 net: socionext: replace napi_alloc_frag with the netdev variant on init
af31849700e4 team: fix possible recursive locking when add slaves
dc2b8b627802 stmmac: pci: Adjust IOT2000 matching
3fd3574106de net/tls: fix refcount adjustment in fallback
e39643c12d3f net: stmmac: move stmmac_check_ether_addr() to driver probe
8de6f5e5b90d net/rose: fix unbound loop in rose_loopback_timer()
b225e518109b net: rds: exchange of 8K and 1M pool
283882b045ad net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query
f37782f2d708 mlxsw: spectrum: Fix autoneg status in ethtool
d69b7c8c8ab5 ipv4: set the tcp_min_rtt_wlen range from 0 to one day
617d24036564 ipv4: add sanity checks in ipv4_link_failure()
7f909f520742 rdma: fix build errors on s390 and MIPS due to bad ZERO_PAGE use
dee438745d74 x86/retpolines: Disable switch jump tables when retpolines are enabled
6bd5637a3ebb x86, retpolines: Raise limit for generating indirect calls from switch-case
b6dd51f041fa Fix aio_poll() races
f6408361ded7 aio: store event at final iocb_put()
a8a538aed4f9 aio: keep io_event in aio_kiocb
636fa71ed5f7 aio: fold lookup_kiocb() into its sole caller
199f34c1355b pin iocb through aio.
e2f0a96eeb50 rxrpc: fix race condition in rxrpc_input_packet()
4f2c07441634 net/rds: Check address length before reading address family
d0d184559cb4 net: netrom: Fix error cleanup path of nr_proto_init
d0cf85f49505 tipc: check link name with right length in tipc_nl_compat_link_set
4ee29a10021f tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
a92526e257a5 fm10k: Fix a potential NULL pointer dereference
0d41789ad820 netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
becfa96eaecd NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
b5db8ea57de5 mac80211_hwsim: calculate if_combination.max_interfaces
16de5d9b8f6b sched/deadline: Correctly handle active 0-lag timers
bbb19ca082ce binder: fix handling of misaligned binder object
8fe1600c91f9 workqueue: Try to catch flush_work() without INIT_WORK().
abcbf3078130 slip: make slhc_free() silently accept an error pointer
ba965c2c9808 tipc: handle the err returned from cmd header function
2501b17f4f72 loop: do not print warn message if partition scan is successful
acaec7f6e25d ext4: fix some error pointer dereferences
2cd705091e36 USB: Consolidate LPM checks to avoid enabling LPM twice
30d57be1f6eb USB: Add new USB LPM helpers
6ec39721f131 drm/vc4: Fix compilation error reported by kbuild test bot
3e869fd34856 Revert "drm/i915/fbdev: Actually configure untiled displays"
6dca846c920d drm/ttm: fix re-init of global structures
0b029ce3f4ee drm/vc4: Fix memory leak during gpu reset.
aaceebbb71c5 powerpc/mm/radix: Make Radix require HUGETLB_PAGE
b9a5bc4bb079 ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache
aa5f016ba785 dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
9476c3ad5ee2 dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status
c46e14be004a dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
16df9424ffaa vfio/type1: Limit DMA mappings per container
4898e9b99795 Input: synaptics-rmi4 - write config register values to the right offset
c704bba6dd36 perf/x86/intel: Update KBL Package C-state events to also include PC8/PC9/PC10 counters
b2eeeb49027e sunrpc: don't mark uninitialised items as VALID.
6d29f7c720c6 nfsd: wake blocked file lock waiters before sending callback
6569ae328aa3 nfsd: wake waiters blocked on file_lock before deleting it
5e4a20e631a7 nfsd: Don't release the callback slot unless it was actually held
870588487197 ceph: fix ci->i_head_snapc leak
d9061ef0ab17 ceph: ensure d_name stability in ceph_dentry_hash()
bcd9cbffb98f ceph: only use d_name directly when parent is locked
e548c9702d46 sched/numa: Fix a possible divide-by-zero
c3e4c555ac86 RDMA/ucontext: Fix regression with disassociate
52c44c4e81b3 RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages
92d6731e6a6f RDMA/mlx5: Do not allow the user to write to the clock page
f4dba6bf743e IB/rdmavt: Fix frwr memory registration
e7e378ed703e arm64: mm: Ensure tail of unaligned initrd is reserved
e5f06bf8f46c mm: do not boost watermarks to avoid fragmentation for the DISCONTIG memory model
655b464eeaa8 trace: Fix preempt_enable_no_resched() abuse
0f73358dff40 MIPS: scall64-o32: Fix indirect syscall number load
928962e99694 lib/Kconfig.debug: fix build error without CONFIG_BLOCK
f4ab3de10c84 zram: pass down the bvec we need to read into in the work struct
e6093c0212d0 gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
0bb4e85bbd34 crypto: lrw - Fix atomic sleep when walking skcipher
6506cdd4205b crypto: xts - Fix atomic sleep when walking skcipher
8659a04c77e2 tracing: Fix buffer_ref pipe ops
68ab802fb8cc tracing: Fix a memory leak by early error exit in trace_pid_write()
90b70b3ed31b cifs: do not attempt cifs operation on smb2+ rename error
e6302b845f2d cifs: fix page reference leak with readv/writev
62cf691cdf74 cifs: fix memory leak in SMB2_read
34fb6f5eb2cd block, bfq: fix use after free in bfq_bfqq_expire
41e09d7eab07 fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
685550ad1192 ALSA: hda/realtek - Move to ACT_INIT state
b6f3aa978866 powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64
92d4af2766a1 intel_th: gth: Fix an off-by-one in output unassigning
0ccd99339030 netfilter: nf_tables: bogus EBUSY in helper removal from transaction
5b3124548062 netfilter: nf_tables: bogus EBUSY when deleting set after flush
d3da1f09fff2 Linux 5.0.10
c735a988a9ca kernel/sysctl.c: fix out-of-bounds access when setting file-max
822482bff7c5 percpu: stop printing kernel addresses
b2c65593ea62 ALSA: info: Fix racy addition/deletion of nodes
c3d0cf332bcd mm/vmstat.c: fix /proc/vmstat format for CONFIG_DEBUG_TLBFLUSH=y CONFIG_SMP=n
4ae522890cc1 mm/memory_hotplug: do not unlock after failing to take the device_hotplug_lock
c138ed72186a perf/ring_buffer: Fix AUX record suppression
65fce15dbd87 device_cgroup: fix RCU imbalance in error case
74b4ef5df590 mt76x02: avoid status_list.lock and sta->rate_ctrl_lock dependency
edc94cb2c13b tpm: fix an invalid condition in tpm_common_poll
6799f32fff63 sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup
fb9693679feb Revert "kbuild: use -Oz instead of -Os when using clang"
18636692a1b4 tpm: Fix the type of the return value in calc_tpm2_event_size()
03c1d8f8afd8 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
4a96e63f8f7d nfit/ars: Avoid stale ARS results
33dcadf02c1f nfit/ars: Allow root to busy-poll the ARS state machine
b49a9157c3ec nfit/ars: Introduce scrub_flags
2cc8e8c230e8 nfit/ars: Remove ars_start_flags
451fd88f62b9 timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
205c53cbe553 x86/speculation: Prevent deadlock on ssb_state::lock
19867049334b perf/x86: Fix incorrect PEBS_REGS
5e34d62b59dd x86/cpu/bugs: Use __initconst for 'const' init data
35f288b72f64 perf/x86/amd: Add event map for AMD Family 17h
22cc6e1b4fc0 drm/amdgpu/gmc9: fix VM_L2_CNTL3 programming
5b05d7d6fd5b s390/mem_detect: Use IS_ENABLED(CONFIG_BLK_DEV_INITRD)
b1db090fb046 mac80211: do not call driver wake_tx_queue op during reconfig
9a0748c55188 rt2x00: do not increment sequence number while re-transmitting
44aa331f99b4 kprobes: Fix error check when reusing optimized probes
ca61e51567a7 x86/kprobes: Avoid kretprobe recursion bug
7b91f26c45b6 kprobes: Mark ftrace mcount handler functions nokprobe
fbe6f067a3ad x86/kprobes: Verify stack frame on kretprobe
f89f9d9636f0 arm64: futex: Restore oldval initialization to work around buggy compilers
508b773175c7 drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
8223263d7c44 crypto: x86/poly1305 - fix overflow during partial reduction
46c4f2375638 ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier
2f6919fdc23b x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
1eb719f09f7e coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
e58a114d0746 Revert "svm: Fix AVIC incomplete IPI emulation"
922270b4f018 i3c: Fix the verification of random PID
33a3fff44a0f i3c: dw: Fix dw_i3c_master_disable controller by using correct mask
e6200707e648 Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
ad1deea5c4c9 scsi: core: set result when the command cannot be dispatched
c2116717884c vt: fix cursor when clearing the screen
5ae77c340c52 serial: sh-sci: Fix HSCIF RX sampling point calculation
333a81c16e4f serial: sh-sci: Fix HSCIF RX sampling point adjustment
95df599f95f3 Input: elan_i2c - add hardware ID for multiple Lenovo laptops
6ef122eb7956 ALSA: core: Fix card races between register and disconnect
ffd87f87a9c1 ALSA: hda/realtek - add two more pin configuration sets to quirk table
8834139083cd staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf
16b235e81d9d staging: comedi: ni_usb6501: Fix use of uninitialized mutex
a47fd7121627 staging: comedi: vmk80xx: Fix possible double-free of ->usb_rx_buf
bd3011021447 staging: comedi: vmk80xx: Fix use of uninitialized semaphore
dcff1b3c1a1d staging: most: core: use device description as name
68bbd7524a6f io: accel: kxcjk1013: restore the range after resume.
3e13bb9782f5 iio: core: fix a possible circular locking dependency
1f6b63285e2f iio: adc: at91: disable adc channel interrupt in timeout case
2b70088e1509 iio: Fix scan mask selection
5c526f27861f iio: dac: mcp4725: add missing powerdown bits in store eeprom
50bc2c022b6e iio: ad_sigma_delta: select channel when reading register
f65207cfee33 iio: cros_ec: Fix the maths for gyro scale calculation
b4dd709ada6d iio:chemical:bme680: Fix SPI read interface
fd3c6ad2a934 iio:chemical:bme680: Fix, report temperature in millidegrees
5527e1e58007 iio/gyro/bmg160: Use millidegrees for temperature scale
9efe152f769c iio: gyro: mpu3050: fix chip ID reading
25a91f7b9810 staging: iio: ad7192: Fix ad7193 channel address
80c1486b7e20 Staging: iio: meter: fixed typo
739969f56e4f KVM: x86: svm: make sure NMI is injected after nmi_singlestep
935fef82120f KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
d12bcf87e6ff fs/dax: Deposit pagetable even when installing zero page
f6846161e203 cifs: fix handle leak in smb2_query_symlink()
76dbd554c273 cifs: Fix use-after-free in SMB2_read
e8ac406c749e cifs: Fix use-after-free in SMB2_write
9582ba401ef0 cifs: Fix lease buffer length error
ebac4d0adf68 CIFS: keep FileInfo handle live during oplock break
2cf17769d6b5 sch_cake: Simplify logic in cake_select_tin()
5aa94a5b5641 nfc: nci: Potential off by one in ->pipes[] array
a023c1a245a7 NFC: nci: Add some bounds checking in nci_hci_cmd_received()
d58923dac952 sch_cake: Make sure we can write the IP header before changing DSCP bits
064290d0f6c7 sch_cake: Use tc_skb_protocol() helper for getting packet protocol
116ac142d2c6 nfp: flower: remove vlan CFI bit from push vlan action
51db0d068057 nfp: flower: replace CFI with vlan present
da86299fcccb route: Avoid crash from dereferencing NULL rt->from
6ad8c35a70cc net/mlx5: FPGA, tls, idr remove on flow delete
d3697f88a271 net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()
1d9005b96dce net/mlx5: FPGA, tls, hold rcu read lock a bit longer
abe4a1328a78 Revert "net/mlx5e: Enable reporting checksum unnecessary also for L3 packets"
acf4d270942a net/mlx5e: Rx, Check ip headers sanity
3ce8793e03cd net/mlx5e: Rx, Fixup skb checksum for packets with tail padding
af294d42d43e net/mlx5e: Switch to Toeplitz RSS hash by default
6daad2e30e0b net/mlx5e: Protect against non-uplink representor for encap
58f682514cb5 net/mlx5e: XDP, Avoid checksum complete when XDP prog is loaded
0e4b3800c069 net: bridge: fix netlink export of vlan_stats_per_port option
adfc12451123 net/tls: fix build without CONFIG_TLS_DEVICE
5e7171bf8db7 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
96418eaa8e6a net/tls: don't leak partially sent record in device mode
b30d9457b1dc net/tls: fix the IV leaks
ae924f4e1c45 net: thunderx: don't allow jumbo frames with XDP
a902fe6dd585 net: thunderx: raise XDP MTU to 1508
9be4e8224cd6 mlxsw: spectrum_router: Do not check VRF MAC address
61647856f32a mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
87ffb893490a mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
565e18a0be10 mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
6f180e411c3e mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
ed112abe6795 ipv4: ensure rcu_read_lock() in ipv4_link_failure()
6bd1ee0a993f ipv4: recompile ip options in ipv4_link_failure
8cc6c4767e49 vhost: reject zero size iova range
e35fa0016788 tipc: missing entries in name table of publications
aad7db2b23c1 team: set slave to promisc if team is already in promisc mode
8aa965e92750 tcp: tcp_grow_window() needs to respect tcp_space()
1274905c8e1b net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
49f472ba481b net: Fix missing meta data in skb with vlan packet
a7a3382b1564 net: fec: manage ahb clock in runtime pm
88f561ab1bd4 net: bridge: multicast: use rcu to access port list from br_multicast_start_querier
88c58435304b net: bridge: fix per-port af_packet sockets
11ba95c4503b net: atm: Fix potential Spectre v1 vulnerabilities
b633f6580b62 failover: allow name change on IFF_UP slave interfaces
7e2c712830d6 bonding: fix event handling for stacked bonds
e4abcebedac3 Linux 5.0.9
2db9f8d63d74 paride/pcd: Fix potential NULL pointer dereference and mem leak
e78434f4dcd2 paride/pf: Fix potential NULL pointer dereference
b59d92ac8a32 IB/hfi1: Failed to drain send queue when QP is put into error state
b05baa9f19d0 bpf: fix use after free in bpf_evict_inode
d05fb50b3d0c include/linux/swap.h: use offsetof() instead of custom __swapoffset macro
1c108a1b6459 f2fs: fix to add refcount once page is tagged PG_private
b5f51f7abb43 f2fs: fix to use kvfree instead of kzfree
c55d13d94f8c f2fs: fix to dirty inode for i_mode recovery
4fb70c2107e9 rxrpc: Fix client call connect/disconnect race
78154e319888 lib/div64.c: off by one in shift
f0f1c97f38b8 cifs: return -ENODATA when deleting an xattr that does not exist
2fbb0171b13a appletalk: Fix use-after-free in atalk_proc_exit
a33383757975 drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
3835c46e6ff5 ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t
ed3a6901a3d7 platform/x86: intel_pmc_core: Quirk to ignore XTAL shutdown
36f268740bce drm/nouveau/volt/gf117: fix speedo readout register
3b2457ce9997 f2fs: sync filesystem after roll-forward recovery
b851a25507e2 PCI/ASPM: Save LTR Capability for suspend/resume
75e3256e2309 PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports
dce48c5878ab coresight: cpu-debug: Support for CA73 CPUs
cf56bb03ffa3 RDMA/hns: Fix the Oops during rmmod or insmod ko when reset occurs
5ada4de03943 Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"
41c3883dfadb crypto: axis - fix for recursive locking from bottom half
b9563b52e802 net: hns3: Fix NULL deref when unloading driver
f1a2397542f6 drm/panel: panel-innolux: set display off in innolux_panel_unprepare
3fcb02749530 drm/amdgpu: psp_ring_destroy cause psp->km_ring.ring_mem NULL
e7ab5c78e516 lkdtm: Add tests for NULL pointer dereference
8167ea40725d lkdtm: Print real addresses
8bc6ef890c86 ext4: prohibit fstrim in norecovery mode
642530739f19 x86/gart: Exclude GART aperture from kcore
14bec2dda7a0 cifs: Fix slab-out-of-bounds when tracing SMB tcon
a419571b2da5 fix incorrect error code mapping for OBJECTID_NOT_FOUND
21edc981053f cifs: fix that return -EINVAL when do dedupe operation
92b646e27677 x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
aca4bd1a1cc6 iommu/vt-d: Save the right domain ID used by hardware
d96516127498 iommu/vt-d: Check capability before disabling protected memory
d9fb98c921a8 drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
f0a085e99ff7 x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
aaddd952f3db x86/hyperv: Prevent potential NULL pointer dereference
105d043fedcb x86/hpet: Prevent potential NULL pointer dereference
1512c986c578 irqchip/mbigen: Don't clear eventid when freeing an MSI
dc60ac49b040 irqchip/stm32: Don't set rising configuration registers at init
d79220ee57b8 irqchip/stm32: Don't clear rising/falling config registers at init
c24b1f67cea0 drm/exynos/mixer: fix MIXER shadow registry synchronisation code
c43003451a01 blk-iolatency: #include "blk.h"
8bd30e5e0ec5 PM / Domains: Avoid a potential deadlock
66495ebfd4df ACPI / utils: Drop reference in test for device presence
fd9f338db867 perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
26980cd03ea6 perf tests: Fix memory leak by expr__find_other() in test__expr()
5ffefcfe9764 perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test
ece1fd3f4023 perf evsel: Free evsel->counts in perf_evsel__exit()
05fe1d5b6ed1 perf top: Fix global-buffer-overflow issue
940df86f505d perf maps: Purge all maps from the 'names' tree
60b7f41c4aea perf map: Remove map from 'names' tree in __maps__remove()
d86bf97d119d perf hist: Add missing map__put() in error case
4a66a027c1ba perf top: Fix error handling in cmd_top()
29dddb32f56b perf build-id: Fix memory leak in print_sdt_events()
86cb58f1a12f perf config: Fix a memory leak in collect_config()
5bb92662f2f1 perf config: Fix an error in the config template documentation
d41f87ee413f perf tools: Fix errors under optimization level '-Og'
84b2a2ca6d41 perf list: Don't forget to drop the reference to the allocated thread_map
0c6568492019 perf stat: Fix --no-scale
c957d798c11c scsi: qla2xxx: Fix NULL pointer crash due to stale CPUID
9ec3c84936f7 scsi: core: Also call destroy_rcu_head() for passthrough requests
638bf55940b9 tools/power turbostat: return the exit status of a command
4a45137bb2eb x86/mm: Don't leak kernel addresses
8764542aa21c sched/core: Fix buffer overflow in cgroup2 property cpu.max
02abd369fa77 sched/cpufreq: Fix 32-bit math overflow
7aa9be519579 scsi: iscsi: flush running unbind operations when removing a session
b0b05ab719c3 thermal/intel_powerclamp: fix truncated kthread name
800e3fd7bfce thermal/int340x_thermal: fix mode setting
891fea677cca thermal/int340x_thermal: Add additional UUIDs
f1a315ca06be thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
481c8a89e89a thermal: samsung: Fix incorrect check after code merge
74920ee161d4 thermal/intel_powerclamp: fix __percpu declaration of worker_data
6e684bd65a5c paride/pcd: cleanup queues when detection fails
77323732005a paride/pf: cleanup queues when detection fails
1f208b0adaee ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
bdb43acc8858 mmc: davinci: remove extraneous __init annotation
e52431f7547c i40iw: Avoid panic when handling the inetdev event
221b45319d05 IB/mlx4: Fix race condition between catas error reset and aliasguid flows
b21723eda4cc drm/udl: use drm_gem_object_put_unlocked.
33550275bbcf auxdisplay: hd44780: Fix memory leak on ->remove()
4c12b50fc86a ALSA: sb8: add a check for request_region
b3a964aea086 ALSA: echoaudio: add a check for ioremap_nocache
2c20533ea602 ext4: report real fs size after failed resize
d45fc2ba0e39 ext4: add missing brelse() in add_new_gdb_meta_bg()
e23981104716 ext4: avoid panic during forced reboot
0a7ef6820970 mips: bcm47xx: Enable USB power on Netgear WNDR3400v2
c5d7b6089be5 perf/core: Restore mmap record type correctly
7f434180c880 inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()
9005b534c2ba arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
48de44356e07 ARC: u-boot args: check that magic number is correct
0b9132ee7429 Linux 5.0.8
eaa06ac5d1c1 drm/virtio: do NOT reuse resource ids
7af79a36d188 KVM: x86: nVMX: fix x2APIC VTPR read intercept
b564364f22ac KVM: x86: nVMX: close leak of L0's x2APIC MSRs (CVE-2019-3887)
63bec9219c39 dm integrity: fix deadlock with overlapping I/O
de022a3453e6 dm: disable DISCARD if the underlying storage no longer supports it
ca7671084384 dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
50b2e5c3b0a8 dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE")
556b7d910d5d dm integrity: change memcmp to strncmp in dm_integrity_ctr
78dbc2482a78 powerpc/64s/radix: Fix radix segment exception handling
49558542e0eb xprtrdma: Fix helper that drains the transport
8af91139a0a8 PCI: pciehp: Ignore Link State Changes after powering off a slot
9b63917c6a4c PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
025768c171b8 x86/perf/amd: Remove need to check "running" bit in NMI handler
ecb09f75a9b9 x86/perf/amd: Resolve NMI latency issues for active PMCs
c583b4d08f3a x86/perf/amd: Resolve race condition when disabling PMC
8b866ffe3d31 x86/asm: Use stricter assembly constraints in bitops
3783a3b1e218 x86/asm: Remove dead __GNUC__ conditionals
5866b5fc2b8a csky: Fix syscall_get_arguments() and syscall_set_arguments()
b66f9a1ea65a xtensa: fix return_address
e09deff8f8f4 sched/fair: Do not re-read ->h_load_next during hierarchical load calculation
05acf6f5b81c xen: Prevent buffer overflow in privcmd ioctl
e0e77b23a73d IB/mlx5: Reset access mask when looping inside page fault handler
6b3b09cd4daa arm64/ftrace: fix inadvertent BUG() in trampoline check
36078cae3790 arm64: backtrace: Don't bother trying to unwind the userspace stack
de2e5ed04711 arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
7fcf2d915fa0 arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64
68a6a619ebd7 arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value
b0266ece310d ARM: dts: at91: Fix typo in ISC_D0 on PC9
a005242834ac ARM: dts: rockchip: Fix SD card detection on rk3288-tinker
e74aa76752f4 ARM: dts: am335x-evm: Correct the regulators for the audio codec
724d26349abf ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
4e34e23d5708 ARM: dts: rockchip: fix rk3288 cpu opp node reference
f04200259be8 ARM: OMAP1: ams-delta: Fix broken GPIO ID allocation
4e6f0d588cd2 drm/i915/dp: revert back to max link rate and lane count on eDP
88fa815395e3 virtio: Honour 'may_reduce_num' in vring_create_virtqueue
ec64558908d7 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
b8ad5278c4d3 genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent()
fffb3e8b5920 block: fix the return errno for direct IO
b4af1b3cb545 block: do not leak memory in bio_copy_user_iov()
43d15c041ad7 block: Revert v5.0 blk_mq_request_issue_directly() changes
6a184be78d3f riscv: Fix syscall_get_arguments() and syscall_set_arguments()
ee02ae76d069 btrfs: prop: fix vanished compression property after failed set
41cd8693bfcc btrfs: prop: fix zstd compression parameter validation
ddb27d3b30f7 Btrfs: do not allow trimming when a fs is mounted with the nologreplay option
4badea79434d ASoC: fsl_esai: fix channel swap issue when stream starts
7c394c70a394 ASoC: intel: Fix crash at suspend/resume after failed codec registration
3859d8fae2d8 mm: writeback: use exact memcg dirty counts
c4727317b4e5 include/linux/bitrev.h: fix constant bitrev
a1428aee0c69 kvm: svm: fix potential get_num_contig_pages overflow
d2c5c9ea9a09 drm/udl: add a release method and delay modeset teardown
7029188253fc drm/sun4i: DW HDMI: Lower max. supported rate for H6
3e05b13e52e5 drm/i915/gvt: do not deliver a workload if its creation fails
56487f7b8330 alarmtimer: Return correct remaining time
b4dfbd47a494 parisc: also set iaoq_b in instruction_pointer_set()
97ba69f22665 parisc: regs_return_value() should return gpr28
d347bbea0668 parisc: Detect QEMU earlier in boot process
af2abcc62e64 mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning
13771e12fb7d mmc: alcor: don't write data before command has completed
8a3bb1553d5b arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
9e77cd4a9922 mm/huge_memory.c: fix modifying of page protection by insert_pfn_pmd()
89944d7e95e3 ALSA: hda - Add two more machines to the power_save_blacklist
3c20e6c50e03 ALSA: xen-front: Do not use stream buffer size before it is set
97bf09839964 ALSA: hda/realtek - Add quirk for Tuxedo XC 1509
acaf3a112008 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate B114-21 with ALC233
df828c33163f ALSA: seq: Fix OOB-reads from strlcpy
cb11af93e626 ACPICA: Namespace: remove address node from global list after method termination
da6a87fb0ad4 ACPICA: Clear status of GPEs before enabling them
bee8b4b4c79b HID: logitech: Handle 0 scroll events for the m560
0601ac3b4925 SMB3: Allow persistent handle timeout to be configurable on mount
4d4ec04ed77e hwmon: (occ) Fix power sensor indexing
026f98a1d51d hwmon: (w83773g) Select REGMAP_I2C to fix build error
c231b6b0064d tty: ldisc: add sysctl to prevent autoloading of ldiscs
e4ebae16792a tty: mark Siemens R3964 line discipline as BROKEN
e2a0237494ce Revert "clk: meson: clean-up clock registration"
62a23bbaee09 lib/string.c: implement a basic bcmp
622902df9eba kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
396f116f6d0a net/mlx5e: Update xon formula
29b4db4176da net/mlx5e: Update xoff formula
68ef6f3e1a70 net: mlx5: Add a missing check on idr_find, free buf
4fe853723d57 r8169: disable default rx interrupt coalescing on RTL8168
4b780e0fc986 net: core: netif_receive_skb_list: unlist skb before passing to pt->func
b5f69a5648b0 net: vrf: Fix ping failed when vrf mtu is set to 0
c83447096390 net: thunderx: fix NULL pointer dereference in nicvf_open/nicvf_stop
502de75b3b34 net: bridge: always clear mcast matching struct on reports and leaves
f4473ccd883c net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
b49e1837b15e net: ip_gre: fix possible use-after-free in erspan_rcv
eefa6c2464c8 bnxt_en: Reset device on RX buffer errors.
aecbbae850ed bnxt_en: Improve RX consumer index validity check.
c43bbe6d49f4 nfp: disable netpoll on representors
c974a681e996 nfp: validate the return code from dev_queue_xmit()
6fc42565470a net/mlx5e: Add a lock on tir list
44bd84f1b5a5 net/mlx5e: Fix error handling when refreshing TIRs
59c5f595a120 vrf: check accept_source_route on the original netdevice
71707cc55c39 tcp: fix a potential NULL pointer dereference in tcp_sk_exit
bc7167651e30 tcp: Ensure DCTCP reacts to losses
cd1b7376d8a3 sctp: initialize _pad of sockaddr_in before copying to user memory
3c36cc5bdf89 r8169: disable ASPM again
cdeed1e0f47e qmi_wwan: add Olicard 600
3bcad39f08ca openvswitch: fix flow actions reallocation
48a1cd79cc7e net/sched: fix ->get helper of the matchall cls
4edf174b821e net/sched: act_sample: fix divide by zero in the traffic path
4e8d8e767f11 net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock().
ec7aeb6a0709 netns: provide pure entropy for net_hash_mix()
6ced07adaead net/mlx5: Decrease default mr cache size
67b0fbfaf828 net-gro: Fix GRO flush when receiving a GSO packet.
88b9d6f6aff8 net: ethtool: not call vzalloc for zero sized memory request
351ddbdf532c kcm: switch order of device registration to fix a crash
472a290314f0 ipv6: sit: reset ip header pointer in ipip6_rcv
ccec3a09c429 ipv6: Fix dangling pointer when ipv6 fragment
fd4ecb124730 ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
4f90b9ca3cb2 ibmvnic: Fix completion structure initialization
b68b3427a2a2 hv_netvsc: Fix unwanted wakeup after tx_disable
5160fb3353f5 netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
19589530ec6d netfilter: nf_tables: use-after-free in dynamic operations
43154d5c868c netfilter: nft_compat: use .release_ops and remove list of extension
93f7f61ed079 kbuild: pkg: use -f $(srctree)/Makefile to recurse to top Makefile
118003351916 drm/i915/gvt: do not let pin count of shadow mm go negative
(From OE-Core rev: a4544d19b4f5db419e7a02e584a28a14768c8f2f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade from openssh_7.9p1.bb to openssh_8.0p1.bb.
-openssh/0001-upstream-Have-progressmeter-force-an-update-at-the-b.patch
-openssh/CVE-2018-20685.patch
-openssh/CVE-2019-6109.patch
-openssh/CVE-2019-6111.patch
-Removed since these are included in 8.0p1.
(From OE-Core rev: 7e21cfec4de3d66585c92632e1503df54a89b79a)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add rconflicts since error during do_rootfs:
file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586
(From meta-yocto rev: 28bdd6efe8a4fff12ee169a227762ec0978dab36)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since warrior, python3native.bbclass sets _PYTHON_SYSCONFIGDATA_NAME;
unfortunately, this also affects Python scripts run as fetch commands like
git-make-shallow, breaking it with a message like
Failed to import the site module
Traceback (most recent call last):
File "/usr/lib/python3.6/site.py", line 570, in <module>
main()
File "/usr/lib/python3.6/site.py", line 556, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python3.6/site.py", line 288, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python3.6/site.py", line 264, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python3.6/site.py", line 254, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python3.6/sysconfig.py", line 607, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python3.6/sysconfig.py", line 550, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata'
on an Ubuntu 18.04 system (and likely others) when building with
BB_GIT_SHALLOW and BB_GENERATE_SHALLOW_TARBALLS.
Unset _PYTHON_SYSCONFIGDATA_NAME in runfetchcmd() to work around this.
(Bitbake rev: d94ccd506d04aff182ab48f501f6f366d5dd14f5)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds support to the 'bitbake -e' command so that it can display the base
environment for a multiconfig. It was previously possible to get the
base environment for the main environment by running "bitbake -e", but
there was no support for getting the base environment for a multiconfig
without specifying a recipe. A user can now print the base environment
for the multiconfig "foo" by running:
$ bitbake -e multiconfig:foo
(Bitbake rev: 3d657af8a6120193d45d01968605b30075a56198)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The renaming of the __depends variable to __base_depends and file
watches needs to occurs for all multiconfigs, not just the base config.
Failing to do this for all multiconfigs will result in a huge increase
in the size of the parsing cache (about 5x for a single mulitconfig)
because all multiconfig caches will still depend on the base config
files. This will also seen a similar jump in the amount of time required
to load the parsing cache from memory, both because the cache is larger
and because of explosion of additional existence checks that must be
done for the base files.
[YOCTO #13359]
(Bitbake rev: 34137a00f60280e9e806070c6507a0fc6284b834)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new source parameter label to allow custom boot.conf/grub.cfg label,
so far it's hardcoded to "Boot".
Default label to "Boot" for systemd-boot and blank for grub-efi when source
parameter label are not set.
(From OE-Core rev: 7a0aab1aa31e66e6bc94c04c2f6c1043b64a8967)
Signed-off-by: Chee Yang Lee <chee.yang.lee at intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add rconflicts since error during do_rootfs:
file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586
file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586
(From OE-Core rev: 10d0a824ad9b835b6f5ec24a49d41aead613031b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The DEBUG_MAP_PREFIX flags need to be passed when building the Python
library to prevent these non-reproducible paths from being encoded into
the library. The patch that does this was accepted upstream and
supersedes part of a previous patch that passed LDFLAGS to the Python
library in favor of passing EXTRA_PYTHON_LDFLAGS, so the patch and
recipe has been updated to reflect this.
(From OE-Core rev: 04bb44c1b97c3183739e4836588a93dc34af8806)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bc can be provided by busybox as well (e.g. if you have your own
defconfig and forget to explicitly disable it:
...
*
* Miscellaneous Utilities
*
adjtimex (4.7 kb) (ADJTIMEX) [N/y/?] n
bbconfig (9.7 kb) (BBCONFIG) [N/y/?] n
bc (45 kb) (BC) [Y/n/?] (NEW) dc (36 kb) (DC) [Y/n/?] y
Use bc code base for dc (larger, more features) (FEATURE_DC_BIG) [Y] (NEW) y
Interactive mode (+4kb) (FEATURE_BC_INTERACTIVE) [Y/n/?] (NEW) Enable bc/dc long options (FEATURE_BC_LONG_OPTIONS) [Y/n] (NEW) beep (2.4 kb) (BEEP) [N/y/?] n
chat (6.3 kb) (CHAT) [N/y/?] n
conspy (10 kb) (CONSPY) [N/y/?] n
...
), causing conflict in u-a:
update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid since /usr/bin/bc exists and is not a link
and then whole do_rootfs or do_populate_sdk to fail because busybox postinst is failing:
do_populate_sdk: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported.
(From OE-Core rev: f4e712162566373279049fb952d8bceb9184128a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit a559ffab30.
This is not needed now that pigz has been marked as a drop-in
replacement.
(From OE-Core rev: 3a73662ea72fbf0180d9a66032b6d92248ae4ddf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gdbserver does not yet build for riscv64, therefore
let the package be empty so we can build core-image-sato-sdk-ptest
(From OE-Core rev: 111f65528e3c0b147c1713cfc684958f94c41cd6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several fetchers support named sources that require setting a SRCREV with
the source name as a suffix. These named SRCREV variables are not captured
in the sstate hash calculation because they're only referenced within the
bitbake fetcher function. Several recipes avoid this bug by adding the
different SRCREVs to their packaging versioning but this is not enforced so
it is very trivial to trip this bug case.
Add a snippet to the base.bbclass anonymous python to add all named SRCREV
variables to the vardeps of do_fetch to capture them in the sstate hash
calculation.
Testing of the bug can be shown by running the following bitbake commands
with this patch set not applied:
bitbake vulkan-demos | tee
sed -i 's/SRCREV_gli = ".*"/SRCREV_gli = "xxx"/' \
../meta/recipes-graphics/vulkan/vulkan-demos_git.bb
bitbake vulkan-demos | tee;
The above results in no errors despite a broken SRCREV because the recipe is
considered unchanged by the bitbake sstate hash.
After applying this patch the above commands instead result in a fetcher
error which is correct.
(From OE-Core rev: fdc000b8ae1577f1b29efb2cc4927664ad41e21c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Consider DISTRO_FEATURES for nfs-utils and rpcbind.
This is to prevent the following warning while booting:
NFS daemon support not enabled in kernel
(From OE-Core rev: bd59536158ba29aec979378068d5d50b4a29282d)
Signed-off-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below error:
file /etc/xinetd.d/telnet conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586
file /usr/sbin/in.telnetd conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586
(From OE-Core rev: 1ceaaab6aab449f05a6e5f984bd20fa33d84937d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting the CMAKE_C{,XX}_COMPILER_LAUNCHER variables is the recomended way to
deal with ccache in CMake. It allows build scripts to optionally opt-out of
ccache, which is especially useful when the pre-processed GCC output is required.
(From OE-Core rev: 0a36d1b342c0b4760bc75794c2e941a17012bc19)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when both installed, do_rootfs report error like:
file /etc/inittab conflicts between attempted installs of
busybox-inittab-1.30.1-r0.qemux86 and sysvinit-inittab-2.88dsf-r10.qemux86
so add each other to rconflicts
(From OE-Core rev: d66114b07ef3e8482fee4c3c93e4f6324c38da3b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes libstdc++ changes from gcc 9.X.
It also switches uninative from bz2 to xz compression.
(From OE-Core rev: 7ed16ec033366aea175ac4ecf7cd82656c4141bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this the ptest fails, unable to find mkfs.ext3.
(From OE-Core rev: 8f4e7f4ff4eed6503213f2d15bb86c0c86368966)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should append to the ptest RDEPENDS and RRECOMMENDS otherwise the bbclass
defaults are overwritten. This leads to ptest-runner not being installed in
minimal images. Also drop the duplicate ${PN} value which is unneeded once
we do this.
(From OE-Core rev: 5054038567744d09e51e50f8c663f18224d6c555)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the test is successful, remove the log and exp files. This stops strace
using around 600MB of disk space and running our ptest images out of space.
(From OE-Core rev: ae94bffc6991efd6a6a74b2c129d3743b5fd1cd3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch uninative to use xz compression instead of bzip2. We can then directly
use the SDK_ARCHIVE_CMD.
(From OE-Core rev: c2e30917542297c0dbef2868d4aeebc05b13ef8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this may take longer to compress, it reduces network transfer and potentially
extraction time so is worthwhile.
(From OE-Core rev: 0a89d486cf596da791c27cff14ef3d6ca1cbb75a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7 renamed the tar_sdk function
but didn't fix this recipe. This leads to broken uninative tarballs as the internal
structure isn't correct. Fix this.
(From OE-Core rev: 1cfe7cbb20a0eedd46ab6ee57f8d49bc652f818a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't seem to be a reason to keep it in addition to 1.12 now.
(From OE-Core rev: 03bfbbb1d86f102ce23ee6ac0d4b905fc241f23c)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
udev is an optional dependency of bluez5, so use PACKAGECONFIG to give
users the ability to build bluez5 without udev support.
(From OE-Core rev: 862438543ef04a3c23f38ec65cd66a3b4e3907d5)
Signed-off-by: David Frey <dpfrey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file attributes (specifically the timestamps) must be preserved when
applying the cross files to have reproducible builds. Otherwise, the
cross files get the timestamp from when they are copied in the do_unpack
task, and the reproducible_build class uses this timestamp since it is
the youngest one in the source tree.
(From OE-Core rev: b9b8cd3ce9755087d5d89b54287e171ac5effe3b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One of the ptests failed for internationalization.
>From the failed ptest log:
run-intl
fr_FR.ISO8859-1: Error Encoding U+00000080 to [ "$'\200'" != "\\u0080" ]
(125 similar errors related to same encoding)
The test was unable to convert iso8859-1 encoding to perform comparison.
(From OE-Core rev: ec1849d7a5964bef53462b9d4763e22433f9d246)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All known issues have been addressed in OE-Core, switch to gc9 by default.
(From OE-Core rev: 55014de1cb19d46467314adf37c88b1b91e001f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
fix is included in 1.16.0
* SCTP plugin got added
* WPE plugin got added (but currently disabled due to build problems with
meta-webkit; will be fixed in a separate commit)
* ACM, SPC, daala, VCD plugins got removed
(From OE-Core rev: 19897615db54dd24e4c67f32e64dfee171c03746)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
Added this patch that is on track for version 1.16.1 because
it is needed for WebKit
* 0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
Removed since it is not needed (using mpeg4videoparse fixes the issue)
* avoid-including-sys-poll.h-directly.patch
* ensure-valid-sentinel-for-gst_structure_get.patch
Removed since these are included in 1.16.0
(From OE-Core rev: 2af6b5500f719eb4128e27e8346be9d9c3e1377e)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
fix is included in 1.16.0
* 0005-viv-fb-Make-sure-config.h-is-included.patch
Added to prevent build errors due to missing config.h #include
* 0010-gl-Add-switch-for-explicitely-enabling-disabling-GBM.patch
* 0011-gl-Add-switches-for-explicitely-enabling-disabling-P.patch
Removed since these are included in 1.16.0
(From OE-Core rev: 9dbd91c22cbd39245e72a128e07036c22edd9b4e)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0002-gstconfig.h.in-initial-RISC-V-support.patch
Removed since this is included in 1.16.0
(From OE-Core rev: 4f9b8ce9aad05fd6e2b7d2fefc0d22fcb431c003)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
* Feature: Add support for 200Gbps (50Gbps per lane) link mode
* Feature: simplify handling of PHY tunable downshift
* Feature: add support for PHY tunable Fast Link Down
* Feature: add PHY Fast Link Down tunable to man page
* Feature: Add a 'start N' option when specifying the Rx flow hash indirection table.
* Feature: Add bash-completion script
* Feature: add 10000baseR_FEC link mode name
* Fix: qsfp: fix special value comparison
* Feature: move option parsing related code into function
* Feature: move cmdline_coalesce out of do_scoalesce
* Feature: introduce new ioctl for per-queue settings
* Feature: support per-queue sub command --show-coalesce
* Feature: support per-queue sub command --coalesce
* Fix: fix up dump_coalesce output to match actual option names
* Feature: fec: add pretty dump
(From OE-Core rev: 0622b7e17b5c3db80a21c11e3079392552f144ea)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd upstream only care about glibc. We made musl specific
patches so that systemd could work. But currently these patches
contain potential security issues.
So apply these patches only when the libc is musl.
(From OE-Core rev: 464a1c16db1d7cc950eaee43bd8a47124dc4398f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
assembler ends up crashing on target sometimes due to
segfaults in libbfd, therefore avoid using -O2 for now
(From OE-Core rev: a6f9327e79df1bfadb1f613eda799586e60009f2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The API between lttng-tools and lttng-modules is safe, whitelist it as
the dependency fixes tools failures. This needs a hack in the multilib
class as right now there is no way to know if a given recipe is a kernel
module or not. This needs to be revisited.
(From OE-Core rev: 584e713bf7f6885a13c440cd45c0f469feb3a694)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lttng-tools project is essentially a "tracer" controller, the tests
depends heavily on lttng-ust and lttng-modules presence.
(From OE-Core rev: f50483cef0a65f3098018600276fba70195643da)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original version of template.py parses the arguments manually. This
fails when looking for the -E option if, e.g., an -I option is specified
without any space before its argument, and that argument contains the
letter 'E'.
A minor difference to the original version is that it parsed the
arguments in the order they were specified on the command line whereas
this version will always handle -E before -o.
(From OE-Core rev: 60e8de529eb0dfd546d96af3c2cdd7f23041ab45)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is mainly whitespace clean up, plus using the with statement when
writing files.
(From OE-Core rev: f09cb832fa8e83e7e5faf6bd9464481aef5b4547)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 0c68c621d3b8690e3a346170006f75b032511a8a.
It should be upstreamed first
Secondly, musl and glibc are under different licenses and importing
code from one to other could taint it.
(From OE-Core rev: 71c6930e304f8918e4bd571237ff41e7e9e9b9a3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl > v1.1.21 changed the implementation of the freeaddrinfo() function
not allowing anymore to pass null pointers to it.
This was causing a segmentation fault in connman.
(From OE-Core rev: a9bf875af4a5133e4f0e3039a76b1dfc6d5d1f63)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build with musl where TEMP_FAILURE_RETRY is not provided
(From OE-Core rev: 2a6c1c33bcf061f65da159d66fae78b31bcc9e60)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we updated to QEMU 4.0 we saw a segfault when running tests on the
qemuarm machine. At the time we just reverted the offending patch from
QEMU. Now that the fix has been merged into upstream let's remove that
revert patch and replace it with the correct backport.
(From OE-Core rev: ce0cae5511ce4ba7b9dcc9c6676ec7ea10622cb7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a typical scenario with arm platforms, with meson if DRIDRIVERS
is empty then dri is disabled automatically, but gbm needs dri2 enabled
for it to have proper backend, in autotools we could use --enable-gbm
--enable-dri and get correct behaviour but with meson enabling dri2 only
works if DRIDRIVERS is not empty
This fixes mesa-gl build for rpi machines when using userland graphics
(From OE-Core rev: 0c670a0fad379c3dc2a69ac5abfeaceda98a2f9c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the original problem was fixed in gnulib the
patches were rebased on top of the upstream fix...
(From OE-Core rev: d93ad85d94ea99e3fad7e4c2f6be999088e2f9f9)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All still supported host distributions have gcc >= 4.8.
(From OE-Core rev: c8eeb487d09cc4bd0f637260dd01d0982745038f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Silently ignoring FNM_EXTMATCH makes fnmatch()
behave different from what callers expect.
Mark as incompatible with musl instead of risking
broken runtime behaviour.
The practical consequences should be small since
what is used in OE is mainly squashfs-tools-native.
(From OE-Core rev: c9aed6a84c0a33fee8a52603b22cc2b78928eb5f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pkg_resources Python module is useful by itself, for example for
automatic loading of resources shipped in a Python package.
Add separate packages for it, so that users can depend on them
individually and avoid pulling in the entire setuptools, which
include scripts to download other packages, which might not be
desired on minimal images.
Other distributions like Debian and Ubuntu already split setuptools
and pkg-resources in this way.
The setuptools packages now depend on the new pkg-resources packages,
to avoid regressions for other packages that depend on them
already.
(From OE-Core rev: 4316d9afe920460e5d2236f217027cce37ed7bf5)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build with meson
* dependency intltool-native can go - they moved gettext only translation
* put gnome inherits together
(From OE-Core rev: e965b72c08fc94c7c6dbfea36505400f3dbb2c53)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls from meta-gplv2 isn't new enough for this version of glib-networking:
meson.build:74:0: ERROR: Invalid version of dependency, need 'gnutls' ['>= 3.4.6'] found '3.3.30'
* disabling gnutls PACKAGECONFIG isn't an option either:
meson.build:131:2: ERROR: Problem encountered: No TLS backends enabled. Please enable at least one TLS backend
* add an option to replace gnutls with openssl
(From OE-Core rev: 7fe82038105709a02a29d6b1359b9e6cd4e9dade)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst not complete, this resolves some module dependency failures being seen
by various lib*-perl ptests and in quilt.
(From OE-Core rev: 2706b396ef9699c560cded4384cbfc9d79beaa7f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts use options not supported by busybox utils such as head and diff
so the full coreutils and diffutils utilities are needed.
(From OE-Core rev: f3f60e024a2718d18a68897d7f5ca5e4fbb96f61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tests are run from a makefile so this dependency is needed.
(From OE-Core rev: 0fe3490b5c6ce731b705a5e40341350d64165a4d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this we see test failures due to the sudo binary being missing.
(From OE-Core rev: b9e4db06dd95ce709a4a895014cc98fdd7df4624)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash's ptest needs glibc-utils (for locale), some extra locales for various tests
it uses options busybox doesn't support for some tools, hence coreutils and also runs
perl for some tests.
(From OE-Core rev: 7ce6f69e56ef7ccc0187722cd78728a6505073b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding these fixes the acl and attr ptests to work within minimal images.
(From OE-Core rev: d877a7b819e08c2d308ef544a849169c096ef68b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to address a missing format string error.
Drop the x86-specifc setting for GSTREAMER_GL as it is no longer needed.
(From OE-Core rev: e920e58af56d1d1279d396bfb4e8baf38605b6d1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has started to tag releases, so drop UPSTREAM_CHECK_COMMITS
(From OE-Core rev: 4df5e8c514a1a169664483505a512547ae68b81e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete the deletion of files, as they are no longer included in bash-completion
(util-linux provides them).
(From OE-Core rev: 9f9846d975ca9cc863e1510e47a2d2ebb5573302)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13344]
When parsing manually the 'npm view --json' ouput, an extra closing
brackets in a JSON string can leads the fetcher to fail with a
JSONDecodeError exception.
This commit use the JSON parser to extract:
- The last object in the returned array if there are multiple results.
- The returned object if there is only one result.
(Bitbake rev: 3d319c79981811d3cfd4732885057db4fd5afcc2)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new option to the svn fetcher url "externals=allowed". This will allow
a user to enable svn co w/ externals. However, this does avoid the fetcher,
network access and mirror systems.
By default we no longer allow externals in the checkout. This ensures a
deterministic download. The system does attempt to identify SVN repos that
have externals enabled, and will warn the user. It is up to the user to
determine if these are necessary for the recipe. They may disable the warning
by adding "externals=nowarn" to the url.
In the future we would like to parse this list and see if the items are already
in the SRC_URI for that recipe, but with SVN being in limited use these days
that extra work is likely not worth the trouble.
Add test cases that generated a local SVN tree, with an external source
set to github bitbake in svn format. One test case checks that externals are
ignored, and one checks that they in downloaded.
(Bitbake rev: bf53f07c3647e57d8452a7743a2b04bcb72c80d6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
to avoid:
./run_openmp_test: line 12: /usr/bin/file: No such file or directory
SKIP: drd/tests/omp_matinv
when using core-image-minimal to run valgrind ptests.
(From OE-Core rev: f68ba3e49a8a8da7e48cd3fecf1dd3fc39219a40)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid ptest failures due to .diffs such as
cachegrind/tests/ann1.post.diff:
@ Source file 'a.c' is more recent than input file 'cgout-test'.
@ Annotations may not be correct.
by using:
touch a.c -r cgout-test
(From OE-Core rev: 531cea018fa440fc408e1e061794978a502ad4ba)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SRC_URI almost definitely shouldn't be using ${PN}, and GitHub */archive/*
tarballs are dynamically generated so the checksums will change over time.
Detect both of these, and emit a QA warning if found.
(From OE-Core rev: 21f84fcdd659544437fe393285c407e1e9432043)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump GDB and change the oeqa selftest expression to allow ptests to
pass.
(From OE-Core rev: f31986ed9f82c48834b2f25979c93697228acbf7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no point in building an NSS module for a C library
that doesn't support NSS.
(From OE-Core rev: e3197eeaf352cb5c578a675ce2a07881fad597e6)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-numpy and python3-numpy try to install the file:
${D}/${bindir}/f2py
which causes an error during do_rootfs since the package manager complains about that.
The numpy packages create basically copies of f2py script with the following names:
f2py (on both)
f2py2 (on python 2)
f2py2.7 (on python 2)
f2py3 (on python 3)
f2py3.7 (on python 3)
Remove the copy of f2py from python-numpy in favor of using the one from python3
to avoid installation issues at do_rootfs().
(From OE-Core rev: a625899c4de4f8ec030ade09686f0c7c0e624a50)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have a common inc file for both vim and vim-tiny move a few
bits of logic out of vim.inc and in to vim_$VER.bb so that vim adds
things rather than vim-tiny removes them.
Suggested-by: Martin Jansa <martin.jansa@gmail.com>
(From OE-Core rev: a9f62ea2c380375c749a28405708bfdb7754f51f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously vim-tiny would include the vim recipe wholesale;
this meant that they had to be upgraded in a single transaction
which devtool cannot cope with. This thwarted the latest AUH
run in particular.
(From OE-Core rev: 55cc8c6dbef8de240f63e7274a2beaf421124b58)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no point in building an NSS module for a C library
that doesn't support NSS.
(From OE-Core rev: ec528bd5edf5f85abdaef25ff73a282f5c6ce2c4)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some missing dependencies for the util-linux-ptest package
that causes inconsistencies in the package tests run in different images.
The kernel module in RRECOMMENDS is not build at this time, it needs
more testing and check if the configuration change can be part of the
yocto-kernel-cache repository.
(From OE-Core rev: 56f09cb4873f9de8efb44c640b6c9f1db8b721b7)
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11028]
When dealing with node modules which use "node-gyp" [1] to build native
addons to node. Some temporary build files stay in the image: object
files, static library files, dependency files, ...
This commit does not keep only the required files, but remove the files
which can leads to QA issues (staticdev with static library files).
[1]: https://github.com/nodejs/node-gyp
(From OE-Core rev: bac9075f51f6acba2fcfbe9f79f97f5171186d9c)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13349]
When dealing with node modules which have declared "bin" files [1], npm
will create a link in '/usr/bin' with a relative link to
'../lib/node_modules/<module bin file>'.
The commits e9270af429 and
2713d9bcc3 explicitely use
'/usr/lib/node/' as install directory, but does not care about the "bin"
symbolic linked files.
In order to keep valid links, and to keep it as simple as possible, the
path '/usr/lib/node_modules/' is used as install directory for npm. And
a symbolic link is created to have a valid '/usr/lib/node/' path, needed
for node.
[1]: https://docs.npmjs.com/files/package.json#bin
(From OE-Core rev: 2d72007deea7ed529f82b8a6e67e2715dd0a0dca)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12534]
When using npm packages with exotic names, like "JSONSelect" (with
uppercase) or "@angular/cli" (with at sign and slash), there are three
different names:
- the recipe name ("jsonselect" or "angular-cli")
- the npm module name ("JSONSelect" or "@angular/cli")
- the npm pack name ("JSONSelect" or "angular-cli")
The commit fa9c077068 allow to have
different recipe name and npm module name by setting the NPMPN variable.
This commit allows to have yet another npm pack name. The pack filename
is now dynamically retrieved from the 'npm pack' command.
(From OE-Core rev: b6ffa59d03fbf53d1681fce5f8c3c1f163cf9923)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This matches what the qemux86_64 is currently using, and
will allow testing the instructions added in the meantime;
particularly various SSE extensions are now enabled.
(From OE-Core rev: f3b1e577ec94c849d0354f5679257f02ef4e4fe9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The thread tests need libgcc for pthread_cancel to work.
(From OE-Core rev: 0563003fea0ff432e61f7361fa8c1524ffbc925a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* otherwise P_V might be set for i686 and PN and RECIPE_MAINTAINER for i586
from bitbake -e lib32-gcc-cross-i686:
PREFERRED_VERSION_lib32-go-cross-i686="1.12%"
RECIPE_MAINTAINER_pn-go-cross-i586="Khem Raj <raj.khem@gmail.com>"
$ git grep 'go-cross-${'
meta/conf/distro/include/maintainers.inc:RECIPE_MAINTAINER_pn-go-cross-${TUNE_PKGARCH} = "Khem Raj <raj.khem@gmail.com>"
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}"
meta/recipes-devtools/go/go-cross.inc:PN = "go-cross-${TUNE_PKGARCH}"
* actually is there a reson to use TUNE_PKGARCH here (unlike other cross/canadian-cross recipes
which are using TARGET_ARCH/TRANSLATED_TARGET_ARCH)?
(From OE-Core rev: 80dc146a5a4cd8772a49e4fca56eb5467cdb1451)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid:
libgcc_s.so.1 must be installed for pthread_cancel to work
when running the ptest without libgcc.
(From OE-Core rev: 791bb6f1c95552a44660bb78c522fd8ecc4e6384)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This solves ptest runtime errors where make was missing causing the ptests
to fail.
(From OE-Core rev: 2ade2c53388c92d36b8b30dae30670fd96ca4821)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch it into musl instead of patching all users
(currently elfutils and next ofono).
(From OE-Core rev: 0c68c621d3b8690e3a346170006f75b032511a8a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* both use KERNEL_IMAGETYPE variable which is MACHINE specific
* fixes:
=== Comparing signatures for task do_configure.sigdata between hammerhead and mako ===
ERROR: grub-bootconf different signature for task do_configure.sigdata between hammerhead and mako
basehash changed from 710332f3ec15670302dd690708730c9e418d53790ce36d6a91b049ae4f7069b1 to c9a46e58b4634b5fd47d20683f8320e15f5c4cb7628e3a62ed97d8528d7aabd2
Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'
ERROR: systemd-bootconf different signature for task do_configure.sigdata between hammerhead and mako
basehash changed from 2abbaf6d7760696fbf1ff5df5705239b475ccbf6f0c831fc4031984c0ce0e9f2 to 24f1e7886dee02b04bc180acc1c946ad82ce842655e5a5f4a8006f4a8490f985
Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'
detected with:
openembedded-core/scripts/sstate-diff-machines.sh --targets=world --tmpdir=tmp-glibc/ --analyze --machines="hammerhead mako qemux86"
(From OE-Core rev: 90a47da8c50da49ecaf0e2786dc4d9a78c61189e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original mdadm service may include variable like BINDIR,
It should use the real value of it, since the install method
"install-systemd" in Makefile can easily do such work, so don't
install it in bb file manually, use "make install-systemd" to
install all the service of mdadm.
(From OE-Core rev: be24f1dc995f7a996abfa551abea74f06de19ae6)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If 'cron' is added into PACKAGECONFIG, for sysvinit, the related
cron scripts will be installed; for systemd, the services of
data collect and summary will be installed.
(From OE-Core rev: 3ee977629331843cc811b6571d13fa02f5593a10)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change SRC_URI to https://cpan.metacpan.org
License-Update: Lines moved further down in README.
Upstream release notes:
0.002006 - 2019-04-04
- added additional references to related modules in pod
- various internal cleanups
- fix backwards compatibility with earlier versions of version.pm
- fix output from test script when tests fail
- added note about RELEASE_TESTING to test message on forced failures
(From OE-Core rev: bec77f5d48055bd30ee69acb43d67c2d05180f7b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because we are trying to avoid network activity and use our own fetcher,
the system emulates the behavior of 'git submodule init'.
git submodule init uses the .gitmodules file, where typically the module
name and path are the same. However, in this case the module name and
path (in the tree) were different. i.e.:
[submodule "edgelet/hsm-sys/azure-iot-hsm-c/deps/azure-c-shared-utility"]
path = edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared
url = https://github.com/Azure/azure-c-shared-utility.git
Previously the code assumed the 'path' was both the checkout location
under .git/modules, as well as the path to extract the components. This
proved to be incorrect as the .git/modules path needs to match the submodule
'name'. This causes the components that were fetched to be initialized in
the wrong location, which later caused the 'git submodule update' process to
skip not properly initialized modules.
A test case was added for this specific case to ensure a regression does
not appear in the future.
(Bitbake rev: fd27ab60d33553dba13de39394edaaac04e446b3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is reported with clang e.g.
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:391:5: error: cannot jump from this goto statement to its label
goto out;
^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup))
g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL);
^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:385:5: error: cannot jump from this goto statement to its label
goto out;
^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup)) g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL);
^
Ensure that the initialization is deterministic for goto to work reliably
(From OE-Core rev: 19e4c1f63abc82cf5f8d1eaac28d8fd5d09bf9d3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
clang has more warnings to report, lets fix them
(From OE-Core rev: 44b06d940bc3d623c57df0b06092548912a903c2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch fixes a following issue:
| omapip/isclib.c: In function 'dns_client_init':
| omapip/isclib.c:356:18: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
| if (dhcp_gbl_ctx.dnsclient == NULL) {
| ^
| omapip/isclib.c:363:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
| &dhcp_gbl_ctx.dnsclient,
| ^
| omapip/isclib.c:364:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local4'
| (dhcp_gbl_ctx.use_local4 ?
| ^
| omapip/isclib.c:365:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local4_sockaddr'
| &dhcp_gbl_ctx.local4_sockaddr
| ^
| omapip/isclib.c:367:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local6'
| (dhcp_gbl_ctx.use_local6 ?
| ^
| omapip/isclib.c:368:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local6_sockaddr'
| &dhcp_gbl_ctx.local6_sockaddr
(From OE-Core rev: e36076b6feca481b7a7a44b1c03c4cfca2dd8c48)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_bundle_initramfs does not have to depend on
${INITRAMFS_IMAGE}:do_image_complete if INITRAMFS_IMAGE_BUNDLE is not
set.
(From OE-Core rev: 6676411fccff2d331878e4ca1f9411aafb056a80)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
I did some re-writing here and also linked over to the
"Fetchers" section, which is in the BitBake User Manual.
(From yocto-docs rev: a2ba04bcf13dd1c68cba5a79ae9e7d4c8fbcdf59)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream glib don't really actually test the test suite with modern glibc and
all the locales present so we're finding a number of bugs. Backport another fix
from upstream to fix the test data with modern glibc.
(From OE-Core rev: b2832df86b5218954c63b01595620fe8cf7ec921)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many different ptests are breaking as they assume that ${PN}-ptest
depends on ${PN}. It doesn't currently but should. If we fix this, many
different ptests start passing when they previously failed.
It does depend on fixing an issue in the dbus-test recipe which is done
in the preceeding patch (mentioned in case this gets backported).
(From OE-Core rev: b47194b57d94260b4e6438c5bf74914027f0b520)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dbus-test package is empty, move its dependencies to the ${PN}-ptest
package. Also ensure that it doesn't depend on the empty ${PN} package
which is about to start causing image failures in the following commit.
In this case the correct dependency is dbus itself.
(From OE-Core rev: db4ef506b6b86e62a5ee1cbea8f12f97615dd0b8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the *_annotate executables from ${bindir}
Actually install cachegrind/tests/a.c since it is used by
the call/cachegrind/tests/ann[12].vgtest files.
With this change and the previous commits, the ptest results
on qemux86-64 when invoked with:
runqemu qemux86 kvm nographic slirp qemuparams="-m 2048"
are:
=== Test Summary ===
TOTAL: 159
PASSED: 149
FAILED: 1
SKIPPED: 9
Only drd/tests/pth_detached3 remains to be fixed.
(From OE-Core rev: 7fc21775e62fddd6620d49a6cf00ca914ba6b4ba)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Skip two filters in filter_xml_frames since they
are intended to filter filesystem paths under '/usr' that
vary from platform to platform. In the ptest case
for Yocto's valgrind, the ptest executables are placed under:
/usr/lib/valgrind/ptest
and if these frames are filtered out, then several 'drd' tests fail
the comparision between expected and actual output.
Also adjust the std_list expected output to agree with that
produced when the --yocto-ptest option to vg_regtest is used.
(From OE-Core rev: 38cc663b69ec96ae1470f040f7dcb05e816deb2e)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the list into one directory per line.
Sort the list alphabetically.
Add the gdbserver_tests directory to get the 'gone' executable
which is needed by:
memcheck/tests/gone_abrt_xml.vgtest
(From OE-Core rev: eb7d907deb09f2658f69d8faa8e56e6a56510fca)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
About half the ptests will fail if the executables deployed
as part of the ptest package are stripped. We therefore need
to add a dependency on the dbg symbols package and silence the
QA test which would complain about this since we really do want
it in this case.
(From OE-Core rev: 7d8407583033ea70039dd7e475c325efcf857c18)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the valgrind debug symbol information caused the genericx86-64 image to
overflow the 4GB boundary. Tweak the sizes to avoid autobuilder failures yet
leave enough space all the tests still run successfully.
(From OE-Core rev: fa24a5056acea6610e2ad1a1eb1e7425a3828979)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* before trying to copy unistd.h into it
* older kernels don't have uapi in tools/include and do_configure fails
with:
DEBUG: Executing shell function do_configure
cp: cannot create regular file '.../perf/1.0-r9/perf-1.0/tools/include/uapi/asm-generic/unistd.h':
No such file or directory
WARNING: exit code 1 from a shell command.
* tools/include/uapi was added in kernel 4.8 with
c4b6014e8b
tools: Add copy of perf_event.h to tools/include/linux/
(From OE-Core rev: 5fdb96f4996856286c4f72b93d31b7990ceed8aa)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Line lengths, remove duplication, and use the PYTHON variable provided by
pythonnative.bbclass.
Coincidentally fixes a dormant defect in distutils3.bbclass in which we were
sedding for STAGING_BINDIR_NATIVE/python-python3/python3.
(From OE-Core rev: 7b8dd17c65e2d7d163f452833f21469918bf222e)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
IrDA support was removed in kernel 4.17.
(From OE-Core rev: 9609256bfcfbb3860f68f1d8e553e9dd051ad218)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
volume name should refer to --label in .wks.
Replace the hardcoded volume name with label.
set "ESP" as default name when no lable specified.
(From OE-Core rev: 5621aceaf39ef0dc097b16c83e73b9882c987a7c)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Originally a web browser was added to build-appliance-image to
enable Hob's use cases that involve opening a URI; with Hob long gone,
a web browser is no longer necessary to have in build-appliance-image.
This will also address the out-of-resources problem when
build-appliance-image builds itself in a VM, as a test case.
(From OE-Core rev: e354b33d4aa16a302e1972d87755b654db3d54fb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
- Fix issue with DHCP client and handling renewing state
- Fix issue with DHCP client and handling rebinding state
- Fix issue with DHCP client and recommended retry timeouts
- Fix issue with Generic Netlink and family discovery
(From OE-Core rev: ebb5b261230dbb2cc13093174960613cfdaf20b4)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As runqemu with launch_cmd means directly run the command, don't need set
rootfs or env vars.
Since commit [a847dd7202 runqemu: Let qemuparams override default settings]
applied in oe-core, if launch_cmd contains "qemuparams='***'", it does not
work, which is overridden by latter qemuparams="-serial tcp:127.0.0.1" in
QemuRunner.launch();
So we set qemuparams as a parameter in runqemu, the fix makes it work
(From OE-Core rev: 4f0a576fd5b9373cff4ca5ac92ec6af29499df89)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSSL 1.0 has been replaced by 1.1, and it would be harder
to security-support after the upstream EOL at the end of 2019.
(From OE-Core rev: 0f7ffcaa18db7bc27f30c994aafbb9f4f8b2ae7e)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We continued to see encoding problems with ssh commands run in oeqa. After much
research the conclusion was we should use ignore the errors since some occasional bad
locale encoding is better than the unicode decoding issues we were seeing which crashed
large parts of tests.
(From OE-Core rev: b3bae8aba5b897c1afcc8bf4ad8929251812d2b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 837c786d600ba69('weston-init: Add support for non-root start') added a
typo that uses WEST_USER instead of WESTON_USER variable when chwon'ing the
XDG_RUNTIME_DIR directory. Since WEST_USER is not defined, it will `chown
:$WESTON_USER file`, which will work, but that is not 100% correctly and should
be fixed.
This patch basically fix the typo and now the file will be chown'ed to the
WESTON_USER user.
(From OE-Core rev: 1b9a2374be8723de654afa2c59a8b10266e5d8df)
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop local fix, backport upstream gnulib fix and translate to tarball groff.
Suggested-by: Adrian Bunk <bunk@stusta.de>
(From OE-Core rev: 5a33682c907daf359d3f88d96cc152d37e13a915)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It removes function JSC::AssemblerBuffer::data() for ARM64 in commit
https://trac.webkit.org/changeset/236589/webkit. But it is required by
Cortex A53 from https://trac.webkit.org/changeset/175514/webkit and
fails to compile for arm64:
| .../tmp/work/aarch64-poky-linux/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/JavaScriptCore/assembler/ARM64Assembler.h:3769:100: error: 'class JSC::AssemblerBuffer' has no member named 'data'
| if (UNLIKELY((*reinterpret_cast_ptr<int32_t*>(reinterpret_cast_ptr<char*>(m_buffer.data()) + m_buffer.codeSize() - sizeof(int32_t)) & 0x0a000000) == 0x08000000))
Not set WTF_CPU_ARM64_CORTEXA53 for arm64 to fix the failure.
(From OE-Core rev: 754baa7ccc8afad300f1a391469b6b428e37f096)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop groff-1.22.2-correct-man.local-install-path.patch and
0001-Unset-need_charset_alias-when-building-for-musl.patch
- Inherit bbclass pkgcnofig to fix `undefined macro: AC_DEFINE'
...
| configure:20010: error: possibly undefined macro: AC_DEFINE
...
- Use autotools-brokensep to replace autotools to workaround failure
caused by out of tree
...
| rm -f lib/alloca.h-t lib/alloca.h && \
| { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
| cat ../groff-1.22.4/lib/alloca.in.h; \
| } > lib/alloca.h-t && \
| mv -f lib/alloca.h-t lib/alloca.h
| /bin/sh: line 4: lib/alloca.h-t: No such file or directory
| Makefile:10407: recipe for target 'lib/alloca.h' failed
...
- Add `--without-doc' to not use target groff to generate doc at build time,
since upstream commit [cfe916e Support of configure option to build the
documentation.]
- Remove groff depends groff-native, and add DEPENDS bison-native
- Add 0001-fix-shebang-for-taget.patch
- Add 0001-support-musl.patch
(From OE-Core rev: 70c2364cae3aad62877e0267d840ea3567d3d1ea)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Backport a patch to fix build failure while APR 1.7.0
...
checking for apr_int64_t Python/C API format string...
configure: error: failed to recognize APR_INT64_T_FMT on this platform
...
- Rebase disable_macos.patch and serfmacro.patch
License-update: no change, declare two new added file
* in build/ac-macros/ax_boost_base.m4
* in build/ac-macros/ax_boost_unit_test_framework.m4
(From OE-Core rev: 68ae5e624642218e7e01805c096da09098a8706f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Revert gpgrt-config support which oe-core does not support it
- Rebase 0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch
and 0001-pkgconfig.patch
- Tweak LANGUAGES, since upstream auto check the version of python rather
than specify option
[ff6ff61 python: Auto-check for all installed python versions.]
License-update: SPDX identifiers site and formats
[8d91c0f Add SPDX identifiers to most source files]
"s/LGPL-2.1+/LGPL-2.1-or-later/"
"s#https://www.gnu.org/licenses#https://gnu.org/licenses#"
(From OE-Core rev: 991d374edd6fc66400dad0c54f007bfaaa46e47a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Rebase build-tests.patch and execute_cmd.patch to 5.0
- Drop 0001-help-fix-printf-format-security-warning.patch
and pathexp-dep.patch, upstream has fixed them in commit
[d233b48 bash-5.0 distribution sources and documentation]
(From OE-Core rev: db044235e72a1519a081c4f6541f7d7cfe70d49f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream shipped a systemd service in the following commit
[bc52248 Ship a systemd timer for daily DB maintenance]
Backward compatible, disable it by default
(From OE-Core rev: f5a5f7e9a45fe4124aba0fece4656a9706b83342)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although base-passwd in OE is somewhat outdated, upgrading
to a newer version is not going to solve eudev warnings about
missing groups during boot; input/shutdown/kvm are still not
listed in groups.master. The reason for this is that
Debian uses systemd, which will automatically create
missing groups(systemd-sysusers). In a sysvinit+eudev
configuration you instead get a warning printed to
the console:
udevd[<pid>]: specified group 'kvm' unknown
(From OE-Core rev: 76caed136b819522b908a2bee7b81103bd2ea7e4)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests are either failing or skipping due to missing locales.
(From OE-Core rev: a7e57e44fefcbc7ca377e310bb295c34faa6874d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A bug upstream resulted in broken locale handling with the new glibc we have, so
the test suite was failing.
(From OE-Core rev: 8331008bc5b8c97469301701e4bd899610989198)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
Inside the "Fetching Code" section we mention fetchers but have
no links for more information to the "Fetchers" section in the
BibBake User Manual. I have added a link.
(From yocto-docs rev: 5224bb7b7a3c0f081b066a45865fd326aa068fc9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After reading this over, I needed to explicitly state the
*.bb and *.bbappend file names. It is clear now.
(From yocto-docs rev: 901b76d9f94c33da15382068dc933d765cddade5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the PREFERRED_VERSION_linux-yocto example to use
the 5.0 linux-yocto kernel rather than the 4.12 version.
(From yocto-docs rev: 334554dd87f5372066d55246384ed5205aaf1f86)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were some issues with this. The example stated using an
append file and the file was actually named as a regular
recipe file. I fixed that. Also, I updated the
PREFERRED_VERSION_linux-yocto variable from "4.12" to "5.0"
to be more up-to-date.
(From yocto-docs rev: 933a668ef73b417587b4a8091b834db220611bd6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch worked around a problem in musl but caused
the following:
iplink_bridge.c: In function 'br_dump_bridge_id':
iplink_bridge.c:77:2: warning: implicit declaration of function 'ether_ntoa_r'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration]
ether_ntoa_r((const struct ether_addr *)id->addr, eaddr);
^~~~~~~~~~~~
In the meantime upstream has already implemented a different
workaround for musl, so this patch can just be dropped.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
run-postinsts runs a given set of scripts during the first boot of the
device, when one of these scripts prints something to stdout (isnt
daemonized correctly), since stdout is not available at that time,
the script execution immediately returns with an error (exit_group()),
this error causes the script to terminate all threads within the process,
causing undesired behavior since the script might still had to execute
some other code.
Replace eval built-in with (), since () executes in a subshell,
even if one of the scripts exits, all threads of that process will only
be within that session, this ensures other scripts meant to be run are
still run afterwards.
[YOCTO #13266]
(From OE-Core rev: 706410c847ac9c89317d098de5d5c580736edbbb)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sysctl.conf file for procps is very outdated:
https://git.openembedded.org/openembedded-core/commit/?id=8a9b9a323f4363e27138077e3e3dce8139a36708
(circa 2014)
The origin of this file is hard to determine and due to it's age
is causing a routing issue when both wifi and ethernet are enabled.
This manifested during an update from thud -> warrior due to the
following:
- upstream change in NetworkManager during 1.16 cycle removes the
dynamic setting of rp_filter sysctl when more than one interface
is enabled:
https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=b1082aa9a711deb96652e5b2fcaefcf399d127b8
- open-embedded updated to NetworkManager 1.16 in March 2019:
https://git.openembedded.org/meta-openembedded/commit/meta-networking/recipes-connectivity/networkmanager?id=5509328af9e4fab267251456f4d6e7bd51df779a
- setting in legacy sysctl.conf sets rp_filter to 1 which blocks
packets with different inbound and outbound addresses.
Documentation of rp_filter setting from kernel.org:
rp_filter - INTEGER
0 - No source validation.
1 - Strict mode as defined in RFC3704 Strict Reverse Path
Each incoming packet is tested against the FIB and if the interface
is not the best reverse path the packet check will fail.
By default failed packets are discarded.
2 - Loose mode as defined in RFC3704 Loose Reverse Path
Each incoming packet's source address is also tested against the FIB
and if the source address is not reachable via any interface
the packet check will fail.
This patch updates the sysctl.conf file to current which doesn't set
the rp_filter mode explicity (2 is the default).
NOTE: The kernel/pid_max=10000 setting has been commented out as this
may not be desired by default.
(From OE-Core rev: f0b5f56b101d98574f81decd9de76222e7f20603)
Signed-off-by: Michael Scott <mike@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Automate the current manual pybootchart tests. This includes a check
for the cairo dependency, skipping the test if appropriate.
Based on original patch from Armin Kuster <akuster808@gmail.com>
(From OE-Core rev: ff5370a381a4996b7da56aaaa7055f7a1786c823)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since openssl 1.1.1 and openssh which uses it, sshd
startup is delayed. The delays range from few seconds
to minutes and even to hours. The delays are visible
in host keys generation and when sshd process is started
in response to incoming TCP connection but is failing
to provide SSH version string and clients or tests time out.
In all cases traces show that sshd is waiting for getentropy()
system call to return from Linux kernel, which returns only
after kernel side random number pool is initialized. The pool
is initialized via various entropy source which may be
missing on embedded development boards or via rngd from
rng-tools package from userspace. HW random number generation
and kernel support help but rngd is till needed to feed that data
back to the Linux kernel.
Example from an NXP imx8 board shows that kernel random number pool
initialization can take over 400 seconds without rngd,
and with rngd it is initialized at around 4 seconds after boot.
The completion of initialization is visible in kernel dmesg with line
"random: crng init done".
More details are available from:
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912087
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=43838a23a05fbd13e47d750d3dfd77001536dd33
* http://www.man7.org/linux/man-pages/man2/getrandom.2.html
(From OE-Core rev: 9b01375236e19e3366c58877c4154d7c71632984)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set NO_RECOMMENDATIONS with weak assignment then it could be set a
default value somewhere else.
(From OE-Core rev: f88da482d74e9f7d7c5bfc164cca52950ab6615d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported patches.
Switch to new download location.
(From OE-Core rev: 6e0f6a3433c314c870791ef75639a78c39a5f164)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds support for two variables (WESTON_USER and WESTON_TTY) that
would be passed to weston_launch. It allows starting weston as a non-root user.
(From OE-Core rev: 4e6ef156028cc48d21ff5b3f131bdb8882407395)
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch simply fixes space and tab mixes. It converts space to tabs. This is
being done since I am going to change the code in the next commit and I do not
want to change more lines than it is required, thus, I am creating a commit
just to fix indentation, so I can create a cleaner patch later.
(From OE-Core rev: 82e97de432bfd553fb84b62666e2c860be2ecfeb)
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"shutdown now" makes systemd hang at the following line.
[ OK ] Stopped Session c1 of user root.
It's already been fixed by 03cb25525423 ("socket-util: make sure flush_accept() doesn't hang on unexpected EOPNOTSUPP")
(From OE-Core rev: b8f175296905518d0222bd63bb44c93772afb8be)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: libgfortran-9.1.0-r0 do_package: QA Issue: libgfortran:
Files/directories were installed but not shipped in any package:
/usr/lib/gcc/x86_64-poky-linux/9.1.0/include
/usr/lib/gcc/x86_64-poky-linux/9.1.0/include/ISO_Fortran_binding.h
(From OE-Core rev: 8493fe87e241bb7aeb9075683d2e44dd1e2bc334)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the addition of gcc 9 recipes it highlighted there is no PREFERRED_VERSION
set for libgfortran and it should match the rest of gcc. Add this missing
PREFERRED_VERSION line to avoid mixing gcc versions in inadvisable ways.
(From OE-Core rev: 172dfdd62b012dc63f492d33239af209f83f4966)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently setupClass errors were not being mapped back to the failing tests
and they were hence being marked as UNKNOWN and the test statistics were
inaccurate.
This is because whilst the errors were being encoded into the test results
stream, the decoder doesn't cope with an error outside a testStart event.
We patch in an addError handler to the outsideTest parser so that this
does get handled in a way similar to the non-concurrent case.
It would be nice if we didn't have to do this but there doesn't seem
to be any other way to fix this other than forking subunit.
We also make a minor change so another of our changes can cope with
tests without a start time.
(From OE-Core rev: 8f7352ed9c1a3e82689b842b7f87e469ebf2e48f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string format for subunit setupClass/setupModule failures is slightly
different, tweak the regex to correctly handle both cases.
(From OE-Core rev: 425fbba9348420df72de5c6292f50acaf2023d0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Matching changes in OE-Core. drop OETestID.
(From meta-yocto rev: 58e50924e5fd0b3dae5ac3413c40f0f16a857b72)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make icu support arm32 BE.
Upstream-Status: Pending
(From OE-Core rev: 244f2e5fb545dd40d020811799a6022e14468eeb)
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move symlinks to the machines.target and var-lib-machines.mount units to
the systemd-container package, where the pointed at units are located as
well.
This avoids an implicit dependency of the systemd package on
systemd-container, which prevented the use of systemd without installing
systemd-container.
(From OE-Core rev: ae3c8d938c261c92ecf06e2d09f7e32bc117ceb8)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than adding the dependency on libnss-myhostname to
RDEPENDS_${PN} if the myhostname PACKAGECONFIG is set, add the runtime
dependency to myhostname's PACKAGECONFIG definition.
(From OE-Core rev: e107feab1734d5751ea0d94ca6dbccc059709b55)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The third field in the /etc/shadow file (sp_lstchg) contains the date of
the last password change expressed as the number of days since Jan 1,
1970.
Backport the upstream changes to honour SOURCE_DATE_EPOCH for build
reproducibility.
(From OE-Core rev: 4ad2cf5054618f2dd14fe40dac9aede66f2c0dd3)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using u-boot-nodtb, the symlink didn't install correctly to the
${DEPLOYDIR}. This commit fixes this bug.
(From OE-Core rev: c4eddb65e2ddb61bf519b768fab1e131fb0c297b)
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
None of the backported patches actually made it into this release.
(From OE-Core rev: a443a765944797b2a62935fc7ea3a2dd827e3b1a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commands only work with with bash. If /bin/sh is
dash like in Debian, the command execution fails with
errors like:
Standard Output: /bin/sh: 5: export: --sysroot: bad variable name
and all SDK tests fail.
(From OE-Core rev: ba5bee46131bbb31efba766c4d29e5bf71c664a7)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that anyone who sets SYSTEMD_AUTO_ENABLE_${PN} = "mask" (or
"preset") retains the previous behaviour. In addition fix "enable" so it
can (again) create instance units out of templates.
Remove over-zealous quoting of SYSTEMD_SERVICE_ESCAPED as it's already
safely escaped (and can be multiple arguments).
Reported-by: Paul Barker <paul@betafive.co.uk>
(From OE-Core rev: e9444649f49431a8e203e6e2009a1de05e505007)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor so that SystemdUnit is its own class, then add support for the
enable command. This restores the ability of systemd.bbclass to create
instances using syntax such as:
SYSTEMD_SERVICE_${PN} = "serial-getty@ttyAMA0.service"
(From OE-Core rev: 9ef6f326ad323b2687440b81b0a983cb3d86a3ab)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating images, for anything other than the explicitly stateless
case, touch /etc/machine-id so that the images can be booted without an
initramfs and with `ro` set on the kernel command line, otherwise system
refuses to start:
[ 7.222134] systemd[1]: No hostname configured.
[ 7.227266] systemd[1]: Set hostname to <localhost>.
[ 7.232622] systemd[1]: System cannot boot: Missing /etc/machine-id and /etc is mounted read-only.
[ 7.241750] systemd[1]: Booting up is supported only when:
[ 7.247362] systemd[1]: 1) /etc/machine-id exists and is populated.
[ 7.253752] systemd[1]: 2) /etc/machine-id exists and is empty.
[ 7.259757] systemd[1]: 3) /etc/machine-id is missing and /etc is writable.
If IMAGE_FEATURES includes `stateless-rootfs` then systemctl-native is
not run on the image leaving the image for population at runtime by
systemd.
(From OE-Core rev: c5fb399f5894c16cf8eeadd507dc38c29b0fd657)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently a development version is being used.
(From OE-Core rev: ddc2baa8b7ef6ecd6ed450bb8b3ed986b6797d9f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of showing:
RESULTS - ptest.PtestRunnerTest.test_ptestrunner - Testcase 1600: UNKNOWN (32.30s)
map unexpectedSuccesses to PASSED and improve the way they're displayed. We
expect/allow ptest runner to fail but if it passes we should handle it correctly.
(From OE-Core rev: 7885939ca3dea9704185e93469fe515c17eb8017)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds SPDX license headers in place of the wide assortment of things
currently in our script headers. We default to GPL-2.0-only except for the
oeqa code where it was clearly submitted and marked as MIT on the most part
or some scripts which had the "or later" GPL versioning.
The patch also drops other obsolete bits of file headers where they were
encoountered such as editor modelines, obsolete maintainer information or
the phrase "All rights reserved" which is now obsolete and not required in
copyright headers (in this case its actually confusing for licensing as all
rights were not reserved).
More work is needed for OE-Core but this takes care of the bulk of the scripts
and meta/lib directories.
The top level LICENSE files are tweaked to match the new structure and the
SPDX naming.
(From OE-Core rev: f8c9c511b5f1b7dbd45b77f345cb6c048ae6763e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These IDs refer to testopia which we're no longer using. We would now use the test
names to definitively reference tests and the IDs can be dropped, along with their
supporting code.
(From OE-Core rev: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should be Backport, not Backported
(From OE-Core rev: 728c6c43deff8a3259a1e0f3aef799bec9983090)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It exists a situation that there is a common config file includes
multilib.conf but variable MULTILIBS is not set by default:
require conf/multilib.conf
MULTILIBS ?= ""
When build target-sdk-provides-dummy in a build project, it fails with
following steps:
1 $ echo 'MACHINE = "qemux86"' >>conf/local.conf
$ bitbake target-sdk-provides-dummy
2 $ cat <<EOF >>conf/local.conf
MACHINE = "qemux86-64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "i586"
EOF
$ bitbake target-sdk-provides-dummy
$ bitbake lib32-target-sdk-provides-dummy
It fails to build lib32-target-sdk-provides-dummy with error messages:
| ERROR: target-sdk-provides-dummy-1.0-r0 do_packagedata: The recipe target-sdk-provides-dummy
| is trying to install files into a shared area when those files already exist. Those files
| and their manifest location are:
| .../tmp/pkgdata/qemux86-64/lib32-target-sdk-provides-dummy
| (matched in manifest-qemux86_64-lib32-target-sdk-provides-dummy.packagedata)
| .../tmp/pkgdata/qemux86-64/runtime/lib32-target-sdk-provides-dummy
| (matched in manifest-qemux86_64-lib32-target-sdk-provides-dummy.packagedata)
| ... snip ...
| Please verify which recipe should provide the above files.
Add related directories to SSTATE_DUPWHITELIST to avoid the failures.
(From OE-Core rev: 9de9daa3dcbe271b3684f9a6eea1554f377e35fa)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using make -j with the 'install' target, it's possible for altbininstall
(which normally creates BINDIR) and libainstall (which doesn't, though it
installs python-config there) to race, resulting in a failure due to
attempting to install python-config into a nonexistent BINDIR. Ensure it also
exists in the libainstall target.
(From OE-Core rev: 07aeaa4f3f88f575e4674145a7faab3ba8e97fad)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not disable the warning as error for overflow, which was a workaround
until the real fix came in.
(From OE-Core rev: d5e999616e2671442cfc678750bdfb990ef5728c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ls.c license checksum changed due to modified copyright year.
musl fix was backported from RHEL5 and is musl specific as the patched
file is autogenerated during configure phase.
(From OE-Core rev: 5226ce196ff1edb5d2d9d9c7ed5728df8150c09a)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should now also be covered by the
DEBUG_OPTIMIZATION_append = " -Wno-error=maybe-uninitialized"
(From OE-Core rev: 6f4c6fa45733744f2698a98336aa589118c59106)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mmc-utils doesn't do releases, add the git revision to PV.
Remove patch for an issue now fixed upstream.
(From OE-Core rev: ff131346395a58c1579a94f564975dde3fbcf5c8)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to dump all the ptest logs to individual files in a
specified directory. If multiple test runs are present, the
'--prepend-run' argument will create separate directories for each test
run under the target directory and put the logs there to prevent each
test run from clobbering the others.
[YOCTO #13331]
(From OE-Core rev: f262b9e7482e38f04dfa162f0aaf65b17e86f8b2)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In practice the warnings were disabled individually instead of fixes added,
so just make all warnings non-fatal to achieve the same.
(From OE-Core rev: 330fc83d4519da3c13eb55e8c060ba3e191c9906)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No host platform that is still supported uses such an old gcc.
(From OE-Core rev: 3265d730e822907808434161e43bf33c3457d83e)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The chart size extents were being incorrectly reported, not accounting for the
width of the legend. Set a minimum width to account for that (its fixed size).
Also stop printing the chart background off the bottom of the chart extents.
(From OE-Core rev: ef257afb772daf721f12cb3ff9708d39da06f2c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tweaks some intermediate variable names to make it clearer what
is being done.
(From OE-Core rev: 50d9af7bcb05823db36e86170ef9ba3a1d6cfeca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates the pybootchart code (used for viewing build timing profiles)
to use python3. The bulk of the changes are to use gi instead of pygtk, i.e.
port from gtk+2 to gtk+3.
The main change is to make the bootchart widget inherit gtk.Scrollable
and change the way the scrollbars are implemented to match the new method
upstream. The drawing code used cairo already so can remain unchanged,
(From OE-Core rev: 949144681ad7f536732169351cab6d0612e9c566)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script had a toxic mix of tabs and spaces, fix this.
(From OE-Core rev: 5eebe246e9444a5a7dbf4d8683ae08c468cfc401)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
acpidump is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:
...
|Error: Transaction check error:
| file /usr/bin/acpidump conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586
...
(From OE-Core rev: 6af441a50922943176bf4df32f3541c34a7b0bb2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These options are not needed on target infact since the defaults would
be good enough for compiler to find the relevant headers and libraries
from compiler runtime
with gcc9 it starts to strip the sysroot from gxx-include-dir which
means it tries to look for gxx headers in localdir
ignoring nonexistent directory "usr/include/c++/9.0.1"
ignoring nonexistent directory "usr/include/c++/9.0.1/arm-yoe-linux-gnueabi"
ignoring nonexistent directory "usr/include/c++/9.0.1/backward"
instead of sysroot
Removing these options make it behave normal
(From OE-Core rev: 2996640fb3577a3c28a22f1e25eae15e8e3d46b1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whenever cml1 do_configure is used with a defconfig, oldconfig waits for
input. This silently fails on recent kconfig projects with:
"Error in reading or end of file."
We cannot use a more up to date kconfig target such as olddefconfig,
because busybox does not support it.
(From OE-Core rev: 7ad50a8fc1448dd152eaba57aaeb63a8229fdb21)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python distutils generate a python wrapper script for each package,
containing shebang lines pointing to the python executable.
In our case, this is a fully-qualified path to python-native in the
recipe-sysroot-native.
Ubuntu 18.04 restricts the useful length of the shebang line to 125
characters, and Ubuntu 16.04 restricts it to 77. In both cases, the
staged python script fails to run due to the length of the path to
the python-native executable.
Replace the shebang line with nativepython or nativepython3 as appropriate.
The nativepython symlink is installed by the python-native recipe:
#!/usr/bin/env nativepython
We were already doing this for on-target distutils components.
This change applies the sed-line to -native distutils components as well.
In this way, -native clients of these components can invoke the wrapper scripts
directly, without themselves needing to inherit pythonnative.
This works around a known setuptools issue:
https://github.com/pypa/setuptools/issues/494
Even once this issue has been resolved upstream,
we will still need to replace `python` with `nativepython`
(From OE-Core rev: 0a5bd4f30182a3d55153e5ade76f1dfd5b52b482)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If attempting to find a fixed SRCREV fails because the directory doesn't exit,
avoid failing with:
Traceback (most recent call last):
File "/home/vagrant/poky/scripts/recipetool", line 121, in <module>
ret = main()
File "/home/vagrant/poky/scripts/recipetool", line 110, in main
ret = args.func(args)
File "/home/vagrant/poky/scripts/lib/recipetool/create.py", line 707, in create_recipe
srcrev = stdout.rstrip()
UnboundLocalError: local variable 'stdout' referenced before assignment
Fixes: 000480c42797 ("recipetool / devtool: set a fixed SRCREV by default when fetching from git")
(From OE-Core rev: 8e4b301573071ea04911b0df6533c25bc4596b93)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because our clones use the host git, on (say) Ubuntu 18.04, the local
git directories acquire perl scripts such as fsmonitor-watchman.sample.
During packaging, this leads to failures:
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA Issue: /usr/lib/go/pkg/dep/sources/https---github.com-nsf-termbox--go/.git/hooks/fsmonitor-watchman.sample contained in package go-hsperfdata-staticdev requires /usr/bin/perl, but no providers found in RDEPENDS_go-hsperfdata-staticdev? [file-rdeps]
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa:
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: Function failed: do_package_qa
(From OE-Core rev: 2ee246524ab881d57d8aac204f671215a25a58d3)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newer python3 recipe no longer includes ntpath.py in core, leading
to failures in pkg_resources:
Traceback (most recent call last):
File "/usr/bin/bmaptool", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 42, in <module>
import ntpath
ModuleNotFoundError: No module named 'ntpath'
(From OE-Core rev: 9ff61fa83a0a4f2a7b5b0376b6c48fb1173c9ac7)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rmt in cpio-native and tar-native is clashing, since
tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt
to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir
could avoid the clashing.
And in Ubuntu, rmt is in sbindir
$ which rmt
/usr/sbin/rmt
(From OE-Core rev: e9ac5ac2f4d135734f549d17cce3ebc52132b7d0)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream now adds this automatically when required.
(From OE-Core rev: 26e87532874acde8e653769a8a7b87f2b6d366fb)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream now adds this automatically when required.
(From OE-Core rev: 8ff6a2a8b88befd7e4c7965f525937c0d723c0bf)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The YP manual set was using the plugin term inconsistently.
It was appearing as "plugin" as well as "plug-in". The
plugins in the project are all named without a hyphen.
The term itself is either/or according to Google. I have
changed all references to plugin so that they do not use
a hyphen.
(From yocto-docs rev: 715bb58e2347c5e37a49da7d9e3e230503672337)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This listing had gone stale. I updated the actual listing to match
what is in poky repository and adjusted the various variable
explanations affected.
(From yocto-docs rev: 44ccb6ea7301ffa43c89f7a4f28265ea28725f99)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I removed the incorrect "meta-intel" layer for the example
and replaced it with the better "meta-openembedded" layer.
Reported by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: eed35c97aa53efdcdb9a270555774a7c3a0e3b69)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I left only the single mention of "container layers" and changed
the example from "meta-intel" to OpenEmbedded's meta-openembedded
layer.
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 8aa4de2be19c001f19cc540e2f7b33ca71f6be60)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
poky.ent - variables all set up for 2.8
mega-manual.sed - "2.7" replaced with "2.8"
<folder>.xml - manual revision history tables updated.
(From yocto-docs rev: 6092a9282cbd397a2f64ca74361f862ea76b0e28)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I put a new introductory paragraph in the "Viewing Variables"
section that alludes to why you might want to see variables.
Also, I linked to the section "Modifying Variable Values" in
the BB manual.
(From yocto-docs rev: 6e18524ba62d2ff1231184467b0dd24dab33cfe6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the "yocto-2.6.2" tag to the example output since that
will be part of the overal list when 2.7 releases.
(From yocto-docs rev: 4863284811ad459cb0193528d5686a1ec008bb3e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One Neon appendix completely removed. One other chapter
removed that held the latest version of Eclipse use
removed. A figure was also removed.
(From yocto-docs rev: 03524fc363f9232a2ed45d10688ddeb0439b0917)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One figure was removed and files modified.
(From yocto-docs rev: f5d7024c3c38bc7737894a5ad4b750d4d633f173)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I also fixed all linking as needed.
(From yocto-docs rev: f987bc2846a2356a58934164652bb1dc59623b3b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I also fixed all linking as needed.
(From yocto-docs rev: c8d10a924a3a4ae76e8fc26ebcba52ea04f2f267)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two chapters formerly in the sdk-manual were included when
the mega-manual makes. These chapters are no longer
needed.
(From yocto-docs rev: a4e76a30baba5ab1d8f9783bb2a329d136600126)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The index-downloads.png file changes due to "eclipse" no
longer being there. Both the overview-manual and the
mega-manual figures folders hold this figure.
(From yocto-docs rev: ef7b8dd8d636ef0ad563d1fe1ef44227f5f89fbc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Eclipse is no longer supported. We do not need thes figures
as they would no longer exist.
(From yocto-docs rev: efcfb5a62fcacdc606b8485da809bdf6aa19a5f3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The help files for YP manuals used in the Eclipse application
are no longer supported. I removed the individual
*-customization.xsl files for the individual YP manuals.
(From yocto-docs rev: 8c19244298b2c95ac92a398a5b6d3aca788f075e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the file so that Eclipse help for YP manuals is
not generated. Updated comments to remove examples of
Eclipse.
(From yocto-docs rev: db62b107e82a9d6fad619b03d57e807b3a617afd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use gtk+3-native instead gtk-icon-utils-native as that recipe no longer exists
and is provided by gtk+3-native for compatibility.
(From OE-Core rev: 078950f6ff88d406894229337b2b367ba049ff44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows us to support the placement of WORKDIR and DEPLOY_DIR
on different devices.
(From OE-Core rev: f064a581ba31764839459bd667130bccbbedefab)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function creates hard links if possible, falling back to copying
the file if the destination is on a different volume to the source.
The docstring for copyhardlinktree() is also updated to make the
difference between the two functions a little clearer.
(From OE-Core rev: 5437efa16f9bec914e417c6c939a39c247084f52)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Werror spews more warnings with gcc9, like other distros (
debian/fedora) disable Warnings as errors
Fixes
super-intel.c:696:9: error: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Werror=address-of-packed-member]
(From OE-Core rev: 7ac6ac8eb8fc3c623eba0e245fd9049dc6e2dd86)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a global --debug option to assist debugging.
(From OE-Core rev: 4e23b22bdf7b0e1fd16c7e53b6a7232c9c92ce95)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The documentation says that --expand takes a comma-separated list of
partition:size pairs, but the code was splitting on hyphens.
Hyphens are not a transitional separator for a list of items, so change the code
to reflect the documentation.
(From OE-Core rev: a210e28bb3fd5433ebecf50e218fc548013b35dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ELL has originally been part of meta-openembedded, but newer versions
of some of the oe-core components depend on it, e.g. ofono.
(From OE-Core rev: 808d5dbe257d1b6faf241ee252a6ef092e4c6d3d)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
zlib is just a library so there's no point in it being part of a 'full
commandline experience' packagegroup.
(From OE-Core rev: d54244b43b31f6ef58d302e29ae8970a21f5365c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
x11 is actually always present in native DISTRO_FEATURES, and
so it's fine to require it in all cases.
(From OE-Core rev: 1d9f1da619089fc8edee027261b1fbe2e673091b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't really need a header boilerplate now the header is simplified, drop it.
(Bitbake rev: 9b4a9e5459db5f443fcffbdc499e12f09970e709)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are much better ways to handle this and most editors shouldn't need this
in modern times, drop the noise from the files. Its not consitently applied
anyway.
(Bitbake rev: 5e43070e3087d09aea2f459b033d035c5ef747d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of SPDX-License-Identifier headers, we don't need a ton
of header boilerplate in every file. Simplify the files and rely on the top
level for the full licence text.
(Bitbake rev: 695d84397b68cc003186e22f395caa378b06bc75)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the SPDX-License-Identifier license headers to the majority of
our source files to make it clearer exactly which license files are under.
The bulk of the files are under GPL v2.0 with one found to be under V2.0
or later, some under MIT and some have dual license. There are some files
which are potentially harder to classify where we've imported upstream code
and those can be handled specifically in later commits.
The COPYING file is replaced with LICENSE.X files which contain the full
license texts.
(Bitbake rev: ff237c33337f4da2ca06c3a2c49699bc26608a6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When UBOOT_DTB_BINARY is empty and because the code now changes
directory into ${B}, the test for the existence becomes `[ -f ]` which
succeeds and subsequently the install fails.
Reorder the code so it's clear that UBOOT_DTB_BINARY empty is an
expected configuration and then quote UBOOT_DTB_BINARY everywhere so
no one trips over this again.
Fixes: bacb59079eb6 ("uboot-sign: add support for different u-boot configurations")
(From OE-Core rev: e79f0db0745625b35dd83483747e486d08eebfde)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
there is small issue with ptest packaging in cases where
OPKGLIBDIR is set to /usr/lib.
Then all ptest files get packaged in libopkg instead of opkg-ptest and correct QA error is triggered:
ERROR: QA Issue: /usr/lib/opkg/ptest/tests/opkgcl.py contained in package libopkg requires /usr/bin/python3, but no providers found in RDEPENDS_libopkg? [file-rdeps]
# $FILES_libopkg
# set /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:62
# "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
FILES_libopkg="/usr/lib/*.so.* /usr/lib/opkg/"
# $FILES_opkg-ptest [2 operations]
# set /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:9
# "${PTEST_PATH}"
# rename from FILES_${PN}-ptest data.py:117 [expandKeys]
# "${PTEST_PATH}"
# pre-expansion value:
# "${PTEST_PATH}"
FILES_opkg-ptest="/usr/lib/opkg/ptest"
# $PACKAGES [4 operations]
# set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/bitbake.conf:292
# "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
# set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/documentation.conf:314
# [doc] "The list of packages to be created from the recipe."
# prepend /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:20
# "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
# prepend /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:60
# "libopkg"
# pre-expansion value:
# "libopkg ${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)} ${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
PACKAGES="libopkg opkg-ptest opkg-src opkg-dbg opkg-staticdev opkg-dev opkg-doc opkg-locale opkg"
The easiest fix should be to reorder PACKAGES (the _prepends) so that ${PN}-ptest is prepended later -> ends before libopkg).
(From OE-Core rev: e329f1a9ad7e68575912345ec7c18c12f5971998)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than rely on systemd's default invocation of preset-all at
runtime, we pre-populate the symlink tree as part of of the image. This
is done late so any overrides of presets during rootfs construction
should already have happened.
Whilst we don't strictly need this for the read-write root case, it
avoids boot time churn; for read-only root we have to do it here.
(From OE-Core rev: a57678a076109c42fbdf7531e90ff4491b387d53)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite systemctl-native in Python so that extending/testing it is
easier.
Now that the systemd class sets up service presets instead of actively
enabling services, the 'enable' and 'disable' subcommands for systemctl
are not actually used anywhere. As such, we can remove these to make
sure that nobody inadvertently introduces new uses of them.
This implementation covers `preset-all` and `mask` which are the only
options used in the current code, but should be readily extensible to
other commands.
We use `preset-all` at image construction time to populate the symlinks
used by systemd.
(From OE-Core rev: 86f5a2383692ac1ab01dce534c1a5c5f32ec4b35)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At first boot, systemd will create the /etc/systemd/system directory
from service preset files. As such, for a normal, writable /etc
(writable rootfs), there is no need to set up this directory at image
creation time.
This patch changes the systemd machinery to create preset files and to
rely on systemd to do the service enablement.
This breaks the read-only-rootfs case; there's a fix for this in a
follow-up patch.
(From OE-Core rev: 154abbc3296eded11d2bbe3e102470b6986d42cd)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration files that systemd installs are just skeletons
detailing the available options and their default values. The
recommended means of changing the configuration is to provide snippets
in configuration directories. For example, journald.conf settings are
best set in /usr/lib/system.d/journald.conf.d/ and can be overridden by
the user by providing overriding snippets in
/etc/systemd/journald.conf.d/.
The systemd-conf package is just providing machine-specific overrides
for some systemd defaults.
This patch restores the installation of config files by systemd and
reduces systemd-conf to just providing the config snippets in
/usr/lib/systemd/*.conf.d. This simpilfies the systemd-conf recipe
considerably since it now just sets up a couple of text files and
doesn't even need access to the systemd source anymore.
License-Update: configuration snippets licensing is independent of
systemd licensing
(From OE-Core rev: 3150253898babce70333376d22090b56b4a70bfb)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no reason to have an emtpy machine-id as part of the systemd
package. Either:
i) the filesystem is writable and the file will be created
automatically; or
ii) the filesystem is read-only, in which case the empty machine-id file
should be created as part of the read-only-rootfs tweaks.
(From OE-Core rev: 76444b63e614baea33c044851a5859f6d1e69729)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The firstboot service prompts the user for information about the host at
first boot. Systemd determines whether or not a boot is a "first boot"
by the existence of the file /etc/machine-id. Since oe-core always
includes this file (it is part of the systemd package), the firstboot
service never runs so this service is being built but never run.
A follow-up patch to this one will remove the machine-id from the
systemd build and allow it to be created automatically by systemd at
"first boot". With that patch, we don't want the firstboot service to
suddenly start being invoked and presenting a prompt to the user.
With this patch, the firstboot service becomes a PACKAGECONFIG option
that the user must actively select.
(From OE-Core rev: 6f0072d34107f4d351c79b43ce71bf4489428a34)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current sdk type is tar.xz, but for mingw sdk, since we
have symlink under the sdk folder, 7zip which used to
extract tar.xz cannot handle it, refer 7zip upstream bug:
https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/
so add option for usr can select the sdk type.
Add override SDK_ARCHIVE_TYPE, default type is tar.xz, and also
support type zip. user want to use zip type can set SDK_ARCHIVE_TYPE
to zip.
(From OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. since one bug in run-ptest, testcase test-bus have never been
actually run (althrough it's result is PASS).
After commit 0828850, test-bus can actually run but it
did not install:
test-service, test-shell-service, test-segfault, and
dbus-daemon-launch-helper-test
Add the configure flag:
--enable-embedded-tests
to generate binary dbus-daemon-launch-helper-test, then install
them so that test-bus will now pass.
2. fix testcase test-dbus-daemon failed
we enable --enable-verbose-mode in recipe dbus-test, and don't
enable it in recipe dbus. This will make below test code get
unexpect result of have_verbose and assert.
disable --enable-verbose-mode for recipe dbus-test to fix it.
#ifdef DBUS_ENABLE_STATS
g_assert_true (have_stats);
#else
g_assert_false (have_stats);
#endif
[RP: Since the new test is slow dbus moves to the slow ptest list]
(From OE-Core rev: 2ea676072d7edd06ef9e886827c0d61d574ca377)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit upgrade QEMU to the latest 4.0.0 release.
- The COPYING.LIB file has changed SHA to:
"Synchronize the LGPL 2.1 with the version from gnu.org"
- SDL 1.2 has been removed, along with the --with-sdlabi command line
arg
- The backported patches have been removed
- Al the other patches have been refreshed and the numbering has been
updated
(From OE-Core rev: fed2a0f37a76732cd3de1b127d6902fb16dd4e05)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Older versions of bitbake (prior to 1.42) don't expose the BB_UNIHASH
variable which is being used by sstate. For compatibility with these
older versions of bitbake, set BB_UNIHASH to BB_TASKHASH (which is the
value it should be for non-hash equivalent aware signature generators).
if bitbake hasn't already set it.
[YOCTO #13314]
(From OE-Core rev: de1782b23f8a98df3b42cb57bbcdff690bfa2343)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to improve the way ptest runs:
a) Use the standalone test mode which allows the tests to be run in their
'installled' locations on target (but not any of the standalone build pieces)
b) We want to use the binaries from their installed locations so the run-subr
script needs tweaking to run them like that. The rpath conditional isn't
enough since we want the second entry in the case statement.
c) Add an oecheck make target which we can use to build the test binaries we need
d) Add missing -ptest package dependencies (needs coreutils, ${PN}, ${PN}-binutils, make)
e) Don't add RPATH to the test binaries, we don't need that
f) Add some extra parameters to the make command to ensure tests run correctly
Before:
-----------------------------------------------------
Recipe | Passed | Failed | Skipped | Time(s)
-----------------------------------------------------
elfutils | 31 | 4 | 168 | 6
-----------------------------------------------------
After:
-----------------------------------------------------
Recipe | Passed | Failed | Skipped | Time(s)
-----------------------------------------------------
elfutils | 173 | 25 | 5 | 15
-----------------------------------------------------
(From OE-Core rev: 7ff76b86299289a4a5741f910399d95232f64f32)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libsdl 1.2 is dead upstream, so change mpg123 to use libsdl2. Luckily the APIs
that mpg123 use haven't changed, so this is just a matter of changing the
pkg-config name.
(From OE-Core rev: 1aa947a60b0eb31c367b1e9818218ee74d388eea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This brings us to the current version of vim. As part of this we need
to work-around a locale issue that upstream has exposed. We do not
support fully / correctly the certain locales. Attempting to use these
with msgfmt in order to update the ".desktop" files exposes this problem
and leads to the compile failing.
(From OE-Core rev: ffa4b0abcab2ed4e4f642b4b3140aa6095938422)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The vim recipe has all of the code inside the "src" subdirectory but
other things we rely on, such as the license file in a subdirectory
relative to the src. However, as there is a top-level "configure"
script that moves us down to the src directory, we can rework the recipe
to be overall more simple and regularly laid out if we use that.
(From OE-Core rev: 2eb66c1ff55a3fe9785967f45f1cb6a27df44f93)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code really needs to be rewritten to not split potential
multibyte characters, for now work around it to avoid exceptions like:
File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/target/ssh.py", line 211, in run
data = reader.read(1024, 4096)
File "/usr/lib64/python3.6/codecs.py", line 503, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
(From OE-Core rev: 17e87510378f2729208a8262695f28e1efe5eb4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This breaks with rm_work so disable the warning until we find a better
solution (and change the test accordingly too).
(Bitbake rev: 93e94c06baf013e3d072465a55bddd1fe61c0772)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WARNING: elfutils: dependent task do_rm_work does not exist
is much less useful than
WARNING: elfutils: dependent task do_rm_work for do_deploy does not exist
(Bitbake rev: e034c6f75e3d7730ff16a8d1bd0cba03beda0af8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CI systems like jenkins and buildbot will timeout applications which haven't had console output
in some period of time. Add 'keepalive' output to knotty which gives output every 5000s if not
other output was made and tasks are still running. This reduces some problems encountered
with our CI testing.
(Bitbake rev: aa4f31e5741dd98acec73f16f6028e52f4c22d6f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allows the qemux86 machine to be tuned all the way up to an i7 if
desired by overriding DEFAULTTUNE. The default if unspecified is left at
i586.
This can be useful for enabling advanced processor features like SSE if
desired or required by various packages.
(From OE-Core rev: 0be64e54a0e67472eaff9c794a33d76971c9b1a3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte-native requires host compiler supporting c++17. Some distros we support
ship comilers not supporting c++17 currently.
* oe-self-test 'test_testimage_virgl_gtk' sets
PACKAGECONFIG_append_pn-qemu-system-native = " gtk+". With vte enabled by
'gtk+'-config, build fails on hosts with ancient compilers [1].
* Alexander Kanavin did some tests: Without vte in PACKAGECONFIG there is still
a working terminal available with reduced functionality [2].
* Users wanting 'full' terminal in system-qemu back should add
PACKAGECONFIG_append_pn-qemu-system-native = " vte"
in their local.conf.
The idea of this patch was coming from Ross Burton - thanks!
[1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281637.html
[2] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281727.html
(From OE-Core rev: 78e160ac4b72bc3cfbdd89492c711a318585328b)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch over to meson build, as it does not attempt to install
headers into /usr/share and pkg-config files into /usr/share/$libdir.
(From OE-Core rev: 0e2858bd7d6f013bb31b64552a9ea5873c4f7ced)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A task's runtime is currently printed in seconds. Change it to
include minutes and hours for easier reading.
(Bitbake rev: c593ae5ec9fecd4bde823948024e4d56314a60ce)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the missing bbverbnote fifo cmd for logging from shell.
(Bitbake rev: cf11fdb30c405e1a4521a7299f84816c0e13a881)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following command is incorrect, but was ignored silently, that may suprise
users:
addtask task after task_not_existed
This patch can check and warn for it. It would be better to also check "before"
tasks, but there is no easier way to do it.
[YOCTO #13282]
(Bitbake rev: b1ad36169c2ad189d84c53c707b66c12d5ff812f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commands are not supported, but they were ignored silently, that
may suprise users:
* addtask task1 task2
task2 is ignored
* addtask task1 before task2 before task3
Should be: addtask task1 before task2 task3
* addtask task1 after task2 after task3
Should be: addtask task1 after task2 task3
* deltask task1 task2
task2 is ignore
This patch can check and warn for them.
[YOCTO #13282]
(Bitbake rev: 675689aa7cc7287efecf8ef775ca2059369167f1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the SRCREVs to drop our temporary workaround for TCP
timeout issues and switch to the mainline version:
tcp: add sanity tests in tcp_add_backlog()
Revert "tcp: fix issues relaed to implement coalescing on backlog queue"
(From OE-Core rev: 07db18609ce2b868d4ff5eb6cf2128bf6eb6d682)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When api-documentation is enabled the GNOME stack builds API documentation. As
${datadir} is in SYSROOT_DIRS this documentation is in the sysroot but is never
used, wasting time and space.
Add ${datadir}/gtk-doc/html to the blacklist so that the generated documentation
isn't in the sysroot. Note that we don't blacklist all of ${datadir}/gtk-doc
because gtk-doc itself installs files there which are needed to use gtk-doc.
(From OE-Core rev: 11c87952c9a71036119d509ce09f17e352e4c6d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rework dlopen-test.patch to fix below
dlopen-test failure:
# cd /usr/lib64/nettle/ptest
# ./run-ptest
dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: No such file or directory
./run-ptest: line 8: 7607 Aborted "./$f"
FAIL: dlopen-test
As the test dlopen-test depends on libnettle.so
which belongs to nettle-dev package, so add it
to rdepends of nettle-ptest.
(From OE-Core rev: 524fcf34128045f9f5726a1f1b8715a12b12ae7c)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit[8ac8fa8ee1 nettle: update to 3.4.1]
add CFLAGS_append = " -std=c99" to silence the
below error for native build:
| ../nettle-3.4.1/rsa-sign-tr.c: In function 'sec_equal':
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < limbs; i++)
^
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: note: use option -std=c99 or -std=gnu99 to compile your code
| Makefile:263: recipe for target 'rsa-sign-tr.o' failed
But the above change will trigger below Segmentation
fault:
# echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
[65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00]
[65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f
Segmentation fault
So update the logic to CFLAGS_append = " -std=gnu99"
to fix the issue.
(From OE-Core rev: 91359a91b8c89dc5e1f3a946137204156c47a3af)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend
on x11, so respect the DISTRO_FEATURES, only enable it when
x11 is enabled.
* mesa-demos depend on libGL.so which is provide by recipe
mesa, but when x11 is disabled, libGL.so is not generated.
so we can only rdepend on this when x11 is enabled
* add x11 PACKAGECONFIG to add correct config/depend/rdepend
[YOCTO #6077]
(From OE-Core rev: 2edf7a19598e10326603603dfa00ab91c9327e2d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
respect DISTRO_FEATURES to make waffle support different platform,
gbm platform is supported by default.
[YOCTO #6077]
(From OE-Core rev: 37dc4ad4a87fb9042dc3e9bb389cedc8b5acadf7)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also backport a patch to fix issues introduced by fix for CVE-2019-6109.
(From OE-Core rev: 31b7485d8377c1c535d1878220bbc1d49dc5f13e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build will fail if repository has lfs contents in absense of git-lfs tool on host.
Build will pass if repository may or may not contains lfs content if host has git-lfs installed.
[YOCTO #13198]
(Bitbake rev: 3f2c2eb2f59707828bdcdd6414db837da8dc3b0e)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These new ptests run in under the ~30s criteria so add to the list
of 'fast' ptests.
(From OE-Core rev: ecba50f8713e969131c61424e8d9c4679ade18db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the kernel TCP backlog queue coalescing bug fixed in the 5.0 kernels
we don't need this patch anymore and can run the tests.
(From OE-Core rev: 21bfbef23e1f4c90070017e19f70e488e6ff64be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow users to change the default cgroup mode at build time
and use the unified hierarchy mode.
Disabled by default - hybrid is the default upstream value.
(From OE-Core rev: 25dc64b8de20021de34ce02ce3855ec9dbade4a4)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe was removed 3 years ago.
(From OE-Core rev: 090e3cbed407abb7dd74ded56da38e7b2ee9d9d5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following fix:
[
tcp: fix issues relaed to implement coalescing on backlog queue
As was discussed on -netdev, there's an issue with TCP timeouts and
hangs due to new features introduced in the 5.0 kernel:
https://www.spinics.net/lists/netdev/msg562928.html
This is a temporary commit to widely test the proposed solution. It
will be dropped when an official patch makes mainline.
]
(From OE-Core rev: 72ce03c8ee39b6169f4adfa168a0442d4c94be35)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting the following three RAID config changes from master to
the 5.0 branch:
ffd8cf5baf8 intel-x86: add Intel VMD support
8edf951a15c cfg/efi.cfg: built-in CONFIG_EFIVAR_FS to support Intel VROC
041a6c04244 intel-x86: built-in nvme driver to support boot from nvme disk
(From OE-Core rev: 3e52941a5d66c4c9b035535728a1cb1a415c4c19)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker sent along the following fixup for 4.19-rt:
[
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Mon Apr 15 12:01:31 2019 -0400
Revert "mm: handle lru_add_drain_all for UP properly"
This reverts commit e6e9d6e290028b0a6b83b563fad9fafa7f1d515e.
It was a 4.19.31 backport of commit 6ea183d60c46 ("mm: handle
lru_add_drain_all for UP properly"). In summary, what that did
was to fix a possible harmless WARN_ON on non-SMP, introduced at
commit 4d43d395fed1 ("workqueue: Try to catch flush_work() without
INIT_WORK().") by adding non-SMP variants of lru functions.
The combination of that, with the -rt commit 473f14a9f234 ("mm:
perform lru_add_drain_all() remotely") at the merge of the two
results in the following build failure:
mm/swap.c:736:2: error: #endif without #if
since the -rt change wants RT specific lru and the stable backport
wants non-SMP specific lru, and a chunk of the backport with
an #ifdef CONFIG_SMP is missing.
However, before we add a four way cluster of ifdeffery to handle all
cases, we note 4d43d395fed1 was added to the v5.1 release, and it
was not (currently) backported to any 4.19.x stable release - so it is
unclear to me why this commit was ever backported to 4.19.31 at all.
Further, we note this change was to mm/swap.c -- and by definition,
any preempt-rt deployment that uses swap for anything other than a
failure contingency mitigation is broken by design.
Given all that, I decided that the best path forward was to revert
the two of the three chunks of the backport that remain in the -rt
branch, and return us to the pre-4.19.31 merge behaviour for -rt.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
]
(From OE-Core rev: dfe57d439559cc7d1d662a64f0040cd176c1afa7)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This provides git large file storage (lfs) extension.
Include git-lfs conditionally. If git-lfs is present on host and repo
has lfs pointers, then git-lfs will be used. If git-lfs is not present
on host, it will be ignored.
[YOCTO #13198]
(From OE-Core rev: 2968ad8514721ec06e67aaf3fd5ec7b247b3431d)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding back the python wrapper and adding a patch to use OEPYTHON3HOME
instead of PYTHONHOME if set, for python3.
If we add back the wrapper as is, we would see the following error that
we also see in Thud:
ImportError: No module named site
OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python
v3.
Please upgrade your python v2
This is because python3 would've set PYTHONHOME to use nativesdk
python3 libraries but when the oe-buildenv-internal script tries to call
python2 for the py_v27_check, there will be no python2 libraries in the
PYTHONHOME directory.
In other words, bitbake needs host python2 and the env variable set from
the wrapper contaminates the env and host python2 won't be able to find
its libraries
Creating another variable OEPYTHON3HOME and using this in the python3
wrapper to allow for a way to set a different paths for python3 and
python2
[YOCTO #13208]
(From OE-Core rev: 75d2a85e24ef9a2bf0e218521944523f0ff281e0)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Output before this patch:
ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.: Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oe/utils.py", line 272, in run
ret = self._target(*self._args, **self._kwargs)
File "/media/build1/poky/meta/classes/package_ipk.bbclass", line 230, in ipk_write_pkg
shell=True)
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.
Note how stdout/stderr from the failing command isn't shown.
After this patch:
ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.
Subprocess output:Foobar
*** Error: Package name Foobar contains illegal characters, (other than [a-z0-9.+-])
opkg-build: Please fix the above errors and try again.
We suddenly get a much more usable error message. The traceback is supressed
as its distracting from the real problem in this case.
Ideally python itself would handle this but it doesn't so we have to
wrap the exception. We already do this in bitbake itself for the same reason.
(From OE-Core rev: 09276dc76a8bda237b0b0b6d117a1980ae9dbfcc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It bugged me for a while that xfce4-terminal sets (tab-)title to 'Untitled'.
This is caused by bash variable PROMPT_COMMAND not set. vte ships /etc/profile.d/vte.sh
adding PROMPT_COMMAND and a function to handle.
Since
* not all consumers of 'libvte' are interested in this feature
* executable shipped by package 'vte' is not necessary for PROMPT_COMMAND support
create a seperate package.
Once applied patches for xfce4-terminal and gnome-terminal will be send.
(From OE-Core rev: c0bed1aa9549568a966d34d5a9e5902190f980cb)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case, kernel config enables compressed modules, support of
splitting via split_kernel_module_packages won't find any module.
So, first expand module pattern regex to recognize compressed
modules and then objcopy on temporary extacted to extract module
information.
(From OE-Core rev: fae400b225827400bf32380a7d599d3b2969db55)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current manualexecution required user to exceute all test cases defined inside a "modulename.json" file in oeqa/manual
There are cases when all test cases all not required to run for a module on specific DUT.
Enable manualexecution to have the optional feature where it will use pre-defined json format test case configuration file
where user will be able to select test cases from the "modulename.json" instead of running all of them. This will help
in reducing testing time and reporting unneccesary skip or failures.
Example pre-defined json format test case configuration file (for build-applince):
{
"testcases" : [
"build-appliance.build-appliance.Create_core-image-sato-sdk_using_build_appliance",
"build-appliance.build-appliance.Build_a_image_without_error_(added_recipe)"
]
}
(From OE-Core rev: 3950c28a34f94b5907d37b579bdaee5a59794652)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer version of webkitgtk has some compile failures with clang/libc++
combination.
(From OE-Core rev: f1741a8209e56cdf51223678239a680d8788f71f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit f7dfb4d43247d3c13a4e0a3853007d63b9512b83.
FAT16 volumes do not have a minimum size of 8250 blocks
(== slightly over 4MB). Exhibit A: floppy disks.
The original commit message suggests this was a workaround for a bug in
parted - in which case we should fix it there, or use the wic
`--fixed-size` option to pass down an enforced minimum from a more
context-aware point in the callstack.
(From OE-Core rev: e0a1ae3863bc229512d43e4a5248551bf25950e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license: COPYING was replaced by COPYING.LGPL2/COPYING.LGPL3/COPYING.GPL3
* prettify recipe a bit
(From OE-Core rev: 2cce886e322ac2220af369b75c075cfdb1ac36d3)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py
(From OE-Core rev: e0a51194c006f26b061367022d4b9f8a7cd66051)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py
(From OE-Core rev: 5ca48849ca2107d1c219914cb8614409ca88d435)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some CI pipelines might perform further processing of the test output
(for instance, to plot some metrics into a chart). However, Since `thud`
we switched away from the XML-based jUnit reporting, and at the same
time we lost the ability of collecting the stdout and stderr of the
various tests.
We now restore this functionality by adding `stdout` and `stderr` keys
to the JSON reports. This behavior is off by default; in order to enable
it, one must set the `TESTREPORT_FULLLOGS` variable in the bitbake
configuration.
(From OE-Core rev: fd0048630ece5b21efb3a79e97046be0ab2a1514)
Signed-off-by: Alberto Mardegan <amardegan@luxoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch from upstream to fix module cryptodev loading error.
(From OE-Core rev: 66c446f96a0f26f3895cc930c5e5ee2d033489ca)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It saves 23% space for me, and decompression time is also shorter.
Compression time and xz memory usage should be less of a worry
for the SDK.
(From OE-Core rev: 353d93ead899a479fc6bc3625edc87269a891d39)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix AttributeError: module 'urllib' has no attribute 'request' when
using remote http urls.
(From OE-Core rev: 9acc47236e2a9ac7f97f80040f5e508f23f01611)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is done similarly to gobject-introspection work by Andreas Müller,
and allows dropping duplicate clutter from the recipes.
(From OE-Core rev: ff578f4451a0a199202e576b647840910b4d3f59)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since this change:
commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1
Author: Douglas Royds <douglas.royds@taitradio.com>
Date: Thu Dec 20 11:59:47 2018 +1300
icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time
the set_icecc_env function depends on KERNEL_CC variable even for recipes
like linux-libc-headers
* KERNEL_CC variable depends on STAGING_KERNEL_DIR:
Variable KERNEL_CC value is ${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}
List of dependencies for variable KERNEL_CC is {'STAGING_KERNEL_DIR', 'HOST_PREFIX', 'DEBUG_PREFIX_MAP', 'HOST_CC_KERNEL_ARCH', 'KERNEL_SRC_PATH'}
which depends on MACHINE:
Variable STAGING_KERNEL_DIR value is ${TMPDIR}/work-shared/${MACHINE}/kernel-source
List of dependencies for variable STAGING_KERNEL_DIR is {'MACHINE'}
* as detected with:
openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc --machines="qemux86 qemux86copy qemuarm" --targets=glibc --analyze
ERROR: linux-libc-headers different signature for task do_configure.sigdata between qemux86 and qemux86copy
NOTE: Starting bitbake server...
basehash changed from 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee to f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa
Variable MACHINE value changed from 'qemux86' to 'qemux86copy'
$ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1556122458/qemux86*/*/linux-libc-headers/*do_configure.sigdata*
NOTE: Starting bitbake server...
basehash changed from f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa to 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee
Variable MACHINE value changed from 'qemux86copy' to 'qemux86'
(From OE-Core rev: 8becde63763027037d40ef82dd6678721e6d90d4)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously it was also called on filelists and possibly other items which
broke the parser.
(From OE-Core rev: 90bbe1bbc1667bf836d93df1e1ecca0c43315d06)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a subcommand for dumping various logs from test results
(From OE-Core rev: 454b8d2cdc6f79a51e610dae92c22352850c3f7c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds support for resulttool to load JSON files directly from a http://
or https:// URL
(From OE-Core rev: 235bcf0c504e7ea253ccfb28d600898117c64c1f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not use the latest pypi tarball, as it lacks several files (the LICENSE, for instance).
License-update: copyright years.
(From OE-Core rev: dd45da1c226bc87b4be5e9f065595aed316175a2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop yy_scan_string patch, this only affects builds with flex 2.6.2. We
currently have 2.6.0 and when we upgrade it will be to at least 2.6.3, which
fixes the regression.
Drop manipulate_fds_instead-of-FILE.patch, the original problem was fix upstream
in May 2015[1] so the 20170303 upgrade should have dropped this patch instead of
rebasing.
Call the upstream install target with variables set appropriately, instead of
hand-coding an install.
[1] ecb91f4c3a
(From OE-Core rev: 4e95571120c8748b2b5ef4b6a06914232b19d457)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can make people easier to understand bitbake-diffsigs/dumpsig's output,
otherwise, it's hard to know it is a random uuid unless look into the code.
E.g.:
$ bitbake bc-native -ccleansstate -Snone
$ bitbake bc-native -ccleansstate -Snone
$ bitbake-diffsigs tmp/stamps/x86_64-linux/bc-native/1.07.1-r0.do_cleansstate.sigdata.*
* Before:
Taint (by forced/invalidated task) changed from nostamp:fe79d162-c4a8-4174-8007-f6d4aa09abdc to nostamp:28192187-5021-40c1-9e21-45483b62c910
* Now:
Taint (by forced/invalidated task) changed from nostamp(uuid4):fe79d162-c4a8-4174-8007-f6d4aa09abdc to nostamp(uuid4):28192187-5021-40c1-9e21-45483b62c910
(Bitbake rev: 724b4a5cec8c611d53350f3e5a3988ec3222684b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It used 2 spaces as indent which wasn't clear enough, and might cause
confusions, people might think it was in wrong format.
Fixed:
$ bitbake bc-native -ccleansstate -Snone
$ bitbake bc-native -ccleansstate -Snone
$ bitbake-diffsigs tmp/stamps/x86_64-linux/bc-native/1.07.1-r0.do_cleansstate.sigdata.*
* Before:
Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
* Now
Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
(Bitbake rev: 5127a8d8e6d53f5f43a6ada7fd09b6b0c24ae989)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function do_install_basefilesissue is meant to deal with
/etc/issue* files and the following setting could actually be
overridden.
BASEFILESISSUEINSTALL ?= "do_install_basefilesissue"
So move the hostname operations out of this function.
(From OE-Core rev: f17bcc46341db5ee91bb26389ccaebc68c49b97e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* import 2 fixes from LuneOS
* with l2tp PACKAGECONFIG enabled connman depends on MACHINE_ARCH xl2tpd:
=== Comparing signatures for task do_package_write_ipk.sigdata between hammerhead and mako ===
ERROR: connman different signature for task do_package_write_ipk.sigdata between hammerhead and mako
NOTE: Starting bitbake server...
Hash for dependent task xl2tpd/xl2tpd_git.bb.do_packagedata changed from 6312d5711b5c2c1a85ee235d09bf37a8ec00f7ad9e7248c087bb83ef1d5bd078 to c0d3ef52b37bda945d8b2a015980ddb8fe7b4b3dca3d82d71a84176cc5125142
Unable to find matching sigdata for /OE/build/luneos-master/webos-ports/meta-openembedded/meta-networking/recipes-protocols/xl2tpd/xl2tpd_git.bb.do_packagedata with hashes 6312d5711b5c2c1a85ee235d09bf37a8ec00f7ad9e7248c087bb83ef1d5bd078 or c0d3ef52b37bda945d8b2a015980ddb8fe7b4b3dca3d82d71a84176cc5125142
(From OE-Core rev: ba89fea0e443e1492000b7114f32edf15819a151)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sets the WAFLOCK environment variable. This controls the name of the
lock file that waf uses to pass the build configuration from 'configure'
to 'build' and 'install'. Using a uniquely generated name based on the
parameters passed to 'configure' ensures that the source directory can
be configured for multiple different builds without conflicting (since
the lock file is stored in ${S})
(From OE-Core rev: 29419141a42e6b6664f72d085288ba03c74f90a6)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following two failure of busybox ptest:
FAIL: dc read
FAIL: dc read string
These two test cases relies on the functionalities enabled by
CONFIG_FEATURE_DC_BIG.
(From OE-Core rev: 7880a7102dea7ab928790d3f571f293ea993af2d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to meson build system.
Add a patch to disable tests.
Add "introspection" to unknown configure option whitelist, as
this recipe needs g-i unconditionally.
(From OE-Core rev: 890a460d2ad9bce8f6a1df055e040f334f958673)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The prefix should be correct in the first place, and substitution breaks
with our custom patched Python.
(From OE-Core rev: ad1d0187aed457e4b5bd1c0d11b39141786bc9fd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop an option no longer provided by upstream.
(From OE-Core rev: 80da63993d7e33be9ac77bc95873873706436fd8)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-update: copyright years changed.
Drop upstreamed/backported patches.
Add a patch to fix big endian build failure.
(From OE-Core rev: 929d37831624fce84580466c4408217c766410f0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to fix the following error.
"setrlimit03.c:54: FAIL: call succeeded unexpectedly"
(From OE-Core rev: 6f1c0f9be9bb9de52268563f43f4bfc793284341)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SRC_URI moved.
Two local patches are now fixed upstream so remove them.
The glibc ptest results are essentially the same.
3.14 3.15
TOTAL: 579 589
PASSED: 297 301
FAILED: 251 254
SKIPPED: 31 34
DURATION: 1312 1171
(From OE-Core rev: dfbc1e03c1f98a5a987a94ea815ba44f61abf289)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In addition to toggling libsnappy support, this allows a qemu-native
build to explicitly disable snappy support. When building qemu-native,
the configure script will detect libsnappy on the build machine and
improperly enable snappy support. This can corrupt the sstate cache if
the cache is populated with a qemu-native build with snappy improperly
enabled, and the cached qemu-native gets used on another build machine
that does not have libsnappy.
(From OE-Core rev: ceda00d3f918834c2e20983f0231abedb778e65c)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CUPS 2.2.11 is a bug fix release that addresses issues in the scheduler,
IPP Everywhere support, CUPS library, and USB printer support.
(From OE-Core rev: 2904ffdffc829ee7a0f0228babe392535fb5e544)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License checksum from quota.c was removed since according to the
project, copyrighted code in question has been replaced with own
implementation (see @bcbc0d08e5cd).
Removed patches were upstreamed.
(From OE-Core rev: 4959abd0accffc1cd3dcbcf5efcd18d1e64b739a)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patch was upsteamed.
License checksums were changed due to modified copyright year and fixed
typo in LICENSE file (see @fef895aa28 and @8da8257d0b).
(From OE-Core rev: cfd21faa77fe81205ad0eb80c47fce37f5d1e2b1)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When DEBUG_BUILD = "1" added in local.conf, there
comes below build error when "bitbake gcc-sanitizers":
| ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink':
| ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| return S_ISLNK (st.st_mode);
After commit[16643b0322 bitbake.conf: Use -Og in DEBUG_OPTIMIZATION]
introduced, "-Og" added to compiler when debug
build enabled.
Per https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00315.html,
the gcc upstream thinks the warning is a false
positive and suggests to use -O2 rather than -Og
or -O1 when compiling that file, so pass -Wno-error
to compiler when -Og is used to silence the error.
(From OE-Core rev: d8d657f082d4a86f93ce810e5d99eb5c93333d8a)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
current default locale is set to C.UTF-8, but glibc not support
locale C.UTF-8. so set to the default locale C.
[snip]
if not meson.is_cross_build()
choose_default_locale_sh = find_program('tools/choose-default-locale.sh')
default_locale = run_command(choose_default_locale_sh).stdout().strip()
else
default_locale = 'C.UTF-8'
endif
if default locale set to C.UTF-8, it will cause libpcre ptest fail:
re> //8+L
** Failed to set locale ""
(From OE-Core rev: 48f1521de8d16971e8021d7bf551f0b88f392f43)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we want to ultimately move this recipe to that name, add a PROVIDES
to allow things to work whilst we fix the bugs preventing the move. This
avoids having to keep changing the autobuilder.
(From OE-Core rev: 2b70ea6ca2c96fb233f42cfe5058cc89c9de5f82)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are recipes not included in core-image-sato-sdk which have ptests, include
these in our ptest test image using the new include file.
(From OE-Core rev: f685ec5740e1a8c3922f8f0631ddaed4b2a5d1f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a common include file which lists recipes that have ptests divided
into 'fast' and 'slow' groups. This allows us to include ptests which otherwise
may not get included in images and allows us to test the faster running things
more regularly.
The new image allows access to these faster executing tests. 'fast' is defined
as tests which execute in under 30s roughly speaking.
(From OE-Core rev: 2d8f8ab85d98929b0f1f699f256b40b1d9cddaec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix below build failure with musl when ptest
enabled.
| In file included from ../../elfutils-0.176/tests/dwfl-proc-attach.c:33:
| ../../elfutils-0.176/lib/system.h:63:35: error: called object 'err' is not a function or function pointer
| #define error(status, errno, ...) err(status, __VA_ARGS__)
| ^~~
| ../../elfutils-0.176/tests/dwfl-proc-attach.c:92:5: note: in expansion of macro 'error'
| error (-1, 0, "dwfl_linux_proc_attach pid %d: %s", pid,
| ^~~~~
| ../../elfutils-0.176/tests/dwfl-proc-attach.c:79:7: note: declared here
| int err;
| ^~~
The root cause is because the conflicts between
vairable and function name, so change the variable
name to workaround it.
(From OE-Core rev: 48dbb1bd980f7ed17a612fa7c1be298f14955c3f)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add testsuite-ignore-elflint.diff from debian
(http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz)
to fix below ptest failure:
| ./run-strip-strmerge.sh: line 33: testrun_on_self_skip: command not found
| FAIL: run-strip-strmerge.sh
Add check for gcc for two test cases such as
run-strip-nothing.sh and run-strip-g.sh which
depends on gcc at run time.
(From OE-Core rev: 240e6b8819aab3bf74cdde92934be337e766aa75)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12548]
I created a new section titled "Modifying Variable Values" that
provides instruction on how to use the "bitbake -e" command to
be sure your configuration and variable values are as expected.
(Bitbake rev: 5a697957d7687fe2c730896e178f7e1e054fe724)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream appear to have regenerated the tarball, the new one is the same except the
directory name changed from libyaml to yaml. Adapt to this.
(From OE-Core rev: 9ab05b6ec860078df37c4ea68267ecffaa0ce38c)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop files/fix_shebang_f2py.patch as the code has been removed upstream.
License-update: copyright years, file paths.
(From OE-Core rev: 90e271e9f1c1ecdb205bca3c9b4976a1a16e83b1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patches
License-update: copyright years
(From OE-Core rev: 061dfcdf062d64e4e1e50e28edfacb14e41b7d74)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-Linker-rules-move-cross_args-in-front-of-output_args.patch
as the upstream code has been completely reworked; if the issues pops up
again, we need to re-write the fix.
Rebase:
0001-Make-CPU-family-warnings-fatal.patch
0001-environment.py-detect-windows-also-if-the-system-str.patch
0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
0002-Support-building-allarch-recipes-again.patch
Add 0001-mesonbuild-environment.py-check-environment-for-vari.patch
as particularly we set windows resource compiler through an
environment variable WINDRES. This has replaced the
0001-modules-windows-split-WINDRES-env-variable.patch as the code
has been refactored.
Add 0001-mesonbuild-environment.py-do-not-determine-whether-a.patch
for a more robust detection of cross builds.
Replace many-cross.patch with corresponding backports from upcoming 0.50.1:
0007-mesonbuild-allow-multiple-cross-file-options.patch
load-configs-generalise-search-path.patch
Drop cross-libdir.patch as it has been merged upstream.
(From OE-Core rev: 3f9a0f0c6c99364eb128ffc2db704e957f1c0bce)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove upstreamed 0001-include-missing-string-and-errno.h-headers.patch
Rebase the other patches.
(From OE-Core rev: b0c76d9b451ba10b97e9ecee7bbfc7158cab4152)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove valadoc-related patches, as upstream added an option to disable it;
adjust the recipe accordingly.
(From OE-Core rev: dc4555d3cb6109e57c2dcfcc6713f69e1ef99755)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove a patch as the problem was fixed upstream.
(From OE-Core rev: a5440d4288e09d3e429b48e1a5ee4a5f4631de6c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop bad_optional_access.patch, as the code it tweaks has
been removed upstream.
Rebase other patches.
Add an option for jpeg2000 support.
(From OE-Core rev: 628e1935431207cbb8ef3e44637f9ad462eea133)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed patches:
0010-meson-add-option-gir-dir-prefix.patch
0002-g-ir-tools-respect-gir_dir_prefix.patch
0001-configure.ac-make-GIR_DIR-configurable.patch
Rebase the rest.
Upstream has renamed the gir_dir_prefix option, adjust the recipe.
Add a patch to disable tests in cross builds, as previously meson
build system didn't actually build them.
(From OE-Core rev: 98f4c3a64f8a2b03f57df4387d2ce1e3b3af4035)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases that comprise the following
commits:
4d552acf3370 Linux 4.19.34
d5813e77363c kprobes/x86: Blacklist non-attachable interrupt functions
e7d26616c92b bcache: fix potential div-zero error of writeback_rate_p_term_inverse
09abe130820b ACPI / video: Extend chassis-type detection with a "Lunch Box" check
d1d2ca98b78f net: stmmac: Avoid one more sometimes uninitialized Clang warning
972e31ba4bc2 drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
986a2bb54a31 Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
6d2817e2ab8c dmaengine: tegra: avoid overflow of byte tracking
7386f095b709 clk: rockchip: fix frac settings of GPLL clock for rk3328
c8e4f8406842 clk: meson: clean-up clock registration
6251c1db04f2 drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
648b949b7870 x86/build: Mark per-CPU symbols as absolute explicitly for LLD
52cd9e0e43c7 wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
05b23c66bb6e brcmfmac: Use firmware_request_nowarn for the clm_blob
e30e0b0915b6 selinux: do not override context on context mounts
d2053718e087 x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
e0662d00c98a drm/nouveau: Stop using drm_crtc_force_disable
1d377200482b drm: Auto-set allow_fb_modifiers when given modifiers at plane init
27d6de370cdc pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
61174e34611f regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
bcdd4a5ee1c5 media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
9bfd4ab5e8e4 media: rcar-vin: Allow independent VIN link enablement
2e6bcc327b0b netfilter: physdev: relax br_netfilter dependency
24296fbc5445 dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
c55f4a6e798d dmaengine: qcom_hidma: assign channel cookie correctly
afacaf85543b dmaengine: imx-dma: fix warning comparison of distinct pointer types
fba4c61e9888 cpu/hotplug: Mute hotplug lockdep during init
a6c671e23168 hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
dbeca415575f f2fs: UBSAN: set boolean value iostat_enable correctly
16b06b15dd53 HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
67c2be160519 soc/tegra: fuse: Fix illegal free of IO base address
a3aa9d93b9ab hwrng: virtio - Avoid repeated init of completion
7aaa76e8a6ab media: mt9m111: set initial frame size other than 0x0
fd400e96c599 perf script python: Add trace_context extension module to sys.modules
d90a375b786c perf script python: Use PyBytes for attr in trace-event-python
f94e369fe7a8 platform/x86: intel-hid: Missing power button release on some Dell models
1e55e3f6c735 usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
2b20c29bcdf6 ALSA: dice: add support for Solid State Logic Duende Classic/Mini
3abb3d0418e1 drm/amd/display: Enable vblank interrupt during CRC capture
06af7dda05b3 powerpc/pseries: Perform full re-add of CPU for topology update post-migration
57f03bbd4236 tty: increase the default flip buffer limit to 2*640K
2142eba848a1 backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
d0bc74c5632f cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
b52681e6e623 powerpc/64s: Clear on-stack exception marker upon exception return
118d38a3577f selftests/bpf: skip verifier tests for unsupported program types
ae92cf4760f8 bpf: fix missing prototype warnings
06666a19d5a5 block, bfq: fix in-service-queue check for queue merging
30d503bae967 ARM: avoid Cortex-A9 livelock on tight dmb loops
d8945878ded6 ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
668713493a19 mt7601u: bump supported EEPROM version
a2479c401054 soc: qcom: gsbi: Fix error handling in gsbi_probe()
ce80ebf7a04e efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
240a9050a3d8 ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
b5c1dc9d8fa4 drm/vkms: Bugfix extra vblank frame
e8e0bd4915ec sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
b12a060a0bd2 efi/memattr: Don't bail on zero VA if it equals the region's PA
f056c90f079a sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
442caac9fce9 ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
b4410c7d731d iwlwifi: mvm: fix RFH config command with >=10 CPUs
080e00c8f6f9 staging: spi: mt7621: Add return code check on device_reset()
f0eb935c50b9 i2c: of: Try to find an I2C adapter matching the parent
7c114e8605a9 platform/x86: intel_pmc_core: Fix PCH IP sts reading
b9f257e27890 e1000e: Exclude device from suspend direct complete optimization
c23242c36bdd e1000e: fix cyclic resets at link up with active tx
efd85d83ac0f perf/aux: Make perf_event accessible to setup_aux()
355ffe6cc2a1 drm/amd/display: Disconnect mpcc when changing tg
6c68d1654c27 drm/amd/display: Don't re-program planes for DPMS changes
322a55a56a2a drm: rcar-du: add missing of_node_put
924af49998c2 cdrom: Fix race condition in cdrom_sysctl_register
6d293647f8d9 fbdev: fbmem: fix memory access if logo is bigger than the screen
2dd699432958 net: phy: consider latched link-down status in polling mode
5203cf8e29e5 iw_cxgb4: fix srqidx leak during connection abort
a78aae93ba9c net: marvell: mvpp2: fix stuck in-band SGMII negotiation
1f3694865d56 genirq: Avoid summation loops for /proc/stat
98eddc19f9e9 bcache: improve sysfs_strtoul_clamp()
b468e0007435 bcache: fix potential div-zero error of writeback_rate_i_term_inverse
c7b687ebe0fb bcache: fix input overflow to sequential_cutoff
16975f04f2ca bcache: fix input overflow to cache set sysfs file io_error_halflife
845d4849b60c sched/topology: Fix percpu data types in struct sd_data & struct s_data
ad02fb6a6cc8 usb: f_fs: Avoid crash due to out-of-scope stack ptr access
126f2f6af291 ath10k: fix shadow register implementation for WCN3990
ccce764322d8 ALSA: PCM: check if ops are defined before suspending PCM
d21a63fc1e53 ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
d93fe5e6c9d9 ARM: 8833/1: Ensure that NEON code always compiles with Clang
3a1ce9793855 netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
d53b295f7805 kprobes: Prohibit probing on RCU debug routine
bc9d714395e2 kprobes: Prohibit probing on bsearch()
c63cc8d1487c selftests: skip seccomp get_metadata test if not real root
2df541d0a665 ACPI / video: Refactor and fix dmi_is_desktop()
d63105845ac5 iwlwifi: pcie: fix emergency path
5cdd025907b8 perf report: Add s390 diagnosic sampling descriptor size
5658279f50ea leds: lp55xx: fix null deref on firmware load failure
9154420173d5 jbd2: fix race when writing superblock
a74ebf047e4f cgroup, rstat: Don't flush subtree root unless necessary
b13eb5245f9f HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
c26d61ea90db vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
7273c2b1e79c xen/gntdev: Do not destroy context while dma-bufs are in use
e9cd7f543764 mt76: usb: do not run mt76u_queues_deinit twice
5cde7721dd05 media: mtk-jpeg: Correct return type for mem2mem buffer helpers
745cdc344f97 media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
73a4cc59054e media: s5p-g2d: Correct return type for mem2mem buffer helpers
3c6cd079058e media: rockchip/rga: Correct return type for mem2mem buffer helpers
55919fc28419 media: s5p-jpeg: Correct return type for mem2mem buffer helpers
a23fd268fdbb media: sh_veu: Correct return type for mem2mem buffer helpers
635fabdd8202 media: ov7740: fix runtime pm initialization
1d836ce73a10 SoC: imx-sgtl5000: add missing put_device()
d41687c82a70 perf report: Don't shadow inlined symbol with different addr range
801b8d8c7729 mwifiex: don't advertise IBSS features without FW support
d323e59f58bb perf test: Fix failure of 'evsel-tp-sched' test on s390
345c7757fd54 drm/amd/display: Clear stream->mode_changed after commit
1ef1b20f8711 scsi: fcoe: make use of fip_mode enum complete
8032fc9120c2 scsi: megaraid_sas: return error when create DMA pool failed
2c6e3ec8a906 s390/ism: ignore some errors during deregistration
d60f458e4c4d efi: cper: Fix possible out-of-bounds access
e57f4676b92f cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
eb70531a95c8 ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
e6786f8686ef perf annotate: Fix getting source line failure
763a895aa49c clk: fractional-divider: check parent rate only if flag is set
d3ec442d609b IB/mlx4: Increase the timeout for CM cache
61584032c4d6 loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
07a31820b241 platform/mellanox: mlxreg-hotplug: Fix KASAN warning
0bacfb4adc1b platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
a64ffbaf7056 mlxsw: spectrum: Avoid -Wformat-truncation warnings
49dd86f0f5ec e1000e: Fix -Wformat-truncation warnings
c6fb45d895e0 net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
194b888af85e mmc: omap: fix the maximum timeout setting
dcedd37957de btrfs: qgroup: Make qgroup async transaction commit more aggressive
6cf5f631bad0 powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
fc96b44c05c2 iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
d81bdb3c17f1 ARM: 8840/1: use a raw_spinlock_t in unwind
951307172652 serial: 8250_pxa: honor the port number from devicetree
2636ccec991e coresight: etm4x: Add support to enable ETMv4.2
c70214d519ed powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
638ecaf58369 kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
5db107484403 scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
4acf797458ce powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
6030bcc04735 usb: chipidea: Grab the (legacy) USB PHY by phandle first
b142c7973338 crypto: cavium/zip - fix collision with generic cra_driver_name
d401d121113e crypto: crypto4xx - add missing of_node_put after of_device_is_available
241ebd2ea44b mt76: fix a leaked reference by adding a missing of_node_put
6115055b4efe wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
9546c3662dc5 PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
224c996e48be tools lib traceevent: Fix buffer overflow in arg_eval
83c395332fdf fs: fix guard_bio_eod to check for real EOD errors
6a817a7aed1c jbd2: fix invalid descriptor block checksum
ca66f667189c netfilter: conntrack: tcp: only close if RST matches exact sequence
709aaa09b200 netfilter: nf_tables: check the result of dereferencing base_chain->stats
36a3219e617a cifs: Fix NULL pointer dereference of devname
d579b4eae836 cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
4ab78f4d75c6 f2fs: fix to check inline_xattr_size boundary correctly
8c81fcd3d5c1 dm thin: add sanity checks to thin-pool and external snapshot creation
626d98bbdb30 cifs: use correct format characters
a6c56bf63e87 page_poison: play nicely with KASAN
d609ecd887f8 fs/file.c: initialize init_files.resize_wait
9b4f27667402 f2fs: do not use mutex lock in atomic context
20141feb9bde ocfs2: fix a panic problem caused by o2cb_ctl
f09c424cea9f mm/slab.c: kmemleak no scan alien caches
8a0fc62e331e mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
67abbb9c5422 mm, mempolicy: fix uninit memory access
9d785b92cf0d memcg: killed threads should not invoke memcg OOM killer
eed3ca0a66cf mm,oom: don't kill global init via memory.oom.group
ed3345a6607b mm, swap: bounds check swap_info array accesses to avoid NULL derefs
4c6d7dc741cb mm/page_ext.c: fix an imbalance with kmemleak
f555b008c576 mm/cma.c: cma_declare_contiguous: correct err handling
7b287c47e452 mm/sparse: fix a bad comparison
aea8c971b9c5 perf c2c: Fix c2c report for empty numa node
c3f28d59c1a5 x86/hyperv: Fix kernel panic when kexec on HyperV
3e8d62218aa4 iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
e27cced35a4b scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
fce6aeaf913e scsi: hisi_sas: Set PHY linkrate when disconnected
e21f655c60fa libbpf: force fixdep compilation at the start of the build
6048330675cc enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
9ec4860de95a net: stmmac: Avoid sometimes uninitialized Clang warnings
b227f1571269 sysctl: handle overflow for file-max
d6ad08aa3467 include/linux/relay.h: fix percpu annotation in struct rchan
4c96500e3658 gpio: gpio-omap: fix level interrupt idling
8c50ab86e288 net/mlx5: Avoid panic when setting vport mac, getting vport config
3bddc6149f02 net/mlx5: Avoid panic when setting vport rate
b73c7d020452 tracing: kdb: Fix ftdump to not sleep
d7391962d723 f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
198c99857b30 f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
56bb66c50296 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
2938651d36ca CIFS: fix POSIX lock leak and invalid ptr deref
442d5d171cd8 tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
b6b4bcb40be0 tty/serial: atmel: Add is_half_duplex helper
2dbc7c66d6da ext4: cleanup bh release code in ext4_ind_remove_space()
bd62f1fe736e arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
4b3a3ab00fa7 Linux 4.19.33
11008a9b0fc7 platform: x86: intel_cht_int33fe: Remove the old connections for the muxes
056cda45cfed usb: typec: class: Don't use port parent for getting mux handles
6875404a12f8 platform: x86: intel_cht_int33fe: Add connections for the USB Type-C port
681a9fc184b3 platform: x86: intel_cht_int33fe: Add connection for the DP alt mode
3bb446a3fe87 platform: x86: intel_cht_int33fe: Register all connections at once
e99d90ce7750 drivers: base: Helpers for adding device connection descriptions
f5959dec081a bpf: do not restore dst_reg when cur_state is freed
738dda85d181 staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
83bbd66b3753 staging: erofs: fix error handling when failed to read compresssed data
3a18eabaa712 KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
b9733a74350d KVM: x86: update %rip after emulating IO
7ceedcefc2d2 KVM: Reject device ioctls from processes other than the VM's creator
a0713e8103d1 x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
a56aa02e6f15 cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
336f6b23b5b8 watchdog: Respect watchdog cpumask on CPU hotplug
c91d07ad34d7 powerpc/64: Fix memcmp reading past the end of src/dest
d7c00bbbfac4 powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
0603e3a9281d objtool: Query pkg-config for libelf location
a436cf6479c0 perf intel-pt: Fix TSC slip
5f9366330950 perf pmu: Fix parser error for uncore event alias
f70ddae24bdf mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
5966777dd807 mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
c9874d397807 iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
62d342d67060 mm: add support for kmem caches in DMA32 zone
2392ffab085a usb: cdc-acm: fix race during wakeup blocking TX traffic
82a5090aad84 xhci: Don't let USB3 ports stuck in polling state prevent suspend
20a09a2e8703 usb: xhci: dbc: Don't free all memory with spinlock held
c81b872281a1 xhci: Fix port resume done detection for SS ports with LPM enabled
093ccda1a041 usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
015e5c17617a usb: common: Consider only available nodes for dr_mode
ef4df134e77e USB: gadget: f_hid: fix deadlock in f_hidg_write()
614ac345bfec usb: mtu3: fix EXTCON dependency
66e44981de0e phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
6ebe03734361 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
b26f7e86d3cc gpio: exar: add a check for the return value of ida_simple_get fails
df74e70ffec6 drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
75f9e994b9fd drm/vkms: fix use-after-free when drm_gem_handle_create() fails
eb1e552524b4 drm/vgem: fix use-after-free when drm_gem_handle_create() fails
07d0d2bd957a fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
c956914f1efa Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
1c992ea006ce USB: serial: option: add Olicard 600
19151c645d0c USB: serial: option: add support for Quectel EM12
002795b0d9b3 USB: serial: option: set driver_info for SIM5218 and compatibles
d7dfccfd3c4b USB: serial: mos7720: fix mos_parport refcount imbalance on error path
1f46db3cc133 USB: serial: ftdi_sio: add additional NovaTech products
2a63003545d0 USB: serial: cp210x: add new device id
59203f078cc6 serial: sh-sci: Fix setting SCSCR_TIE while transferring data
b1e660c6f802 serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
f34ec64b3f6c serial: max310x: Fix to avoid potential NULL pointer dereference
a090ed15420a staging: erofs: fix to handle error path of erofs_vmap()
3b6b76644ba5 staging: vt6655: Fix interrupt race condition on device start up.
b9ddff2a41cd staging: vt6655: Remove vif check from vnt_interrupt
86092f2d5ccb staging: speakup_soft: Fix alternate speech with other synths
d0360bf48143 staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
668ba38d8950 tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
b9bbd1edddf7 tty: atmel_serial: fix a potential NULL pointer dereference
124e42064c0d tty: mxs-auart: fix a potential NULL pointer dereference
7fb7414da97e drm/rockchip: vop: reset scale mode when win is disabled
a93cd9137fea scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
983a543de13a scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
a52eb223a6ee scsi: sd: Quiesce warning if device does not report optimal I/O size
d72658775c4b scsi: sd: Fix a race between closing an sd device and sd I/O
3b3fcc3d4ffd ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
72b790c417b9 fs/open.c: allow opening only regular files during execve()
aa7f29f87027 kbuild: modversions: Fix relative CRC byte order interpretation
4dfae837ceaf ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops
6f3dbb71085c ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
633d5db40280 ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
fd4000c77a5a ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
48e8e6a736b6 ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic
5fa5a8679b92 ALSA: hda/realtek: Enable headset MIC of Acer Aspire Z24-890 with ALC286
5ec67684be9e ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
89ec6d400b5d ALSA: hda/realtek - Add support headset mode for New DELL WYSE NB
522f06c9c00d ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
5b93302bbc4e ALSA: pcm: Don't suspend stream in unrecoverable PCM state
7fc6064dc3b2 ALSA: pcm: Fix possible OOB access in PCM oss plugins
b425f45295dd ALSA: seq: oss: Fix Spectre v1 vulnerability
bd55e6727a33 ALSA: rawmidi: Fix potential Spectre v1 vulnerability
a485919fe4cc net: dsa: qca8k: remove leftover phy accessors
64751542d3f3 NFSv4.1 don't free interrupted slot on open
da57cba4f3f1 NFS: fix mount/umount race in nlmclnt.
0f273f0c3064 vfio: ccw: only free cp on final interrupt
92d4ee2e8276 powerpc: bpf: Fix generation of load/store DW instructions
9397f0d9948c ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
fd1b25364fef Btrfs: fix assertion failure on fsync with NO_HOLES enabled
0ae3b84b3fa6 btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size
1cf4ab01eb5a btrfs: raid56: properly unmap parity page in finish_parity_scrub()
d952c337b25d btrfs: don't report readahead errors and don't update statistics
b57220cc9820 btrfs: remove WARN_ON in log_dir_items
22dcb30fb9d8 Btrfs: fix incorrect file size after shrinking truncate and fsync
a1df5db3a9f1 powerpc/security: Fix spectre_v2 reporting
986f0c656749 powerpc/fsl: Fix the flush of branch predictor.
b848d19c483a powerpc/fsl: Fixed warning: orphan section `__btb_flush_fixup'
632d839296bd powerpc/fsl: Update Spectre v2 reporting
43f40620d7a5 powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used
a46a50382639 powerpc/fsl: Flush branch predictor when entering KVM
3cb931c709d0 powerpc/fsl: Flush the branch predictor at each kernel entry (32 bit)
cf72dad924cb powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)
020e5f13805b powerpc/fsl: Add nospectre_v2 command line argument
4a6a2287e0e6 powerpc/fsl: Emulate SPRN_BUCSR register
4944f1d48d71 powerpc/fsl: Add macro to flush the branch predictor
d67ab3d9a1b7 powerpc/fsl: Add infrastructure to fixup branch predictor flush
e044d21c2999 tun: add a missing rcu_read_unlock() in error path
6bdb5fdc4787 thunderx: eliminate extra calls to put_page() for pages held for recycling
ac8411d75962 thunderx: enable page recycling for non-XDP case
a491de9041b4 net: sched: fix cleanup NULL pointer exception in act_mirr
7254ad094f4a ila: Fix rhashtable walker list corruption
979f8a675d3b vxlan: Don't call gro_cells_destroy() before device is unregistered
3b1386beeef4 vrf: prevent adding upper devices
8ea78da1aa3e tun: properly test for IFF_UP
52a7505c91a1 tipc: fix cancellation of topology subscriptions
1be6c0c737e4 tipc: change to check tipc_own_id to return in tipc_net_stop
24d1a6259706 tipc: allow service ranges to be connect()'ed on RDM/DGRAM
7115df614b09 tcp: do not use ipv6 header for ipv4 flow
cab576f1b00f sctp: use memdup_user instead of vmemdup_user
97265479d7ca sctp: get sctphdr by offset in sctp_compute_cksum
cf86f7a97561 rhashtable: Still do rehash when we get EEXIST
69cea7cf3170 packets: Always register packet sk in the same order
d9d215be3a3a net-sysfs: call dev_hold if kobject_init_and_add success
8dcf078d92ae net: stmmac: fix memory corruption with large MTUs
7eeb12edf637 net: rose: fix a possible stack overflow
a6f0168e6681 net: phy: meson-gxl: fix interrupt support
85ef72d829eb net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
88c64f9c7d3f net: datagram: fix unbounded loop in __skb_try_recv_datagram()
e4ff39e1ba80 net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
c408426292ee mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
e0f8c06f45c3 mac8390: Fix mmio access size probe
be09211384c2 ipv6: make ip6_create_rt_rcu return ip6_null_entry instead of NULL
53adaacbbadb gtp: change NET_UDP_TUNNEL dependency to select
9b8ef421b481 genetlink: Fix a memory leak on error path
321461f2497f dccp: do not use ipv6 header for ipv4 flow
6bba17f6bce3 ipmi_si: Fix crash when using hard-coded device
15d6538a0d6e Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
2318c0e4b87e Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
3a2156c839c7 Linux 4.19.32
33bd347fee01 power: supply: charger-manager: Fix incorrect return value
19184190b029 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
156ba57f4ba6 ALSA: hda - Record the current power state before suspend/resume calls
0e0f7b307212 locking/lockdep: Add debug_locks check in __lock_downgrade()
206a76a684a7 x86/unwind: Add hardcoded ORC entry for NULL
367ccafbcbfe x86/unwind: Handle NULL pointer calls better in frame unwinder
3254dd301f80 loop: access lo_backing_file only when the loop device is Lo_bound
35cdcdc5c49d netfilter: ebtables: remove BUGPRINT messages
1fd916e879a9 f2fs: fix to avoid deadlock of atomic file operations
9dd5053c8cd5 RDMA/cma: Rollback source IP address if failing to acquire device
015b828bd66d drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
e365b94086f9 Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto()
f67202f78fe3 Bluetooth: hci_ldisc: Initialize hci_dev before open()
4b39051363a0 Bluetooth: Fix decrementing reference count twice in releasing socket
4e0ca4bfa2bc Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
6bef442eea18 media: v4l2-ctrls.c/uvc: zero v4l2_event
d12d86411c03 ext4: brelse all indirect buffer in ext4_ind_remove_space()
76c9ee6bd5d2 ext4: fix data corruption caused by unaligned direct AIO
558331d0205b ext4: fix NULL pointer dereference while journal is aborted
ff7a1f81c20e ALSA: ac97: Fix of-node refcount unbalance
c8e91d756703 ALSA: hda/ca0132 - make pci_iounmap() call conditional
4a767459389a ALSA: x86: Fix runtime PM for hdmi-lpe-audio
38bd575b9aef SMB3: Fix SMB3.1.1 guest mounts to Samba
aacf2cc814c2 irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
daaeeca918e7 objtool: Move objtool_file struct off the stack
37c6f8089806 perf probe: Fix getting the kernel map
14c52acaac86 cifs: allow guest mounts to work for smb3.11
36d52f5bcd57 futex: Ensure that futex address is aligned in handle_futex_death()
837becb30c3b scsi: ibmvscsi: Fix empty event pool access during host removal
04809b226e79 scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
b8ea151a7ab5 powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
9d91069f48cc MIPS: Fix kernel crash for R6 in jump label branch function
6e74961bd67d MIPS: Ensure ELF appended dtb is relocated
56bcf3df2552 mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
c72e90d94a14 udf: Fix crash on IO error during truncate
9cae232a8706 libceph: wait for latest osdmap in ceph_monc_blacklist_add()
869157135003 iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
69e26237ed1e drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
ab483d1ca7ae drm/vmwgfx: Don't double-free the mode stored in par->set_mode
42f358b2d48c mmc: renesas_sdhi: limit block count to 16 bit for old revisions
65a5c93687b7 mmc: mxcmmc: "Revert mmc: mxcmmc: handle highmem pages"
3b6870159e2e mmc: pxamci: fix enum type confusion
6339cc5181c0 ALSA: firewire-motu: use 'version' field of unit directory to identify model
023a1b28cf72 ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist
a2cddfe2ce6e Linux 4.19.31
3053cb9701cd s390/setup: fix boot crash for machine without EDAT-1
e578f90d8a9c bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata
5ffb710b03d5 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
29b515c27c0a KVM: nVMX: Apply addr size mask to effective address for VMX instructions
9ce0ffeb68b6 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
c235af5a10f2 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
656e9e5d5529 KVM: x86/mmu: Detect MMIO generation wrap in any address space
23ad135ae66f KVM: Call kvm_arch_memslots_updated() before updating memslots
585715ef18bf drm/amd/display: don't call dm_pp_ function from an fpu block
17982c6a649b drm/amd/powerplay: correct power reading on fiji
808b1c1e28e8 drm/radeon/evergreen_cs: fix missing break in switch statement
9bc6e5673949 drm/fb-helper: generic: Fix drm_fbdev_client_restore()
87bfc7b695bd media: imx: csi: Stop upstream before disabling IDMA channel
54b941202391 media: imx: csi: Disable CSI immediately after last EOF
73236bf581e9 media: vimc: Add vimc-streamer for stream control
29e8c9ae99c7 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
77b4e7454bbd media: lgdt330x: fix lock status reporting
6039128dc6bf media: imx: prpencvf: Stop upstream before disabling IDMA channel
e97a32a5a3bc rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
bce45a547546 tpm: Unify the send callback behaviour
af0c1bd0c5e9 tpm/tpm_crb: Avoid unaligned reads in crb_recv()
cc3b79d487e8 md: Fix failed allocation of md_register_thread
01088750f25e perf intel-pt: Fix divide by zero when TSC is not available
30cedf18d1e2 perf/x86/intel/uncore: Fix client IMC events return huge result
a46a8cdfea3c perf intel-pt: Fix overlap calculation for padding
fa592fc0bde5 perf auxtrace: Define auxtrace record alignment
d8f691f29d91 perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols
e25353a0ac44 perf intel-pt: Fix CYC timestamp calculation after OVF
3e5a054b0f70 x86/unwind/orc: Fix ORC unwind table alignment
b05581b8ba9c vt: perform safe console erase in the right order
2ca85aac1213 stable-kernel-rules.rst: add link to networking patch queue
622afe5c7449 bcache: never writeback a discard operation
cd73824636cb PM / wakeup: Rework wakeup source timer cancellation
43bceddcd7e2 svcrpc: fix UDP on servers with lots of threads
4af185feb9df NFSv4.1: Reinitialise sequence results before retransmitting a request
ecab6ab1c227 nfsd: fix wrong check in write_v4_end_grace()
8056912c1c75 nfsd: fix memory corruption caused by readdir
10a68cdf1035 nfsd: fix performance-limiting session calculation
2c648caf630d NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
63b0ee126f7e NFS: Fix an I/O request leakage in nfs_do_recoalesce
be74fddc976e NFS: Fix I/O request leakages
4ea4f347662c cpcap-charger: generate events for userspace
ce02d82c4e1a mfd: sm501: Fix potential NULL pointer dereference
5579d97e92f7 dm integrity: limit the rate of error messages
7668d6e45f3a dm: fix to_sector() for 32bit
a441fdaf8c30 ipmi_si: fix use-after-free of resource->name
3cbae9fa85ce arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
c113a7fb017b arm64: debug: Ensure debug handlers check triggering exception level
85c8ea220f89 arm64: Fix HCR.TGE status for NMI contexts
58691e6a93d8 ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
d6d004b3dd70 powerpc/traps: Fix the message printed when stack overflows
461a52a44893 powerpc/traps: fix recoverability of machine check handling on book3s/32
baed68a953ac powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
9d2e929c3bae powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
344996a835d4 powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
3bf8ff7bc667 powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
f6f03d6078b1 powerpc/83xx: Also save/restore SPRG4-7 during suspend
b0934990125a powerpc/powernv: Make opal log only readable by root
9b5305504709 powerpc/wii: properly disable use of BATs when requested.
40b97853c200 powerpc/32: Clear on-stack exception marker upon exception return
c7dad095f35a security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
e4f6f82c9edc selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
584f390d1039 jbd2: fix compile warning when using JBUFFER_TRACE
dbe4bc993836 jbd2: clear dirty flag when revoking a buffer from an older transaction
3545324fba52 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
8225bb965f29 serial: 8250_pci: Fix number of ports for ACCES serial cards
9d0b55bb2aec serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
a4b021ec4b5a serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
9920eb4003c5 bpf: only test gso type on gso packets
206fa92c9d52 drm/i915: Relax mmap VMA check
116a9e31237c can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument
6f29e4c2dbb1 gpio: pca953x: Fix dereference of irq data in shutdown
e86a57ecdfac media: i2c: ov5640: Fix post-reset delay
5f9614d0540b i2c: tegra: fix maximum transfer size
25970b517db1 parport_pc: fix find_superio io compare code, should use equal test.
57c29a08c4cf intel_th: Don't reference unassigned outputs
c835b4417c18 device property: Fix the length used in PROPERTY_ENTRY_STRING()
93c8a44a8297 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
09417dd35e37 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
c1ddc7b785b4 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
234c0cc98221 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
c7fd1a968c5d dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
822e21853439 usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
8415e718a06b usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
b1c1ef7b4d63 clk: ingenic: Fix doc of ingenic_cgu_div_info
4a04611fc266 clk: ingenic: Fix round_rate misbehaving with non-integer dividers
33e7604ac8fd clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
4d1de1e6d266 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
9aba7a8fd163 clk: clk-twl6040: Fix imprecise external abort for pdmclk
6e02a5f5aba3 clk: uniphier: Fix update register for CPU-gear
62600af3a7cb ext2: Fix underflow in ext2_max_size()
c335b49379b5 cxl: Wrap iterations over afu slices inside 'afu_list_lock'
54674984d478 IB/hfi1: Close race condition on user context disable and close
09bc2f5a16a9 PCI: dwc: skip MSI init if MSIs have been explicitly disabled
13a9d14fbf1b PCI/DPC: Fix print AER status in DPC event handling
c733cf4abfba PCI/ASPM: Use LTR if already enabled by platform
8a4fdc649ca9 ext4: fix crash during online resizing
a0d876c77705 ext4: add mask of ext4 flags to swap
048bfb5bc05f ext4: update quota information while swapping boot loader inode
071f68163cc0 ext4: cleanup pagecache before swap i_data
cdf9941b7707 ext4: fix check of inode in swap_inode_boot_loader
ae228aca576d cpufreq: pxa2xx: remove incorrect __init annotation
f65b34d0f979 cpufreq: tegra124: add missing of_node_put()
33565a76a7b2 cpufreq: kryo: Release OPP tables on module removal
ee7d297fba24 x86/kprobes: Prohibit probing on optprobe template code
a477075ebab3 irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
c8666ede18ec irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
b92fad6995c3 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
02c55be588b1 soc: qcom: rpmh: Avoid accessing freed memory from batch API
898488e2988c Btrfs: fix corruption reading shared and compressed extents after hole punching
1a00f7fd0fbf btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
6e24f5a1ebb1 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
61f9209676e8 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
fcbf12e23d99 m68k: Add -ffreestanding to CFLAGS
205f149f1a35 ovl: Do not lose security.capability xattr over metadata file copy-up
6f048ae2d25f ovl: During copy up, first copy up data and then xattrs
2af926fd52fc splice: don't merge into linked buffers
1c2123ff4312 fs/devpts: always delete dcache dentry-s in dput()
d8ae662b400f scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
f4a9fd5652d5 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
852a4ab292bb scsi: sd: Optimal I/O size should be a multiple of physical block size
e6e738e2b5ff scsi: aacraid: Fix performance issue on logical drives
bd8a0e656935 scsi: virtio_scsi: don't send sc payload with tmfs
1653307cf0e7 s390/virtio: handle find on invalid queue gracefully
b52bdf53130a s390/setup: fix early warning messages
e19ca3fe6cf2 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
ef8062e20614 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
c1f45c10df2e clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
06607b1b6cc9 regulator: s2mpa01: Fix step values for some LDOs
c288e34df128 regulator: max77620: Initialize values for DT properties
462aee48a8a2 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
15ead7e2a11e spi: pxa2xx: Setup maximum supported DMA transfer length
e51c5ec99597 spi: ti-qspi: Fix mmap read when more than one CS in use
0d98ecb141a6 netfilter: ipt_CLUSTERIP: fix warning unused variable cn
6bd9959aa110 mmc:fix a bug when max_discard is 0
2946910ed837 mmc: sdhci-esdhc-imx: fix HS400 timing issue
c19b9673487e ACPI / device_sysfs: Avoid OF modalias creation for removed device
468ff43f6274 xen: fix dom0 boot on huge systems
24d5097655eb tracing/perf: Use strndup_user() instead of buggy open-coded version
f27077e5f5c5 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
ebca08d7e862 tracing: Use strncpy instead of memcpy for string keys in hist triggers
43eaa6cc1775 CIFS: Fix read after write for files with read caching
dc8e8ad962a8 CIFS: Do not skip SMB2 message IDs on send failures
3ed9f22e28dd CIFS: Do not reset lease state to NONE on lease break
41e2d1c43c87 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
d5a5bded80a6 crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
66700c89f0ab crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
8a9fcf4a9f1f crypto: x86/aesni-gcm - fix crash on empty plaintext
5d2a5172caa4 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
574c19d97e6b crypto: testmgr - skip crc32c context test for ahash algorithms
e6c703f15872 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
bb1ae0aadbf1 crypto: pcbc - remove bogus memcpy()s with src == dest
c0bfdac6a471 crypto: morus - fix handling chunked inputs
dc410d2d8405 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
76f21678d64f crypto: arm64/crct10dif - revert to C code for short inputs
4bca5a9a5dcd crypto: arm64/aes-neonbs - fix returning final keystream block
0beb34b865e3 crypto: arm/crct10dif - revert to C code for short inputs
4c152af938ce crypto: aegis - fix handling chunked inputs
736807d69157 crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
7a8b048430c1 fix cgroup_do_mount() handling of failure exits
3b8da135a4cc libnvdimm: Fix altmap reservation size calculation
696c37524beb libnvdimm/pmem: Honor force_raw for legacy pmem regions
6a89ed7aa140 libnvdimm, pfn: Fix over-trim in trim_pfn_device()
2b88d92ea9d2 libnvdimm/label: Clear 'updating' flag after label-set update
f4dfb94a0754 nfit/ars: Attempt short-ARS even in the no_init_ars case
e6defe76600b nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
f5878c4f084d acpi/nfit: Fix bus command validation
8df25eb903c5 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
eabd7d248e21 stm class: Prevent division by zero
b3139fbb3b00 tmpfs: fix uninitialized return value in shmem_link
d3f62d3eab0b selftests: fib_tests: sleep after changing carrier. again.
8cd89bf632b2 net: set static variable an initial value in atl2_probe()
29e4bfbc79b4 bnxt_en: Wait longer for the firmware message response to complete.
b4baeab7e084 bnxt_en: Fix typo in firmware message timeout logic.
a40fa9498707 nfp: bpf: fix ALU32 high bits clearance bug
7ca1faa52be7 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
4523507c52b8 net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task
17bc53e73d0c net: thunderx: make CFG_DONE message to run through generic send-ack sequence
02f8211b75c9 bpf, lpm: fix lookup bug in map_delete_elem
c5f37906ecb7 mac80211_hwsim: propagate genlmsg_reply return code
ee01ac61d1d4 phonet: fix building with clang
8b9187e7df64 ARCv2: don't assume core 0x54 has dual issue
3220aa9b0065 ARCv2: support manual regfile save on interrupts
74b4dcea6756 ARC: uacces: remove lp_start, lp_end from clobber list
2fc69e55f370 ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
2c049f195787 ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN
064a61d3e7b5 tmpfs: fix link accounting when a tmpfile is linked in
e6e9d6e29002 mm: handle lru_add_drain_all for UP properly
f3a9c9be0eb4 net: marvell: mvneta: fix DMA debug warning
e52578889c8e ARM: tegra: Restore DT ABI on Tegra124 Chromebooks
f715466a3f23 arm64: Relax GIC version check during early boot
2f97f7125237 ARM: dts: armada-xp: fix Armada XP boards NAND description
e4d14f616050 qed: Fix iWARP syn packet mac address validation.
821c67748623 qed: Fix iWARP buffer size provided for syn packet processing.
90fc2f95c418 ASoC: topology: free created components in tplg load error
edd7b6b9be97 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue
6ac400b7c5e8 xfrm: Fix inbound traffic via XFRM interfaces across network namespaces
3a5321342361 net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()
a139d6a318de qmi_wwan: apply SET_DTR quirk to Sierra WP7607
13cb60c3c915 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
90a86d00af1a net: dsa: bcm_sf2: Do not assume DSA master supports WoL
d33f5a0febfa net: systemport: Fix reception of BPDUs
3491857f4292 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task
726832821903 keys: Fix dependency loop between construction record and auth key
fac71ac37634 assoc_array: Fix shortcut creation
84657a1ba9bd ARM: 8835/1: dma-mapping: Clear DMA ops on teardown
978e0388c22b af_key: unconditionally clone on broadcast
c7c68a1b9a16 bpf: fix lockdep false positive in stackmap
413e39852082 bpf: only adjust gso_size on bytestream protocols
da3495301cda ARM: 8824/1: fix a migrating irq bug when hotplug cpu
b92eaed36c4b esp: Skip TX bytes accounting when sending from a request socket
2f3b4f968619 clk: sunxi: A31: Fix wrong AHB gate number
cacf3c0d8288 kallsyms: Handle too long symbols in kallsyms.c
980f44f8dd8a clk: sunxi-ng: v3s: Fix TCON reset de-assert bit
5050f03ff0b1 Input: st-keyscan - fix potential zalloc NULL dereference
bf26feccf99c auxdisplay: ht16k33: fix potential user-after-free on module unload
8e770d996ea4 i2c: bcm2835: Clear current buffer pointers and counts after a transfer
d9ce9aea3f63 i2c: cadence: Fix the hold bit setting
8f622a7d512c net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
33e83ea302c0 mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
a9503ade1bf7 x86/CPU: Add Icelake model number
388f3adb2729 net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()
8ab49fd5b072 scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd
53dcaeeff145 Revert "mm: use early_pfn_to_nid in page_ext_init"
8b1a7762e0da mm/gup: fix gup_pmd_range() for dax
6c023d86b364 NFS: Don't use page_file_mapping after removing the page
d84bc704b91e xprtrdma: Make sure Send CQ is allocated on an existing compvec
e01f2b0821ea floppy: check_events callback should not return a negative number
5ca2ef674d74 ipvs: fix dependency on nf_defrag_ipv6
29452f665c2f blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue
e0e6b0d7e09c netfilter: compat: initialize all fields in xt_init
a5a244451145 mac80211: Fix Tx aggregation session tear down with ITXQs
bff33ba4f9ca mac80211: call drv_ibss_join() on restart
134891e124da Input: matrix_keypad - use flush_delayed_work()
e91dc2092f7f Input: ps2-gpio - flush TX work when closing port
4fe714b750cb Input: cap11xx - switch to using set_brightness_blocking()
f49f7007de59 ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
8f07d76481d5 ASoC: samsung: Prevent clk_get_rate() calls in atomic context
459058f0e329 KVM: arm64: Forbid kprobing of the VHE world-switch code
04131dfcb910 KVM: arm/arm64: vgic: Always initialize the group of private IRQs
c831293622b2 arm/arm64: KVM: Don't panic on failure to properly reset system registers
b78379c33723 arm/arm64: KVM: Allow a VCPU to fully reset itself
dfe9b4d992ca KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
20604435e2f4 ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check
e07aaaa7013e ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables
f3f7a8b6faf8 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized
ad4507bd2bf1 ARM: dts: Configure clock parent for pwm vibra
bac70a89419a Input: pwm-vibra - stop regulator after disabling pwm, not before
0ed72d3f6f1d Input: pwm-vibra - prevent unbalanced regulator
98a137cd0484 s390/dasd: fix using offset into zero size array error
cdaf89ab8f77 arm64: dts: rockchip: fix graph_port warning on rk3399 bob kevin and excavator
5f4a64b040c9 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
ac696b0176b4 clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting
b2c642a1a618 ASoC: rt5682: Correct the setting while select ASRC clk for AD/DA filter
35ad2e6d7e46 gpu: ipu-v3: Fix CSI offsets for imx53
04c5c4c47c31 drm/imx: imx-ldb: add missing of_node_puts
1640b5288615 gpu: ipu-v3: Fix i.MX51 CSI control registers offset
a308622febe1 drm/imx: ignore plane updates on disabled crtcs
2e0e1f9a1e41 crypto: rockchip - update new iv to device in multiple operations
5aabf06712c2 crypto: rockchip - fix scatterlist nents error
3c5d7703bbd0 crypto: ahash - fix another early termination in hash walk
1a10e6b5bb34 crypto: cfb - remove bogus memcpy() with src == dest
0b1871d041d3 crypto: cfb - add missing 'chunksize' property
6ed42ccca59d crypto: ccree - don't copy zero size ciphertext
0bdd345a3848 crypto: ccree - unmap buffer before copying IV
009eeb9878b4 crypto: ccree - fix free of unallocated mlli buffer
6f4c11b09770 crypto: caam - fix DMA mapping of stack memory
74fd74e1fc8d crypto: caam - fixed handling of sg list
ce36d9fafb43 crypto: ccree - fix missing break in switch statement
32eeecf7ac87 crypto: caam - fix hash context DMA unmap size
dd6ce0316e70 stm class: Fix an endless loop in channel allocation
a253d1f3e490 mei: bus: move hw module get/put to probe/release
02c0c70fb36e mei: hbm: clean the feature flags on link reset
dbcb0a590ecb iio: adc: exynos-adc: Fix NULL pointer exception on unbind
3f44122e065c ASoC: codecs: pcm186x: Fix energysense SLEEP bit
7d9e07582a7f ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
098e0f89a341 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
85bdc9daff40 9p/net: fix memory leak in p9_client_create
e08ba890dc29 9p: use inode->i_lock to protect i_size_write() under 32-bit
573d423a9bd7 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
(From OE-Core rev: e27a34577c44cc9210ecc2e7b73329631757146a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases which comprise the following
commits:
8b298d3a0bd5 Linux 5.0.7
e73f145543fa kbuild: skip sub-make for in-tree build with GNU Make 4.x
d972d1c0d76d kbuild: add workaround for Debian make-kpkg
38d2286e52ea bcache: fix potential div-zero error of writeback_rate_p_term_inverse
ae050638bc97 ACPI / video: Extend chassis-type detection with a "Lunch Box" check
3e033b1b435a gpio: of: Restrict enable-gpio quirk to regulator-gpio
ae42fc868cd5 appletalk: Fix compile regression
a84b7c68966a net: stmmac: Avoid one more sometimes uninitialized Clang warning
36b39631cc85 drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
8826838f43fe drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
0a2e1a5b583b ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id()
45040e92500c Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
1ad62489b25a staging: iio: adt7316: fix dac_bits assignment
2bece1d313aa dmaengine: tegra: avoid overflow of byte tracking
e84e0a8c3f22 clk: rockchip: fix frac settings of GPLL clock for rk3328
25fb6c323b55 ARM: shmobile: Fix R-Car Gen2 regulator quirk
9b0f430450cf clk: meson: clean-up clock registration
a644d2d28baf drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
c8a8dd1d85ca x86/build: Mark per-CPU symbols as absolute explicitly for LLD
38af5462fa51 wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
ab79dc3ef024 brcmfmac: Use firmware_request_nowarn for the clm_blob
f836093a2eeb selinux: do not override context on context mounts
993f96415a72 x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
16d4d75d8b6e drm/nouveau: Stop using drm_crtc_force_disable
bfb59eabe2c9 drm: Auto-set allow_fb_modifiers when given modifiers at plane init
778c82db727a pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
1048bfd8bf67 regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
e78d5e16f1d6 audit: hand taken context to audit_kill_trees for syscall logging
a43ea8ca1865 PCI: pciehp: Assign ctrl->slot_ctrl before writing it to hardware
e5d1f1c0148d media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
68ec6a13ef0d media: rcar-vin: Allow independent VIN link enablement
ebd0f3066c35 netfilter: physdev: relax br_netfilter dependency
d7e6e93b95f2 dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
1bac8b82d95c dmaengine: qcom_hidma: assign channel cookie correctly
56d276b53614 dmaengine: imx-dma: fix warning comparison of distinct pointer types
964065d234c7 cpu/hotplug: Mute hotplug lockdep during init
8376acca6f18 pinctrl: sh-pfc: r8a77995: Fix MOD_SEL bit numbering
e848354f28b7 pinctrl: sh-pfc: r8a77990: Fix MOD_SEL bit numbering
9d7ff2ae8fd6 pinctrl: meson: fix G12A ao pull registers base address
e17a340f9598 hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
283a29de66c3 f2fs: fix to initialize variable to avoid UBSAN/smatch warning
3d1a731bcec7 f2fs: UBSAN: set boolean value iostat_enable correctly
d9f59ff251b4 HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
931480457bb3 selftests/bpf: suppress readelf stderr when probing for BTF support
e01bc8baa867 soc/tegra: fuse: Fix illegal free of IO base address
bf381e06af42 hwrng: virtio - Avoid repeated init of completion
64ef5941a6f8 media: mt9m111: set initial frame size other than 0x0
9acd16abab23 perf script python: Add trace_context extension module to sys.modules
8febc5d31032 perf script python: Use PyBytes for attr in trace-event-python
8f4264f58eb8 perf trace: Fixup etcsnoop example
631e6859c9ac platform/x86: intel-hid: Missing power button release on some Dell models
3ea0a48aa080 usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
bce56838a25d regulator: mcp16502: Include linux/gpio/consumer.h to fix build error
f8d78138dd55 ALSA: dice: add support for Solid State Logic Duende Classic/Mini
504dfdea9c39 drm/amd/display: Enable vblank interrupt during CRC capture
b32cff3dd086 powerpc/pseries: Perform full re-add of CPU for topology update post-migration
9ee0088f920b tty: increase the default flip buffer limit to 2*640K
d9c61474aa77 backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
b8498a26ffdb cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
07232db69580 powerpc/64s: Clear on-stack exception marker upon exception return
cf651d7007c1 selftests/bpf: skip verifier tests for unsupported program types
08619450dbfe bpf: fix missing prototype warnings
8b3b22aa7c55 block, bfq: fix queue removal from weights tree
c581587af717 block, bfq: fix in-service-queue check for queue merging
721360c972a3 ARM: avoid Cortex-A9 livelock on tight dmb loops
34164dfc56a4 ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
f7a2659378e7 mt7601u: bump supported EEPROM version
a1fc32156354 drm/msm/dpu: Convert to a chained irq chip
e0442dc492e5 soc: qcom: gsbi: Fix error handling in gsbi_probe()
65ae5c0808c7 efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
6416e05b8190 ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
897a3b9ef31d drm/vkms: Bugfix extra vblank frame
1c76c3cf3060 drm/vkms: Bugfix racing hrtimer vblank handle
5ca05ecd2954 sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
4e634952fe74 efi/memattr: Don't bail on zero VA if it equals the region's PA
dd288d329d17 sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
0da521452109 ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
8a838b44f70f iwlwifi: mvm: fix RFH config command with >=10 CPUs
9bd4debdd544 staging: spi: mt7621: Add return code check on device_reset()
3aa0518aacaa i2c: of: Try to find an I2C adapter matching the parent
c1ac30ee10cf platform/x86: intel_pmc_core: Fix PCH IP sts reading
b503ea08fe0d e1000e: Exclude device from suspend direct complete optimization
7f0a3a436e88 e1000e: fix cyclic resets at link up with active tx
4e4fba6d30f8 perf/aux: Make perf_event accessible to setup_aux()
81ee4eab3117 drm/amd/display: Disconnect mpcc when changing tg
c730d6c156c6 powerpc/ptrace: Mitigate potential Spectre v1
8e74000fd656 x86/kexec: Fill in acpi_rsdp_addr from the first kernel
90c93fbede11 bpf: test_maps: fix possible out of bound access warning
c60bf6e7594c drm/amd/display: Don't re-program planes for DPMS changes
ada81ebc5f35 drm: rcar-du: add missing of_node_put
7208136a41f9 cdrom: Fix race condition in cdrom_sysctl_register
e00ff3abfaaf fbdev: fbmem: fix memory access if logo is bigger than the screen
8e48664da19f net: phy: consider latched link-down status in polling mode
c230484a3767 iw_cxgb4: fix srqidx leak during connection abort
3e45ebf5a16c net: marvell: mvpp2: fix stuck in-band SGMII negotiation
c0ed04868506 genirq: Avoid summation loops for /proc/stat
c984b1e68b0c bcache: improve sysfs_strtoul_clamp()
5db086d7c05f bcache: fix potential div-zero error of writeback_rate_i_term_inverse
d4db0c5ee0b4 bcache: fix input overflow to sequential_cutoff
f48bb10d7615 bcache: fix input overflow to cache set sysfs file io_error_halflife
83a6f919bbb7 sched/topology: Fix percpu data types in struct sd_data & struct s_data
9738742e4e38 usb: f_fs: Avoid crash due to out-of-scope stack ptr access
db5177729062 ath10k: fix shadow register implementation for WCN3990
31f3d84c6d9f ALSA: PCM: check if ops are defined before suspending PCM
6c896df369d1 ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
c716b08e06ca ARM: 8833/1: Ensure that NEON code always compiles with Clang
f74b0a4bf14c netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
c4ea4a79f8b2 kprobes: Prohibit probing on RCU debug routine
170d42947604 kprobes: Prohibit probing on bsearch()
34968a446c4e selftests: skip seccomp get_metadata test if not real root
7981a5b4df77 selftests: ir: fix warning: "%s" directive output may be truncated ’ directive output may be truncated
7b27cb19942e ACPI / video: Refactor and fix dmi_is_desktop()
4f9f04ca4f83 iwlwifi: pcie: fix emergency path
2392dcb54ad2 perf coresight: Do not test for libopencsd by default
528033f554c8 perf report: Add s390 diagnosic sampling descriptor size
59c09689808e perf trace: Check if the 'fd' is negative when mapping it to pathname
8b4fdbce8ca4 perf beauty waitid options: Fix up prefix showing logic
336eb093ba16 tools build: Add test-reallocarray.c to test-all.c to fix the build
17e987679232 tools build: Add -lrt to FEATURE_CHECK_LDFLAGS-libaio
1cbdd2401798 leds: lp55xx: fix null deref on firmware load failure
34cbc429c56d jbd2: fix race when writing superblock
9489ac42680c regulator: core: Take lock before applying system load
7440c206c38f drm/sched: Fix entities with 0 rqs.
aa6c9fcac011 efi: Fix build error due to enum collision between efi.h and ima.h
55d7152d37dc cgroup, rstat: Don't flush subtree root unless necessary
2fe8be270932 HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
e6eef5240054 vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
a8254b01ca21 xen/gntdev: Do not destroy context while dma-bufs are in use
d6318df6b0cc gpio: of: Apply regulator-gpio quirk only to enable-gpios
7d361b8dbafe mt76: usb: do not run mt76u_queues_deinit twice
af1ef012b95f media: rockchip/vpu: Correct return type for mem2mem buffer helpers
d544b0856f3f media: mtk-jpeg: Correct return type for mem2mem buffer helpers
569ce17b4cd9 media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
76499752191f media: s5p-g2d: Correct return type for mem2mem buffer helpers
8852dab94f04 media: rockchip/rga: Correct return type for mem2mem buffer helpers
9f31e32fd5a5 media: s5p-jpeg: Correct return type for mem2mem buffer helpers
21ad47c39835 media: sh_veu: Correct return type for mem2mem buffer helpers
a6d9661c5d16 media: ov7740: fix runtime pm initialization
ed83655ce8c2 SoC: imx-sgtl5000: add missing put_device()
a75ad663203b perf report: Don't shadow inlined symbol with different addr range
c3a8705881cc mwifiex: don't advertise IBSS features without FW support
aa8c73c8682f perf test: Fix failure of 'evsel-tp-sched' test on s390
16a94480fb03 drm/amd/display: Clear stream->mode_changed after commit
456736ab1b78 scsi: fcoe: make use of fip_mode enum complete
952613125def scsi: megaraid_sas: return error when create DMA pool failed
a3c1a668a014 s390/ism: ignore some errors during deregistration
5d1db4825e3c efi: cper: Fix possible out-of-bounds access
99bb2d19853a cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
4e7b5f9dc7a7 ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
a332ad5f006f powerpc/44x: Force PCI on for CURRITUCK
4974ca47f15c perf annotate: Fix getting source line failure
1a4faefc4680 clk: fractional-divider: check parent rate only if flag is set
869a72e08b86 IB/mlx4: Increase the timeout for CM cache
55bbe8fa7bfd i2c: designware: Do not allow i2c_dw_xfer() calls while suspended
600c30ca6124 loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
540f120998df platform/mellanox: mlxreg-hotplug: Fix KASAN warning
a21f5c44cb8e platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
e2427570b374 i2c: Allow recovery of the initial IRQ by an I2C client device.
6f93033d93d1 mlxsw: spectrum: Avoid -Wformat-truncation warnings
a782956c2a30 e1000e: Fix -Wformat-truncation warnings
cae3c93ad96b veth: Fix -Wformat-truncation
dd8ab7cdbcda net: hns3: fix setting of the hns reset_type for rdma hw errors
660b8b783aed net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
f9cf94eca1be mmc: omap: fix the maximum timeout setting
895927dc1c6a btrfs: don't enospc all tickets on flush failure
8f6019b404c8 btrfs: qgroup: Make qgroup async transaction commit more aggressive
9a27e9ef2338 perf script: Handle missing fields with -F +..
565e4ecefeae ice: fix ice_remove_rule_internal vsi_list handling
b3425e19f614 net: dsa: mv88e6xxx: Default CMODE to 1000BaseX only on 6390X
13fe58e28c21 powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
957b2d2317e9 iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
af6366bb82e6 ARM: 8845/1: use unified assembler in c files
dbda5b6625bd ARM: 8840/1: use a raw_spinlock_t in unwind
8cada074059f serial: 8250_pxa: honor the port number from devicetree
1e084b9e2037 coresight: etm4x: Add support to enable ETMv4.2
8e28ed0b7b8d powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
5e91baea2c1f ath10k: don't report unset rssi values to mac80211
33cb50fa0930 drm/amd/display: Fix reference counting for struct dc_sink.
29b55af8a429 btrfs: save drop_progress if we drop refs at all
e3e9d97396cd kbuild: make -r/-R effective in top Makefile for old Make versions
366a5ee958d0 kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
22efb9f2aeff scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
b17b4bd79afc powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
7fe45a018fb3 usb: chipidea: Grab the (legacy) USB PHY by phandle first
a133f9f7f96a tools/bpf: selftests: add map lookup to test_map_in_map bpf prog
547272b44afa crypto: cavium/zip - fix collision with generic cra_driver_name
1ee9d34d6861 crypto: crypto4xx - add missing of_node_put after of_device_is_available
2b52034346cd lockdep/lib/tests: Fix run_tests.sh
a73713e53323 ath10k: Fix the wrong updation of BW in tx_stats debugfs entry
e486c95f5d50 mt76: fix a leaked reference by adding a missing of_node_put
96e2fec0fd8c wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
d8f775092499 PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
88f0ced0d75f mm/resource: Return real error codes from walk failures
6e33632946e4 tools lib traceevent: Fix buffer overflow in arg_eval
a1d9d2145c50 fs: fix guard_bio_eod to check for real EOD errors
dee200aba7dc ext4: fix bigalloc cluster freeing when hole punching under load
1d62e75a00bb jbd2: fix invalid descriptor block checksum
87f8ad583c79 iommu/vt-d: Disable ATS support on untrusted devices
b39898beee9d netfilter: conntrack: tcp: only close if RST matches exact sequence
8a0f1351bac1 PCI: mediatek: Fix memory mapped IO range size computation
fdb08cf7dbee netfilter: nf_tables: check the result of dereferencing base_chain->stats
dc8d8f83ea52 perf beauty msg_flags: Add missing %s lost when adding prefix suppression logic
d6dd80425f5d cifs: Fix NULL pointer dereference of devname
bcb99efab248 cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
88596e78dae4 f2fs: fix to check inline_xattr_size boundary correctly
e3eea74f61a8 dm thin: add sanity checks to thin-pool and external snapshot creation
f2e34b4ff47e cifs: use correct format characters
64f336255228 kasan: fix kasan_check_read/write definitions
326ce03840eb page_poison: play nicely with KASAN
0326696a6769 fs/file.c: initialize init_files.resize_wait
902507dada43 f2fs: fix to data block override node segment by mistake
3667215198eb f2fs: do not use mutex lock in atomic context
e92a6db09700 ocfs2: fix a panic problem caused by o2cb_ctl
8783c35917b6 mm/slab.c: kmemleak no scan alien caches
f67cd526ce1d mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
03bccbc025ed mm, mempolicy: fix uninit memory access
c59c60824a9a memcg: killed threads should not invoke memcg OOM killer
db5d8675b14a mm,oom: don't kill global init via memory.oom.group
66a4d4d03b7e docs/core-api/mm: fix user memory accessors formatting
34fa723765cf mm, swap: bounds check swap_info array accesses to avoid NULL derefs
57f5b77e9f46 mm/page_ext.c: fix an imbalance with kmemleak
93b7ebef7ee3 mm/cma.c: cma_declare_contiguous: correct err handling
90a70109697c mm/sparse: fix a bad comparison
60c86431ca4c perf c2c: Fix c2c report for empty numa node
11304c4b4ee4 x86/hyperv: Fix kernel panic when kexec on HyperV
34555ccacf94 iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
86aad65625cf scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
776de12b9f8f scsi: hisi_sas: Set PHY linkrate when disconnected
c5021aa17b05 libbpf: force fixdep compilation at the start of the build
267f65c94fb7 enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
aaad69802e17 net: stmmac: Avoid sometimes uninitialized Clang warnings
4e4d49798d86 sysctl: handle overflow for file-max
fd9317a3e2a0 include/linux/relay.h: fix percpu annotation in struct rchan
c7c82cea6985 gpio: gpio-omap: fix level interrupt idling
90833d08ffa5 clk: ti: clkctrl: Fix clkdm_name regression for TI_CLK_CLKCTRL_COMPAT
b48475a66ef5 xsk: fix to reject invalid flags in xsk_bind
3cac5ce088c2 net/mlx5: Avoid panic when setting vport mac, getting vport config
a1126c2008a3 net/mlx5: Avoid panic when setting vport rate
d1e83bda0c30 net/mlx5e: Fix access to non-existing receive queue
043a440018e3 tracing: kdb: Fix ftdump to not sleep
4c6df358aa87 apparmor: fix double free when unpack of secmark rules fails
a98984da006b f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
8d661a663048 f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
e56d6fa7acf3 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
1eaf6713c5b3 nvme-loop: init nvmet_ctrl fatal_err_work when allocate
32b73dc525a1 nvme-fc: fix numa_node when dev is null
fae38f280334 CIFS: fix POSIX lock leak and invalid ptr deref
dc2b4d4ab0ae ext4: cleanup bh release code in ext4_ind_remove_space()
820c1fa51501 Linux 5.0.6
debaa517c16c mt76x02u: use usb_bulk_msg to upload firmware
046098f056e2 bpf: do not restore dst_reg when cur_state is freed
b54f0c4976e7 KVM: x86: update %rip after emulating IO
cc3f680dd076 KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
d50d46e303d4 KVM: Reject device ioctls from processes other than the VM's creator
8c0823aa123b x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
c3bcf0314665 cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
53464ca9130b watchdog: Respect watchdog cpumask on CPU hotplug
1a0ecfd4e633 powerpc/pseries/mce: Fix misleading print for TLB mutlihit
4a2b2d5dc8fa powerpc/64: Fix memcmp reading past the end of src/dest
e92932ef2862 powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
8f84f7daabb2 objtool: Query pkg-config for libelf location
a0de19f1c307 perf intel-pt: Fix TSC slip
c9418d0addb0 perf pmu: Fix parser error for uncore event alias
8ad454a831e0 mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
8a86a416c948 mm/page_isolation.c: fix a wrong flag in set_migratetype_isolate()
77a5258a57e7 mm/memory_hotplug.c: fix notification in offline error path
2b57282beb60 mm/debug.c: fix __dump_page when mapping->host is not set
8b2f31de5d15 mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
467c01f2deea iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
ed3886c7d9f2 mm: add support for kmem caches in DMA32 zone
eef9dbbad03f mm/hotplug: fix offline undo_isolate_page_range()
d26254c4e7ca usb: typec: Fix unchecked return value
a3bed8b549ec usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
402f57808b9a usb: cdc-acm: fix race during wakeup blocking TX traffic
c7a5ef0d64f4 xhci: Don't let USB3 ports stuck in polling state prevent suspend
448c39c360ef usb: xhci: dbc: Don't free all memory with spinlock held
c08a998dec55 xhci: Fix port resume done detection for SS ports with LPM enabled
8e70eae1816b usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
40b8282f9009 mm/memory.c: fix modifying of page protection by insert_pfn()
08213ad7465f usb: common: Consider only available nodes for dr_mode
80ff12631ba5 USB: gadget: f_hid: fix deadlock in f_hidg_write()
8f00b32d3991 usb: mtu3: fix EXTCON dependency
dbc206874d67 phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
494d26aa3915 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
aa2250dec6ee gpio: exar: add a check for the return value of ida_simple_get fails
673bc99a6708 drm/i915/icl: Fix the TRANS_DDI_FUNC_CTL2 bitfield macro
25c939a9a594 drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
9241bd9b6401 drm/i915: Mark AML 0x87CA as ULX
0baddc2099dd drm/vkms: fix use-after-free when drm_gem_handle_create() fails
18e8f0f379a5 drm/vgem: fix use-after-free when drm_gem_handle_create() fails
5f0bf5cd357d cpufreq: scpi: Fix use after free
7466a2abe757 cpufreq: intel_pstate: Also use CPPC nominal_perf for base_frequency
0dcb45879a5f blk-mq: fix sbitmap ws_active for shared tags
50076360f4a0 drivers/block/zram/zram_drv.c: fix idle/writeback string compare
79d8bdf334d6 fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
e44461a50380 Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
c6ed8bf0ad03 ACPI / CPPC: Fix guaranteed performance handling
72c1487ea0a4 USB: serial: option: add Olicard 600
623533deabb1 USB: serial: option: add support for Quectel EM12
b7a0e2163e0d USB: serial: option: set driver_info for SIM5218 and compatibles
4503b17ed496 USB: serial: mos7720: fix mos_parport refcount imbalance on error path
639f52d29012 USB: serial: ftdi_sio: add additional NovaTech products
7790bb1039fb USB: serial: cp210x: add new device id
4fc867dd92cb serial: sh-sci: Fix setting SCSCR_TIE while transferring data
e39ecf48678e serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
763eafe0dbf5 serial: max310x: Fix to avoid potential NULL pointer dereference
198b7b7fb6b6 staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
22a76cf6a5eb staging: erofs: fix error handling when failed to read compresssed data
a0fdd9036176 staging: erofs: fix to handle error path of erofs_vmap()
be3d49395af0 staging: vt6655: Fix interrupt race condition on device start up.
37fc532d4d58 staging: vt6655: Remove vif check from vnt_interrupt
7d9cd1961a50 staging: speakup_soft: Fix alternate speech with other synths
de6283bc5caf staging: olpc_dcon_xo_1: add missing 'const' qualifier
da418a0b0963 staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
5bff7cb2bc89 tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
36e47853d0e9 tty: atmel_serial: fix a potential NULL pointer dereference
ade797815046 tty: mxs-auart: fix a potential NULL pointer dereference
35070431105f tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
70691073d296 tty/serial: atmel: Add is_half_duplex helper
d5845d77e9e1 drm/rockchip: vop: reset scale mode when win is disabled
631d09fd0856 scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
e188df764406 scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
143982417ad3 scsi: sd: Quiesce warning if device does not report optimal I/O size
98163d192bc5 scsi: sd: Fix a race between closing an sd device and sd I/O
310891a84396 ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
f2391e6767a6 fs/open.c: allow opening only regular files during execve()
95d78fc93943 kbuild: modversions: Fix relative CRC byte order interpretation
a6c74dcb5909 ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops
f2b1bfbc173a ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
c03c547b07d9 ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
dd1774f3d0cd ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
c672af11fbb0 ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic
12af8b3d94eb ALSA: hda/realtek: Enable headset MIC of Acer Aspire Z24-890 with ALC286
9635b3bf1a5f ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
b6de98dcc02e ALSA: hda/realtek - Add support headset mode for New DELL WYSE NB
8da540f343aa ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
545d1fe70648 ALSA: hda/realtek: merge alc_fixup_headset_jack to alc295_fixup_chromebook
c87a0bb99b83 ALSA: hda/realtek - Fixed Headset Mic JD not stable
56e3785b579b ALSA: pcm: Don't suspend stream in unrecoverable PCM state
94176d2a1d2b ALSA: pcm: Fix possible OOB access in PCM oss plugins
a30c0ff829c6 ALSA: seq: oss: Fix Spectre v1 vulnerability
abe5b0a76de9 ALSA: rawmidi: Fix potential Spectre v1 vulnerability
ce1ae80cacf7 net: dsa: qca8k: remove leftover phy accessors
0110524398bb NFSv4.1 don't free interrupted slot on open
e37c15d77d68 NFS: fix mount/umount race in nlmclnt.
7a4cdaf977c2 NFS: Fix nfs4_lock_state refcounting in nfs4_alloc_{lock,unlock}data()
bd01ab90e8a5 vfio: ccw: only free cp on final interrupt
73d6cb884532 powerpc: bpf: Fix generation of load/store DW instructions
a2216e2d0751 ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
8bf47766a9f9 tracing: initialize variable in create_dyn_event()
7bcb002431ba locks: wake any locks blocked on request before deadlock check
3ba84d2d7581 Btrfs: fix assertion failure on fsync with NO_HOLES enabled
84104398e6f3 btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size
e3a605636a80 btrfs: Fix bound checking in qgroup_trace_new_subtree_blocks
4a0584a21542 btrfs: raid56: properly unmap parity page in finish_parity_scrub()
da2dea634c22 btrfs: don't report readahead errors and don't update statistics
70c88bf99441 btrfs: remove WARN_ON in log_dir_items
ab0600d45dd9 Btrfs: fix incorrect file size after shrinking truncate and fsync
0253563b8be5 powerpc/fsl: Fix the flush of branch predictor.
bb06073a9cad tun: add a missing rcu_read_unlock() in error path
d01bf3762e29 ila: Fix rhashtable walker list corruption
4951fc65d915 r8169: fix cable re-plugging issue
fc8f36de7711 net: phy: don't clear BMCR in genphy_soft_reset
aa3f1b029e4b net: mii: Fix PAUSE cap advertisement from linkmode_adv_to_lcl_adv_t() helper
d9c13ecbf7c5 net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
98bfc778c5d9 thunderx: eliminate extra calls to put_page() for pages held for recycling
10792c33d060 thunderx: enable page recycling for non-XDP case
0c421524c1f1 vxlan: Don't call gro_cells_destroy() before device is unregistered
1a44391e1d03 vrf: prevent adding upper devices
e269f5f55c06 tun: properly test for IFF_UP
9868ffd44b25 tipc: fix cancellation of topology subscriptions
e13fbdf6e872 tipc: change to check tipc_own_id to return in tipc_net_stop
30e2a9a38d0c tipc: allow service ranges to be connect()'ed on RDM/DGRAM
632f3ed848bc tcp: do not use ipv6 header for ipv4 flow
118ad2c7de1d sctp: use memdup_user instead of vmemdup_user
d2af0ce54b1c sctp: get sctphdr by offset in sctp_compute_cksum
5a336f69cfa0 rhashtable: Still do rehash when we get EEXIST
278c7d7e4ecb packets: Always register packet sk in the same order
970d4fb2a231 net: usb: aqc111: Extend HWID table by QNAP device
566e793d051f net-sysfs: call dev_hold if kobject_init_and_add success
1b925f484028 net: stmmac: fix memory corruption with large MTUs
8cf288b55da9 net: rose: fix a possible stack overflow
baa14468e57d net: phy: meson-gxl: fix interrupt support
3ca86ad4e57a net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
475af63497f8 net: datagram: fix unbounded loop in __skb_try_recv_datagram()
017c90da5d8f net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
3e5c1acf0637 mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
780e62a6a021 mac8390: Fix mmio access size probe
282c70c23454 ipv6: make ip6_create_rt_rcu return ip6_null_entry instead of NULL
8122233e877a gtp: change NET_UDP_TUNNEL dependency to select
bd60a788b10b genetlink: Fix a memory leak on error path
3b58f24bdfec dccp: do not use ipv6 header for ipv4 flow
400dded59397 netfilter: nf_tables: fix set double-free in abort path
a556547bae00 Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
8dac9b8d27b5 Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
(From OE-Core rev: ccf8683a604d05be16c8bad635ef8eb136c7df5d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -r3 release, which has the following rt specific
fixes:
printk: An all-in-one commit to fix build failures
powerpc/stackprotector: work around stack-guard init from atomic
powerpc/pseries/iommu: Use a locallock instead local_irq_save()
powerpc: reshuffle TIF bits
tty/sysrq: Convert show_lock to raw_spinlock_t
(From OE-Core rev: be0ea6e6a3f5021f923fd57725ec204cf2f8f2c9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the latest korg -stable releases which comprise the
following commits:
1f6f316a537d Linux 5.0.5
a57af6d07512 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
6c77789fb46e ALSA: hda - Record the current power state before suspend/resume calls
8bc3816d6566 locking/lockdep: Add debug_locks check in __lock_downgrade()
0830cf62f529 x86/unwind: Add hardcoded ORC entry for NULL
0312f3032e35 x86/unwind: Handle NULL pointer calls better in frame unwinder
1e641e63fe0c loop: access lo_backing_file only when the loop device is Lo_bound
da75d3775401 netfilter: ebtables: remove BUGPRINT messages
a179695eddd9 aio: simplify - and fix - fget/fput for io_submit()
1c0fc5e9cb40 f2fs: fix to avoid deadlock of atomic file operations
648562c0a958 RDMA/cma: Rollback source IP address if failing to acquire device
244594c5f5c8 drm/vkms: Fix flush_work() without INIT_WORK().
35228ce61a81 Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto()
c8d311117c3e Bluetooth: hci_ldisc: Initialize hci_dev before open()
4d18023ade55 Bluetooth: Fix decrementing reference count twice in releasing socket
572ae5c7646b Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
c35a32eb2339 media: v4l2-ctrls.c/uvc: zero v4l2_event
c29313c07f2d ext4: brelse all indirect buffer in ext4_ind_remove_space()
f1902fd02d56 ext4: fix data corruption caused by unaligned direct AIO
635218fee409 ext4: fix NULL pointer dereference while journal is aborted
5b099547f29d ALSA: ac97: Fix of-node refcount unbalance
1fa1bfef5f4c ALSA: hda - Don't trigger jackpoll_work in azx_resume
2b1cf1a17a41 SMB3: Fix SMB3.1.1 guest mounts to Samba
809ecabb6d41 clocksource/drivers/riscv: Fix clocksource mask
70c1b15faf8b irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
dfa011546d27 objtool: Move objtool_file struct off the stack
198092b82db3 perf probe: Fix getting the kernel map
3bff3aabd586 cifs: allow guest mounts to work for smb3.11
8dfb1e702caa futex: Ensure that futex address is aligned in handle_futex_death()
72b8c5492f48 scsi: ibmvscsi: Fix empty event pool access during host removal
bc1bf16d7def scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
e109bf21f4c6 scsi: qla2xxx: Fix FC-AL connection target discovery
abe481cfe983 scsi: core: Avoid that a kernel warning appears during system resume
e846d79bc1ba net/mlx5: Fix DCT creation bad flow
62362ccdd45c powerpc/security: Fix spectre_v2 reporting
7f5ffb4c7a71 powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
9e063d979422 MIPS: Fix kernel crash for R6 in jump label branch function
de21552cc848 MIPS: Ensure ELF appended dtb is relocated
63703e8fd2af mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
e88f693e6e8d udf: Fix crash on IO error during truncate
48cce130d485 libceph: wait for latest osdmap in ceph_monc_blacklist_add()
027584c8ef01 iommu/iova: Fix tracking of recently failed iova address
98e2c51c1ac3 iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
0c113ec08d71 drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
5618b16763ce drm/vmwgfx: Don't double-free the mode stored in par->set_mode
109f5f9dff14 drm/amdgpu: fix invalid use of change_bit
cdb57f82a4bc mmc: renesas_sdhi: limit block count to 16 bit for old revisions
1494408bf863 mmc: mxcmmc: "Revert mmc: mxcmmc: handle highmem pages"
7e682a01b111 mmc: alcor: fix DMA reads
cc8cd197411b mmc: pxamci: fix enum type confusion
ae833c3eefaf ALSA: firewire-motu: use 'version' field of unit directory to identify model
3c09233b5dee ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist
239cc2c5a3c8 Linux 5.0.4
87e728e85559 SUNRPC: Respect RPC call timeouts when retrying transmission
f6716abfd12b SUNRPC: Fix up RPC back channel transmission
aed54941cf9e SUNRPC: Prevent thundering herd when the socket is not connected
1b2f5d715bbc s390/setup: fix boot crash for machine without EDAT-1
09bfb45ed842 net: dsa: lantiq_gswip: fix OF child-node lookups
8d244127d25f net: dsa: lantiq_gswip: fix use-after-free on failed probe
4e126cbd4f06 KVM: nVMX: Check a single byte for VMCS "launched" in nested early checks
5de7f6cd6aeb KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
f88f29f81d59 KVM: nVMX: Apply addr size mask to effective address for VMX instructions
64d259a70642 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
1e42327adb8d KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
c173d5417a11 KVM: x86/mmu: Detect MMIO generation wrap in any address space
5221117cd414 KVM: VMX: Zero out *all* general purpose registers after VM-Exit
cf8d03a4fe59 KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
e1bdcf061b48 KVM: Call kvm_arch_memslots_updated() before updating memslots
c61d88f39491 drm/amd/display: don't call dm_pp_ function from an fpu block
ea7da9ef23a0 drm/amd/powerplay: correct power reading on fiji
3bc65d729765 drm/radeon/evergreen_cs: fix missing break in switch statement
b78ee0965f86 drm/fb-helper: generic: Fix drm_fbdev_client_restore()
c7a35a9877b8 media: imx: csi: Stop upstream before disabling IDMA channel
145cab144d75 media: imx: csi: Disable CSI immediately after last EOF
e7a06193c52c media: imx-csi: Input connections to CSI should be optional
e7ae48ae4722 media: vimc: Add vimc-streamer for stream control
6932b9b4e677 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
202ed62dea70 media: sun6i: Fix CSI regmap's max_register
1d433d48516e media: lgdt330x: fix lock status reporting
f55d0cb10f5b media: imx: prpencvf: Stop upstream before disabling IDMA channel
9d032911a36c rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
5d6f031fa782 tpm: Unify the send callback behaviour
65a2af7599c6 tpm/tpm_crb: Avoid unaligned reads in crb_recv()
f484e220df15 x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace_call_replace()
384dada74d37 x86/kvmclock: set offset for kvm unstable clock
9b236e3f79d9 md: Fix failed allocation of md_register_thread
99e5abb7b895 perf intel-pt: Fix divide by zero when TSC is not available
85c9f1fb8a81 perf/x86/intel/uncore: Fix client IMC events return huge result
6228a6e3516f perf intel-pt: Fix overlap calculation for padding
2354deae355b perf auxtrace: Define auxtrace record alignment
0f43fd4bdb74 perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols
99c7a8ec4387 perf intel-pt: Fix CYC timestamp calculation after OVF
a0203d4e717e x86/unwind/orc: Fix ORC unwind table alignment
194f1ecd4906 vt: perform safe console erase in the right order
c8d3a581742f stable-kernel-rules.rst: add link to networking patch queue
0b60b354b33a bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata
dddd539dc325 bcache: treat stale && dirty keys as bad keys
97cf758e172c bcache: never writeback a discard operation
a8ce88427a9b PM / OPP: Update performance state when freq == old_freq
c9c0e5f01245 PM / wakeup: Rework wakeup source timer cancellation
f03f5295caf0 svcrpc: fix UDP on servers with lots of threads
1363f37fbd24 NFSv4.1: Reinitialise sequence results before retransmitting a request
867ae74fb190 nfsd: fix wrong check in write_v4_end_grace()
f5bed084b482 nfsd: fix memory corruption caused by readdir
2ececa64d67a nfsd: fix performance-limiting session calculation
88f786a8e78a NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
4fe2a7fda78a NFS: Fix an I/O request leakage in nfs_do_recoalesce
e83b6ac7deed NFS: Fix I/O request leakages
b41991d86722 cpuidle: governor: Add new governors to cpuidle_governors again
6eea03f8c368 cpcap-charger: generate events for userspace
9cc42d068f57 mfd: sm501: Fix potential NULL pointer dereference
83df21c731e6 media: cx25840: mark pad sig_types to fix cx231xx init
b6246ffae5a0 dm integrity: limit the rate of error messages
dca22c59e47e dm: fix to_sector() for 32bit
a8964a63780c ipmi_si: fix use-after-free of resource->name
d3432e5d0831 ipmi_si: Fix crash when using hard-coded device
98ab3b877400 Revert "KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()"
bf5615991a91 arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
4b6d75b38664 arm64: debug: Ensure debug handlers check triggering exception level
4f771d8acc74 arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
9afab3b6b9c5 arm64: Fix HCR.TGE status for NMI contexts
8f67dd8570ac ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
6a4c3ab2d53e powerpc/traps: Fix the message printed when stack overflows
24bf608e7438 powerpc/traps: fix recoverability of machine check handling on book3s/32
71bb4d024416 powerpc/smp: Fix NMI IPI xmon timeout
850a95bf2a46 powerpc/smp: Fix NMI IPI timeout
fcf1ca937f59 powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
4ca936a49360 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
55b852a06fe1 powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
651db1461793 powerpc/64s/hash: Fix assert_slb_presence() use of the slbfee. instruction
702c1ab420ab powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
f7d68a102ad4 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
3b218d244482 powerpc/83xx: Also save/restore SPRG4-7 during suspend
16ee62368aaa powerpc/powernv: Make opal log only readable by root
8d2cc8c1c4fe powerpc/wii: properly disable use of BATs when requested.
d0d33e87d143 powerpc/32: Clear on-stack exception marker upon exception return
232aa30f16b9 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
7e30471146d2 selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
f9897a30deb7 jbd2: fix compile warning when using JBUFFER_TRACE
8c343062c8fa jbd2: clear dirty flag when revoking a buffer from an older transaction
bb47633ab15e serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
7271438208b6 serial: 8250_pci: Fix number of ports for ACCES serial cards
c7388ba10902 serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
fa4d0361304f serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
37fe1d56aa2c dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
39367147f046 usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
07e326fd07d7 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
f11fa22a7a5f clk: ingenic: Fix doc of ingenic_cgu_div_info
7d4966247a99 clk: ingenic: Fix round_rate misbehaving with non-integer dividers
1a29715073a1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
7da58ad824b1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
d9d7760c1e45 clk: clk-twl6040: Fix imprecise external abort for pdmclk
a712a38100b5 clk: uniphier: Fix update register for CPU-gear
e1ac00773456 ext2: Fix underflow in ext2_max_size()
96728f35572e cxl: Wrap iterations over afu slices inside 'afu_list_lock'
25636de95557 IB/rdmavt: Fix concurrency panics in QP post_send and modify to error
ada60723d7cd IB/rdmavt: Fix loopback send with invalidate ordering
c8a23dfeb2d6 IB/hfi1: Close race condition on user context disable and close
2b9ef0bedaac PCI: pci-bridge-emul: Extend pci_bridge_emul_init() with flags
d011c7871d16 PCI: pci-bridge-emul: Create per-bridge copy of register behavior
ee0bf8d6e7fc PCI: pciehp: Disable Data Link Layer State Changed event on suspend
0d5bc50f524a PCI: dwc: skip MSI init if MSIs have been explicitly disabled
63a9e7ce6624 PCI: qcom: Don't deassert reset GPIO during probe
eafa704de27b PCI/DPC: Fix print AER status in DPC event handling
bae1cf68370d PCI/ASPM: Use LTR if already enabled by platform
4e9f8e86d6c7 swiotlb: Add is_swiotlb_active() function
a4eeaa9cc9da swiotlb: Introduce swiotlb_max_mapping_size()
38c3a86a8226 dma: Introduce dma_max_mapping_size()
db8913b46d74 ext4: fix crash during online resizing
edc0bf6532ba ext4: add mask of ext4 flags to swap
7c2cfdf99ae9 ext4: update quota information while swapping boot loader inode
ef2dfe6f8c82 gpio: pca953x: Fix dereference of irq data in shutdown
13cef9edc45b media: i2c: ov5640: Fix post-reset delay
8b82d499df87 i2c: tegra: update maximum transfer size
986d964baaaa i2c: tegra: fix maximum transfer size
775bd984147e parport_pc: fix find_superio io compare code, should use equal test.
d91315e99c55 intel_th: Don't reference unassigned outputs
1a1d6860c539 device property: Fix the length used in PROPERTY_ENTRY_STRING()
9a638bb82ff5 nvmem: core: don't check the return value of notifier chain call
d09e7041330b kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
9a842b43e4b8 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
8df6ab770e20 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
84fe80428739 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
7a34997043f1 ext4: cleanup pagecache before swap i_data
a0f6f657ac44 ext4: fix check of inode in swap_inode_boot_loader
f9308e46e02b cpufreq: pxa2xx: remove incorrect __init annotation
272b28097c30 cpufreq: tegra124: add missing of_node_put()
144c3557b1e1 cpufreq: kryo: Release OPP tables on module removal
737f4ead9606 x86/kprobes: Prohibit probing on optprobe template code
dbbb26db8938 irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
830d66c95e02 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
bd05a30753eb libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
028cbca07ab5 soc: qcom: rpmh: Avoid accessing freed memory from batch API
1098803b8cb7 Btrfs: fix deadlock between clone/dedupe and rename
3486142a68e3 Btrfs: fix corruption reading shared and compressed extents after hole punching
ebbb48419e8a btrfs: init csum_list before possible free
88e610ae4c3a btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
9c58f2ada4fa btrfs: drop the lock on error in btrfs_dev_replace_cancel
fb9c36acfab1 btrfs: scrub: fix circular locking dependency warning
9d7b327affb8 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
80dcd07c27df Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
98bb142aaff2 m68k: Add -ffreestanding to CFLAGS
3381b362f74c ovl: Do not lose security.capability xattr over metadata file copy-up
0fa6688a2882 ovl: During copy up, first copy up data and then xattrs
ef02f9fe5148 splice: don't merge into linked buffers
61d06e123502 fs/devpts: always delete dcache dentry-s in dput()
a15cf4d9a622 scsi: qla2xxx: Use complete switch scan for RSCN events
f54e2394acf7 scsi: qla2xxx: Avoid PCI IRQ affinity mapping when multiqueue is not supported
54e834ee7a6e scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
7d6d14a119c8 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
6c922faf889a scsi: sd: Optimal I/O size should be a multiple of physical block size
1ba35e5a3c5c scsi: aacraid: Fix performance issue on logical drives
bd1558978695 scsi: virtio_scsi: don't send sc payload with tmfs
ffd4a428a54e s390/virtio: handle find on invalid queue gracefully
39fdc16138b7 s390/setup: fix early warning messages
2aa8ab08c82c s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem
4b280a0bfc6d clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
773b445425d6 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
de90b88a20de clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
9d67c5e995da mt76: fix corrupted software generated tx CCMP PN
6b65a01d2dcc regulator: s2mpa01: Fix step values for some LDOs
60cb8b444fbf regulator: max77620: Initialize values for DT properties
4527a24a8f51 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
a34758ac6ad4 spi: spi-gpio: fix SPI_CS_HIGH capability
618491014846 spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
7406a055c507 spi: pxa2xx: Setup maximum supported DMA transfer length
5d919139baf9 spi: ti-qspi: Fix mmap read when more than one CS in use
4a9932c94626 mmc:fix a bug when max_discard is 0
aaf1e755f8f9 mmc: renesas_sdhi: Fix card initialization failure in high speed mode
351062f08fc1 mmc: sdhci-esdhc-imx: fix HS400 timing issue
cb1c7a9d2897 ACPI / device_sysfs: Avoid OF modalias creation for removed device
050b87cb66c6 xen: fix dom0 boot on huge systems
c0b8e1d95cbf vmw_balloon: release lock on error in vmballoon_reset()
020c90c694dc tracing/perf: Use strndup_user() instead of buggy open-coded version
aca126f4a451 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
e5cde571ee5f tracing: Use strncpy instead of memcpy for string keys in hist triggers
c892f4ee3db2 smb3: make default i/o size for smb3 mounts larger
3eb2412dd9da CIFS: Fix read after write for files with read caching
c73a769b63fb CIFS: Do not skip SMB2 message IDs on send failures
a992916a9c89 CIFS: Do not reset lease state to NONE on lease break
75bbb83e80c7 CIFS: Fix leaking locked VFS cache pages in writeback retry
afaf9d664b0f crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
741ae3caa62f crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
d78c34dfc288 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
814ec1461901 crypto: x86/aesni-gcm - fix crash on empty plaintext
2e0e52c3d618 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
c9e34c3c34b9 crypto: testmgr - skip crc32c context test for ahash algorithms
c58580801420 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
0173f7ca0e22 crypto: pcbc - remove bogus memcpy()s with src == dest
9cbfb0a8d1af crypto: morus - fix handling chunked inputs
c850ff289c4e crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
7007b2645f6e crypto: arm64/crct10dif - revert to C code for short inputs
d78abd635e6c crypto: arm64/aes-neonbs - fix returning final keystream block
844351fc03b0 crypto: arm/crct10dif - revert to C code for short inputs
e414d9bc86a7 crypto: aegis - fix handling chunked inputs
650b7246d460 crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
781bcac5b199 fix cgroup_do_mount() handling of failure exits
2ac714d69197 libnvdimm: Fix altmap reservation size calculation
fefd9f16efc3 libnvdimm/pmem: Honor force_raw for legacy pmem regions
4b9d1f8b61e8 libnvdimm, pfn: Fix over-trim in trim_pfn_device()
dd40489f6751 libnvdimm/label: Clear 'updating' flag after label-set update
5fa9cb709adc nfit/ars: Attempt short-ARS even in the no_init_ars case
b3971c932d0d nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
0c7979447489 acpi/nfit: Fix bus command validation
a2690301c976 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
59a0e57f0cd3 nfit: Fix nfit_intel_shutdown_status() command submission
9cd805133b84 dax: Flush partial PMDs correctly
c2ca8161971a crypto: rockchip - update new iv to device in multiple operations
e400988e1dae crypto: rockchip - fix scatterlist nents error
20af3634022b crypto: ahash - fix another early termination in hash walk
b03aa2833d56 crypto: ofb - fix handling partial blocks and make thread-safe
5d894501d423 crypto: cfb - remove bogus memcpy() with src == dest
64ae3c3d0c16 crypto: cfb - add missing 'chunksize' property
ded8d6308ffd crypto: ccree - don't copy zero size ciphertext
4fc9f0e1c9ff crypto: ccree - unmap buffer before copying IV
37ff06fd9cb5 crypto: ccree - fix free of unallocated mlli buffer
6e905e258c50 crypto: caam - fix DMA mapping of stack memory
e86dc780320e crypto: caam - fixed handling of sg list
4a18213573b8 crypto: ccree - fix missing break in switch statement
fce3d391401a crypto: caam - fix hash context DMA unmap size
9b2fdbdce1fb stm class: Fix an endless loop in channel allocation
2adb36ff325d stm class: Prevent division by zero
1cfec5613090 mei: bus: move hw module get/put to probe/release
55ced4559dbf mei: hbm: clean the feature flags on link reset
f644d56fe1d7 iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
a52251155bab iio: adc: exynos-adc: Fix NULL pointer exception on unbind
61328520e0b6 ASoC: codecs: pcm186x: Fix energysense SLEEP bit
5bd4f972e594 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
a7abca8506b5 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
5ababa4e34db 9p/net: fix memory leak in p9_client_create
3cccba9a38d5 9p: use inode->i_lock to protect i_size_write() under 32-bit
(From OE-Core rev: 0e08b8dc419703e0b468ceb19ad5fa02cdad7584)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Java support was removed in upstream gcc 7.
(From OE-Core rev: 81551871b183f802ce3c1d0c8fb16479d9671a04)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is consistent with other compressors also using their
best compression.
xz is currently the option that offers best compression,
using settings even lower than the default is surprising
and makes it harder to choose the best available compression.
For anyone who cares about compression time using a different
option like gzip or bzip2 is the logical choice.
For decompression, better compressed is actually faster
to decompress.
(From OE-Core rev: 9718c2d3fbb3281274af4556b34b7bac21fc7774)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having a native version of grub-editenv around can be useful for
setting the targets grub environment.
(From OE-Core rev: 25ead29f96eee47f565225bd2f0b4d0198405ccc)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To enable security flash, get the build error. To fix this,
0003-extensions-format-security-fixes-in-libipt_icmp.patch is required.
(From OE-Core rev: 2e135cea41c1276566a7390320468d1925481558)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also fixes a dhcp breakage noticed by Enrico Scholz.
(From OE-Core rev: 64047300da42b2cf29026c0b570f91b58bab5e6a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is done by concatenating the DTB with the kernels public key
to all built u-boot binaries. Furthermore the installation of all
the binaries is required.
(From OE-Core rev: bacb59079eb6ba7e43507a6d3a357341fb367f83)
Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new upstream release from the same stable branch
bringing new features and bugfixes (including CVE fixes).
COPYING changed http -> https.
configure no longer has a --without-libunistring-prefix option.
(From OE-Core rev: 64d1a8be539c003d920b33fd1ae1846da5bd99f9)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These have never been used in the BB manual and were an
artifact from copy-and-pasting the poky.ent file from
the main yocto-docs repo to this bb repo when the BB
manual was origially created. They are useless. I have
removed them.
(Bitbake rev: 3aaf8d6569beeee35ef9dc5021c4b1c2b6db7266)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 83faaf7b2a5f4fc4ae504b300134409e90389770.
This should never have merged as the change was rejected upstream and adding a library
to the ptest package resulted in it providing that SONAME which led to being
included in images like core-image-sato.
This in turn led to a ton of ptest failures in the 2.7 r1 QA report.
(From OE-Core rev: 303ac64b898e222904e6cbb88a59cd393b259c49)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patches were upstreammed.
License position in fccache.c was changed since code segment was moved
in the file.
Package requires uuid, therefore dependency on util-linux was added.
inherit gettext was added to fix:
...%s required but not in DEPENDS for file %s. Missing inherit gettext?
(From OE-Core rev: a03936d1bfd01afa320e289e3ba6e7a24979f196)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh patches.
Note:
6.0.0 is the last one to support autotools (needs explicit configure option),
newer versions will only support meson.
(From OE-Core rev: fe8349dcda28e35b24b5646301c381e7d8a9ec81)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patch has been upstreamed.
Changelog:
- Fix issue with handling invalid gateway addresses.
- Fix issue with handling updates of default gateway.
- Fix issue with DHCP servers that require broadcast flag.
- Add support for option to use gateways as time servers.
- Add support for option to select default technology.
- Add support for Address Conflict Detection (ACD).
- Add support for IPv6 iptables management.
(From OE-Core rev: f3c5958268a6fb8146300e4c33512b9f9d3b3c1c)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from libtirpc_1.0.3.bb to libtirpc_1.1.4.bb.
-Delete libtirpc/libtirpc-1.0.4-rc1.patch beacuse this patch has been
adopted in the high version.
(From OE-Core rev: c66ad450d7991c17221baae396044b7c50a71412)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let mkdirhier fail if existing path is not a folder instead of assuming a
directory hierarchy already exists.
(Bitbake rev: a8d9b82ccf93dcb74258693f62d88be380b1c0b7)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support RISC-V kernel image, using the "Image" target.
This change allows RISC-V support for fitImage via the following
flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage
with ramdisk and dtb).
This was tested using QEMU RISC-V 64-bit.
(From OE-Core rev: 35d0842c637b7d7ce0ab01f43b594c19a964872f)
Signed-off-by: Michael Scott <mike@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove dlopen-test.patch which originally used
to fix the test dlopen-test, but autually the
patch didn't resolve the issue as dlopen-test.patch
supposes the file /usr/lib/libnettle.so exists.
Instead deploy ${D}${PTEST_PATH}/libnettle.so to
fix the dlopen-test failure.
Update the initialization for the salt to fix
below Segmentation fault and also nettle-pbkdf2-test
failure.
# echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
[65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00]
[65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f
Segmentation fault
(From OE-Core rev: 83faaf7b2a5f4fc4ae504b300134409e90389770)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The subprocess.run was replaced by subprocess.check_call because
of compatibility support down to python 3.4. But we really don't
care about whether that command succeeds. Some user reports that
in some tmux environment, this command fails and gives some
unpleasant traceback output. So we use 'call' instead of 'check_call'
to avoid such problem.
(From OE-Core rev: c574aaf30c82ad397c0a6567b3cb52e7fb5d5829)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ubi, ubifs and multiubi FSTYPES calls `mkfs.ubifs' to create UBIFS
images.
In do_image_ubi, $vname is empty, the name of UBIFS image conflicts with
the one in do_image_ubifs, and it's a race risk.
[do_image_ubi]
mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${vname}${IMAGE_NAME_SUFFIX}.ubifs ${mkubifs_args}
[do_image_ubi]
[do_image_ubifs]
mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ubifs ${MKUBIFS_ARGS}
[do_image_ubifs]
In do_image_multiubi, $vname is not empty, the UBIFS image name does
not conflict with others.
So do not call mkfs.ubifs in do_image_ubi and depend on do_image_ubifs
to create UBIFS images.
The fix does not affect do_image_multiubi which still call mkfs.ubifs to
create multiple UBIFS images and symlinks.
[YOCTO #13272]
(From OE-Core rev: 3e5f075184d91dd99cf25cfe84bba1c946ed0c7c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The slow tests run unreliably with our current setup/infrsstructure/timeouts.
There are only five slow ones and having the other ~250 run reliably without timeouts
is the priority right now. We can revisit the slow tests at some later date if wanted.
(From OE-Core rev: 7469c2a5595337fc4407fa7a2ad06b5bf2347545)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this change, the ptests do not fail anymore,
except for the three failures caused by the 5.0 kernel regression:
- test_ssl and test_httplib lock up, and are skipped
(there is a separate patch for it)
- test_asyncio fails but does not lock up
(From OE-Core rev: 49720e6d680d0041850c00ce6dc859d557825595)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable DEBUG_BUILD, the perf build failed by the following error:
libbpf.c:727:36: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized]
This is ok until Khem commit a patch in oe-core:
16643b03227466e2c80a24c2d079fe36e89553c1
This commit import "-Og" option to "DEBUG_OPTIMIZATION", result in this error.
Actually, the warning was misinformation. We explore the code in libbpf.c:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/bpf/libbpf.c#n640
--------------------------------------------------------------------------
if (scn)
data = elf_getdata(scn, NULL);
if (!scn || !data) {
pr_warning("failed to get Elf_Data from map section %d\n",
obj->efile.maps_shndx);
return -EINVAL;
}
......
using data...
......
--------------------------------------------------------------------------
If the 'scn' was not null, the data will be initialized. if the data was null,
the function will return -EINVAL, so the data must be not null, but compiler
can't see it in 'if' code block, so treat it as 'maybe-uninitialized'.
(From OE-Core rev: 0eb4048bc5865579327f5a88086e3e3241b012cb)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove duplicate codes. Replace unnecessary class variables with
local variables. Rename variables and arguments with simple and
standard name.
(From OE-Core rev: 6bef61d36f3328fad003c0dc9c010d3f76ba96d8)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The quotes should be generated in the output to match the expected cmake
syntax for setting cache variables.
(From OE-Core rev: a19a6201c8cc255583bd014534b4a6ec2524070f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable DEBUG_BUILD, cogl compile failed with error:
| ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| *out_gltype = gltype;
| ~~~~~~~~~~~~^~~~~~~~
| ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:213:22: error: 'glintformat' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| *out_glintformat = glintformat;
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Source: https://gitlab.gnome.org/GNOME/cogl/blob/master/cogl/driver/gl/gles/cogl-driver-gles.c
it can handle correctly, so fix with -Wnoerror
(From OE-Core rev: 72aace12a499db8d1340c8705b177e6f191d853d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel-devsrc rework doesn't take into account localversion
files in the kernel source tree. This might result in modules with an
incomplete version magic when building out-of-tree using the SDK.
Before:
root@qemux86:~# insmod hello.ko
[ 42.000212] hello: version magic '5.0.3-yocto-standard SMP preempt
mod_unload PENTIUMM ' should be '5.0.3-my-custom-release-yocto-standard
SMP preempt mod_unload PENTIUMM '
[ 42.008200] hello: version magic '5.0.3-yocto-standard SMP preempt
mod_unload PENTIUMM ' should be '5.0.3-my-custom-release-yocto-standard
SMP preempt mod_unload PENTIUMM '
insmod: can't insert 'hello.ko': invalid module format
After:
root@qemux86:~# insmod hello.ko
[ 39.094288] hello: loading out-of-tree module taints kernel.
[ 39.108044] Hello World!
(From OE-Core rev: 68b9243729ac1982c9f1d30980cf979267bbc7c3)
Signed-off-by: Beniamin Sandu <beniamin.sandu@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ext module fiddle depend on libffi, in ruby source tree,
there is in internal libffi in case target platfrom don't
install libffi, but autotools.bbclass delete configure
under libffi and not run autoreconf to regenerate one.so
we met this error:
ruby-2.5.3/ext/fiddle/libffi-3.2.1/configure: No such file or directory
the fix is add depend and extra_oeconf to use libffi in the system
(From OE-Core rev: 55acc9b477919208d91781dbe9a03136f895a94b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the follow issue, the cause is that net-tools needs
libnss-myhostname.so when run "hostname -s".
root@qemuarm64:~# hostname -s
hostname: Unknown host
(From OE-Core rev: 5bad5eb5f41053e4963fb26972f56dbf67349378)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When I use recipetool to add a new recipe, it says:
[snip]
sys.exit(14)
NameError: name 'sys' is not defined
[snip]
(From OE-Core rev: 051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586)
Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix Python3 TypeError error in check_perl_modules:
Executing bitbake, the following error message will be throwed:
File ".../poky/meta/classes/sanity.bbclass", line
979, in check_sanity_eventhandler
check_sanity(sanity_data)
File ".../poky/meta/classes/sanity.bbclass", line
943, in check_sanity
check_sanity_version_change(status, sanity_data)
File ".../poky/meta/classes/sanity.bbclass", line
637, in check_sanity_version_change
status.addresult(check_perl_modules(d))
File ".../poky/meta/classes/sanity.bbclass", line
563, in check_perl_modules
errresult += e.output
TypeError: must be str, not bytes
So here, transfer e.output from bytes to str.
(From OE-Core rev: 2c6fff3fe315357d65d082679856615afc367d90)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gobject-introspection is mandatory for gstreamer1.0-python - there is no
configure option to enable or disable it.
To handle properly, this patch does:
* Make 'gobject-introspection-data' a required distro feature
* Add
'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"'
- it was removed in gobject-introspection.bbclass to avoid
| ERROR: libgee-0.18.0-r0 do_configure: QA Issue: libgee: configure was passed unrecognised options: --disable-schemas-install [unknown-configure-option]
(From OE-Core rev: bcc560134ebfbeeb0c1cc7b6c96e2da629df67a2)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that whitelisting for unknown configure options was removed in
gobject-introspection.bbclass gstreamer1.0-plugins-ugly/-good start complaining
| ERROR: gstreamer1.0-plugins-ugly-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-ugly: configure was passed unrecognised options: --enable-introspection [unknown-configure-option]
| ERROR: gstreamer1.0-plugins-good-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-good: configure was passed unrecognised options: --enable-introspection [unknown-configure-option]
So let only those gst-plugin recipes inherit gobject-introspection whose sources
support GI.
(From OE-Core rev: b6138d28f750f4306bc8b9c9baa047d9971dcb17)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this version support gnutls option again - it was mandatory for 2.58.0
(From OE-Core rev: 1638c56a5e38969b07d368176ae30d241199eb36)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A previous fix to python added -W and removed -v. This reverts that part of the change
since we're no longer getting ptest results at all. This change back to more
verbose output means we start getting test results again.
(From OE-Core rev: d70c77e4d5ec1d7cb4f134377df11e6475f31062)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are python tests which hang with recent kernels, 5.0 onwards. This causes
ptest to timeout for python3. Disable the problematic test until we better understand
the real cause and fix of the issue (discussions are happening with upstream).
See the patch for details/links.
(From OE-Core rev: 2a48df02a2871635f8235645bfd7f7a3ff0aef31)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer distros are using new versions of glibc and coreutils which use the new glibc
renameat2 function. We need to intercept this for correct functioning of pseudo. This
is essential to ensure new distros continue to work with the project.
Also, this version has a fix for path/inode cross corruption problems which
may explain our mysterious locale permissions issues.
Many thanks to Otavio and Peter Seebach for the help in figuring this out and
fixing it.
(From OE-Core rev: 0fb257121b68f38b40c078150db8f7d0979b7ea5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will generate the symlinks in the ptest binary directory using the
ptest class functionality instead of generating them manually. Because
the ptest class uses update-alternatives to get the metadata for the
symlinks it will respect the use of BUSYBOX_SPLIT_SUID automatically.
[YOCTO #12597]
(From OE-Core rev: a3923085d1cad7de7e644ff57d05c4a8955b5b00)
Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some binaries generated by util-linux will be replaced by core-utils
in the final image by update-alternatives, so use a dedicated directory
with symlinks to avoid using a binary generated by another package.
This will solve the issue with the ptest runner timing out when
running the kill ptests for util-linux.
[YOCTO #13238]
(From OE-Core rev: 1a8fd875f0b171e25a5ac8a32cc81ff3887935bd)
Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the functionality to create a binary directory within
PTEST_PATH directory. This directory will be populated with
symlinks pointing to the binaries installed by the package and
then renamed by update-alternatives. This way the ptest only needs
to source this binary directory in order to use the expected
binaries.
To enable this feature just add PTEST_BINDIR = "1" to the recipe.
[YOCTO #12597]
[YOCTO #13238]
(From OE-Core rev: bca35319b89ce668927728c4e2094f6e10cef298)
Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds update_alternatives_alt_targets function to get the metadata
for a package. This is for code reuse because the metadata would help
other classes that needs to be aware of how update-alternatives modify
the final package.
[YOCTO #12597]
[YOCTO #13238]
(From OE-Core rev: 04d966c0a91c5e16555bba827969a0a2fd96bb96)
Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Per https://github.com/golang/go/wiki/GoArm we need to set GOARM when
cross building for ARMv5, ARMv6 and ARMv7. The current approach of
using TUNE_FEATURES can be error prone, as we can see today when
attempting to build for Cortex-A7 which results in GOARM=''.
Since the value of MACHINEOVERRIDES already consolidates the values of
TUNE_FEATURES into something more consistent we can use the overrides
mechanism to set GOARM, leaving just a little bit of logic in
go_map_arm() to trigger off the arch (basically target vs host)
for the setting of GOARM.
(From OE-Core rev: 5f48939e26402b77fc3343f326765137f9570f40)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we are not doing a good job of consolidating GO environment
variables used by the go build system in the go.bbclass, instead we
are relying on the individual GO recipe authors to perform the
exports. This can result in inconsistent build results and often
binaries that are not properly cross compiled, resulting in segfaults
when the applications are run on the target.
For example the GO documentation recommends that the environment
include a value assigned to GOARM when cross building for ARMv5, ARMv6
and ARMv7 (https://github.com/golang/go/wiki/GoArm).
In order to avoid polluting the build scripts with unnecessary
exports, such as run.do_compile, we attempt to only export variables
when they apply to a specific arch.
(From OE-Core rev: 6300c4a83f7c8fc88702798ffe25bd6d57091673)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This message was using %s markers but nothing was being passed in.
(From OE-Core rev: d204398d40cbbea5a6b58a36fc289d569f2eb304)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of configuration option file based on user inputs.
Where this configuration option file will be used by the the manual
execution to display options for configuration rather than user
need to inputs configuration manually.
(From OE-Core rev: 23c7a037a85a825aa088bfac3a144c14087a9f49)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current manualexecution required user to input configuration manually
where there were inconsistent inputs and human typo issues.
Enable manualexecution to have the optional feature where it
will use pre-compiled configuration options file where user will
be able to select configuration from the pre-compiled list instead
of manual key-in the configuration. This will eliminate human error.
Expect the pre-compiled configuration options file in json format below
{
"bsps-hw": {
"IMAGE_BASENAME": {
"1": "core-image-sato-sdk"
},
"MACHINE": {
"1": "beaglebone-yocto",
"2": "edgerouter",
"3": "mpc8315e-rdb",
"4": "genericx86",
"5": "genericx86-64"
}
},
"bsps-qemu": {
"IMAGE_BASENAME": {
"1": "core-image-sato-sdk"
},
"MACHINE": {
"1": "qemuarm",
"2": "qemuarm64",
"3": "qemumips",
"4": "qemumips64",
"5": "qemuppc",
"6": "qemux86",
"7": "qemux86-64"
}
}
}
(From OE-Core rev: 1af7e04223b415a64e100a9f91d60f5e9b0f789a)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support project-file generators such as CodeBlocks, CodeLite,
Eclipse, Sublime, and Kate for both make and Ninja build systems.
The following generators are listed in cmake --help:
Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
CodeLite - Ninja = Generates CodeLite project files.
CodeLite - Unix Makefiles = Generates CodeLite project files.
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files.
Kate - Ninja = Generates Kate project files.
Kate - Unix Makefiles = Generates Kate project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
All but one of these contain one of the strings, "Unix Makefiles" or "Ninja".
In each of these cases, cmake generates the Makefiles (or ninja files respectively),
and also the appropriate project files, eg. .project and .cproject for Eclipse.
A user can set OECMAKE_GENERATOR in their local.conf to any
one of these strings, except "Watcom WMake" (not supported).
(From OE-Core rev: 256e8b5deae66b1463c359db12af396702912139)
Signed-off-by: Nikhil Pal Singh <nikhilpal.singh@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch tried to address a gcc problem when -Og is used, but it did
cause regressions on normal compiles when using clang e.g. the real
problem is to fix the compiler until then disable the warning in
DEBUG_FLAGS
This reverts commit 630281663893cdcfa9c4323b717b415d87d5510f.
(From OE-Core rev: 949961cdf7d4639da538045dc83c2a354e16ea80)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.18 kernel has been replaced by 4.19 and 5.0 in master.
poky-tiny has been tested against 5.0, so we can now remove
the 4.18 recipes.
The 4.18 branches will continue to be maintained, but we only
want two active kernels in the master/releases branches.
(From OE-Core rev: 9251cec30ff77b526363bed7299238e33b68feb4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweaking the qemuarm -tiny configuration so it will boot to a
prompt. There are still some remaining issues (like hvc console
warnings), but this is much better than a silent boot, or boot
hang like we previously had.
(From OE-Core rev: 12a5d50e65cd3510ba790cd7867b5319ef5028f4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration change:
Author: Kevin Hao <kexin.hao@windriver.com>
Date: Wed Apr 3 19:30:58 2019 +0800
mips: Enable the poweroff driver for the qemumips/qemumips64
As Indicated by Richard Purdie, in order to shutdown the machine we have
to explicitly enable the PIIX4 poweroff driver for the
qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta:
Use PIIX4 poweroff driver to power down") is merged.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
(From OE-Core rev: a166e005eb02e2486d59404938ff639bb4860bdf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's -stable ports to 4.18 which comprise the
following commits:
56f9fe35a4c5 Linux 4.18.33
bf44ff79b855 net: hns: Fixes the missing put_device in positive leg for roce reset
81614c514f4e mm: Use fixed constant in page_frag_alloc instead of size + 1
035b5a7a3e3f ipvs: fix warning on unused variable
58ab04e46d92 intel_th: gth: Fix an off-by-one in output unassigning
8cb600d53c6c ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
f11b815f39bf s390/setup: fix boot crash for machine without EDAT-1
4059d23a36a6 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
d94637dc73e5 KVM: nVMX: Apply addr size mask to effective address for VMX instructions
ee356457f2a3 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
b4485d9eb039 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
fe7d69927661 KVM: x86/mmu: Detect MMIO generation wrap in any address space
c34cae89374b KVM: Call kvm_arch_memslots_updated() before updating memslots
9fb8b858d552 drm/amd/display: don't call dm_pp_ function from an fpu block
d4302b79ffbd drm/amd/powerplay: correct power reading on fiji
5f8c51055244 drm/radeon/evergreen_cs: fix missing break in switch statement
3fc39cdce701 media: imx: csi: Stop upstream before disabling IDMA channel
5c008f7971b8 media: imx: csi: Disable CSI immediately after last EOF
74a5ff7db3b2 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
142a9bd66395 media: lgdt330x: fix lock status reporting
465204a0c772 media: imx: prpencvf: Stop upstream before disabling IDMA channel
42a2c1a40db0 rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
f9480ca4fb29 tpm: Unify the send callback behaviour
5f28509f81ad tpm/tpm_crb: Avoid unaligned reads in crb_recv()
ea37270d4c87 md: Fix failed allocation of md_register_thread
bd77b69a20ba perf intel-pt: Fix divide by zero when TSC is not available
c9a63c17458f perf/x86/intel/uncore: Fix client IMC events return huge result
63a25bdd4227 perf intel-pt: Fix overlap calculation for padding
66a57e3b95b5 perf auxtrace: Define auxtrace record alignment
76650254e18e perf intel-pt: Fix CYC timestamp calculation after OVF
274ef4840d79 x86/unwind/orc: Fix ORC unwind table alignment
3928a903e185 vt: perform safe console erase in the right order
645a7ca69855 stable-kernel-rules.rst: add link to networking patch queue
1c14622adb15 bcache: never writeback a discard operation
261aad0b3ea7 PM / wakeup: Rework wakeup source timer cancellation
ee610ce938cd svcrpc: fix UDP on servers with lots of threads
0530b66bfd53 NFSv4.1: Reinitialise sequence results before retransmitting a request
9a1d7090b36e nfsd: fix wrong check in write_v4_end_grace()
e7edb30fd6b7 nfsd: fix memory corruption caused by readdir
672f2e600d21 nfsd: fix performance-limiting session calculation
624865483faa NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
2b5fef7c9927 NFS: Fix an I/O request leakage in nfs_do_recoalesce
63adecfe53e9 NFS: Fix I/O request leakages
0b0545dd7e6e cpcap-charger: generate events for userspace
8f27f8570fa7 mfd: sm501: Fix potential NULL pointer dereference
f964d308797d dm integrity: limit the rate of error messages
1ed46c0c4f65 dm: fix to_sector() for 32bit
ea77e999f649 ipmi_si: fix use-after-free of resource->name
5a0bc68e9a0d arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
9dc4a1a6447e arm64: debug: Ensure debug handlers check triggering exception level
c33e96f8ddb2 arm64: Fix HCR.TGE status for NMI contexts
bb7edb8a409a ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
e8d7edd36a92 powerpc/traps: Fix the message printed when stack overflows
fbea0579063f powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
88d0042148f0 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
b0fc119506bf powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
6e975dad4a8e powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
fcf2d15a0a32 powerpc/83xx: Also save/restore SPRG4-7 during suspend
87481c65c805 powerpc/powernv: Make opal log only readable by root
12319dcc9a80 powerpc/wii: properly disable use of BATs when requested.
be851891b1c9 powerpc/32: Clear on-stack exception marker upon exception return
24d0b4b51dd1 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
3ea70bdc892f selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
00d550a195f2 jbd2: fix compile warning when using JBUFFER_TRACE
b18848cc624a jbd2: clear dirty flag when revoking a buffer from an older transaction
108ba9f62780 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
a79bc3e5fb7c serial: 8250_pci: Fix number of ports for ACCES serial cards
78e39f8bb56e serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
04eb2755b4e9 serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
9007ccc01a91 bpf: only test gso type on gso packets
ef5b4e1f5735 drm/i915: Relax mmap VMA check
23ca68189393 can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument
8529fecb481e gpio: pca953x: Fix dereference of irq data in shutdown
31e04ac8a8ba media: i2c: ov5640: Fix post-reset delay
1855d8c9e6c4 i2c: tegra: fix maximum transfer size
8bc3433b216d parport_pc: fix find_superio io compare code, should use equal test.
2c0542dbb267 intel_th: Don't reference unassigned outputs
c64422307c34 device property: Fix the length used in PROPERTY_ENTRY_STRING()
c88db9c0d127 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
5374924c9332 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
db693b432779 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
1811478753e3 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
492ea426ddce dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
f1bb88d5cee1 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
9377917b523a clk: ingenic: Fix doc of ingenic_cgu_div_info
f0412cfc06af clk: ingenic: Fix round_rate misbehaving with non-integer dividers
b6b4011ce7d1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
715fe29adfd1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
eb9aa4ebf835 clk: clk-twl6040: Fix imprecise external abort for pdmclk
917fa829bbf5 clk: uniphier: Fix update register for CPU-gear
80d526380136 ext2: Fix underflow in ext2_max_size()
bbf30be02326 cxl: Wrap iterations over afu slices inside 'afu_list_lock'
94f31d712f26 IB/hfi1: Close race condition on user context disable and close
a80eceacf85c PCI: dwc: skip MSI init if MSIs have been explicitly disabled
084005af4966 PCI/ASPM: Use LTR if already enabled by platform
821934eb7e75 ext4: fix crash during online resizing
01767d409537 ext4: add mask of ext4 flags to swap
f21830e67d5d ext4: update quota information while swapping boot loader inode
4de71f7481a7 ext4: cleanup pagecache before swap i_data
4821bf3c61bb ext4: fix check of inode in swap_inode_boot_loader
3cd2f1153739 cpufreq: pxa2xx: remove incorrect __init annotation
dc4443928ee2 cpufreq: tegra124: add missing of_node_put()
a0e15a764318 cpufreq: kryo: Release OPP tables on module removal
d28564a8e60e x86/kprobes: Prohibit probing on optprobe template code
56955276ba2e irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
14dda7949f82 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
3a8560230470 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
7e7e5728d161 Btrfs: fix corruption reading shared and compressed extents after hole punching
be1ee0e2fd42 btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
cb292a678ee2 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
f1f0ee2859e6 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
0e6de290666f m68k: Add -ffreestanding to CFLAGS
f78f0d35d43a splice: don't merge into linked buffers
433cbc2d30f3 fs/devpts: always delete dcache dentry-s in dput()
dbb3e594eecd scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
528af139ff6b scsi: sd: Optimal I/O size should be a multiple of physical block size
ee579fc4e875 scsi: aacraid: Fix performance issue on logical drives
818838eea45d scsi: virtio_scsi: don't send sc payload with tmfs
478bd6b7f170 s390/virtio: handle find on invalid queue gracefully
47c6ea331f58 s390/setup: fix early warning messages
69304bcf9021 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
947a053a6d47 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
084c1f5522f1 clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
95d7c41e448f regulator: s2mpa01: Fix step values for some LDOs
69913dbd2d55 regulator: max77620: Initialize values for DT properties
060c4f4e5d0c regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
9a215e43276c spi: pxa2xx: Setup maximum supported DMA transfer length
913cb6579c9a spi: ti-qspi: Fix mmap read when more than one CS in use
bb427df35f34 netfilter: ipt_CLUSTERIP: fix warning unused variable cn
8fb8fb9b67bb mmc:fix a bug when max_discard is 0
85d7e5a8000a mmc: sdhci-esdhc-imx: fix HS400 timing issue
882b6b31ea55 ACPI / device_sysfs: Avoid OF modalias creation for removed device
b3a0dfcfdd64 tracing/perf: Use strndup_user() instead of buggy open-coded version
054dec51d4e6 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
9031822970ed tracing: Use strncpy instead of memcpy for string keys in hist triggers
9367b21da22c CIFS: Fix read after write for files with read caching
db6a6106224d CIFS: Do not reset lease state to NONE on lease break
aef1cf600f41 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
134135d884be crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
6779d6bdf611 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
2dc6214860a1 crypto: x86/aesni-gcm - fix crash on empty plaintext
a6e83e8b0777 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
f62b08c81429 crypto: testmgr - skip crc32c context test for ahash algorithms
817cbacff744 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
bc647ef1085e crypto: pcbc - remove bogus memcpy()s with src == dest
9fb0d7b8f9c2 crypto: morus - fix handling chunked inputs
76bc71692818 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
67a69738546d crypto: arm64/crct10dif - revert to C code for short inputs
e1369ad2e0fc crypto: arm64/aes-neonbs - fix returning final keystream block
7807003aab85 crypto: arm/crct10dif - revert to C code for short inputs
f54fbb0e595b crypto: aegis - fix handling chunked inputs
1e1f858caf7d crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
c81bf050b880 fix cgroup_do_mount() handling of failure exits
638f4fb4ec67 libnvdimm: Fix altmap reservation size calculation
5ebf4aa4cf6b libnvdimm/pmem: Honor force_raw for legacy pmem regions
8f42d7ac37af libnvdimm, pfn: Fix over-trim in trim_pfn_device()
68ab49b299fb libnvdimm/label: Clear 'updating' flag after label-set update
063d65ab9fdd nfit/ars: Attempt short-ARS even in the no_init_ars case
387b9f01ac16 nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
b4a1581c801d acpi/nfit: Fix bus command validation
0c27d62e5752 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
fd8e9cd85f26 stm class: Prevent division by zero
dd1250b50c61 tmpfs: fix uninitialized return value in shmem_link
f4cadb1ec900 selftests: fib_tests: sleep after changing carrier. again.
7d856eb21fd5 net: set static variable an initial value in atl2_probe()
193e19cdf7a0 bnxt_en: Wait longer for the firmware message response to complete.
36ca3daa9b6a bnxt_en: Fix typo in firmware message timeout logic.
aae48df6d81b nfp: bpf: fix ALU32 high bits clearance bug
9fbe31fda762 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
a58be12de08d net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task
76320607b755 net: thunderx: make CFG_DONE message to run through generic send-ack sequence
6d0ebfc3fd3c bpf, lpm: fix lookup bug in map_delete_elem
4e9c4ca54607 mac80211_hwsim: propagate genlmsg_reply return code
ce8e30135705 phonet: fix building with clang
92f628f3c945 ARCv2: don't assume core 0x54 has dual issue
1faac2e0838b ARCv2: support manual regfile save on interrupts
53fc181c111c ARC: uacces: remove lp_start, lp_end from clobber list
515122c2d88a ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
b1ba6184493e ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN
a7bc4915f286 tmpfs: fix link accounting when a tmpfile is linked in
5beffa8382a9 mm: handle lru_add_drain_all for UP properly
7bd326b49004 net: marvell: mvneta: fix DMA debug warning
70e79b53dd95 arm64: Relax GIC version check during early boot
e3ca5da971e0 ARM: dts: armada-xp: fix Armada XP boards NAND description
2ac1b780dae0 qed: Fix iWARP syn packet mac address validation.
9e1395d75177 qed: Fix iWARP buffer size provided for syn packet processing.
5db253fa68bf ASoC: topology: free created components in tplg load error
31983c568574 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue
98b9e4e542eb net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()
d19e6c11ca1f qmi_wwan: apply SET_DTR quirk to Sierra WP7607
59e3fdbb9d45 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
63c87ecf5134 net: dsa: bcm_sf2: Do not assume DSA master supports WoL
a2e5d18914c1 net: systemport: Fix reception of BPDUs
8d33e97da9c5 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task
1c976b2c9f19 keys: Fix dependency loop between construction record and auth key
590d6228f163 assoc_array: Fix shortcut creation
5aa6e4f891a2 af_key: unconditionally clone on broadcast
8cae27e41068 bpf: fix lockdep false positive in stackmap
c16b543d92ee bpf: only adjust gso_size on bytestream protocols
908e6fda5d7d ARM: 8824/1: fix a migrating irq bug when hotplug cpu
d6fb8e0d9e7d esp: Skip TX bytes accounting when sending from a request socket
2dd0beec5a84 clk: sunxi: A31: Fix wrong AHB gate number
48db12b60b5b kallsyms: Handle too long symbols in kallsyms.c
882dbe3d5c03 clk: sunxi-ng: v3s: Fix TCON reset de-assert bit
1ab0225d6786 Input: st-keyscan - fix potential zalloc NULL dereference
8a6ef92721b7 auxdisplay: ht16k33: fix potential user-after-free on module unload
53f4d6948b35 i2c: bcm2835: Clear current buffer pointers and counts after a transfer
60bc9292260f i2c: cadence: Fix the hold bit setting
e6e2c6c26a58 net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
bf6be978fece mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
7f72a70062d7 x86/CPU: Add Icelake model number
4342d099969c net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()
6093401c933b scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd
09f4a1b6edf1 Revert "mm: use early_pfn_to_nid in page_ext_init"
7b9dd6a4976b mm/gup: fix gup_pmd_range() for dax
3cd584b00e50 NFS: Don't use page_file_mapping after removing the page
7d8cf3eb1dc7 xprtrdma: Make sure Send CQ is allocated on an existing compvec
5c64b19db5ce floppy: check_events callback should not return a negative number
1cae395dd7c0 ipvs: fix dependency on nf_defrag_ipv6
d05d4feda816 blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue
0af0889613a8 netfilter: compat: initialize all fields in xt_init
f2883b8eb0a9 mac80211: Fix Tx aggregation session tear down with ITXQs
665cb8ebf0f3 mac80211: call drv_ibss_join() on restart
0a1d76449997 Input: matrix_keypad - use flush_delayed_work()
375152e09de2 Input: ps2-gpio - flush TX work when closing port
b15599627bd0 Input: cap11xx - switch to using set_brightness_blocking()
a1e0fb446a4b ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
7a587d77b211 ASoC: samsung: Prevent clk_get_rate() calls in atomic context
bf74076b7dd3 KVM: arm64: Forbid kprobing of the VHE world-switch code
d74df61de605 arm/arm64: KVM: Don't panic on failure to properly reset system registers
58d6ec80a286 arm/arm64: KVM: Allow a VCPU to fully reset itself
c05c5a6e1f0e KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
ba274486de32 ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables
a3d8ea1f2555 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized
237e6c308062 Input: pwm-vibra - stop regulator after disabling pwm, not before
6a48d09a77a1 Input: pwm-vibra - prevent unbalanced regulator
fcae9decbc8f s390/dasd: fix using offset into zero size array error
f98a25dc02b7 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
74b6b1e49d06 gpu: ipu-v3: Fix CSI offsets for imx53
1c0723cba9a9 drm/imx: imx-ldb: add missing of_node_puts
321e0fbdae09 gpu: ipu-v3: Fix i.MX51 CSI control registers offset
f0e52962b9f2 drm/imx: ignore plane updates on disabled crtcs
38fc637ca52e crypto: rockchip - update new iv to device in multiple operations
5d89757429b3 crypto: rockchip - fix scatterlist nents error
2365ae3a03c9 crypto: ahash - fix another early termination in hash walk
512b0d76c2c9 crypto: cfb - remove bogus memcpy() with src == dest
66b1348939de crypto: cfb - add missing 'chunksize' property
40c76d76e11f crypto: ccree - don't copy zero size ciphertext
2ff9501c582f crypto: ccree - fix free of unallocated mlli buffer
ba3c72efd404 crypto: caam - fixed handling of sg list
5d9cee322faf crypto: ccree - fix missing break in switch statement
e0ea8deb72db stm class: Fix an endless loop in channel allocation
95b10e2f6a61 mei: bus: move hw module get/put to probe/release
1af8d0304685 iio: adc: exynos-adc: Fix NULL pointer exception on unbind
513052a27dab ASoC: codecs: pcm186x: Fix energysense SLEEP bit
d5f37b5d7009 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
da21c5d9bacf ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
b3e4f70db4f3 9p/net: fix memory leak in p9_client_create
4b84eeface08 9p: use inode->i_lock to protect i_size_write() under 32-bit
4441736404a3 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
3f7de80a22c6 perf/core: Fix impossible ring-buffer sizes warning
(From OE-Core rev: ed4cc3a801445e873eac92d7b686a2956e1355c2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The other kernel versions had the -tiny KBRANCH typo of 4.15
fixed, but 4.18 was missed. So we update the kbranch to the right
version for 4.18 as well.
[YOCTO #13247]
(From OE-Core rev: f3d3f320b846a56d52d8f5f073db5b37e6f3ba50)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the follow config tweak:
cgl: audit: Remove CONFIG_AUDIT_WATCH and CONFIG_AUDIT_WATCH
In the following commits, these two options have been replaced by
CONFIG_AUDITSYSCALL which is in audit.cfg.
c8fc5d49c341 ("audit: remove WATCH and TREE config options")
cb74ed278f80 ("audit: always enable syscall auditing when supported and audit is enabled")
Signed-off-by: He Zhe <zhe.he@windriver.com>
(From OE-Core rev: 2fff1900a580d592acc22dd095b226b3830c36ff)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Kevin's patch that cleans up a build warning:
x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY
The two merge commits 107b161b1cbaf ("Merge branch 'v4.19/standard/base'
into v4.19/standard/preempt-rt/base") and dc37b7080cd55 ("Merge tag
'v4.19.8' into linux-4.19.y-rt") almost have the same content, but
introduce two define of TIF_NEED_RESCHED_LAZY for x86 arch. Drop one of
them to fix the build warning.
(From OE-Core rev: d8d339afd2f0e2873a1a782c05aaaa810fff72be)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating poky-tiny to prefer 5.0 as the kernel version. Boot
tested against qemux86 and qemuarm. This removes the last user
of the 4.18 kernel, so we can queue it for removal from master.
(From meta-yocto rev: 2d44e7ab1a7f85092b5c20287663448b7d784f39)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link has disappeared. I am no longer using it and am using
the article to "Why Fakeroot" to cover both Fakeroot and
Pseudo "extra information" stuff.
(From yocto-docs rev: 679c6a48a8e4bcc51bb8e97f2ba80123bdba6a5c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
unify the spacing for questions in various places
e.g. before the [Y/n] there should be a space, and before
"?" there should be none. Unify the questions where the
system expect an answer from the end user
(From yocto-docs rev: 0643b2e22273a798b96f126931885efd733e5f89)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the description to tell the user they can safely
clean up the DL_DIR after creating tarballs of the source
files from downloaded repos.
(From yocto-docs rev: 6aff69632ea3102b6389ea510e1e3fa5bf1c2123)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make prune_suffix prune a suffix instead of replacing a substring that could
happen more than once and not only when it ends with it.
(Bitbake rev: 57e765e38c6382a9b36d5ee2a6f3fa96ac905b82)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change adds three patches to improve the handling of stdout/stderr and child
processes to try and improve logging reliability in ptest-runner.
(From OE-Core rev: 1c0fffc401cdb581a93d16d225f53c83359ff209)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to run sed with the -u option to ensure the output is unbuffered else
ptest-runner may timeout thinkig things were idle. Busybox doesn't have the -u
option so we need to RDEPEND on sed (which is a good thing to do if we use it
anyway).
Alex Kanavin should get credit for discovering the problem.
(From OE-Core rev: d3ffbebf43c23faa43af81c9ecf6fcaef36d675b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option is enabled by default in Busybox and becomes
useful in networks with internal resources becasue allows
to use much shorter names.
E.g. instead of "server.internal.company.com" it's possible
to use just "server" if DHCP server is configured with:
---------------------------->8-----------------------
option domain-search "internal.company.com";
---------------------------->8-----------------------
(From OE-Core rev: 06a726141ef24bea2d17d2adfcb870e9cccacb74)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there are three issues which can be enhanced:
1. Fuzz warnings cannot be configured as errors for hardening. It happened
often to me that these warnings were overseen and detected after commits
were already out.
2. The output is too verbose - particularly when more than one file is
affected. Meanwhile all users should know why patch fuzz check is performed.
So move links with background information to insane.bbclass.
3. Reduce copy & paste effort slightly by printing PN (nit: <recipe> was not
a correct suggestion e.g for native extended recipe - see example below)
To achieve patch.py drops patch-fuzz info encapsulated by a header- and footer-
string into log.do_patch. With this insane.bbclass can drop warnings/errors
depending on 'patch-fuzz' in ERROR_QA or WARN_QA. Default remains unchanged:
Spit out warnings only.
A message for two fuzzed patches and 'pact-fuzz' in ERROR_QA now looks like:
| ERROR: autoconf-native-2.69-r11 do_patch: Fuzz detected:
|
| Applying patch autoreconf-exclude.patch
| patching file bin/autoreconf.in
| Hunk #1 succeeded at 73 with fuzz 1 (offset -3 lines).
| Hunk #2 succeeded at 143 (offset 6 lines).
| Hunk #3 succeeded at 167 (offset 6 lines).
| Hunk #4 succeeded at 177 (offset 6 lines).
| Hunk #5 succeeded at 281 (offset 15 lines).
| Hunk #6 succeeded at 399 (offset 15 lines).
| Hunk #7 succeeded at 571 (offset 20 lines).
| Hunk #8 succeeded at 612 (offset 20 lines).
| Hunk #9 succeeded at 636 (offset 20 lines).
| Hunk #10 succeeded at 656 (offset 20 lines).
| Hunk #11 succeeded at 683 (offset 20 lines).
|
| Applying patch autoreconf-gnuconfigize.patch
| patching file bin/autoreconf.in
| Hunk #1 succeeded at 55 with fuzz 1 (offset -3 lines).
| Hunk #3 succeeded at 663 (offset 18 lines).
|
| The context lines in the patches can be updated with devtool:
|
| devtool modify autoconf-native
| devtool finish --force-patch-refresh autoconf-native <layer_path>
|
| Don't forget to review changes done by devtool!
|
| ERROR: autoconf-native-2.69-r11 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz]
(From OE-Core rev: c762c0be43a3854a43cb4b9db559b03126d50706)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
... instead of replacing a substring that could happen more than once and not only when it ends with it. Do the same for the prefix.
See related https://github.com/openembedded/bitbake/pull/24 . There it stops replacing sufixes once first one is matched but not here.
(From OE-Core rev: 610ac84170f8a91cc3321edfc336a9e39f24ebe3)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running:
# autoreconf -if
on target for prelink-cross was failing due to missing perl modules:
Can't locate File/Spec.pm in @INC ...
Add the required perl modules and duplicate them for the SDK.
(From OE-Core rev: 52657215bcffc022821395950cf3236250370223)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If TMPDIR is moved the error message says "move it back or rebuild" but the
obvious rebuild method of running 'bitbake [recipe]] -cclean' fails with the
same error.
Make it clear what we mean by adding "delete and".
(From OE-Core rev: 36805a628f8208ff6d7fba9955c5fb1ed6396395)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have hard-float ABI enabled, certain tools e.g. llvm/clang
expects the hf version of tuples for crt files from libgcc, therefore
create a symlink to help the cause.
This makes clang work with hard-float defaults on target
(From OE-Core rev: f58cf0d0ff05636a70330c54f7e537f9480674c4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cml1 and ccmake bbclasses generate configuration fragment source
files that must be exported from the WORKDIR as a source file to be
preserved across builds. This change adds detection of the current
recipes inherited classes and for cml1 and ccmake classes checks for the
specific generated configuration fragment files. These files are then
exported by devtool and included as SRC_URI files from within the target
layer.
(From OE-Core rev: 7a1fabe4a24552ce8a50c8d6009969ca52a5fd27)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ccmake bbclass implements two tasks. The first task 'ccmake'
preserves the configured state of CMakeCache.txt (generated from the
configure task) and invokes the 'ccmake' program within a oe_terminal
execution. The user can then review, select and modify configuration
options and once satisfied with the configuration exit ccmake. Once
ccmake has exited the build can be run and the updated configuration
should be reflected in the output build.
The ccmake bbclass has a second task 'ccmake_diffconfig' to compute the
differences in configuration which was modified by ccmake. Since there
are many ways to persist the configuration changes within recipes and
layer configuration, the differences are emitted as a bitbake recipe
fragment (configuration.inc) using EXTRA_OECMAKE as well as a CMake
script file which can be used as a input to cmake via the '-C' argument.
Both files are generated in the WORKDIR of the build and the paths to
the files are written as output from the build. It is then up to the
user to take this configuration and apply it to the desired location.
(From OE-Core rev: 091c46a8ecba6b6b7c44078ae2b567a2ef6e72e9)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the building of the curses based ui for cmake. This depends on
ncurses.
(From OE-Core rev: a8397def4eebacb8876d021129309a6903b71b2f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The XML catalogue is now at the canonical path, ${sysconfdir}/xml/catalog.
(From OE-Core rev: d7c0e9d1800912a0f35fb554d54945b728a04a6f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because of differences in how RDEPENDS works for native/target, add libxml2 and
libxslt to RDEPENDS (so that native dependencies work), but also add
libxml2-utils (for xmllint) and libxslt-bin (for xsltproc) to target RDEPENDS.
Also add libxml2-native to DEPENDS as that is needed for the
docbook-(xml,xsl)-native catalog to be generated.
(From OE-Core rev: b571315acb59f61335c20849d2ce7f5059258c1a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that docbook-xml and docbook-xsl use the xmlcatalog class, xmlto can stop
shipping a hand-coded catalogue.
It still needs to keep the wrapper so that the sysroot catalog is used instead
of /etc/xml/catalog. The wrapper is native-specific so mark it as such.
Note that this does effectively break xmlto on the target as the xmlcatalog
class doesn't write a catalog for the target yet, but I'm hoping that nobody
actually uses it on target.
(From OE-Core rev: b12686ecdd0b0bdb36c8d1a2baeeb66aadff1b8c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that docbook-xml and docbook-xsl are writing catalog files, tell
xmllint/xsltproc where the catalog is.
(From OE-Core rev: e60ec1dc23df918a7ec2e4572233ee12e73f4aff)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The XML catalogue is now at the canonical path, ${sysconfdir}/xml/catalog.
(From OE-Core rev: 2c91c3ef14269b7b329b3008e5b3a8e65ea4f494)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no need to ship a static catalog that we have to patch, as upstream
comes with a catalog fragment.
Use the xmlcatalog class to register this catalog.
(From OE-Core rev: c4638117142b4e516755161bf35b29c82f41cfc7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tidy up the install task and don't version the directory under ${docdir}.
(From OE-Core rev: 4bf256602add685f86058aced1b8ebe0d1413b5d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of shipping a static catalog and patching it for native builds, use
libxml2-native to generate a catalog with the correct paths.
Use the xmlcatalog class to register this catalog automatically.
(From OE-Core rev: 62a264df8806c48bfd8e96bec6faf6675b873e35)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new class to handle recipes that need to add/remove entries in the XML
Catalog(ue)[1]. In the future it will handle updating the catalogue on the
target, but the immediate requirement is during the build so currently this only
works with native recipes.
Note that as this is a new class and target use hasn't been implemented yet, it
is possible that the behaviour of this class will change.
[1] https://en.wikipedia.org/wiki/XML_catalog
(From OE-Core rev: 28c58cff76b24cea2745352c6557a81c04d85138)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multiple patches are to be applied to improve the current ptest suite.
0001-Fix-tests-link-libpause_consumer-on-liblttng-ctl.patch
0002-Fix-test-skip-test_getcpu_override-on-single-thread-.patch
0003-Fix-test-unit-the-tree-origin-can-be-a-symlink-itsel.patch
0006-Tests-check-for-lttng-modules-presence.patch
All deal with problem in the test suite. Most of these are already
accepted upstream and will be removed on the next recipe update.
0004-Skip-when-testapp-is-not-present.patch
Is a OE specific fix that make sure that we skip the test if
the test util application (event generator) is not present. We are
still unsure on how (upstream) we are going to solve this problem. We
already have this problem if a user build lttng without lttng-ust
(--without-lttng-ust). We will most probably end up splitting each test
into kernel and userspace tests and adjust the makefile accordingly.
Another option is to probe lttng for enabled function at runtime.
0005-Tests-use-modprobe-to-test-for-the-presence-of-lttng.patch
Is a requirement for 0006 that should be accepted upstream shorlty.
0007-Fix-getgrnam-is-not-MT-Safe-use-getgrnam_r.patch
Fixes a race found while testing OE built with musl. This is a legit
bug. The fixes or a variant should be accepted soon.
(From OE-Core rev: 57db7be54b9ee21b2be33b83782f0636d0702168)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been unused in OE-Core since the introduction of recipe specific
sysroots. Its not so useful since it only runs once upon sstate installation,
not per installation per sysroot.
Remove the weird looking comment left behind in pixbufcache too.
(From OE-Core rev: 2af49716504f65be0cb01f609ea9bfa334926589)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the manual execution display step by sorting
the step as string, where steps were not being sorted
correctly when there are more than 9 steps.
Fixed the step sorting by sorting step as integer.
(From OE-Core rev: 192c255d9f597b3526a5b94fcf3eedc4527189ed)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current manualexecution required pressing enter button to show each step
information, where this was wasting execution time. Enable display
full steps without needing to any press enter button.
(From OE-Core rev: e44c9a018c13208fef0dcef4479ce71977628cd4)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current input checking does not match the standard input practiced
by QA team. Change the input checking to match the standard
input practiced by the QA team.
(From OE-Core rev: 630a93c740359a65249a198f314f15040042f8d3)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libsecret 0.18.7 removed intltool and now uses pure gettext.
(From OE-Core rev: 5b8b1a27dff07c616eb62522c5a2ea15ebca3d1b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a wrapper around "shlex.quote()" and can be used in
"${@...}" context where shlex (or pipes, which provides similar
functionality) is unavailable.
(From OE-Core rev: 127141f5023a7e3fc3963dc7d76cfce9067a9e8a)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests such as strace-ptest require more than the current 500MB of free
space. Increase the amount available, staying under the 4GB limit. We have more
flexibility now since we shrank kernel-devsrc and the comments are out of date
due to that.
This should improve the strace-ptest results and the util-linux ones since
those sort after strace and also hit the space issues as strace-ptest didn't
clean up after itself when failing.
(From OE-Core rev: 5c1b2459e2d5651b02bdfdf6cb93b7f9ce32df0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than simply discarding the ptest data, change the code to discard
it when writing out the new testresult files, or optionally either preserve
it, or write it as seperate discrete logs.
This means the autobuilder should start writing out individual ptest log
files as well as allowing ueers to extract these manually.
(From OE-Core rev: a1e0944bf260ef50dd7dfcb10db248fdd7f45bc9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Store operations using a single file as a source weren't working as the os.walk
command didn't like being given a single file. Fix the store operation to
work for single files.
(From OE-Core rev: eb5bbe613d8c7cbcd8b74d8ac0073c2217970410)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The FindFontconfig module added by 3.14.0 accidentally used uppercase
FONTCONFIG_* variable names that do not match our conventions.
3.14.1 revises the module to use Fontconfig_* variable names.
This is incompatible with 3.14.0 but since the module is new in the
3.14 series usage should not yet be widespread.
(From OE-Core rev: 6c85363eea0278a6952e80edb549e80e1fcbdba7)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
unify the spacing for questions in various places e.g. before the [Y/n]
there should be a space, and before "?" there should be none. Unify the
questions where the system expect an answer from the end user.
(From OE-Core rev: 7a3f128b19e55b751e81bc676e5946544b0c8735)
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxml-native by default uses a XML catalogue at /etc/xml/catalog, instead of
the one in the sysroot. Until this is fixed (#13260) override the XML catalogue
manually in the recipe to point explicitly at the docbook-xml and docbook-xsl
catalogues.
This fixes either complete build failures (where the host doesn't have
docbook-xml installed) or slow builds (where the host doesn't have docbook-xsl
installed).
(From OE-Core rev: efb6168e41797ad6ed00ede6f3d9141b90eff4b5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes sure, e.g., ${SOC_FAMILY} and ${MACHINE} have higher
priorities than aarch64.
(From OE-Core rev: 4d1339af88543d85930139dbcb87a669f285ea66)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Platforms like powerpc64le have different variants of the same target.
Perl guesses that the target should be called powerpc64le-linux, while
TARGET_ARCH think it is called ppc64le-linux. If we use TARGET_ARCH
for perl-native on powerpc64le this build will fail since the
post-install rm command won't reference and existing file.
We know that there is only one arch existing per build, so use a
wildcard for finding the path instead of trying to guess the correct
architecture name.
(From OE-Core rev: 6eadd9f5ac2887311ae9ed133b389ae4d64a8181)
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The armv8a tune specific PACKAGE_EXTRA_ARCHS contained tune feature
names like "crc" and "crypto" rather than package architecture names
like "armv8a-crc" and "armv8a-crypto".
(From OE-Core rev: 1756f2354745ee709886683422887efed4e10dba)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below link error for powerpc
lib/libLLVMSupport.a(CommandLine.cpp.o): in function `llvm:🆑:opt_storage<(anonymous namespace):
:HelpPrinterWrapper, true, true>::setLocation(llvm:🆑:Option&, (anonymous namespace)::HelpPrinterWrapper&) [clone .isra.189]':
/usr/src/debug/llvm/8.0-r0/git/llvm/include/llvm/Support/CommandLine.h:1218:(.text.startup+0x5c):
relocation truncated to fit: R_PPC_PLTREL24 against symbol `llvm::errs()' defined in .text section in lib/libLLVMSupport.a(raw_ostream.cpp.o)+8000
lib/libLLVMSupport.a(CommandLine.cpp.o): in function `setLocation':
(From OE-Core rev: 5302047be6bcdae85a43f9b09778a91dcd03b191)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current validation check function inside resulttool disallow the
report for single result file although the underlying library
was able to handle both directory and file as source input to report.
Removed the validation check as it was no longer needed and to
enable report for single result file.
(From OE-Core rev: a85a8febf04d763dd5b3d20487d528731105afab)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the default POSIX sh instead of relying of var-SHELL being set to a
compatible shell. Such that in cases where SHELL is set to a
incompatible shell (e.g. csh, zsh, fish, etc.) the terminal command does
not just silently fail.
(From OE-Core rev: 50d3ec1ac994fb5968d8edf82823a7e3d1d67d21)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the runfile that is generated to have the same behaviour as
bitbake with regards to emitting the shebang and trap code. The existing
implementation used 'env' with the current var-SHELL. This means that if
the user has configured there system/environment with a alternate shell
(e.g. csh, zsh, fish, etc.) the do_terminal function would attempt to
execute with the wrong/incompatible shell and fail silently.
With this change devshell and other classes that rely on terminal can
now run when the var-SHELL is not set to a sh compatible shell. For
devshell, it will launch the devshell with the users configured shell.
(From OE-Core rev: 53724281eb486847bc3be824aa4513a8688ec296)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix CVE-2017-6519.
CVE: CVE-2017-6519
(From OE-Core rev: 979e3f4ac1e12228d368315169a32d5ab0209e91)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move prepare_recipe_sysroot's task dependency on populate_sysroot from
base.bbclass (where it was specified in the middle of do_configure's
definition) to staging.bbclass (where the rest of
do_prepare_recipe_sysroot is defined). This was a left-over from when
recipe specific sysroots were introduced in commit 809746f5 and the
task dependency on populate_sysroot was moved from do_configure to
do_prepare_recipe_sysroot.
(From OE-Core rev: fe6d020dd609fbde7e4413cef9bbdd4e3962c82c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tzdata is converted to an empty meta package which pulls in all
subpackages. The subpackages are defined in a TZ_PACKAGES variable so
that we don't have to repeat ourselves.
The timezones and conffiles which were in the tzdata package are moved
to a new 'tzdata-core' package.
(From OE-Core rev: 2af4d6eb2526d60b26bc5128068541ff3350fb58)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently CONFIG_RFKILL is enabled only if both bluetooth *and* wifi
distro features are present. It should be enabled when either feature
is present. Fix this by switching to use of bb.utils.contains_any().
(From OE-Core rev: 5e6d7760c599b09b9417aa8d044084f4c5123762)
Signed-off-by: Matt Porter <mporter@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing runtime dependencies: the test suite needs proper chmod from
coreutils, and the Europe/Minsk timezone.
Also change run-ptest to use -W (run verbosely on failure) instead of -v (always
verbose) to hopefully reduce the noise in the ptest reports.
(From OE-Core rev: 7574f6850797fb7556d2f8077860b7c1d26ae8ec)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If kernel-devsrc is used in a SDK context, the symlink from usr/src/kernel
points to an absolute path '/lib/modules/${KERNEL_VERSION}/build',
which ends up pointing to the local machine's build directory.
To address this issue change the symlink to be realtive to
${D}/lib/modules/${KERNEL_VERSION}/build.
(From OE-Core rev: 95bc738e7f10d492f5db33fc581e9796e52a9d3f)
Signed-off-by: Henrik Nymann Jensen <hnje@triax.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to use GNUInstallDirs instead of hand-coded path
logic, so we have proper control over where files end up.
(From OE-Core rev: 7c7d8ce6fe54e239374a6a04c007b4aa0712ba33)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adwaita-icon-theme uses gtk-encode-symbolic-svg to generate icons, so DEPEND on
librsvg-native (and gtk+3-native, via gtk-icon-cache.bbclass) so that this tool
exists and can load SVG files.
(From OE-Core rev: f109bb56f48103a7a2b9f77af72e860c6e994b2b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added so that adwaita-icon-theme can find the SVG loader for icon
generation, but the fix is in the wrong place. GTK+ does not depend on librsvg
at all, the tool in GTK+ which loads the icons uses gdk-pixbuf which uses
loadable modules.
This reverts commit 66828ff04d.
(From OE-Core rev: 57c112338068b6e8582480b50b025590fef51052)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Beautify the machine config files by making the names and descriptions
more uniform and verbose
(From meta-yocto rev: 159a8c9080af125c657558b4789f4aa8410e4fa2)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the system had previously fetched a source repository for use by gitsm,
and then the SRCREV was updated and the new commit already existed, the system
would not re-evaluate the submodules and update them accordingly.
The cause of this issue was that need_update was being used, unmodified, from
the base git fetcher. It did not have any knowledge, nor did it care if we
were moving commits and needed to re-evaluate what was happening due to this
switch.
To fix the issue, during the download process we add all processed (by
gitsm) srcrevs to the git config file, as bitbake.srcrev. This allows us to
use a new need_update function that not only checks if the git commit is
present, but if we have previously processed this commit to ensure all of the
submodule components are also present.
This approach is used, instead of iterating over the submodules in need_update
to avoid a potential race condition that has affected us in the past. The
need_update is called only with the parent locking. Any time we need to dive
into the submodules, we need to lock, and unlock them, at each stage. This
opens the possibility of errors in either the code, or unintended race
conditions with rm_work.
This issue was discovered by William A. Kennington III <wak@google.com>. The
included test case was also written by him, and included unmodified.
(Bitbake rev: 30fe86d22c239afa75168cc5eb262b880886ef8a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lzip is pretty niche: people are typically either sticking with that they know
(gzip, bzip) or using xz. Data point: only one recipe in oe-core is shipped as
a .lz file.
(From OE-Core rev: 80b0ac3bdbaee50d0023b7c869dd204485903dfe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that it says '8.0.0' to reflect the recent PV change.
(From OE-Core rev: 3b4049157a72bcd984f93405a75946a39c045f2d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PV is 2.32.0 even though the actual release upstream is 2.32. To a human this
is insignificant, but to automated tooling it matters. Specifically,
cve-check-tool can't identify CVEs that are in 2.32.
Set CVE_VERSION for now, which should be removed when PV and the upstream
version match again.
(From OE-Core rev: 487c8356c22deb29867baf3da74f6d86502d5b3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Beautify the machine config files by making the names and descriptions
more uniform and verbose
(From OE-Core rev: 1108a24e2c58794163c8cf35154f8be5c1d06c29)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LLVM is now warning if your host compiler is gcc <5.1, and some of our supported
operating systems still only have 4.8.5. Set
LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN so those builds continue to work, hopefully
we retire the old operating systems before LLVM requires 5.1+.
(From OE-Core rev: 0e7d761b1360f603a4cc0de15c67f4e182e5a6a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also, update PV to match the version scheme used by upstream
to tag releases (e.g. major.minor.patch).
(From OE-Core rev: 4405a1793a42aecd7923ab2b18df296ed8c32dc1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copyright date changed in the license file, thus the hash change.
CMake 3.14 fixes some issues with implicit include path that lead to
errors with gcc not finding "stdlib.h" etc in include_next.
(From OE-Core rev: ec2764aa4957b802ed2612dd7633aed5b941bfb0)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a sort-of-official port of asciidoc to Python 3. Whilst the official
replacement is asciidoctor which is rewritten in Ruby, this is a fairly trivial
swap and removes Python 2 from core-image-sato builds entirely.
Moving forward we should evaluate asciidoctor, but that can wait.
Change the RDEPENDS so that python3 is only a dependency for target and
nativesdk builds, for native this can use the host python3.
Remove redundant DESTDIR export that isn't needed.
(From OE-Core rev: 266a13139ea45e28deb167f077917f04c3bdb7e6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't appear to be required at all.
(From OE-Core rev: d8269db061c471d230dfd27e158f1aa5ce188e5a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LLVM doesn't actually need pythonnative, the host Python2 is sufficient but
cmake's executable searching currently isn't reliable in cross-compilations.
Convince cmake by setting PYTHON_EXECUTABLE to point at python2 in the HOSTTOOLS
directory. Note that currently LLVM *needs* python2 currently:
https://github.com/llvm-mirror/llvm/blob/master/CMakeLists.txt#L670
(From OE-Core rev: 1587475e45edc995b7643844594abc94160a5549)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous SRC_URI seems to be gone, and sysklogd hasn't received
any updates there for a long time.
The new location says:
Origin & References
This is the continuation of the original sysklogd by Martin Schulze.
Now maintained by Joachim Nilsson. Please file bug reports, or send
pull requests for bug fixes and proposed extensions at GitHub.
and generally seems credible: http://troglobit.com/
(From OE-Core rev: 22a4a6fe24c26dd5ae4a82a742c9bdf41c6bf2b7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
blktool-gnulib-makedev.patch is actually doing the same
thing as 0004-fix-ftbfs-glibc-2.28.patch, so we end up
including the same file twice.
(From OE-Core rev: 8de82c63fe49917c80d1b634819ae2001625a645)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This update adds a patch from Debian to match the latest version there.
(From OE-Core rev: 11fdad15c2c8f4b4be696008bac0841a271aa161)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2019a release of the tz code and data is available. It reflects the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes:
Briefly:
Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
Metlakatla "fell back" to rejoin Alaska Time on 2019-01-20 at 02:00.
Changes to past and future timestamps
Palestine will not start DST until 2019-03-30, instead of 2019-03-23 as
previously predicted. Adjust our prediction by guessing that spring
transitions will be between 24 and 30 March, which matches recent practice
since 2016. (Thanks to Even Scharning and Tim Parenti.)
Metlakatla ended its observance of Pacific standard time,
rejoining Alaska Time, on 2019-01-20 at 02:00. (Thanks to Ryan
Stanley and Tim Parenti.)
Changes to past timestamps
Israel observed DST in 1980 (08-02/09-13) and 1984 (05-05/08-25).
(Thanks to Alois Treindl and Isaac Starkman.)
Changes to time zone abbreviations
Etc/UCT is now a backward-compatibility link to Etc/UTC, instead
of being a separate zone that generates the abbreviation "UCT",
which nowadays is typically a typo. (Problem reported by Isiah
Meadows.)
Changes to code
zic now has an -r option to limit the time range of output data.
For example, 'zic -r @1000000000' limits the output data to
timestamps starting 1000000000 seconds after the Epoch.
This helps shrink output size and can be useful for applications
not needing the full timestamp history, such as TZDIST truncation;
see Internet RFC 8536 section 5.1. (Inspired by a feature request
from Christopher Wong, helped along by bug reports from Wong and
from Tim Parenti.)
Changes to documentation
Mention Internet RFC 8536 (February 2019), which documents TZif.
tz-link.html now cites tzdata-meta
<https://tzdata-meta.timtimeonline.com/>.
(From OE-Core rev: f51df4809be08fa7e137467a386637ebe7b57175)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test case:
* open xfce4-terminal
* run 'echo | less'
* press arrow up/down few times
* exit less with 'q'
=> From now on all mouse(wheel) buttons create strange inputs on terminal
Release note says [1]: "Sometimes the terminal was left in mouse-reporting mode
after exiting less."
http://www.greenwoodsoftware.com/less/index.html
(From OE-Core rev: 4cefbf492d98ec14b8bb323c92d987b795addaf2)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adwaita-icon-themes failes to create symbolic icons. In log.do_install when
calling gtk-encode-symbolic-svg there many complaints
| Can't load file: Unrecognized image file format
We fail her now due to:
commit 7f6c57635ff4e1edf7a46c49af34846ad0a4bf73
Author: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed Jan 30 11:59:25 2019 +0100
gtk+3: remove the gtk-icon-utils-native recipe
gtk-icon-utils-native had librsvg in its DEPENDS. We do not add librsvg-native
because same issue would occure for gtk-encode-symbolic-svg on target.
(From OE-Core rev: d85f4e8fdffe180b54eb7e35a24a2620e5dc8d62)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of patching and sedding the makefile, just install test/example and
execute it in run-ptest. example is the bulk of the test suite, as minimal as
it is.
(From OE-Core rev: ea86bdb8935668d41e142676815af38911ee0faa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to do a runtime check for the behaviour of strlcpy if it doesn't
even exist.
(From OE-Core rev: 2b6c855737afbf2b0f2baa1b14029f8ddc37e9ed)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GLib wants to execute code to identify several properties of the system, for
example is vsprintf() broken and what direction does the stack grow. In
cross-compiled environments these fallback to the default values which are not
always correct (our vsprintf() is fine, but the test assumes it isn't) so set
these properties explicitly.
Ideally this happens magically by meson.bbclass using the same logic as
siteinfo.bbclass, but we need to fix glib now.
(From OE-Core rev: e04e0a20cab04966698c50dc79195a8f159248d3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetch2/__init__.py checks whether "BB_FETCH_PREMIRRORONLY" == "1", but
fetch2/git.py and hg.py checks whether it is None, this makes it discontinuous,
and BB_FETCH_PREMIRRORONLY = "0" doens't work as expected in the later case,
so unify it to the previous one. (As BB_NO_NETWORK does).
And also use bb.utils.to_boolean() to make them consistent.
(Bitbake rev: 85a0d22835588e9ad8ec29d88a8115227e88420c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous fix for CVE-2018-19758 wasn't complete, so backport another patch
to solve it properly.
(From OE-Core rev: aeaca9bb1b1c8bf44818945dc4b2cbd6d4b5cef2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix this CVE (Bluetooth discoverability may be enabled with no agents to handle
requests) by backporting a number of patches from upstream.
(From OE-Core rev: 7bdf9581e807b978b92f29e11ab2a9e69e08410f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error handling in shell scripts is too easy to forget and
get wrong. It is possible to check every external command
for return values but it is better to use a generic setting
which halts execution of the script on any failures.
Upstream-Status: Pending
(From OE-Core rev: 4868de2e67bd304e41ac2158ccfcb166cfe16242)
Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Convert existing EXTRA_OECONF and DEPENDS to PACKAGECONFIG, fill out
remaining PACKAGECONFIG options. When building without libpsl we pass in
--without-libpsl, which we didn't previously, but all this actually ends
up doing is silencing a warning from the configure script, the code
still uses an internal implemention when using this option.
(From OE-Core rev: 6472261c7dba1ecc67d639d13b7cf04258f13c7c)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
self.msg is a str(), bootlog is b'' so this code clearly doesn't work. Add
in a decode since its being used as a string.
(From OE-Core rev: e7546759d3102b576974bbab52594796f084721e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when compile with DEBUG_OPTIMIZATION(-Og), compile failed with below
error, fix by add -Wno-error:
[snip]
| Incremental.c: In function 'Incremental_container':
| Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| close(mdfd);
| ^~~~~~~~~~~
[snip]
super-intel.c: In function 'apply_takeover_update':
| super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=]
| " MISSING_%d", du->index);
| ^~
...
(From OE-Core rev: 1e0dbc9e320b200b948abaae418f640f9f65fe06)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow wget with libpsl to build native/nativesdk versions we need
those variants here.
(From OE-Core rev: e2df6087694af09715141c5cb38af3e7db4ad758)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update dropbear to version 2019.77
- drop obsolete patch
(From OE-Core rev: c0f2e6f74119538a33095c27a8d9e92084741672)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the latest 4.19-rt to the preempt-rt branches, the -rt
release announcements summarize the changes:
Changes since v4.19.25-rt15:
- The "preserve task state" change in cpu_chill() in the previous
release is responsible for missing a wake up. Reported by Mike
Galbraith.
- The x86-32 lazy preempt code was broken. Reported by Andri Yngvason.
Changes since v4.19.23-rt13:
- Use the specified preempt mask in should_resched() on x86. Otherwise
a scheduling opportunity of non RT tasks could be missed.
- Preserve the task state in cpu_chill()
- Add two more cases to consider before warning about pending
softirqs.
(From OE-Core rev: 3efbde7738efd3b69f86d4cb4b08e4e11190f75d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following upstream commits have renamed INTEL_RDT to RESCTRL.
6fe07ce35e8a ("x86/resctrl: Rename the config option INTEL_RDT to RESCTRL")
e6d429313ea5 ("x86/resctrl: Avoid confusion over the new X86_RESCTRL config")
(From OE-Core rev: 7c33bfc37b154efce28c359f527ad32063479122)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.0 release of preempt-rt is available, so we import the
patches to the standard/preempt-rt/* branches.
(From OE-Core rev: 3af366d0f14d3d0a4cfbd9600f753f5ad2752551)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases that comprise the following
commits:
449959917f0c Linux 5.0.3
847c02bcb48a drm: Block fb changes for async plane updates
a51603120204 It's wrong to add len to sector_nr in raid10 reshape twice
0912fa3dfcea perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
c075798c05d9 perf/x86/intel: Fix memory corruption
291ad91aad03 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate X514-51T with ALC255
843a9a5b5675 ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone
6f63adaf8881 ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294
19fcfe5ad57c ALSA: hda - add more quirks for HP Z2 G4 and HP Z240
f36b6691acdd ALSA: hda: Extend i915 component bind timeout
69bf155eec9e ALSA: firewire-motu: fix construction of PCM frame for capture direction
b072cb42f01e ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56
9826a60a2aca perf/x86: Fixup typo in stub functions
94f93c5900e3 f2fs: wait on atomic writes to count F2FS_CP_WB_DATA
15c5945f83c1 net: sched: flower: insert new filter to idr after setting its mask
882e7866ad28 vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock
c7bc9d62033a net: hns3: fix to stop multiple HNS reset due to the AER changes
b31539bd3595 net: dsa: mv88e6xxx: Set correct interface mode for CPU/DSA ports
7e30fd0627db net/mlx4_core: Fix qp mtt size calculation
979785bea346 net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling
f1ac81bb23a4 net/mlx4_core: Fix reset flow when in command polling mode
11e457c165d0 vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
854b83c7493c vxlan: Fix GRO cells race condition between receive and link delete
3460bb198560 tcp: handle inet_csk_reqsk_queue_add() failures
dfcf44d29a7f tcp: Don't access TCP_SKB_CB before initializing it
75c9b039f9bd tcp: do not report TCP_CM_INQ of 0 for closed connections
05ad31a85e96 sctp: remove sched init from sctp_stream_init
3aca89318497 rxrpc: Fix client call queueing, waiting for channel
ed98b01c0523 route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race
cfa5b557d9d0 ravb: Decrease TxFIFO depth of Q3 and Q2 to one
41b802e6f2a8 pptp: dst_release sk_dst_cache in pptp_sock_destruct
a6e37802e050 net/x25: reset state in x25_connect()
391c4c5228d8 net/x25: fix use-after-free in x25_device_event()
0f27e8de5678 net: sit: fix UBSAN Undefined behaviour in check_6rd
bfca8925f758 net/hsr: fix possible crash in add_timer()
251eb21781bf net: hsr: fix memory leak in hsr_dev_finalize()
4b7730375855 net: hns3: add dma_rmb() for rx description
93a96dc0a610 lan743x: Fix TX Stall Issue
8c223fee4ad4 lan743x: Fix RX Kernel Panic
a53dc7db54c7 l2tp: fix infoleak in l2tp_ip6_recvmsg()
b41988c24100 ipv4/route: fail early when inet dev is missing
ab62510ac2ea gro_cells: make sure device is up in gro_cells_receive()
a9b0ebbf75c3 fou, fou6: avoid uninit-value in gue_err() and gue6_err()
c4b5717a0168 connector: fix unsafe usage of ->real_parent
9e6fdea016e4 Linux 5.0.2
84ff8f265a91 perf/x86/intel: Implement support for TSX Force Abort
9870cd07a132 x86: Add TSX Force Abort CPUID/MSR
93c2f72c7933 perf/x86/intel: Generalize dynamic constraint creation
3ad8e57560d7 perf/x86/intel: Make cpuc allocations consistent
3dfe7538f80a ath9k: Avoid OF no-EEPROM quirks without qca,no-eeprom
72bc954e8a5f scripts/gdb: replace flags (MS_xyz -> SB_xyz)
e7b0b71c22e7 staging: erofs: compressed_pages should not be accessed again after freed
a56c9e263786 staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()
66ad3d56ab62 gfs2: Fix missed wakeups in find_insert_glock
97e5d51f123a bpf: Stop the psock parser before canceling its work
5b31a61305cd Revert "PCI/PME: Implement runtime PM callbacks"
fd0b578b41c6 media: Revert "media: rc: some events are dropped by userspace"
e3f5c3cbe163 drm: disable uncached DMA optimization for ARM and arm64
b7ea06838d14 ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
cc637b0563f7 ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU
6eb775cb560d ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid X2/U3
d2370201967a arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"
34294e187622 arm64: dts: hikey: Give wifi some time after power-on
bab3cf9d1531 arm64: dts: zcu100-revC: Give wifi some time after power-on
39ab777e42ec x86/PCI: Fixup RTIT_BAR of Intel Denverton Trace Hub
1830d0d33dcd scsi: aacraid: Fix missing break in switch statement
d4f05a4aaf98 iscsi_ibft: Fix missing break in switch statement
61f7963e347d Input: elan_i2c - add id for touchpad found in Lenovo s21e-20
4a33538bd425 Input: wacom_serial4 - add support for Wacom ArtPad II tablet
e83b05c4c17e media: uvcvideo: Fix 'type' check leading to overflow
283506fcd65d Linux 5.0.1
a9bda122bd77 exec: Fix mem leak in kernel_read_file
bc60931448e7 Bluetooth: Fix locking in bt_accept_enqueue() for BH context
95b6840860ee Bluetooth: btrtl: Restore old logic to assume firmware is already loaded
302f4908d4f9 selftests: firmware: fix verify_reqs() return value
5e73c19ca66e Revert "selftests: firmware: remove use of non-standard diff -Z option"
66da661f94eb Revert "selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config"
44c81a482310 USB: serial: cp210x: fix GPIO in autosuspend
02c66213c80a gnss: sirf: fix premature wakeup interrupt enable
ff204bb4c71b xtensa: fix get_wchan
c9255e2479ef aio: Fix locking in aio_poll()
2ac0fa7f3373 MIPS: irq: Allocate accurate order pages for irq stack
a8cc62bd8806 alpha: wire up io_pgetevents system call
46ce9ec42b78 applicom: Fix potential Spectre v1 vulnerabilities
92424a683915 usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
511ba5f2287c xhci: tegra: Prevent error pointer dereference
1eadda06dcda tracing: Fix event filters and triggers to handle negative numbers
ad0051c0d6da x86/boot/compressed/64: Do not read legacy ROM on EFI system
b8907034edaf x86/CPU/AMD: Set the CPB bit unconditionally on F17h
258c4bfcea44 tipc: fix RDM/DGRAM connect() regression
b0c649843a76 team: Free BPF filter when unregistering netdev
3445d44b8330 sky2: Disable MSI on Dell Inspiron 1545 and Gateway P-79
9dc9563fbb38 sctp: call iov_iter_revert() after sending ABORT
43610748b73d qmi_wwan: Add support for Quectel EG12/EM12
1ba288215704 net-sysfs: Fix mem leak in netdev_register_kobject
cd267ea6a70c net: sched: put back q.qlen into a single location
e1c9e3fe2d34 net: mscc: Enable all ports in QSGMII
050c7ff6f46c net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family
c2e346e38c2a net: dsa: mv88e6xxx: handle unknown duplex modes gracefully in mv88e6xxx_port_set_duplex
9590cdffe8c4 net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework
9b3149338ace ip6mr: Do not call __IP6_INC_STATS() from preemptible context
b592247edd6b staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held.
6a6b0c1b4731 staging: android: ashmem: Don't call fallocate() with ashmem_mutex held.
6e2cda2e854b staging: android: ion: fix sys heap pool's gfp_flags
f14ab1e367d2 staging: wilc1000: fix to set correct value for 'vif_num'
e872d586158c staging: comedi: ni_660x: fix missing break in switch statement
116ad909da64 staging: erofs: fix illegal address access under memory pressure
fa42199d9dab staging: erofs: fix race of initializing xattrs of a inode at the same time
6df0b3ebdade staging: erofs: fix memleak of inode's shared xattr array
27f2f4877a00 staging: erofs: fix fast symlink w/o xattr when fs xattr is on
091520a14086 driver core: Postpone DMA tear-down until after devres release
0e14eb6e3f42 USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485
eefd31d3c9af USB: serial: cp210x: add ID for Ingenico 3070
8510d6a23c3d USB: serial: option: add Telit ME910 ECM composition
ed1776bb5d0b binder: create node flag to request sender's security context
e93cd6500ff9 staging: erofs: fix mis-acted TAIL merging behavior
e36e066ffa78 cpufreq: Use struct kobj_attribute instead of struct global_attr
(From OE-Core rev: c7042659b192be96d42dbaef5c5b08d1d25cb88e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases that comprise the following
commits:
7794d3522606 Linux 4.19.30
842bdbe83ccc vhost/vsock: fix vhost vsock cid hashing inconsistent
090ce34b7832 i40e: report correct statistics when XDP is enabled
eab8018fd289 staging: erofs: fix race when the managed cache is enabled
96ce54b24c38 drm: Block fb changes for async plane updates
27143c71d68b It's wrong to add len to sector_nr in raid10 reshape twice
d6b577c6201f perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
92c9a3897a4c perf/x86/intel: Fix memory corruption
835bc1e2a904 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate X514-51T with ALC255
be888d9a0ed3 ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone
8f6cf57ebe5d ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294
5da055b1ca56 ALSA: hda - add more quirks for HP Z2 G4 and HP Z240
2191cd581f46 ALSA: hda: Extend i915 component bind timeout
8b2d66397541 ALSA: firewire-motu: fix construction of PCM frame for capture direction
bb2dde7c9edc ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56
a8eae05f8dbf perf/x86: Fixup typo in stub functions
2835c059726a f2fs: wait on atomic writes to count F2FS_CP_WB_DATA
275a2c08c313 net: sched: flower: insert new filter to idr after setting its mask
345af5abca67 missing barriers in some of unix_sock ->addr and ->path accesses
f56b3c297ca7 net/smc: fix smc_poll in SMC_INIT state
795cb33c32d2 bonding: fix PACKET_ORIGDEV regression
2e4b2aeb0209 ipv6: route: enforce RCU protection in ip6_route_check_nh_onlink()
96dd4ef3c0ce ipv6: route: enforce RCU protection in rt6_update_exception_stamp_rt()
1856bbbea652 ipvlan: disallow userns cap_net_admin to change global mode/flags
e5c31b5a6854 team: use operstate consistently for linkup
b9d0cb758145 ipv6: route: purge exception on removal
fe38cbc9e38a net: Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255
96a3b14450af mdio_bus: Fix use-after-free on device_register fails
13b430574e61 net/x25: fix a race in x25_bind()
c3bdcd9dd2fe net/mlx4_core: Fix qp mtt size calculation
c3bcf8cb401d net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling
1f34d8d2e513 net/mlx4_core: Fix reset flow when in command polling mode
f09a656b68ef vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
9f7aeee6542e vxlan: Fix GRO cells race condition between receive and link delete
173e9023a068 tcp: handle inet_csk_reqsk_queue_add() failures
fba43f49fdf7 tcp: Don't access TCP_SKB_CB before initializing it
8accd04eb9a4 tcp: do not report TCP_CM_INQ of 0 for closed connections
0e6b33fa9ae1 sctp: remove sched init from sctp_stream_init
c5952168e9da rxrpc: Fix client call queueing, waiting for channel
eaa0962e1eb2 route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race
ec61b95340f8 ravb: Decrease TxFIFO depth of Q3 and Q2 to one
34dc08b9e916 pptp: dst_release sk_dst_cache in pptp_sock_destruct
14d5e73b01ba net/x25: reset state in x25_connect()
b5c109075aca net/x25: fix use-after-free in x25_device_event()
7cfb97ba8396 net: sit: fix UBSAN Undefined behaviour in check_6rd
86a71f00f9f5 net/hsr: fix possible crash in add_timer()
996ee1aca7de net: hsr: fix memory leak in hsr_dev_finalize()
ab13fe32a01a lan743x: Fix TX Stall Issue
223264734865 lan743x: Fix RX Kernel Panic
96d58cd882ed l2tp: fix infoleak in l2tp_ip6_recvmsg()
7760937dc278 ipv4/route: fail early when inet dev is missing
df737fd03391 gro_cells: make sure device is up in gro_cells_receive()
ef9ef4adb85c connector: fix unsafe usage of ->real_parent
ce194fa2b267 Linux 4.19.29
26b6e018e558 perf/x86/intel: Implement support for TSX Force Abort
fdd820949a74 x86: Add TSX Force Abort CPUID/MSR
9e071aa6c28c perf/x86/intel: Generalize dynamic constraint creation
f99f7dae782e perf/x86/intel: Make cpuc allocations consistent
7053a6faf019 driver core: Postpone DMA tear-down until after devres release
adaa310f8a01 ath9k: Avoid OF no-EEPROM quirks without qca,no-eeprom
b4d965a37d89 cifs: allow calling SMB2_xxx_free(NULL)
e5d7b94cc435 staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()
28b8f234edaf staging: erofs: fix race of initializing xattrs of a inode at the same time
53a989a95a09 staging: erofs: fix memleak of inode's shared xattr array
9dc84155425c staging: erofs: fix fast symlink w/o xattr when fs xattr is on
f581642c8a2c staging: erofs: add error handling for xattr submodule
4f5a4c888106 gfs2: Fix missed wakeups in find_insert_glock
e6e00017910c netfilter: xt_TEE: add missing code to get interface index in checkentry.
02d86085cac6 netfilter: xt_TEE: fix wrong interface selection
f9a0a08d9c99 drm: disable uncached DMA optimization for ARM and arm64
bb2c205cd3a0 ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
bfc341b61f5c ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU
cd10bc8261eb ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid X2/U3
103ec440943e arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"
e6eb5e3561ca arm64: dts: hikey: Give wifi some time after power-on
271c5a5d546b arm64: dts: zcu100-revC: Give wifi some time after power-on
36e3673d01af x86/PCI: Fixup RTIT_BAR of Intel Denverton Trace Hub
917f943781a9 scsi: aacraid: Fix missing break in switch statement
dcdd1bcbc099 iscsi_ibft: Fix missing break in switch statement
fe34541ab930 Input: elan_i2c - add id for touchpad found in Lenovo s21e-20
b3b29dc53104 Input: wacom_serial4 - add support for Wacom ArtPad II tablet
7066774e60e4 nvme-pci: add missing unlock for reset error
6d482bc56977 blk-iolatency: fix IO hang due to negative inflight counter
1781ae6f0eac qede: Fix system crash on configuring channels.
84828dd2ba92 qed: Consider TX tcs while deriving the max num_queues for PF.
d727c0edf646 qed: Fix EQ full firmware assert.
72426ed2a149 fs: ratelimit __find_get_block_slow() failure message.
3cc6703d43f9 nvme-pci: fix rapid add remove sequence
e3aabe4c2467 nvme: lock NS list changes while handling command effects
25aa5c8b063a drm/amdgpu: use spin_lock_irqsave to protect vm_manager.pasid_idr
ee84b62fba23 i2c: omap: Use noirq system sleep pm ops to idle device for suspend
29f7b376d399 Revert "scsi: libfc: Add WARN_ON() when deleting rports"
cd8520a283c4 MIPS: Remove function size check in get_frame_info()
738f9e2774d6 perf trace: Support multiple "vfs_getname" probes
47e3f3c08605 perf symbols: Filter out hidden symbols from labels
825e58bc9800 s390/qeth: cancel close_dev work before removing a card
5327c5530c9b s390/qeth: fix use-after-free in error path
575a2461e50b s390/qeth: release cmd buffer in error paths
5058447bf760 netfilter: nf_nat: skip nat clash resolution for same-origin entries
5c39e08fc417 selftests: netfilter: add simple masq/redirect test cases
974ed365b164 selftests: netfilter: fix config fragment CONFIG_NF_TABLES_INET
0203f0c963e9 dmaengine: dmatest: Abort test in case of mapping error
5eae58996b7e vsock/virtio: reset connected sockets on device removal
cd2013568dd5 vsock/virtio: fix kernel panic after device hot-unplug
f3ffd4559de2 dmaengine: at_xdmac: Fix wrongfull report of a channel as in use
7cf4466df6ca drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init
ae26a7109c15 bpf: Fix syscall's stackmap lookup potential deadlock
3bbe6a421280 bpf: fix potential deadlock in bpf_prog_register
e3bc64c9aa50 bpf: fix lockdep false positive in percpu_freelist
0ace0d28941b bpf, selftests: fix handling of sparse CPU allocations
232bd90cf238 relay: check return of create_buf_file() properly
2a5c84e164d2 irqchip/gic-v3-its: Fix ITT_entry_size accessor
fbdbb19457ce net: stmmac: Disable EEE mode earlier in XMIT callback
496eaed7fe94 net: stmmac: Send TSO packets always from Queue 0
46ba03c591d9 net: stmmac: Fallback to Platform Data clock in Watchdog conversion
8096bc39c63e drm/amdgpu: Transfer fences to dmabuf importer
4ec880d7c199 drm/radeon: check if device is root before getting pci speed caps
094392380989 drm/amdgpu: Add missing power attribute to APU check
1bf791023315 irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable
423869f8871d irqchip/gic-v3-its: Gracefully fail on LPI exhaustion
dc81cfafb4b9 irqchip/gic-v4: Fix occasional VLPI drop
377ffe354dc0 usb: phy: fix link errors
fbc3ed1339ec DTS: CI20: Fix bugs in ci20's device tree.
f7e3fb0a6f9d batman-adv: release station info tidstats
90f0a75be8eb arm64: dts: add msm8996 compatible to gicv3
ac0997349142 ARM: pxa: ssp: unneeded to free devm_ allocated data
a8795ba8995a bpf: sock recvbuff must be limited by rmem_max in bpf_setsockopt()
7e2b2e24e356 bpftool: fix percpu maps updating
1da961de4ad4 bpftool: Fix prog dump by tag
9a0f0bbac9a0 wlcore: sdio: Fixup power on/off sequence
2634448683d3 pinctrl: mcp23s08: spi: Fix regmap allocation for mcp23s18
a50434de0cfe soc: fsl: qbman: avoid race in clearing QMan interrupt
959773138ac9 arm64: dts: renesas: r8a77965: Enable DMA for SCIF2
4dc8b2e57ee4 arm64: dts: renesas: r8a7796: Enable DMA for SCIF2
f02070cb4b60 ARM: dts: imx6sx: correct backward compatible of gpt
3edbed0dd13f ARM: dts: meson8m2: mxiii-plus: mark the SD card detection GPIO active-low
ab2f85e59693 ARM: dts: meson8b: odroidc1: mark the SD card detection GPIO active-low
94f31b4c9780 arm: dts: meson: Fix IRQ trigger type for macirq
094ed50726a2 ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2
ec27bcd3f688 ARM: dts: omap4-droid4: Fix typo in cpcap IRQ flags
b510051c73a7 ARM: OMAP: dts: N950/N9: fix onenand timings
2cc84e2ea68d mm, memory_hotplug: fix off-by-one in is_pageblock_removable
929278903367 autofs: fix error return in autofs_fill_super()
1efb234ec251 autofs: drop dentry reference only when it is never used
3d0acc076f5f fs/drop_caches.c: avoid softlockups in drop_pagecache_sb()
f1524fd049de lib/test_kmod.c: potential double free in error handling
71df1c8bc771 mm, memory_hotplug: test_pages_in_a_zone do not pass the end of zone
6027792d6aa8 mm, memory_hotplug: is_mem_section_removable do not pass the end of a zone
5edeae210cb8 x86_64: increase stack size for KASAN_EXTRA
845d73be1b4c proc: fix /proc/net/* after setns(2)
e2b45446c34f x86/kexec: Don't setup EFI info if EFI runtime is not enabled
d7807b62276e apparmor: Fix aa_label_build() error handling for failed merges
d92d3caf818d arm64: kprobe: Always blacklist the KVM world-switch code
f964a4d2bb68 x86/microcode/amd: Don't falsely trick the late loading mechanism
6efd69d63339 cifs: fix computation for MAX_SMB2_HDR_SIZE
15fb5d73e47e x86/boot/compressed/64: Set EFER.LME=1 in 32-bit trampoline before returning to long mode
bd13a72a537a net: macb: Apply RXUBR workaround only to versions with errata
38be5d445c5b platform/x86: Fix unmet dependency warning for SAMSUNG_Q10
25f37d15f080 platform/x86: Fix unmet dependency warning for ACPI_CMPC
bdf1bd01327d scsi: 53c700: pass correct "dev" to dma_alloc_attrs()
59411d98fb10 scsi: bnx2fc: Fix error handling in probe()
8d27f830b615 scsi: scsi_debug: fix write_same with virtual_gb problem
e546c8787e7b scsi: libfc: free skb when receiving invalid flogi resp
40e35210abeb qed: Fix stack out of bounds bug
9414e0854bbc qed: Fix system crash in ll2 xmit
fac238779b14 qed: Fix VF probe failure while FLR
1ba3511006f1 qed: Fix LACP pdu drops for VFs
88bce339de23 qed: Fix bug in tx promiscuous mode settings
5c72ca3bf625 nfs: Fix NULL pointer dereference of dev_name
daf04674d08a selftests: timers: use LDLIBS instead of LDFLAGS
c68cf0831b25 selftests: net: use LDLIBS instead of LDFLAGS
eda52fa18e4f gpio: vf610: Mask all GPIO interrupts
3355d641269f netfilter: ebtables: compat: un-break 32bit setsockopt when no rules are present
1f4ccda30391 net: stmmac: dwmac-rk: fix error handling in rk_gmac_powerup()
4a22084f6bbc net: hns: Fix wrong read accesses via Clause 45 MDIO protocol
3e640b2cdc6e net: hns: Restart autoneg need return failed when autoneg off
6b7d35440955 net: hns: Fix for missing of_node_put() after of_parse_phandle()
c91f641625a7 net: altera_tse: fix msgdma_tx_completion on non-zero fill_level case
419bb616e9ea xtensa: SMP: limit number of possible CPUs by NR_CPUS
d9ba842efdf0 iomap: fix a use after free in iomap_dio_rw
d23792f53f0d iomap: get/put the page in iomap_page_create/release()
38f47557ae49 xtensa: SMP: mark each possible CPU as present
c1327f9a1248 xtensa: smp_lx200_defconfig: fix vectors clash
8655802aa155 xtensa: SMP: fix secondary CPU initialization
0165df14095b selftests: cpu-hotplug: fix case where CPUs offline > CPUs present
1ee82160e2ef IB/ipoib: Fix for use-after-free in ipoib_cm_tx_start
dc04a00b3cbb riscv: Adjust mmap base address at a third of task size
f43e42f46aa8 xtensa: SMP: fix ccount_timer_shutdown
aad4dc749ed5 clk: qcom: gcc: Use active only source for CPUSS clocks
cf872189c804 clk: ti: Fix error handling in ti_clk_parse_divider_data()
a038ed686aa6 iommu/amd: Fix IOMMU page flush when detach device from a domain
e0b03a6bad1a ipvs: Fix signed integer overflow when setsockopt timeout
ffabf74c6796 riscv: fixup max_low_pfn with PFN_DOWN.
9e1f977d82ec iommu/amd: Unmap all mapped pages in error path of map_sg
697863bf7d72 iommu/amd: Call free_iova_fast with pfn in map_sg
43b0c93918a0 IB/{hfi1, qib}: Fix WC.byte_len calculation for UD_SEND_WITH_IMM
d5f05016b0e1 perf script: Fix crash when processing recorded stat data
1e4b75416682 perf tools: Handle TOPOLOGY headers with no CPU
6ec0698f1c40 perf core: Fix perf_proc_update_handler() bug
5d1dc10ba3ac perf script: Fix crash with printing mixed trace point and other events
8ce41db0dcfc vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel
ac8befb6dd60 media: uvcvideo: Fix 'type' check leading to overflow
6a31767f84ad Linux 4.19.28
ca490a987365 bpf: fix sanitation rewrite in case of non-pointers
ebfb07e8c23e scsi: core: reset host byte in DID_NEXUS_FAILURE case
b60d90b2d3d1 exec: Fix mem leak in kernel_read_file
8d368fc58e7a Bluetooth: Fix locking in bt_accept_enqueue() for BH context
43593a30a068 Bluetooth: btrtl: Restore old logic to assume firmware is already loaded
cd61d473f71f selftests: firmware: fix verify_reqs() return value
9765ec7f7a02 USB: serial: cp210x: fix GPIO in autosuspend
09675c2f84bc gnss: sirf: fix premature wakeup interrupt enable
c426de69ded0 xtensa: fix get_wchan
f5e66cdb51fd aio: Fix locking in aio_poll()
88793c034edf MIPS: irq: Allocate accurate order pages for irq stack
5691b93f686e applicom: Fix potential Spectre v1 vulnerabilities
9d53e36c8c09 usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
690e939da71d tracing: Fix event filters and triggers to handle negative numbers
51c531805801 x86/boot/compressed/64: Do not read legacy ROM on EFI system
eab5ea25ebee x86/CPU/AMD: Set the CPB bit unconditionally on F17h
3846080998b9 net: sched: act_tunnel_key: fix NULL pointer dereference during init
69e6fb1804cf net/sched: act_skbedit: fix refcount leak when replace fails
f1446b164925 net/sched: act_ipt: fix refcount leak when replace fails
4d8f5df0cbe9 net: dsa: mv88e6xxx: prevent interrupt storm caused by mv88e6390x_port_set_cmode
457c1190c65c net: dsa: mv88e6xxx: power serdes on/off for 10G interfaces on 6390X
cc211561d126 ipv4: Pass original device to ip_rcv_finish_core
4f3221dee1e1 mpls: Return error for RTA_GATEWAY attribute
a68d31cc5306 ipv6: Return error for RTA_VIA attribute
8c0aa3f6908c ipv4: Return error for RTA_VIA attribute
125bc1e67eee net: avoid use IPCB in cipso_v4_error
f2397468fbd7 net: Add __icmp_send helper.
e6620defc483 tun: remove unnecessary memory barrier
947fc52b6bf4 xen-netback: fix occasional leak of grant ref mappings under memory pressure
e5e5840183de xen-netback: don't populate the hash cache on XenBus disconnect
488b940719b7 tun: fix blocking read
ab04570d82b1 tipc: fix race condition causing hung sendto
5fdb551fd6a6 net: socket: set sock->sk to NULL after calling proto_ops::release()
d0bedaac932f net: sit: fix memory leak in sit_init_net()
ed7a54419ef2 net: phy: phylink: fix uninitialized variable in phylink_get_mac_state
d06816899758 net: phy: Micrel KSZ8061: link failure after cable connect
f132b3f5f1ad net: nfc: Fix NULL dereference on nfc_llcp_build_tlv fails
d1dd2e15c85e net: netem: fix skb length BUG_ON in __skb_to_sgvec
e3713abc4248 netlabel: fix out-of-bounds memory accesses
4afc9831f895 net: dsa: mv88e6xxx: Fix u64 statistics
05d9f554b713 net: dsa: mv88e6xxx: Fix statistics on mv88e6161
ceb7c2498695 lan743x: Fix TX Stall Issue
99ed94582126 ipv4: Add ICMPv6 support when parse route ipproto
d61918a5e401 hv_netvsc: Fix IP header checksum for coalesced packets
36bd44bcb4b2 geneve: correctly handle ipv6.disable module parameter
1713c8e18b44 bnxt_en: Drop oversize TX packets to prevent errors.
8d1b9800c1ea tipc: fix RDM/DGRAM connect() regression
089100d5fb43 team: Free BPF filter when unregistering netdev
5e311e537e63 sky2: Disable MSI on Dell Inspiron 1545 and Gateway P-79
8085d6d03fe3 sctp: call iov_iter_revert() after sending ABORT
16a006d72f33 qmi_wwan: Add support for Quectel EG12/EM12
7ce2a517fd8b net-sysfs: Fix mem leak in netdev_register_kobject
3043bfe024e8 net: sched: put back q.qlen into a single location
0429c9ef94c6 net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family
dea818999a1e net: dsa: mv88e6xxx: handle unknown duplex modes gracefully in mv88e6xxx_port_set_duplex
b5ff77ddd96f ip6mr: Do not call __IP6_INC_STATS() from preemptible context
de40920f3694 staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held.
b8d048b73900 staging: android: ashmem: Don't call fallocate() with ashmem_mutex held.
271800f564db staging: android: ion: fix sys heap pool's gfp_flags
14af4eff14c2 staging: wilc1000: fix to set correct value for 'vif_num'
63efda29f359 staging: comedi: ni_660x: fix missing break in switch statement
40245f24133c staging: erofs: compressed_pages should not be accessed again after freed
1fa7c9b4226f staging: erofs: fix illegal address access under memory pressure
b46e1fc6ccee USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485
da20be9991d8 USB: serial: cp210x: add ID for Ingenico 3070
965e716001c9 USB: serial: option: add Telit ME910 ECM composition
cbace523cbaa staging: erofs: fix mis-acted TAIL merging behavior
464b4279d34f cpufreq: Use struct kobj_attribute instead of struct global_attr
adc2a008ae56 Linux 4.19.27
7371994d6cfa x86/uaccess: Don't leak the AC flag into __put_user() value evaluation
9f77e4cb12d4 MIPS: eBPF: Fix icache flush end address
4a418a3d94f2 MIPS: BCM63XX: provide DMA masks for ethernet devices
3bfa6413b03a MIPS: fix truncation in __cmpxchg_small for short values
527cabfffbc5 hugetlbfs: fix races and page leaks during migration
f0233ca89ce2 drm: Block fb changes for async plane updates
de04d2973a62 mm: enforce min addr even if capable() in expand_downwards()
ff86bb4dc656 mmc: sdhci-esdhc-imx: correct the fix of ERR004536
d612d7b4ff4d mmc: cqhci: Fix a tiny potential memory leak on error condition
e446ae40dc33 mmc: cqhci: fix space allocated for transfer descriptor
17bf96122472 mmc: core: Fix NULL ptr crash from mmc_should_fail_request
85d9ad404676 mmc: tmio: fix access width of Block Count Register
5b716bc54e47 mmc: tmio_mmc_core: don't claim spurious interrupts
c69e07a84d8f mmc: spi: Fix card detection during probe
b246986a1fc0 kvm: selftests: Fix region overlap check in kvm_util
60a4b3f7c867 KVM: nSVM: clear events pending from svm_complete_interrupts() when exiting to L1
0149b03ec269 svm: Fix AVIC incomplete IPI emulation
99b1dbe6ba17 cfg80211: extend range deviation for DMG
7a27cb609f03 mac80211: Add attribute aligned(2) to struct 'action'
0a7c92826f79 mac80211: don't initiate TDLS connection if station is not associated to AP
e91cbe1de3b3 ibmveth: Do not process frames after calling napi_reschedule
61fe1005f334 net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP
f7901f15d6f3 net: usb: asix: ax88772_bind return error when hw_reset fail
156a43cc8986 drm/msm: Fix A6XX support for opp-level
9f260d76b474 nvme-multipath: drop optimization for static ANA group IDs
550e0ea7e7e4 nvme-rdma: fix timeout handler
bbbb9874a9fe hv_netvsc: Fix hash key value reset after other ops
d2ce8e1bd338 hv_netvsc: Refactor assignments of struct netvsc_device_info
51b547f2a445 hv_netvsc: Fix ethtool change hash key error
ad74456b500c net: altera_tse: fix connect_local_phy error path
9de388112c63 scsi: csiostor: fix NULL pointer dereference in csio_vport_set_state()
ee2a02a66821 scsi: lpfc: nvmet: avoid hang / use-after-free when destroying targetport
30b62656690d scsi: lpfc: nvme: avoid hang / use-after-free when destroying localport
edca54b897bb writeback: synchronize sync(2) against cgroup writeback membership switches
c5a1dc256cc2 direct-io: allow direct writes to empty inodes
bcb8e0a23698 staging: android: ion: Support cpu access during dma_buf_detach
f73577353256 drm/sun4i: hdmi: Fix usage of TMDS clock
89d9a53346b2 serial: fsl_lpuart: fix maximum acceptable baud rate with over-sampling
1ed436cd1690 tty: serial: qcom_geni_serial: Allow mctrl when flow control is disabled
8c5571b9df10 drm/amd/powerplay: OD setting fix on Vega10
9ad6216e8c3c locking/rwsem: Fix (possible) missed wakeup
2368e6d3bcf4 futex: Fix (possible) missed wakeup
653a1dbcb011 sched/wake_q: Fix wakeup ordering for wake_q
5024f0a29a8f sched/wait: Fix rcuwait_wake_up() ordering
a2887f6fab98 mac80211: fix miscounting of ttl-dropped frames
bbc300c8c75e staging: rtl8723bs: Fix build error with Clang when inlining is disabled
a99e0377cca4 drivers: thermal: int340x_thermal: Fix sysfs race condition
4749ffdfbb09 ARC: show_regs: lockdep: avoid page allocator...
4e34dd37943d ARC: fix __ffs return value to avoid build warnings
0655618dd92d irqchip/gic-v3-mbi: Fix uninitialized mbi_lock
f352e84e6e3c selftests: gpio-mockup-chardev: Check asprintf() for error
357d9c7a01c6 selftests: seccomp: use LDLIBS instead of LDFLAGS
eecde0a099af phy: ath79-usb: Fix the main reset name to match the DT binding
e55af638c4f4 phy: ath79-usb: Fix the power on error path
fc8176da28b5 selftests/vm/gup_benchmark.c: match gup struct to kernel
7bba7aff51ea ASoC: imx-audmux: change snprintf to scnprintf for possible overflow
9500ecb9ad01 ASoC: dapm: change snprintf to scnprintf for possible overflow
375a9673264c ASoC: rt5682: Fix PLL source register definitions
7ff778648947 x86/mm/mem_encrypt: Fix erroneous sizeof()
17fab8914f86 genirq: Make sure the initial affinity is not empty
7746dd64c2c9 selftests: rtc: rtctest: add alarm test on minute boundary
2409a869dad3 selftests: rtc: rtctest: fix alarm tests
4670e8391710 usb: gadget: Potential NULL dereference on allocation error
08c937f9a3db usb: dwc3: gadget: Fix the uninitialized link_state when udc starts
03a5d4d55335 usb: dwc3: gadget: synchronize_irq dwc irq in suspend
f29024c0e9a7 thermal: int340x_thermal: Fix a NULL vs IS_ERR() check
fc1073dfc4e0 clk: vc5: Abort clock configuration without upstream clock
71943c38620d clk: sysfs: fix invalid JSON in clk_dump
acc934f57691 clk: tegra: dfll: Fix a potential Oop in remove()
651023ed93ab ASoC: Variable "val" in function rt274_i2c_probe() could be uninitialized
e7b2f9f2bce2 ALSA: compress: prevent potential divide by zero bugs
a4964959ee83 ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field
5a7005337c2a drm/msm: Unblock writer if reader closes file
0f978ec3ed3e scsi: libsas: Fix rphy phy_identifier for PHYs with end devices attached
a7c6cf3bdf33 mac80211: Change default tx_sk_pacing_shift to 7
765c30b31849 genirq/matrix: Improve target CPU selection for managed interrupts.
8cae7757e862 irq/matrix: Spread managed interrupts on allocation
2948b8875df4 irq/matrix: Split out the CPU selection code into a helper
51ea85abe794 Linux 4.19.26
101e19726552 net: phylink: avoid resolving link state too early
c80bf03569af pinctrl: max77620: Use define directive for max77620_pinconf_param values
c014cae8e196 udlfb: handle unplug properly
6546e1150c9b netfilter: ipt_CLUSTERIP: fix sleep-in-atomic bug in clusterip_config_entry_put()
0c1054e0e5fd netfilter: nfnetlink_osf: add missing fmatch check
783359cf762c netfilter: ipv6: Don't preserve original oif for loopback address
a905b82e1ea3 netfilter: nft_compat: use-after-free when deleting targets
1500d94e33d8 netfilter: nf_tables: fix flush after rule deletion in the same batch
6ecc7407187c Revert "bridge: do not add port to router list when receives query with source 0.0.0.0"
bff97255bb29 staging: erofs: unzip_vle_lz4.c,utils.c: rectify BUG_ONs
9a6a676e16eb staging: erofs: unzip_{pagevec.h,vle.c}: rectify BUG_ONs
bea01ea032a6 staging: erofs: {dir,inode,super}.c: rectify BUG_ONs
60ce4b529797 staging: erofs: add a full barrier in erofs_workgroup_unfreeze
08ec9e6892cc staging: erofs: fix `erofs_workgroup_{try_to_freeze, unfreeze}'
b0a18cab6aeb staging: erofs: atomic_cond_read_relaxed on ref-locked workgroup
398102f64acd staging: erofs: remove the redundant d_rehash() for the root dentry
017f7fd75b24 staging: erofs: drop multiref support temporarily
eb5913dfa5c1 staging: erofs: replace BUG_ON with DBG_BUGON in data.c
34ac4c14f5d5 staging: erofs: complete error handing of z_erofs_do_read_page
1c9d5a47c681 staging: erofs: fix a bug when appling cache strategy
c375152be9dd net: avoid false positives in untrusted gso validation
e93384b12443 net: validate untrusted gso packets without csum offload
311722240ca6 kvm: x86: Return LA57 feature based on hardware capability
6bab27b60c1a mac80211: allocate tailroom for forwarded mesh packets
0329973ec999 drm/amd/display: Fix MST reboot/poweroff sequence
d8a648cae347 drm/i915/fbdev: Actually configure untiled displays
06fa18685411 gpu: drm: radeon: Set DPM_FLAG_NEVER_SKIP when enabling PM-runtime
6834afab4bec drm/amdgpu: Set DPM_FLAG_NEVER_SKIP when enabling PM-runtime
95aed87b9e2e ARC: define ARCH_SLAB_MINALIGN = 8
7779566abb68 ARC: U-boot: check arguments paranoidly
5f7814c0ae6f ARCv2: Enable unaligned access in early ASM code
ebe390b42e60 parisc: Fix ptrace syscall number modification
8b4b1d7cc4d0 KEYS: always initialize keyring_index_key::desc_len
390c76534de1 KEYS: user: Align the payload buffer
293f2dcd0d07 RDMA/srp: Rework SCSI device reset handling
fdfd723e99e6 net/mlx5e: XDP, fix redirect resources availability check
d569cb5ac0c4 net_sched: fix two more memory leaks in cls_tcindex
dcd62aa6f895 net_sched: fix a memory leak in cls_tcindex
056a17982adb net_sched: fix a race condition in tcindex_destroy()
862600971c47 sit: check if IPv6 enabled before calling ip6_err_gen_icmpv6_unreach()
c647233ea046 geneve: should not call rt6_lookup() when ipv6 was disabled
7aab1e6d9edb net: socket: make bond ioctls go through compat_ifreq_ioctl()
e37c96c11175 net: socket: fix SIOCGIFNAME in compat
50021ba98fbd Revert "kill dev_ifsioc()"
99f3c89669d9 Revert "socket: fix struct ifreq size in compat ioctl"
c031b433801f team: avoid complex list operations in team_nl_cmd_options_set()
5716864df7c4 sctp: set stream ext to NULL after freeing it in sctp_stream_outq_migrate
e8eff9f4fc6a sctp: call gso_reset_checksum when computing checksum in sctp_gso_segment
9e5cc54ea086 net: sfp: do not probe SFP module before we're attached
c2ee2c708aae net/packet: fix 4gb buffer limit due to overflow check
f3ec82db191b net/mlx5e: Don't overwrite pedit action when multiple pedit used
4190a7bcd2af net/mlx4_en: Force CHECKSUM_NONE for short ethernet frames
198198d5ae59 net: ena: fix race between link up and device initalization
fd49ffa383b9 ipv6: propagate genlmsg_reply return code
589503cb2486 inet_diag: fix reporting cgroup classid and fallback to priority
c580bb3120cb batman-adv: fix uninit-value in batadv_interface_tx()
ab125bd3caaf isdn: avm: Fix string plus integer warning from Clang
6ed281fd85b6 net/mlx5e: Fix wrong (zero) TX drop counter indication for representor
7f5491b9875a selftests: forwarding: Add a test case for externally learned FDB entries
e26772f056b5 mlxsw: spectrum_switchdev: Do not treat static FDB entries as sticky
4799417bb641 net: bridge: Mark FDB entries that were added by user as such
d7ac3d3135ff mlxsw: pci: Return error on PCI reset timeout
0aafea5d4b22 dpaa_eth: NETIF_F_LLTX requires to do our own update of trans_start
8b92162f4e8b bpf: bpf_setsockopt: reset sock dst on SO_MARK changes
0761f58c62d7 leds: lp5523: fix a missing check of return value of lp55xx_read
ddb8d7c9d460 hwmon: (tmp421) Correct the misspelling of the tmp442 compatible attribute in OF device ID table
e0d7b0a2a57a atm: he: fix sign-extension overflow on large shift
22b304bfcb00 selftests/bpf: retry tests that expect build-id
5c6fdd877eff bpf: zero out build_id for BPF_STACK_BUILD_ID_IP
c4555b9f2807 bpf: don't assume build-id length is always 20 bytes
5d6af6f9dd2f afs: Fix key refcounting in file locking code
dc4ec1bad9e2 afs: Don't set vnode->cb_s_break in afs_validate()
a45b037edae3 selftests: tc-testing: fix parsing of ife type
2c69ea7f0c11 selftests: tc-testing: fix tunnel_key failure if dst_port is unspecified
38a27ee2ea03 selftests: tc-testing: drop test on missing tunnel key id
642e26628cf9 pvcalls-front: fix potential null dereference
b4c5be499ba3 drm/sun4i: backend: add missing of_node_puts
5604fdcfcfdc vhost: return EINVAL if iovecs size does not match the message size
096a3170575f drm/amd/display: fix PME notification not working in RV desktop
bf846e9035b5 drm/amdkfd: Don't assign dGPUs to APU topology devices
6d09976cca02 drm/meson: add missing of_node_put
c818b5b47181 always clear the X2APIC_ENABLE bit for PV guest
73aa8292caba netfilter: nft_flow_offload: fix checking method of conntrack helper
4c3b23e90307 scsi: cxgb4i: add wait_for_completion()
b2ae824798e1 scsi: ufs: Fix geometry descriptor size
a7ff8ada154d scsi: qedi: Add ep_state for login completion on un-reachable targets
5641d2f8cdf2 scsi: ufs: Fix system suspend status
2c3c854b56c6 scsi: tcmu: avoid cmd/qfull timers updated whenever a new cmd comes
3dd0ce706e0b isdn: i4l: isdn_tty: Fix some concurrency double-free bugs
1b8742ba98a5 net: stmmac: Prevent RX starvation in stmmac_napi_poll()
2406055411ed net: stmmac: Fix the logic of checking if RX Watchdog must be enabled
e8fbb5c98b04 net: stmmac: Check if CBS is supported before configuring
fcfdb4022c82 net: stmmac: dwxgmac2: Only clear interrupts that are active
4ef0d67c281f net: stmmac: Fix PCI module removal leak
752f0bcb5d4d acpi/nfit: Fix race accessing memdev in nfit_get_smbios_id()
99b490e3a0f3 powerpc/8xx: fix setting of pagetable for Abatron BDI debug tool.
eeb370eaee98 RDMA/mthca: Clear QP objects during their allocation
6d26c375a483 netfilter: nft_flow_offload: fix interaction with vrf slave device
2f3480e34079 bpf: fix panic in stack_map_get_build_id() on i386 and arm32
06b919a51772 pvcalls-front: Avoid get_free_pages(GFP_KERNEL) under spinlock
26354d538df3 bpf: correctly set initial window on active Fast Open sender
535be4692ffc netfilter: nft_flow_offload: Fix reverse route lookup
703f4f653723 MIPS: jazz: fix 64bit build
4047a7ad3b2e include/linux/compiler*.h: fix OPTIMIZER_HIDE_VAR
93f3f4c0fdeb scsi: isci: initialize shost fully before calling scsi_add_host()
14285a4a8487 scsi: qla4xxx: check return code of qla4xxx_copy_from_fwddb_param
95d4f951e7bb netfilter: nf_tables: fix leaking object reference count
e9255c284270 selftests: forwarding: Add a test for VLAN deletion
0c596ab039d3 mlxsw: spectrum_acl: Add cleanup after C-TCAM update error condition
7169938b07db xprtrdma: Double free in rpcrdma_sendctxs_create()
ac3be9eb875f MIPS: ath79: Enable OF serial ports in the default config
2ac1c6e71ee7 net/mlx4: Get rid of page operation after dma_alloc_coherent
b5f7ead81de3 watchdog: mt7621_wdt/rt2880_wdt: Fix compilation problem
fc396828a4e6 selftests/bpf: Test [::] -> [::1] rewrite in sys_sendmsg in test_sock_addr
8b0d641e6152 bpf: Fix [::] -> [::1] rewrite in sys_sendmsg
6bcf4e0703b1 net: hns: Fix use after free identified by SLUB debug
08eb17ec3c1b qed: Fix qed_ll2_post_rx_buffer_notify_fw() by adding a write memory barrier
1fa0cf450c88 qed: Fix qed_chain_set_prod() for PBL chains with non power of 2 page count
bc4e383da82b xen/pvcalls: remove set but not used variable 'intf'
7fc59021c1f5 mfd: mc13xxx: Fix a missing check of a register-read failure
e42296ae45a6 mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe()
beaf260ec820 mfd: cros_ec_dev: Add missing mfd_remove_devices() call in remove
ef1dc506cb50 mfd: axp20x: Add supported cells for AXP803
48d17f5f9d74 mfd: axp20x: Re-align MFD cell entries
49542ac0c460 mfd: axp20x: Add AC power supply cell for AXP813
45acbfa661bb mfd: wm5110: Add missing ASRC rate register
467829cc83a5 mfd: qcom_rpm: write fw_version to CTRL_REG
eb617dc67878 mfd: bd9571mwv: Add volatile register to make DVFS work
2990096c88cb mfd: ab8500-core: Return zero in get_register_interruptible()
14da7f159711 mfd: mt6397: Do not call irq_domain_remove if PMIC unsupported
9bf045ff761a mfd: db8500-prcmu: Fix some section annotations
232860c51e78 mfd: twl-core: Fix section annotations on {,un}protect_pm_master
1a4c9c4e0107 pvcalls-back: set -ENOTCONN in pvcalls_conn_back_read
05ac8a683962 pvcalls-front: properly allocate sk
81b8519de1b4 pvcalls-front: don't try to free unallocated rings
9699f7a70eb8 pvcalls-front: read all data before closing the connection
6bdf535f4aaf mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells
d87fa3f7711b backlight: pwm_bl: Fix devicetree parsing with auto-generated brightness tables
f812bec554d0 KEYS: allow reaching the keys quotas exactly
cbe43c3d35f5 ALSA: hda/realtek: Disable PC beep in passthrough on alc285
c607b6d19859 ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5
a89e0d5c603a proc, oom: do not report alien mms when setting oom_score_adj
c7ddb2689d7a numa: change get_mempolicy() to use nr_node_ids instead of MAX_NUMNODES
b8d7fb1efb96 ceph: avoid repeatedly adding inode to mdsc->snap_flush_list
c74260710e62 libceph: handle an empty authorize reply
a35b18616a73 mac80211: Free mpath object when rhashtable insertion fails
007719caa958 mac80211: Use linked list instead of rhashtable walk for mesh tables
af900ac68bb7 mac80211: Restore vif beacon interval if start ap fails
cd10b02afb7c gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2
a83243a85827 gpio: MT7621: use a per instance irq_chip structure
4db02ac96841 MIPS: eBPF: Always return sign extended 32b values
b5e57dbb5a0e tracing: Fix number of entries in trace header
775ab7d3d12b ARM: 8834/1: Fix: kprobes: optimized kprobes illegal instruction
eb1e5b1a64ee Linux 4.19.25
eed11c69d275 ax25: fix possible use-after-free
0137890a4a8f mISDN: fix a race in dev_expire_timer()
74e1493e00f2 net/x25: do not hold the cpu too long in x25_new_lci()
6a3f7237871c netfilter: nf_nat_snmp_basic: add missing length checks in ASN.1 cbs
a7e0b9680aec sunrpc: fix 4 more call sites that were using stack memory with a scatterlist
bc5d97268c0c PCI: Fix __initdata issue with "pci=disable_acs_redir" parameter
f9e6a18a44de mmc: meson-gx: fix interrupt name
88bfdab618df scsi: target/core: Use kmem_cache_free() instead of kfree()
82f39f021944 hwmon: (lm80) Fix missing unlock on error in set_fan_div()
718ccdb3ea31 net: Do not allocate page fragments that are not skb aligned
1bdb1675f33f tcp: tcp_v4_err() should be more careful
df1b583c1654 tcp: clear icsk_backoff in tcp_write_queue_purge()
56e97e70f7e3 net: Add header for usage of fls64()
a3b6fa373adc vxlan: test dev->flags & IFF_UP before calling netif_rx()
03a6fc5712e8 vsock: cope with memory allocation failure at socket creation time
9a752d37292b vhost: correctly check the return value of translate_desc() in log_used()
1e3300eb2189 sky2: Increase D3 delay again
6e04b8210f96 net: stmmac: handle endianness in dwmac4_get_timestamp
176ab70112c5 net: stmmac: Fix a race in EEE enable callback
618bd2c202b4 net: phy: xgmiitorgmii: Support generic PHY status read
1764111c9972 net: ipv4: use a dedicated counter for icmp_v4 redirect packets
4523bc864077 net: ip6_gre: initialize erspan_ver just for erspan tunnels
4c1b91b82c43 net: fix IPv6 prefix route residue
b2975c2e8342 net: Fix for_each_netdev_feature on Big endian
eb5e6869125f net: crypto set sk to NULL when af_alg_release.
bd1488b8d476 mlxsw: __mlxsw_sp_port_headroom_set(): Fix a use of local variable
017d511085a3 dsa: mv88e6xxx: Ensure all pending interrupts are handled prior to exit
bbbefe815f50 af_packet: fix raw sockets over 6in4 tunnel
f287634fe321 Linux 4.19.24
dd5f4d067a2c mm: proc: smaps_rollup: fix pss_locked calculation
6a204bd5f1e6 drm/i915: Prevent a race during I915_GEM_MMAP ioctl with WC set
4631e0b4cf46 drm/i915: Block fbdev HPD processing during suspend
de48b5f3d0ef drm/vkms: Fix license inconsistent
3312e0ae2faf drm: Use array_size() when creating lease
029a38f8211f dm thin: fix bug where bio that overwrites thin block ignores FUA
3ec93eb3808f dm crypt: don't overallocate the integrity tag space
b2778ef8b906 x86/a.out: Clear the dump structure initially
ddf966410ace md/raid1: don't clear bitmap bits on interrupted recovery.
a2b3e2c0f576 signal: Restore the stop PTRACE_EVENT_EXIT
0396cf55657c scsi: sd: fix entropy gathering for most rotational disks
cdc356855685 x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls
45649b999632 tracing/uprobes: Fix output for multiple string arguments
88e1e66a2a1a s390/zcrypt: fix specification exception on z196 during ap probe
a3fadeff7122 alpha: Fix Eiger NR_IRQS to 128
c56eef69ba24 alpha: fix page fault handling for r16-r18 targets
657fbf79a880 Revert "mm: slowly shrink slabs with a relatively small number of objects"
8d485d3a628b Revert "mm: don't reclaim inodes with many attached pages"
93769fef8d61 Revert "nfsd4: return default lease period"
17f4ddaa71f7 Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780
3bd120956db2 Input: bma150 - register input device after setting private data
c4609e81e0b7 mmc: block: handle complete_work on separate workqueue
248a2f3cbebe mmc: sunxi: Filter out unsupported modes declared in the device tree
0d41c03c41ec kvm: vmx: Fix entry number check for add_atomic_switch_msr()
c58f010bebfd x86/kvm/nVMX: read from MSR_IA32_VMX_PROCBASED_CTLS2 only when it is available
2ab1483852b3 riscv: Add pte bit to distinguish swap from invalid
22d6e72bb566 tools uapi: fix Alpha support
49720ef58e89 ASoC: hdmi-codec: fix oops on re-probe
bdd448108d85 ALSA: usb-audio: Fix implicit fb endpoint setup by quirk
8715ba45d008 ALSA: hda - Add quirk for HP EliteBook 840 G5
74cbb754d63f perf/x86: Add check_period PMU callback
d10e77c26022 perf/core: Fix impossible ring-buffer sizes warning
1b1de8b95b97 ARM: OMAP5+: Fix inverted nirq pin interrupts with irq_set_type
d9a974fdaaa3 Input: elan_i2c - add ACPI ID for touchpad in Lenovo V330-15ISK
2abf1ce44e28 Revert "Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G"
ede7fb452221 gpio: mxc: move gpio noirq suspend/resume to syscore phase
b1765ebd9d12 CIFS: Do not assume one credit for async responses
6804b3ecbe20 kvm: sev: Fail KVM_SEV_INIT if already initialized
63715c1f0a67 cifs: Limit memory used by lock request calls to a page
4b709998564b drm/nouveau/falcon: avoid touching registers if engine is off
85a088cc4c8e drm/nouveau: Don't disable polling in fallback mode
0a87c5333c90 gpio: pl061: handle failed allocations
5cf199f8d03f ARM: dts: kirkwood: Fix polarity of GPIO fan lines
6e7136c1c79f ARM: dts: da850-lcdk: Correct the sound card name
8bea93c89bc8 ARM: dts: da850-lcdk: Correct the audio codec regulators
f3b61cba316a ARM: dts: da850-evm: Correct the sound card name
7c06896ea134 ARM: dts: da850-evm: Correct the audio codec regulators
46bf9a8c8bb0 drm/amdgpu: set WRITE_BURST_LENGTH to 64B to workaround SDMA1 hang
2f5581e82fe4 nvme: pad fake subsys NQN vid and ssvid with zeros
6c27b5230e35 nvme-multipath: zero out ANA log buffer
095cfdf857a3 nvme-pci: fix out of bounds access in nvme_cqe_pending
1e746fe215eb nvme-pci: use the same attributes when freeing host_mem_desc_bufs.
9e4a7beedf43 drm/bridge: tc358767: fix output H/V syncs
0c13400bc743 drm/bridge: tc358767: reject modes which require too much BW
ad9675e47b49 drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
9ac48b301c2a drm/bridge: tc358767: fix single lane configuration
32f833a85c9a drm/bridge: tc358767: add defines for DP1_SRCCTRL & PHY_2LANE
d180c28698a1 drm/bridge: tc358767: add bus flags
c6f27cdd4fca cpufreq: check if policy is inactive early in __cpufreq_get()
fa92c4e6b244 riscv: fix trace_sys_exit hook
da78c8cda5b9 tools uapi: fix RISC-V 64-bit support
46f0e6984c84 perf test shell: Use a fallback to get the pathname in vfs_getname
d20bfcb55003 perf report: Fix wrong iteration count in --branch-history
db8c9ab3f47f ACPI: NUMA: Use correct type for printing addresses on i386-PAE
f749f9702c98 drm/amdgpu/sriov:Correct pfvf exchange logic
bdd8fd8a2efe ARM: fix the cockup in the previous patch
e7a8dabe92f1 ARM: ensure that processor vtables is not lost after boot
4645c6ccbd7a ARM: spectre-v2: per-CPU vtables to work around big.Little systems
b11fd96c0eca ARM: add PROC_VTABLE and PROC_TABLE macros
06b5ec99f2ee ARM: clean up per-processor check_bugs method call
8a4cf73fed23 ARM: split out processor lookup
e3e1b2a20ad3 ARM: make lookup_processor_type() non-__init
19c186ab4ea7 ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc
042b172201a8 ARM: 8797/1: spectre-v1.1: harden __copy_to_user
b7a95704e922 ARM: 8796/1: spectre-v1,v1.1: provide helpers for address sanitization
beaf90b2d280 ARM: 8795/1: spectre-v1.1: use put_user() for __put_user()
39b282ade6d0 ARM: 8794/1: uaccess: Prevent speculative use of the current addr_limit
ba22d5941823 ARM: 8793/1: signal: replace __put_user_error with __put_user
73dad6efbe31 ARM: 8792/1: oabi-compat: copy oabi events using __copy_to_user()
9cad5755b6e2 ARM: 8791/1: vfp: use __copy_to_user() when saving VFP state
3a59b35c3cb8 ARM: 8790/1: signal: always use __copy_to_user to save iwmmxt context
ec4842816f04 ARM: 8789/1: signal: copy registers using __copy_to_user()
80c8452ad45f blk-mq: fix a hung issue when fsync
d4aaa45f2d98 eeprom: at24: add support for 24c2048
57e85c67d033 dt-bindings: eeprom: at24: add "atmel,24c2048" compatible string
67d52fae61c1 Linux 4.19.23
c2109f05b7fd Revert "exec: load_script: don't blindly truncate shebang string"
6f8c14ee7b6f Linux 4.19.22
9b65b18f817d svcrdma: Remove max_sge check at connect time
4d376ab80483 svcrdma: Reduce max_send_sges
4dd911f1e38e batman-adv: Force mac header to start of data on xmit
a21222305015 batman-adv: Avoid WARN on net_device without parent in netns
9d84284cc83b xfrm: refine validation of template and selector families
f7fb58a78a63 libceph: avoid KEEPALIVE_PENDING races in ceph_con_keepalive()
28f49e768d21 Revert "ext4: use ext4_write_inode() when fsyncing w/o a journal"
8b8f7b04f868 xfrm: Make set-mark default behavior backward compatible
2440f3cebcb0 SUNRPC: Always drop the XPRT_LOCK on XPRT_CLOSE_WAIT
8274c3d4895b drm/vmwgfx: Return error code from vmw_execbuf_copy_fence_user
d74ff5f67849 drm/vmwgfx: Fix setting of dma masks
c2a354ce5458 drm/i915: always return something on DDI clock selection
b81afe37ff55 drm/amd/powerplay: Fix missing break in switch
56d3178666fb drm/modes: Prevent division by zero htotal
a4c77aac0d5c mac80211: ensure that mgmt tx skbs have tailroom for encryption
1ce0fcebff24 mic: vop: Fix use-after-free on remove
49c473e1237e powerpc/radix: Fix kernel crash with mremap()
d4e7c9420edd firmware: arm_scmi: provide the mandatory device release callback
fe3dabb6a4b1 ARM: dts: da850: fix interrupt numbers for clocksource
33bd0949212b ARM: tango: Improve ARCH_MULTIPLATFORM compatibility
569051e12220 ARM: iop32x/n2100: fix PCI IRQ mapping
f5b4de051294 MIPS: VDSO: Include $(ccflags-vdso) in o32,n32 .lds builds
814e44507f96 mips: loongson64: remove unreachable(), fix loongson_poweroff().
e32ba28eddad MIPS: VDSO: Use same -m%-float cflag as the kernel proper
264b26201a22 MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled
384cc5fd6727 mips: cm: reprime error cause
7e44aab92783 tracing: uprobes: Fix typo in pr_fmt string
9b66753c68a0 pinctrl: cherryview: fix Strago DMI workaround
93f6fb609874 pinctrl: sunxi: Correct number of IRQ banks on H6 main pin controller
c619140d4843 debugfs: fix debugfs_rename parameter checking
0c548bab17c2 samples: mei: use /dev/mei0 instead of /dev/mei
edd8fb55d7f1 mei: me: add ice lake point device id.
db5f65bfc1fa misc: vexpress: Off by one in vexpress_syscfg_exec()
959e46afeca1 signal: Better detection of synchronous signals
f681f2684f14 signal: Always notice exiting tasks
3e17af253e62 iio: ti-ads8688: Update buffer allocation for timestamps
af770a1558c4 iio: chemical: atlas-ph-sensor: correct IIO_TEMP values to millicelsius
38d28640db5a iio: adc: axp288: Fix TS-pin handling
5b9ebf5bdf0a tools: iio: iio_generic_buffer: make num_loops signed
88ff6a0b9975 libata: Add NOLPM quirk for SAMSUNG MZ7TE512HMHP-000L1 SSD
7c5d650ad5a2 mtd: rawnand: gpmi: fix MX28 bus master lockup problem
a72040a9d929 mtd: spinand: Fix the error/cleanup path in spinand_init()
b3ce77578374 mtd: spinand: Handle the case where PROGRAM LOAD does not reset the cache
3ca59bf1fb7c mtd: Make sure mtd->erasesize is valid even if the partition is of size 0
43d3d5141515 Linux 4.19.21
b00d9ff756b6 ath9k: dynack: check da->enabled first in sampling routines
14acca60aee4 ath9k: dynack: make ewma estimation faster
8b71aa1a3bb8 perf/x86/intel: Delay memory deallocation until x86_pmu_dead_cpu()
fc3f15c672f6 IB/hfi1: Add limit test for RC/UC send via loopback
29706d59abdf cacheinfo: Keep the old value if of_property_read_u32 fails
c287265bfa65 serial: sh-sci: Do not free irqs that have already been freed
57a3ef4dd520 serial: 8250_pci: Make PCI class test non fatal
f50a8b34d7e4 serial: fix race between flush_to_ldisc and tty_open
d5cb494b9613 perf tests evsel-tp-sched: Fix bitwise operator
1aeeb176683d perf/core: Don't WARN() for impossible ring-buffer sizes
5b27e3bc5a2b x86/MCE: Initialize mce.bank in the case of a fatal error in mce_no_way_out()
4e6bfd756f8e perf/x86/intel/uncore: Add Node ID mask
97a7fa90eae9 cpu/hotplug: Fix "SMT disabled by BIOS" detection for KVM
236fd677125f KVM: nVMX: unconditionally cancel preemption timer in free_nested (CVE-2019-7221)
24b027d2b138 kvm: fix kvm_ioctl_create_device() reference counting (CVE-2019-6974)
5a45d3720b54 KVM: x86: work around leak of uninitialized stack contents (CVE-2019-7222)
4cf73d54792b scsi: aic94xx: fix module loading
5e91ba179a86 scsi: cxlflash: Prevent deadlock when adapter probe fails
bbd5d7adde3b staging: speakup: fix tty-operation NULL derefs
bc4162577c1a usb: gadget: musb: fix short isoc packets with inventra dma
77541a0b0413 usb: gadget: udc: net2272: Fix bitwise and boolean operations
19bc535e3729 usb: dwc3: gadget: Handle 0 xfer length for OUT EP
a8438c38d7ce usb: phy: am335x: fix race condition in _probe
8459f1d6ff62 irqchip/gic-v3-its: Plug allocation race for devices sharing a DevID
ee73954d9a21 futex: Handle early deadlock return correctly
4a9e4bcda782 dmaengine: imx-dma: fix wrong callback invoke
84c1d5627597 dmaengine: bcm2835: Fix abort of transactions
916eb6bd8da3 dmaengine: bcm2835: Fix interrupt race on RT
c70374ce418e HID: debug: fix the ring buffer implementation
6ccc9e1128e5 fuse: handle zero sized retrieve correctly
f99027ab63be fuse: decrement NR_WRITEBACK_TEMP on the right page
48be0eb05e7e fuse: call pipe_buf_release() under pipe lock
a57ab2e71098 ALSA: hda/realtek - Headset microphone support for System76 darp5
7cb468772a10 ALSA: hda/realtek - Use a common helper for hp pin reference
65c9a62822f6 ALSA: hda/realtek - Fix lose hp_pins for disable auto mute
7fd6d8193b85 ALSA: hda - Serialize codec registrations
2a0aba551610 ALSA: usb-audio: Add support for new T+A USB DAC
93e7d51029bd ALSA: compress: Fix stop handling on compressed capture streams
1f78052b0991 xfs: eof trim writeback mapping as soon as it is cached
1f1eb00c6ebb net/mlx5e: FPGA, fix Innova IPsec TX offload data path performance
9143e1dcad36 virtio_net: Account for tx bytes and packets on sending xdp_frames
c8ba1f7989c6 skge: potential memory corruption in skge_get_regs()
7c2361308e17 sctp: walk the list of asoc safely
7cd4e833761f sctp: check and update stream->out_curr when allocating stream_out
21b8697e605a rxrpc: bad unlock balance in rxrpc_recvmsg
7c1a5ce672f7 Revert "net: phy: marvell: avoid pause mode on SGMII-to-Copper for 88e151x"
f2f054c485db rds: fix refcount bug in rds_sock_addref
2c24ed77a8c0 net: systemport: Fix WoL with password after deep sleep
b72ea6ec83be net/mlx5e: Force CHECKSUM_UNNECESSARY for short ethernet frames
8104a5e73f1f net: dsa: slave: Don't propagate flag changes on down slave interfaces
27a2fa009817 net: dsa: mv88e6xxx: Fix counting of ATU violations
c8dfab5c610f net: dsa: Fix NULL checking in dsa_slave_set_eee()
98cedccb8654 net: dsa: Fix lockdep false positive splat
8e1428c9b39f net: dp83640: expire old TX-skb
81733c642df8 lib/test_rhashtable: Make test_insert_dup() allocate its hash table dynamically
cedc42f5d1e1 enic: fix checksum validation for IPv6
15ed55e3b1a5 dccp: fool proof ccid_hc_[rt]x_parse_options()
56ea9164467b thermal: hwmon: inline helpers when CONFIG_THERMAL_HWMON is not set
0c802cbaa6db xfs: fix inverted return from xfs_btree_sblock_verify_crc
c6c20af69c61 xfs: fix PAGE_MASK usage in xfs_free_file_space
757332c643ca fs/xfs: fix f_ffree value for statfs when project quota is set
886f0de16239 xfs: delalloc -> unwritten COW fork allocation can go wrong
5a7455e922b4 xfs: fix transient reference count error in xfs_buf_resubmit_failed_buffers
c3a66bf4ce40 xfs: fix shared extent data corruption due to missing cow reservation
a96f3a55143a xfs: fix overflow in xfs_attr3_leaf_verify
b6095cbd7841 xfs: Fix error code in 'xfs_ioc_getbmap()'
a585ac0e767b xfs: cancel COW blocks before swapext
62c7c0a8709b xfs: Fix xqmstats offsets in /proc/fs/xfs/xqmstat
aacb2ab111c5 scripts/gdb: fix lx-version string output
58e57bcbc1fb kernel/kcov.c: mark write_comp_data() as notrace
ab5f74071257 exec: load_script: don't blindly truncate shebang string
9cb8f8088d9a fs/epoll: drop ovflist branch prediction
f0d32c54ff53 kernel/hung_task.c: force console verbose before panic
9beb84c027f1 proc/sysctl: fix return error for proc_doulongvec_minmax()
9c8939b03bac kernel/hung_task.c: break RCU locks based on jiffies
d69ad39ad5d3 arm64/sve: ptrace: Fix SVE_PT_REGS_OFFSET definition
d921bb16259e HID: lenovo: Add checks to fix of_led_classdev_register
ec8f73c268a5 thermal: generic-adc: Fix adc to temp interpolation
89c183580b4f PCI: imx: Enable MSI from downstream components
3818c29a65d6 kdb: Don't back trace on a cpu that didn't round up
6a7c0215d28c thermal: bcm2835: enable hwmon explicitly
295b3e2af87c block/swim3: Fix -EBUSY error when re-opening device after unmount
d579abcacb0b fsl/fman: Use GFP_ATOMIC in {memac,tgec}_add_hash_mac_address()
711b2e7fc02f gdrom: fix a memory leak bug
b67e3130a9ba isdn: hisax: hfc_pci: Fix a possible concurrency use-after-free bug in HFCPCI_l1hw()
3b3ee499c4b5 zram: fix lockdep warning of free block handling
f73c77535f67 mm/page_alloc.c: don't call kasan_free_pages() at deferred mem init
066206bc6e9e ocfs2: improve ocfs2 Makefile
69e63b49ddf9 ocfs2: don't clear bh uptodate for block read
dc8bd7ed080d arch/sh/boards/mach-kfr2r09/setup.c: fix struct mtd_oob_ops build warning
fa3c7c098c6a scripts/decode_stacktrace: only strip base path when a prefix of the path
395cbb9a52ba perf python: Do not force closing original perf descriptor in evlist.get_pollfd()
4b5abffd63eb cgroup: fix parsing empty mount option string
df13b0369bc0 f2fs: fix sbi->extent_list corruption issue
4d6b5b08f19f niu: fix missing checks of niu_pci_eeprom_read
1e480ee6c0eb um: Avoid marking pages with "changed protection"
69e7f87745e7 f2fs: fix use-after-free issue when accessing sbi->stat_info
5d3b4cd8734b cifs: check ntwrk_buf_start for NULL before dereferencing it
2cdf5246df0e MIPS: ralink: Select CONFIG_CPU_MIPSR2_IRQ_VI on MT7620/8
1dc571ff4da2 crypto: ux500 - Use proper enum in hash_set_dma_transfer
2b020c09a8c9 crypto: ux500 - Use proper enum in cryp_set_dma_transfer
6201e8add97a seq_buf: Make seq_buf_puts() null-terminate the buffer
040f76976ec5 hwmon: (lm80) fix a missing check of bus read in lm80 probe
8dcf84789e31 hwmon: (lm80) fix a missing check of the status of SMBus read
303d29d8f0cf perf build: Don't unconditionally link the libbfd feature test to -liberty and -lz
8c642d71906b NFS: nfs_compare_mount_options always compare auth flavors.
ad9241f24f15 kvm: Change offset in kvm_write_guest_offset_cached to unsigned
fc090081d76a powerpc/fadump: Do not allow hot-remove memory from fadump reserved area.
84a4572bf277 KVM: x86: svm: report MSR_IA32_MCG_EXT_CTL as unsupported
a41cd69e4408 pinctrl: meson: meson8b: fix the GPIO function for the GPIOAO pins
098fa4897213 pinctrl: meson: meson8: fix the GPIO function for the GPIOAO pins
279eb1d94044 powerpc/mm: Fix reporting of kernel execute faults on the 8xx
9e9435bc0bd4 fbdev: fbcon: Fix unregister crash when more than one framebuffer
00e391ec584f ACPI/APEI: Clear GHES block_status before panic()
d657e82f4e67 igb: Fix an issue that PME is not enabled during runtime suspend
d01b26e77af8 ice: Do not enable NAPI on q_vectors that have no rings
8a35f678e603 i40e: define proper net_device::neigh_priv_len
6584e6c00435 fbdev: fbmem: behave better with small rotated displays and many CPUs
54541a75bfb6 md: fix raid10 hang issue caused by barrier
8d1385653698 video: clps711x-fb: release disp device node in probe()
8f0132db09ad drm/amd/display: validate extended dongle caps
bd9218ab042a drbd: Avoid Clang warning about pointless switch statment
66345d5392a7 drbd: skip spurious timeout (ping-timeo) when failing promote
af70af5b69a2 drbd: disconnect, if the wrong UUIDs are attached on a connected peer
3d67b428ab20 drbd: narrow rcu_read_lock in drbd_sync_handshake
8d317b0aae25 mlx5: update timecounter at least twice per counter overflow
49f182e6be8d powerpc/powernv/ioda: Allocate indirect TCE levels of cached userspace addresses on demand
394f925664bd iwlwifi: mvm: fix setting HE ppe FW config
5a0c7fb5332a powerpc/perf: Fix thresholding counter data for unknown type
d5e2df9ff507 net: hns3: add max vector number check for pf
86760e0dfe36 cw1200: Fix concurrency use-after-free bugs in cw1200_hw_scan()
993ba5d2b6c6 scsi: smartpqi: increase fw status register read timeout
32ab5d8a7def scsi: smartpqi: correct volume status
8b6f057f6f55 scsi: smartpqi: correct host serial num for ssa
b124f08677c9 mlxsw: spectrum: Properly cleanup LAG uppers when removing port from LAG
1552557b300b xfrm6_tunnel: Fix spi check in __xfrm6_tunnel_alloc_spi
e5af9ce365ad mac80211: fix radiotap vendor presence bitmap handling
e12194317d17 powerpc/uaccess: fix warning/error with access_ok()
3564fa62a8d7 drm/amd/display: fix YCbCr420 blank color
38f18b370546 Bluetooth: hci_bcm: Handle deferred probing for the clock supply
1baca23ade65 drm/amd/display: Add retry to read ddc_clock pin
a756020008e8 net: hns3: fix incomplete uninitialization of IRQ in the hns3_nic_uninit_vector_data()
7c54ba4a5fd9 percpu: convert spin_lock_irq to spin_lock_irqsave.
34f82d19c24b perf tools: Cast off_t to s64 to avoid warning on bionic libc
7a311dca7708 perf header: Fix up argument to ctime()
05bc28a1f991 usb: musb: dsps: fix runtime pm for peripheral mode
2a86649dce14 usb: musb: dsps: fix otg state machine
c709eeb02c04 arm64: KVM: Skip MMIO insn after emulation
086ed19ecf79 livepatch: check kzalloc return values
1157c2683c5b tools/power/x86/intel_pstate_tracer: Fix non root execution for post processing a trace file
4cd197bfa6e1 bnxt_en: Disable MSIX before re-reserving NQs/CMPL rings.
ae93f5f803ae i2c: sh_mobile: Add support for r8a774c0 (RZ/G2E)
19d4c0fd85ac perf probe: Fix unchecked usage of strncpy()
f5d5b5434912 btrfs: use tagged writepage to mitigate livelock of snapshot
4d5410609151 perf header: Fix unchecked usage of strncpy()
d177e25c9c3a perf dso: Fix unchecked usage of strncpy()
630e972bc405 perf test: Fix perf_event_attr test failure
283d0464734e tty: serial: samsung: Properly set flags in autoCTS mode
193de9820598 serial: sh-sci: Resume PIO in sci_rx_interrupt() on DMA failure
d71126505dba serial: sh-sci: Fix locking in sci_submit_rx()
3733632e8bc0 btrfs: harden agaist duplicate fsid on scanned devices
9790abdf8856 usb: renesas_usbhs: add support for RZ/G2E
33d127eae60d mmc: jz4740: Get CD/WP GPIOs from descriptors
3d49c3d76df7 mmc: sdhci-xenon: Fix timeout checks
8ee43469ce6e mmc: sdhci-omap: Fix timeout checks
1b2b6ce63058 mmc: sdhci-of-esdhc: Fix timeout checks
759e641acdd9 memstick: Prevent memstick host from getting runtime suspended during card detection
35e580cb6bc4 mmc: meson-mx-sdio: check devm_kasprintf for failure
ffc1770245c7 mmc: bcm2835: reset host on timeout
3d71a02198ac mmc: bcm2835: Recover from MMC_SEND_EXT_CSD
43b7fa3b31b9 KVM: PPC: Book3S: Only report KVM_CAP_SPAPR_TCE_VFIO on powernv machines
c4621bec5e0d ASoC: fsl: Fix SND_SOC_EUKREA_TLV320 build error on i.MX8M
8b4116f08988 ARM: pxa: avoid section mismatch warning
1a2500177b13 selftests/bpf: use __bpf_constant_htons in test_prog.c
3332bf15bfde switchtec: Fix SWITCHTEC_IOCTL_EVENT_IDX_ALL flags overwrite
6a1d712b4381 udf: Fix BUG on corrupted inode
702286d3bd6e mlxsw: spectrum_acl: Limit priority value
e640039aeeff phy: sun4i-usb: add support for missing USB PHY index
b5c21b7e3130 i2c-axxia: check for error conditions first
ccb7b328361a lightnvm: pblk: add lock protection to list operations
10014ff04a4e lightnvm: pblk: fix resubmission of overwritten write err lbas
3d786b91cd59 drm/msm: dpu: Only check flush register against pending flushes
ba833ec5b0c8 drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver
39d4c1c0dd76 tee: optee: avoid possible double list_del()
a1ea1fb46fbf OPP: Use opp_table->regulators to verify no regulator case
4c67633d4756 cpuidle: big.LITTLE: fix refcount leak
c443284c0d7b platform/x86: mlx-platform: Fix tachometer registers
ea225de3bd66 clk: imx6sl: ensure MMDC CH0 handshake is bypassed
1f16ac59e7e5 sata_rcar: fix deferred probing
710e1e561630 iommu/arm-smmu-v3: Use explicit mb() when moving cons pointer
61010bd9811d iommu/arm-smmu: Add support for qcom,smmu-v2 variant
00b0fbb8f0e3 iommu/arm-smmu-v3: Avoid memory corruption from Hisilicon MSI payloads
b59d70c07ab7 usb: dwc3: gadget: Disable CSP for stream OUT ep
dfb22b6810c7 ARM: dts: imx51-zii-rdu1: Do not specify "power-gpio" for hpa1
b5bb2cad5264 watchdog: renesas_wdt: don't set divider while watchdog is running
f06d48b0a4b9 ARM: dts: Fix up the D-Link DIR-685 MTD partition info
72d18db66d85 media: coda: fix H.264 deblocking filter controls
8cc0518a49b3 mips: bpf: fix encoding bug for mm_srlv32_op
463499c27cf9 ARM: dts: Fix OMAP4430 SDP Ethernet startup
3a6f1afa7be1 iommu/amd: Fix amd_iommu=force_isolation
389de86c1045 pinctrl: sx150x: handle failure case of devm_kstrdup
26e62a227324 gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack
6c95c2eebead gpio: mt7621: report failure of devm_kasprintf()
7eff52c36cfb usb: dwc3: trace: add missing break statement to make compiler happy
91e46947d02f IB/hfi1: Unreserve a reserved request when it is completed
f7debeebcdeb kobject: return error code if writing /sys/.../uevent fails
80eac1847950 driver core: Move async_synchronize_full call
1de47c06b3a3 tipc: fix node keep alive interval calculation
a42bbdcf538d drm/amdgpu/powerplay: fix clock stretcher limits on polaris (v2)
fb1ab6ac62b9 media: imx274: select REGMAP_I2C
1bf188456312 clk: sunxi-ng: a33: Set CLK_SET_RATE_PARENT for all audio module clocks
322a53b8f9b0 usb: mtu3: fix the issue about SetFeature(U1/U2_Enable)
0105d80dd157 timekeeping: Use proper seqcount initializer
263b0f92be96 usb: hub: delay hub autosuspend if USB3 port is still link training
272e858c2293 usb: dwc2: Disable power down feature on Samsung SoCs
93a6d3464023 usb: dwc3: Correct the logic for checking TRB full in __dwc3_prepare_one_trb()
64257468feed xtensa: xtfpga.dtsi: fix dtc warnings about SPI
54e71cb05054 smack: fix access permissions for keyring
60d803577519 media: DaVinci-VPBE: fix error handling in vpbe_initialize()
832819d11d4a media: i2c: TDA1997x: select CONFIG_HDMI
c91ff9ab06eb x86/fpu: Add might_fault() to user_insn()
9d79635b6267 ARM: dts: aspeed: add missing memory unit-address
4f770b4ba564 ARM: dts: mmp2: fix TWSI2
5214c28b688a drm/v3d: Fix prime imports of buffers from other drivers.
14743f8591a7 arm64: ftrace: don't adjust the LR value
5f4161ae9a75 mt76x0: dfs: fix IBI_R11 configuration on non-radar channels
87ae793221cc s390/zcrypt: improve special ap message cmd handling
eca31fc35afb firmware/efi: Add NULL pointer checks in efivars API functions
9c74cd4afbd3 thermal: Fix locking in cooling device sysfs update cur_state
f8a33ec5367e Thermal: do not clear passive state during system sleep
ed0526b271b9 arm64: io: Ensure value passed to __iormb() is held in a 64-bit register
68b4512ca6fc perf: arm_spe: handle devm_kasprintf() failure
af6db7e751ff drm: Clear state->acquire_ctx before leaving drm_atomic_helper_commit_duplicated_state()
2f0fb76b3e41 nfsd4: fix crash on writing v4_end_grace before nfsd startup
50d4088c003b soc: bcm: brcmstb: Don't leak device tree node reference
3fbba4e55051 sunvdc: Do not spin in an infinite loop when vio_ldc_send() returns EAGAIN
d65fbc4fe9a9 net: aquantia: return 'err' if set MPI_DEINIT state fails
dd46de15d830 arm64: io: Ensure calls to delay routines are ordered against prior readX()
8543f5fce30f i2c: sh_mobile: add support for r8a77990 (R-Car E3)
d54d612a73a6 f2fs: fix wrong return value of f2fs_acl_create
ddab3d0a38a5 f2fs: fix race between write_checkpoint and write_begin
c96d2b9d35b9 f2fs: move dir data flush to write checkpoint process
4acd5adecf20 staging: pi433: fix potential null dereference
6eaf5b9e6e7c ACPI: SPCR: Consider baud rate 0 as preconfigured state
b945ddacf4ab media: adv*/tc358743/ths8200: fill in min width/height/pixelclock
9c0403537ece iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID
687901c64686 iio: adc: meson-saradc: fix internal clock names
050f7e22f6a5 iio: adc: meson-saradc: check for devm_kasprintf failure
0f9dff37d027 powerpc/32: Add .data..Lubsan_data*/.data..Lubsan_type* sections explicitly
cefe8d2c0863 dmaengine: xilinx_dma: Remove __aligned attribute on zynqmp_dma_desc_ll
3b07abf1cedf ptp: Fix pass zero to ERR_PTR() in ptp_clock_register
2dbfc1cdb68a clk: meson: meson8b: mark the CPU clock as CLK_IS_CRITICAL
43cf81c200cd clk: meson: meson8b: fix the width of the cpu_scale_div clock
c36d06457afc clk: meson: meson8b: do not use cpu_div3 for cpu_scale_out_sel
73e933de8935 staging: erofs: fix the definition of DBG_BUGON
9eb74335f6be media: mtk-vcodec: Release device nodes in mtk_vcodec_init_enc_pm()
580d8b2f6e76 media: video-i2c: avoid accessing released memory area when removing driver
da77b546055c media: rc: ensure close() is called on rc_unregister_device
b0b10168d1b3 soc/tegra: Don't leak device tree node reference
504dcc424d28 perf tools: Add Hygon Dhyana support
b6293e6c9000 modpost: validate symbol names also in find_elf_symbol
1b63e37679cb net/mlx5: EQ, Use the right place to store/read IRQ affinity hint
f6d66139f887 bpf: libbpf: retry map creation without the name
0857b8439b6b drm/amd/display: calculate stream->phy_pix_clk before clock mapping
d43f6c2ea4c0 drm/amd/display: fix gamma not being applied correctly
8218fcf4666c ARM: OMAP2+: hwmod: Fix some section annotations
d57b35f44fed drm/rockchip: fix for mailbox read size
ab96959699fd usbnet: smsc95xx: fix rx packet alignment
5ca33f7980c9 staging: iio: ad7780: update voltage on read
39561eee9c57 scsi: hisi_sas: change the time of SAS SSP connection
aa422af6d3dd i40e: prevent overlapping tx_timeout recover
5a6b7e1b19ca platform/chrome: don't report EC_MKBP_EVENT_SENSOR_FIFO as wakeup
922fd2d04644 vbox: fix link error with 'gcc -Og'
f060c825c455 fpga: altera-cvp: fix 'bad IO access' on x86_64
42e19f5664f0 Tools: hv: kvp: Fix a warning of buffer overflow with gcc 8.0.1
9f941e80e679 fpga: altera-cvp: Fix registration for CvP incapable devices
0edcb650bfe3 staging:iio:ad2s90: Make probe handle spi_setup failure
76707e34f477 iwlwifi: fw: do not set sgi bits for HE connection
3a11ec548c5b dpaa2-ptp: defer probe when portal allocation failed
4ee24ae83ccb MIPS: Boston: Disable EG20T prefetch
ab143302b0b2 ptp: check gettime64 return code in PTP_SYS_OFFSET ioctl
49796c356187 serial: fsl_lpuart: clear parity enable bit when disable parity
7543c3cf17c6 drm/vc4: ->x_scaling[1] should never be set to VC4_SCALING_NONE
99eed8a29f9f crypto: aes_ti - disable interrupts while accessing S-box
22ccd257add3 powerpc/pseries: add of_node_put() in dlpar_detach_node()
534a0c21119b x86/PCI: Fix Broadcom CNB20LE unintended sign extension (redux)
ee9268a9b55b dlm: Don't swamp the CPU with callbacks queued during recovery
0d041add1ba0 clk: boston: fix possible memory leak in clk_boston_setup()
4660207706ca ARM: 8808/1: kexec:offline panic_smp_self_stop CPU
433f2f810291 scsi: lpfc: Fix LOGO/PLOGI handling when triggerd by ABTS Timeout event
83430596d497 scsi: mpt3sas: Call sas_remove_host before removing the target devices
3d08cdeb4486 scsi: lpfc: Correct LCB RJT handling
3bfb1ba39cac ath9k: dynack: use authentication messages for 'late' ack
f2dd96e607c6 ath10k: assign 'n_cipher_suites' for WCN3990
3e5bffa5371d wil6210: fix memory leak in wil_find_tx_bcast_2
8edf1df19ca1 wil6210: fix reset flow for Talyn-mb
752abfadcb8b nds32: Fix gcc 8.0 compiler option incompatible.
a6eccfac8393 gpu: ipu-v3: image-convert: Prevent race between run and unprepare
46ed4f4fa1cf genirq/affinity: Spread IRQs to all available NUMA nodes
2198c2c15eee drm/sun4i: Initialize registers in tcon-top driver
3555de57dca4 gpiolib: Fix possible use after free on label
9e4b0f771735 ASoC: Intel: mrfld: fix uninitialized variable access
9d9fcc11b860 pinctrl: bcm2835: Use raw spinlock for RT compatibility
8095fe603e16 drm/vgem: Fix vgem_init to get drm device available.
2ca14d0d2576 staging: iio: adc: ad7280a: handle error from __ad7280_read32()
a8b9f4f627c3 drm/bufs: Fix Spectre v1 vulnerability
26d074199730 devres: Align data[] to ARCH_KMALLOC_MINALIGN
323e0195e63f Linux 4.19.20
c0be624777ba cifs: Always resolve hostname before reconnecting
e7f11c55ad60 md/raid5: fix 'out of memory' during raid cache recovery
5b3109eb89dd of: overlay: do not duplicate properties from overlay for new nodes
7251e4b835ea of: overlay: use prop add changeset entry for property in new nodes
9af27fab0061 of: overlay: add missing of_node_get() in __of_attach_node_sysfs
5006496fb2c8 of: overlay: add tests to validate kfrees from overlay removal
3edc2fac969a of: Convert to using %pOFn instead of device_node.name
214dea147ffa mm: migrate: don't rely on __PageMovable() of newpage after unlocking it
ced41d9d6a1b mm: hwpoison: use do_send_sig_info() instead of force_sig()
b6f534ab695b mm, oom: fix use-after-free in oom_kill_process
d9f4d88d567e mm,memory_hotplug: fix scan_movable_pages() for gigantic hugepages
7e70ddc33279 oom, oom_reaper: do not enqueue same task twice
15033ca6bd13 mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT
c7122344f915 kernel/exit.c: release ptraced tasks before zap_pid_ns_processes
9ee5987f311f btrfs: On error always free subvol_name in btrfs_mount
5bce143671f3 Btrfs: fix deadlock when allocating tree block during leaf/node split
50a874a4aa28 mmc: sdhci-iproc: handle mmc_of_parse() errors during probe
8a32f086ff7e platform/x86: asus-nb-wmi: Drop mapping of 0x33 and 0x34 scan codes
734f06f5a701 platform/x86: asus-nb-wmi: Map 0x35 to KEY_SCREENLOCK
71ff3384d1fb IB/hfi1: Remove overly conservative VM_EXEC flag check
1ac48dafac4b ALSA: hda/realtek - Fixed hp_pin no value
eaf53ee6fba7 ALSA: usb-audio: Add Opus #3 to quirks for native DSD support
9f753f62f6fa mmc: mediatek: fix incorrect register setting of hs400_cmd_int_delay
65be3226f0e5 mmc: bcm2835: Fix DMA channel leak on probe error
8b9be9db8a2a gfs2: Revert "Fix loop in gfs2_rbm_find"
83c22cd104b2 gpio: sprd: Fix incorrect irq type setting for the async EIC
3a4a800bf519 gpio: sprd: Fix the incorrect data register
95fcc1427d7f gpio: pcf857x: Fix interrupts on multiple instances
452ad274c926 gpiolib: fix line event timestamps for nested irqs
ade5ad6b4ad6 gpio: altera-a10sr: Set proper output level for direction_output
ad6615b15537 arm64: hibernate: Clean the __hyp_text to PoC after resume
f40ebe14b971 arm64: hyp-stub: Forbid kprobing of the hyp-stub
520036320530 arm64: Do not issue IPIs for user executable ptes
a4f42f7b0121 arm64: kaslr: ensure randomized quantities are clean also when kaslr is off
26d15be4abc0 ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment
0a3275d78585 NFS: Fix up return value on fatal errors in nfs_page_async_flush()
0fb0acc0dd86 selftests/seccomp: Enhance per-arch ptrace syscall skip tests
7e3251667a1f iommu/vt-d: Fix memory leak in intel_iommu_put_resv_regions()
bb4e1ff5a8dd fs/dcache: Fix incorrect nr_dentry_unused accounting in shrink_dcache_sb()
e9d56f920bb2 CIFS: Do not consider -ENODATA as stat failure for reads
6e7045ec336b CIFS: Fix trace command logging for SMB2 reads and writes
c6961288a5f4 CIFS: Do not count -ENODATA as failure for query directory
fbb49172cd4f virtio_net: Differentiate sk_buff and xdp_frame on freeing
ed6a5fc89e48 virtio_net: Use xdp_return_frame to free xdp_frames on destroying vqs
05e260f9d02a virtio_net: Don't process redirected XDP frames when XDP is disabled
0921dd505d30 virtio_net: Fix out of bounds access of sq
d97117bd077d virtio_net: Fix not restoring real_num_rx_queues
4c2e63dc6452 virtio_net: Don't call free_old_xmit_skbs for xdp_frames
b6862baa3c88 virtio_net: Don't enable NAPI when interface is down
37b34a91f346 sctp: set flow sport from saddr only when it's 0
cbf23d40cece sctp: set chunk transport correctly when it's a new asoc
a188f5685965 Revert "net/mlx5e: E-Switch, Initialize eswitch only if eswitch manager"
505e5f3d4623 ip6mr: Fix notifiers call on mroute_clean_tables()
50990a4085f2 net/mlx5e: Allow MAC invalidation while spoofchk is ON
4ec13999d363 sctp: improve the events for sctp stream adding
9f7d849beaae net: ip6_gre: always reports o_key to userspace
aafe74b72689 vhost: fix OOB in get_rx_bufs()
d0773852a7a3 ucc_geth: Reset BQL queue when stopping device
dace52749243 tun: move the call to tun_set_real_num_queues
e569927a1375 sctp: improve the events for sctp stream reset
4fae696cdad1 ravb: expand rx descriptor data to accommodate hw checksum
5f1a18e05b07 net: set default network namespace in init_dummy_netdev()
fc4154c7a39e net/rose: fix NULL ax25_cb kernel panic
2c6b572458a9 netrom: switch to sock timer API
00865891898e net/mlx4_core: Add masking for a few queries on HCA caps
0a198e0bb8be net: ip_gre: use erspan key field for tunnel lookup
897ea28bd2f9 net: ip_gre: always reports o_key to userspace
8de676664e59 l2tp: fix reading optional fields of L2TPv3
3d418a254df1 l2tp: copy 4 more bytes to linear part if necessary
fcc9c69a6ed7 ipvlan, l3mdev: fix broken l3s mode wrt local routes
2f704348c93f ipv6: sr: clear IP6CB(skb) on SRH ip4ip6 encapsulation
7e9a6476aaf5 ipv6: Consider sk_bound_dev_if when binding a socket to an address
8877843b3b9f drm/msm/gpu: fix building without debugfs
8c763a3cf502 Fix "net: ipv4: do not handle duplicate fragments as overlapping"
(From OE-Core rev: 77cc4e2aa092734a8ee97b1ee97753b46aa19a5e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard had pushed an explicit patch to fix systemtap for arm
on the 4.19 kernel in time for M3.
The patch has now been integrated into the repo itself and can
be dropped from the recipe.
(From OE-Core rev: 552b3cd0e0d442d867b4432e5b81019cadd2f4fa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
Author: Tom Rini <trini@konsulko.com>
Date: Tue Mar 12 11:40:33 2019 -0400
sound: Re-enable ENS1370 support
Both the qemux86 and qemux86-64 targets RRECOMMEND the ens1370 kernel
module and set QB_AUDIO_OPT to support that as one of the audio cards as
well.
Fixes: daadaf7fd7d5 ("yocto-kernel-cache: [PATCH] Update audio support v2")
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: 26aa9ed853e6b4a7e36bc0a523e924c47e8c954a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dumpimage and fit_check_sign can be used to extract kernel and ramdisk from
a FIT file, verify them and kexec for a faster reboot.
(From OE-Core rev: c99255d688a2578f1391a34915942210cf069d64)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lvm module will initial lvm volume to support boot from
Logical Volume.
(From OE-Core rev: 3a4213f014fc4aa5be05dfc0722d87e01e5ff10c)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
efivafs contain some meta data about Intel VROC, which will be
used by mdadm to create raid device.
These are preparation work to support boot from Intel VROC RAID
disk.
(From OE-Core rev: b25869c76975bbcec8d2f22f680e58976ec4de5c)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Install mdmon@.service to make Intel VROC work well.
mdmon@.service called from udev is used to update Intel VROC metadata,
with it the VROC raid is operational to read or write under user space.
(From OE-Core rev: 5b2610ee3935d12ab73164aa8716c068dc8f7f56)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allows for mips32 multilib to be mips32r2, like qemumips.
(From OE-Core rev: 9713e8a5460ae81a33c6a727664f4cdb54fb1f0a)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mesa 19.0.0 release requires RTTI to allow the build of Nouveau
driver, which is enabled by default when building for x86 and x86-64
target.
This commit enables RTTI support so it prepares the toolchain for the
upcoming change.
(From OE-Core rev: 8e24164606185e1d8b8eb293a30bb22760218f06)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Patch 0005-egl-add-missing-include-stddef.h-in-egldevice.h.patch
was applied on commit e68777c87ceed02ab199b32f941778c3cf97c794.
- Refresh all patches
- mesa 19.0.0 deprecated the use of autotools and we need to add
--enable-autotools flag. For details see mesa commit:
e68777c87ceed02ab199b32f941778c3cf97c794
The complete change log can be found here:
https://www.mesa3d.org/relnotes/19.0.0.html
(From OE-Core rev: 50b7418869b7d2f40adbfbb0844f710d9aa5c396)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it easier to debug, especially when multipe SCMs like gitsm,
otherwise we don't know why there are multiple SCMs.
(Bitbake rev: 313fe5e86b254eadfdead706be4bd7b274d5e3c0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The localpath is a symlink to clonedir when it is cloned from a mirror, for
example:
$ bitbake systemtap-native -cfetch
$ ls downloads/git2
sourceware.org.git.systemtap.git -> /path/to/downloads/git2/mirror.path.git.sourceware.org.git.systemtap.git
mirror.path.git.sourceware.org.git.systemtap.git
There are both sourceware.org.git.systemtap.git and
mirror.path.git.sourceware.org.git.systemtap.git in DL_DIR/git2, the symlink
sourceware.org.git.systemtap.git is created by try_mirror_url(), but
do_cleanall" only removed the symlink, didn't remove the real dir
mirror.path.git.sourceware.org.git.systemtap.git, this may cause confusions,
for example, I assumed that do_cleanall removed everything, but it didn't, and
it would the re-used next time when do_fetch. This patch fixes the problem.
(Bitbake rev: 452e2200ad2c29dec3753f5f7a8cbc9183ec7dd8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The layer was not in bbfile_config_priorities when BBFILE_PATTERN is empty,
this caused "bitbake-layers show-layers" can't show these layers, this was
incorrect since these layer did exist. Add these layer to
bbfile_config_priorities can fix the problem.
Fixed:
Add BBFILE_PATTERN_core = "" in oe-core/meta/conf/layer.conf
$ bitbake show-layers | grep oe-core
There was nothing, now the layer is shown
(Bitbake rev: 0ff5cdb0cca9266ca29127639494bcfd95e36831)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The workdir is an important message when run git command, for exmample, before the patch:
Running git -c core.fsyncobjectfiles=0 branch --contains [snip]
We don't know where it is running, now it is:
Running 'git -c core.fsyncobjectfiles=0 branch --contains [snip]' in /path/to/git.opensvc.com.multipath-tools..git
Which is easier to debug.
(Bitbake rev: f25c05b73218d0e8edf2dd63b36bc09e547c5455)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Devtool creates a git repository for extracted sources in a temporary
directory and then moves it to a final destination after patching is
done. Unfortunately devtool is not aware that some of its git operations
may have caused git garbage collector to start in background. If timing
is just right a repository move fails because GC is removing git objects
while they are being moved.
The issue was hit on Krogoth release, but the code that moves created
git repository is still the same.
Disable gc.autodetach to make GC run synchronously and block git until
it is done.
Traceback (most recent call last):
File "<snip>/openembedded-core/scripts/devtool", line 342, in <module>
ret = main()
File "<snip>/openembedded-core/scripts/devtool", line 329, in main
ret = args.func(args, config, basepath, workspace)
File "<snip>/openembedded-core/scripts/lib/devtool/standard.py", line 352, in extract
initial_rev = _extract_source(srctree, args.keep_temp, args.branch, False, rd)
File "<snip>/openembedded-core/scripts/lib/devtool/standard.py", line 644, in _extract_source
shutil.move(srcsubdir, srctree)
File "/usr/lib/python2.7/shutil.py", line 299, in move
copytree(src, real_dst, symlinks=True)
File "/usr/lib/python2.7/shutil.py", line 208, in copytree
raise Error, errors
Error: [('/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/5e', '<snip>/build/grpc/grpc_src/.git/objects/5e', "[Errno 2] No such file or directory: '/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/5e'"), ('/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/57', '<snip>/build/grpc/grpc_src/.git/objects/57', "[Errno 2] No such file or directory: '/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/57'"), many git objects ... ]
(From OE-Core rev: 3da578a79195a63fb6d4bbd68d8f1548defd205f)
Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 6fc70eb4f3494bee2be10ee24fe3ea1c8b5ff988 changes "qemuarm" machine from
old ARMv5 to a newer Cortex-A15, moving the old platform under "qemuarmv5" name.
When adding this new "old" platform name to COMPATIBLE_MACHINE in linux-yocto
recipes, mistakes were made referring it by "qemuarma15", as discussed in [1].
This change fixes those mistakes.
[1]http://lists.openembedded.org/pipermail/openembedded-core/2019-March/280292.html
(From OE-Core rev: 4babf396a91ba375fad9c4dc610cfbdef8d17d4f)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For historical reasons Meson supports only a single cross configuration file but
multiple native configuration files. Add support for multiple cross files, so
that recipes such as glib can use the toolchain cross file and extend it with a
recipe-specific cross file containing values needed to build.
(From OE-Core rev: 3d97cddeec8635988e414e6854d850cea20bcb36)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Projects such as glib have tests that execute code to check their behaviour, and
in cross-compilation environments where they can't execute code fall back on
meson.get_cross_property() with a default value. These default values may not
be appropriate: for example if glib can't verify that vsprintf() isn't broken it
assumes that it is, and embeds the gnulib copy of vsprintf() instead of using
glibc's implementation.
Add a warning whenever the default value for get_cross_property() is used so
that we can tell this is happening and set the value appropriately.
(From OE-Core rev: 669ddafcc9f363cbb81d4b71649241257785a840)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to sed the Makefile as we can just pass --disable-docs.
(From OE-Core rev: 72e8597562fa7d8b0f19ed5c8727ebdf172c96a9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of opening files as bytes and battling decoding to UTF-8 which can throw
exceptions, open directly as strings and replace invalid codepoints. This
handles licenses in encodings which are not UTF-8 but are based on ASCII much
better.
Also instead of extracting the license lines, writing them to a file, and then
hashing the file, hash the lines directly.
(From OE-Core rev: 63ef9d342277c4ba541b78cbb45ef181f071f495)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although RISC-V 64-bit doesn't have official golang support there are
forks that now exist with at least some support and work is ongoing in
the upstream tree. In order to be able to use the goarch class add
support for RISC-V.
For more details see here:
https://github.com/golang/go/issues/27532
(From OE-Core rev: 91e3b2a762124bf5cf923654ef3a7c871b84c82f)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the repository to use the systemd-stable, and update to
the latest release from v241-stable branch.
Following changes are included:
c1f8ff8d0d login: mark nomodeset fb devices as master-of-seat
59f2213e45 login: HyperV requires master-of-seat to be set
a09c170122 Allocate temporary strings to hold dbus paths on the heap
4f54afd5a1 Refuse dbus message paths longer than BUS_PATH_SIZE_MAX limit.
b22a96ef2f NEWS: add entry about 'udevadm trigger --wait-daemon'
bada94eb3e NEWS: fix release date
e9f930b2f5 udev-event: make subst_format_var() always provide null-terminated string on success
66320aec80 sd-device: also store properties read from udev database to sd_device::properties_db
dffc22c833 udev-rules: update log messages about OWNER= or GROUP= settings on --resolve=names=never
(From OE-Core rev: 0111855d2c5029c93844e08fcd48592137bfb68a)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change fixes a build problem introduced in the recent CVE patches.
(From OE-Core rev: a6882408f5c63d2434d5c1622406c2c212c9bec7)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various refactors have left hanging variables, often in debug messages, hence
why they haven't been spotted. Fix them (pylint spotted the issues).
(Bitbake rev: e1f252408982a62485bbf874a01fd30a02aeed32)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean up the whitespace and comments style, keep pylint happy.
(Bitbake rev: ee59fdaae68543ade03cacfdbbf14fdc7e469412)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a typo in a variable which would affect proxy handling spotted by
pylint.
(Bitbake rev: 19f4ca0119e33df64da629253d5002fcdb385f4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some final corrections for the section on how to replicate
a build offline.
(From yocto-docs rev: 3b4ffa131684f824b7bc6c37ddfd02bb9b17b08c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the section with some feedback from Richard. This
version is much clearer and brings the concepts out a lot
better.
(From yocto-docs rev: 9790482b9937308bee6aa00a892f50d026187342)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new section in the tasks chapter of the
dev-manual titled "Replicating a Build Offline".
It is in response to multiple hits in the
yocto@yoctoproject.org list asking how to do something
like this.
(From yocto-docs rev: 61b091be49517548e639808f6b6de4bf07e2a300)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update fixes a copy-paste-and-forget-to-update-everything error
in the documentation of the `SRC_URI` entry in the Reference Manual.
The `maxdate` paragraph just repeated what is there for the
neighboring `mindate` paragraph which was incorrect.
(From yocto-docs rev: bbeb096222d42a31adcb358a85f8fe6c4120416a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to the lists resulted in the testing and graphics &
Eclipse Plug-in lists going away. Also, I added several packages
based on some testing requirements to the "Essentials" list.
(From yocto-docs rev: cbc9a595bef3dd80f5eef1376e466627248f9fda)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13196]
The set of host packages for the testing has been merged into
the essential set of packages for all supported distros. I
updated the variables defined in "poky.ent" so that these
packages are now part of the essentials. I also removed the
section on the required packages for testing.
(From yocto-docs rev: 9b19661d21a14966eac162ee063fca46d6403323)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took this out of the glossary. After eglibc was merged
into glibc, Kconfig support was also dropped so
these libc features therefore are not effective anymore
and can be removed.
(From yocto-docs rev: cfdd02864f004fc48b0353ec0f007ca24b06d29e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SIMD instructions are a mandatory part of armv8a
(they were optional in armv7a), and the gcc docs
also say that they are always enabled.
(From OE-Core rev: 02288c94e99e9dd444d8c1af186b6d89085b7b8b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had a c_rehash shell re-implementation being used for the native
package however the ca-certificates now uses the openssl rehash
internal application so there is no use for the c_rehash anymore.
(From OE-Core rev: 672b076158247f823a518b7c33b50c82272d6388)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This supports glibc 2.29 which is appearing in distros like Ubuntu 19.04
(From OE-Core rev: 44fac788b4ba3614439d7329f645bfffeee7a2bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE: CVE-2018-16872
CVE: CVE-2018-20124
CVE: CVE-2018-20125
CVE: CVE-2018-20126
CVE: CVE-2018-20191
CVE: CVE-2018-20216
Patches 0015-fix-CVE-2018-20124.patch and 0017-fix-CVE-2018-20126.patch
are rebased on current source code. Others are not modified.
(From OE-Core rev: 489ece1aa90d8f76b4c1f009d837f82e38e11ba9)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All test id (eg. @alias) inside manual testcase file shall follow the same
test id naming convention from oeqa automated tests (eg. selftest,
runtime, sdk, etc), where the test id consists of
<test_module>.<test_suite>.<test_function>. Furthermore, there shall be
only 1 unique test_module per each manual testcases file, where
test_module match the file name itself.
This file was using test_module name that does not match the file name
itself. Fixed test_module name as well as the test_suite name.
(From OE-Core rev: f24178993e7b0830510900e80e879c7f9f8e28f0)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In tree234.c, change a while() loop to a for() loop so
that the compiler will realize we loop at least once.
(From OE-Core rev: 631cd6f9144fa5dd3a36480905d6edc9b5e81520)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor revisions
go1.12.1 (released 2019/03/14) includes fixes to cgo, the compiler, the go command, and the fmt, net/smtp, os, path/filepath, sync, and text/template packages. See the Go 1.12.1 milestone on our issue tracker for details.
Details
https://github.com/golang/go/issues?q=milestone%3AGo1.12.1
(From OE-Core rev: 3e04ae7283fd3cb914e4528ca1e980a07a3bb85f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
armv5 is not a specific tune feature anymore, there is no need to check
it, since having dsp will define if 'e' should be added or not
(From OE-Core rev: 1d6d5bb30a83f9136b7c33e297d48564ae61b50e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop remove.ldconfig.call.patch, as it's easier to just set LDCONFIG=true.
Pass uname=GNU via the documented configure option instead of undocumented
environment variable.
Rename zlib-1.2.11/ to just zlib/ as we don't ship multiple versions.
Send ldflags-tests.patch upstream and update Upstream-Status.
(From OE-Core rev: 344090a549284d0a1af065ff4cc3038bff8ecfea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We found that manualexecution does not capture test suite values
correctly if there are more than one test suite in test cases.
After verification has made we found out we should retrieved
full test cases value <test_module.test_suite.test_case> from
oeqa/manual/ json file rather than split it them into new
variables test_suite and test_cases.
(From OE-Core rev: db08ec5f48badd5be2fa24cc0d89a4386ab44a59)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia, manual test cases
need to be migrated to OEQA. These manual test case json files
will serve two use cases.
Use case#1: as input to the future commandline-based manual test
runner script, where this script will display actions and expected
result information in user friendly text, then it will capture
user input for test result and log, finally it will write test
result and log into existing standardize test result json format
from OEQA framework for automated tests.
Use case#2: QA will open and read these json file manually for
planning manual test execution. Any reader interested in
understanding manual test cases will open and read these files.
(From OE-Core rev: fbeecb059d9c006f50a2a11bed5a42740722e3e8)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All test id (eg. @alias) inside manual testcase file shall follow the same test id
naming convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where
the test id consists of <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.
This file was using more than 1 unique test_module for testcases. Furthermore,
some of the testcases were defined using different test_suite where it was not needed.
This patch fix the manual testcases file to have only 1 unique test_module
as well as test_suite to simplify test id naming.
(From OE-Core rev: be7cbe86f046bf29082c3da574377f9828aff5f4)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two changes made in oeqa/manual/compliance-test.json:
1. All test id (eg. @alias) inside manual testcase file shall follow the same test id
naming convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where
the test id consists of <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.
This file was using more than 1 unique test_module for testcases. Furthermore, some of
the testcases were defined using different test_suite where it was not needed. This patch
fix the manual testcases file to have only 1 unique test_module as well as test_suite to
simplify test id naming.
2. Added 2 missing test cases for Beaglebone Stress Test.
(From OE-Core rev: 5c5402bc6e6505da0203ca9245a3599bd4940dad)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two changes made in oeqa/manual/bsp-hw.json:
1. All test id (eg. @alias) inside manual testcase file shall follow the same test id naming
convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where the
test id consists of <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.
This file was using more than 1 unique test_module for testcases.
Furthermore, some of the testcases were defined using different test_suite where it was not
needed. This patch fix the manual testcases file to have only 1 unique
test_module as well as test_suite to simplify test id naming.
2. As per review by Intel and Windriver team, 7 testcases were found obsolete. Removed 7 testcases.
(From OE-Core rev: e1136bae81672894a277512d7084d27f4e3416b9)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tc command is provided both by busybox and iproute2.
(From OE-Core rev: db83d6860aef4a0bd15fca251c994ae8d3384931)
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original fix was deleted when systemd was bumped from v239 to v241,
however not all of the patches have made it into the latest version.
Refactor the original patch to contain the missing changes.
(From OE-Core rev: 400a0468a0f12f7f92f5287053a5fee0bb257fc1)
Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 0001-useradd-copy-extended-attributes-of-home.patch (oe-core commit:
eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc) introduced a runtime failure
when enable SELinux.
When enable SELinux, The directory /home/user will get the extended
attributes of /etc/skel. However, the SELinux lable for /etc/skel is
etc_t which is also copied to /home/user. It will cause the user can not
write their home directory because the SELinux lable for /home/user
should be user_home_dir_t.
See discussion: http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146039.html
The solution at the moment is to drop this patch.
(From OE-Core rev: 2a8b35226edde4cd49cb5ba68c5b47aa8379eca1)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option isn't used and was dropped upstream in v240.
(From OE-Core rev: 57154e8f8e65db82c5b75dc10635db308b525820)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of spreading the ptest enabling over the recipe, just add a
PACKAGECONFIG to enable the installed tests. Whether this is enabled respects
PTEST_ENABLED by default, so it always disabled in native and nativesdk builds.
This means we can remove the conditional dependency on dbus, all the conditional
enabling of installed tests, and clean up EXTRA_OEMESON.
(From OE-Core rev: 1e7c83c67c4a6e1ba61da5ffbf66dc0980624948)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virglrenderer depends on 2 packages:
* mesa: requires one of distro features opengl or vulkan
* libepoxy: requires distro feature opengl
So make virglrenderer requires distro feature opengl. Otherwise it fails
to build world if 'opengl' doesn't exist in DISTRO_FEATURES.
(From OE-Core rev: 63c98d10231271135013e04749ac351247bd6546)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is long since past time for rsh and company to be retired from the
world. Disable building these now.
Suggested-by: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 9e13dad6ea76dd036098ef62427804e4138bf83b)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- We cannot build rsh, rshd, rlogind and rcp on musl. This is handled
gracefully in the configure scripts and spelled out with EXTRA_OECONF.
Expand this to include rexec to cover all of the related functionality.
- Rework adding in the xinetd.d files for these services to only do so
when we even have the services being built. This leads to no rsh/rshd
sub-packages on musl at all.
- If we use the normal alternatives mechanism to allow for this or
netkit-rsh to provide rsh/rshd functionality we end up with QA issues
on musl as we have unused ALTERNATIVES logic. Switch to making use of
RPROVIDES / RCONFLICTS logic instead and make it match the netkit-rsh
packaging names.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 4bd1a09c47de49d78cc85d849e53d4661831870b)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are no alternative provides of these packages anymore. To avoid
QA issues when building with musl, don't put these under an alternative
at all.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 314a1b64a629cf072ceb12925518ceac8beea126)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
while compiled with -Werror=maybe-uninitialized/-Werror=format-overflow=,
it failed
[snip]
| Incremental.c: In function 'Incremental_container':
| Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| close(mdfd);
| ^~~~~~~~~~~
[snip]
super-intel.c: In function 'apply_takeover_update':
| super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=]
| " MISSING_%d", du->index);
| ^~
(From OE-Core rev: 630281663893cdcfa9c4323b717b415d87d5510f)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below error:
file /usr/include/bits/procfs-id.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64
file /usr/include/bits/procfs.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64
file /usr/include/bits/shmlba.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64
(From OE-Core rev: 1e9120096da81171e9213b0b78df0aff7002de15)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable roll-up all test results belong to a commit
and to provide a roll-up report.
(From OE-Core rev: a98a75a3db1fe9d327fd21919fb8ea09e76fb1e3)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multiple tests are failing due to missing dependencies on a bare
core-image-minimal build with only lttng-tools ptest present.
"getconf LONG_BIT" is used to get the bitness of the host to run the
correct consumerd. Depend on glibc-utils.
perl-module-overloading is needed to validate trace. babelstats.pl
"head -c" is used to generate a random string. It is easier to depends
on coreutils to get a feature complete "head" than to enable to "fancy
head" feature of busybox. See utils.sh randstring.
"taskset" is used in a couple of scripts to ensure that events generated
finish in the same buffer. Depend on util-linux.
[RP: Tweak for glibc/musl handling]
(From OE-Core rev: a266788c0037173b41e5e7a4b39b38b80333b87b)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building and running SELinux with musl works fine these days,
so don't disable it in the systemd bitbake file.
(From OE-Core rev: afea472cdc5e72e2794b30b00f68e59ffb1e104c)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_patch rule of SDK's workspace/appends/linux-*.bbhappend may fail if script are not written in Python
that was the case with Phytec's BSP, the fix was to replace the do_patch rule with :
do_patch[noexec]="1" when the file was generated in scripts/lib/devtool/standard.py
(From OE-Core rev: e51cb385e5573c7069de6e8308b9b68eb4a3a162)
Signed-off-by: Yann CARDAILLAC <yann.cardaillac@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ubuntu's /bin/sh symlinks to /bin/dash by default, so
subprocess.check_call(oe-init-build-env, cwd=builddir) would be failed since
pwd is builddir, and there is no $builddir/oe-init-build-env, this would
lead to other confusing errors, check and error it out earlier to make it
easier to locate the problem.
We don't meet the problem when manually run ". oe-init-build-env" is because
Ubuntu's default login shell is bash, but subprocess.check_call() doesn't
respect to login shell, so the error only happens in situations like
subprocess.check_call().
And also print errors to stderr as oe-buildenv-internal does.
(From OE-Core rev: 632c54b7686e60ee320ed1a7ac7d889790599d27)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We backported a patch to fix parallel build failure about version.h. But
that is not enough. We need one more patch to really fix this issue.
(From OE-Core rev: 9ed1dd6329b393e4f780fb88fea98bc930138a57)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the dawn of time, we have set CMAKE_VERBOSE_MAKEFILE=1 in cmake.bbclass.
Back in 2016, we also explicitly set VERBOSE=1 in cmake_do_compile(),
to ensure that make (and ninja) output were verbose in log.do_compile.
Turning off CMAKE_VERBOSE_MAKEFILE=1 means that make (or ninja)
invocations from the command-line are non-verbose,
giving CMake's default human-readable output on the terminal instead.
The user can still invoke VERBOSE=1 make if they do want verbose output.
This has no effect on the verbose output that goes into the logs.
(From OE-Core rev: 75c4b61513d8b089e835fb8d5923d8749fed7880)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure we turn on edid for the VGA display which fixes a hang with the
5.0 kernel for qemuarm64.
Thanks to Jon Mason for the fix.
(From OE-Core rev: c112be9643f9031964be4068feeb5e2f8528c107)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new QEMU BSP for a Arm Cortex-A15 system and use this as qemuarm,
moving the old armv5te Versatile PB based machine to qemuarmv5.
The new machine uses the QEMU virt machine type, which should be
faster to emulate and updates the qemuarm support to a modern
architecture.
(From OE-Core rev: 6fc70eb4f3494bee2be10ee24fe3ea1c8b5ff988)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As reported by Paul Barker, my attempt to allow the patching
of kernel meta data broke other repository configurations, since
the meta data patch routing was matching too broadly and the
same repo would end up being patched twice.
Using his suggested fix, we are up and running with both types
of repos again.
(From OE-Core rev: 0fd09633e3c2fb4668c7700516d288f8c5356ff6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Richard Purdie's kernel patch to fix systemtap on arm:
[
arm/Makefile: Fix systemtap
Currently systemtap fails to operate correctly on armv7 systems such as beaglebone and
soon, qemuarm.
root@qemuarm:/usr/src/kernel# env -uARCH -uKBUILD_EXTMOD -uCROSS_COMPILE -uKBUILD_IMAGE -uKCONFIG_CONFIG -uINSTALL_PATH -uLD_LIBRARY_PATH PATH=/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin make -C /lib/modules/4.19.19-yocto-standard/build M=/tmp/staptcNU6M modules CONFIG_DEBUG_INFO= CONFIG_STACK_VALIDATION= ARCH=arm stap_4321_src.i --no-print-directory -j2 V=1
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /tmp/staptcNU6M/.tmp_versions ; rm -f /tmp/staptcNU6M/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/staptcNU6M
(cat /dev/null; echo kernel//tmp/staptcNU6M/stap_4321.ko;) > /tmp/staptcNU6M/modules.order
gcc -Wp,-MD,/tmp/staptcNU6M/.stap_4321_src.o.d -nostdinc -isystem /usr/lib/gcc/arm-poky-linux-gnueabi/8.3.0/include -I./arch/arm/include -I./arch/arm/include/generated -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -Iinclude2/asm/mach-default -I/lib/modules/4.19.19-yocto-standard/build -include /tmp/staptcNU6M/stapconf_4321.h -D "STP_NO_VELREL_CHECK" -freorder-blocks -fasynchronous-unwind-tables -Wframe-larger-than=512 -fno-ipa-icf -Wno-unused -Wno-tautological-compare -Werror -I/usr/share/systemtap/runtime -DMODULE -DKBUILD_BASENAME='"stap_4321_src"' -DKBUILD_MODNAME='"stap_4321"' -c -o /tmp/staptcNU6M/stap_4321_src.o /tmp/staptcNU6M/stap_4321_src.c
/tmp/ccaE9CMG.s: Assembler messages:
/tmp/ccaE9CMG.s:49: Error: selected processor does not support `dmb ish' in ARM mode
/tmp/ccaE9CMG.s:52: Error: architectural extension `mp' is not allowed for the current b
(which was from running the stap command with -v -v -v -k and then being able to run the command individually)
Note that it says armv5t above.
That comes from the code this patch changes
root@qemuarm:/usr/src/kernel# gcc -march=armv7-a /tmp/staptcNU6M/stap_4321_aux_0.c
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
which makes me wonder if cc-option fails unless -mfpu-vfp is on the commandline too.
Since we have a gcc which accepts the armv7-a arch, just remove the cc-option
wrapper unconditionally here.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
]
(From OE-Core rev: 8c446ac6c1bba1502ac0a710a39b90c78fff41a3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add temporary patch to fix the systemtap issue on armv7 with the 4.19 kernel
until Bruce is able to merge this into the repos, similarly to the fix for
5.0 kernel.
Alternative patches are being discussed upstream but this fixes the issue for
us for now in a simple way since we know the gcc versions we use.
(From OE-Core rev: 491f72a2fd8053c4f54fa9b261c65cb394880d02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the hardware reference boards are not using the 5.x
kernel yet, we generate a baseline bbappend for future work.
(From meta-yocto rev: c3b875dcc01de567ba0320bcba5922000cfb2e2f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For multilib to work correctly, BASE_LIB overrides must be provided.
(From OE-Core rev: b32ec63e48a3552f2e7f3cc5caf61432af716283)
Signed-off-by: teven Hung (洪于玉) <Steven.Hung@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test does not work on centos7 so diable it (as was done in the
original series before we thought it was working).
(From OE-Core rev: c27cdf83bc2b8ff802a5c4e0b49f18174af8e34a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
import time
time.tzset()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'time' has no attribute 'tzset'
enable tzset in both python versions
(From OE-Core rev: 28e631d6dbc0a126253c0a072b8f39ff683bfa3a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of this library was removed in 2012.
(From OE-Core rev: 807a9361d0b00fb884ac9fc1aae227f613808913)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_patch() doesn't apply files called .dpatch, so rename it to .patch.
Fixes CVE-2004-2779.
(From OE-Core rev: 6e5dcb4027fbf3e65c0aad2ded36ce387ca7f917)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to enable the arm unwinder for systemtap to work out of the
box:
root@qemuarm:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp
[ 1600.955262] stap_2097: loading out-of-tree module taints kernel.
hello world
This option is useful for much more than systemtap, so it is a good
idea to have on in the base configs. It make the image slightly larger,
but has no performance impacts.
(From OE-Core rev: 8a3cc10c2deb933866e384b326d730d17a49a269)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the build for some architectures, perf generates a program
which executes on the host to dump the syscall table.
The generation of that program uses the cross compiler + sysroot
to expand unistd.h. As such, we are getting the contents of that
file from linux-libc-headers.
The compilation of that generated program uses the host compiler
and a restricted include path to the perf source code. In the
perf source there is a captured unistd.h, as such it will be used
when compiling the host executable. The perf source code is copied
from the kernel version that is being built .. so we have a
mismatch between the generation and the compilation of the host
program.
Normally this mismatch is fine, but if the libc-headers are
newer than the kernel, we'll have syscalls (and their syscall
numbers) that are not defined in the perf source code. This
leads to a compiler error and a cascading failure of the perf
build due to a missing generated file.
To fix this, we can copy unistd.h from the recipe-sysroot
into the perf source code and they will always be in sync.
(From OE-Core rev: 3a23e094c4189af878e467f1636aea63955e250d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path containing the symlinks to icecc itself.
The path to the build env tarball.
(From OE-Core rev: 4b1f421ab5c7e5a3ee7bad5744149d331c6e0511)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes some 'basehash changed' errors when rm_work is being
inherited.
(From OE-Core rev: e74158b6cc1d683ab14ef5d47ec531f986fc2259)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only dts files are considered when looping through files to
compile. Modifying the loop to compile other files that are overlays.
Also surrounding this check with a try block as the function to find
overlays parses the file for a '/plugin/' tag, and there may be files in
the DT_FILES_PATH directory that are not parseable.
(From OE-Core rev: bb1629820443bfedc72378a7c88f0656a2f3f7f1)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The additions done to devsrc to support the 5.0 kernel should have
had a graceful failure mode, since the files/directories won't be
present on older (or different) kernel versions.
(From OE-Core rev: 3f0cada40a9f70704a3dc78daddb4a8cbd7dee80)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To enable store for testresults.json file from manualexecution,
add layers metadata to configuration and add "manual" map to
resultutils.store_map.
To enable regression for manual, add "manual" map to
resultutils.regression_map. Also added compulsory configurations
('MACHINE', 'IMAGE_BASENAME') to manualexecution.
(From OE-Core rev: 7521834f8557565d3898605257c7fd9505ea22bb)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that the errors can be controlled by ERROR_QA or WARN_QA, and make them work
with INSANE_SKIP.
(From OE-Core rev: 4b86ebb6a87f75421a1d12d9d5dde303938c2e9f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The INSANE_SKIP = "pkgconfig" or "la" didn't work, this patch fixes the problem.
[YOCTO #13087]
(From OE-Core rev: 756d6419f10d388c5daa63b7607e580d8b5079f1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix parallel build failure like below.
In file included from ../git/src/core/dbus-manager.c:10:
../git/src/basic/build.h:4:10: fatal error: version.h: No such file or directory
#include "version.h"
^~~~~~~~~~~
compilation terminated.
(From OE-Core rev: 89712946c10f1c762175053e1945b7d0f330c446)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If python3 git module is not installed, we fall back to some git
command to get info. A previous commit (b8d22ed6) accidently deleted
the return statement, causing errors like below.
Exception: UnboundLocalError: local variable 'InvalidGitRepositoryError' referenced before assignment
(From OE-Core rev: cd8aedc408afa4f8589f79e4d85befc7cac76ac6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both powerpc and mips require a few new files for the scripts
and prepare targets to work with a 5.0 kernel. We add the required
files to the architecture specific blocks, with appropriate
backwards compatibility considerations.
(From OE-Core rev: 124c6bf5a0a5cc20d2ebbf04dc7b577cb4f5153a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To allow the kernel-dev image to test systemtap, we add the userspace
and required image configuration.
(From OE-Core rev: 317f95ad38d2d24f4ee40eb737e4f0d6ace6e3f0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the systemtap 4.0 SRCREV to pick up changes that have been
made to support newer kernels (and in particular 5.0).
root@qemux86-64:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp
[ 246.303263] stap_4843: loading out-of-tree module taints kernel.
hello world
root@qemux86-64:~#
The following commits are included in this update:
90ff34ac0 If available, use kernel's save_stack_trace_regs() for fallback stack unwind
a9b0aa4db testsuite/systemtap.bpf :: tests should return, not exit 0
83f229abb cachestat.stp: workaround the current limitations of trace_printk
f912d520f Newer kernels tapsets may use the kprobe.function("*") adjust alias_tapset.exp.
fe569f964 Handle name change of do_brk to do_brk_flags in the newer kernels
71dbdc9f9 Newer kernels tapsets may use the kprobe.function("*") adjust pp.exp check.
20d23f97a Correct at_register.stp test arch name for arm64.
e0bcc2f92 cachestat.stp: new example based on a bpftrace script by David Valin
18d1baceb session.cxx diagnostics: don't dump kernel_functions below verbose=6
25b181ae4 Add __NR_chmod for missing defines on aarch64
2276b109e Add more __NR_* for missing defines on aarch64 (and ppc64)
e34d66dee PR24239: avoid symbol/type resolution of unused globals/functions
49d74d4fa Correct the at_register.exp test
c77884dcd Turn on guru mode for at_deref1.stp use of @kderef
a9a15a3f8 RHBZ1689180: correct group name typos in staprun.8
e7146dbfe Regenerate syscall_num.stp grouped by syscall name.
6bcf09813 Group initialization using the same string literal together in syscall_num.stp
3752574dc Regenerate the syscall mapping information to add aarch32 to aarch64 syscalls
af74da7b7 Update dump-syscalls.sh to generate 32-bit syscalls for aarch64
60144c0fa Match arm64 non-dwarf syscall probe points
d36f6fee8 PR24199: don't use exceptions to signal type-resolution failures
5e50524ff PR24199: at pass-2 verbosity > 3, trace $var error-chaining events
40f855fd5 PR24199: loc2stap: propagate dwarf DIE() source locations better
af9ef3369 Adjust noptrace.stp to avoid modifying ptrace syscall arguments
ca3946e62 Update pfiles.stp to work with Linux 4.17 and newer
9d3a1cd66 PR24217: stap -p2 speedup, condition-expression processing
ba7b83ec1 Conditionally define __NR_bdflush in systemtap runtime.
cdf77a210 testsuite/systemtap.bpf :: couple of bpf_tests clarifications
d6b529c43 fix embedded-c tag memoization thinko
d81a001ad pass-2 optimization: embedded-c code pragma searching
1832b8f51 Set up a BPF related testcase blacklist for regression testsing purposes.
4e7686951 linux api update: compat_time* structs
1ac5a4499 linux api update: FAN_ALL_CLASS_BITS
17c2d352a unwinder: increase MAX_CFI to 8192 after a census of CFI sizes on Fedora 29
2e373d294 runtime: adapt to uapi/linux/mount.h changes
6b0430b6b dummy commit to force buildbot rebuilds
d3964067f buildrun.cxx: older g++ compatibility: no std::string.back()
6b2838df5 Handle installation without stapusr group
f90ca3096 Simplify creation of groups during installation
38184abcd Fix get_user_pages() autoconf test for 4.4.y kernel
e2e13220f lkm-runtime time.c: prefer 4.15+ ktime_get_real_fast_ns
eb8c8de94 linux 5.0-rc3 adaptations
de5061899 parser: allow larger arrays
0fc1a5019 stap man page: document histogram per-bucket access/iteration
905865da1 PR16406 fixup :: correct comparison in _stp_module_check
c8084763b PR10280 initial fix: force vermagic for guru-mode scripts
3a29a2eef Make testcase at_var.exp work with stap-4.1+ and kernel-4.17+
53ff2b5df stap-prep: switch typo ($NEEDED => $package)
68bd23fd0 PR16596: add support for DW_OP_GNU_entry_value in location expressions
aacee6563 Make sysc_bdflush.stp compatible with 4.17+ kernels.
891810c24 configury: tolerate dyninst10's need for -lboost_system
ec3b46eb9 RHBZ1655631: systemtap.spec: use Recommends: for kernel-*-devel
eef17e743 runtime/unwind: Allow to increase MAX_CFI
47ce37a14 systemtap.spec: merge unbotch - missing %changelog
f082df49d systemtap.spec: importing fedora rawhide changes
c9a393275 staprun/mainloop.c :: fix for loop initial decls
266c72bd0 PR23866 part: expose raw syscall tracepoint to bpf
ab368ac2a PR23891: Make sure stap and staprun respond to SIGTERM when stderr/stdout are blocked
0a0595509 Fix segfaults in dwarf array pointer subscripting when -vvv is specified
4a8652800 Make opeartor @var() no longer assume @entry() in return probes.
f5c19712c Add the ucalls.stp to the systemtap examples.
7d82f1bdc Adjust tcp_trace.stp example to work with newer Linux kernel's timers
f6d683666 Adjust the vfs_open to provide cred variable with 4.18 kernels
008a0cbfd Userspace_probing.xml: change '-ldd' to '--ldd' command line option.
e6227e5df bpf-translate.cxx: don't clobber any earlier value of c
cbf3b6e6a bpf-translate.cxx: quiet a compiler warning
824e9ab80 PR23890 bonus: show nicer messages upon a buildid mismatch
fba365b4d PR23890: tolerate f29+ style ELF files
6c94b6d42 PR23747: tolerate symbols with odd section#s
d60dac71a systemtap.bpf/asm_tests :: fix documentation / expected result
0eaf4f196 PR23875 bpf_unparser::visit_foreach_loop(): temporarily disable string key iteration
8c1452d10 PR23875: another testcase that loops indefinitely
584d61dc0 PR23875 bpf.exp: fail testcase on 'stack smashing'
0128e1daf PR23860 bpf_interpret() :: NEG should not fall through to DIV
75640f70d Adjust the periodic.stp example to work with newer Linux kernels
ca225a1cc stap -vv: also print kernel build-tree path name
28cf23f8e testcase for PR23875
3733caeba PR23860: reduce stack pressure from format strings
7a5716bb8 PR23860: additional ugly stack/clobber protection for strings
021f906e5 PR23860: additional stack protection for strings
02861e63c PR23860 bugfix: incorrect comparison direction in string_copy()
e428db474 PR23507: add new command-line option to disable automatic unread global variable display
b2ba3af9a pr23860 verifier workaround :: be sure to delete all mov rN,rN
08861a20f PR23507: add underscores to global @this variables
4ee1ae49a PR23761: generalized @entry
cc6e13e62 standardize ktime_get_ns() across lkm, bpf runtimes
fbee58bda bpf behind-the-scenes :: useful DEBUG_CODEGEN diagnostic
7209427d4 Always use nssInit for http and nss server.
72ef87bba PR23860 partial fix: fix BPF_NEG opcode generation.
8fb0cb4a7 PR23829 :: fallback defines __BPF_FUNC_MAPPER and BPF_J{LT,LE,SLT,SLE} for older kernels
686ba2980 tapset/bpf/task.stp :: rudiment of task tapset
0e6a26ff4 PR23849 -- temporarily disable stapbpf script caching
c0002c5ad prometheus-exporter samples: change reported metric name
1b50200ff stap-exporter: drop initial demo scripts under .examples; not used
3582845f5 powerpc64: add missing system call defines
57550d39d aarch64: add missing system call defines
856ddcedb tapset/bpf/context.stp :: add execname(), triage other functions
61b00f37d tapset/bpf/conversions.stp bugfix :: helper name in kernel_string(addr, err_msg)
a47bc40eb bpf-asm.exp bugfix :: bad_output does occur
14e5ff4e6 bpf-translate.cxx :: fix segfault with malformed register
b530b0193 Fix miscellaneous errors/typos in syscall tapset
ae51c4d99 On aarch64 Linux system calls related SystemTap scripts compilation fail with "__NR_compat_[exit|read|write] redefined" errors after following two commits:
3d9e0d2a5 Adjust the BPF translate error report formatting to work on 32-bit architectures
0a4d384a8 session.cxx :: enable caching for bpf backend
5ada58a9f bpf-translate.cxx :: plug an exception gap in is_numeric()
c009fe88d Merge branch 'serhei/bpf_asm' -- kernel_string() tapset and experimental bpf assembler
0b3a813f5 testsuite/systemtap.bpf :: diagnose a bug in print_format("%s%s", ...)
110f739b3 stapbpf assembler WIP #8 :: bpf-asm.exp driver and more testcases
4d68a526b stapbpf assembler WIP #7 :: fixed kernel_string() tapset and testcase
da6c4aef4 stapbpf assembler WIP #6 :: other call functions ({s}printf and tapset)
e534cf2a7 PR21080: support added for new pkey_* syscalls
0e0f0e386 stap-exporter examples: use symlinks rather than copies
fddf715d1 Use NSS_InitContext instead of NSS_Init.
6a3a804e4 prometheus tapset: add dump_array_*_unquoted variants
4e81610ae nfsd tapset: adapt nfsd.proc4.commit probe to different kernel versions
4cd50f30a PR23799 - sprint_ustack() always returns empty string values
8bc640345 nfsd tapset: adapt nfsd.proc4.read probe to different kernel versions
7b76b6b60 step-prep: on debian/ubuntu machines, attempt "apt-get -y install"
10b3f049e Use cast to make c->cycles_sum aways match the %lld format.
d95f81630 Add more quantitative data to error message when probes exceed threshold
f4d49b79b Avoid using target variable in target_set.stp for syscall.* probes.
5aafdc55e Avoid using target variables for syscall.write in print_user_buffer.stp.
bb93c70a1 Avoid using target variables in signal.stp for syscall.* based probe points.
784d4fc04 Add buildok/syscall_any.stp to list of tests dyninst will not run.
910395ba0 kprocess.exec_complete should avoid using $return from syscall.execve.return
d4550e6c0 stapbpf assembler WIP #5 :: basic kernel_string() implementation
9ae578690 stapbpf assembler WIP #4 :: alloc and (helper) call operations
f12e7d8eb stapbpf assembler WIP #3 :: additional assembly test cases
f3fdcc936 Fix searching of kernel_source_tree for kernel built with O option
dd57c7387 postrelease version bump for future version 4.1
2881d9d95 stapbpf assembler WIP #2 :: testcases (no driver so far)
db79925e5 stapbpf assembler WIP #1 :: basic parser and control flow
(From OE-Core rev: 18e1f2859ad213febb3438618e7d7ee57f401ff4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lack of be32toh() is handled upstream since 2014.
Linux 2.6.23 was released 2007, distributions with kernels
older than that are far outside the host distributions
still supported today.
(From OE-Core rev: c4d77ddd13ad43b52f22a32dc7a3d34cc2692dce)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an oe-pylint wrapper around pylint3 to run static analysis on our python
codebase. For now display errors and exclude common warnings which are not
applicable to our codebase.
The aim is to start generating this report on the autobuilder and to
improve our score over time.
(From OE-Core rev: 0a306d4f706b55f64228c7a0a14ff1ad127d7df9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If systemd has EFI enabled it uses readlink.
(From OE-Core rev: ace3c0fff40604450ea8f0a669aaa37fbe730069)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wrappers generated by create_wrapper do not work properly:
python, for example, looks at argv[0] to know if it is
running from a virtualenv. Because the wrapper replaces
argv[0] with python's canonical path, python cannot tell
whether it has been invoked directly or from a virtualenv
symlink.
This change makes the wrapper pass the original argv[0] down
to the real command.
(From OE-Core rev: 791e5bfcb449024f295a4f8f507c1012cff76f9d)
Signed-off-by: Achille Fouilleul <achille.fouilleul@gadz.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have a packagegroup that can be used to replace the overall
functionality of busybox as base-utils, add a test that we can continue
to build a fairly complex image without busybox being available. This
also doubles as documentation-by-test of how to do this.
(From OE-Core rev: 6319a59c1d30eeb8ad4871d43641e3469fb543ba)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This packagegroup is intended to provide all of the functionality found
in other VIRTUAL-RUNTIME_base-utils providers through full packages
rather than an all-on-one package. Document how to make use of this
in local.conf.sample.extended. Introduce VIRTUAL-RUNTIME-vim and
default this to vim-tiny to allow for a differently features vim to be
used instead.
(From OE-Core rev: c4df63dc705c3d8594517af2c2d5eddb36c176f7)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to have more robust stand-alone network tools in oe-core, bring
in inetutils from meta-openembedded/meta-networking. This imports the
recipes as of git commit:
commit 408204073e6bdcd8ac586e05d5b75213417673f2
Author: Martin Jansa <martin.jansa@gmail.com>
Date: Thu Aug 16 20:39:15 2018 +0000
inetutils: fix build with glibc-2.28
(From OE-Core rev: ace6911e663709f07ca73aa72f6bb4f4111b2749)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to have a stand-alone editor in oe-core, bring in vim from
meta-openembedded/meta-oe. This imports the recipes as of git commit:
commit 41f3f8165bde3eb4f8bcf6dddbaca0d3b760c70b
Author: Mark Hatle <mark.hatle@windriver.com>
Date: Thu Feb 28 09:39:19 2019 +0800
vim: remove xfce vim bbappend
Changing the behavior of a recipe by including a layer is not allowed
by the yocto-check-layer script.
(From OE-Core rev: cc2022ad369a74ee3f60c345778e4fe206f5df36)
Signed-off-by: Tom Rini <trini@konsulko.com>
--
Changes in v3:
- Catch vim-tiny too (thanks Richard!)
Changes in v2:
- List self as maintainer
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Permanently adds the -src source package to ${PACKAGES} instead of
relying on creating it dynamically at packaging time. The source package
is now defined in bitbake.conf, just like -dev and -dbg packages.
For compatibility, the -src package is still added dynamically if it was
missing, since some recipes have a tendency to completely override
PACKAGES and do so without manually adding back the -src package.
This allows RDEPENDS on the -src packages, which wasn't previously
possible.
[YOCTO #13203]
(From OE-Core rev: b25e1edf0204fc2f64aa8d66e09b8e2d67b90e17)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating configuration changes from Kevin Hao for the reference
boards on the 5.0 kernel:
be627e4e386 beaglebone: Switch to the 8250 omap driver
957f6060c25 beaglebone: Update the audio options
ab5298a6983 mpc8315e-rdb: Enable the CONFIG_MTD_PHYSMAP
(From OE-Core rev: 6aec31d1ca35ab1aa1cfe8f10381ad7dfd49218e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lttng hasn't released 2.10.9, but the stable/2.10 branch
contains changes that we need to build against the 5.0
kernel.
We add them here as patches, and we can drop them in the
future when lttng is updated.
(From OE-Core rev: f8bcf3486d44ebd867e9089d4dbd3b56726c9075)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introducing the 5.0 linux-yocto reference kernel, which will become
the "latest" kernel as part of the spring yocto release.
qemu* has been built and sanity tested against this kernel, and it
is suitable to become the default build for the emulated references.
Some minor configuration cleanup was performed, but otherwise, things
are very similar to the 4.19 kernel config:
7fdb966db86 (HEAD -> yocto-5.0) aufs4: kbuild patch
c76b027a8b2 iosched: remove configs for removed legacy io schedules
5d1f8102244 netfilter: drop removed config options
8ff16f508f5 kernel-yocto: 5.0 kernel prep
Feature wise, this is a match for 4.19, with yaffs2 and aufs4 being
kept around for another release. Aufs is scheduled for removal in
the fall release.
(From OE-Core rev: c802c355f02e808b29d396fcc286da6f18ce6a78)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the linux-libc-headers to the 5.x kernel variant to match
the latest reference kernel in the 2.7 release.
We have two patches refreshed for context changes, and three patches
dropped since they have been merged to the mainline kernel and are
no longer necessary.
(From OE-Core rev: f6c825c41e3d4c14ae4ba0b2a07cc41d538e0d61)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For testing purposes, it is often easier to patch a fragment
in a kernel-meta repository versus needing to make a copy or
modify the source repository.
We can allow this sort of patching when a patchdir of kernel-meta
is passed (to indicate the nested kernel-meta repository).
Also note that we must patch the meta data before they are
processed/gathered, since migrated copies to the kernel source
directory will be used later.
(From OE-Core rev: 324f9c8181150c23e3ce1ace4c45794cc8894167)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nslookup was undeprecated 15 years ago,
and installing bind-utils should replace the busybox version.
(From OE-Core rev: 6d594e2a466a75f88fe8ab454e58ae20e3bdee05)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream already fixed this properly by using pkg-config.
(From OE-Core rev: d37396c48cd44a6036677ea47c249efbf9a91472)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Downloading your randomness directly from the US government
is a rare usecase but adds heavy dependencies.
Make it optional and non-default.
(From OE-Core rev: aecf7673095b2338ae4617900e8300b9601ca483)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGECONFIG[libgcrypt] already adds it when necessary.
(From OE-Core rev: 6417d29ece333ee2b78e6e723201336cc17c41f6)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Or alternatively GPL, the same as the top-level Linux-PAM COPYING.
(From OE-Core rev: 025c1b384635ef7a85e9f45f048901d6680563ae)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the necessary parts to qemuarm64.conf for graphics to be shown in
the SDL window, and USB so that it is possible to interact with it.
(From OE-Core rev: 7098a0e9115416b2cc1234e86893f8b9337e7849)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add comments describing what is going on, remove an unnecessary space,
remove a duplicate comment, and increase the serial speed.
(From OE-Core rev: d1071579e3896f68b1e4970c1fc9a97b043091e9)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches were applied, hoping that they will eventually be accepted
upstream but they have been rejected, I think its best that they are
dropped so we can avoid novel unintended behaviours that no other
distros will be seeing
(From OE-Core rev: 54550aa42378ce4b215bccbfd95e5e650b0d2efa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2018-19876 is a backport from upstream.
CVE-2019-6461 and CVE-2019-6462 are patches taken from Clear Linux.
(From OE-Core rev: 078e4d5c2114d942806cd0d5ad501805a011e841)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script use https protocol by default, but the error-report-web server's
https connection may not work (e.g., doesn't work with python 2.7.6), so add an
option --no-ssl to make it use http.
(From OE-Core rev: a4c89902a24c0961657c8281425d480097aadfa6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to 5.36.
Drop debian-742262.patch, this appears to have been fixed properly upstream some
releases ago.
(From OE-Core rev: cf6a32debcde5bfde94126c3b4200800d672e605)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove CVE-2017-14245-14246.patch, fix rejected upstream as it doesn't solve the
underlying issue.
Instead 0001-a-ulaw-fix-multiple-buffer-overflows-432 also solves CVE-2017-14245
and CVE-2017-14246 properly.
Add patches for CVE-2017-12562 and CVE-2018-19758.
Refresh CVE-2018-13139.patch.
(From OE-Core rev: a5625df8031985e9c60c34068a4a01c36da40eec)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than recreating handlers and forcing them, iterate over the handlers
and enable color on ones we can handle. This makes it easier to handle color
properly when we introduce the bb.msg default log filters.
(From OE-Core rev: 713f44e0e0cde9b818c214002fd8b730d422fafa)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using Kmeta directories, devtool finish will add every single file
in the directory to the bbappend. This is because in the current
implementation, the get_recipe_local_files function treats the kmeta
directory like a file. Modifying the function to loop through the
provided directories and return all included files instead of just the
top level directory. This will enable correct file to file comparison
when determing which files are new/changed and need to be added to the
bbappend.
Adding an extra check in devtool-source.bbclass to not copy the cfg file
if its already included somewhere in the kmeta directory
Also during 'modify', when moving necessary files in the kmeta directory
from the workdir to oe-local-files, the dangling parent directories are
left behind. This in itself is not an issue as the temporary devtool
workspace is automatically deleted, but this causes an incorrect include
directory to be added in kernel-yocto.bbclass. Changing the order of
the if statements to catch the correct conditional. This is safe to do
as when not in the devtool context, there will be no oe-local-files
directory.
(From OE-Core rev: 4671011b5b02d0989aa0fdcb50e18cb385a0e95e)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Quiet builds are nice for interactive builds, but hide information we'd like in
the logs.
(From OE-Core rev: 623b1e59f752c6bdd4e7e46a007191ee13405830)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was to use BUILD_CC instead of CC when building mktables, a binary
used to generate tables.c.
However due to cross-compilation problems such as this, upstream since 4.12.1
(f929b62 specifically) avoids the entire issue and ships tables.c in the
repository, updating it as required.
(From OE-Core rev: 7b5d022e8dd19ee39e084444a32600dc54a3ccc3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream lets you control what compression algorithms are used, so add
PACKAGECONFIGs for them all.
Instead of bundling a copy of the SevenZIP SDK from 2009 (!), reuse XZ. This
means we can drop Public Domain from the license list.
Also -e was removed from EXTRA_OEMAKE in 2016 (oe-core aeb653) so the fiddling
to work around that can be removed.
(From OE-Core rev: e37a1ecc292b684daa49f2da2e19e0aa975f0959)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added with no explanation in 2010 (17f3c548c) and doesn't appear to be
needed.
(From OE-Core rev: 6683a29cfd10c3796943ae8485310521ca55c446)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LZO support is optional so add a PACKAGECONFIG to control this.
Also clean up the xattr PACKAGECONFIG to explicitly enable/disable.
(From OE-Core rev: 69a4dd839b0659c1a04728cf2edd744bd20c012a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can assume that modern boards don't need X/Y/ZMODEM transfer tools for
testing purposes. The few users that need this tool for testing can add it
themselves.
(From OE-Core rev: 7b3e49915ac7caa2e2ca96c44aaad71882e3db16)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A X/Y/ZMODEM transfer tool is not a required package for self-hosted builds.
(From OE-Core rev: b37a0558f325312029207c9f3c368d8b5c7afeca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source /etc/default/timestamp if present. This allows the rootfs to be
read-only / store the file in a persistant location if the whole rootfs
is updated.
(From OE-Core rev: b4de37b7176630d9585b12c50d537cd561c7aeb9)
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two identical classes exist for SystemdbootTarget,
introduced in commit f9a61d3400ad
("gummiboot: Remove/change gummiboot references with systemd-boot")
poky commit 2dce2648e3
Remove the duplicated copy.
(From OE-Core rev: a59562c7ddbda1a266f0ea22ab78fb86de4861a3)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test case expects that printf(0x0) is (null) but for us this it is (NULL).
Use case-insensitive diff as the rest of the tests don't care about case.
(From OE-Core rev: b19a6501599ba7567c7c7d1456b62a8702a7e82a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building with musl currently fails. The fix has been committed
upstream, so backport it.
Note that it requires running yacc again to regenerate the parser file,
so a bison-native dependency is needed. Also the upstream's configure
step creates the directory where the parser file is generated at
make-dist time, and for some reason running through bitbake does not
create it, so do it manually. All of this can be reverted once a new
swig version that includes the fix is released and rebased onto.
(From OE-Core rev: 92d23674587fb9c6634b9ba88b8399b0ec40bd1c)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was not compiled for x86_64 when previously testing aarch64
so some tests were missed.
(From OE-Core rev: c2cb8827dc5bdeadd78f462398630c05e5a9ebb7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_create_extlinux_config performs its own override processing
for several variables, so we have to explicitly add the label-
suffixed variable names to its vardeps to make sure that changes
get detected.
(From OE-Core rev: ad792edf61157f6cd63a2c6aa8e53edc134301d0)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need export XDG_DATA_DIRS to be ${STAGING_DATADIR} for gdk-pixbuf*
wrappers or else they will try to load mime from /usr/share/mime of the
host machine.
(From OE-Core rev: de2848be1b04cf1ff1e0147114f5214be8225877)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that the tests require that the host machine has a X display,
has mesa development files installed and is able to create OpenGL contexts.
(From OE-Core rev: 2868e8dfb9e62b49cd06f6c2d010405079d3a71c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If in the future GL is enabled for SDL frontend, or some other
frontend, it would be useful to be able to differentiate.
(From OE-Core rev: 36fd0a334cd6ed309cf96e445af83447070412a3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When Gtk+ and SDL are both enabled, qemu defaults to Gtk+.
This option allows to revert to the 'classic' frontend.
(From OE-Core rev: 34ee1d8b11ecc9bb7acaf9d61b8b7c954306f1ae)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use devtool to refresh the patches. This avoids fuzz warnings.
(From OE-Core rev: 60031b012ef0de3650628b24db7d3470a34d637b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test for a multiconfig build which mixes tiny and musl builds
along with using the mcextend class to combine and package multiple images
into another image. This gives the multiconfig a decent test in a scenario
users may use.
(From OE-Core rev: 0c7fa15a7350808242754944243f01155bc6784c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class allows users to easily create multiconfig BBCLASSEXTEND recipes
and is generally useful. It will be used by new tests so add as a general
feature.
(From OE-Core rev: 9ad19eb12c24d1ddc967215af0ebafd2cd2cb665)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following two patches are added because I cannot figure
out how to pass parameter to efi-cc if it's changed to be
an array value.
systemd/0001-Revert-meson-print-EFI-CC-configuration-nicely.patch
systemd/0001-Revert-meson-use-an-array-option-for-efi-cc.patch
(From OE-Core rev: 42ec27489135f5c2dbe708dacb5dadb0f5d9df5b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PATCH REBASED:
==============
0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0004-rules-whitelist-hd-devices.patch
0007-rules-watch-metadata-changes-in-ide-devices.patch
0001-Use-getenv-when-secure-versions-are-not-available.patch
0002-don-t-use-glibc-specific-qsort_r.patch
0004-add-fallback-parse_printf_format-implementation.patch
0006-src-basic-missing.h-check-for-missing-strndupa.patch
0007-Include-netinet-if_ether.h.patch
0008-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch
0009-add-missing-FTW_-macros-for-musl.patch
0012-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0013-Use-uintmax_t-for-handling-rlim_t.patch
0014-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch
0021-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
PATCH DROPPED:
==============
0005-Make-root-s-home-directory-configurable.patch
systemd has its hardcoded assumption about /home and /, and it also respects
$HOME environment var, so this patch is somehow useless. This patch was originally
added but in fact had no real runtime effect except messing up some hardcoded assumptions,
and it was accidently manipulated during systemd upgrade. We have in fact not
used the orignal patch for more than two releases and things were working out
well.
0006-remove-nobody-user-group-checking.patch
The issue has been fixed upstream by the following commit.
"check nobody user/group validity only when not cross compiling"
0008-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch
0009-nss-mymachines-Build-conditionally-when-ENABLE_MYHOS.patch
The issue has been fixed upstream by the following commit.
"meson: allow building resolved and machined without nss modules"
0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
0001-sd-bus-make-BUS_DEFAULT_TIMEOUT-configurable.patch
Backport
0022-build-sys-Detect-whether-struct-statx-is-defined-in-.patch
Merged
0023-resolvconf-fixes-for-the-compatibility-interface.patch
0001-core-when-deserializing-state-always-use-read_line-L.patch
0001-chown-recursive-let-s-rework-the-recursive-logic-to-.patch
0001-dhcp6-make-sure-we-have-enough-space-for-the-DHCP6-o.patch
0001-Revert-sysctl.d-request-ECN-on-both-in-and-outgoing-.patch
0001-timesync-changes-type-of-drift_freq-to-int64_t.patch
Backport
0001-sysctl-Don-t-pass-null-directive-argument-to-s.patch
0002-core-Fix-use-after-free-case-in-load_from_path.patch
Merged
0001-meson-rename-Ddebug-to-Ddebug-extra.patch
0024-journald-do-not-store-the-iovec-entry-for-process-co.patch
0025-journald-set-a-limit-on-the-number-of-fields.patch
0026-journal-fix-out-of-bounds-read-CVE-2018-16866.patch
CVE-2019-6454.patch
sd-bus-if-we-receive-an-invalid-dbus-message-ignore-.patch
0005-basic-user-util-properly-protect-use-of-gshadow.patch
0022-Use-if-instead-of-ifdef-for-ENABLE_GSHADOW.patch
Backport
0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
No build failure for qemux86/qemuppc + musl
PATCH ADDED:
============
0020-missing_type.h-add-__compar_d_fn_t-definition.patch
0021-avoid-redefinition-of-prctl_mm_map-structure.patch
0022-include-sys-wait.h-to-avoid-compile-failure.patch
0023-socket-util.h-include-string.h.patch
0024-test-json.c-define-M_PIl.patch
0001-do-not-disable-buffer-in-writing-files.patch
PATCH OTHERS:
=============
0003-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
0011-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch
are combined into one patch:
0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
Add two more PACKAGECONFIG, nss-mymachines and nss-resolve which are introduced
by the following commit.
meson: allow building resolved and machined without nss modules
(From OE-Core rev: 816e08c18dbcf6e84dedc7a4bd96ddfbf2f86ebc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With 2.38.0 gdk-pixbuf dopped the enable_ prefix from the Meson
build options.
(From OE-Core rev: e11e4ebb521882ec64296e65b901ff1d9bccc23a)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simplify make-image-header.sh call and make sure it gets called in
the current working directory. Also check the return value of the
function call.
(From OE-Core rev: d4c55e2448053b51eb217c61328a2ca25bec0461)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the commit ec6d61cbdd ("mesa: enable native and nativesdk
variants"), the gallium is enabled for the mesa. Since we use the
modesetting driver for the Xorg on the beagleboard and the glamor
acceleration method is enabled by the modesetting driver, the gallium
DRI driver will be used after this commit. But the gallium DRI driver
only support 32bpp and we choose to use 16bpp on beaglebone in commit
e7434c17b4 ("meta-yocto-bsp: workaround the X malfunction on
beaglebone"), the mismatch between them causes the malfunction of the
Xorg. I have hacked the kernel to enable the 32bpp for the beagllebone,
but it has the following issues:
1. The color is abnormal.
2. The Xorg hang occasionally.
3. The performance of using glamor acceleration based on gallium is
pretty bad.
So I choose to disable the glamor on this board.
(From meta-yocto rev: b7a995856c58b507a521a55dcf94bee75804e81c)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps it find the unwind library in sysroot always and not
look around and confuse with host
(From OE-Core rev: e914c03964c540493523b18660f8a4eaeec78e3d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let -Og decide the best debugging experience
(From OE-Core rev: e9a6f67e12864d59bb9178e87635eed2d2785a2a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since compiler does not optimize away a lot of stuff we end up with
Werrors e.g.
./sysdeps/ieee754/flt-32/s_log1pf.c: In function '__log1pf':
../sysdeps/ieee754/flt-32/s_log1pf.c:114:22: error: 'c' may be used uninitialized in this function [-Werror=maybe-uninitialized]
114 | + (k * ln2_lo + c))) - f);
| ~~~~~~~~~~~~^~~~
which otherwise wont happen, so lets build with warnings-as-errors
disabled in debug mode
given we disable werror, now we don't have to restrict user to compile
without -O0
(From OE-Core rev: 9772eaafc1cb5957661d43e8f76c6f9b07b854dc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Og is for optimized debugging experience.
this makes this consistent across different compilers especially gcc and
clang, -O in clang is equal to -O2 where as in gcc its similar to -O1
so it was not giving consistent debugging experience across compilers
(From OE-Core rev: 16643b03227466e2c80a24c2d079fe36e89553c1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the configuration changes from Jon Mason <jdmason@kudzu.us>
to enable graphics for qemuarm/qemuarm64.
Note2: This requires the machine/configuration changes also sent by
John to have working graphics.
(From OE-Core rev: b62c48039834990a9265e6a7ef081a6dbdc489b9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on: https://patchwork.openembedded.org/patch/148047/
When x86_64 enables CONFIG_UNWINDER_ORC [ORC (Oops Rewind Capability)
unwinder for unwinding kernel stack traces], objtool is required to
generate the required information.
If we don't copy objtool to the shared workdir, out-of-tree modules
cannot generate object files.
For instance, meta-skeleton/hello-mod fails with:
| make[3]: *** No rule to make target 'tools/objtool/objtool', needed by ...
(From OE-Core rev: 7d4fdd3b95c949277f77df90bb2e8120b8d167ae)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration tweaks (which were already
on yocto-4.18):
9bddc4aa1eb bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE
6504b0ed616 features: drop the obsolete kernel option
5d18756a7fc features/hostapd: drop obsolete configs
bdf91f835b9 bsp/intel-x86: Drop configs that has been removed by kernel
0f8bb536c22 intel-x86: Drop configs which are not defined in kernel
(From OE-Core rev: 5c1c1f223c6618d033ea23abb33dacc230e754de)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[
In order for logging to work, as for example seen with the default
configuration of 'ufw' we need to have logging support enabled. This is
currently gated on the CONFIG_NETFILTER_XT_TARGET_LOG option, so enable
it here.
Fixes: f56608b405f0 ("meta: cleanup invalid/obselete 3.4 CONFIG options")
Signed-off-by: Tom Rini <trini@konsulko.com>
]
(From OE-Core rev: 4f3371b06d878800d2f759e00f7d5f4b244e7bf6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if python3-git isn't installed we can get odd behaviours when the
commit_count is absent. Avoid this set of bugs by adding a fallback here.
(From OE-Core rev: b8d22ed681141ce360d742a96cec5f2925a20222)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst its tempting to call bitbake_main(), the script also directly executes
bitbake. By doing both this creates all kinds of races. Therefore
change to use subprocess execution in all cases.
(From OE-Core rev: 0507ec4c6069490c9a503e9e2b65f0e7b1962d34)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When do world buid, there comes below error:
| ERROR: Nothing PROVIDES 'gtk+3' (but /build/layers/oe-core/meta/recipes-gnome/libdazzle/libdazzle_3.30.2.bb DEPENDS on or otherwise requires it)
| gtk+3 was skipped: one of 'x11 wayland' needs to be in DISTRO_FEATURES
Add the check for GTK3DISTROFEATURES to make
the world build work even without GTK3DISTROFEATURES.
(From OE-Core rev: 5e66a6b4540e5e29f401f7490e9b3b2029ea94a5)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix:
WARNING: python should use 4 spaces indentation, but found tabs in kernel-fitimage.bbclass, line 33
(From OE-Core rev: 00716a795f10e223150b0f9b214d185d654f4cc1)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sorted regression results to provide friendly viewing of report.
(From OE-Core rev: 59d827889dd8b790a7c9323c69565d6bba3041bd)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have been duplicating few variables in glibc recipes which could
actually be defined once, therefore move them to glibc-common.inc which is
included by all glibc family of recipes
(From OE-Core rev: 41093cb6c6d5edccebf41e62ed537779b1ee47bf)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PCRE has an optional JIT for performance.
Add a PACKAGECONFIG for this, enabled by default.
Also add a patch so that auto-detection of JIT availablity, which is required to
enable the JIT by default, works with out-of-tree builds.
(From OE-Core rev: 9421abbbf8fd6ff7c67ac8186a17d1c26583be6f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following options are the defaults, so remove them:
--enable-newline-is-lf
--with-match-size=2
--with-match-limit=10000000
We don't appear to need to pass -D_REENTRANT anymore (added with no explanation
to oe-classic in 2006).
Explicitly adding -lstdc++ doesn't appear to be required anymore (added for
PowerPC in 2008).
This recipe has always rebuilt the character tables but back in PCRE 4.4 (first
added to OE) a copy of the tables wasn't distributed with the tarball so this
was required. Since 2007 the tarball includes the tables for ASCII and
regeneration is only required if we wish to use EBCDIC, which we do not. Drop
the patch adding CC_FOR_BUILD support and remove --enable-rebuild-chartables
(From OE-Core rev: ba84fbf2e59cdaae203b013125817155cb5aa41f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As they are not supported, and would lead to build failures.
(From OE-Core rev: ca3b44760b1a56269d9ba0ec814a2aad4b7640f7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mesa.inc uses PACKAGECONFIG_class-target override to setup default
packageconfigs, which means that when we build mesa-gl for target then
it does no honor the ??= setting we have in mesa-gl recipe, and ends up
compiling egl, gles2 as well, which is not intended.
(From OE-Core rev: e6e6254eb8bee12f830b3848b8e96aafcf1ca918)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is only needed by 95-test_external_pyca_data which is
actually skipped on the target.
[YOCTO #13204]
(From OE-Core rev: 3ccbce74942853fb1dd5b73378f089ad8cd428a3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After eglibc was merged into glibc, Kconfig support was also dropped so
these libc features therefore are not effective anymore and can be
removed
(From OE-Core rev: c62b1cc06613a4cdddf53290e6203559f43fc62d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu-helper-native would erroneously pull in the qemu system
parts, where we only want usermode parts for pgo.
(From OE-Core rev: 9e1f7ebe2529fb7f4728dd67ae60341a61861a50)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rationale is to streamline the overall build.
The system parts are only needed to run target images, and so can be
built towards the end of the build process. At the same time, the
system parts may need gtk+-native and mesa-native which add significantly
to the build time.
On the other hand, the usermode parts have almost no dependencies
and can be built quickly. They are needed at recipes build time to
run target binaries, and so are required quite early in the typical
build process.
(From OE-Core rev: 4a558a5f2db68538e0edad798ddf48eb9510a7d6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the extrausers class is only useful for image recipes, it is
better to suggest adding it via IMAGE_CLASSES instead of INHERIT in the
example.
Also make the example a bit more readable by indenting the variable
values.
(From meta-yocto rev: 7905aa1ff174e66c5c520b2a4fcc1f0d3863baad)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptest suites with no results don't show up on the reports even though we have
a duration for them. Fix this so the fact they report no tests is visible.
(From OE-Core rev: 58268151704246a81ec8dae46c26346023057554)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently some older results files cause the code to give tracebacks.
Handle these missing sections more cleanly.
(From OE-Core rev: f778c191dbd5740173b3be07f4c1655d85a07bb2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we cant store results if the results files span multiple
different build revisons. Remove this limitation by iterating.
(From OE-Core rev: 4da12c00963b02508056b87ce9b972528ce3a1be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
openssl-ptest was recording now results, despite most tests passing. Fix
so that the successes/skips/failures are reported correctly.
(From OE-Core rev: a4565d62297af62ff86a83685f8d55194cd4db48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes:
Error: Transaction check error:
file /usr/share/man/man8/rmt.8 conflicts between attempted installs of
cpio-doc-2.12-r0.core2_64 and tar-doc-1.31-r0.core2_64
Prior to commit 348a96a5b401 [tar: upgrade to 1.31] the copies of
rmt.8 found in the tar(-doc) and cpio(-doc) packages were the same and
thus no conflict was seen. After the upgrade there were small changes
in the manpage header which results in the conflict quoted above. The
applications themselves make use of the 'update-alternatives'
mechanism to allow a user to select which version of 'rmt' to use but
since the man pages are essentially the same we disambiguate the
source of the man pages and make them both available should both
cpio-doc and tar-doc are both installed. And as such we avoid the
conflict.
(From OE-Core rev: 692d5b1025450bf1c33fb6aa041603f082e2ba4d)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable some tests which hang, blocking many other ptests.
Also add missing test artefacts to improve test pass rate and
fix failures.
(From OE-Core rev: e6f1d15e307a8d2f5f05c9ec9dd8163e9072ad07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently kernel-fitimage gets the dtb from KERNEL_DEVICETREE, however
there are instances when the DTB file can be generated using other
recipes, provide a way to include the DTB instead of inkernel device
tree.
Add support for external device tree during the creation of fitimage. If
virtual/dtb is set using PREFERRED_PROVIDER_virtual/dtb = "devicetree", which
inherits the devicetree.bbclass then use the path provided in
EXTERNAL_KERNEL_DEVICETREE else use KERNEL_DEVICETREE during fitimage process
(From OE-Core rev: 084f4de4dbaf9821516fc0254d35f4fb04311d27)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The AArch64 little-endian ABI requires that the dynamic loader is always
available at /lib/ld-linux-aarch64.so.1. Similarly, the big-endian ABI
requires that the dynamic loader is always available at
/lib/ld-linux-aarch64_be.so.1.
glibc-package.inc contains code that tries to ensure this, but
unfortunately it is defeated by the combination of multilib and usrmerge
because it does not take into account that /lib is the same as /usr/lib
with usrmerge when it adds the loader path to libc_baselibs and when it
attempts to show that /usr/lib is empty in do_poststash_install_cleanup.
This results in the symlink not being included in the package and a build
failure due to rmdir failing.
Richard Purdie also suggested[1] that ${nonarch_base_libdir} should not be
used as a synonym for /lib in this case.
This hopefully-fixed version always sets ARCH_DYNAMIC_LOADER and then uses
${root_prefix}/lib/${ARCH_DYNAMIC_LOADER} to refer to the dynamic loader
which works with both multilib and usrmerge. Since ARCH_DYNAMIC_LOADER is
only non-empty if the symlink is required, the code to create it can move
to do_install_append. Then do_poststash_install_cleanup needs to be taught
that ${exec_prefix}/lib may not be empty if the dynamic loader symlink is
there.
It appears not to be possible to specify the name of the loader via a
variable with an override, since the _aarch64 override is applied even for
_aarch64-be, so I've set the loader name using ${TARGET_ARCH} instead.
Build-tested and inspected core-image-minimal rootfs with:
* AArch64 no multilib (real loader in correct place)
MACHINE = "qemuarm64"
* AArch64 multilib (symlink in correct place)
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"
require conf/multilib.conf
* AArch64 usrmerge (real loader in correct place)
DISTRO_FEATURES += "usrmerge"
MACHINE = "qemuarm64"
* AArch64 multilib usrmerge (symlink in correct place)
DISTRO_FEATURES += "usrmerge"
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"
require conf/multilib.conf
* big-endian versions of all of the above by also setting
DEFAULTTUNE = "aarch64_be".
(building glibc only.)
* x86_64 (real loader in /lib as before)[2]
MACHINE = "qemux86"
* x86_64 multilib (real loader in /lib64 as before)
MACHINE="qemux86-64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
require conf/multilib.conf
I also tested leaving an unwanted file in ${exec_prefix}/lib for
do_poststash_install_cleanup to detect, and I believe the detection always
worked correctly.
[1] http://lists.openembedded.org/pipermail/openembedded-core/2018-November/276120.html
(From OE-Core rev: a705c0782c863ee960d65b5109168a4587a0a7b7)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For multilib to work correctly, BASE_LIB overrides must be provided for
each new tune added in this file.
(From OE-Core rev: e39c5ec90ebbc37064c9cd59eba12603317740cd)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7
The two patches have now been upstreamed. Apart from those changes, the
only thing that changed was the hwmixvolume tool, which got ported from
PyGTK to PyGObject, and from GTK 2 to GTK 3.
When testing hwmixvolume, I found that it depends on pyalsa, which has
not been packaged for OE. I believe hwmixvolume has never worked on OE.
It certainly didn't work before this patch, trying to build it failed
due to python-pygtk not being available. Even if python-pygtk was
available at some point in the past, hwmixvolume has always used pyalsa,
but the alsa-tools recipe has never had that dependency declared.
(From OE-Core rev: b1426844235a64246d46d71cf826e871c92d7ed4)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A revamp of the syscalls/setregid tests made to use a new
library [LTP:7a1b4427] required a conversion to test messages.
This test in particular did not include a formatted string,
but a just a string element:
testcases/kernel/syscalls/setregid/setregid01.c
This patch allows LTP to be built with -Wformat,
-Wformat-security, and -Werror=format-security.
(From OE-Core rev: ecee899dec53d324053112ed8764268fef930408)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid conflicts with other forks of glibc remove the diff from the
ChangeLog.
(From OE-Core rev: 695d79af1edcc76a01055b01922f0d106c8291ca)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds documentation to explain that src-pkgs can be added to
EXTRA_IMAGE_FEATURES
(From meta-yocto rev: 9b00dcb40b7b8a1aeb57fa8447900cf1fe832e2e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While not strictly required, list shadow-base as the example to use for
VIRTUAL-RUNTIME_login_manager when configuring for systemd. This
provider matches what is found in for example Debian and is also one of
the non-intuitive VIRTUAL-RUNTIME alternatives, so it's good to have an
example in use somewhere.
(From meta-yocto rev: 7a75d20f1361a64bebfd2ad228ebde1a823fd239)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is now in default-distrovars, so remove it from poky.conf.
(From meta-yocto rev: 4da8ef338252667696b82141ae67d0b426255fbe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mirrors.bbclass already adds downloads.yoctoproject.org/mirror/sources for FTP
and HTTP to ${MIRRORS} so there's no need to do it again.
(From meta-yocto rev: 67b79df4fbffcf677f8d127c00672f0d7c6c434b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This overrides the default assignment in qemu.inc and in doing so removes
RISC-V.
(From meta-yocto rev: 8cc9423649b2702c0ded721244a017b371b3a244)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, this would happen:
======================================================================
ERROR: test_vercmpstring (bb.tests.utils.VerCmpString)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/alexander/development/poky/bitbake/lib/bb/tests/utils.py", line 45, in test_vercmpstring
result = bb.utils.vercmp_string('1.', '1.1')
File "/home/alexander/development/poky/bitbake/lib/bb/utils.py", line 143, in vercmp_string
return vercmp(ta, tb)
File "/home/alexander/development/poky/bitbake/lib/bb/utils.py", line 135, in vercmp
r = vercmp_part(va, vb)
File "/home/alexander/development/poky/bitbake/lib/bb/utils.py", line 124, in vercmp_part
elif ca < cb:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
----------------------------------------------------------------------
(Bitbake rev: fef56d28c3efec4876c379898cbc4d4c65303aee)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl and its dependencies have a decent footprint impact. On my
xz compressed filesystem:
634880: /usr/lib/libperl.so.5.24.4
Put c_rehash in the openssl-misc package so the dependency can be
avoided where it isn't needed.
Change-Id: Iae9bccabfb1c8cfa1401ca6785abc39713d3fdf0
(From OE-Core rev: d2b1a889ef8fb9e6a2fa3d9bfc3eaf6113db9b1f)
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Ubuntu 16.04 LTS userspace is build for PowerPC 32-bit while kernel
selected by the installer depending on PowerPC machine type:
* 32-bit for PowerMac G4 (ppc7400) and below
* 64-bit for PowerMac G5 and above
Thus uname(2) returns ppc64 for 64-bit kernels and 32-bit userspace
making build impossible due to missing some of lib64 multilib
equivalents in Ubuntu repository.
Using setarch(8) override to make whole host look as PowerPC 32-bit
can actually help with build but requires mapping for ppc target to
their libgpg-error equivalent to fix native build.
Build tested on Ubuntu 16.04 LTS host on PowerMac G5 with command:
MACHINE=qemuppc setarch ppc bitbake core-image-full-cmdline
(From OE-Core rev: e81a5a640a2a00c43796cd47e168c93bb389a6c8)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building musl for powerpc64 enforces elfv2 ABI since commit 68c964185519
("arch-powerpc64.inc: Use elfv2 ABI when building with musl") that is
not compatible with valgrind.
(From OE-Core rev: d4eb90b5a4bc5fd8619120f783bc78b0e7dc829e)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use commit 4f07ffa8f5ab ("Use #if instead of #ifdef for ENABLE_GSHADOW")
from upstream to check ENABLE_GSHADOW correctly that is defined as 0
in case of musl.
While there replace specific patch with one from upstream that does
exactly the same commit 66a5b5ce9b99 ("basic/user-util: properly protect
use of gshadow").
(From OE-Core rev: c9580ef0810196f6703567d9db458b73dbbfb35f)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Licence checksum updated because the copyright dates were changed.
(From OE-Core rev: f3896b69c78abeaefc1c60e7a6d7b2ed85eb7015)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson has been found to set it erroneously.
(From OE-Core rev: 920824125eb87928a329a072fa6c5a839efc932b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PRINTF settings no longer seem necessary (tested with mingw).
Add meson-specific bits to Enable-more-tests-while-cross-compiling.patch and
0001-Install-gio-querymodules-as-libexec_PROGRAM.patch
Add 0001-Set-host_machine-correctly-when-building-with-mingw3.patch
to allow 'mingw32' as target machine in addition to 'windows'.
Add 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch to
correct ARM build errors.
Drop configure-libtool.patch (autotools-specific).
Fix API docs generation
(From OE-Core rev: e185235dd97510bfdc621cef9c18d8d13b16006d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Disable-tests-in-native-builds.patch as upstream has fixed the issue.
Rework 0001-Fix-a-couple-of-decisions-around-cross-compilation.patch to
enable generation of loaders.cache in target builds (using a native tool),
because otherwise building tests becomes impossible.
Rework 0002-Work-around-thumbnailer-cross-compile-failure.patch into
0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch
(which deals with substituting native tools in cross builds) and
0004-Do-not-run-tests-when-building.patch (which avoids running
test binaries during cross builds).
Rebase fatal-loader.patch.
License checksum updates as COPYING file had 2.0 version of LGPL and
has been replaced with 2.1 version.
Take meson's x11 and installed_tests options into use.
Install gdk-pixbuf-query-loaders also into $bindir, as we need the native
version during cross compile.
(From OE-Core rev: 8fb16df2e6977bb3508239eb8d447b8c5401d5ed)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu has been using libepoxy for a long time, and libepoxy loads GL via dlopen()
only when instructed to.
(From OE-Core rev: d974e0e9a290d66b702e5ca1d01873282763437b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ltp doesn't build cleanly with the stringformat security flags, work around
this until upstream sorts out the issues.
(From OE-Core rev: ce0e5719c9b10121c32be67237b88b0289499f2f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch has been refreshed:
* 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
These patches have been dropped as they have been merged:
* 0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch
* 0001-setrlimit05-Use-another-method-to-get-bad-address.patch
* 0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch
* 0001-statx-fix-compile-errors.patch
* 0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch
* 0001-getcpu01-Rename-getcpu-to-avoid-conflict-with-glibc-.patch
This patch has been added:
* define-sigrtmin-and-sigrtmax-for-musl.patch
Added these rdependencies:
* file: for ld01, file01 and logrotate
* quota: for quota_remount_test01
(From OE-Core rev: d198364c1007aab6523787f9e1bb6bb274cc89ad)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GTK_THEME instructs gtk to use its built-in theme. Otherwise
gtk attempts to use the theme from the host, which may be from
a totally mismatching gtk version.
On the other hand FONTCONFIG_PATH tells it to use the host fonts,
as providing fonts in the native sysroot and instructing the components
to use them is a lot more tricky.
GDK_PIXBUF_MODULE_FILE is set, because otherwise qemu works but
fills stdout with error messages, which eventually fill the pipe
they go into. That pipe is read from only when qemu exits (to
collect any error messages) by runqemu script. The pipe fill-up
causes the qemu process to lock up.
(From OE-Core rev: d5b8a65861adba298a9dc2c4e9a7a7da5490073a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| In file included from /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/3.1.0-r0/qemu-3.1.0/include/ui/egl-context.h:5,
| from /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/3.1.0-r0/qemu-3.1.0/ui/egl-context.c:3:
| /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/3.1.0-r0/qemu-3.1.0/include/ui/egl-helpers.h:46:55: error: unknown type name 'Window'; did you mean 'minor'?
| EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win);
| ^~~~~~
| minor
(From OE-Core rev: 01324f5e741a106cdb4b2989379f71b0b727a224)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diagram had a typo in it ".ipd" rather than ".ipk".
Fixed and dropped in the figures folder for each manual.
(From yocto-docs rev: d39d196713a68df8d298f6ed0f40899bc148a323)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13146]
I added some information to the "Using menuconfig" section to
indicate two host packages that must be installed in order for
menuconfig to run.
(From yocto-docs rev: 4f5b12ebe8f8c0ab23001b8fc770295dc585429c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to have a predictive number of tags and branches
in the example commands that assume a released 2.7 version.
(From yocto-docs rev: b9f302cf819dbe759b560f4586edaedfae13e3d9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13112]
Added a reference in the FILESOVERRIDES variable description
to the FILESPATH description to see an example of how automatic
overrides work.
(From yocto-docs rev: e78fc3468de3d9b9935f0e4f4aa4117b6805e631)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were a couple of problems with the multiconfig dependency resolution:
- the "if mc" condition triggering this code wasn't correct, it needs
to be "if more than one multiconfig" configured
- after adding providers we need to call add_unresolved again
and rebuild mcdeps within the "while new" loop
By fixing these issues we allow various other combinations of multiconfig
builds to work which previously didn't.
[YOCTO #13090]
[YOCTO #13130]
(Bitbake rev: 4359b037de578095db2595f119dfb8e3340e1414)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was already a fix to ignore some multiconfig dependencies but its
'opposite' case wasn't covered. Cover that combination to so as to avoid
tracebacks in multiconfig builds.
[YOCTO #13090]
[YOCTO #13130]
(Bitbake rev: c883dfe378af9dfc192a8e392e84325d68648806)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The consumers of BB_TASKDEPDATA in OE metadata can't cope with multiconfig
dependencies. The choice is either to start adding code to each of them to
filter out multiconfig dependencies, or do this at source.
After consideration we've decided to do this at source as doing otherwise
is code duplication and error prone and in any case we've looked at, they
don't make sense.
[YOCTO #13090]
[YOCTO #13130]
(Bitbake rev: 531dcd221a10853f45cc057b52bb2d5083e0ee42)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warnings deal with two specific cases of failure:
1) unable to execute nativesdk postinsts for mingw SDKs because
they need to be run under wine
2) unable to execute target postinsts when there is no qemu
usermode support for the target
Neither of these should be a big problem as mingw issue was never
found to problematic, and target postinsts deal with things that
are needed at runtime and not at build time which is the purpose
of SDKs.
The specific reason to do this is to reduce the amount of warnings
shown by the Yocto autobuilder, to zero eventually.
(From OE-Core rev: cbc32fcd9b52e750600cce9dd84b33e3ce612eae)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade dpkg from 1.18.25 to 1.19.4:
* update SRC_URI which DEBIAN_MIRROR
* un-export PERL which causes script scripts/dpkg-architecture.pl fails
to get cpu type and package arch
* add configure option '--disable-update-alternatives' which causes
installed-vs-shipped issue
* add patch for dpkg-native to resolve host tar may not support
options --owner=NAME:ID and --group=NAME:ID
* update context of patches
* drop dpkg-configure.service that apt provides a systemd timer to do it
(From OE-Core rev: 5185b6fe3d4fa9b53baffa6ee419da60ac056da2)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the use of an alternate SSH executable for deploy-target and
undeploy-target. The command can be specified with -e / --ssh-exec.
(From OE-Core rev: c2684740d7fd3aeb60b3ec7888000097effe82f4)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license checksum changed due to a change in copyright years.
(From OE-Core rev: ee3057bf109b2d11ecb0089c2c424e9b6033932e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using a native specific packageconfig option, we now set
the swrast as the supported driver.
Currently the native version does not build any dri drivers at all.
This is intentional: mesa-native is used only by virgl, so was made
the most minimal possible configuration for mesa-native so that a)
virgl works; and b) build time is as short as possible.
There are two swrast drivers, one dri-based, another gallium-based.
Autotools lets you build both, meson forces you to choose.
Thus DRIDRIVERS = "swrast" is only set for _native, as for _target
we get the gallium driver instead.
See discussion here [1]
Based on https://patchwork.openembedded.org/patch/158748/
[1] https://patchwork.openembedded.org/patch/158806/
(From OE-Core rev: 223ee432b908180932bf70e77d4058964d7f0786)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perl-cross uses PERL_API_VERSION but not PERL_VERSION to define
libperl soname: libperl.so.$PERL_API_REVISION.$PERL_API_VERSION.$PERL_API_SUBVERSION.
For perl stable releases, the PERL_API_SUBVERSION is always 0. Specify
the so version for libperl to make sure the libperl.so can be linked to
the correct library.
(From OE-Core rev: 6257fcd86e63fe533aeaadbc65a54213b4885c16)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake gdk-pixbuf gdk-pixbuf-native
bitbake build-sysroots -c build_target_sysroot
can lead to tracebacks as gdk-pixbuf-native is being installed into the
target sysroot. The issue is that the x86_64 (common BUILD_ARCH) sysroot
components directory can contain a mix of native and target artefacts.
Differentiate by the "-native" in the recipe names. Should also trim
down the size of the sysroot used in eSDK.
(From OE-Core rev: 57f32836060bba0eaa6b36f53146dd6fd07b77ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When you install the eSDK in publish mode and then try to build a
derivative sdk using devtool build-sdk, the following error happens
| NOTE: Generating sstate task list...
| NOTE: Generating sstate-cache...
| NOTE: Generating sstate-cache...
| DEBUG: Python function copy_buildsystem finished
| NOTE: Executing install_tools ...
| DEBUG: Executing shell function install_tools
| install: cannot stat /core/meta/files/ext-sdk-prepare.py':
No such file or directory
This patch will fix the error by installing ext-sdk-prepare.py in
publish mode, so that derivative sdk can be generated.
(From OE-Core rev: aab4089a57a655ca5a7792f05eb5d8dcdb934ae1)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add virtual provider for dtb. This class can be used to generate dtb
from static devicetree, for reference see meta-xilinx layer
meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb
By providing a virtual provider we can use it to differentiate between
in-kernel dtb or an external one. This can be set in local.conf as
PREFERRED_PROVIDER_virtual/dtb = "devicetree"
(From OE-Core rev: a7d52dbffd0da95de82d910c595a6c27d9b2ad0d)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We shipped an old version that was missing several fixes.
A minor incompatibility is that this moves
/etc/lighttpd.conf -> /etc/lighttpd/lighttpd.conf
(From OE-Core rev: bd46eeee09e99ae4646a92f5bf5bc3c619e63cde)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 1.29.3 -> 1.30.1 upgrade lost support for sleep with
float values (e.g. "sleep 0.1") since this replacement for
CONFIG_FEATURE_FLOAT_SLEEP (enabled in thud) was missing.
(From OE-Core rev: 3f6021e8b444e9b8f7aae0c564bef1d3c9634198)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ftp server has been flaky recently.
(From OE-Core rev: 9257ba3cdadc0721fad7d57a5fd75e7cd45fd53c)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
There's a new program, axfer, which is a reimplementation of aplay (and
arecord). The purpose of the rewrite is to have code that is easier to
maintain. For now both implementations exist, and I decided to put both
in the aplay package.
The new 89-alsa-ucm.rules udev file initializes the mixer settings for
certain hardware. It's needed for making the hardware usable at boot, in
case there's no higher level software (such as PulseAudio) managing the
mixer settings. Shipping hardware specific configuration in alsa-utils
seems wrong, but I don't know what else to do. I added it to the alsaucm
package, because it's kind of tied to the alsaucm utility (the udev
rules execute the alsaucm program, and the build system installs the
rules file only when alsaucm is enabled). Ideally the UCM configuration
in alsa-lib would define the default UCM verb for each hardware, then
the udev rules file could just enable the default verb, and there would
be no hardware specific configuration in alsa-utils. But that requires
upstream development effort.
SRC_URI was changed to a more reliable source (at least currently the
ftp server is flaky).
(From OE-Core rev: f78e2fc921093cdd279f4245760b5e0a7adbe85c)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
The --enable-avcodec configure option was renamed to --enable-libav, and
I renamed the respective packageconfig item too.
There's a new pcm plugin: aaf (AVTP Audio Format). I added a
packageconfig item for it, but I didn't test it, because libavtp doesn't
seem to be currently packaged for OpenEmbedded.
There are now configuration files for most of the plugins. I removed the
symlink creation for 50-pulseaudio.conf, because upstream now creates
the symlinks for us. 99-pulseaudio-default.conf is an exception, because
upstream ships it only as an example, and upstream doesn't install a
symlink for it (upstream actually installs it directly under /etc, but I
moved it back to /usr/share), so for that file we still have to create
the symlink ourselves.
The lavcrate plugin was converted to use libavresample (and renamed to
lavrate). Libavresample is provided by ffmpeg, but ffmpeg was by default
built with libavresample disabled. This patch now enables libavresample
by default in the ffmpeg recipe in order to not cause a regression in
alsa-plugins.
SRC_URI was changed to a more reliable source (at least currently the
ftp server is flaky).
(From OE-Core rev: ddf5421331180bc45697511b44cdd4a4e6dda6ff)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelogs:
http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8
One significant change was that the search path of add-on configuration
files was changed from /usr/share/alsa/alsa.conf.d to /etc/alsa/conf.d.
Packages that install such files should still use the /usr/share
location, though. Symlinks need to be created from /etc to /usr/share.
The rationale for using /etc is that the system administrator can better
control the configuration that way, and the rationale for installing
files under /usr/share is that configuration snippets that are installed
by packages are not meant to be directly edited by the administrator.
alsa-plugins had to be modified to add symlinks for the configuration
snippets that it installs. I also added FILES_${PN} = "", because the
alsa-plugins package is supposed to be empty, but also because for some
reason that I don't understand the symlinks would otherwise go to the
alsa-plugins package rather than alsa-plugins-pulseaudio-conf.
SRC_URI was changed to a more reliable source (at least currently the
ftp server is flaky).
(From OE-Core rev: 91f506958e4b7e9b8e8f1dcfe4a8aa4bdac7c5d1)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio does not exist,
nor any of the compressed variants, nothing is copied to kernel build's
./usr directory.
The code does not fail, but silently proceeds without a bundled initramfs.
Change to fail and tell the user something is wrong.
Also, if an initramfs is found, contrary to the comments, it does not stop
at the first uncompressed/compressed cpio image found. Instead it keeps
processing all so the last is used. Fix this to behave as per the comments.
[YOCTO #12909]
(Patch by Leon Woestenberg)
(From OE-Core rev: 5b5604e288af755eb5553a97d26533445b2cf94b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The parent code currently assumed that any parent branch is locally
checked out which may not be the case.
Use the local branch by default but fall back to the origin. This
also means removing the later saftey check as the branch may not exist
locally.
This fixes the autobuilder resulttool test pushing code.
(From OE-Core rev: 0ee636bc89d93282cb3d3cd747b3dd046f6e5a9c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a combined patch of the various tweaks and improvements I
made to resulttool:
* Avoid subprocess.run() as its a python 3.6 feature and we
have autobuilder workers with 3.5.
* Avoid python keywords as variable names
* Simplify dict accesses using .get()
* Rename resultsutils -> resultutils to match the resultstool ->
resulttool rename
* Formalised the handling of "file_name" to "TESTSERIES" which the code
will now add into the json configuration data if its not present, based
on the directory name.
* When we don't have failed test cases, print something saying so
instead of an empty table
* Tweak the table headers in the report to be more readable (reference
"Test Series" instead if file_id and ID instead of results_id)
* Improve/simplify the max string length handling
* Merge the counts and percentage data into one table in the report
since printing two reports of the same data confuses the user
* Removed the confusing header in the regression report
* Show matches, then regressions, then unmatched runs in the regression
report, also remove chatting unneeded output
* Try harder to "pair" up matching configurations to reduce noise in
the regressions report
* Abstracted the "mapping" table concept used to pairing in the
regression code to general code in resultutils
* Created multiple mappings for results analysis, results storage and
'flattening' results data in a merge
* Simplify the merge command to take a source and a destination,
letting the destination be a directory or a file, removing the need for
an output directory parameter
* Add the 'IMAGE_PKGTYPE' and 'DISTRO' config options to the regression
mappings
* Have the store command place the testresults files in a layout from
the mapping, making commits into the git repo for results storage more
useful for simple comparison purposes
* Set the oe-git-archive tag format appropriately for oeqa results
storage (and simplify the commit messages closer to their defaults)
* Fix oe-git-archive to use the commit/branch data from the results file
* Cleaned up the command option help to match other changes
* Follow the model of git branch/tag processing used by oe-build-perf-report
and use that to read the data using git show to avoid branch change
* Add ptest summary to the report command
* Update the tests to match the above changes
(From OE-Core rev: ff2c029b568f70aa9960dde04ddd207829812ea0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrated “manualexecution” operation to resulttool scripts.
Manual execution script is a helper script to execute all manual
test cases in baseline command, which consists of user guideline
steps and the expected results. The last step will ask user to
provide their input to execute result. The input options are
passed/failed/blocked/skipped status. The result given will be
written in testresults.json including log error from the user
input and configuration if there is any.The output test result
for json file is created by using OEQA library.
The configuration part is manually key-in by the user. The system
allow user to specify how many configuration they want to add and
they need to define the required configuration name and value pair.
In QA perspective, "configuration" means the test environments and
parameters used during QA setup before testing can be carry out.
Example of configurations: image used for boot up, host machine
distro used, poky configurations, etc.
The purpose of adding the configuration is to standardize the
output test result format between automation and manual execution.
To use these scripts, first source oe environment, then run the
entry point script to look for help.
$ resulttool
To execute manual test cases, execute the below
$ resulttool manualexecution <manualjsonfile>
By default testresults.json store in <build_dir>/tmp/log/manual/
[YOCTO #12651]
(From OE-Core rev: f24dc9e87085a8fe5410feee10c7a3591fe9d816)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OEQA outputs test results into json files and these files were
archived by Autobuilder during QA releases. Example: each oe-selftest
run by Autobuilder for different host distro generate a
testresults.json file.
These scripts were developed as a test result tools to manage
these testresults.json file.
Using the "store" operation, user can store multiple testresults.json
files as well as the pre-configured directories used to hold those files.
Using the "merge" operation, user can merge multiple testresults.json
files to a target file.
Using the "report" operation, user can view the test result summary
for all available testresults.json files inside a ordinary directory
or a git repository.
Using the "regression-file" operation, user can perform regression
analysis on testresults.json files specified. Using the "regression-dir"
and "regression-git" operations, user can perform regression analysis
on directory and git accordingly.
These resulttool operations expect the testresults.json file to use
the json format below.
{
"<testresult_1>": {
"configuration": {
"<config_name_1>": "<config_value_1>",
"<config_name_2>": "<config_value_2>",
...
"<config_name_n>": "<config_value_n>",
},
"result": {
"<testcase_namespace_1>": {
"status": "<PASSED or FAILED or ERROR or SKIPPED>",
"log": "<failure or error logging>"
},
"<testcase_namespace_2>": {
"status": "<PASSED or FAILED or ERROR or SKIPPED>",
"log": "<failure or error logging>"
},
...
"<testcase_namespace_n>": {
"status": "<PASSED or FAILED or ERROR or SKIPPED>",
"log": "<failure or error logging>"
},
}
},
...
"<testresult_n>": {
"configuration": {
"<config_name_1>": "<config_value_1>",
"<config_name_2>": "<config_value_2>",
...
"<config_name_n>": "<config_value_n>",
},
"result": {
"<testcase_namespace_1>": {
"status": "<PASSED or FAILED or ERROR or SKIPPED>",
"log": "<failure or error logging>"
},
"<testcase_namespace_2>": {
"status": "<PASSED or FAILED or ERROR or SKIPPED>",
"log": "<failure or error logging>"
},
...
"<testcase_namespace_n>": {
"status": "<PASSED or FAILED or ERROR or SKIPPED>",
"log": "<failure or error logging>"
},
}
},
}
To use these scripts, first source oe environment, then run the
entry point script to look for help.
$ resulttool
To store test result from oeqa automated tests, execute the below
$ resulttool store <source_dir> <git_branch>
To merge multiple testresults.json files, execute the below
$ resulttool merge <base_result_file> <target_result_file>
To report test report, execute the below
$ resulttool report <source_dir>
To perform regression file analysis, execute the below
$ resulttool regression-file <base_result_file> <target_result_file>
To perform regression dir analysis, execute the below
$ resulttool regression-dir <base_result_dir> <target_result_dir>
To perform regression git analysis, execute the below
$ resulttool regression-git <source_dir> <base_branch> <target_branch>
[YOCTO# 13012]
[YOCTO# 12654]
(From OE-Core rev: 78a322d7be402a5b9b5abf26ad35670a8535408a)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These functions can be reused by the resulttool code so move to the common
function library for this purpose.
(From OE-Core rev: c66f848938c04e133259c5b6903dc592866ab385)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license checksum changed due to a change in copyright years only.
(From OE-Core rev: f45e890838544bcb77cf2e8503994ef894d3071e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license checksum changed due to copyright year changes.
(From OE-Core rev: a50aa22a229e8c13d36528a9e5a776688a5133a7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following two patches are removed as they are not needed anymore.
0001-Unset-need_charset_alias-when-building-for-musl.patch
0001-explicitly-disable-replacing-getopt.patch
(From OE-Core rev: cc8c9b36258d0bb1635b2d4644d7fc64357c5110)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meant to fix this pre merge, the git revision is the PV so no need to
add SRCPV.
(From OE-Core rev: 3233096f0dbada97d9d71c98044150a641bfb0a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the musl specific do_install, as it's not suitable for this
version.
(From OE-Core rev: 348a96a5b4016a7615f8d22c03ec1ced60367c3b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the test logrotate.LogrotateTest.test_1_logrotate_setup,
there is below logic:
# mkdir $HOME/logrotate_dir
# sed -i "s#wtmp {#wtmp {\n olddir $HOME/logrotate_dir#" /etc/logrotate.d/wtmp
After all logrotate.LogrotateTest finished, only cleanup
$HOME/logrotate_dir as below, but don't restore
the config file /etc/logrotate.d/wtmp.
[snip]
def tearDownClass(cls):
cls.tc.target.run('rm -rf $HOME/logrotate_dir')
[snip]
That's to say, there is one additional line added
to /etc/logrotate.d/wtmp and will make the logrotate
service start failed when run systemd.SystemdBasicTests.test_systemd_failed
Take an example as below when run test as root:
# cat /etc/logrotate.d/wtmp
# no packages own wtmp -- we'll rotate it here
/var/log/wtmp {
olddir /root/logrotate_dir
missingok
monthly
create 0664 root utmp
minsize 1M
rotate 1
}
# ls /root/logrotate_dir
ls: cannot access '/root/logrotate_dir': No such file or directory
# systemctl start logrotate
Job for logrotate.service failed because the control process exited with error code.
See "systemctl status logrotate.service" and "journalctl -xe" for details.
# systemctl status logrotate
logrotate.service - Rotate log files
Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset>
Active: failed (Result: exit-code) since Wed 2019-02-13 03:35:19 UTC; 7s ago
Docs: man:logrotate(8)
man:logrotate.conf(5)
Process: 540 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE)
Main PID: 540 (code=exited, status=1/FAILURE)
Feb 13 03:35:18 qemumips systemd[1]: Starting Rotate log files...
Feb 13 03:35:19 qemumips logrotate[540]: error: wtmp:9 error verifying olddir path /root/logrotate_dir: No such file or directory
Feb 13 03:35:19 qemumips logrotate[540]: error: found error in file wtmp, skipping
Feb 13 03:35:19 qemumips systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
Feb 13 03:35:19 qemumips systemd[1]: logrotate.service: Failed with result 'exit-code'.
Feb 13 03:35:19 qemumips systemd[1]: Failed to start Rotate log files.
Add the logic to restore /etc/logrotate.d/wtmp to
make the cleanup complete to fix the above issue.
(From OE-Core rev: a2db9320d97d12d87524ff16a329f9c38a8da33f)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for gobject-introspection.
Add v2 API fixes to the gtkdoc/gi disabling patch.
Add a dependency on glib-native to allow use of glib-mkenums.
Disable v2 API/library for now as libdnf is not compatible with it,
yet is erroneously linked against it (if it's enabled).
(From OE-Core rev: 3db1883a109b520909b12e91028ce8a79923e8f5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport the CVE patch from the upstream
commit 3f635fb43389b54f682fc9ed2acc0b2aaf4a923d
(From OE-Core rev: 518be39ac82593c539144ac83acc459a45b7a81d)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipe glade do_configure failed after python upgrade
to 3.7.2, it will do runtime check of python headers
with native python3 under recipe-sysroot-native, it will check under
path INCLDIRSTOMAKE, but this value is '/usr/include /usr/include
/usr/include/python3.7m /usr/include/python3.7m', which will cause
below error:
ERROR: This autoconf log indicates errors, it looked at host include and/or
library paths while determining system capabilities.
fix it by replace /usr/include to STAGING_INCDIR
(From OE-Core rev: 4975a283478ec3cbde813a1b27ab318de4aa8051)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License checksum changed due to cleanup, all URLs converted to https.
need_charset_alias is no longer being used, drop the patch.
(From OE-Core rev: 867a70ebbefcddae21f0668248fa22e2c4d3f849)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnulib.patch for glibc-2.28+ has been upstreamed.
(From OE-Core rev: 4242c5bce21e723b22bd1dc59b911ed536c8e526)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License checksum changed due to updated copyright year and cleanup.
3 patches for miniacc.h were incorporated upstream.
Build-tested on qemu targets, including x32.
(From OE-Core rev: e243edc0456858d26b21a5b643ea9c0ae143fa4b)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Volatiles processing now handles bind mounts, so update the comment in
the core file to indicate this.
(From OE-Core rev: 520e8f5721aab90815186533038c2f9f834546d5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package task for glibc-locale takes a very long time to execute,
especially if using qemu. In that case, a progress meter helps a lot to
show the progress of the task.
(From OE-Core rev: bd2f9b2785779ef65c0c3664dae03b01ced59f6d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
prep_locale_tree() predates the usrmerge DISTRO_FEATURE, which meant it
was not prepared for the case when ${base_libdir} == ${libdir}. This
lead to it extracting files and directories where it shouldn't.
(From OE-Core rev: 0bfc4dd0a9acc305b78fe9d5c2a7fb9afe708684)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise it matches versions for 'rcairo' as well.
(From OE-Core rev: 699623d01f34c061260e98d3d9f0c9cae37edbe6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This required adding an option to control gobject introspection
via a custom patch, and tweaking clutter.bbclass to not enforce
autotools.
(From OE-Core rev: 9b9c12268bf9365101da4a985f70c06740dfeb8f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This cleans up the handling of the dependency and gets rid of a use of
remove which should never be needed in OE-Core.
(From OE-Core rev: 93c6e5023d74bf6fae8e3a70afd9dca6b1ab555a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This turns the core of the script into a library function. Ultimately this
will let us call that code with custom 'keywords' rather than relying
on the data parsed from bitbake metadata which can't be used when archiving
historical results.
(From OE-Core rev: 4820ca2b0850e29b04a4fd5659a6e9837d6714d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building fitimage_initramfs, the correct depedency is to build
after do_bundle_initramfs. We can run into the following dependency
issue
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_assemble_fitimage_initramfs
aarch64-xilinx-linux-objcopy: 'vmlinux': No such file
This happens because initramfs renames vmlinux to vmlinux.bak while
generating vmlinux.initramfs, there is a chance that fitimage_initramfs
can also start during this process and create the above issue.
This patch resolve the dependency issue by running fitimage_initramfs
task after do_bundle_initramfs
(From OE-Core rev: 8f0bece39a634fce5bd882cbd9e289ea905a0b17)
Signed-off-by: Varalaxmi Bingi<varalaxm@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update to last stable version 1.30.1
- remove and refresh already merged patches
- re-generate defconfig
(From OE-Core rev: 11b46b846899b294c496c94659c0c3cef35e0557)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the mechanism for breaking out of the dependnecy loop analysis
code is broken and doesn't work leading to bitbake appearing to hang.
Add in a custom exception for this purpose and fix the code to exit
as intended, fixing the hang and making the dependency loop code
usable again.
(Bitbake rev: 8756e4ade67c16e35269ea0659e10b9ebaa6117f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe is special and recursively references poky, the AUH should
ignore it.
(From OE-Core rev: 4e3876d86139e25b234456f09c14095a58eef585)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bmap-tools 3.5 was released August 2018 but has no release tarball, so
switch to using the git fetcher. Also pull in the fix for StopIteration
being transformed into RuntimeError for Python 3.7.
(From OE-Core rev: 3fbee26af2f3263180f75652b5dd6e50adb1d8fe)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The style of this recipe is dated, move most of the code into the main
shared include file, making some of the configuration much clearer using
modern overrides to do so.
(From OE-Core rev: b422d94b1b42fd3be42fd1ba95dbcab10e2ab4ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native recipes don't currently honour their RDEPENDS. In the case of
some python scripts this has started causing problems since whilst they're
not needed at build time (DEPENDS), they are needed at runtime.
We put off making this change due to circular dependency issues. I believe
the three such problems in OE-Core are now fixed, as is the dependency loop
identfication code in bitbake so its time to improve this situation.
[YOCTO #10113]
(From OE-Core rev: c62520b63284927e177831c351fafa4d2768cb1f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These previously didn't do much and now we're fixing them we have a circular
dependency problem in the native case we need to break.
(From OE-Core rev: 5cf10dcfe36c2c32c149292d0f86e943f23268a3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we fix native RDEPENDS handling, it exposes a problem where there
is a circular dependency between shared-mime-utils and glib-2.0-native.
Break this dependency in the -native case.
(From OE-Core rev: d2616aa222e98fa1bc6f0b7892ad358642144be1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is actually inactive and inaccurate. If we fix other code to
enable native RDEPENDS handling, this then breaks.
quilt-native is early in the dependency tree and can't depend on
util-linux-native which may need to applu patches. The pieces of
util-linux which quilt needs are long established as part of HOSTTOOLS.
The other RDEPENDS are already part of ASSUME_PROVIDED. util-linux-native
doesn't belong there since it has multiple components and is used as a valid
dependency elsewhere in the codebase.
(From OE-Core rev: 1b627ab06351bccdb0886b92a5a6610cbe36faf4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If large results values are returned by the subprocesses, we can hit a deadlock
where the subprocess is trying to write data back to the parent, the pipe is full
and the parent is waiting for the child to exit.
Avoid this by calling the update() method which would trigger reading a result
from the child, avoiding the deadlock. The issue is described in
https://bugs.python.org/issue8426
(From OE-Core rev: 0035e8066ecbbff94d6a1994a9f72b1368d660d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we parallel process the files we install running dwarfsrcfiles over
each one in parallel threads but requiring a lock to write the results to one
file. This is not ideal for performance and means we can't then use per file
data for other purposes such as source code license processing.
Rework the code so that the list of source files is generated per installed
file and is reusable.
The code still generates a null separated debugsources.list file since this
is used by a shell pipeline but it no longer needs locking.
(From OE-Core rev: 95de93988eb725c14102f642ebabff3920ae194f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13112]
Did some paragraph re-ordering based on reviewer feedback.
Also, added a bit in the FILESOVERRIDES variable description
about out it uses overrides to help with automatic overriding
of the FILESPATH variable. Added some better links into the
BitBake User Manual as well.
(From yocto-docs rev: 6ad5c6f030501cda9bc8ea648d9d7c0e991f55cf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When icecc is not installed, the `which icecc` command in icecc-env.sh
returns nonzero. This happens when environment is being sourced. When
the terminal has `set -e`, the whole script fails and terminal is
closed.
Fix this by ignoring errors from the which command.
(From OE-Core rev: 27a8c14039970105238b66b9f3025435cb7e8a58)
Signed-off-by: Adam Trhon <adam.trhon@tbs-biometrics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tools were built with CC_FOR_BUILD which points to the target
compiler. The current patch avoided issues by deleting some of the
binaries during install.
This patch replaces the CC_FOR_BUILD with CC so the tools are built with
the target compiler. This means the binaries no longer need to be
deleted.
I stumbled upon this by trying to globally add "--ffile-prefix-map", which
is not supported by my host GCC, to get rid of some "buildpaths" QA Warnings.
Cc: Robert Yang <liezhi.yang@windriver.com>
(From OE-Core rev: ea98fd17ae38efca13ce97c2e0eaacb8cfde597d)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QA team found that 10 manual bsp test cases from Testopia for
Beaglebone, EdgeRouter, and MPC need to be up streamed
[YOCTO #12650]
(From OE-Core rev: f47410899eb97cfd7db428f45b7ba354c609b4d5)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Following changes are applied:
710963f Merge https://github.com/ajaykuee/linux-firmware
c24aec4 nvidia: add TU10x typec controller firmware
28f5f7d Merge git://git.marvell.com/mwifiex-firmware
f30a319 Merge branch 'ath10k-20190201' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/linux-firmware
8fcf0ec bnx2x: Add FW 7.13.11.0.
8bf607c amdgpu: add firmware for vega20 from 18.50
578aee3 amdgpu: bump year on license
bd72387 linux-firmware: update Marvell PCIe-USB8997 firmware image
6cfdd52 linux-firmware: update Marvell SD8897-B0 firmware image
2206320 linux-firmware: add Marvell SD8977 firmware image
6b5e23a ath10k: QCA9984 hw1.0: update firmware-5.bin to 10.4-3.9.0.2-00021
0eef77d ath10k: QCA988X hw2.0: update firmware-5.bin to 10.2.4-1.0-00043
1bd5312 ath10k: QCA9888 hw2.0: update firmware-5.bin to 10.4-3.9.0.2-00024
97b1f93 ath10k: QCA6174 hw3.0: update board-2.bin
a8b75ca Merge tag 'add-rpi-fw' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux-firmware
56483ad brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+
638a91a brcm: Fix filename for BCM43430 NVRAM for the Raspberry Pi 3 Model B
bc65650 amdgpu: add raven2 fw for 18.50 release
32201bb amdgpu: add picasso fw for 18.50 release
b1eae29 Revert "brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+"
89d37c6 linux-firmware: Update firmware file for Intel Bluetooth,8265
f089658 linux-firmware: Update firmware patch for Intel Bluetooth 8260
ae90c3b linux-firmware: Update firmware file for Intel Bluetooth,9260
9723ba4 linux-firmware: Update firmware file for Intel Bluetooth,9560
c7148ed Merge tag 'add-rpi-fw' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux-firmware
128441e Merge tag 'iwlwifi-fw-2018-12-30' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
56cbf41 Merge git://git.marvell.com/mwifiex-firmware
930f276 brcm: Add BCM43430 NVRAM for the Raspberry Pi 3 Model B
fca5958 brcm: Add BCM43455 NVRAM for Raspberry Pi 3 B+
63ca64a linux-firmware: update Marvell USB8801 B0 firmware image
b727739 iwlwifi: update firmwares for 9000 series
80dee31 cxgb4: update firmware to revision 1.22.9.0
0f22c85 Revert "amdgpu: update vega10 fw for 18.50 release"
117d211 brcm: Add 4330 NVRAM for the Prowise PT301 tablet
912d6a5 brcm: Add 43430 NVRAM for the Chuwi Vi8 Plus tablet
f16cf5e brcm: Add 43340 based AP6234 NVRAM for the Meegopad T08 HDMI stick
5a2766c brcm: Add 43430a0 based AP6212 NVRAM for the Jumper EZpad mini 3 tablet
867ac13 brcm: Add 43430a0 based AP6212 NVRAM for the Onda V80 Plus tablet
a5662fb brcm: Add 4356 based AP6356 NVRAM for the GPD win handheld
f055ceb brcm: Add brcmfmac43362-sdio.lemaker,bananapro.txt symlink
d9430ac brcm: Add 43362 based AP6210 NVRAM for the Cubietech Cubietruck
eb34562 WHENCE: Put quotes around brcmfmac NVRAM filenames
be15035 check_whence.py: Add support for filenames with spaces in them
e6b9001 rtl_bt: Add firmware and configuration files for the Bluetooth part of RTL8723BS
3de2546 Merge git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
494709e Merge branch 'BXT_HUC' of git://anongit.freedesktop.org/drm/drm-firmware
8707ef3 iwlwifi: update firmwares for 8000 series
156b549 iwlwifi: add -43.ucode for 9000 series
8a396b6 iwlwifi: update -41.ucode for 9000 series
211de16 brcm: provide new firmwares for BCM4366 chipset
813fa1f Mellanox: Add new mlxsw_spectrum firmware 13.1910.622
a330ddb Merge branch 'for-upstream' of https://github.com/crojewsk/linux-firmware
8de1d88 cavium: Update firmware for CNN55XX crypto driver
a7ea5a8 amdgpu: update vega12 fw for 18.50 release
ec4b0cd amdgpu: update vega10 fw for 18.50 release
1abe3c3 amdgpu: update raven fw for 18.50 release
6e38fef amdgpu: update polaris11 fw for 18.50 release
df89864 amdgpu: update polaris10 fw for 18.50 release
a91e850 amdgpu: add firmware for vega12
6cca138 amdgpu: Add new polaris MC firmwares
e8404a6 amdgpu: Add new polaris SMC firmwares
8aa9e3e linux-firmware: Update AMD cpu microcode
f3f6ada Merge branch 'MSCC-PHYs' of https://github.com/QSchulz/linux-firmware
4bbd950 Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware
d9fb2ee nfp: update Agilio SmartNIC flower firmware to rev AOTC-2.10.A.13
57d49d5 microchip: add firmware for VSC8574 and VSC8584 Ethernet PHYs
82f6dbf linux-firmware: intel: Update Cannonlake audio firmware.
69f153b firmware/huc/bxt: Add huC Update for BXT
5904eab nfp: update Agilio SmartNIC firmware to rev 2.1.16
e7cdec4 cxgb4: update firmware to revision 1.21.5.0
License-Update:
- LICENSE.amdgpu: Copyright year update;
- WHENCE: New firmware files additions and version updates;
(From OE-Core rev: 4e6d242eb9678430df387c0c106d305df6d2e71b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perf's jvmti support builds libperf-jvmti.so that needs to be packaged
as part of the main package, not a developer package. Given there's no
files in the developer package, override FILES_SOLIBSDEV so it's not
gobbled by FILES_${PN}-dev, and then add just that file to FILES_${PN}
so that if in the future there other files which would be added to the
dev package we'll fail then.
(From OE-Core rev: 284763fcf188a497f15a1c69a50ceeee99d546f8)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix another load of regex escape sequence warnings for newer
python versions.
(From OE-Core rev: bd2c125bb9c362b6122e99dfdf4e1cfe12c26a90)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just stating the recipe counts are different isn't helpful, showing
the differences makes it much easier to understand what changed.
(From OE-Core rev: 1d84b782e3af6f0e6922d72895c905877cc33739)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids errors when running populate_sdk under opkg:
* Problem 1/1:
* - package busybox-dev-1.30.1-r0.core2-64 requires busybox = 1.30.1-r0, but none of the providers can be installed
*
* Solution 1:
* - allow deinstallation of target-sdk-provides-dummy-1.0-r0.sdk-provides-dummy-target
* Solution 2:
* - do not ask to install a package providing busybox-dev
(From OE-Core rev: 8517cf2ac73277d606cc82b73cd4ae64c6bd0faa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For changes, see:
https://gitlab.gnome.org/GNOME/glib/blob/glib-2-58/NEWS
* Upstreamed patch removed: date-lt.patch
* Tweaked another to remove a hunk trying to find a binary from
glib-2.0-native which isn't needed anymore as the code is in python
now.
* Add locale-base-pl-pl to RDEPENDS for ptest as the fix has been
resolved and merged.
* Remove libdir INSANE_SKIP for ptest package. The only libs present
here are in libexecdir which is allowed by the check.
* Revert an upstream patch for now that had changed the behavior of
pkg-config files to use absolute paths which results in build failures.
(From OE-Core rev: cb624e18851af2e2e2bf48c46f0571bce53c25f6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gcc option '-fmacro-prefix-map' is added to DEBUG_PREFIX_MAP. It has a
patch to deal option '-fdebug-prefix-map' already. Update the patch
0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch to fix
buildpaths qa issue for '-fmacro-prefix-map' too.
(From OE-Core rev: 0851e03daebeeb7e0579baa3aa195c228652d97b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It uses gcc on build machine during go-cross-canadian bootstrap, but the
gcc version may be old and not support option '-fmacro-prefix-map' which
is one of default values of DEBUG_PREFIX_MAP.
So set default value of DEBUG_PREFIX_MAP for go-cross-canadian.
(From OE-Core rev: bd19d2b138e1a7fbfdf0b7a7dec0bc04a3aaa219)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option '-fmacro-prefix-map' to DEBUG_PREFIX_MAP. It could resolve
buildpaths qa warnings which caused by macros '__FILE__' and
'__BASE_FILE__'.
Though option '-ffile-prefix-map' could cover '-fdebug-prefix-map' and
'-fdebug-prefix-map' both, it is not supported by 'as' and causes
buildpaths qa warnings of glibc:
| QA Issue: File
| /work/i586-poky-linux/glibc/2.29-r0/packages-split/glibc-dev/usr/lib/crti.o
| in package contained reference to tmpdir
So only add '-fmacro-prefix-map' to DEBUG_PREFIX_MAP rather than replace
'-fdebug-prefix-map' with '-ffile-prefix-map'.
(From OE-Core rev: c62ac539e58b028b7508385c2c9be3561261f2e8)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It only could be set as the following in the past:
QB_MEM = "-m 256"
Now it also can be set as:
QB_MEM = "-m 256M (or m)"
QB_MEM = "256M (or m)"
[YOCTO #11522]
(From OE-Core rev: ad246f5ce0652bd917d85884176baa746e1379ff)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
In meta/conf/machine/include/qemuboot-x86.inc:
QB_CPU_x86-64 = "-cpu core2duo"
$ runqemu qemux86-64 qemuparams="-cpu coreduo"
Check /proc/cpuinfo, it should use coreduo rather than core2duo since user
specifies it, but it doesn't, append qemuparams to the last can fix the
problem.
[YOCTO #11773]
(From OE-Core rev: a847dd7202a2c493788c45d11eb86866264af7a4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow packages using llvm-config to find it using meson's dependency
interface.
(From OE-Core rev: e2e733c813e1eabaaff795a30b82e703dfeecfe7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes FAKEROOTCMD so that it can accept additional arguments to pass
to the fakeroot implementation instead of being treated as a simple
command
(Bitbake rev: 4fa51afb56b090cf1f746842acd602c9536715d5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core rev: a88bcbae850a2e6d182291d3f8e167aabdbe4842 broke the ability
to find parted as it may be in sbin which is not in PATH for some users
on some distros.
Iterate on the original patch to fix this and also fix the original problem.
(From OE-Core rev: af3803e5189d7814f9dbd238fb6dab200f351e1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes up the permissions on the license files when they are put on the
target file system so that they are readable by everyone. Previously,
they would have inherited whatever permissions the file had in the
recipe, which may not have been appropriate.
[YOCTO #13175]
(From OE-Core rev: 8190d192fceb9b0969385507d3d4bca7be75c810)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Connectivity checking is useful, so set a default value of https://example.com/.
This checks both that we have connectivity and HTTPS makes it through any
proxies.
(From OE-Core rev: 1cd9e258a4a7db98e6cb79ab13450cbb1eb94ba7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a client tool that is usually not used one the same
machine as the DNS server.
(From OE-Core rev: 3f114fb51ca315db0f7cb73b450a508a0477ab88)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There might be no bb.event.ConfigParsed event if bitbake server is running, so
check bb.event.BuildStarted too to make sure HOSTTOOLS_DIR exists.
Fixed:
$ export BB_SERVER_TIMEOUT=-1
$ bitbake quilt-native
$ rm -fr tmp
$ bitbake quilt-native
ERROR: Error running gcc --version: /bin/sh: gcc: command not found
This error is caused by enable_uninative(), it runs twice (ConfigParsed and
BuildStarted), the error would happen when there is no ConfigParsed event
(no hosttools is created), but BuildStarted. This patch can fix the problem.
[YOCTO #13022]
(From OE-Core rev: da798db0a48282e3d4f58890a7aec42c3deff0b8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of maintaining its own copy of the 'system' packages, reuse
oe.utils.packages_filter_out_system().
This stops ${PN}-src being added to the meta package, which meant anything
depending on the meta package was also pulling in the sources.
(From OE-Core rev: 32dc827dae50d818477c299d7adee9f444f6afb7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe.utils.packages_filter_out_system() returns PACKAGES after removing "system"
packages but it doesn't handle ${PN}-src as generated by
PACKAGE_DEBUG_SPLIT_STYLE=debug-with-srcpkg.
(From OE-Core rev: 162632d3d1e40c83ed9c5d49a026edf3912860a0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It shouldn't work when there are duplicated BBFILE_COLLECTIONS.
(Bitbake rev: a1f251e5ab859d6d4a2cb908408d4ddcab5a5de1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this information was simply discarded, which in some cases
resulted in generic, unhelpful failures.
With this change the user would see what the exception is, but
without ugly tracebacks or bulky, irrelevant information from the log file.
(Bitbake rev: 8da9242702fbef8cf3156b95a1076802e0f653c7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Load self.paths from environment variable and
if it fails, fall back to hardcoded list.
This is required for users that would need to load
different e2fsprogs binaries if their system's ones
are not recent enought
(From OE-Core rev: a88bcbae850a2e6d182291d3f8e167aabdbe4842)
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It looks like there is an implicit dependency on util-linux'
umount - as otherwise when using busybox' umount we see a
long delay on shutdown / reboot.
[YOCTO #13058]
(From OE-Core rev: 39a3d2c603429865af632fe41b2cf32c3dfdfb1d)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when building with opkg backend and huge packages e.g. chromium/llvm all
going in parallel, memory pressure causes xz to catapult with
do_package_write_ipk: Failed to create package, opkg-build failed with: xz: (stdin): Cannot allocate memory
since there are many tasks going on in parallel, xz adds to memory pressure
and it wants it all, put an upper limit for memory xz can use
We add a variable XZ_MAXRAM with 30% of RAM limit and can be customized
if builders have more memory one can set it like
XZ_DEFAULTS = "-M 0 -T 0"
(From OE-Core rev: 28b277a93a34bba033d9d0d9f3227c9453efd384)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All patches have been rebased on top of the 3.13.4 release.
I successfully built all CMake recipes in oe-core and meta-oe.
(From OE-Core rev: f40a5da14ec688f751d6394ce9a997578904fd8d)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Cc: Otavio Salvador <otavio.salvador@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest LxQt requires recent version of menu-cache.
(From OE-Core rev: d52d1d92618bfda6f4206eb81e6d81c431d45227)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python subprocess' shell=True defaults to /bin/sh[1][2], which
often refers to a POSIX-compliant shell. As the -e flag is
not defined in the POSIX standard[3], some shells may
interpret "-e" as the first argument to the echo command,
causing the rest of the command line to fail.
In this particular case, "echo -e 'cd {}'" is interpreted
as "-e cd {}", which causes the first line of the command
to fail, and causing cp to always place the source file
in the filesystem's root.
Replacing "echo -e" for a printf command makes this
more portable.
This issue only affects "wic cp" for ext* filesystems.
[1] https://docs.python.org/2/library/subprocess.html
[2] https://docs.python.org/3/library/subprocess.html
[3] http://pubs.opengroup.org/onlinepubs/9699919799
(From OE-Core rev: 9a5b703d4e60c3ccdf80b5289b8e6fc91133fcde)
Signed-off-by: Leonardo Augusto <leobsd@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename add_layer() to add_layers() so that add_layer_dependencies() can
re-use it.
* Avoid adding the layer if it is already present
[YOCTO #13148]
(From OE-Core rev: b9cc18d83f55ff48c3d6e60c56359f6736d5a06a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We only could run it in top of oe-core dir since it assumed oe-init-build-env
was in cwd, this patch fixes the problem.
[YOCTO #13148]
(From OE-Core rev: 47d7b5fcad127171243cc95c586c2c7f35cfac3b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libgfortran did not have the GCC exception in the same manner as
libgcc had.
Change-Id: If48ab6e6775da235c8fdd0ca4e835acf1e831252
(From OE-Core rev: 0b4a4b37260e719ae12fb9a8e6556759422bfc92)
Signed-off-by: Santhosh Nadig <santhosn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of calling 'ar' and 'ranlib' directly, set AR=gcc-ar and
RANLIB=gcc-ranlib. This fixes builds with link-time optimisation where more
arguments would need to be passed to ranlib but gcc-ranlib will do that
automatically.
(From OE-Core rev: d9f37a25adba8d6638abbe7bc0503b09f696c2fc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
(Bitbake rev: 3bba0dbd524cf72176a765957adff544ae5c255a)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No indentation was being used for the example.
(From yocto-docs rev: e5d13181546d19772fede972b20518103d897eaa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new default is "debug-with-srcpkg"
(From yocto-docs rev: b427e7c2d9f6efca7e0867cc8e508d4e941c5a09)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is now in the default HOSTTOOLS so can be removed from here.
(From meta-yocto rev: 74bd707f129975a74c3b99a6744681da96f39f75)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are very old, unmaintained, and there are better benchmarking
systems available now.
(From meta-yocto rev: 48b446fe7ee6601e8927a2f6663c98e6c42e9064)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding both the required toolchain options (libgcc) and baseline
BSP definitions for arc support.
Author: Alexey Brodkin <alexey.brodkin@synopsys.com>
Date: Fri Feb 8 18:32:21 2019 +0300
linux-yocto: Add dependency on libgcc for ARC
As of now in case of ARC there's no in-kernel implementation of basic libgcc
functions used for millicode, multiplication, division etc instead we simply
link with libgcc.a which provides everything used by the compiler.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Author: Alexey Brodkin <alexey.brodkin@synopsys.com>
Date: Fri Feb 8 17:29:40 2019 +0300
ARC: Add nsimhs- and hsdk-standard configs
With ARC support ramping-up in upstream OE we're ready to
build more complicated distributions and linux-yocto is
a nice and configurable base for that.
This commit adds support of 1 simulated board (nSIM) and
the mast affordable and powerful to date development board (HSDK).
Once Qemu port for ARC is functional (it's being actively developed now)
we'll switch from nSIM to Qemu.
Still it would be really good to keep nSIM support in linux-yocto for now
as it allows for simpler testing as compared to real HW.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: 430bd28093fb743ba3bd032e11e40b4dd8e5bd1f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of now in case of ARC there's no in-kernel implementation of basic libgcc
functions used for millicode, multiplication, division etc instead we simply
link with libgcc.a which provides everything used by the compiler.
(From OE-Core rev: 4f582a1123be0cc56abab324c5eb16ad03906857)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
boot/main: don't check console device file on fs when booting with
initrd/initramfs
In case of initrd/initramfs /dev/console might not exist that early
as devtmpfs is mounted a bit later by /init process so disable this
check in that case.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: b5bd54b1640c1e59960c260dd6521ba2500df204)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rubygems 2.7.6 which is in ruby 2.5.3 has this fix and as currently
applied all gem extraction fails as the realpath check is done against
the full path including the file to be extracted which will always fail
as the file hasnt been extracted yet
(From OE-Core rev: 479620023aa0af9467ca1d2807cf7bedd73327f6)
Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop upstreamed patch to enable/disable tests
- Forward port rest of patches to new version
(From OE-Core rev: 0471307da8d1e0df27df115c47d05e7b64dea080)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are very old, unmaintained, and there are far better tools to
exercise video codepaths now.
(From OE-Core rev: 210506e79f1f251347981c11722f5a16c708d480)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes it is useful to have a base64 representation of an image.
(From OE-Core rev: 9d00b146c4125b195fac5a0743fe7d8e59edef7f)
Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use ${PN} instead of util-linux
* use PACKAGESPLITFUNCS for creating util-linux-lib* packages
rather than an _append OVERRIDE
* sort ALTERNATIVE_LINK_NAME alphabetically
* use systemd_system_unitdir instead of open-coding
* inherit manpages so as to benefit from man-db processing (note
that manpages are not generated here, we just want the
automatic update of the package index caches
* use EXTRA_OEMAKE instead of duplicating command line arguments
[YOCTO #13058]
(From OE-Core rev: 6b71a118debb841b7507fc7830712197480a8661)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptest executes all the binaries, so they really need to be available
in the file system.
[YOCTO #13058]
(From OE-Core rev: 66637b33a8a153d8c1f509e9493bc4bee953f6cb)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should probably be there and now the main package is a real
meta-package only.
[YOCTO #13058]
(From OE-Core rev: e38c06db5be8c15c0764e3450d3ef9e43911bf8c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The util-linux meta-package now simply RRECOMMENDS all
subpackages created. There is no distinction between what
it previously recommended or depended on for existing
packages.
This is to streamline the dependencies and to make things
less surprising.
It also stops the -dev package from depending on non-existing
packages like util-linux-losetup-dev etc.
[YOCTO #13058]
(From OE-Core rev: d0d6cc9ee59ed7a017e1b31404603a135a8717e8)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the previous patch.
Existing packages (and current dependency by main package):
* ionice <- RRECOMMENDS
* lsblk <- RDEPENDS
* lscpu
* mcookie
* prlimit <- RRECOMMENDS
* unshare
* uuidgen
New packages:
* too many to list
To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.
The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Nevertheless, all existing packages have been added to
RRECOMMENDS this time, even if they weren't in RDEPENDS /
RRECOMMENDS before.
Unfortunately, we need to add explicit ALTERNATIVE_LINK_NAME[]
for a few cases, as previously they were implied using
defaults by being specified in ALTERNATIVE_${PN}. We can't
easily automate that using do_split_packages(), so we
simply add them explicitly.
[YOCTO #13058]
(From OE-Core rev: 7b66185c447453640f26e2563e85b6422a3e6118)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the previous patch.
Existing packages (and current dependency by main package):
* blkdiscard <- RRECOMMENDS
* findfs
* fsck.cramfs
* mkfs <- RRECOMMENDS
* mkfs.cramfs
* partx
* readprofile <- RRECOMMENDS
* rfkill
* runuser <- RDEPENDS
* sfdisk <- RRECOMMENDS
* uuidd
New packages:
* too many to list
To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.
The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Nevertheless, all existing packages have been added to
RRECOMMENDS this time, even if they weren't in RDEPENDS /
RRECOMMENDS before.
[YOCTO #13058]
(From OE-Core rev: 19f63aa911ff9d8bea62102c3f3f54cf6dccd6d8)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the previous patch.
Existing packages (and current dependency by main package):
* mount <- RRECOMMENDS
* umount <- RDEPENDS
* mountpoint <- RRECOMMENDS
* getopt
* su <- RDEPENDS
New packages:
* dmesg
* kill
* more
To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.
The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Existing packages that aren't in RDEPENDS / RRECOMMENDS
haven't been added to RRECOMMENDS for that reason.
[YOCTO #13058]
(From OE-Core rev: aea97fe48de5e983b938718d861dceb9f0084339)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the binaries have symlinks. Add them to the
package owning the binary they are pointing to.
(From OE-Core rev: fc709be54fee06801446774ff1a434294c2eda9b)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have required infrastructure in place, we
can start creating one package per binary.
To make this process easier to follow, this is done
in steps, starting with binaries from base_sbindir.
Existing packages (and current dependency by main package):
* agetty
* blkid
* cfdisk <- RRECOMMENDS
* fdisk <- RRECOMMENDS
* fsck
* fstrim
* losetup <- RDEPENDS
* hwclock
* sulogin <- RDEPENDS
* swaponoff <- RDEPENDS
* switch-root <- RRECOMMENDS
New packages:
* blockdev
* ctrlaltdel
* mkswap
* nologin
* pivot-root
* swapon
* swapoff
swaponoff is empty now and simply depends on swapon swapoff
To avoid breaking existing users, all the new packages
are added to the main package as RRECOMMENDS_${PN}, so
they are pulled into existing images etc.
The existing RDEPENDS_${PN} will need some further
clean-up in the future, as it appears a bit random which
packages the main package depends on vs. recommends.
Existing packages that aren't in RDEPENDS / RRECOMMENDS
haven't been added to RRECOMMENDS for that reason.
[YOCTO #13058]
(From OE-Core rev: 97554a56f7d9fa82294b1316f143de3f37506fc7)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
util-linux is configured with --libdir=${base_libdir} for -target builds,
but with the default --libdir=${libdir} for all other builds. Furthermore,
dynamic util-linux-lib* packages are unconditionally being generated from
${base_libdir}, which is the right location for -target builds, only.
IOW, in the nativesdk case, util-linux-lib* packages are empty, and all
the shared libraries implicitly become part of the main package again.
While this surely wasn't intended, this also is going to cause problems as
upcoming changes are explicitly making util-linux an empty meta-package,
which then is going to cause packaging failures.
While fixing this, clean up the existing use of EXTRA_OECONF as it is a
bit confusing, hard to follow, and needlessly duplicates information:
target: ${SHARED_EXTRA_OECONF} --libdir=${base_libdir}
native/nativesdk: ${SHARED_EXTRA_OECONF} --disable-use-tty-group
where ${SHARED_EXTRA_OECONF} already contains --disable-use-tty-group.
This can be simplified by completely dropping the duplicated EXTRA_OECONF
assignments and simply using a new variable UTIL_LINUX_LIBDIR with a
_class-target override.
Additionally, this allows to easily fix packaging of the util-linux-lib*
packages, as we can now simply inspect UTIL_LINUX_LIBDIR where and as
needed to get to the right directories.
Lastly, all this can be moved from the .bb file into the .inc file as none
of that appears to actually be version specific, and we can sort the
configure options alphabetically for clarity.
[YOCTO #13058]
(From OE-Core rev: e2a6b316651412054af1dbddfb25ab980249f85d)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The packages get an automatic RDEPENDS via shlibs, no
need to explicitly state it, so we can drop those
useless explicit assignments.
su is moved into ${base_bindir} in do_install(), so
because of a mismatched FILES specification su is
actually packaged into the main package at the moment,
not into the -su package as likely originally intended.
runuser needs the pam configuration files, so they should
be in the -runuser package, not in the main package.
While fixing this, we can simplify the update alternatives
processing for su.
[YOCTO #13058]
(From OE-Core rev: d8f4ffdc6db5484de97186586a7f39da32205c7b)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just using a wildcard leaves the reader wondering
what is meant here.
By being explicit we can describe exactly what is
intended, i.e. the file name as resulting from
the ALTERNATIVE and ALTERNATIVE_LINK_NAME mechanism.
(From OE-Core rev: 1892acab58884aa3b94b49da2854299a6db22af7)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Busybox' getty has code to try to make itself a session leader,
whereas util-linux' agetty doesn't. It expects this to happen
from outside.
When getty is not a session leader, many things don't work on
the serial console, e.g. setting the terminal process group,
job control doesn't work, etc.
Executing image tests also fails with AssertionErrors, because
Feb 5 16:12:55 qemuarm getty[590]: /dev/ttyAMA1: cannot get controlling tty: Operation not permitted
Feb 5 16:12:55 qemuarm getty[590]: /dev/ttyAMA1: cannot set process group: Inappropriate ioctl for device
Update the start_getty script to invoke getty via the setsid
utility if needed, i.e. if /sbin/getty is not busybox getty.
[YOCTO #13058]
(From OE-Core rev: 37be77565d323fc543427ad47399996119f59ab1)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integers were being compared to strings leading to missing buildstats comparision
data. Fix this.
(From OE-Core rev: 2dbbf598192ae2b3aa488df042f56aa6c6634a00)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When comparing branches, correctly filter the revisions corresponding
to the specific branch specified.
Also use the commit numbers as a way to gauge spatially related commits
for comparision meaning comparisions for out of order build revisions
becomes meaninful.
This should improve the reporting for autobuilder generated builds.
Also improve the branch option help text.
(From OE-Core rev: 9f6f4ab6eec9dca07af7f53da5f737a6167bfb38)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some ARM Cortex devices have the VFPv4-D16, but no NEON.
(From OE-Core rev: 594f8584268d5179c18512beada2bae4a21325de)
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code won't currently allow comparisions of two commits on different
branches even if the commits are specified by their hashes.
This updates the code to search two branches for any relavent commits,
hence allowing comparisions to be made. A particularly useful case is
master vs. master-next for example.
(From OE-Core rev: 2d835bb1570c515ae501442f3ce19fae8e249b27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the branch to be set without the hostname option. Previously
if hostname wasn't set, branch would be overwritten regardless of
whether it was set or not.
(From OE-Core rev: 3ec43bf4c6c8f7730a67f63ad4e14903f289014e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been a constant source of trouble for build failures due to host-user-contaminated QA
errors of sort
ERROR: QA Issue: glibc-locale: /glibc-binary-localedata-ca-es+valencia/usr/lib/locale/ca_ES@valencia/LC_MONETARY is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
So far we have tried to mould cp command into not carrying the build
user permissions into install area but it is never entirely fixed since
the issue keeps popping up in various scenes
This patch replaces use of cp with install utility and specifies install
mode for files explcitly
(From OE-Core rev: 92fdb64ac9689b9cac8a1229b1928b50338969be)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I goofed up the scissor line on the last attempt. Not sure how much it matters,
but here it is correct this time.
Here it is, updated to work with wpa-supplicant_2.6.bb.
-- >8 --
https://www.freedesktop.org/software/systemd/man/systemd.unit.html#WantedBy=
When building root filesystems with any of the wpa_supplicant systemd
template service files enabled (current default is to have them disabled) the
systemd-native-fake script would not process the line:
Alias=multi-user.target.wants/wpa_supplicant@%i.service
appropriately due the the use of "%i."
According to the systemd documentation "WantedBy=foo.service in a service
bar.service is mostly equivalent to Alias=foo.service.wants/bar.service in
the same file." However, this is not really the intended purpose of install
Aliases.
All lines of the form:
Alias=multi-user.target.wants/*%i.service
Were replaced with the following lines:
WantedBy=multi-user.target
(From OE-Core rev: 85f82e94849f1c1b5e150c2e38c03eae19a2b370)
Signed-off-by: Joshua DeWeese <jdeweese@hennypenny.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will leaving LGE, this address will no longer be valid,
so swap it for my person one for now.
(From OE-Core rev: 06ffe905aa8a707cc4845e012ca555eeed5c0e50)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, BAD_RECOMMENDATIONS on the opkg backed relies on editing the
opkg status file (it sets BAD_RECOMMENDATIONS pkg want state to
deinstalled and pinned). This is brittle, and not consistent across the
different solver backends. Use new --add-ignore-recommends flag instead.
(From OE-Core rev: 0d11e813ba9b4e8de9e6e5099ff85f5d914243bc)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Opkg --add-ignore-recommends use the flag SOLVER_DISFAVOR. If a package
is set to be ignored as a recommendee, but there are not other
recommends on the package graph, libsolv segfaults.
(From OE-Core rev: d3ee06845e18ecf94770ff0970c2a0d6631ed214)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After adding #pragma once to wrapper header ( opensslconf.h ) this
latent issue got to bite us, where it expect bn.h to be including
openssl.h to define BN_* defines, which is fragile. This patch removes
the contraints for nested includes for bn.h
(From OE-Core rev: f787b0bb9b0626ddbf2ac94cb206c76716a3773d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I took the same approach as the recent perl upgrade: write recipe from scratch,
taking the pieces from the old recipe only when they were proven to be necessary.
The pgo, manifest and ptest features are all preserved.
New features:
- native and target recipes are now unified into one recipe
- check_build_completeness.py runs right after do_compile() and verifies that
all optional modules have been built (a notorious source of regressions)
- a new approach to sysconfig.py and distutils/sysconfig.py returning values
appropriate for native or target builds: we copy the configuration file to a
separate folder, add that folder to sys.path (through environment variable
that differs between native and target builds), and point python to the file
through another environment variable.
There were a few other patches where it was difficult to decide if the patch
is still relevant, and how to test that it works correctly; please add those
as-needed by testing the new python.
(From OE-Core rev: 02714c105426b0d687620913c1a7401b386428b6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating my email address to match where I'll be doing my maintainer
activities.
(From OE-Core rev: 59986a8c678cc7b5eb840323986bdc3513f76b55)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
dffbba4348e9 Linux 4.19.19
3a3b6a6b15db Input: input_event - fix the CONFIG_SPARC64 mixup
d4a6ac28d44a ide: fix a typo in the settings proc file name
25ad17d692ad usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup
6bab957396ce Revert "mm, memory_hotplug: initialize struct pages for the full memory section"
7dbf12973d53 nvmet-rdma: fix null dereference under heavy load
fa9184be67a6 nvmet-rdma: Add unlikely for response allocated check
48046a0177e6 s390/smp: Fix calling smp_call_ipl_cpu() from ipl CPU
37c9e3ee4239 bpf: fix inner map masking to prevent oob under speculation
eed84f94ff8d bpf: fix sanitation of alu op with pointer / scalar type from different paths
f92a819b4cbe bpf: prevent out of bounds speculation on pointer arithmetic
4f7f708d0e6c bpf: fix check_map_access smin_value test when pointer contains offset
44f8fc649980 bpf: restrict unknown scalars of mixed signed bounds for unprivileged
5332dda94f63 bpf: restrict stack pointer arithmetic for unprivileged
9e57b2969d4a bpf: restrict map value pointer arithmetic for unprivileged
232ac70dd38b bpf: enable access to ax register also from verifier rewrite
b855e3103740 bpf: move tmp variable into ax register in interpreter
333a31c89ae2 bpf: move {prev_,}insn_idx into verifier env
437112946263 bpf: add per-insn complexity limit
7da6cd690c43 bpf: improve verifier branch analysis
ce8d0581ae33 drm/meson: Fix atomic mode switching regression
8b4dffe8261a vt: invoke notifier on screen size change
18ef43def81c vt: always call notifier with the console lock held
855f7e64169f vt: make vt_console_print() compatible with the unicode screen buffer
6f4f2a443d87 can: flexcan: fix NULL pointer exception during bringup
576f474fb2d3 can: bcm: check timer values before ktime conversion
8d85aa96c54b can: dev: __can_get_echo_skb(): fix bogous check for non-existing skb by removing it
bdcf74e735b1 irqchip/gic-v3-its: Align PCI Multi-MSI allocation on their size
6f4db68ab5ce net: sun: cassini: Cleanup license conflict
21c0d1621b8d posix-cpu-timers: Unbreak timer rearming
dd085f9b1dc1 x86/entry/64/compat: Fix stack switching for XEN PV
ed334be9c2ed x86/kaslr: Fix incorrect i8254 outb() parameters
334c0e1b3cdd x86/selftests/pkeys: Fork() to check for state being preserved
db01b8d40feb x86/pkeys: Properly copy pkey state at fork()
f9203cd03125 KVM/nVMX: Do not validate that posted_intr_desc_addr is page aligned
d58f5e638b18 kvm: x86/vmx: Use kzalloc for cached_vmcs12
bbb8c5c75f6e KVM: x86: WARN_ONCE if sending a PV IPI returns a fatal error
b2598858ac21 KVM: x86: Fix PV IPIs for 32-bit KVM host
6d3dabbdf46e KVM: x86: Fix single-step debugging
c1bfae340367 drm/amdgpu: Add APTX quirk for Lenovo laptop
b911f1dcb60d dm crypt: fix parsing of extended IV arguments
5b779f841773 dm thin: fix passdown_double_checking_shared_status()
eba68bd45672 scsi: ufs: Use explicit access size in ufshcd_dump_regs
b18931c5fe0d acpi/nfit: Fix command-supported detection
3cb00cfa3d37 acpi/nfit: Block function zero DSMs
92fbac528fd0 Input: uinput - fix undefined behavior in uinput_validate_absinfo()
71b1af87749b Input: input_event - provide override for sparc64
865a07956db5 Input: xpad - add support for SteelSeries Stratus Duo
06d9f987201f smb3: add credits we receive from oplock/break PDUs
779c65bb7739 CIFS: Do not reconnect TCP session in add_credits()
2ae6fedbd5cb CIFS: Fix credit calculation for encrypted reads with errors
0380ed9b1cd3 CIFS: Fix credits calculations for reads with errors
07b9e5e35e8f CIFS: Fix possible hang during async MTU reads and writes
f4abbb16ed9a vgacon: unconfuse vc_origin when using soft scrollback
a912e16faeda Drivers: hv: vmbus: Check for ring when getting debug info
bfe482b9b299 hv_balloon: avoid touching uninitialized struct page during tail onlining
71d1a74f36a7 tty/n_hdlc: fix __might_sleep warning
6d15ef2c912a uart: Fix crash in uart_write and uart_put_char
80250b48803a tty: Handle problem if line discipline does not have receive_buf
3209eeded863 staging: rtl8188eu: Add device code for D-Link DWA-121 rev B1
75a08b9a0fcb mmc: meson-gx: Free irq in release() callback
4a559dfe6603 mmc: dw_mmc-bluefield: : Fix the license information
d3faea2d152e char/mwave: fix potential Spectre v1 vulnerability
0479bdbf55d8 misc: ibmvsm: Fix potential NULL pointer dereference
049c7b068dd1 s390/smp: fix CPU hotplug deadlock with CPU rescan
e0d573a08f23 s390/early: improve machine detection
b563764443a3 s390/mm: always force a load of the primary ASCE on context switch
8cbca17381ac ARC: perf: map generic branches to correct hardware condition
2f0d2f3ace1f ARC: adjust memblock_reserve of kernel memory
7bb78e62f712 ARCv2: lib: memeset: fix doing prefetchw outside of buffer
cf662d989425 ALSA: hda - Add mute LED support for HP ProBook 470 G5
2173f5a1b0d7 ALSA: hda/realtek - Fix typo for ALC225 model
a719cbe07847 inotify: Fix fd refcount leak in inotify_add_watch().
afb4a7ca7818 clk: socfpga: stratix10: fix naming convention for the fixed-clocks
cf8ea8d536a4 clk: socfpga: stratix10: fix rate calculation for pll clocks
0af64fda917d ASoC: tlv320aic32x4: Kernel OOPS while entering DAPM standby mode
4fedd516d554 ASoC: rt5514-spi: Fix potential NULL pointer dereference
d6847f539bd6 ASoC: atom: fix a missing check of snd_pcm_lib_malloc_pages
3e05ceedf143 ceph: clear inode pointer when snap realm gets dropped by its inode
8e7320b9f551 USB: serial: pl2303: add new PID to support PL2303TB
4d984aab54a6 USB: serial: simple: add Motorola Tetra TPG2200 device id
a70e5cd09361 USB: leds: fix regression in usbport led trigger
f8982204cbea mei: me: add denverton innovation engine device IDs
adfda26bdf47 mei: me: mark LBG devices as having dma support
2cade15d58ca tcp: allow MSG_ZEROCOPY transmission also in CLOSE_WAIT state
6c4d069aec0f ip6_gre: update version related info when changing link
c9fe9d194d45 net: phy: marvell: Fix deadlock from wrong locking
552cd931b483 erspan: build the header with the right proto according to erspan_ver
0449da6fc203 ip6_gre: fix tunnel list corruption for x-netns
e3fa624ee7af udp: with udp_segment release on error path
84bf74307c88 net/sched: cls_flower: allocate mask dynamically in fl_change()
bdafc159ac8c mlxsw: pci: Ring CQ's doorbell before RDQ's
c82f4684d330 mlxsw: spectrum_fid: Update dummy FID index
adbf7e580994 net: ipv4: Fix memory leak in network namespace dismantle
bc4e2300e44a mlxsw: pci: Increase PCI SW reset timeout
1688e75cae7d vhost: log dirty page correctly
3d997bf0074e openvswitch: Avoid OOB read when parsing flow nlattrs
916c27c8cf88 net_sched: refetch skb protocol for each filter
02239e797ac7 net/sched: act_tunnel_key: fix memory leak in case of action replace
3e4cd0677715 net: phy: mdio_bus: add missing device_del() in mdiobus_register() error handling
1a864e38b39e net: phy: marvell: Errata for mv88e6390 internal PHYs
40f2f08030fa net: Fix usage of pskb_trim_rcsum
e287968a3837 net: bridge: Fix ethernet header pointer before check skb forwardable
779a5077d9cf amd-xgbe: Fix mdio access for non-zero ports and clause 45 PHYs
34ae65724615 Linux 4.19.18
b40aec33eeb5 ipmi: Don't initialize anything in the core until something uses it
031a94ff8ac4 ipmi:ssif: Fix handling of multi-part return messages
821a003d8e81 ipmi: Prevent use-after-free in deliver_response
753abe2a6339 ipmi: msghandler: Fix potential Spectre v1 vulnerabilities
1c393ca118cf ipmi: fix use-after-free of user->release_barrier.rda
7557895b3dda Bluetooth: Fix unnecessary error message for HCI request completion
d9bcbcb7d77c iwlwifi: mvm: Send LQ command as async when necessary
0d73e773edc9 mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps
2011eb741803 userfaultfd: clear flag if remap event not enabled
b0cd52e644ef mm/swap: use nr_node_ids for avail_lists in swap_info_struct
dc15e3fd3fbe mm/page-writeback.c: don't break integrity writeback on ->writepage() error
5a404f39f8fa ocfs2: fix panic due to unrecovered local alloc
c9dcb871b1a9 iomap: don't search past page end in iomap_is_partially_uptodate
00886cebcce5 scsi: megaraid: fix out-of-bound array accesses
d640fb10cab4 scsi: smartpqi: call pqi_free_interrupts() in pqi_shutdown()
dd619b90dd71 ath10k: fix peer stats null pointer dereference
ca8ad9bcbebd scsi: smartpqi: correct lun reset issues
868152e4ca97 scsi: mpt3sas: fix memory ordering on 64bit writes
6fa75685aa3a IB/usnic: Fix potential deadlock
a13daf038b49 sysfs: Disable lockdep for driver bind/unbind files
959bf5c190ea ALSA: bebob: fix model-id of unit for Apogee Ensemble
c5e68453be0c Bluetooth: btusb: Add support for Intel bluetooth device 8087:0029
887b1c9a7d17 dm: Check for device sector overflow if CONFIG_LBDAF is not set
decca9bc2116 clocksource/drivers/integrator-ap: Add missing of_node_put()
876b79b973f2 quota: Lock s_umount in exclusive mode for Q_XQUOTA{ON,OFF} quotactls.
77f14a495530 perf tools: Add missing open_memstream() prototype for systems lacking it
e2a1f8d695c2 perf tools: Add missing sigqueue() prototype for systems lacking it
4bc4b575131f perf cs-etm: Correct packets swapping in cs_etm__flush()
9e5be33b1061 dm snapshot: Fix excessive memory usage and workqueue stalls
d9513fdbeb62 tools lib subcmd: Don't add the kernel sources to the include path
8603cac28a78 perf stat: Avoid segfaults caused by negated options
cbd257f3bbc9 dm kcopyd: Fix bug causing workqueue stalls
4e26ee3149e4 dm crypt: use u64 instead of sector_t to store iv_offset
a4772e8b3e60 x86/topology: Use total_cpus for max logical packages calculation
9d51378a6893 netfilter: ipt_CLUSTERIP: fix deadlock in netns exit routine
bb7b6c49cc34 netfilter: ipt_CLUSTERIP: remove wrong WARN_ON_ONCE in netns exit routine
744383c88e2e netfilter: ipt_CLUSTERIP: check MAC address when duplicate config is set
bd1040e646d6 perf vendor events intel: Fix Load_Miss_Real_Latency on SKL/SKX
58c67a0b06a7 perf parse-events: Fix unchecked usage of strncpy()
b332b4cd25e7 perf svghelper: Fix unchecked usage of strncpy()
f54fc4c23eea perf tests ARM: Disable breakpoint tests 32-bit
c3e8c335e788 perf intel-pt: Fix error with config term "pt=0"
f74fc96e32ab tty/serial: do not free trasnmit buffer page under port lock
310f8296d630 btrfs: improve error handling of btrfs_add_link
38b17eee7074 btrfs: fix use-after-free due to race between replace start and cancel
720b86a53a10 btrfs: alloc_chunk: fix more DUP stripe size handling
bb5717a4a165 btrfs: volumes: Make sure there is no overlap of dev extents at mount time
c21991ed17e9 mmc: atmel-mci: do not assume idle after atmci_request_end
461991104dcb kconfig: fix memory leak when EOF is encountered in quotation
ba8efcdc5779 kconfig: fix file name and line number of warn_ignored_character()
344b51e7ce13 bpf: relax verifier restriction on BPF_MOV | BPF_ALU
dfbf8c981f83 arm64: Fix minor issues with the dcache_by_line_op macro
73f0b2e36e40 clk: imx6q: reset exclusive gates on init
8f183b332398 arm64: kasan: Increase stack size for KASAN_EXTRA
656257cf1cbd selftests: do not macro-expand failed assertion expressions
3ad8148ce042 scsi: target/core: Make sure that target_wait_for_sess_cmds() waits long enough
25d3546acd60 scsi: target: use consistent left-aligned ASCII INQUIRY data
50deccdceb59 net: call sk_dst_reset when set SO_DONTROUTE
fd4c7fe100fc staging: erofs: fix use-after-free of on-stack `z_erofs_vle_unzip_io'
38be2cbae300 media: venus: core: Set dma maximum segment size
9df6861a35d1 ASoC: use dma_ops of parent device for acp_audio_dma
597a09e0ce2c media: firewire: Fix app_info parameter type in avc_ca{,_app}_info
3049cdc28409 powerpc/pseries/cpuidle: Fix preempt warning
115a0d668793 powerpc/xmon: Fix invocation inside lock region
819e2e0760f3 media: uvcvideo: Refactor teardown of uvc on USB disconnect
265242d82a3c pstore/ram: Do not treat empty buffers as valid
ed99d79a158c clk: imx: make mux parent strings const
c356972f27cc jffs2: Fix use of uninitialized delayed_work, lockdep breakage
50063ba9dd51 efi/libstub: Disable some warnings for x86{,_64}
fded1b0e0c89 rxe: IB_WR_REG_MR does not capture MR's iova field
e34e54f925e2 drm/amdgpu: Reorder uvd ring init before uvd resume
4614fe394c55 scsi: qedi: Check for session online before getting iSCSI TLV data.
22e568af3989 ASoC: pcm3168a: Don't disable pcm3168a when CONFIG_PM defined
34ea589d97d7 selinux: always allow mounting submounts
e4c04fd44157 fpga: altera-cvp: fix probing for multiple FPGAs on the bus
7cae65dbc7b4 usb: gadget: udc: renesas_usb3: add a safety connection way for forced_b_device
7187ac3e3c4d samples: bpf: fix: error handling regarding kprobe_events
5e1be9c72310 clk: meson: meson8b: fix incorrect divider mapping in cpu_scale_table
6ebffc54843b drm/atomic-helper: Complete fake_commit->flip_done potentially earlier
6f88ff119205 arm64: perf: set suppress_bind_attrs flag to true
dbb97f7663c0 crypto: ecc - regularize scalar for scalar multiplication
6e5be6e3f56a MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
1d839c72fc13 x86/mce: Fix -Wmissing-prototypes warnings
3945c33a608e ALSA: oxfw: add support for APOGEE duet FireWire
464b01e4406e bpf: Allow narrow loads with offset > 0
4c7c36a7f348 serial: set suppress_bind_attrs flag only if builtin
e7a5f0073533 writeback: don't decrement wb->refcnt if !wb->bdi
b6d75422462a of: overlay: add missing of_node_put() after add new node to changeset
d216d503a0b2 selftests/bpf: enable (uncomment) all tests in test_libbpf.sh
579f3fc1f46f usb: typec: tcpm: Do not disconnect link for self powered devices
88f3beae5836 e1000e: allow non-monotonic SYSTIM readings
e5090418fbb0 platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey
3dc1bc575e75 ixgbe: allow IPsec Tx offload in VEPA mode
bd240b1182da drm/amdkfd: fix interrupt spin lock
07f4cf9547d9 drm/amd/display: Guard against null stream_state in set_crc_source
414dbd6c00b9 gpio: pl061: Move irq_chip definition inside struct pl061
ad7013cd6d6a netfilter: ipset: Allow matching on destination MAC address for mac and ipmac sets
183144815e34 net: clear skb->tstamp in bridge forwarding path
c1fa98a5748f ipv6: Take rcu_read_lock in __inet6_bind for mapped addresses
19ad57e220a1 r8169: Add support for new Realtek Ethernet
8bb38336b721 qmi_wwan: add MTU default to qmap network interface
598e57e02929 net, skbuff: do not prefer skb allocation fails early
e10411389248 net: dsa: mv88x6xxx: mv88e6390 errata
07348a7ebb58 mlxsw: spectrum_switchdev: Set PVID correctly during VLAN deletion
cac1bffc77e9 mlxsw: spectrum: Disable lag port TX before removing it
9b25d7b69d61 ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address
23b6b8bf9011 Linux 4.19.17
9a9c3c02eace nbd: Use set_blocksize() to set device blocksize
685cc9c3ee48 media: vb2: be sure to unlock mutex on errors
7696248f9b5a selftests: Fix test errors related to lib.mk khdr target
241e514850a1 drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock
8868a72d4201 loop: drop caches if offset or block_size are changed
30805ece5068 loop: Fix double mutex_unlock(&loop_ctl_mutex) in loop_control_ioctl()
b42e24aa3b88 loop: Get rid of 'nested' acquisition of loop_ctl_mutex
5c684c250bf3 loop: Avoid circular locking dependency between loop_ctl_mutex and bd_mutex
5f0db37d916b loop: Fix deadlock when calling blkdev_reread_part()
6e0d69353095 loop: Move loop_reread_partitions() out of loop_ctl_mutex
ed281a7230c9 loop: Move special partition reread handling in loop_clr_fd()
dc717408cef0 loop: Push loop_ctl_mutex down to loop_change_fd()
9218b108062e loop: Push loop_ctl_mutex down to loop_set_fd()
90386ad72fcf loop: Push loop_ctl_mutex down to loop_set_status()
8de64127b2aa loop: Push loop_ctl_mutex down to loop_get_status()
ed87dc660171 loop: Push loop_ctl_mutex down into loop_clr_fd()
18974320825e loop: Split setting of lo_state from loop_clr_fd
b8463897a294 loop: Push lo_ctl_mutex down into individual ioctls
ea5df5077091 loop: Get rid of loop_index_mutex
38d9cce3d61f loop: Fold __loop_release into loop_release
342b3360aeb1 block/loop: Use global lock for ioctl() operation.
f5d3c785c1d3 block/loop: Don't grab "struct file" for vfs_getattr() operation.
21172412a727 tipc: fix uninit-value in tipc_nl_compat_doit
2d5fc1d492d1 tipc: fix uninit-value in tipc_nl_compat_name_table_dump
04d87429738a tipc: fix uninit-value in tipc_nl_compat_link_set
7960fb71aad9 tipc: fix uninit-value in tipc_nl_compat_bearer_enable
1d61caf05721 tipc: fix uninit-value in tipc_nl_compat_link_reset_stats
927733365214 tipc: fix uninit-value in in tipc_conn_rcv_sub
7f902f7c146c sctp: allocate sctp_sockaddr_entry with kzalloc
1e11b1d630f8 blockdev: Fix livelocks on loop device
5a79e71e0bc8 selinux: fix GPF on invalid policy
4cc66cc4f81f block: use rcu_work instead of call_rcu to avoid sleep in softirq
2663bcba075f netfilter: ebtables: account ebt_table_info to kmemcg
61b29bed9010 sunrpc: handle ENOMEM in rpcb_getport_async
c4f39cba6fd0 media: vb2: vb2_mmap: move lock up
a19aedf1a77c LSM: Check for NULL cred-security on free
a72e572f8a2d ipv6: make icmp6_send() robust against null skb->dev
341906cb25f9 bpf: in __bpf_redirect_no_mac pull mac only if present
d9c249a302cb media: vivid: set min width/height to a value > 0
4497ce43a5d0 media: vivid: fix error handling of kthread_run
4190c5fd8a7f omap2fb: Fix stack memory disclosure
328f3de2ef76 fix int_sqrt64() for very large numbers
89a9f049f8b9 Disable MSI also when pcie-octeon.pcie_disable on
3832c115bf80 arm64: dts: marvell: armada-ap806: reserve PSCI area
ca8080c308f4 arm64: kaslr: ensure randomized quantities are clean to the PoC
483ac8e65a8a pstore/ram: Avoid allocation and leak of platform data
a10cabbf7a76 net: dsa: realtek-smi: fix OF child-node lookup
0098f2e791d7 kbuild: Disable LD_DEAD_CODE_DATA_ELIMINATION with ftrace & GCC <= 4.7
ec485378a4c4 RDMA/vmw_pvrdma: Return the correct opcode when creating WR
836edf22ffd1 RDMA/nldev: Don't expose unsafe global rkey to regular user
8f4a0e7d8bef media: v4l: ioctl: Validate num_planes for debug messages
d846f48c1dd5 mfd: tps6586x: Handle interrupts on suspend
a752c6d6de80 OF: properties: add missing of_node_put
ac8b9e8e7ddd drm/i915/gvt: Fix mmap range check
434b1b91573c MIPS: lantiq: Fix IPI interrupt handling
19f41f32a4b4 MIPS: BCM47XX: Setup struct device for the SoC
8f469dc0e6dc mips: fix n32 compat_ipc_parse_version
9d37f4a046c2 scsi: sd: Fix cache_type_store()
d368f540ac3e scsi: core: Synchronize request queue PM status only on successful resume
b955a2c75675 Yama: Check for pid death before checking ancestry
01634ac56393 btrfs: wait on ordered extents on abort cleanup
4675f90ef892 Revert "btrfs: balance dirty metadata pages in btrfs_finish_ordered_io"
4432362af3a3 xen: Fix x86 sched_clock() interface for xen
64e986444138 crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK
c6578f509312 crypto: talitos - reorder code in talitos_edesc_alloc()
44c67402c3f7 crypto: authenc - fix parsing key with misaligned rta_len
97a6662b035c crypto: bcm - convert to use crypto_authenc_extractkeys()
93242fa04d87 crypto: ccree - convert to use crypto_authenc_extractkeys()
659080376639 crypto: authencesn - Avoid twice completion call in decrypt path
9107b2f43432 crypto: caam - fix zero-length buffer DMA mapping
68afc7c36461 crypto: sm3 - fix undefined shift by >= width of value
6e09bef3cbe2 r8169: load Realtek PHY driver module before r8169
eb02c17fcce5 ip: on queued skb use skb_header_pointer instead of pskb_may_pull
d2898aae0da6 bonding: update nest level on unlink
d976151a51c8 r8169: don't try to read counters if chip is in a PCI power-save state
8dc262df0c6f smc: move unhash as early as possible in smc_release()
f352903d5d78 lan743x: Remove phy_read from link status change function
08be4b72f362 tun: publish tfile after it's fully initialized
d7fe54c17aa3 tcp: change txhash on SYN-data timeout
3dc241b8fa94 packet: Do not leak dev refcounts on error exit
54cbcff82d5e net: bridge: fix a bug on using a neighbour cache entry without checking its state
c0e1392e37e1 ipv6: fix kernel-infoleak in ipv6_local_error()
d29d3891c009 arm64: Don't trap host pointer auth use to EL2
a31edd1c1b7b arm64/kvm: consistently handle host HCR_EL2 flags
a200574da87b scsi: target: iscsi: cxgbit: fix csk leak
25c0f7a24a4c scsi: target: iscsi: cxgbit: fix csk leak
ec98b3f39feb Revert "scsi: target: iscsi: cxgbit: fix csk leak"
e276420e4828 mmc: sdhci-msm: Disable CDR function on TX
6567515e4a7c netfilter: nf_conncount: fix argument order to find_next_bit
b01b92417d09 netfilter: nf_conncount: speculative garbage collection on empty lists
aea1d19594e6 netfilter: nf_conncount: move all list iterations under spinlock
bdc6c893ba37 netfilter: nf_conncount: merge lookup and add functions
13c639424bc2 netfilter: nf_conncount: restart search when nodes have been erased
d6b3ff0222fb netfilter: nf_conncount: split gc in two phases
ef68fdb5179c netfilter: nf_conncount: don't skip eviction when age is negative
c5cbe95a4ba8 netfilter: nf_conncount: replace CONNCOUNT_LOCK_SLOTS with CONNCOUNT_SLOTS
8db82a6f2b76 can: gw: ensure DLC boundaries after CAN frame modification
a13520e0d5f5 tty: Don't hold ldisc lock in tty_reopen() if ldisc present
a42c97862837 tty: Simplify tty->count math in tty_reopen()
e6a4caa0b4dd tty: Hold tty_ldisc_lock() during tty_reopen()
028c13f7caf2 tty/ldsem: Wake up readers after timed out down_write()
9c5931b65a7b Linux 4.19.16
7a1b9b76bac7 Btrfs: use nofs context when initializing security xattrs to avoid deadlock
79aa5c0daa5c Btrfs: fix deadlock when enabling quotas due to concurrent snapshot creation
829431a2a5a8 Btrfs: fix access to available allocation bits when starting balance
6c9a2046297f arm64: compat: Don't pull syscall number from regs in arm_compat_syscall
4f14f446d115 KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less
44e7bab39f87 sunrpc: use-after-free in svc_process_common()
160f79c0a039 mm: page_mapped: don't assume compound page is huge or THP
5dc41af3d19e ext4: fix special inode number checks in __ext4_iget()
bb80ad0dc392 ext4: track writeback errors using the generic tracking infrastructure
da38a1b47b02 ext4: use ext4_write_inode() when fsyncing w/o a journal
01db6e5cf81f ext4: avoid kernel warning when writing the superblock to a dead device
926cdac10439 ext4: fix a potential fiemap/page fault deadlock w/ inline_data
7c2ea25e1364 ext4: make sure enough credits are reserved for dioread_nolock writes
997255351a29 rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
c7ca8e94dbb5 drm/amdgpu: Don't fail resume process if resuming atomic state fails
f05d02b3b4c8 drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume()
d1a5113cf41b drm/i915: Unwind failure on pinning the gen7 ppgtt
f57bef95d6f8 drm/fb-helper: Partially bring back workaround for bugs of SDL 1.2
7398668b3110 drm/fb_helper: Allow leaking fbdev smem_start
b7c3696f68ad drm/amd/display: Fix MST dp_blank REG_WAIT timeout
857af87dcdce PCI: dwc: Move interrupt acking into the proper callback
c408aac37787 PCI: dwc: Take lock when ACKing an interrupt
11637a3a383b PCI: dwc: Use interrupt masking instead of disabling
c051be2b2621 drm/amdgpu: Add new VegaM pci id
719aee2c5ba1 vfio/type1: Fix unmap overflow off-by-one
1e235ec00be0 mtd: rawnand: qcom: fix memory corruption that causes panic
fca4eb31e096 i2c: dev: prevent adapter retries and timeout being set as minus value
3fdb8121e90a ACPI/IORT: Fix rc_dma_get_range()
6fd3d1975105 ACPI / PMIC: xpower: Fix TS-pin current-source handling
fec7361193b4 ACPI: power: Skip duplicate power resource references in _PRx
97b02b632466 mm, memcg: fix reclaim deadlock with writeback
8a4b6e8cb796 mm/usercopy.c: no check page span for stack objects
f928ca391747 slab: alien caches must not be initialized if the allocation of the alien cache failed
33c96bc68ff3 USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
12388881ce0d USB: storage: add quirk for SMI SM3350
621ecb93578a USB: storage: don't insert sane sense for SPC3+ when bad sense specified
51b2a8e263cb usb: cdc-acm: send ZLP for Telit 3G Intel based modems
2a71a47e03ff cifs: Fix potential OOB access of lock element array
7dcc5b36ea7f CIFS: Fix credit computation for compounded requests
d2f76f6f9fa9 CIFS: Do not hide EINTR after sending network packets
c3606c646783 CIFS: Do not set credits to 1 if the server didn't grant anything
d1130682d127 CIFS: Fix adjustment of credits for MTU requests
045e3d2f1216 ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
0fd36f024a70 ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
50a67b1a85b9 ALSA: hda/realtek - Support Dell headset mode for New AIO platform
4bef2bacb1c5 x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE
4ecbd88bf994 cpufreq: scmi: Fix frequency invariance in slow path
f64231cb4f13 staging: rtl8188eu: Fix module loading from tasklet for WEP encryption
ce588054801d staging: rtl8188eu: Fix module loading from tasklet for CCMP encryption
d7068618ae1f Btrfs: fix deadlock when using free space tree due to block group creation
e31851235412 Linux 4.19.15
6384c67c64b5 bnx2x: Fix NULL pointer dereference in bnx2x_del_all_vlans() on some hw
8e3a1c500288 drm/amd/display: Fix unintialized max_bpc state values
5f0ab980de1a drm/rockchip: psr: do not dereference encoder before it is null checked.
05a0177d84d9 drm/vc4: Set ->is_yuv to false when num_planes == 1
85c8c61007dd drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()
4f44e58a5614 lib: fix build failure in CONFIG_DEBUG_VIRTUAL test
8dbea64423dc of: __of_detach_node() - remove node from phandle cache
1cb5a0333a5d of: of_node_get()/of_node_put() nodes held in phandle cache
daa67bd5d1ec power: supply: olpc_battery: correct the temperature units
f65b4d4ff3aa intel_th: msu: Fix an off-by-one in attribute store
998c3537af41 genwqe: Fix size check
86dcb94392f7 drivers/perf: hisi: Fixup one DDRC PMU register offset
c1aa0c845c36 video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data"
9797226bf661 ceph: don't update importing cap's mseq when handing cap export
dc8408ea0b22 sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c
87b868070f41 iommu/vt-d: Handle domain agaw being less than iommu agaw
f408aac3104c RDMA/srpt: Fix a use-after-free in the channel release code
c03d6b0f9a95 rxe: fix error completion wr_id and qp_num
6bf97c01b948 9p/net: put a lower bound on msize
af7cc8ebab4a iio: dac: ad5686: fix bit shift read register
a854ab8f6446 powerpc/tm: Set MSR[TS] just prior to recheckpoint
6d9e96f37d38 Revert "powerpc/tm: Unset MSR[TS] if not recheckpointing"
eb05c02903a7 leds: pwm: silently error out on EPROBE_DEFER
ae5c75e660e2 arm64: relocatable: fix inconsistencies in linker script and options
9873efe708bb arm64: drop linker script hack to hide __efistub_ symbols
3f26e68af5c0 nfsd4: zero-length WRITE should succeed
0b6001b941af lockd: Show pid of lockd for remote locks
b541ebbe0cf0 PCI / PM: Allow runtime PM without callback functions
b37fdd941036 selinux: policydb - fix byte order and alignment issues
c6c59adbc19a b43: Fix error in cordic routine
6ef56c9ad7f1 gfs2: Fix loop in gfs2_rbm_find
310486107d41 gfs2: Get rid of potential double-freeing in gfs2_create_inode
30d3dfd4c420 dlm: memory leaks on error path in dlm_user_request()
c5fa01a0153f dlm: lost put_lkb on error path in receive_convert() and receive_unlock()
294776562f96 dlm: possible memory leak on error path in create_lkb()
03acbec28a24 dlm: fixed memory leaks after failed ls_remove_names allocation
6353c0a03791 block: mq-deadline: Fix write completion handling
69e9b2858b20 block: deactivate blk_stat timer in wbt_disable_default()
a85449199539 Fix failure path in alloc_pid()
5781b53dd89c driver core: Add missing dev->bus->need_parent_lock checks
b57b3b008284 srcu: Lock srcu_data structure in srcu_gp_start()
378f9dfa495a ALSA: usb-audio: Always check descriptor sizes in parser code
6c8c16479b23 ALSA: usb-audio: Fix an out-of-bound read in create_composite_quirks
b389f9c4c97a ALSA: usb-audio: Check mixer unit descriptors more strictly
8ee6f180d56f ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit()
281a9e46a94c ALSA: cs46xx: Potential NULL dereference in probe
6584ae39fa60 media: cx23885: only reset DMA on problematic CPUs
b6f66e8b227f mt76x0: init hw capabilities
13e554feddbd dma-direct: do not include SME mask in the DMA supported check
439022e0c2ec raid6/ppc: Fix build for clang
7dfb22b5abaa powerpc/boot: Set target when cross-compiling for clang
f4c27d53b15d Makefile: Export clang toolchain variables
1637d5d2e299 kbuild: consolidate Clang compiler flags
dcaab8b5d745 kbuild: add -no-integrated-as Clang option unconditionally
28e1d143b868 powerpc: Disable -Wbuiltin-requires-header when setjmp is used
ba1fe90be68f powerpc: avoid -mno-sched-epilog on GCC 4.9 and newer
24e26062b90e powerpc: consolidate -mno-sched-epilog into FTRACE flags
5b59eeba6b00 powerpc: remove old GCC version checks
668ecd6b17b9 sunrpc: use SVC_NET() in svcauth_gss_* functions
807957cecdc7 sunrpc: fix cache_head leak due to queued request
1c5e0be35de1 memcg, oom: notify on oom killer invocation from the charge path
8da70752f5fa mm, swap: fix swapoff with KSM pages
0f1a62e0737a mm, hmm: mark hmm_devmem_{add, add_resource} EXPORT_SYMBOL_GPL
e890a867060b mm, hmm: use devm semantics for hmm_devmem_{add, remove}
c215c66ceab5 mm, devm_memremap_pages: add MEMORY_DEVICE_PRIVATE support
ec5471c92fb2 mm, devm_memremap_pages: fix shutdown handling
0a38f2e4a4c7 mm, devm_memremap_pages: kill mapping "System RAM" support
b30ea244cf3e mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL
2c87072a3bf9 hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined
e3af83bd44ec zram: fix double free backing device
bc999b5099d7 fork: record start_time late
d257d4299ae7 scsi: lpfc: do not set queue->page_count to 0 if pc_sli4_params.wqpcnt is invalid
06fd6847c4a1 scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown
218c81851f11 auxdisplay: charlcd: fix x/y command parsing
dc68052427be serial/sunsu: fix refcount leak
08e7661cdd56 qmi_wwan: Fix qmap header retrieval in qmimux_rx_fixup
2fb13e2004e8 net: netxen: fix a missing check and an uninitialized use
8bb68ed82f01 Input: synaptics - enable SMBus for HP EliteBook 840 G4
ae247d60588c gpio: mvebu: only fail on missing clk if pwm is actually to be used
332fc66790d6 lan743x: Remove MAC Reset from initialization
e1b3575c474e virtio: fix test build after uio.h change
e46d5bd8fd89 m68k: Fix memblock-related crashes
ae206a1a5e3a kbuild: fix false positive warning/error about missing libelf
ff014712e5d3 mac80211: free skb fraglist before freeing the skb
366fc5858720 nl80211: fix memory leak if validate_pae_over_nl80211() fails
098143bfc29e vxge: ensure data0 is initialized in when fetching firmware version information
945b416a973b lan78xx: Resolve issue with changing MAC address
c26419f3574e lan743x: Expand phy search for LAN7431
98876c46efd0 net: macb: add missing barriers when reading descriptors
6e48c0fc14af net: macb: fix dropped RX frames due to a race
873f9a559bcb net: macb: fix random memory corruption on RX with 64-bit DMA
12024f4fc118 qed: Fix an error code qed_ll2_start_xmit()
233ba13db681 SUNRPC: Fix a race with XPRT_CONNECTING
4f784484bd96 mac80211: fix a kernel panic when TXing after TXQ teardown
97fd4c7f6ddf net: hns: Fix ping failed when use net bridge and send multicast
1f89e4e8b54d net: hns: Add mac pcs config when enable|disable mac
b686b8c073c0 net: hns: Fix ntuple-filters status error.
db2ca348c80c net: hns: Avoid net reset caused by pause frames storm
c8e78cbcde24 net: hns: Free irq when exit from abnormal branch
ac9ae1930a1b net: hns: Clean rx fbd when ae stopped.
1b2f8d7cc1b2 net: hns: Fixed bug that netdev was opened twice
17eeca6e3d9b net: hns: Some registers use wrong address according to the datasheet.
341b8840435a net: hns: All ports can not work when insmod hns ko after rmmod.
41d54657e34b net: hns: Incorrect offset address used for some registers.
2cd0c6f8d050 w90p910_ether: remove incorrect __init annotation
997cb5039dba net/tls: Init routines in create_ctx
7a2b5258682f drivers: net: xgene: Remove unnecessary forward declarations
37fc22c6cf22 x86, hyperv: remove PCI dependency
2e2127508297 mt76: fix potential NULL pointer dereference in mt76_stop_tx_queues
131366ebda88 scsi: target: iscsi: cxgbit: add missing spin_lock_init()
c9cef2c71a89 scsi: target: iscsi: cxgbit: fix csk leak
a01345407c43 bnx2x: Send update-svid ramrod with retry/poll flags enabled
53471f0d893d bnx2x: Remove configured vlans as part of unload sequence.
096795d4ccc7 bnx2x: Clear fip MAC when fcoe offload support is disabled
7fd995d3b444 netfilter: nf_conncount: use rb_link_node_rcu() instead of rb_link_node()
ba364929ff0c netfilter: nat: can't use dst_hold on noref dst
9e4041016015 netfilter: ipset: do not call ipset_nest_end after nla_nest_cancel
27f59f342f7c ixgbe: Fix race when the VF driver does a reset
3bfed541c3ee i40e: fix mac filter delete when setting mac address
56769ef90b83 x86/dump_pagetables: Fix LDT remap address marker
62075c982bf7 x86/mm: Fix guard hole handling
af03a980e86f ieee802154: ca8210: fix possible u8 overflow in ca8210_rx_done
e4bcb09d3b48 ibmvnic: Fix non-atomic memory allocation in IRQ context
733f5216eb54 ibmvnic: Convert reset work item mutex to spin lock
b7e2af3fdf8a Input: synaptics - enable RMI on ThinkPad T560
c5dabddc2ccc Input: omap-keypad - fix idle configuration to not block SoC idle states
c0c14b758c0c scsi: bnx2fc: Fix NULL dereference in error handling
98ce676bea96 Revert "scsi: qla2xxx: Fix NVMe Target discovery"
6bcf9ef86c86 netfilter: seqadj: re-load tcp header pointer after possible head reallocation
cee05c0371a6 netfilter: nf_tables: fix suspicious RCU usage in nft_chain_stats_replace()
537e9a8c301d ieee802154: hwsim: fix off-by-one in parse nested
083d552a890c xfrm: Fix NULL pointer dereference in xfrm_input when skb_dst_force clears the dst_entry.
00eff089dfb7 xfrm: Fix bucket count reported to userspace
34a2f36c0115 xfrm: Fix error return code in xfrm_output_one()
7519ffa9118c checkstack.pl: fix for aarch64
8c9c3747750a IB/core: Fix oops in netdev_next_upper_dev_rcu()
a8d16017db2e drm/amdgpu: Fix DEBUG_LOCKS_WARN_ON(depth <= 0) in amdgpu_ctx.lock
54568ab2e11f powerpc/mm: Fallback to RAM if the altmap is unusable
52e1f29e8bcf Input: restore EV_ABS ABS_RESERVED
b4592b838322 IB/mlx5: Block DEVX umem from the non applicable cases
aad142a61ebb ARM: dts: imx7d-nitrogen7: Fix the description of the Wifi clock
eab3109e1547 ARM: imx: update the cpu power up timing setting on i.mx6sx
94541b595ad4 ARM: dts: imx7d-pico: Describe the Wifi clock
270a08ffa1b9 HID: ite: Add USB id match for another ITE based keyboard rfkill key quirk
d4fdc5e82357 powerpc/mm: Fix linux page tables build with some configs
4642a5c58299 powerpc: Fix COFF zImage booting on old powermacs
a294de739535 arm64: dts: mt7622: fix no more console output on rfb1
cd9ff62bad88 pinctrl: meson: fix pull enable register calculation
0dc2ffac869c ARM: dts: sun8i: a83t: bananapi-m3: increase vcc-pd voltage to 3.3V
(From OE-Core rev: 29d4b668e2ecba2ea263d448ac32505d953ad1d1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmaker that comprise the
following commits:
fb957805a800 Linux 4.18.27
e40e99b6b15d ipmi:ssif: Fix handling of multi-part return messages
ec5b2f3f897b ipmi: Prevent use-after-free in deliver_response
d605dfec5314 ipmi: msghandler: Fix potential Spectre v1 vulnerabilities
6fcd5c67bbed ipmi: fix use-after-free of user->release_barrier.rda
8978d7c6dec4 Bluetooth: Fix unnecessary error message for HCI request completion
9aa6a6afdc9d iwlwifi: mvm: Send LQ command as async when necessary
be293e2c8d5d mm, proc: be more verbose about unstable VMA flags in /proc/<pid>/smaps
5da1802b5dd9 userfaultfd: clear flag if remap event not enabled
08861c6db0c1 mm/swap: use nr_node_ids for avail_lists in swap_info_struct
fbd6851e6d57 mm/page-writeback.c: don't break integrity writeback on ->writepage() error
42af1b118dec ocfs2: fix panic due to unrecovered local alloc
e701c6b47b1e scsi: megaraid: fix out-of-bound array accesses
c2414688a11f scsi: smartpqi: call pqi_free_interrupts() in pqi_shutdown()
248849ffcee8 ath10k: fix peer stats null pointer dereference
e6e7a27d9894 scsi: smartpqi: correct lun reset issues
f82c77b69dd4 scsi: mpt3sas: fix memory ordering on 64bit writes
7fe3902a1b30 IB/usnic: Fix potential deadlock
07716336ae4f sysfs: Disable lockdep for driver bind/unbind files
52223b291461 ALSA: bebob: fix model-id of unit for Apogee Ensemble
f55b7d8c5747 dm: Check for device sector overflow if CONFIG_LBDAF is not set
744fb8e55bdc clocksource/drivers/integrator-ap: Add missing of_node_put()
c7e5ef0fad26 quota: Lock s_umount in exclusive mode for Q_XQUOTA{ON,OFF} quotactls.
051f86c6e4fe perf tools: Add missing open_memstream() prototype for systems lacking it
f40cb62ae378 perf tools: Add missing sigqueue() prototype for systems lacking it
fe10d3ee10ae dm snapshot: Fix excessive memory usage and workqueue stalls
dbb2e01442dd tools lib subcmd: Don't add the kernel sources to the include path
9844e0dbc6d0 perf stat: Avoid segfaults caused by negated options
d8dc75d3d9fc dm kcopyd: Fix bug causing workqueue stalls
dff3fa1af70f dm crypt: use u64 instead of sector_t to store iv_offset
26dfea580c42 x86/topology: Use total_cpus for max logical packages calculation
5f13f97aad1e netfilter: ipt_CLUSTERIP: fix deadlock in netns exit routine
d5e112ef684d netfilter: ipt_CLUSTERIP: remove wrong WARN_ON_ONCE in netns exit routine
ed843e0c755b netfilter: ipt_CLUSTERIP: check MAC address when duplicate config is set
ab68568470d6 perf vendor events intel: Fix Load_Miss_Real_Latency on SKL/SKX
5ddf63d48c16 perf parse-events: Fix unchecked usage of strncpy()
882079829dfb perf svghelper: Fix unchecked usage of strncpy()
e689fb5da3fc perf tests ARM: Disable breakpoint tests 32-bit
ef3ae9b3e540 perf intel-pt: Fix error with config term "pt=0"
8639a6aacfd7 tty/serial: do not free trasnmit buffer page under port lock
80c3cdea380c btrfs: improve error handling of btrfs_add_link
2202b846b13c btrfs: alloc_chunk: fix more DUP stripe size handling
ab3a0bbe8b0b mmc: atmel-mci: do not assume idle after atmci_request_end
32f972da3d3a kconfig: fix memory leak when EOF is encountered in quotation
10d9a6a992ee kconfig: fix file name and line number of warn_ignored_character()
f7bcc8b2f7ef bpf: relax verifier restriction on BPF_MOV | BPF_ALU
eec0856907da arm64: Fix minor issues with the dcache_by_line_op macro
f2300824da71 clk: imx6q: reset exclusive gates on init
1604baf07d22 arm64: kasan: Increase stack size for KASAN_EXTRA
13ba93449b46 selftests: do not macro-expand failed assertion expressions
3bbd076d9136 scsi: target: use consistent left-aligned ASCII INQUIRY data
e37db031ef5a net: call sk_dst_reset when set SO_DONTROUTE
fb614921bc34 media: venus: core: Set dma maximum segment size
eb2c9c4ca615 ASoC: use dma_ops of parent device for acp_audio_dma
68a03c142063 media: firewire: Fix app_info parameter type in avc_ca{,_app}_info
b60c7a6713d5 powerpc/pseries/cpuidle: Fix preempt warning
df30a1b5d8d2 powerpc/xmon: Fix invocation inside lock region
4f03e69412ba media: uvcvideo: Refactor teardown of uvc on USB disconnect
e6b355ae24ba pstore/ram: Do not treat empty buffers as valid
72d479d16ec9 clk: imx: make mux parent strings const
277364cbbd21 jffs2: Fix use of uninitialized delayed_work, lockdep breakage
d206a38109fc efi/libstub: Disable some warnings for x86{,_64}
643a876a5b01 rxe: IB_WR_REG_MR does not capture MR's iova field
f5d7d77be0a6 scsi: qedi: Check for session online before getting iSCSI TLV data.
5c28f6e86aff ASoC: pcm3168a: Don't disable pcm3168a when CONFIG_PM defined
6ca660928969 selinux: always allow mounting submounts
128146d4fb71 fpga: altera-cvp: fix probing for multiple FPGAs on the bus
3e60aeeefaeb usb: gadget: udc: renesas_usb3: add a safety connection way for forced_b_device
e1c8feafd5fe samples: bpf: fix: error handling regarding kprobe_events
2b3081b77e3f clk: meson: meson8b: fix incorrect divider mapping in cpu_scale_table
0bf0163094a9 drm/atomic-helper: Complete fake_commit->flip_done potentially earlier
21330a217643 arm64: perf: set suppress_bind_attrs flag to true
066b9fddd721 crypto: ecc - regularize scalar for scalar multiplication
e26359f1620c MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
3afff9e63c8e x86/mce: Fix -Wmissing-prototypes warnings
9b3a195320ca ALSA: oxfw: add support for APOGEE duet FireWire
04aba67bbf94 bpf: Allow narrow loads with offset > 0
f30cc07af44f serial: set suppress_bind_attrs flag only if builtin
d264a0f394ba writeback: don't decrement wb->refcnt if !wb->bdi
74691a75e365 of: overlay: add missing of_node_put() after add new node to changeset
419af4cd1015 selftests/bpf: enable (uncomment) all tests in test_libbpf.sh
2e3f88e667c6 e1000e: allow non-monotonic SYSTIM readings
f782c9d1da48 platform/x86: asus-wmi: Tell the EC the OS will handle the display off hotkey
1261977d0ab4 ixgbe: allow IPsec Tx offload in VEPA mode
7c73931b7303 drm/amd/display: Guard against null stream_state in set_crc_source
39d92f35a8dc gpio: pl061: Move irq_chip definition inside struct pl061
3aec221e313a netfilter: ipset: Allow matching on destination MAC address for mac and ipmac sets
6a5be9a2ffef ipv6: Take rcu_read_lock in __inet6_bind for mapped addresses
50d329eca381 r8169: Add support for new Realtek Ethernet
d1aad26bb964 qmi_wwan: add MTU default to qmap network interface
62b4f9e777bf net, skbuff: do not prefer skb allocation fails early
eb5c8d69ea42 net: dsa: mv88x6xxx: mv88e6390 errata
993bc7d54dac mlxsw: spectrum_switchdev: Set PVID correctly during VLAN deletion
8fb8533a5309 mlxsw: spectrum: Disable lag port TX before removing it
75daf3c475df ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address
73827a8e2e30 nbd: Use set_blocksize() to set device blocksize
f65d7d5574e1 drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock
528fa9207170 loop: drop caches if offset or block_size are changed
3df31feee60d loop: Fix double mutex_unlock(&loop_ctl_mutex) in loop_control_ioctl()
d4082dc05ac9 loop: Get rid of 'nested' acquisition of loop_ctl_mutex
78f210acfd34 loop: Avoid circular locking dependency between loop_ctl_mutex and bd_mutex
3ebf94b079ba loop: Fix deadlock when calling blkdev_reread_part()
fc4a4583f9f1 loop: Move loop_reread_partitions() out of loop_ctl_mutex
2c2c3aa3ab1c loop: Move special partition reread handling in loop_clr_fd()
e2c6ee2931ca loop: Push loop_ctl_mutex down to loop_change_fd()
b442997a7285 loop: Push loop_ctl_mutex down to loop_set_fd()
33d682700fb0 loop: Push loop_ctl_mutex down to loop_set_status()
49f911a6a4c0 loop: Push loop_ctl_mutex down to loop_get_status()
c3be2cd6ad9e loop: Push loop_ctl_mutex down into loop_clr_fd()
9a4a7555c177 loop: Split setting of lo_state from loop_clr_fd
d1f05249099a loop: Push lo_ctl_mutex down into individual ioctls
50bbdfab99c1 loop: Get rid of loop_index_mutex
bc40dc95afdc loop: Fold __loop_release into loop_release
23d5eac305d0 block/loop: Use global lock for ioctl() operation.
e0d29ef2a8b0 block/loop: Don't grab "struct file" for vfs_getattr() operation.
8281310f32aa tipc: fix uninit-value in tipc_nl_compat_doit
95c94c995d8e tipc: fix uninit-value in tipc_nl_compat_name_table_dump
b099f94e1e4d tipc: fix uninit-value in tipc_nl_compat_link_set
8e649a4839e0 tipc: fix uninit-value in tipc_nl_compat_bearer_enable
e54458ac168e tipc: fix uninit-value in tipc_nl_compat_link_reset_stats
9a8f56b713dc tipc: fix uninit-value in in tipc_conn_rcv_sub
08ea8e1bfd4b sctp: allocate sctp_sockaddr_entry with kzalloc
4c02dbac416c blockdev: Fix livelocks on loop device
af7bec66e3ee selinux: fix GPF on invalid policy
de9b736152ed block: use rcu_work instead of call_rcu to avoid sleep in softirq
b232d75be71a netfilter: ebtables: account ebt_table_info to kmemcg
aa4d1d6641b5 sunrpc: handle ENOMEM in rpcb_getport_async
ddb29b79dbff media: vb2: be sure to unlock mutex on errors
b9f0f2f9cf59 media: vb2: vb2_mmap: move lock up
7308ece86dd0 LSM: Check for NULL cred-security on free
71ba5763243b ipv6: make icmp6_send() robust against null skb->dev
05e6bff7e7a6 bpf: in __bpf_redirect_no_mac pull mac only if present
4181e7d61b1a media: vivid: set min width/height to a value > 0
cbfc610ae5f2 media: vivid: fix error handling of kthread_run
05f5b1394483 omap2fb: Fix stack memory disclosure
28063cb50ed8 fix int_sqrt64() for very large numbers
37112a960b7f Disable MSI also when pcie-octeon.pcie_disable on
8fd61f25fcf3 arm64: dts: marvell: armada-ap806: reserve PSCI area
58c3acda1754 arm64: kaslr: ensure randomized quantities are clean to the PoC
9a013b991c02 pstore/ram: Avoid allocation and leak of platform data
1aa9985076dc RDMA/nldev: Don't expose unsafe global rkey to regular user
b409b102c7d8 media: v4l: ioctl: Validate num_planes for debug messages
92dd1f93a3c9 mfd: tps6586x: Handle interrupts on suspend
2e63388cbfdb OF: properties: add missing of_node_put
1957d16bceca drm/i915/gvt: Fix mmap range check
f1e756d98a46 MIPS: lantiq: Fix IPI interrupt handling
ac8f34885340 mips: fix n32 compat_ipc_parse_version
0830f02f81b3 scsi: sd: Fix cache_type_store()
f25d687e3d8b scsi: core: Synchronize request queue PM status only on successful resume
0f7357d9b8e4 Yama: Check for pid death before checking ancestry
f94e8c0566d0 btrfs: wait on ordered extents on abort cleanup
4b1129e59323 Revert "btrfs: balance dirty metadata pages in btrfs_finish_ordered_io"
f9ac2ffa0255 xen: Fix x86 sched_clock() interface for xen
79ad9eda6689 x86/xen/time: Output xen sched_clock time from 0
7b3718f98f17 crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK
c194e944dc98 crypto: talitos - reorder code in talitos_edesc_alloc()
0b612c90335c crypto: authenc - fix parsing key with misaligned rta_len
bed3cec44833 crypto: bcm - convert to use crypto_authenc_extractkeys()
f1daff3d1cb1 crypto: ccree - convert to use crypto_authenc_extractkeys()
b445d866e2fa crypto: authencesn - Avoid twice completion call in decrypt path
1d5d8babb9a8 crypto: caam - fix zero-length buffer DMA mapping
04836f6b86bd crypto: sm3 - fix undefined shift by >= width of value
42cd579fd790 bonding: update nest level on unlink
12dff858b935 r8169: don't try to read counters if chip is in a PCI power-save state
5087c2825807 smc: move unhash as early as possible in smc_release()
cf652d77ac45 tun: publish tfile after it's fully initialized
faee48550bf4 tcp: change txhash on SYN-data timeout
e87c244b11cd net: bridge: fix a bug on using a neighbour cache entry without checking its state
c499692ded84 ipv6: fix kernel-infoleak in ipv6_local_error()
a3ab077a3f79 arm64: Don't trap host pointer auth use to EL2
6f127252fe5f arm64/kvm: consistently handle host HCR_EL2 flags
e5fed8d49b5b scsi: target: iscsi: cxgbit: fix csk leak
f1778e1523fa netfilter: nf_conncount: don't skip eviction when age is negative
df00c2c10e4f can: gw: ensure DLC boundaries after CAN frame modification
58e9f5227691 tty: Don't hold ldisc lock in tty_reopen() if ldisc present
c6e522371001 tty: Simplify tty->count math in tty_reopen()
e3ac534b8aa5 tty: Hold tty_ldisc_lock() during tty_reopen()
3456ecaf8d34 tty/ldsem: Wake up readers after timed out down_write()
2b1afc9c3506 Btrfs: use nofs context when initializing security xattrs to avoid deadlock
403d0f9134a7 Btrfs: fix access to available allocation bits when starting balance
343ae5df68a2 KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less
42e3a4424b12 sunrpc: use-after-free in svc_process_common()
39e372a81d13 mm: page_mapped: don't assume compound page is huge or THP
845f8457893a ext4: track writeback errors using the generic tracking infrastructure
a0e9782472b8 ext4: use ext4_write_inode() when fsyncing w/o a journal
c60e8096cc4d ext4: avoid kernel warning when writing the superblock to a dead device
3ec6f7792def ext4: fix a potential fiemap/page fault deadlock w/ inline_data
02d823cdb2a4 ext4: make sure enough credits are reserved for dioread_nolock writes
154261392771 rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
98213a9d5ce0 drm/amdgpu: Don't fail resume process if resuming atomic state fails
dc2660871a4a drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume()
26089047b42c drm/amd/display: Fix MST dp_blank REG_WAIT timeout
003d29ca6fba PCI: dwc: Move interrupt acking into the proper callback
b90e95417c02 PCI: dwc: Take lock when ACKing an interrupt
d51df9e16301 PCI: dwc: Use interrupt masking instead of disabling
c122260b25cd drm/amdgpu: Add new VegaM pci id
789040bc5039 vfio/type1: Fix unmap overflow off-by-one
86cecca3d93e i2c: dev: prevent adapter retries and timeout being set as minus value
50558f1ca67b ACPI / PMIC: xpower: Fix TS-pin current-source handling
4b75905144c7 ACPI: power: Skip duplicate power resource references in _PRx
c78b2116c9d7 mm, memcg: fix reclaim deadlock with writeback
8bf6869b4d75 mm/usercopy.c: no check page span for stack objects
d6c879709135 slab: alien caches must not be initialized if the allocation of the alien cache failed
bb1c250d55ff USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
39fa1b192449 USB: storage: add quirk for SMI SM3350
4385b42a4cc2 USB: storage: don't insert sane sense for SPC3+ when bad sense specified
d10e7b64e2b3 usb: cdc-acm: send ZLP for Telit 3G Intel based modems
af318dc8d1f4 cifs: Fix potential OOB access of lock element array
4c26d3a072da CIFS: Do not hide EINTR after sending network packets
50c6b89008ec CIFS: Fix adjustment of credits for MTU requests
a7eb3c3dc214 ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
dcb78b2a6e1c ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
26b78760c7ae ALSA: hda/realtek - Support Dell headset mode for New AIO platform
94ddf9e27eb5 cpufreq: scmi: Fix frequency invariance in slow path
516c5e5f484f Revert "x86/hyper-v: Check cpumask_to_vpset() return value in hyperv_flush_tlb_others_ex()"
(From OE-Core rev: c05bd600a4200a76513ff5a127f44efe1eab4045)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's stable updates that comprise the following
commits:
89754c7da63f Linux 4.18.26
c564abe1908c NFSv4: Fix a tracepoint Oops in initiate_file_draining()
890d46c677fd net: hns3: fix return value error while hclge_cmd_csq_clean failed
9cee553eeef0 PCI/AER: Remove duplicate PCI_EXP_AER_FLAGS definition
5ffe615c7959 fbdev: omap2: omapfb: fix ifnullfree.cocci warnings
9a2eb194c961 fbdev: omap2: omapfb: fix bugon.cocci warnings
795731d5307f fbdev: omap2: omapfb: fix boolreturn.cocci warnings
8c656840a4cc PCI: mobiveil: Add Kconfig/Makefile entries
0f7c216a5905 pinctrl: mediatek: include chained_irq.h header
3f240c958d39 m68k/io: Add missing ioremap define guards, fix typo
3aca0a7960d4 dm writecache: report start_sector in status line
50de44fbe274 arm64: mm: Export __sync_icache_dcache() for xen-privcmd
4c521f993bb9 tipc: add missing dev_put() on error in tipc_enable_l2_media
0a7f5ef06a67 clk: actions: Add missing REGMAP_MMIO dependency
90cbc3a9021a net: remove redundant input checks in SIOCSIFTXQLEN case of dev_ifsioc
92b0d2a490ba nvmet: check fileio lba range access boundaries
95550ccfee82 EVM: fix return value check in evm_write_xattrs()
9c63338b2ecc multicast: remove useless parameter for group add
818380e81f55 regulator: qcom_spmi: Do not initialise static to NULL
80faeb6437d9 netfilter: nft_socket: Break evaluation if no socket found
7896db3d286a netfilter: nft_tproxy: Move nf_tproxy_assign_sock() to nf_tproxy.h
6ee2615cbc6c x86/hyper-v: Check cpumask_to_vpset() return value in hyperv_flush_tlb_others_ex()
b98d573d572f drm/nouveau/kms/nv50-: fix drm-get-put.cocci warnings
5b4fbedbb14a ASoC: qdsp6: q6routing: off by one in routing_hw_params()
0ce601464e44 drm/amdgpu: get VCN start to process in the dpm disabled case
cdb988723c92 net: stmmac: Fix PCI module removal leak
f014d3b35b9f ip: on queued skb use skb_header_pointer instead of pskb_may_pull
ee45cb43d804 linux/device.h: fix kernel-doc notation warning
eb11d9a94de0 regulator: Revert "regulator: pfuze100: add enable/disable for switch"
26d53be66490 KVM: VMX: hide flexpriority from guest when disabled at the module level
1c9ebfaf8229 media: omap3isp: fix warning for !CONFIG_PM
60f30bf144b8 cfg80211: fix wext-compat memory leak
9685f469611b spi: spi-mem: Add missing description for data.nbytes field
07b7e110c17b arm64: dts: renesas: r8a77990: Remove non-existing STBE region
d6e90a26c5bd media: cx231xx: fix RC_CORE dependency
7a281dbd6967 media: v4l: cadence: add VIDEO_V4L2 dependency
3b95f46801af perf Documentation: Fix out-of-tree asciidoctor man page generation
8d927494900d selftests: forwarding: mirror_gre_vlan_bridge_1q: Unset rp_filter
8359363df5a6 net/mlx5: Use u16 for Work Queue buffer strides offset
0f85219db2ee kconfig: remove a spurious self-assignment
40535cf8ca98 netfilter: nf_tables: don't prevent event handler from device cleanup on netns exit
10d27d084c16 drm/i915: Stop holding a ref to the ppgtt from each vma
e9c0ce028417 f2fs: wake up gc thread immediately when gc_urgent is set
b9f47e1e8a61 tcp: avoid resetting ACK timer upon receiving packet with ECN CWR flag
f1a29b5218b0 tcp: mandate a one-time immediate ACK
4474fad367bf selftests: rtnetlink: use a local IP address for IPsec tests
f9229f11713c selftests: rtnetlink: hide complaint from terminated monitor
2b4cb6ad782d i40iw: Reorganize acquire/release of locks in i40iw_manage_apbvt
f2aa45e70b9a drm/sun4i: mark PM functions as __maybe_unused
6c4f9bb9e2c7 drm/v3d: Checking for NULL vs IS_ERR()
(From OE-Core rev: 920440b0406f04963603e54f49527772fb14dacb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Formatting changes and replace http with https in urls.
Drop backported patch which is now applied upstream in 4.0.2
(From OE-Core rev: f54688e272cbe33157951bda2efc206f14815974)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package_rpm code is writing outside the task's sstate directory into
the sstate of do_deploy_archives. This is "out of spec" since if the
task is installed from sstate, the files are not restored. This means
the files may appear/disappear, things are not deterministic and there are
races.
Extend the do_package_write_rpm code to handle writing the src.rpm into
place to avoid these issues. There are other problems but this avoids races
around this file.
(From OE-Core rev: c6e151ba7fe0f14044537cf0ab2cac436f1496e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates busybox to version 1.29.3 to fix a bug related to parsing of
config files: 2993551ef ("Revert "libbb: remove unnecessary variable in
xmalloc_fgets"")
Upgrading the recipe was chosen instead of backporting the fix as a
patch because the only difference between version 1.29.2 and 1.29.3 is
this revert.
(From OE-Core rev: 11d4fd16c3d7dad5d7e3b4d44a96724075be7126)
Signed-off-by: Dustin Bain <dustin.bain@garmin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream dropped support for GTK2 (in v3.1.0) and this flag was dropped.
Relevant upstream commit ID: 89d85cde75143325205e332dd97bf1bb8402d7c1
(From OE-Core rev: 90f5cf92c88d17ee976498a7f2b1d3514acb118b)
Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use prelink only when image-prelink class is inherited. Inheriting this
class adds prelink-native as dependency to do_rootfs, which makes prelink
binary and configuration available.
|Exception: FileNotFoundError: [Errno 2] No such file or directory:
|'/home/.../1.0-r0/recipe-sysroot-native/etc/prelink.conf'
|
| if not os.path.exists(prelink_cfg):
| shutil.copy(self.d.expand('${STAGING_DIR_NATIVE}${sysconfdir_native}/prelink.conf'),prelink_cfg)
(From OE-Core rev: 9e30e72920b3c661279499f2e94d5dc0087a1a8e)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recently added support for updating FILES based on the file renames
that are happening here is using a regex replace, but failed to
properly escape the search pattern (the full path). This manifests itself
in FILES not being updated as soon as the full path contains any
character that has a special meaning, e.g. '+'.
In other words an original path (alt_target in the code) like
/opt/poky/2.6+snapshot/sysroots/i686-pokysdk-linux/sbin/losetup
can't be matched, and hence we fail to update FILES with the new value,
causing packaging errors.
Fix by using re.escape() on the original path before passing into re.sub()
Fixes: 5c23fe378732 ("update-alternatives: try to update FILES_${PN} when
renaming a file"), or bcb3e7b7f8 in poky.git
[YOCTO #13058]
(From OE-Core rev: 126743162397e4145902b3f127f2dafd80a8a49b)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I am not familiar with the big endian, so I don't update it.
I don't have much information about the Cavium ThunderX,
it looks like it supports all the ARM instructions.
(From OE-Core rev: b6c6fa72bdffd5d8995058e8e0e21d5561cc16c6)
Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
arch-armv8 does not have many real-world implementations
(From OE-Core rev: 6719de403620dded075dc74f2976669d95bffd7a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some addtional instructions apart from bare armv8,
also there is armv8.1, armv8.2.
Most the processor would support crc, except X-gene 1.
(From OE-Core rev: d1db78b0e284e1a1f370e71183ded0cbdc1475db)
Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit b95b6ba1a2959e2294a8848fa35f20163388eb06 changed package_ipk.bbclass
to xz when building packages. This updates OpkgDpkgPM.extract() accordingly.
(From OE-Core rev: c09a22c421a57701f6b943eb50b9bae1545e5b39)
Signed-off-by: Angus Lees <gus@inodes.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel commit that added the syscall table generation tools
for ARM platform (ARM: convert to generated system call tables)
wasn't merged until kernel release v4.10.
Current assumption in kernel-devsrc recipe is that these syscall
scripts exist, which breaks the build for external board layers that are
still using 4.9.x kernels:
cp: cannot stat ‘arch/arm/tools/syscall*’: No such file or directory
so only try to install the scripts when they actually exist.
(From OE-Core rev: 7b4d77d7f909c0ae27553fd9c480f069f12e468f)
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid infinite include loops, especially with bits/wordsize.h which is
now possible with the synthesized headers since we now also synthesize
bits/wordsize.h itelf for some arches e.g. arm/aarch64
In cases where extra preprocessing tools are used such as clang-tidy
e.g. and these tools are not passed the knowledge about architecture
then case comes where we enter into header include loop for
bits/wordsize.h, since this template does explicitly include
bits/wordsize.h
To fix this emits the pragma once at beginning of file, this is better
solution than include guards, and pragma once is practically supported
on all compilers except few e.g. cray c/c++ compiler
(From OE-Core rev: 6ab11ac25bb987642d5ca1a07f4bd5f30c66c9c5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intent of the code was to catch one kind of error, it was actually swallowing
all exceptions and looping indefinitely. Fix it to work as intended.
This explains some mystery hangs we've been seeing.
(Bitbake rev: d73dbc3580faa1225d95ae4cefac4879ca3c1b2f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Add the following lines to conf/local.conf:
FOO = "BAR1"
FOO_append = "\
BAR2"
$ bitbake -e | grep '^FOO'
FOO="BAR1BAR2"
The leading spaces in the second line have been removed.
- But if add the previous two lines to base.bbclass:
$ bitbake -e | grep '^FOO'
FOO="BAR1 BAR2"
The leading spaces in the second line are preserved, this is inconsistent, now
fix ConfHandler to preserve leading spaces.
[YOCTO #12380]
(Bitbake rev: 8c3bc15a7b5e0a81d7b6c9d3fe43fbff63207156)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are typos in the fixture files that need to be fixed to correctly
check out the 'thud' branch.
[YOCTO #13064]
(Bitbake rev: 649a304b4d0a35553f665f0a748a7f21fcab51ba)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| error: create archive failed on file /media/build1/poky/build/tmp/work/all-poky-linux/xcursor-transparent-theme/0.1.1+gitAUTOINC+23c8af5ba4-r0/deploy-sources/allarch-poky-linux/xcursor-transparent-theme-0.1.1+gitAUTOINC+23c8af5ba4-r0/xcursor-transparent-theme-0.1.1+git0+23c8af5ba4-r0.src.rpm: cpio: read failed - No such file or directory
| Building target platforms: noarch-poky-linux
| Building for target noarch-poky-linux
This is caused by:
$ cat log.task_order
do_cleansstate (24289): log.do_cleansstate.24289
do_deploy_archives_setscene (24395): log.do_deploy_archives_setscene.24395
do_fetch (24407): log.do_fetch.24407
[..]
do_package_write_rpm (25448): log.do_package_write_rpm.25448
do_package_qa (25451): log.do_package_qa.25451
So do_deploy_archives can run from sstate, created a .src.rpm in WORKDIR/deploy-sources,
then it was removed when rpm was running. This leads to a broken Source line in the
spec file as the original file was found by the os.listdir().
This fix is just a bandaid over much more fundamental problems sadly.
(From OE-Core rev: a10020ace4c3cd863c782760f7cbecea557ec6e7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
move tzcode and tzdata-native into new dir
Updates are now limited to the common include file.
[v2]
Fix UMMARY typ0 in timezone.inc
(From OE-Core rev: 60c30127df63b75d70a61d90c9f9afe0f938dc71)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes
https://sourceware.org/ml/binutils/2019-02/msg00010.html
0007-Add-the-armv5e-architecture-to-binutils.patch is dropped since we
armv5 is not a used option anymore in OE armv5te is default, and gcc9
will drop it completely anyway
CVE patches were backports from master which is already past of 2.32
release
Other dropped patches were partial or full backports as well
(From OE-Core rev: b71294c4decf35d544a2c8adb4e67d141841fc68)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent version of tmux seems to use PWD from the environment instead of the
actual working directory. Help it use the correct path.
Fixes setting the correct working directory when running
devshell and menuconfig tasks.
(From OE-Core rev: 938a089b52e7bf5f67406f55234ab2d22236e9b6)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Copyright year updates from 2017-2019
Refresh patches to apply on new version
mesa move dep to the llvm release to 8.0
Needs to happen along with llvm upgrade always
(From OE-Core rev: 96631d53becca8408758b405adc670ad7e2ea2f3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the musl specific fopencookie patches since musl
added support for fopencookie in:
06184334 implement the fopencookie extension to stdio
in December 2017 so it has been in musl since v1.1.19.
There was no change in libsolv's configure log when building
with musl and these patches dropped.
(From OE-Core rev: 8eeb5bae02331cec3bea98adef784357c6e3c910)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default behaviour is to show just recipes needing upgrades, but for
automated reports showing all recipes can be useful.
(From OE-Core rev: 29e064ac6bd8d1ef74c280bf85bf8428c37ba014)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
from NEWS:
- selected bug fixes:
* fixed a couple of null pointer derefs and potential memory
leaks
* made disfavoring recommended packages work if strong recommends
is enabled
* no longer disable infarch rules when they don't conflict with
the job
- new features:
* do favor evaluation before pruning allowing to (dis)favor
specific package versions
(From OE-Core rev: a0f78447a14cf17ce4ae03a97ed4f703cbe1af2b)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly the LSB test suite was failing due to missing crypt() support.
[YOCTO #13160]
(From OE-Core rev: 966b245a3a4fda1dc1333194e88fdbac34331b6a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to drop the build race fixes.
(From OE-Core rev: c869560c25223dd336ce84847ddbdbe44e4c391c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When copying files into the file system the file offset was being truncated to a
signed 32-bit value, so any files that are larger than 2^31 bytes were the right
size, but no content after that point.
(From OE-Core rev: b2ffd2228f0d68d096f8003975f0f7ec28bd4313)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With newest Python, the following is printed:
PyGIDeprecationWarning: GObject.markup_escape_text is deprecated; use GLib.markup_escape_text instead)
(From OE-Core rev: 7b4302d84e6c9833089bd575c1083fe826082387)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following error when launching sysprof:
$ sysprof
GLib-GIO-ERROR **: Settings schema 'org.gnome.sysprof2' is not installed
(From OE-Core rev: 808dde537333b6aa788c393d1e1d70aa2e3b8f68)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add dependency on readline-native to fix the following issue
uninitialized constant Logfile
| Check ext/fiddle/mkmf.log for more details.
| readline:
| Could not be configured. It will not be installed.
|
build/tmp/work/x86_64-linux/ruby-native/2.5.1-r0/ruby-2.5.1/ext/readline/extconf.rb:62:
Neither readline nor libedit was found
| Check ext/readline/mkmf.log for more details.
| *** Fix the problems, then remove these directories and try again if
you want.
(From OE-Core rev: b25acc546b6fc684da9cc8a3a01e44cd195e209b)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite the public symbol check to verify the shared libraries, to check for
more things, and to avoid duplication; fixes make check on ARM
(From OE-Core rev: 31e02216c94cc49f90052c82982dec0be7d3133b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using update-alternatives, FILES_${PN} must be
referencing the new name after update-alternatives has
renamed files.
This is more or less OK when having static lists of files to
be packaged into a package, but makes it quite hard to
dynamically generate FILES_${PN}, e.g. using do_split_packages(),
as in that case we can not easily modify what goes into
FILES_${PN}, because that list is based on filenames as seen
at the time do_split_packages() is executing.
Of couse one could explicitly specify the (renamed) file(s)
in the recipe, but that contradicts the intended usage of
do_split_packages().
Instead, if FILES_${PN} contains the file name as it was pre
renaming, we here modify this to reflect the new name.
This will allow usage of do_split_packages() to populate
FILES_${PN}.
[YOCTO #13058]
(From OE-Core rev: 5c23fe378732038643a450cbf916334d24764b70)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the moment, the update-alternatives file renaming is
happening right after copying into PKGD during packaging
time using an _append OVERRIDE to the copy function
perform_packagecopy().
This is not really readable and hard to maintain.
Additionally, this makes it impossible to e.g. populate
PACKAGES dynamically using do_split_packages() and still
do update-alternatives - update-alternatives file renaming
requires the PACKAGES variable to have been fully populated
to work correctly. On the other hand, do_split_packages()
can only execute after perform_packagecopy(), as it needs
PKGD populated; so it's impossible to insert
do_split_packages() early enough in a deterministic way in
this use-case.
As there doesn't seem to be a reason not to, convert
this to a proper function and use PACKAGE_PREPROCESS_FUNCS
instead - after all, that's what this is meant for.
No other classes or recipes in oe-core or meta-openembededd
seem to have a hard requirement on update-alterantives
executing before any other PACKAGE_PREPROCESS_FUNCS, so
this should be perfectly fine.
The only implication is that if compress_doc is inherited,
compressed man-page file names will end up being, e.g.
eject.1.util-linux.gz
or
eject.1.gz.util-linux
based on the include of compress_doc.bbclass vs.
update-alternatives.bbclass order, but the symlink created
(alternative name) will always be correct.
This solves both problems:
* the code is easier to read / follow
* the above described use-case can be accomodated easily
[YOCTO #13058]
(From OE-Core rev: 8c3db2fa735e5933f842f80321bb3ed38753812d)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While commit fc66762d7c11 ("util-linux: Disable minix support.")
(or e88cee8cc3 in poky) removed most of the bits, there are
still references to minix remaining.
Remove them.
(From OE-Core rev: 577a3723052c4465a7858cd2de05292e67a93cce)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch in question is patching the code to use
qsort() instead of qsort_r(), without adopting the
compare function. This is a major issue, because
the compare function as written is evaluating /
accessing a third argument, which is not passed
with this OE patch, causing access to random
memory.
Given this patch was added so as to support (old)
linux (host) distros which might not provide
qsort_r(), according to the git history, and given
these days util-linux detects availability of
qsort_r() during configure phase, and given musl
builds (which doesn't provide qsort_r() either)
work without problem, the right solution is to
simply drop this invalid patch.
Do so.
(From OE-Core rev: a85f93b4265a20b269085d12326e32915c561e62)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't appear to be a need to manually and
explicitly specificy the major version (for the
download URL), it can be deduced easily from PV.
Do so.
(From OE-Core rev: e07272491e9f4d81a4c3797c585958163657bf9c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently processed being killed by the OOM killer may not be spotted by
ptest-runner. After we complete the tests, check the logs and report if there
were any. This ensures the user is aware of OOM conditions affecting the
ptest results.
(From OE-Core rev: 20a441d53817f80e0ce1597e77f6e794422ac49a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifest creation bug that was masking this file was fixed, rerun and add
the missing file to fix:
File "/usr/lib64/python2.7/SimpleXMLRPCServer.py", line 102, in <module>
import xmlrpclib
ImportError: No module named xmlrpclib
[YOCTO #12814]
(From OE-Core rev: e203b71b06df1e7d73fa300d45c428008a190d00)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I don't see circular dependencies anymore between libusb1 and udev, so
enable udev support for libusb1.
(From OE-Core rev: e585076ed752e67bb5fd1888da7a738a34f3048a)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file src/gpg-error.h.in SHA changed as some new funtion definitions
were added to the header file and the copyright year was updated to
include 2019.
(From OE-Core rev: 9dbc82afb90034aa229591dd41fe25ef83dcf521)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not support g-i for nativesdk, neverthless atk tries and fails.
(From OE-Core rev: 023d2b25f19489af0ee527876789e3bce5674712)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we are now build native gtk+3, it already provides the necessary utilities.
(From OE-Core rev: 7f6c57635ff4e1edf7a46c49af34846ad0a4bf73)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Host-assisted GL in Qemu in theory works with both SDL
and GTK; in practice SDL shows an empty screen. This
prepares the switchover of graphical qemu to use
native gtk, which also provides a neat set of menus to
control the emulator.
(From OE-Core rev: 67819a4d88b7f54b3645628865cbd44376c5d1a7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative is mesa-gl, but it lacks all of the bits that make
accelerated qemu possible.
(From OE-Core rev: 25e835f5681572c4e8ab414adc02fccfd9d7da0c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that only the most minimal necessary subset of mesa is built;
particularly we don't build any drivers as that is offloaded
to the GL implementation provided by the host.
(From OE-Core rev: 621e9872ffd680e659d307a19ef5f65ef3bb36d0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid issue like below if run "bitbake lib32-core-image-minimal"
with series userspace packages(LAMP,krb5...) added.
Add multilib_script support for openssl's c_rehash which is a perl script.
Error: Transaction check error:
file /usr/bin/c_rehash conflicts between attempted installs of
lib32-openssl-bin-1.1.1-r0.armv7at2hf_neon and openssl-bin-1.1.1-r0.aarch64
(From OE-Core rev: a4032f3cc5de451f0e97eca1f0cbe4a310e1560b)
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency on systemd-systemctl-native is only needed if _both_
systemd and sysvinit are in play.
(From OE-Core rev: 3ea08f4b24f8a49c3d5039b62b39d6419cfe234c)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mount can generally figure out the filesystem type from the superblock;
otherwise, /proc/filesystems is a more correct fallback than
/etc/filesystems and presumably always available.
(From OE-Core rev: 4199676383ce50b81c05a4d2b2610c9cdb49342e)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NO_PROXY may contain * elements, and if we are unlucky (or want to match
all hosts with *), we will pick up local files rather than doing the
match in match_host. Quoting helps here.
(From OE-Core rev: 7e216e806ca765152fd874e24785f783a3201284)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes we meet the following failure for the test_lookup_recipe
test case.
AssertionError: 'zlib\nbusybox is in the RPROVIDES of target-sdk-provid[32 chars]ummy' != 'zlib\nbusybox'
zlib
+ busybox- busybox is in the RPROVIDES of target-sdk-provides-dummy:
- target-sdk-provides-dummy
This is because target-sdk-provides-dummy rprovides busybox.
So clean things up to avoid failure.
(From OE-Core rev: b3001770df6640549270361bfaa449cb3e79a0b7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes detecting available signals when configuring perl.
(cnf/configure_sigs.sh)
Without this, running aclocal prints warnings about missing signals,
which can be further demonstraded by running
perl -le 'print for keys %SIG'
(From OE-Core rev: ec638ae0775c79a00b364bc59e099edc8f1f201e)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changeset,
05b112b utils.c: Print DURATION after ERROR
acb5efb utils.c: run_child redirect stderr to stdout
e1062f7 ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling
(From OE-Core rev: f0b3fa049e0395ffc56237404f79975852ce4e4e)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Get rid of further unneeded code complications:
* value mappings we could just direct use
* ftools when we can write files easily ourself
* test result status filtering we don't use
* variable overwriting module imports
(From OE-Core rev: d6065f136f6d353c3054cc3f440a4e259509f876)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge the results handling into the ptest log parser as a seperate
method.
Drop the weird "pass.skip.fail." prefix to the results filename, its
just bizarre.
Drop the code turning a list into a regex then searching the regex for
an item, "x in y" is perfectly capable.
Use a dict, sort the keys as needed and drop the list sorting code.
(From OE-Core rev: f317800e950b4a37b4034133bc52e0c47f04dc29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow parsing of the ptest duration, exit code and timeout keywords
from the logs, returning data on each section.
Also include the logs broken out per section.
(From OE-Core rev: a9a67dccaa5be0f06eedcab46dcff7cbf9202850)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we have a dedicated ptest parser, merge in the remaining ptest
specific pieces to further clarify and simplify the code, moving to
a point where we can consider extending/enhancing it.
(From OE-Core rev: 05991bb5bc8018275d03fdeecee3d5a757840c7c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename the paster to be ptest specific and apply some further cleanups
to the code to simplify and clarify what its doing.
(From OE-Core rev: 45a5886f1ec458d4c306b8d68fd31d568bc36b47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
logparser is only used by ptest. Its slightly overcomplicated as it was
intended to be reusable but wasn't. Simplify it as a dedicated parser is
likely to me more readable and maintainable.
(From OE-Core rev: c7478345b2b4a85cb1fec40e762633871f0e94cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests end up without a section, avoid tracebacks trying to use
None as a string in that case.
(From OE-Core rev: 86fb5d898a29761f120c2eaa538a32cf2e078487)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the submodule processing outside of the if statement to avoid any
optimizations that may happen.
Update the test cases to include the additional case, and split the other
test cases into individual tests to make it easier to figure out what
the failure may be.
(Bitbake rev: 0ec98c01ae50f95c9c74acf53013ac59e0e72b08)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise glib-compile-resources fails when building gtk+3-native.
(From OE-Core rev: 06451327a777e481d5328c3eeb6b9225c8724ac1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libepoxy is a requirement of virglrenderer. Note that we strip
RPATH from the library, as this allows fall-through to the host
GL implementation, instead of attempting (and failing) to use
mesa-native.
(From OE-Core rev: 0070b508259bb187a369a522f2884921b0c4e2fa)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Part of this firmware is a pre-built Linux kernel, so it's both huge (25MB) and
triggers binary security scanners as the kernel is 3.10.87.
(From OE-Core rev: 973befb880094c1d862291be0bdfa74ccdfa0929)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer versions of Icecream (1.2) add support for remotely pre-processing
files, controllable with the ICECC_REMOTE_CPP environment variable.
(From OE-Core rev: 8fe6728536bbee814c421afbbaa2022e0da0f65c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manual test step for SDK is updated. Previously toolchain was "poky-glibc-x86_64-core-image-sato-sdk<type-arch>-toolchain-<release-version>.sh"
But toochain for core-image-sato-sdk is not available in releases after 2.1, hence changed it to "poky-glibc-x86_64-core-image-sato-<type-arch>-toolchain-<release-version>.sh
Other less significant update is to add exepcted result in intermediate test steps.
(From OE-Core rev: f5083ba27e667789c32dcd00bc1b883f4b76bd4f)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
"poky-glibc-x86_64-core-image-sato-<type-arch>-toolchain-<release-version>.sh"
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added json file for compliance test cases to the manual runtime tests
(From OE-Core rev: 946f37d57f7b23c7875089ed98be9148ccc05890)
Signed-off-by: Sudhir Sharma <sudhirx.sharma@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Added CVE tag, Upstream-Status tag and Sign-off-by tags.
* Removed the verification of the entry length in the header
* Squashed CVE-2018-16865 patches into one
* CVE-2018-16866 patch now taken from systemd-stable and includes
an additional heap buffer overflow fix.
(From OE-Core rev: bc79395e2fcb886f224a4ad837fd93c779d2c53d)
Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defsault armtunes do not include -march any longer we habe -mcpu
only, therefore to select right ISA we need to keep mcpu
(From OE-Core rev: a8ab78824575bdfcdb9efe89378951d734c1cfa9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tune files which inherit the arch definitions already define appropriate
-mcpu option, which is equivalent of right -march and -mtune combination
and is preferred since gcc is getting stricter and stricter with option
check semantics and can now find incompatible -march and -mcpu options
better with every release. It does internal feature consistency check
and if it finds out discrepency between what -mcpu would expand to as
compared to -march it will flag the options to be incompatible, for
naked eye it sounds wrong but gcc would translate -mcpu to a given
-march internally and it might not match to what we set in these arch
files.
The effects are quite subtle, where this can result in configure test
failing to compile due to these incompatible options and a feature
option getting disabled for a recipe for no reason.
e.g. with gcc9 which can now detect that -mcpu=cortex-a5 and
-march=armv7-a are incompatible, many features in libstdc++ ends up
disabled due to configure check failures e.g. size_t size, ptrdiff_t
sizes, which inturn results in compiling libstdc++ with unwanted
disabled features.
(From OE-Core rev: ac83d22eb5031f7fdd09d34a1a46d92fd3e39a3c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes the default PACKAGE_DEBUG_SPLIT_STYLE to generate separate
source and debug packages. SDKIMAGE_FEATURES is updated to include the
source packages so that there is not change for the SDK contents.
[YOCTO #12931]
(From OE-Core rev: 8df14b678e44cc749b361224af05ccbcfa9ae9b5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a limitation of libtool where it is not aware of compiler-rt
being a compiler internal library, this patch fixes it
(From OE-Core rev: ebc96f2f612ebc1b7aefb06935bb308fc2e40cfd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 68552c353255 "perl: remove the previous version of the recipe"
dropped 0001-Makefile.SH-Pod-Simple-requires-Getopt-Long.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: 87a646cf3115bff10bbc6a85e9d79b93fde2379f)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 5bb47984af79 "subversion: 1.9.7 -> 1.10.0" dropped
serf.m4-Regex-modified-to-allow-D-in-paths.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 803d834780cb9380e19209f2bb93953ac3cb6165)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 85b76e52d206 "connman: update to 1.36" dropped
0001-inet-Add-prefixlen-to-iproute_default_function.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Oleksandr Kravchuk <dev@sashko.rv.ua>
(From OE-Core rev: 484411dda6e0c56fffc5db8a4daaeee5c79ab17c)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 7cb42ae87ef9 "dhcp: update 4.4.1" dropped
0008-tweak-to-support-external-bind.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Armin Kuster <akuster808@gmail.com>
(From OE-Core rev: 92a2a320294e38fbed2bf9c557fb099f392d8a54)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit "c37207d0aca5 bind: update to ESV version 9.11.3" dropped
0001-build-use-pkg-config-to-find-libxml2.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Armin Kuster <akuster808@gmail.com>
(From OE-Core rev: 6d624b57397fce4ac98b98e8f47cd95336e44122)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit "f63965c0f9fc lttng: uprev to 2.10.7" dropped
0001-Fix-btrfs-Remove-unnecessary-fs_info-parameter.patch
from recipe, but left the patch itself in source tree.
Remove this patch since nobody uses it.
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 918c67a3fafbe4b77bab379ff652a986044b7a79)
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a SRC_URI content ends with '.patch' bitbake is
trying to apply it as it's a patch file.
It causes that if we use git repository for 'patch' package
the bare clone is extracted to a directory
(i.e. build/downloads/git2/git.mirror.org.patch/) which is considered
to be a patch file, so patch.py tries to apply that directory as a patch
which ends up with a failure.
(From OE-Core rev: 1e38d74a2ca7638b1f54e2bb5617903c2683e484)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to pkg_postinst_ontarget were not triggering rebuilds, this fixes
that.
[YOCTO #13127]
(From OE-Core rev: 432d5a5481bd8efb848b95fbe6500a72fba9ac65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch is now a backport as it was merged upstream.
(From OE-Core rev: 5c7322145efdf465ed91f7b9c693bdf7e8bfb25d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the recipe would not be rebuilt when enable/disable DEBUG_BUILD.
(From OE-Core rev: e9b21f586980f6d4fbb213845f5e788b6c8d3813)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes dbg work for native tools, and makes debug native tools problem
easier, otherwise, there is no symbol since trippped.
(From OE-Core rev: 1d903485da26fec991b4a940182e32934220e19b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake-native requires --enable-ccache to enable ccache, target recipe doesn't
need this since it is already handled by cmake.bbclass.
(From OE-Core rev: 815056cb595c0f57b4d8867387420fe3bb28bdb2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ export CCACHE_DEBUG=1
$ ccache gcc -c hello.c -o /dev/null
Segmentation fault (core dumped)
This is because failed to open /dev/null.foo (Permission denied), check file
stream before write to it can fix the problem.
(From OE-Core rev: 78a24b3a1eae04e5f4744f320e4ccbb8bfe17b9a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rebased 0002-dev.mk.in-fix-file-name-too-long.patch and sent it to upstream,
and got merged.
* The LIC_FILES_CHKSUM is changed because of year updated.
(From OE-Core rev: c2e17047b99a0d445dbe91b43d0744bfaa54c580)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this was done via bitbake tasks, and when this
was rewritten to a for loop, performance sufered significantly:
from 90 seconds to about 12 minutes for oe-core. This change
restores the previous run time, and makes it possible
to perform such checks with command line utilities in an
interactive way.
Implementation note: we have to create a copy of the recipe
data, as Tinfoil API can't be used from multiple threads
and only allows one process to access the data at a time.
(From OE-Core rev: b1d01911fa2a0a4945da071d66fb50e9f14ded81)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This in particular saves build times for virgl oe-selftest.
(From OE-Core rev: 7f1f3b45329ea3f43d0ede003e8daa9866bf9f6e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is particularly useful when setting up GL tests.
(From OE-Core rev: 167a46775059b782c6f82ce8c5a47b27262e95d4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I am not sure why we do this in the first place, but it is causing
cmake to erroneously pick up items from the native sysroot
when building for the target and the target item is missing, for example:
https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/198/steps/7/logs/step2c
Note that for executable programs this variable is not referred to,
as set by
set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER )
in the same file.
(From OE-Core rev: cd1c0a0631ad128b25e97f047750579caead051a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The few cases where they failed should be now all fixed. The only allowed
exception is when building mingw32 SDKs, as there is currently no support for running
postinst_intercepts through wine.
(From OE-Core rev: 3dd2fea51110950ec3d8c444f599ff855b4b936c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building nativesdk- package, MACHINE_FEATURES do not apply as they are
specified only for target machines, not ones hosting the sdk.
(From OE-Core rev: 3ae634853a034a322593d318502ea2ee799556f7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both installing the binary into the correct place, and passing that place
to postinst_intercept were missing.
(From OE-Core rev: 9ac7415464b7817aa5cc0c2167ff61f4344660dd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the submodule is in a subdirectory, it needs to have that structure
preserved. This means the unpack path needs to be in the 'dirname' of the
final path -- since the unpack directory name is specified in the URI.
Additional specific test cases were added to ensure this is working properly
based on two recent error reports.
(Bitbake rev: 8c8ecec2a722bc2885e2648d41ac8df07bdf660d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior code happened to work with relative URLs, when the code was recently
restructured it caused all relative urls to no longer work. Restore the prior
code flow for relative support and better comment why that code is there.
(Bitbake rev: 14bb383af0ca98e0e04ec217e537b6a899f3658e)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration change for riscv serial:
Author: Alistair Francis <Alistair.Francis@wdc.com>
Date: Tue Jan 22 18:55:04 2019 +0000
qemuriscv64: Enable the 8250 serial driver
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(From OE-Core rev: d85d529e967a8f092fb2085d1d3c24370d751309)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ptest data are installed to PTEST_PATH ?= "${libdir}/${BPN}/ptest".
When libdir isn't "/usr/lib", it will cause "No ptests found" error
when running "ptest-runner" command. Here pass libdir to
DEFAULT_DIRECTORY when compiling to avoid that error.
Need update ptest-runner source code to get the new commit:
<ptest-runner: make DEFAULT_DIRECTORY be able to be defined when compiling>
(From OE-Core rev: 1447afd62035f42344a32a487bec408e6563d5f6)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When executing eSDK test case, the following error appears.
WARNING: attempting to use the extensible SDK in an environment
set up to run bitbake - this may lead to unexpected
results. Please source this script in a new shell session
instead.
FileExistsError: [Errno 17] File exists: '/.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-fcuyzsqu/tmp/sysroots/x86_64/bin/pigz' -> '/.../tmp/hosttools/pigz'
So unset these two vars to avoid messing things up.
(From OE-Core rev: bc07d825ce8bb3b337623c232fef61f2781c82af)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When removing the temporary directory, it's possible that bitbake.lock
file is removed by bitbake during the cleanup. And this leads to the
following error.
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.lock'
So add a check to remove this file before cleaning up the temporary
directory.
(From OE-Core rev: 984f56b37bd0014e5bf9509fc8ed181973e61773)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, there would be build errors in the following 2 cases:
* define HAVE_POSIX_FADVISE
Or:
* undef HAVE_POSIX_FADVISE
(From OE-Core rev: 6452ccd1f0a2b114fca70d587cb8ed26b189baf3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can save configure time since it runs configure multiple times:
$ time bitbake gcc-runtime -cconfigure
60s -> 54s
Saved 6s
(From OE-Core rev: 48cc7179ffeb89adf1ba5212338b958684e43962)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can save configure time since it runs configure multiple times:
$ time bitbake ncurses-native -cconfigure
35s -> 25s
Saved 10s
(From OE-Core rev: 5607ae1ca59fa899ba7507ecfda7c7b0e6bf022f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can save configure time since it runs configure multiple times:
$ time bitbake gettext-native -cconfigure
2m22s -> 2m2s
Saved 20s
(From OE-Core rev: d1d96f3a0247c9adef8c388f18d655fcb17c5ad5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a race issue when do_install:
Generating wrapper script for
/path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1
mv: cannot stat
/path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1:
No such file or directory
(From OE-Core rev: 70859e12a1ea17a6b924f720f3677adcb7e87e0a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When changing the SSTATE_SCAN_FILES variable in a recipe it doesn't cause a rebuild,
so if there's a sstate-cache available with "bad" sstate data in it that will still
be used even though the recipe is updated to address this.
[YOCTO #13144]
(From OE-Core rev: ea3526961920a229e0bb5fb459952be89fce2255)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* As far as I can see nothing uses it
* From commit history it seems distutils-tools came in accidentally
(From OE-Core rev: a4edfa4cf451bf412525887b5b24b9db6486ae97)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Until qemuarma15 is a drop in replacement for the existing versatile
qemuarm emulation, it shouldn't match on qemuarm as a machine
definition. Since the difference in capabilities will cause unexpected
issues at runtime.
(From OE-Core rev: a56298f2d0f6590774e4e1454b85d7be301dfb44)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If DISTRO_VERSION is defined using an override, e.g., by defining it
in auto.conf as DISTRO_VERSION_forcevariable, then the unoverridden
value was still used in SDK_VERSION since it was defined using the :=
operator. However, there should be no reason to define SDK_VERSION
this way.
Also use getVar to access the variable to ensure tracebacks from problems
are less confusing.
[RP: Tweaked commit message]
(From meta-yocto rev: 74f43fb82a93eecfe7519a87fdf1cb0152d56b48)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a COMPLEMENTARY_GLOB for source packages (*-src) so that they can be
included when PACKAGE_DEBUG_SPLIT_STYLE is "debug-with-srcpkg"
[YOCTO #12931]
(From OE-Core rev: d6d2175032c6c950a0d8d63dad0734e1a9f80e12)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The check_commits logic assumes that both devtool-base and args.branch
exist in the git repo that it is operating on. In order to prevent
errors at that point it's best to first ensure that both of these refs
actually exist. If they don't both exist then the check_commits logic
should just be skipped, as it would be if the repo wasn't originally
checked out by devtool.
Previously if a user removed the args.branch branch from their devtool
cloned repo this code would crash on adding the repo with -n. The crash
would look like this:
Traceback (most recent call last):
File "/home/ddedrick/src/poky/scripts/devtool", line 344, in <module>
ret = main()
File "/home/ddedrick/src/poky/scripts/devtool", line 331, in main
ret = args.func(args, config, basepath, workspace)
File "/home/ddedrick/src/poky/scripts/lib/devtool/standard.py", line 812, in modify
(stdout, _) = bb.process.run('git log devtool-base..%s' % branch, cwd=srctree)
File "/home/ddedrick/src/poky/bitbake/lib/bb/process.py", line 178, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git log devtool-base..devtool' failed with exit code 128:
fatal: ambiguous argument 'devtool-base..devtool': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
(From OE-Core rev: f13a3490fdb404bbd4c77e45b83540d6deec1358)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DEVTOOL_EXTRA_OVERRIDES only needs one entry for each instance of
overrides. Previous to these changes it would find every override to
SRC_URI and add it to the list. This would duplicate instances where
SRC_URI is modified multiple times with the same override like:
SRC_URI_append_foo += "file://0001-foo.patch"
SRC_URI_append_foo += "file://0002-bar.patch"
A bbappend might also overwrite a SRC_URI override, which would also
cause multiple instances to occur.
When there are multiple instances of the same override in
DEVTOOL_EXTRA_OVERRIDES it causes devtool modify to fail when creating
override branches. The failure occurs when attempting to create the same
override branch a second time and looks like this:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:devtool_post_patch(d)
0003:
File: '/build/poky/meta/classes/devtool-source.bbclass', lineno: 202, function: devtool_post_patch
0198:
0199: for override in extra_override_list:
0200: localdata = bb.data.createCopy(d)
0201: if override in default_overrides:
*** 0202: bb.process.run('git branch devtool-override-%s %s' % (override, devbranch), cwd=srcsubdir)
0203: else:
0204: # Reset back to the initial commit on a new branch
0205: bb.process.run('git checkout %s -b devtool-override-%s' % (initial_rev, override), cwd=srcsubdir)
0206: # Run do_patch function with the override applied
File: '/build/poky/bitbake/lib/bb/process.py', lineno: 178, function: run
0174: if not stderr is None:
0175: stderr = stderr.decode("utf-8")
0176:
0177: if pipe.returncode != 0:
*** 0178: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0179: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of 'git branch devtool-override-foo devtool' failed with exit code 128:
fatal: A branch named 'devtool-override-foo' already exists.
(From OE-Core rev: 90f667db2219f04e6d61588cd61056d3d8da6d7d)
Signed-off-by: Dan Dedrick <ddedrick@lexmark.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perl-native checks xlocale.h on build machine. But xlocale.h has been
removed by glibc already. When use share state caches between machines
that one has xlocale.h but the other one doesn't, it causes packages
which depend on perl-native such as libdbi-perl-native fails to compile:
| In file included from DBIXS.h:23,
| from Perl.xs:7:
| .../tmp-glibc/work/x86_64-linux/libdbi-perl-native/1.642-r0/recipe-sysroot-native/usr/lib/perl5/5.28.1/x86_64-linux/CORE/perl.h:723:13:
| fatal error: xlocale.h: No such file or directory
| # include <xlocale.h>
| ^~~~~~~~~~~
| compilation terminated.
Unset configure symbol i_xlocale for perl-native to fix the issue.
(From OE-Core rev: ad6a8fae67acd291b9d7f554ae1a8c621b51fded)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates the output hash calculation for determining if tasks are
equivalent. The new algorithm does the following based on feedback:
1) The output hash function was moved to the OE library.
2) All files are printed in a single line tabular format
3) Prints the file type and mode in a user-friendly ls-like format
4) Includes the file owner and group (by name, not ID). These are only
included if the task is run under pseudo since that is the only time
they can be consistently determined.
5) File size is included for regular files
(From OE-Core rev: 4bd297dfe92851f3b44f6b5560bac9d8f9ccf9f2)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't want references including shell parameter expansion modifiers
(i.e. `:-`, `#`, `%%`, etc) to be added to our vardeps, so add a test to
ensure this.
YOCTO #12987
(Bitbake rev: be022085fe1ea1b9a9d519f0455883e2da363d2c)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This aligns the behavior of expansion with the recipe parser, only
attempting to expand references to valid variable names. This avoids
adding references for things like `${foo#${TOPDIR}}` to our vardeps
without imposing much additional processing overhead beyond the change
to the expansion regexp.
YOCTO #12987
(Bitbake rev: df2ac65370aa86cdbc1574fdede25e3519410e45)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following two commits that prepare for an update of
'qemuarm' to an a15 based emulation.
[
Author: Jon Mason <jdmason@kudzu.us>
Date: Fri Jan 18 16:45:28 2019 -0500
qemuarma15: Add Real-Time and Tiny configs
Add tiny and Real-Time configs. Also, add kmachine name to standard
config to allow for BSP renaming.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Author: Jon Mason <jdmason@kudzu.us>
Date: Fri Jan 18 16:45:27 2019 -0500
qemuarm: Add qemuarmv5 kmachine name
Add alternative kmachine name to allow for the configs to be used by
soon-to-be-renamed BSPs.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 10aae50df0febb83fe1570405ac2b8b265365052)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The arm-tiny reference picked up a cut and paste error from 4.15.
While the SRCREV is correct, the KBRANCH is not. We fix that by
making it match the 4.19 reality.
(From OE-Core rev: a105af42640a1d022ba43fab37ecb27ceb800183)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmaker that comprise the
following commits:
e07895ef36e2 Linux 4.18.25
735782c616aa drm/rockchip: psr: do not dereference encoder before it is null checked.
90d4d21063af drm/vc4: Set ->is_yuv to false when num_planes == 1
5758821188c7 drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()
8a79f6e48dc7 lib: fix build failure in CONFIG_DEBUG_VIRTUAL test
c85e10aa1ea6 of: __of_detach_node() - remove node from phandle cache
d7ba3e8331c7 of: of_node_get()/of_node_put() nodes held in phandle cache
9739deeff0bf power: supply: olpc_battery: correct the temperature units
2e4bfb04a730 intel_th: msu: Fix an off-by-one in attribute store
233fc3ff6d19 genwqe: Fix size check
3722e178318e drivers/perf: hisi: Fixup one DDRC PMU register offset
e7153ded4c17 ceph: don't update importing cap's mseq when handing cap export
96c39638d19f sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c
f73f80f3cff6 iommu/vt-d: Handle domain agaw being less than iommu agaw
87310c3e7901 RDMA/srpt: Fix a use-after-free in the channel release code
49cb944dbb54 rxe: fix error completion wr_id and qp_num
9c1e8e00a232 9p/net: put a lower bound on msize
595eab91d583 iio: dac: ad5686: fix bit shift read register
6930d7e4b110 powerpc/tm: Set MSR[TS] just prior to recheckpoint
da655a6fd9a9 powerpc/tm: Unset MSR[TS] if not recheckpointing
6c968fff7e66 leds: pwm: silently error out on EPROBE_DEFER
d92af6def7be arm64: relocatable: fix inconsistencies in linker script and options
5c7ffec8c4a1 arm64: drop linker script hack to hide __efistub_ symbols
231c17d7fe6d lockd: Show pid of lockd for remote locks
bb36bf436ae9 PCI / PM: Allow runtime PM without callback functions
109e48764a2d selinux: policydb - fix byte order and alignment issues
a608335e8a1c b43: Fix error in cordic routine
ce624ec2363b gfs2: Fix loop in gfs2_rbm_find
7b0eb99a925c gfs2: Get rid of potential double-freeing in gfs2_create_inode
2e8e0dc1bbff dlm: memory leaks on error path in dlm_user_request()
20e150ecbb17 dlm: lost put_lkb on error path in receive_convert() and receive_unlock()
eb1cbd2d152c dlm: possible memory leak on error path in create_lkb()
700687f3cb98 dlm: fixed memory leaks after failed ls_remove_names allocation
c45cc3521032 block: mq-deadline: Fix write completion handling
9d3b67453638 block: deactivate blk_stat timer in wbt_disable_default()
53a5e3001ad1 Fix failure path in alloc_pid()
1da2e8ee069f driver core: Add missing dev->bus->need_parent_lock checks
8fb38bca0d9a srcu: Lock srcu_data structure in srcu_gp_start()
fabb4446a87b ALSA: usb-audio: Always check descriptor sizes in parser code
eaf28235170f ALSA: usb-audio: Fix an out-of-bound read in create_composite_quirks
1a814f226eee ALSA: usb-audio: Check mixer unit descriptors more strictly
974f484d8ff9 ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit()
7fac2a4ca7d3 ALSA: cs46xx: Potential NULL dereference in probe
a489f553dc12 media: cx23885: only reset DMA on problematic CPUs
4c7d8d7c1308 raid6/ppc: Fix build for clang
dabfa8988258 powerpc: Disable -Wbuiltin-requires-header when setjmp is used
71a4448d5e50 powerpc: avoid -mno-sched-epilog on GCC 4.9 and newer
77355e0e98c6 powerpc: consolidate -mno-sched-epilog into FTRACE flags
0f5ac11d097d powerpc: remove old GCC version checks
9fcbfe720a66 sunrpc: use SVC_NET() in svcauth_gss_* functions
192b590d4aec sunrpc: fix cache_head leak due to queued request
c7c58f2faee2 mm, swap: fix swapoff with KSM pages
8289463a7e9d mm, hmm: mark hmm_devmem_{add, add_resource} EXPORT_SYMBOL_GPL
1a799c400ed1 mm, hmm: use devm semantics for hmm_devmem_{add, remove}
0c99af45252a mm, devm_memremap_pages: add MEMORY_DEVICE_PRIVATE support
59333a88f665 kernel/memremap, kasan: make ZONE_DEVICE with work with KASAN
58bc5ba9a00d mm, devm_memremap_pages: fix shutdown handling
948d528a2a6f mm, devm_memremap_pages: kill mapping "System RAM" support
df07b8f0fb0a mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL
ebd7e55e0733 hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined
959653a9bf73 zram: fix double free backing device
8b9b4edba3be fork: record start_time late
b901d884c9e8 scsi: lpfc: do not set queue->page_count to 0 if pc_sli4_params.wqpcnt is invalid
82485bca00f2 scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown
773911d8b527 auxdisplay: charlcd: fix x/y command parsing
49c70d21c358 serial/sunsu: fix refcount leak
0ec65d840ea3 qmi_wwan: Fix qmap header retrieval in qmimux_rx_fixup
0438f1ea114b net: netxen: fix a missing check and an uninitialized use
1567f283e00e Input: synaptics - enable SMBus for HP EliteBook 840 G4
a3913c9c9c8c gpio: mvebu: only fail on missing clk if pwm is actually to be used
9e1a572ef0b5 lan743x: Remove MAC Reset from initialization
3cda7e7e3ecb virtio: fix test build after uio.h change
09d4f9477813 kbuild: fix false positive warning/error about missing libelf
02b8b59bea29 mac80211: free skb fraglist before freeing the skb
6499acbbd54f nl80211: fix memory leak if validate_pae_over_nl80211() fails
65fbf8702ff9 vxge: ensure data0 is initialized in when fetching firmware version information
6eee1a4d51f3 lan78xx: Resolve issue with changing MAC address
a200d52163e4 net: macb: add missing barriers when reading descriptors
8bbf0bc96ad7 net: macb: fix dropped RX frames due to a race
acbf1fb508aa net: macb: fix random memory corruption on RX with 64-bit DMA
02c208c4c6b2 qed: Fix an error code qed_ll2_start_xmit()
88f38f2f554e SUNRPC: Fix a race with XPRT_CONNECTING
78f44c6b4abc net: hns: Fix ping failed when use net bridge and send multicast
028ea5c9d17a net: hns: Add mac pcs config when enable|disable mac
4f6210aba92c net: hns: Fix ntuple-filters status error.
02c9ec12dd21 net: hns: Avoid net reset caused by pause frames storm
1a4c0bc47d5e net: hns: Free irq when exit from abnormal branch
3153ec7cf997 net: hns: Clean rx fbd when ae stopped.
716fc005da40 net: hns: Fixed bug that netdev was opened twice
dd3287b18cf8 net: hns: Some registers use wrong address according to the datasheet.
23cccfe76598 net: hns: All ports can not work when insmod hns ko after rmmod.
4982bfce35ef net: hns: Incorrect offset address used for some registers.
90bd8d1a20b2 w90p910_ether: remove incorrect __init annotation
c392d1a12520 net/tls: Init routines in create_ctx
1e623fa0042c drivers: net: xgene: Remove unnecessary forward declarations
ecd5c4ebb822 x86, hyperv: remove PCI dependency
81dae7a1df1c mt76: fix potential NULL pointer dereference in mt76_stop_tx_queues
e28b6d2c57b5 scsi: target: iscsi: cxgbit: add missing spin_lock_init()
68d361ffeabd scsi: target: iscsi: cxgbit: fix csk leak
6c1b3803a6e3 bnx2x: Send update-svid ramrod with retry/poll flags enabled
3acfa2246629 bnx2x: Clear fip MAC when fcoe offload support is disabled
7e20b7779059 netfilter: nat: can't use dst_hold on noref dst
e3a08d34d535 netfilter: ipset: do not call ipset_nest_end after nla_nest_cancel
48f3cb1f4e86 i40e: fix mac filter delete when setting mac address
5d04bcd6e69e ieee802154: ca8210: fix possible u8 overflow in ca8210_rx_done
f53ba1853ffd ibmvnic: Fix non-atomic memory allocation in IRQ context
34bd82d476ad ibmvnic: Convert reset work item mutex to spin lock
0a597b1ccd73 Input: synaptics - enable RMI on ThinkPad T560
014633247654 Input: omap-keypad - fix idle configuration to not block SoC idle states
a284212b45ed scsi: bnx2fc: Fix NULL dereference in error handling
e639597419e9 Revert "scsi: qla2xxx: Fix NVMe Target discovery"
cea74ed31970 netfilter: seqadj: re-load tcp header pointer after possible head reallocation
b139c854a00a xfrm: Fix bucket count reported to userspace
d3353f400809 checkstack.pl: fix for aarch64
ca5e170a8f47 drm/amdgpu: Fix DEBUG_LOCKS_WARN_ON(depth <= 0) in amdgpu_ctx.lock
fe69ecd10177 powerpc/mm: Fallback to RAM if the altmap is unusable
50a6a1e7140b Input: restore EV_ABS ABS_RESERVED
495cd33a97d6 ARM: dts: imx7d-nitrogen7: Fix the description of the Wifi clock
8d8cbaca6ba2 ARM: imx: update the cpu power up timing setting on i.mx6sx
b930167e8ec5 ARM: dts: imx7d-pico: Describe the Wifi clock
4ef7a4b98ce3 HID: ite: Add USB id match for another ITE based keyboard rfkill key quirk
e5a9a47bd51a powerpc/mm: Fix linux page tables build with some configs
251058825091 powerpc: Fix COFF zImage booting on old powermacs
d113f206d275 ARM: dts: sun8i: a83t: bananapi-m3: increase vcc-pd voltage to 3.3V
26068dd8b8cf Linux 4.18.24
aec6f6bc5108 MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y
edc9f994d18e spi: bcm2835: Unbreak the build of esoteric configs
7675f3ad41aa tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x
62c528f41b75 arm64: compat: Avoid sending SIGILL for unallocated syscall numbers
fe9ecf948b3f iommu/arm-smmu-v3: Fix big-endian CMD_SYNC writes
daf79a7eff57 KVM: arm/arm64: vgic: Fix off-by-one bug in vgic_get_irq()
4e397462644c KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state
679602791d84 KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum
c48ea7b2f18b KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled
c96e540c5472 rtc: m41t80: Correct alarm month range with RTC reads
728bdad63d25 ARM: dts: exynos: Specify I2S assigned clocks in proper node
85157899ecd7 arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs
61f42110c833 arm64: KVM: Avoid setting the upper 32 bits of VTCR_EL2 to 1
3b0dec9f506f CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem
9829db6a18eb MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
cee82d1ae17b MIPS: Expand MIPS32 ASIDs to 64 bits
c808d70b9e27 MIPS: Align kernel load address to 64KB
eb8af7549685 MIPS: Ensure pmd_present() returns false after pmd_mknotpresent()
45bff3e8e6a5 MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
9c6f89bc1709 MIPS: math-emu: Write-protect delay slot emulation pages
7f7b89296833 tools lib traceevent: Fix processing of dereferenced args in bprintk events
b8a224716756 media: v4l2-tpg: array index could become negative
6f9be5d7e3f3 media: vb2: check memory model for VIDIOC_CREATE_BUFS
11f1d3879a7d media: vivid: free bitmap_cap when updating std/timings/etc.
cb40fc23227e media: imx274: fix stack corruption in imx274_read_reg
b64ba5d0b731 media: rc: cec devices do not have a lirc chardev
4e3ad74d0a78 media: cec-pin: fix broken tx_ignore_nack_until_eom error injection
2696fefea8a6 media: cec: keep track of outstanding transmits
fd247353c0f9 serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly
22fcd1b2f73e f2fs: sanity check of xattr entry size
29c1ff73b20b f2fs: fix validation of the block count in sanity_check_raw_super
cb1c54a6a7d5 brcmfmac: Fix out of bounds memory access during fw load
a9a25c4bd9bb brcmfmac: fix roamoff=1 modparam
146ef869a043 Btrfs: send, fix race with transaction commits that create snapshots
ba440c3c4a27 btrfs: run delayed items before dropping the snapshot
6ba644894048 Btrfs: fix fsync of files with multiple hard links in new directories
593a1bdf137a btrfs: skip file_extent generation check for free_space_inode in run_delalloc_nocow
6eb353db8d32 btrfs: dev-replace: go back to suspend state if another EXCL_OP is running
e113e7d0b41f btrfs: dev-replace: go back to suspended state if target device is missing
cbf669bb140f cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.
cdb991cbe9ca cgroup: fix CSS_TASK_ITER_PROCS
d9d96d8f9665 crypto: cfb - fix decryption
c29db9d0e70c crypto: testmgr - add AES-CFB tests
f35387186793 crypto: chcr - small packet Tx stalls the queue
57d999759174 crypto: cavium/nitrox - fix a DMA pool free failure
a040dc4c332a clk: sunxi-ng: Use u64 for calculation of NM rate
25bfefc210fd clk: rockchip: fix typo in rk3188 spdif_frac parent
78f1e2ce6bec spi: bcm2835: Avoid finishing transfer prematurely in IRQ mode
ce8fd4553894 spi: bcm2835: Fix book-keeping of DMA termination
2ed14d56eb9a spi: bcm2835: Fix race on DMA termination
fdfc740438e4 ext4: fix special inode number checks in __ext4_iget()
8912afbd5a69 ext4: check for shutdown and r/o file system in ext4_write_inode()
0fd748f86521 ext4: force inode writes when nfsd calls commit_metadata()
743da24c6365 ext4: avoid declaring fs inconsistent due to invalid file handles
5636580f533c ext4: include terminating u32 in size of xattr entries when expanding inodes
398f2e6ee30e ext4: fix EXT4_IOC_GROUP_ADD ioctl
f22c319b9afa ext4: missing unlock/put_page() in ext4_try_to_write_inline_data()
3c6a7b0029a9 ext4: fix possible use after free in ext4_quota_enable
8ec2e8ccc275 ext4: add ext4_sb_bread() to disambiguate ENOMEM cases
2253b6438f00 ocxl: Fix endiannes bug in read_afu_name()
031013077a31 ocxl: Fix endiannes bug in ocxl_link_update_pe()
bff7ed6c9727 perf pmu: Suppress potential format-truncation warning
ccd3a28ebefd clocksource/drivers/arc_timer: Utilize generic sched_clock
a08eae1dccb6 DRM: UDL: get rid of useless vblank initialization
3b278133c061 drm/v3d: Skip debugfs dumping GCA on platforms without GCA.
dce6965d4e91 platform-msi: Free descriptors in platform_msi_domain_free()
26712157a7e8 KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails
f5a53ddee2a0 arm64: KVM: Make VHE Stage-2 TLB invalidation operations non-interruptible
4224dc370109 KVM: x86: Use jmp to invoke kvm_spurious_fault() from .fixup
43df8745c955 Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G
de2c125b1e40 s390/pci: fix sleeping in atomic during hotplug
c96a4e056b97 staging: wilc1000: fix missing read_write setting when reading data
4f30183ffc00 media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER
af84c969f481 usb: roles: Add a description for the class to Kconfig
f6019125567c usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()
dadfc9d5b5c4 USB: serial: option: add Fibocom NL678 series
d589d1192b88 USB: serial: pl2303: add ids for Hewlett-Packard HP POS pole displays
836492f91017 usb: dwc2: host: use hrtimer for NAK retries
0c046d05b49c ALSA: hda/tegra: clear pending irq handlers
03cfeaa90d58 ALSA: firewire-lib: use the same print format for 'without_header' tracepoints
012b3d3a29f0 ALSA: firewire-lib: fix wrong assignment for 'out_packet_without_header' tracepoint
852d675f1d0c ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
a84e166fe7f2 ALSA: fireface: fix for state to fetch PCM frames
5e20e79d9939 ALSA: hda: add mute LED support for HP EliteBook 840 G4
ea84faf00d17 mtd: rawnand: marvell: prevent timeouts on a loaded machine
a941558bd40c mtd: atmel-quadspi: disallow building on ebsa110
90a23a9a0a4b ALSA: emux: Fix potential Spectre v1 vulnerabilities
be9ee86f4eee ALSA: pcm: Fix potential Spectre v1 vulnerability
4c9cf57302b4 ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities
48c20b51db1e ALSA: rme9652: Fix potential Spectre v1 vulnerability
0e48718ccbbc IB/hfi1: Incorrect sizing of sge for PIO will OOPs
7eff9c1500e1 net/mlx5e: RX, Fix wrong early return in receive queue poll
4717407dfe21 mlxsw: core: Increase timeout during firmware flash process
11acf8fbd110 qed: Fix command number mismatch between driver and the mfw
865270a3cb40 net/mlx5e: RX, Verify MPWQE stride size is in range
423f90f819f6 net/mlx5e: Cancel DIM work on close SQ
63e31b4cc7a1 mscc: Configured MAC entries should be locked.
a6988f6f3fb8 ipv6: route: Fix return value of ip6_neigh_lookup() on neigh_create() error
20b706e8bf44 nfp: flower: ensure TCP flags can be placed in IPv6 frame
2d7aa068e5ea net/ipv6: Fix a test against 'ipv6_find_idev()' return value
9685169f3280 ipv6: frags: Fix bogus skb->sk in reassembled packets
e3d4855a5aea net/mlx5e: Remove the false indication of software timestamping support
f28566f8d6c1 tipc: check group dests after tipc_wait_for_cond()
1e5ef82d6ba3 net/mlx5: Typo fix in del_sw_hw_rule
afe50f0b53fc xen/netfront: tolerate frags with no data
51125e14bcd9 VSOCK: Send reset control packet when socket is partially bound
d99050a5b574 vhost: make sure used idx is seen before log in vhost_add_used_n()
4ce7430e49b2 tipc: use lock_sock() in tipc_sk_reinit()
ce57d1d97f83 tipc: fix a double kfree_skb()
a95f3e4813ba tipc: fix a double free in tipc_enable_bearer()
813c817626cd tipc: compare remote and local protocols in tipc_udp_enable()
2d9a3dc2539e tipc: check tsk->group in tipc_wait_for_cond()
c934db384fcf tcp: fix a race in inet_diag_dump_icsk()
9c4201f36ac8 sock: Make sock->sk_stamp thread-safe
3f95e9533d48 sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event
e01f35c50eec qmi_wwan: Add support for Fibocom NL678 series
c4889ffd91f4 qmi_wwan: Added support for Telit LN940 series
02df72acc8d0 qmi_wwan: Added support for Fibocom NL668 series
7fdbc7a1e2ae ptr_ring: wrap back ->producer in __ptr_ring_swap_queue()
5e3a73f0075c net/wan: fix a double free in x25_asy_open_tty()
01ff438449fe net: stmmac: Fix an error code in probe()
570725e3eb49 net/smc: fix TCP fallback socket release
b093b2bcb009 netrom: fix locking in nr_find_socket()
39eead897120 net: phy: Fix the issue that netif always links up after resuming
21e87a82fa5c net: macb: restart tx after tx used bit read
e76b3cc898a3 net/hamradio/6pack: use mod_timer() to rearm timers
b69120829e6e isdn: fix kernel-infoleak in capi_unlocked_ioctl
4099e52fdca2 ip: validate header length on virtual device xmit
5cd2dc4cbf28 ipv6: tunnels: fix two use-after-free
99b91aad172d ipv6: explicitly initialize udp6_addr in udp_sock_create6()
dd6292ddd74d ipv4: Fix potential Spectre v1 vulnerability
5476a3d1c7aa ip6mr: Fix potential Spectre v1 vulnerability
98b15b0c0f6d ieee802154: lowpan_header_create check must check daddr
d6025c2f233b ibmveth: fix DMA unmap error in ibmveth_xmit_start error path
6e2e801ef5e9 gro_cell: add napi_disable in gro_cells_destroy
d347cc2d0383 ax25: fix a use-after-free in ax25_fillin_cb()
3ea51578ff5f drm/ioctl: Fix Spectre v1 vulnerabilities
42ef003d4562 proc/sysctl: don't return ENOMEM on lookup when a table is unregistering
3a4e7b8d4815 Input: elantech - disable elan-i2c for P52 and P72
29eb38509a18 mm: don't miss the last page because of round-off error
0dd101b35dc8 mm, page_alloc: fix has_unmovable_pages for HugePages
fa9b81a99860 mm: thp: fix flags for pmd migration when split
2161b228a28e mm, memory_hotplug: initialize struct pages for the full memory section
567b54213293 iwlwifi: add new cards for 9560, 9462, 9461 and killer series
a3a2be9932c4 rtlwifi: Fix leak of skb when processing C2H_BT_INFO
08372e4a8a12 xfrm_user: fix freeing of xfrm states on acquire
069467d9f4a9 mm: introduce mm_[p4d|pud|pmd]_folded
eefeffc11188 mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
a31fff8051df mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
d50fbd2cbce5 panic: avoid deadlocks in re-entrant console drivers
06251134c592 x86/mtrr: Don't copy uninitialized gentry fields back to userspace
bb898527a1c7 futex: Cure exit race
0bbaf6c392f0 Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
303b25349d17 KVM: Fix UAF in nested posted interrupt processing
1d53c9694d61 kvm: x86: Add AMD's EX_CFG to the list of ignored MSRs
2b3f1bd62f4a KVM: X86: Fix NULL deref in vcpu_scan_ioapic
7a773622fc03 posix-timers: Fix division by zero bug
f14b8859148c gpio: max7301: fix driver for use with CONFIG_VMAP_STACK
477761b67ccd mmc: omap_hsmmc: fix DMA API warning
a681b2da2c88 mmc: core: Use a minimum 1600ms timeout when enabling CACHE ctrl
89f2351adfac mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support
ddf77476eb50 mmc: core: Reset HPI enabled state during re-init and in case of errors
a49c12bd3427 scsi: sd: use mempool for discard special page
80f7b4857185 ubifs: Handle re-linking of inodes correctly while recovery
a3fa57176fc3 USB: serial: option: add Telit LN940 series
4079ef6f75e0 USB: serial: option: add Fibocom NL668 series
dced7dfb270b USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode)
dce4d3b1443f USB: serial: option: add HP lt4132
551e6023cc86 USB: serial: option: add GosunCn ZTE WeLink ME3630
66ae0bdde44c USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data
740745a91e92 Revert "vfs: Allow userns root to call mknod on owned filesystems."
2c5ca276d2ae nvme: validate controller state before rescheduling keep alive
fbdd7e1e387f i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode
bc2fbb452ec1 i2c: uniphier: fix violation of tLOW requirement for Fast-mode
4a3280619c2a i2c: scmi: Fix probe error on devices with an empty SMB0001 ACPI device node
5e6e49d9a2dc i2c: axxia: properly handle master timeout
8546aaab43e0 mlxsw: spectrum_switchdev: Fix VLAN device deletion via ioctl
abcaa45cfc72 vhost/vsock: fix reset orphans race with close timeout
8365792328f0 cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)
935b7a30671d drm/ast: Fix connector leak during driver unload
91ee67721601 tools/testing/nvdimm: Align test resources to 128M
150d613009a7 drm/amdgpu/vcn: Update vcn.cur_state during suspend
c999e264b2e8 ethernet: fman: fix wrong of_node_put() in probe function
2040e90bd48a ARM: 8816/1: dma-mapping: fix potential uninitialized return
8b1e20a3df5d ARM: 8815/1: V7M: align v7m_dma_inv_range() with v7 counterpart
c277c0e1b0e7 ARM: 8814/1: mm: improve/fix ARM v7_dma_inv_range() unaligned address handling
52f34d6d10d4 bpf: check pending signals while verifying programs
cd17f2d553dc net/mlx4_en: Fix build break when CONFIG_INET is off
536fca86ba87 mv88e6060: disable hardware level MAC learning
2d9e565170d7 macvlan: return correct error value
349c7c7a5880 libata: whitelist all SAMSUNG MZ7KM* solid-state disks
ee58548c5cd2 Input: omap-keypad - fix keyboard debounce configuration
47155a7f238a Input: synaptics - enable SMBus for HP 15-ay000
31b7a055ad25 clk: mmp: Off by one in mmp_clk_add()
83a71b688529 clk: mvebu: Off by one bugs in cp110_of_clk_get()
90bcde56db66 drm/amd/powerplay: issue pre-display settings for display change event
c7d3364fa445 drm/msm: Fix error return checking
f5e8e639af30 drm/msm/hdmi: Enable HPD after HDMI IRQ is set up
51c8414a3df7 ide: pmac: add of_node_put()
1b75425347bf drivers/tty: add missing of_node_put()
12cdbd02480c drivers/sbus/char: add of_node_put()
c937d742441c sbus: char: add of_node_put()
ec06c2365739 SUNRPC: Fix a potential race in xprt_connect()
9e370ae200de nfs: don't dirty kernel pages read by direct-io
4e52a4ee3fd4 liquidio: read sc->iq_no before release sc
d65e4426decd bpf: Fix verifier log string check for bad alignment.
f75ea663b145 bonding: fix 802.3ad state sent to partner when unbinding slave
bac2acf174bb net: stmmac: Move debugfs init/exit to ->probe()/->remove()
3fb715bbd6c1 ARC: io.h: Implement reads{x}()/writes{x}()
1af56dd937b0 drm/amdgpu: wait for IB test on first device open
ff3fec41655d drm/msm: Grab a vblank reference when waiting for commit_done
2f71ee62933d drm/msm/dsi: configure VCO rate for 10nm PLL driver
e66c684213a9 drm/msm: fix handling of cmdstream offset
840811d0633f x86/earlyprintk/efi: Fix infinite loop on some screen widths
66d3d30021bb drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)
9bd27a8b616e net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM
82de9c06a97b tools/bpf: add addition type tests to test_btf
277da06f81cd tools/bpf: fix two test_btf unit test cases
2329fbe32f13 scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload
475aa44e2e0f scsi: libiscsi: Fix NULL pointer dereference in iscsi_eh_session_reset
9e957fbd1a9a i2c: rcar: check bus state before reinitializing
d8245e2588f7 Input: hyper-v - fix wakeup from suspend-to-idle
02fb6a1529b1 mac80211_hwsim: fix module init error paths for netlink
14b0e82132c7 IB/hfi1: Remove race conditions in user_sdma send path
5623e2407bb8 locking/qspinlock, x86: Provide liveness guarantee
8e02266863b2 locking/qspinlock: Re-order code
70c590120035 Linux 4.18.23
9cf5402745e6 dm zoned: Fix target BIO completion handling
2fa0d692ad6f dm zoned: target: use refcount_t for dm zoned reference counters
61bfc80fbe52 drm/amdgpu: update SMC firmware image for polaris10 variants
df1c1bcf1c4e drm/amdgpu: update smu firmware images for VI variants (v2)
db1207f9310d drm/amdgpu: add some additional vega10 pci ids
5724922ae4d7 drm/amdkfd: add new vega10 pci ids
d525e2cdf832 drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
53835137f8e7 drm/i915/execlists: Apply a full mb before execution for Braswell
5f99e72756cd drm/nouveau/kms: Fix memory leak in nv50_mstm_del()
2c94183dbe89 powerpc: Look for "stdout-path" when setting up legacy consoles
fb4f2f865a85 powerpc/msi: Fix NULL pointer access in teardown code
056fb552b47f media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed
2729394ef4d3 tracing: Fix memory leak of instance function hash filters
3ccaf85e64f0 tracing: Fix memory leak in set_trigger_filter()
8d2b0c01ecb9 tracing: Fix memory leak in create_filter()
b5a75238a5ea dm: call blk_queue_split() to impose device limits on bios
a234ec33c6a3 dm cache metadata: verify cache has blocks in blocks_are_clean_separate_dirty()
d4921c64ab6f dm thin: send event about thin-pool state change _after_ making it
696142d867f8 ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs
a854f226870b ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
2fd965e41eeb fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
eeb7db93fdc4 mmc: sdhci: fix the timeout check window for clock and reset
ded687bfc9fc mmc: sdhci-omap: Fix DCRC error handling during tuning
c40d26e2aebb mmc: core: use mrq->sbc when sending CMD23 for RPMB
e7e84222759e MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310
2ceb08b99848 ovl: fix decode of dir file handle with multi lower layers
77d91ee8c4a3 arm64: dma-mapping: Fix FORCE_CONTIGUOUS buffer clearing
ff0ded5c2c54 aio: fix spectre gadget in lookup_ioctx
011f3bf616f1 pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11
419b946bd2f3 staging: olpc_dcon: add a missing dependency
7d8acff1f129 scsi: raid_attrs: fix unused variable warning
fb9e55d63efa bpf: fix off-by-one error in adjust_subprog_starts
ef2ec7729026 IB/hfi1: Fix an out-of-bounds access in get_hw_stats
0defcee2b10f ALSA: hda/realtek - Fixed headphone issue for ALC700
24c4139a1a7b ALSA: fireface: fix reference to wrong register for clock configuration
67f2dd243dc6 flexfiles: enforce per-mirror stateid only for v4 DSes
8d30703d6d56 ocfs2: fix potential use after free
6f2718bb8624 initramfs: clean old path before creating a hardlink
23399a09fda4 kernel/kcov.c: mark funcs in __sanitizer_cov_trace_pc() as notrace
d8979491c9fc proc: fixup map_files test on arm
ad71ec08f8b1 debugobjects: avoid recursive calls with kmemleak
8a5ae5ba9bd9 hfsplus: do not free node before using
1b4d458615cf hfs: do not free node before using
7bc2546c9a43 mm/page_alloc.c: fix calculation of pgdat->nr_zones
21bf0b91ba0b ocfs2: fix deadlock caused by ocfs2_defrag_extent()
a907830b4425 ACPI/IORT: Fix iort_get_platform_device_domain() uninitialized pointer value
f4bebbf5c1da nvme-rdma: fix double freeing of async event data
4a26fd2794ef nvme: flush namespace scanning work just before removing namespaces
5cbbefd895b8 fscache, cachefiles: remove redundant variable 'cache'
aac96283f143 cachefiles: Explicitly cast enumerated type in put_object
214b0f7241f4 fscache: fix race between enablement and dropping of object
2352fd0ff37c afs: Fix validation/callback interaction
874cc883482c pstore/ram: Correctly calculate usable PRZ bytes
f7dd088587d8 pvcalls-front: fixes incorrect error handling
23f5fbe66464 Revert "xen/balloon: Mark unallocated host memory as UNUSABLE"
60382e03a73f xen: xlate_mmu: add missing header to fix 'W=1' warning
ee24ad3eedc5 drm/ast: fixed reading monitor EDID not stable issue
2af2d7794f32 drm/amdgpu: Add delay after enable RLC ucode
6ca52fbbee20 net: hisilicon: remove unexpected free_netdev
7501d55624c2 ixgbe: recognize 1000BaseLX SFP modules as 1Gbps
5a5d699051f2 igb: fix uninitialized variables
9e42380eab9a cachefiles: Fix page leak in cachefiles_read_backing_file while vmscan is active
4701317cee0f fscache: Fix race in fscache_op_complete() due to split atomic_sub & read
7395908ac92d cachefiles: Fix an assertion failure when trying to update a failed object
689b67edb5f0 ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock
4b61635fc96f netfilter: nf_tables: deactivate expressions in rule replecement routine
ae9b39bd26ab usb: gadget: u_ether: fix unsafe list iteration
866e243e89c4 net: thunderx: fix NULL pointer dereference in nic_remove
914fa3100245 x86/kvm/vmx: fix old-style function declaration
4da0cd45e88a KVM: x86: fix empty-body warnings
7c1ff883a73e netfilter: nat: fix double register in masquerade modules
6741803da10e netfilter: add missing error handling code for register functions
f018d5eae708 IB/mlx5: Fix page fault handling for MW
03f7f8880455 netfilter: ipv6: Preserve link scope traffic original oif
c465b31ab032 drm/meson: add support for 1080p25 mode
bb9e268e9d7e USB: omap_udc: fix rejection of out transfers when DMA is used
8d5bbff94d07 USB: omap_udc: fix USB gadget functionality on Palm Tungsten E
09ec687795df USB: omap_udc: fix omap_udc_start() on 15xx machines
88d2c380cc95 USB: omap_udc: fix crashes on probe error and module removal
1b288004247d USB: omap_udc: use devm_request_irq()
7872b15dde9d ipvs: call ip_vs_dst_notifier earlier than ipv6_dev_notf
c78d20b2a104 bpf: fix check of allowed specifiers in bpf_trace_printk
cd5689673b74 RDMA/hns: Bugfix pbl configuration for rereg mr
01b473861aa5 exportfs: do not read dentry after free
9a215042b425 ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE
e646abb7b69a ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE
c45caaef2252 ASoC: omap-mcbsp: Fix latency value calculation for pm_qos
b9daf5f65c75 RDMA/rdmavt: Fix rvt_create_ah function signature
77861b6c5671 RDMA/bnxt_re: Avoid accessing the device structure after it is freed
eb1f01e4226a RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR
0d27ad481081 Btrfs: send, fix infinite loop due to directory rename dependencies
4af31d016230 ARM: dts: at91: sama5d2: use the divided clock for SMC
d2b8c6a8a1b8 phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845
ca9eb79073a8 phy: qcom-qusb2: Use HSTX_TRIM fused value as is
aaab6336eb9c objtool: Fix segfault in .cold detection with -ffunction-sections
ef2f6bee2159 objtool: Fix double-free in .cold detection error path
e432cceeb8bd ASoC: acpi: fix: continue searching when machine is ignored
bba8179fae04 PCI: imx6: Fix link training status detection in link up check
5362dba7b696 perf tools: Restore proper cwd on return from mnt namespace
d8c06c8c36b9 hwmon: (w83795) temp4_type has writable permission
885bf92930f8 netfilter: xt_hashlimit: fix a possible memory leak in htable_create()
8ae7dfd71f06 aio: fix failure to put the file pointer
46b5558d5a1a spi: omap2-mcspi: Add missing suspend and resume calls
5ec9552fc58b ASoC: dapm: Recalculate audio map forcely when card instantiated
77b10c913a16 ASoC: omap-abe-twl6040: Fix missing audio card caused by deferred probing
8c6f04133b20 hwmon: (ina2xx) Fix current value calculation
c18d4263d24a s390/cpum_cf: Reject request for sampling in event initialization
6b064b5de14f ASoC: wm_adsp: Fix dma-unsafe read of scratch registers
60e1eccd5fb5 hwmon (ina2xx) Fix NULL id pointer in probe()
f4b4f286496e s390/cio: Fix cleanup when unsupported IDA format is used
ded23ec5857c s390/cio: Fix cleanup of pfn_array alloc failure
4a0d7435b9c2 netfilter: nf_tables: fix use-after-free when deleting compat expressions
9ce994a65de6 netfilter: xt_RATEEST: remove netns exit routine
0f94c96587ab perf tools: Fix crash on synthesizing the unit
255e04f5a250 selftests: add script to stress-test nft packet path vs. control plane
0a7e0d53afd2 netfilter: nf_tables: don't skip inactive chains during update
84dae51b3b3b sysv: return 'err' instead of 0 in __sysv_write_inode
cfd7d86743d4 ASoC: sun8i-codec: fix crash on module removal
fceaf70e406d tools: bpftool: prevent infinite loop in get_fdinfo()
dc752d44748a ARM: OMAP1: ams-delta: Fix possible use of uninitialized field
fa0914f171b6 ARM: dts: logicpd-somlv: Fix interrupt on mmc3_dat1
5d2ea9832d2e ARM: dts: LogicPD Torpedo: Fix mmc3_dat1 interrupt
7831d2076244 ARM: dts: am3517: Fix pinmuxing for CD on MMC1
7d8ee81c2c7e staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'
604f01123bc4 ASoC: qdsp6: q6afe: Fix wrong MI2S SD line mask
ce35cd5ee1e3 ASoC: rsnd: fixup clock start checker
3ea13a21d07a ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup
8d42df355212 sctp: update frag_point when stream_interleave is set
fafdf91a4940 net: phy: sfp: correct store of detected link modes
524ad2fabf9b virtio-net: keep vnet header zeroed after processing XDP
b3de25aafea1 tun: forbid iface creation with rtnl ops
b9e84444a172 tcp: fix NULL ref in tail loss probe
bfe7b2583c29 sctp: kfree_rcu asoc
763df95b2195 rtnetlink: ndo_dflt_fdb_dump() only work for ARPHRD_ETHER devices
13a1ce2ad74f Revert "net/ibm/emac: wrong bit is used for STA control"
e21d76868b2c net: phy: don't allow __set_phy_supported to add unsupported modes
ec6cff67dc81 net/mlx4_en: Change min MTU size to ETH_MIN_MTU
4edc05c73545 net/mlx4_core: Correctly set PFC param if global pause is turned off.
4c10e8930e85 net: 8139cp: fix a BUG triggered by changing mtu with network traffic
751c494d491a ipv6: sr: properly initialize flowi6 prior passing to ip6_route_output
f9c324ce9f08 neighbour: Avoid writing before skb->head in neigh_hh_output()
612931cc02b5 ipv6: Check available headroom in ip6_xmit() even without options
552cf47e54a1 ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changes
7ec7433c5890 HID: quirks: fix RetroUSB.com devices
455549628a0b mac80211: ignore NullFunc frames in the duplicate detection
0c7da0aa7b1c mac80211: fix reordering of buffered broadcast packets
ba2caf535dc3 mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext
2545ea1dcdcb mac80211: Clear beacon_int in ieee80211_do_stop
39ca1b1a5f04 mac80211: fix GFP_KERNEL under tasklet context
babb30868c1c mac80211_hwsim: Timer should be initialized before device registered
1f1afa100306 cfg80211: Fix busy loop regression in ieee80211_ie_split_ric()
3ca6ef9feafa libnvdimm, pfn: Pad pfn namespaces relative to other regions
60b82363d437 kgdboc: fix KASAN global-out-of-bounds bug in param_set_kgdboc_var()
3d7dc255fe92 tty: do not set TTY_IO_ERROR flag if console port
adf103eac922 tty: serial: 8250_mtk: always resume the device in probe.
9df22addf43b Drivers: hv: vmbus: Offload the handling of channels to two workqueues
93fd54970c3c kprobes/x86: Fix instruction patching corruption when copying more than one RIP-relative instruction
5af246208420 drm/i915: Downgrade Gen9 Plane WM latency error
e8c4ec7a8cb5 drm/amdgpu/gmc8: always load MC firmware in the driver
b8b88b63975b drm/amdgpu/gmc8: update MC firmware for polaris
d1569baf730a drm/msm: Move fence put to where failure occurs
1c2a37eae264 drm/lease: Send a distinct uevent
f558434b38cc drm/amdgpu: update mc firmware image for polaris12 variants
50152de6de4f crypto: do not free algorithm before using
4352e6c016ec Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors and an off-by-one mistake in core/rtw_mlme_ext.c"
4e9e20b3082c staging: rtl8712: Fix possible buffer overrun
05ae28903d5c cifs: Fix separator when building path from dentry
f0fd776c02c4 Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"
7b1469c3f003 xhci: Prevent U1/U2 link pm states if exit latency is too long
ac4556802707 USB: xhci: fix 'broken_suspend' placement in struct xchi_hcd
dc04aae7f67c xhci: workaround CSS timeout on AMD SNPS 3.0 xHC
d7bad132104f ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE
f192f717a29d dmaengine: cppi41: delete channel from pending list when stop channel
9901c1492367 dmaengine: dw: Fix FIFO size for Intel Merrifield
e62d2249c68e SUNRPC: Fix leak of krb5p encode pages
a2a5e2fde8c3 vhost/vsock: fix use-after-free in network stack callers
ed5a4844a3bd virtio/s390: fix race in ccw_io_helper()
e956edc8a6c8 virtio/s390: avoid race on vcdev->config
666ba2ee65fa parisc: Enable -ffunction-sections for modules on 32-bit kernel
61502a480493 Revert "mfd: cros_ec: Use devm_kzalloc for private data"
ccb717e43ac1 media: gspca: fix frame overflow error
bce19403ad9e ALSA: hda/realtek - Fix speaker output regression on Thinkpad T570
f24c98d59963 ALSA: pcm: Call snd_pcm_unlink() conditionally at closing
f4be72e0bf8c ALSA: pcm: Fix starvation on down_write_nonblock()
c93f1f31d1bd ALSA: hda: Add support for AMD Stoney Ridge
01da3695a290 ALSA: usb-audio: Fix UAF decrement if card has no live interfaces in card.c
74a5ec298bee ALSA: usb-audio: Add SMSL D1 to quirks for native DSD support
026947331690 USB: serial: console: fix reported terminal settings
673238324c4e USB: check usb_get_extra_descriptor for proper size
3889e33bb1d0 usb: appledisplay: Add 27" Apple Cinema Display
7a84b5a362e2 usb: quirk: add no-LPM quirk on SanDisk Ultra Flair device
ca857e5103dd net: amd: add missing of_node_put()
0da2f98fc745 team: no need to do team_notify_peers or team_mcast_rejoin when disabling port
e9a722de9249 ibmvnic: Update driver queues after change in ring size support
3f4134c1db37 ibmvnic: Fix RX queue buffer cleanup
15604a70011d flexfiles: use per-mirror specified stateid for IO
8c88fb37b2c9 iommu/vt-d: Use memunmap to free memremap
7bdd56b674cd net: faraday: ftmac100: remove netif_running(netdev) check before disabling interrupts
d30aa84cf6de riscv: fix warning in arch/riscv/include/asm/module.h
2b492d33ce39 net/ibmvnic: Fix RTNL deadlock during device reset
5aa8e66efe3c net/ibmnvic: Fix deadlock problem in reset
d15648cc57d6 qed: Fix QM getters to always return a valid pq
3f44a9e68949 qed: Fix bitmap_weight() check
121e97d57b63 NFSv4: Fix a NFSv4 state manager deadlock
176e0f131cbc mtd: spi-nor: Fix Cadence QSPI page fault kernel panic
a51b12e14de8 HID: multitouch: Add pointstick support for Cirque Touchpad
61f7e06c559d Revert "HID: uhid: use strlcpy() instead of strncpy()"
8b26c115fdab cpufreq: ti-cpufreq: Only register platform_device when supported
bd3ddbff7a21 mtd: rawnand: qcom: Namespace prefix some commands
8a70c6977ac9 tc-testing: tdc.py: Guard against lack of returncode in executed command
ab8885c434bc tc-testing: tdc.py: ignore errors when decoding stdout/stderr
625510a08d3c gpio: mockup: fix indicated direction
6abc9f8ddae4 gpio: pxa: fix legacy non pinctrl aware builds again
5e228fca94b5 net/mlx4: Fix UBSAN warning of signed integer overflow
47a0a222daa6 net/mlx4_core: Fix uninitialized variable compilation warning
5b53369dbb76 net/mlx4_core: Zero out lkey field in SW2HW_MPT fw command
596f8d294724 drm/amd/display: Support amdgpu "max bpc" connector property (v2)
31436df3a605 drm/amdgpu: Add amdgpu "max bpc" connector property (v2)
021a2a365e35 nvme-fc: resolve io failures during connect
9dc330320b96 Revert "usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers"
dbd1e112f822 usb: dwc2: pci: Fix an error code in probe
88aeb64586df qed: Fix reading wrong value in loop condition
d7cdbdfa0446 qed: Fix PTT leak in qed_drain()
b678bf52f8a5 bnx2x: Assign unique DMAE channel number for FW DMAE transactions.
a88bcdc2f534 amd/iommu: Fix Guest Virtual APIC Log Tail Address Register
5f3352a721d7 batman-adv: Expand merged fragment buffer for full packet
77bfec5b5de0 batman-adv: Use explicit tvlv padding for ELP packets
a934bcb21cd2 HID: input: Ignore battery reported by Symbol DS4308
e711cc95c600 test_firmware: fix error return getting clobbered
baa8bdeb4c77 can: rcar_can: Fix erroneous registration
ae6ed5e2d24a iommu/ipmmu-vmsa: Fix crash on early domain free
894857cf8a55 mt76: fix building without CONFIG_LEDS_CLASS
ae5157c74bb4 iommu/vt-d: Fix NULL pointer dereference in prq_event_thread()
b882f3a05330 media: ipu3-cio2: Unregister device nodes first, then release resources
d7fe182705df media: omap3isp: Unregister media device as first
ee69fa8a8dd0 media: cec: check for non-OK/NACK conditions while claiming a LA
(From OE-Core rev: f9afa2bb7fe78a0f2223ce32f908c22f2194adfe)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build system for at-spi2-core package have auto detection
of x11 dependency since version 2.26.1. Remove the hardcoded
dependency in the recipe and let DISTRO_FEATURES decide.
(From OE-Core rev: e80bfa6bdfc1ad97c6232f8387d1bf8a8c7a8b20)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will let AUH test-build the proposed upgrades made by devtool.
(From OE-Core rev: 4f93e037357be63253bdf060afedb2f35afc4bfa)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a genuine error that is discovered when using libc++ runtime
(From OE-Core rev: e4aa17ddc2ea623de2803efa9ab2fca498c99e19)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not have initial phase of bootstrapping toolchains anymore
(From OE-Core rev: 75a2c15bbabf4df14631c822b20ce6d31098a5c8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If DISTRO_VERSION is defined to some undefined variable, e.g.,
DISTRO_VERSION = "${FOO_VERSION}", and /bin/sh is dash, then
do_install() would fail with an error such as:
run.do_install.2945:193: run.do_install.2945: Syntax error:
Unterminated quoted string
This was due to unexpanded Python code making it into the shell code,
confusing the shell parser.
Reported-by: srinivasan <srinivasan.rns@gmail.com>
(From OE-Core rev: fdd0b9e26ef11fa287692848ea3add64ba623433)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The version number isn't useful in /usr/share/doc as we can only install one
copy of libxslt, and this reduces noise in buildhistory-diff reports.
(From OE-Core rev: f9290f37b6dcaa18b09929ca3c18a4c8d0876364)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the definition to match that of poky.conf.
(From yocto-docs rev: 09c73c227c6949ed3f1287ce063aa96967ed2fda)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the older script which the code in lib/oeqa/buildperf replaces so
delete the obsolete script to avoid confusion.
(From OE-Core rev: 9908b7955e75e10d6a1384e4c08417ef534464af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tweaks the script to:
* Ensure directories exist and can be written to
* Allow the downloads directory to be specified
* Error early if the phantomjs or optipng dependencies are not installed
* Allow the location of the globalres.log file to be specified
This means that the main build directory can be destroyed and any state
from the script is stored elsewhere allowing it to be triggered
automatically from the autobuilder infrastructure.
(From OE-Core rev: 1de5fbd484e6a747ae6419ccc89d8c2911b9706b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since this class is only useful for image recipes, it is better to
suggest adding it via IMAGE_CLASSES instead of INHERIT in the example.
Also make the example a bit more readable by indenting the variable
values.
(From OE-Core rev: ee91a464f2cad6b3801e18fee28e639e1c957d41)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In an issue similar to "atk: add explicit gettext-native dependency"
(964ea8bfc455f6017dc834104d96b8f5aa40a5bc) we need to add gettext-native
to DEPENDS explicitly as the gettext class reduces dependencies in
native builds.
(From OE-Core rev: 1946898d858bf783efcb3313fa84e9c4ce3e217e)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The r600 DRI driver does not require LLVM, so remove it from the LLVM
dependency PACKAGE_CONFIG.
Also remove the x86 requirement on the drivers as they are work on
non-x86 systems. This was tested on a RISC-V board.
(From OE-Core rev: 001b544db55101ab7a3f5f5910de6548542b6e2a)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new commit was introduced to kernel, which caused kprobe sample case
failed on arm.
[kernel commit: e46daee53bb50b, ARM: 8806/1: kprobes: Fix false positive
with FORTIFY_SOURCE]
And according to author, the case just works on x86 and powerpc.
So we just promise that the case can pass on x86 and powerpc.
(From OE-Core rev: 1a5b14bc3fe29618beea016ab2b32f55c19dd6ad)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport RISC-V support from master Gstreamer.
(From OE-Core rev: 2417a4e9f5b79815e5dcaf6b836a9239bd168c15)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() examples with a regex search and replace.
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
Note that there are are several other examples of getVar()
usage which already don't explicitly add the True option,
this patch just align some stray remainders.
(From yocto-docs rev: 9824280085c4164c614c5ef2bc1e69ffac1732dd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turns out I had some hard-coded stuff in these examples.
Furthermore, I did not have good enough detail in the
brief-yoctoprojectqs manual. I added more detail on how to get
that sato example going.
(From yocto-docs rev: 3dd6217be5e6f73ba3927431105096aec1445e10)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13112]
Fixes [YOCTO #13115]
* FILESPATH: Added a detailed example of how to use the variable
to set machine-specific configurations. Also, noted the default
behavior of using FILESOVERRIDES to automatically extend
FILESPATH. Did some rewriting as well.
* IMAGE_FSTYPES: Updated the note to not be exclusive to "live"
images. The behavior applies to many images.
(From yocto-docs rev: 46e3f2545c45ba5391603f9ffa1c87896d472df6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update_submodules and unpack_submodules functions were nearly indentical,
so we made a common function where the different behavior could be passed
in by the download and unpack users. The new function is process_submodules.
Moved the parse_gitmodules function under the new process_submodules, since
there are no external callers.
Refactor the file relative path processing to the URL translation code.
We also add a warning to the translation if a relative ssh URL has been
detected. Since this can cause a problem.
In the case of a relative URL that does not work after being translated,
it should be possible to use the MIRROR functions to manual translate the
generated relative URL into one that works properly.
Remove 'git config' processing on download contents. It turns out this is not
necessary since all of the later components work using the git fetcher.
Limit the 'git submodule update' call to only when unpacking a non-bare
repository. Submodules are always loaded as bare, so this prevents
intermediate unpacks from being attempted.
Finally, the test cases were updated and the new commit ids in the test
repository were updates as well.
(Bitbake rev: 610dbee5634677f5055e2b36a3043cd197fb8c51)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A custom shallow submodule is no longer necessary, as the regular git
fetcher is used and shallow handling works with the same code.
The only general difference between the regular change is simply declaring a
clone as shallow, when appropriate.
This also removes a potential race condition in copying repositories
vs cloning them.
The gitsm shallow fetcher test was revised to verify that the submodule
is shallow cloned along with the primary repository.
The first step of this change was to be sure to clean the gitsubmodule download
directory, as was previously done with the may gitsource directory.
Additional test components were added to verify commit counts, and an
obsolete (and likely incorrect) test for the .git/modules directory to be
empty was also removed.
(Bitbake rev: f9cc4684dcf4281acc557cda8cb35602354ac3d6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Greatly simply the unpack rule by copying the general functionality of
update_submodules as unpack_submodules. This will recursively construct
a set of urls and unpack them using the standard system behaviors.
The overall code may be slightly bigger, but this ensures that all of the
standard locks are inplace, ensuring the code doesn't change out from
under the unpack function. (This could have happened before due to using
'cp' instead of further unpacks on submodules. This may still happen in
shallow clones.)
(Bitbake rev: 7d7ee630f1c65e7dd234f945edf5e3b3bcb0fc30)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that a race condition on a shared download directory could
occur with the gitsm fetcher, the result happened with a call to
git config
that occured within the update_submodules. Since the fetch is locked by the
upper level, it was probably the prior need_update(...) function causing this
because of some old code.
The gitsm class inherits the git class. The need_update was overridding the
version in gitsm, so that it forceably checked the submodules.
It's clear we can optimize the code by only updating if the primary repository
needs updating. Since we don't care if the submodule repository has changed
because if the primary hasn't, references to the submodule won't change.
(Bitbake rev: 346338667edca1f58ace769ad417548da2b8d981)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to test the ssh processing in gitsm, we add an alternative
testcase that can be downloaded from git.yoctoproject.org. However,
this test case requries (read) access, via ssh, to git.yoctoproject.org.
(Bitbake rev: c8554cdc1287620fe8e8960561e614567879a010)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following appear to be the git supported formats:
proto://user:pass@host/path (URI format)
user@host:path (SSH format)
/path or ./path or ../path (local file format)
We adjust the parsing to find out if we have a URI format or not.
When we are NOT in URI format, we do our best to determine SSH or
file format by looking for a ':' in the overall string. If we find
a ':' we assume SSH format and adjust accordingly.
Note, in SSH format we simply replace the ':' with a '/' when constructing
the URL. However, if the original path was ":/...", we don't want '//' so
we deal with this corner case as well.
(Bitbake rev: dcac05e7dc6b0c5f8e63d36ad105b7eab41f0016)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible for a submodule to be defined in the .gitmodules file, but
never initialized in the repository itself. This shows itself when searching
for the defined module hash you will get back a empty value.
Similarly we need to identify and skip defined but not initialized submodules
during the unpack stages as well.
Thanks to raphael.lisicki@siemens.com for their help is figuring out how
to resolve this issue.
Additionally a problem was found where, while unlikely, it may be possible
for the wrong revision to have been searched using ls-tree. This has been
resolved in the update_submodules function by keeping the correct revision
along with the submodule path.
(Bitbake rev: 49e1ff920143dcd4e7f73933d7ab8a84b8ffa1a3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix handling of escape characters in regexs and hence fix python
Deprecation warnings which will be problematic in python 3.8.
(Bitbake rev: c1fcc46e2498ddd41425d8756754f814d682aba3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apparently either nobody ever used sdimage-bootpart.wks
or fstab was kept untouched due to "--no-fstab-update" usage as
some boards like IMX may have, see [1].
Otherwise addition of the following line to the target's fstab:
---------------------->8-----------------
/dev/mmcblkp1 /boot vfat defaults 0 0
---------------------->8-----------------
gets us unusable target:
---------------------->8-----------------
[* ] A start job is running for dev-mmcblkp1.device (23s / 1min 30s)
[ TIME ] Timed out waiting for device dev-mmcblkp1.device.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Press Enter for maintenance
---------------------->8-----------------
Fix it with use of "mmcblk0" device name.
[1] https://lists.yoctoproject.org/pipermail/meta-freescale/2018-February/022156.html
(From OE-Core rev: 57a925dbd949e488980b02896106efd82bf47ed2)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Cc: Maciek Borzecki <maciek.borzecki@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case boots the image in qemu and checks for mounted partitions.
But the outputs of mount are different between sysvinit and systemd:
sysvinit:
/dev/root /\r\n/dev/sda1 /boot\r\n/dev/sda3 /media\r\n/dev/sda4 /mnt
systemd:
/dev/sda1 /boot\r\n/dev/sda2 /\r\n/dev/sda3 /media\r\n/dev/sda4 /mnt
So check mounted partitions by egrep rather than check output of runqemu.
(From OE-Core rev: 8e3311d45ec68d74e934e966f67cf5102634981c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There might be do_cleansstate errors sometimes:
ERROR: When reparsing
/path/to/meta/recipes-devtools/quilt/quilt-native_0.65.bb.do_cleansstate,
the basehash value changed from
b4dbcb956a32ed4c3f58b7971717907bfc03bb21f3b140fa97f7765ee695f4d0 to
c8307418a671686349b73efbd51c5c82c897a88707a759ddb22fd95baa5df2ba. The metadata
is not deterministic and this needs to be fixed.
The stable reproducer is:
- Initial a fresh build, this is a must, otherwise we may can't reproduce it
$ . oe-init-build-env build
$ bitbake quilt-native -ccleansstate
This is because uninative.bbclass resets NATIVELSBSTRING from distro (e.g.,
ubuntu) to universal, remove dependencies of SSTATE_EXTRAPATHWILDCARD as
SSTATE_EXTRAPATH did can fix the problem.
(From OE-Core rev: 781117f9f02c0080dadc8797a8f8f9377a99b164)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using linux-yocto-dev, we will have one more amba error message
for qemuarm, so ignore it too.
(From OE-Core rev: 37cb293cf0f4194ec923d3bc4ebb9645f07536c0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code conditionally adding ${PN}-journal-remote to SYSTEMD_PACKAGE
checked PACKAGECONFIG for an empty string rather than 'microhttpd'...
(From OE-Core rev: 42d52a279a75c94c4deba50b448dd3b6b2ac75df)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes sure that packages are only added to USERADD_PACKAGES if
they will create users/groups. This avoids the following error:
ERROR: systemd_239.bb: meta/recipes-core/systemd/systemd_239.bb
inherits useradd but doesn't set USERADD_PARAM, GROUPADD_PARAM or
GROUPMEMS_PARAM for package systemd-journal-gateway
Normally this problem is not triggered even if the conditional code that
expands in, e.g., USERADD_PARAM_${PN}-journal-gateway is empty because
it is assigned with += and thus ends up as " ", which fools the check in
useradd.bbclass.
However, if USERADDEXTENSION += "useradd-staticids" and
INHERIT += "extrausers" are used, they cause the problem to occur. The
reason for this is because when useradd-staticids is used, it rewrites
USERADD_PARAM_${PN}-journal-gateway, which strips unnecessary whitespace
and thus USERADD_PARAM_${PN}-journal-gateway becomes empty. And
extrausers is needed, because otherwise the test in useradd.bbclass is
triggered before useradd-staticids has rewritten the variables...
(From OE-Core rev: 63ae444b1dba65ccb1693648914becabd65ac30d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PolicyKit has been renamed to Polkit since quite a while. Rename
the PACKAGECONFIG accordingly.
(From OE-Core rev: ec1a0e79e61090d71dc2ee2ea273f1880009d94c)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PolicyKit has been renamed to Polkit since quite a while. Rename
the PACKAGECONFIG accordingly.
(From OE-Core rev: 35679293c42ef1ed717d455a9cfec82bf528bed2)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only add polkit to PACKAGECONFIG if polkit is in DISTRO_FEATURES.
(From OE-Core rev: 1cde1b68d29da119ca290fd39acf3184499e2f34)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python 3.8 will be stricter about python quoting. Fix up several misquoted
expressions and fix Deprecation warnings like:
Var <do_compile>:1: DeprecationWarning: invalid escape sequence \$
(From OE-Core rev: 3ba6cee84de89f8eb200e4c93d446f6cdeeaa4be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix handling of escape characters in regexs and hence fix python
Deprecation warnings which will be problematic in python 3.8.
Note that some show up as:
"""
meta/classes/package.bbclass:1293: DeprecationWarning: invalid escape sequence \.
"""
where the problem isn't on 1293 in package.bbclass but in some _prepend to a
package.bbclass function in a different file like mesa.inc, often from
do_package_split() calls.
(From OE-Core rev: 4b1c0c7d5525fc4cea9e0f02ec54e92a6fbc6199)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When collecting the git revision of repositories, also take
note of whether or not that repository has uncommited
changes.
This makes it a bit clearer what went on when looking at
diffs.
(From OE-Core rev: b9d780c7eeda0fefb13edde8bdba4f1d91e7823c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
./lib/bs4/element.py:1565: DeprecationWarning: Using or importing the
ABCs from 'collections' instead of from 'collections.abc' is deprecated,
and in 3.8 it will stop working
(Bitbake rev: 52a144a7daa94b2bd239d582cb71d1f03119918f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
(From OE-Core rev: 9f551d588693328e4d99d33be94f26684eafcaba)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python2 version of pbr is in meta-python and uses the same inc file but
is not updated synchronously, which ends up breaking it, either we move
py2 version into OE-core as well and then ensure that both recipes are
updated atomically, or we move the checksums into recipe files
Fixes errors like
http://errors.yoctoproject.org/Errors/Details/216253/
(From OE-Core rev: b020a7139a6fd9efd052a3dc3c02a41f621ae952)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
f630d3cc771e Linux 4.19.14
a4a929aa46b4 MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y
feb0be15ee8b spi: bcm2835: Unbreak the build of esoteric configs
62977aad0a52 tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x
7f4a7b1badcf tpm: tpm_try_transmit() refactor error flow.
920735c63d8a arm64: compat: Avoid sending SIGILL for unallocated syscall numbers
1817b2ccbd11 iommu/arm-smmu-v3: Fix big-endian CMD_SYNC writes
f318d0cf26b1 KVM: arm/arm64: vgic: Fix off-by-one bug in vgic_get_irq()
47ffaa7decc5 KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state
6318b1b7c90c KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum
f0fcc4d17cf4 KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled
ce866af60e90 rtc: m41t80: Correct alarm month range with RTC reads
badd5690661b ARM: dts: exynos: Specify I2S assigned clocks in proper node
0fa68518047b arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs
7ec9ea679c96 arm64: KVM: Avoid setting the upper 32 bits of VTCR_EL2 to 1
ba77e8c7f704 smb3: fix large reads on encrypted connections
1827d1c439bc CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem
db825a79e07a MIPS: Fix a R10000_LLSC_WAR logic in atomic.h
34c512d883b3 MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
fb38b12e0b2b MIPS: Expand MIPS32 ASIDs to 64 bits
88c61f5cb67d MIPS: Align kernel load address to 64KB
76a9f7b4be28 MIPS: Ensure pmd_present() returns false after pmd_mknotpresent()
e8ae2ae2aae5 MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
62452b351195 MIPS: math-emu: Write-protect delay slot emulation pages
d642e0b630b0 tools lib traceevent: Fix processing of dereferenced args in bprintk events
47af3cecd561 media: v4l2-tpg: array index could become negative
245fc1c7f688 media: vb2: check memory model for VIDIOC_CREATE_BUFS
845c7f6cbc98 media: vivid: free bitmap_cap when updating std/timings/etc.
257ad26e7e98 media: imx274: fix stack corruption in imx274_read_reg
7ce31f635b23 media: rc: cec devices do not have a lirc chardev
2f8cff22960b media: cec-pin: fix broken tx_ignore_nack_until_eom error injection
465153038583 media: cec: keep track of outstanding transmits
e534754ffd93 serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly
5036fcd9b145 f2fs: sanity check of xattr entry size
58d7ab7163d9 f2fs: fix validation of the block count in sanity_check_raw_super
ce5b0057f768 f2fs: read page index before freeing
9621ea6b9c4c dax: Use non-exclusive wait in wait_entry_unlocked()
c555772c2a4e dax: Don't access a freed inode
a9935a127688 powerpc/tm: Unset MSR[TS] if not recheckpointing
71cda0af3670 brcmfmac: Fix out of bounds memory access during fw load
fad6c183e20b brcmfmac: fix roamoff=1 modparam
9eec74b48477 Btrfs: send, fix race with transaction commits that create snapshots
6911b074a005 btrfs: run delayed items before dropping the snapshot
10b04210aabf Btrfs: fix fsync of files with multiple hard links in new directories
7708a83090ba btrfs: skip file_extent generation check for free_space_inode in run_delalloc_nocow
c1f90eb01971 btrfs: dev-replace: go back to suspend state if another EXCL_OP is running
28867a52e48d btrfs: dev-replace: go back to suspended state if target device is missing
326ca6bd0fae cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.
8a2fbdd5b020 cgroup: fix CSS_TASK_ITER_PROCS
99dcd45f274e crypto: cfb - fix decryption
d8e4b24ffbbb crypto: testmgr - add AES-CFB tests
cc43a8afa8e3 crypto: chcr - small packet Tx stalls the queue
0fa6bead41ba crypto: cavium/nitrox - fix a DMA pool free failure
d095e1ba4165 clk: sunxi-ng: Use u64 for calculation of NM rate
36ef9d14fdda clk: rockchip: fix typo in rk3188 spdif_frac parent
9e9c669859f6 spi: bcm2835: Avoid finishing transfer prematurely in IRQ mode
cc8b83ff6a69 spi: bcm2835: Fix book-keeping of DMA termination
63f97d305aed spi: bcm2835: Fix race on DMA termination
0cb4f6559087 ext4: check for shutdown and r/o file system in ext4_write_inode()
bf2fd1f97040 ext4: force inode writes when nfsd calls commit_metadata()
263663888d2f ext4: avoid declaring fs inconsistent due to invalid file handles
6633fcb231a0 ext4: include terminating u32 in size of xattr entries when expanding inodes
11bb168baef2 ext4: fix EXT4_IOC_GROUP_ADD ioctl
0d078853b87a ext4: missing unlock/put_page() in ext4_try_to_write_inline_data()
0a1c177dd903 ext4: fix possible use after free in ext4_quota_enable
b878c8a7f08f ext4: add ext4_sb_bread() to disambiguate ENOMEM cases
6665481e1c21 ocxl: Fix endiannes bug in read_afu_name()
3fbf78b25268 ocxl: Fix endiannes bug in ocxl_link_update_pe()
65e4e67de33d perf env: Also consider env->arch == NULL as local operation
d124dd5c6ace perf pmu: Suppress potential format-truncation warning
307dbd383650 perf script: Use fallbacks for branch stacks
39dad822b785 perf tools: Use fallback for sample_addr_correlates_sym() cases
0ada27a74438 perf thread: Add fallback functions for cases where cpumode is insufficient
62977a9ba8dd perf machine: Record if a arch has a single user/kernel address space
bf75d9382bc4 clocksource/drivers/arc_timer: Utilize generic sched_clock
ca3a6fd272bb DRM: UDL: get rid of useless vblank initialization
29ac2218a9f8 drm/v3d: Skip debugfs dumping GCA on platforms without GCA.
6c56e89e4ebe platform-msi: Free descriptors in platform_msi_domain_free()
c9dae887cf64 KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails
07cbcfc33fc9 arm64: KVM: Make VHE Stage-2 TLB invalidation operations non-interruptible
edcf33b155fe KVM: x86: Use jmp to invoke kvm_spurious_fault() from .fixup
4910271928c2 x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()
86ba6f66c9c1 x86/speculation/l1tf: Drop the swap storage limit restriction when l1tf=off
aeb5e5341696 Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G
f1680565304c Input: atmel_mxt_ts - don't try to free unallocated kernel memory
d648a9bdac4b s390/pci: fix sleeping in atomic during hotplug
47148001ae12 ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Gnawty
c4b6173e54ca ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper
6cd208cb934f staging: wilc1000: fix missing read_write setting when reading data
80562cf3b188 media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER
f295bc9b8c9c usb: roles: Add a description for the class to Kconfig
9c1f18773406 Revert "usb: dwc3: pci: Use devm functions to get the phy GPIOs"
b1ab9f3d69f6 usb: dwc2: disable power_down on Amlogic devices
5e4dbeba2add usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()
8a5d034b5e86 USB: serial: option: add Fibocom NL678 series
f37b8b18b54f USB: serial: pl2303: add ids for Hewlett-Packard HP POS pole displays
9339eaf7ff4f usb: dwc2: host: use hrtimer for NAK retries
2c7882957c12 ALSA: hda/tegra: clear pending irq handlers
22bc89a31109 ALSA: hda/realtek: Enable the headset mic auto detection for ASUS laptops
302d9834ef29 ALSA: firewire-lib: use the same print format for 'without_header' tracepoints
ec7334b5ad18 ALSA: firewire-lib: fix wrong assignment for 'out_packet_without_header' tracepoint
438b26705896 ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
a8be7cd59d37 ALSA: fireface: fix for state to fetch PCM frames
9ded351759d0 ALSA: hda/realtek: Enable audio jacks of ASUS UX391UA with ALC294
691d06e60d9d ALSA: hda: add mute LED support for HP EliteBook 840 G4
cec876b46e19 mtd: rawnand: omap2: Pass the parent of pdev to dma_request_chan()
5cad883fd612 mtd: rawnand: marvell: prevent timeouts on a loaded machine
586209404782 mtd: atmel-quadspi: disallow building on ebsa110
34fc09193486 powerpc/fsl: Fix spectre_v2 mitigations reporting
eb734900aa83 ALSA: emux: Fix potential Spectre v1 vulnerabilities
56971d62c759 ALSA: pcm: Fix potential Spectre v1 vulnerability
0d2270496891 ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities
67b6a811a5f0 ALSA: rme9652: Fix potential Spectre v1 vulnerability
91dea490a4e1 IB/hfi1: Incorrect sizing of sge for PIO will OOPs
648458fe97b5 r8169: fix WoL device wakeup enable
e4a2ffe9029f net: Use __kernel_clockid_t in uapi net_stamp.h
e15413d61d4e net: mvneta: fix operation for 64K PAGE_SIZE
e97ecb19fee9 net/mlx5e: RX, Fix wrong early return in receive queue poll
e72e92914387 net/mlx5e: Remove unused UDP GSO remaining counter
af93ac090110 mlxsw: core: Increase timeout during firmware flash process
a8b01caff7d4 qed: Fix command number mismatch between driver and the mfw
5696ca93120b net: mvpp2: fix the phylink mode validation
fe65dfcca1b9 net/mlx5e: RX, Verify MPWQE stride size is in range
78512e346836 net/mlx5e: Cancel DIM work on close SQ
935bc9ddd774 mscc: Configured MAC entries should be locked.
ccc8b3747327 ipv6: route: Fix return value of ip6_neigh_lookup() on neigh_create() error
2210c2737e19 nfp: flower: ensure TCP flags can be placed in IPv6 frame
fe3f820c18b0 net/ipv6: Fix a test against 'ipv6_find_idev()' return value
5ac4cc331bca ipv6: frags: Fix bogus skb->sk in reassembled packets
9ed77be31e95 net/mlx5e: Remove the false indication of software timestamping support
7942d5be4922 tipc: check group dests after tipc_wait_for_cond()
71e848bd5e1d net/mlx5: Typo fix in del_sw_hw_rule
3a1cbcf4f3ae xen/netfront: tolerate frags with no data
d7c2162d5ab6 VSOCK: Send reset control packet when socket is partially bound
2b23a3651749 vhost: make sure used idx is seen before log in vhost_add_used_n()
2ce6d5aeafba tipc: use lock_sock() in tipc_sk_reinit()
b66ecc4f0b36 tipc: fix a double kfree_skb()
f404723deb69 tipc: fix a double free in tipc_enable_bearer()
a2ee6fb9c675 tipc: compare remote and local protocols in tipc_udp_enable()
dc6c13d5d5b4 tipc: check tsk->group in tipc_wait_for_cond()
e52170348715 tcp: fix a race in inet_diag_dump_icsk()
60f05dddf1eb sock: Make sock->sk_stamp thread-safe
fff7f7178630 sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event
2ec3976e29f2 qmi_wwan: Add support for Fibocom NL678 series
b7934b17b8f8 qmi_wwan: Added support for Telit LN940 series
a47e4db747f6 qmi_wwan: Added support for Fibocom NL668 series
6e36567284cf ptr_ring: wrap back ->producer in __ptr_ring_swap_queue()
4037ce1b28ca packet: validate address length if non-zero
a35c9c1712df packet: validate address length
781e26adfdea net/wan: fix a double free in x25_asy_open_tty()
f624d95c9937 net/tls: allocate tls context using GFP_ATOMIC
42e8bf856838 net: stmmac: Fix an error code in probe()
e028017380f0 net/smc: fix TCP fallback socket release
a1bce7196b72 netrom: fix locking in nr_find_socket()
4d1edda006a5 net: phy: Fix the issue that netif always links up after resuming
e3ba5b266e6b net: mvpp2: 10G modes aren't supported on all ports
5ea9c08a8692 net: macb: restart tx after tx used bit read
d5f9565c8d5a net: ipv4: do not handle duplicate fragments as overlapping
acb70d28fe63 net/hamradio/6pack: use mod_timer() to rearm timers
281731c8170a net: clear skb->tstamp in forwarding paths
ec820972c543 isdn: fix kernel-infoleak in capi_unlocked_ioctl
cde81154f86e ip: validate header length on virtual device xmit
0d2b652b0732 ipv6: tunnels: fix two use-after-free
cae3c9cf9d7d ipv6: explicitly initialize udp6_addr in udp_sock_create6()
360fb1db92df ipv4: Fix potential Spectre v1 vulnerability
32403fd3b529 ip6mr: Fix potential Spectre v1 vulnerability
110c877da975 ieee802154: lowpan_header_create check must check daddr
42b676c72e04 ibmveth: fix DMA unmap error in ibmveth_xmit_start error path
3c859adedd52 gro_cell: add napi_disable in gro_cells_destroy
3e881d8764ed ax25: fix a use-after-free in ax25_fillin_cb()
c04c050f5bf9 Linux 4.19.13
7f3ebea19795 drm/ioctl: Fix Spectre v1 vulnerabilities
6bb41321166f proc/sysctl: don't return ENOMEM on lookup when a table is unregistering
488f2c66dd46 Input: elantech - disable elan-i2c for P52 and P72
a5e880969713 mm: don't miss the last page because of round-off error
e27666dd8ffa mm, page_alloc: fix has_unmovable_pages for HugePages
161a5654cf06 mm: thp: fix flags for pmd migration when split
7592dbfaf3ef mm, memory_hotplug: initialize struct pages for the full memory section
3fbd4d87f1d1 media: ov5640: Fix set format regression
7f30924b488f iwlwifi: add new cards for 9560, 9462, 9461 and killer series
9007fba734d0 Revert "mwifiex: restructure rx_reorder_tbl_lock usage"
c151740ff107 iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares
fed44d6cb15f rtlwifi: Fix leak of skb when processing C2H_BT_INFO
5ecdfbb0d9f0 xfrm_user: fix freeing of xfrm states on acquire
89d6fff0747f mm: introduce mm_[p4d|pud|pmd]_folded
ba38c3e78838 mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
28a3b553dd31 mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
384221cbb918 panic: avoid deadlocks in re-entrant console drivers
0a95cba52bf2 x86/intel_rdt: Ensure a CPU remains online for the region's pseudo-locking sequence
56f7bfac531a x86/vdso: Pass --eh-frame-hdr to the linker
1e3b98b28c0d x86/mm: Fix decoy address handling vs 32-bit builds
c623326a3398 x86/mtrr: Don't copy uninitialized gentry fields back to userspace
9933bfb6d3f2 futex: Cure exit race
c1f8e7acb0c2 Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
1972ca047083 KVM: Fix UAF in nested posted interrupt processing
229468c62942 kvm: x86: Add AMD's EX_CFG to the list of ignored MSRs
76281d12dac9 KVM: X86: Fix NULL deref in vcpu_scan_ioapic
82c8dbb376b9 posix-timers: Fix division by zero bug
1f51527d020e gpiolib-acpi: Only defer request_irq for GpioInt ACPI event handlers
85ac860a5fdf gpio: max7301: fix driver for use with CONFIG_VMAP_STACK
0867cfaabcf7 mmc: omap_hsmmc: fix DMA API warning
b38f6898b60c mmc: core: Use a minimum 1600ms timeout when enabling CACHE ctrl
12df9797d98c mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support
f465300aab0d mmc: core: Reset HPI enabled state during re-init and in case of errors
024d515aab9b scsi: sd: use mempool for discard special page
690699b27185 scsi: t10-pi: Return correct ref tag when queue has no integrity profile
073645885686 ubifs: Handle re-linking of inodes correctly while recovery
507a953af925 USB: serial: option: add Telit LN940 series
81dfcd0b2c17 USB: serial: option: add Fibocom NL668 series
4e0f50024696 USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode)
cc0667b533a9 USB: serial: option: add HP lt4132
7a37019379d6 USB: serial: option: add GosunCn ZTE WeLink ME3630
a67fb441decd USB: xhci: fix 'broken_suspend' placement in struct xchi_hcd
e13bfb357f5b xhci: Don't prevent USB2 bus suspend in state check intended for USB3 only
8f980122236c USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data
9c5ccadb7b42 Revert "vfs: Allow userns root to call mknod on owned filesystems."
38d072a4a717 iomap: Revert "fs/iomap.c: get/put the page in iomap_page_create/release()"
2a7cb228d29c Linux 4.19.12
b4c7c826709b Btrfs: fix missing delayed iputs on unmount
5f286ec243d3 nvmet-rdma: fix response use after free
b2d587568588 nvme: validate controller state before rescheduling keep alive
cab9d27671db i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode
eb296b2d315b i2c: uniphier: fix violation of tLOW requirement for Fast-mode
9d5db5becd74 i2c: scmi: Fix probe error on devices with an empty SMB0001 ACPI device node
9be9c23a507a i2c: axxia: properly handle master timeout
8175f9d39789 mlxsw: spectrum_switchdev: Fix VLAN device deletion via ioctl
50dc13e2b3c6 vhost/vsock: fix reset orphans race with close timeout
b5a8028c25f3 cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)
e6a5c4948c2c drm/ast: Fix connector leak during driver unload
10197442f1fb acpi/nfit: Fix user-initiated ARS to be "ARS-long" rather than "ARS-short"
d689c1371d18 tools/testing/nvdimm: Align test resources to 128M
878275fa3e75 drm/amdgpu/vcn: Update vcn.cur_state during suspend
e6a57a90b371 net: mvpp2: fix phylink handling of invalid PHY modes
f124acc92c83 net: mvpp2: fix detection of 10G SFP modules
42d040e2c7b9 thermal: armada: fix legacy validity test sense
4c2efd8cf5d9 ethernet: fman: fix wrong of_node_put() in probe function
80eaec9b94bc ARM: 8816/1: dma-mapping: fix potential uninitialized return
5cb9667104e8 ARM: 8815/1: V7M: align v7m_dma_inv_range() with v7 counterpart
b3d52556794c ARM: 8814/1: mm: improve/fix ARM v7_dma_inv_range() unaligned address handling
6ffd9f25c0e9 bpf: check pending signals while verifying programs
efda3b1d90e5 net/mlx4_en: Fix build break when CONFIG_INET is off
4ae4046a1246 mv88e6060: disable hardware level MAC learning
2ef6e0fe383f macvlan: return correct error value
2ed4392b0bb3 libata: whitelist all SAMSUNG MZ7KM* solid-state disks
62a866ed4c48 Input: omap-keypad - fix keyboard debounce configuration
65905f7b9033 Input: synaptics - enable SMBus for HP 15-ay000
8e09f402321e clk: mmp: Off by one in mmp_clk_add()
70c883946441 clk: mvebu: Off by one bugs in cp110_of_clk_get()
92bc065001a6 drm/amd/powerplay: issue pre-display settings for display change event
ee404810e01e drm/msm: Fix error return checking
38b579de0b9a drm/msm: dpu: Fix "WARNING: invalid free of devm_ allocated data"
b7c819a03ae8 drm/msm: dpu: Don't set legacy plane->crtc pointer
80f68af97440 drm/msm/hdmi: Enable HPD after HDMI IRQ is set up
580fd7b5452c ide: pmac: add of_node_put()
b37b7d5b9086 drivers/tty: add missing of_node_put()
78e974363bbc drivers/sbus/char: add of_node_put()
90d62a36352a sbus: char: add of_node_put()
20595815b058 SUNRPC: Fix a potential race in xprt_connect()
de956d407811 nfs: don't dirty kernel pages read by direct-io
b0cf59188ec2 liquidio: read sc->iq_no before release sc
85099bea9743 bpf: Fix verifier log string check for bad alignment.
aa4540d8cc87 bonding: fix 802.3ad state sent to partner when unbinding slave
43f5afa3eaae net: aquantia: fix rx checksum offload bits
0df6d609c5d2 net: stmmac: Move debugfs init/exit to ->probe()/->remove()
bf69dc3cb1b8 ARC: io.h: Implement reads{x}()/writes{x}()
dbb0f9e74655 drm/amdgpu: wait for IB test on first device open
546486c5b196 drm/ttm: fix LRU handling in ttm_buffer_object_transfer
01ba4fd98947 drm/msm: Grab a vblank reference when waiting for commit_done
801f12d991bc drm/msm/dsi: configure VCO rate for 10nm PLL driver
d60ec2e70298 drm/msm: fix handling of cmdstream offset
7de8218615d3 drm/msm/gpu: Fix a couple memory leaks in debugfs
35516413ae5a drm/msm: Fix task dump in gpu recovery
985dea32ba57 x86/earlyprintk/efi: Fix infinite loop on some screen widths
3965b4f0c37f drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)
bdf7c4c84bea net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM
112a7f8e0540 tools/bpf: add addition type tests to test_btf
8b26fd26d69f tools/bpf: fix two test_btf unit test cases
a58fb8346d3c scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload
13b968d59bb5 scsi: libiscsi: Fix NULL pointer dereference in iscsi_eh_session_reset
b288daf8e1da i2c: rcar: check bus state before reinitializing
53e0d8ecc83f Input: hyper-v - fix wakeup from suspend-to-idle
ff7d99c424ae mac80211_hwsim: fix module init error paths for netlink
70b0baddd09b IB/hfi1: Remove race conditions in user_sdma send path
2658687568cd locking/qspinlock, x86: Provide liveness guarantee
150f038c9382 locking/qspinlock: Re-order code
2a5f80c5bd72 Linux 4.19.11
d92c66b30f93 x86/build: Fix compiler support check for CONFIG_RETPOLINE
228f6f28d478 dm zoned: Fix target BIO completion handling
7b942bad3818 drm/amdgpu: update SMC firmware image for polaris10 variants
3ae86cfbbbf6 drm/amdgpu: update smu firmware images for VI variants (v2)
2732df872c63 drm/amdgpu: add some additional vega10 pci ids
95baf54676a8 drm/amdkfd: add new vega10 pci ids
d68d2ad54474 drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
f0e9995f7eed drm/i915/execlists: Apply a full mb before execution for Braswell
d6ebe485da3d drm/i915/gvt: Fix tiled memory decoding bug on BDW
683ef526234f Revert "drm/rockchip: Allow driver to be shutdown on reboot/kexec"
4d5907f70ec1 drm/nouveau/kms/nv50-: also flush fb writes when rewinding push buffer
d7fde95b7f3f drm/nouveau/kms: Fix memory leak in nv50_mstm_del()
c97c353e5f29 powerpc: Look for "stdout-path" when setting up legacy consoles
73732de1579f powerpc/msi: Fix NULL pointer access in teardown code
13e318b8680e media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed
ee310e8ebb9e tracing: Fix memory leak of instance function hash filters
8f01f990b19f tracing: Fix memory leak in set_trigger_filter()
470cc678a12b tracing: Fix memory leak in create_filter()
b543b5c0ac1c dm: call blk_queue_split() to impose device limits on bios
09bc666fb411 dm cache metadata: verify cache has blocks in blocks_are_clean_separate_dirty()
809c692c665d dm thin: send event about thin-pool state change _after_ making it
bea8a160c621 ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs
0017698d34b0 ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
d9267e136044 fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
113fe99d6376 mmc: sdhci: fix the timeout check window for clock and reset
661feb2fc993 mmc: sdhci-omap: Fix DCRC error handling during tuning
105819c8a545 mmc: core: use mrq->sbc when sending CMD23 for RPMB
e1e99fea907a MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310
2a335229946e ovl: fix missing override creds in link of a metacopy upper
3faf68a42f97 ovl: fix decode of dir file handle with multi lower layers
7290c71ded83 block/bio: Do not zero user pages
beb98fda1853 arm64: dma-mapping: Fix FORCE_CONTIGUOUS buffer clearing
d41c49daf259 userfaultfd: check VM_MAYWRITE was set after verifying the uffd is registered
498a6e6be0de fs/iomap.c: get/put the page in iomap_page_create/release()
b11d5c025d8e scripts/spdxcheck.py: always open files in binary mode
a6136922d905 aio: fix spectre gadget in lookup_ioctx
4c74d5f1836e pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11
67e255bf2f34 drm/msm: fix address space warning
26527312c519 ARM: dts: qcom-apq8064-arrow-sd-600eval fix graph_endpoint warning
cd50eeeb6646 i2c: aspeed: fix build warning
340a904a1944 slimbus: ngd: mark PM functions as __maybe_unused
14e8b9ec43c9 staging: olpc_dcon: add a missing dependency
cda8e63c89d7 scsi: raid_attrs: fix unused variable warning
dc5350715915 sched/pelt: Fix warning and clean up IRQ PELT config
b23de3254f8c Linux 4.19.10
d265655ae46b tcp: lack of available data can also cause TSO defer
bddeb44981c1 bpf: fix off-by-one error in adjust_subprog_starts
1fd99ac175e6 IB/hfi1: Fix an out-of-bounds access in get_hw_stats
2a493d8ef5b9 ALSA: hda/realtek - Fix the mute LED regresion on Lenovo X1 Carbon
178b1a584e7f ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294
1be8246777c5 ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294
487b6512d881 ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN
c8461d87716b ALSA: hda/realtek - Fixed headphone issue for ALC700
03e8b38c5177 ALSA: fireface: fix reference to wrong register for clock configuration
384f18115267 dax: Check page->mapping isn't NULL
111758f73595 flexfiles: enforce per-mirror stateid only for v4 DSes
a31da26a15e9 ocfs2: fix potential use after free
2a5d5f5f47b9 initramfs: clean old path before creating a hardlink
c6900015132a kernel/kcov.c: mark funcs in __sanitizer_cov_trace_pc() as notrace
359c0c4aefa1 proc: fixup map_files test on arm
53f1c27ac5d5 debugobjects: avoid recursive calls with kmemleak
ab31765ef4dd hfsplus: do not free node before using
f7cbec75fb0b hfs: do not free node before using
505bc9f38996 mm/page_alloc.c: fix calculation of pgdat->nr_zones
6aab48ae8ab5 ocfs2: fix deadlock caused by ocfs2_defrag_extent()
126afacf7a8f ACPI/IORT: Fix iort_get_platform_device_domain() uninitialized pointer value
992a773cb9bb nvme-rdma: fix double freeing of async event data
5893e48f8f8a nvme: flush namespace scanning work just before removing namespaces
1bda8b799665 nvme: warn when finding multi-port subsystems without multipathing enabled
1f925643315d fscache, cachefiles: remove redundant variable 'cache'
d8bf97a0a489 cachefiles: Explicitly cast enumerated type in put_object
02bd7b740cbb fscache: fix race between enablement and dropping of object
52da87f0e2e8 afs: Fix validation/callback interaction
ce469db0943b pstore/ram: Correctly calculate usable PRZ bytes
ff5ac9bd16ef pvcalls-front: fixes incorrect error handling
a9d79a0751a2 Revert "xen/balloon: Mark unallocated host memory as UNUSABLE"
c1a21086bbbd xen: xlate_mmu: add missing header to fix 'W=1' warning
f3c73ae453ed drm/ast: fixed reading monitor EDID not stable issue
cbd6a7ea6068 drm/amdgpu: Add delay after enable RLC ucode
3b54558a73d0 net: hisilicon: remove unexpected free_netdev
e3fb9d84fdd1 ixgbe: recognize 1000BaseLX SFP modules as 1Gbps
4b0f9f881bc1 igb: fix uninitialized variables
eee2269fd04f cachefiles: Fix page leak in cachefiles_read_backing_file while vmscan is active
a4a7a0d729c0 fscache: Fix race in fscache_op_complete() due to split atomic_sub & read
5132f91318ed cachefiles: Fix an assertion failure when trying to update a failed object
815899cf26f6 ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock
e5f42e061789 netfilter: nf_tables: deactivate expressions in rule replecement routine
6d665dab42e7 usb: gadget: u_ether: fix unsafe list iteration
227b1745cd97 net: thunderx: fix NULL pointer dereference in nic_remove
bf1b47f33cb1 x86/kvm/vmx: fix old-style function declaration
d6b1692d9b9e KVM: x86: fix empty-body warnings
3c7670d56ac6 KVM: VMX: Update shared MSRs to be saved/restored on MSR_EFER.LMA changes
8038f92df3eb netfilter: nf_conncount: remove wrong condition check routine
5517d4c6dcbb netfilter: nat: fix double register in masquerade modules
18218f827e3c netfilter: add missing error handling code for register functions
4f03e063a554 IB/mlx5: Fix page fault handling for MW
9838090d9859 netfilter: ipv6: Preserve link scope traffic original oif
bf6f1276768f drm/meson: add support for 1080p25 mode
5dda1e7d7ce4 thunderbolt: Prevent root port runtime suspend during NVM upgrade
9ca88f3c4cb5 USB: omap_udc: fix rejection of out transfers when DMA is used
b58128138f06 USB: omap_udc: fix USB gadget functionality on Palm Tungsten E
634395d20d7d USB: omap_udc: fix omap_udc_start() on 15xx machines
27b61cbaa809 USB: omap_udc: fix crashes on probe error and module removal
66d73a4ef37e USB: omap_udc: use devm_request_irq()
28ad9091e186 ipvs: call ip_vs_dst_notifier earlier than ipv6_dev_notf
2aad202fcd4c fsi: master-ast-cf: select GENERIC_ALLOCATOR
6bfebedaa810 bpf: fix check of allowed specifiers in bpf_trace_printk
4c7d50c23a88 RDMA/hns: Bugfix pbl configuration for rereg mr
ad374d10b78e exportfs: do not read dentry after free
0aeda30045b6 ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE
38f3a0f01052 ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE
abf7201316a3 ASoC: omap-mcbsp: Fix latency value calculation for pm_qos
1f1aedd6b19a tools: bpftool: fix potential NULL pointer dereference in do_load
8653ffc34cee RDMA/rdmavt: Fix rvt_create_ah function signature
59315d0ca4fa RDMA/bnxt_re: Avoid accessing the device structure after it is freed
f4515855b7a1 RDMA/bnxt_re: Fix system hang when registration with L2 driver fails
5a49ef9832e5 RDMA/core: Add GIDs while changing MAC addr only for registered ndev
7c736fee5a5d RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR
91f6a9aa7952 Btrfs: send, fix infinite loop due to directory rename dependencies
b3159470aa8f ARM: dts: at91: sama5d2: use the divided clock for SMC
4724b50f9e09 phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845
d801a3eff554 phy: qcom-qusb2: Use HSTX_TRIM fused value as is
3d2d2ba0c296 objtool: Fix segfault in .cold detection with -ffunction-sections
79cd7b0e114d objtool: Fix double-free in .cold detection error path
a8657e682427 ASoC: acpi: fix: continue searching when machine is ignored
2a031cab71cd PCI: imx6: Fix link training status detection in link up check
67707627c2f2 perf tools: Restore proper cwd on return from mnt namespace
f3ff2ac4169e hwmon: (w83795) temp4_type has writable permission
fb0fc90cc20f netfilter: xt_hashlimit: fix a possible memory leak in htable_create()
df66ef67c334 aio: fix failure to put the file pointer
5689666aa134 bpf: allocate local storage buffers using GFP_ATOMIC
0d4ff09997f3 hwmon: (mlxreg-fan) Fix macros for tacho fault reading
842aeeac335e spi: omap2-mcspi: Add missing suspend and resume calls
fa3ceb3b59e5 ASoC: dapm: Recalculate audio map forcely when card instantiated
abbd01b77987 ASoC: omap-abe-twl6040: Fix missing audio card caused by deferred probing
3ef0d19cd815 hwmon: (ina2xx) Fix current value calculation
d70a6605fe94 s390/cpum_cf: Reject request for sampling in event initialization
2309636dc474 ASoC: qcom: Set dai_link id to each dai_link
88e8e3c710b1 ASoC: Intel: Power down links before turning off display audio power
737f3bb3e4be ASoC: wm_adsp: Fix dma-unsafe read of scratch registers
e4777c2e40f0 ASoC: rockchip: add missing slave_config setting for I2S
dbc62bd3b05b hwmon: (raspberrypi) Fix initial notify
08cff35113e5 hwmon (ina2xx) Fix NULL id pointer in probe()
61170596e1c0 s390/cio: Fix cleanup when unsupported IDA format is used
a4f21114d83e s390/cio: Fix cleanup of pfn_array alloc failure
00bac44c9991 netfilter: nf_tables: fix use-after-free when deleting compat expressions
e947f9aa9a61 netfilter: xt_RATEEST: remove netns exit routine
f8328abb8782 perf tools: Fix crash on synthesizing the unit
d15443a19d41 selftests: add script to stress-test nft packet path vs. control plane
8fe8940ffcf6 netfilter: nf_tables: don't skip inactive chains during update
4a3b49f0ced5 netfilter: nf_conncount: fix unexpected permanent node of list.
ae60f4705f95 netfilter: nf_conncount: fix list_del corruption in conn_free
08c7e68ab261 netfilter: nf_conncount: use spin_lock_bh instead of spin_lock
f6168a800b6b sysv: return 'err' instead of 0 in __sysv_write_inode
1eb8dd51887b arm64: dts: sdm845-mtp: Reserve reserved gpios
411b321f0ff5 ASoC: sun8i-codec: fix crash on module removal
b42ab5284412 tools: bpftool: prevent infinite loop in get_fdinfo()
136c52373429 ARM: OMAP1: ams-delta: Fix possible use of uninitialized field
28f3050b13ab ARM: dts: am3517-som: Fix WL127x Wifi interrupt
9f7df2a39ab8 ARM: dts: logicpd-somlv: Fix interrupt on mmc3_dat1
09372f3cbeed ARM: dts: LogicPD Torpedo: Fix mmc3_dat1 interrupt
886e00c5fe3d ARM: dts: am3517: Fix pinmuxing for CD on MMC1
de7e3f88dd5c staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'
748b7861bce5 ASoC: qdsp6: q6afe-dai: Fix the dai widgets
32d28e247da7 ASoC: qdsp6: q6afe: Fix wrong MI2S SD line mask
8ec3e5552e4e ASoC: rsnd: fixup clock start checker
5a8fbba77bf8 ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup
9ac607494a5d net: fix XPS static_key accounting
b4b8a71c72ba net: restore call to netdev_queue_numa_node_write when resetting XPS
a275c66b4d81 sctp: update frag_point when stream_interleave is set
4aa6d46d1711 net: phy: sfp: correct store of detected link modes
a7dba859ca58 virtio-net: keep vnet header zeroed after processing XDP
36206419989d tun: forbid iface creation with rtnl ops
bbc83e8d08cb tcp: fix NULL ref in tail loss probe
03b271cb9175 tcp: Do not underestimate rwnd_limited
5148726f2c27 sctp: kfree_rcu asoc
a482f800169c rtnetlink: ndo_dflt_fdb_dump() only work for ARPHRD_ETHER devices
f5c9c30da730 Revert "net/ibm/emac: wrong bit is used for STA control"
7fafda16bb64 net: use skb_list_del_init() to remove from RX sublists
16218638a239 net: Prevent invalid access to skb->prev in __qdisc_drop_all
ac1fb97e9136 net: phy: don't allow __set_phy_supported to add unsupported modes
70727c00cbb7 net/mlx4_en: Change min MTU size to ETH_MIN_MTU
1fa276e92009 net/mlx4_core: Correctly set PFC param if global pause is turned off.
ec5d7ceda60a net: 8139cp: fix a BUG triggered by changing mtu with network traffic
c4ec6a9a788a ipv6: sr: properly initialize flowi6 prior passing to ip6_route_output
0e96b90351f4 neighbour: Avoid writing before skb->head in neigh_hh_output()
fd018cb37ea0 ipv6: Check available headroom in ip6_xmit() even without options
ffe5754d2823 ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changes
be53d23e68c2 Linux 4.19.9
0fc19a8881e6 HID: quirks: fix RetroUSB.com devices
b74a078e48a9 mac80211: ignore NullFunc frames in the duplicate detection
e9f8baa38c2a mac80211: fix reordering of buffered broadcast packets
50749911b1cc mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext
a75ac4e15e9c mac80211: Clear beacon_int in ieee80211_do_stop
e08ab93325bb mac80211: fix GFP_KERNEL under tasklet context
daac338a9e7b mac80211_hwsim: Timer should be initialized before device registered
d66c1b9280d1 cfg80211: Fix busy loop regression in ieee80211_ie_split_ric()
98206f340033 libnvdimm, pfn: Pad pfn namespaces relative to other regions
beb68a727fb9 kgdboc: fix KASAN global-out-of-bounds bug in param_set_kgdboc_var()
3c1773b0275e gnss: sirf: fix activation retry handling
41867ab9b0d3 tty: do not set TTY_IO_ERROR flag if console port
ecbfb178c75c tty: serial: 8250_mtk: always resume the device in probe.
b02b86bc74c3 Drivers: hv: vmbus: Offload the handling of channels to two workqueues
e88ebc06bd53 x86/efi: Allocate e820 buffer before calling efi_exit_boot_service
ce74d11a3794 kprobes/x86: Fix instruction patching corruption when copying more than one RIP-relative instruction
1a9056407808 drm/i915: Downgrade Gen9 Plane WM latency error
e8a7f59e3643 drm/amdgpu/gmc8: always load MC firmware in the driver
39bdb32876df drm/amdgpu/gmc8: update MC firmware for polaris
2abdfe248369 drm/msm: Move fence put to where failure occurs
318f6e599dcd drm/lease: Send a distinct uevent
fcf5d0dbfb7f drm/amdgpu: update mc firmware image for polaris12 variants
2f94605195ab crypto: do not free algorithm before using
35929281460b Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors and an off-by-one mistake in core/rtw_mlme_ext.c"
9138ce0a8011 staging: rtl8712: Fix possible buffer overrun
99c694081ba2 cifs: Fix separator when building path from dentry
bd5d1c273cce Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"
e92cc52ee5e7 arm64: dts: rockchip: remove vdd_log from rock960 to fix a stability issues
33f310e09388 xhci: Prevent U1/U2 link pm states if exit latency is too long
5d3b10677bf8 xhci: workaround CSS timeout on AMD SNPS 3.0 xHC
3fe0c68aea21 ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE
37e74076f3cb dmaengine: cppi41: delete channel from pending list when stop channel
374f384bc66f dmaengine: imx-sdma: use GFP_NOWAIT for dma descriptor allocations
9063f5a99ea7 dmaengine: imx-sdma: implement channel termination via worker
228bee887467 Revert "dmaengine: imx-sdma: alloclate bd memory from dma pool"
2f79476548d8 Revert "dmaengine: imx-sdma: Use GFP_NOWAIT for dma allocations"
37aefa023734 dmaengine: dw: Fix FIFO size for Intel Merrifield
33154a299890 SUNRPC: Fix leak of krb5p encode pages
1d9ca56698ad arm64: hibernate: Avoid sending cross-calling with interrupts disabled
f9cd25b1e5e5 vhost/vsock: fix use-after-free in network stack callers
2a622040a8bc virtio/s390: fix race in ccw_io_helper()
79f6e9facb8b virtio/s390: avoid race on vcdev->config
6c9ac388c6c8 parisc: Enable -ffunction-sections for modules on 32-bit kernel
c91ec2c4eb65 Revert "mfd: cros_ec: Use devm_kzalloc for private data"
24a776e398e9 media: dvb-pll: don't re-validate tuner frequencies
d7db76065041 media: dvb-pll: fix tuner frequency ranges
663bfc44d1a0 media: vicodec: fix memchr() kernel oops
c4dabf370838 media: gspca: fix frame overflow error
fbb982c6ad97 ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4860G/Z6860G
ba3ce1bf275c ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4660G
bf03eb5e297f ALSA: hda/realtek - Add support for Acer Aspire C24-860 headset mic
642314e11ade ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880
071b34a1a5ed ALSA: hda/realtek - Fix speaker output regression on Thinkpad T570
a2928e749812 ALSA: pcm: Fix interval evaluation with openmin/max
19054c18846e ALSA: pcm: Call snd_pcm_unlink() conditionally at closing
026fdecbc3d7 ALSA: pcm: Fix starvation on down_write_nonblock()
2ea30d9d5fa1 ALSA: hda: Add support for AMD Stoney Ridge
a7e719ace75e ALSA: usb-audio: Fix UAF decrement if card has no live interfaces in card.c
86c257e05223 ALSA: usb-audio: Add SMSL D1 to quirks for native DSD support
9d9026afc36b USB: serial: console: fix reported terminal settings
1b2e742bf723 USB: check usb_get_extra_descriptor for proper size
24e09d7a52ae usb: appledisplay: Add 27" Apple Cinema Display
f025aa79bda0 usb: quirk: add no-LPM quirk on SanDisk Ultra Flair device
c34678d4c155 net: amd: add missing of_node_put()
ebc4b790103d team: no need to do team_notify_peers or team_mcast_rejoin when disabling port
f1c4022ab268 ibmvnic: Update driver queues after change in ring size support
a13220e6817c ibmvnic: Fix RX queue buffer cleanup
0a98c7c5dc62 flexfiles: use per-mirror specified stateid for IO
07b92c224d5c NFSv4.2 copy do not allocate memory under the lock
d1862827f41a iommu/vt-d: Use memunmap to free memremap
549e3c24ac34 net: faraday: ftmac100: remove netif_running(netdev) check before disabling interrupts
d69eb98a86c0 riscv: fix warning in arch/riscv/include/asm/module.h
bfa634ba505a net/ibmnvic: Fix deadlock problem in reset
07f745f9a6d6 qed: Fix QM getters to always return a valid pq
b63de4413656 qed: Fix bitmap_weight() check
e359a17143ef NFSv4: Fix a NFSv4 state manager deadlock
4a9ad460a07b net: ena: fix crash during failed resume from hibernation
d7dace92d040 mtd: spi-nor: Fix Cadence QSPI page fault kernel panic
d861fe2fd5b1 HID: multitouch: Add pointstick support for Cirque Touchpad
699faa9cf00c Revert "HID: uhid: use strlcpy() instead of strncpy()"
0799feafeb1b cpufreq: ti-cpufreq: Only register platform_device when supported
1a488242d942 mtd: rawnand: qcom: Namespace prefix some commands
4ef9e48c9c8f tc-testing: tdc.py: Guard against lack of returncode in executed command
9806e7473d10 tc-testing: tdc.py: ignore errors when decoding stdout/stderr
b8c51924b4e1 gpio: mockup: fix indicated direction
b9284d6c30cb gpio: pxa: fix legacy non pinctrl aware builds again
9ebacc1a8754 drivers/net/ethernet/qlogic/qed/qed_rdma.h: fix typo
b53fa368dd8e net/mlx4: Fix UBSAN warning of signed integer overflow
034f7ad3f706 net/mlx4_core: Fix uninitialized variable compilation warning
5110c0406c8c net/mlx4_core: Zero out lkey field in SW2HW_MPT fw command
3374518d4d1a drm/amd/display: Support amdgpu "max bpc" connector property (v2)
a0c25b4098b8 drm/amdgpu: Add amdgpu "max bpc" connector property (v2)
12163e3e6902 bnxt_en: Fix filling time in bnxt_fill_coredump_record()
0e79e30e6121 nvme-fc: resolve io failures during connect
b65fa443e56e s390/ism: clear dmbe_mask bit before SMC IRQ handling
8b87305f816c Revert "usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers"
3355199746b8 usb: dwc2: pci: Fix an error code in probe
4f22a32f555d qed: Fix reading wrong value in loop condition
d4105c836c13 qed: Fix rdma_info structure allocation
52da24907e6e qed: Fix overriding offload_tc by protocols without APP TLV
631ebe93bdcb qed: Fix PTT leak in qed_drain()
147bcca117b8 bnx2x: Assign unique DMAE channel number for FW DMAE transactions.
821d0b9afa8d amd/iommu: Fix Guest Virtual APIC Log Tail Address Register
2e959f250949 batman-adv: Expand merged fragment buffer for full packet
25683accf7c7 batman-adv: Use explicit tvlv padding for ELP packets
92724c1deaf9 HID: input: Ignore battery reported by Symbol DS4308
27b504af882b test_firmware: fix error return getting clobbered
0e3e8e31877a can: rcar_can: Fix erroneous registration
1f329e64e1f1 can: ucan: remove set but not used variable 'udev'
f2e78c08e844 scsi: ufs: Fix hynix ufs bug with quirk on hi36xx SoC
c97a2a726cef iommu/ipmmu-vmsa: Fix crash on early domain free
e2807327b562 mt76: fix building without CONFIG_LEDS_CLASS
4a4c9b29a0c1 brcmutil: really fix decoding channel info for 160 MHz bandwidth
093255da5688 iommu/vt-d: Fix NULL pointer dereference in prq_event_thread()
f84263bfd801 media: ipu3-cio2: Unregister device nodes first, then release resources
61880fb56851 media: omap3isp: Unregister media device as first
cd7b7f509cd0 media: cec: check for non-OK/NACK conditions while claiming a LA
35eaa0ee4e69 media: vicodec: lower minimum height to 360
(From OE-Core rev: 969049ede5353c1a5a808b284e5bba81ccb47df6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the code to match the recent switch to sha256 hashes
(From OE-Core rev: 910a8f3e8e350ff5d316faf5e07fb40c6c51f45e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh patches using devtool.
Update license since the main code is now covered by
LGPL-2.1+ and the tests under GPL-2.
Fix a MIPS build error with an upstream patch.
(From OE-Core rev: 874c5d4cd4902545b0fb924d0313488521fb91e2)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For that we need 2 things:
1. Disable JIT in JS as it's not supported for ARC.
2. Compile with "-mlong-calls" so relocations with
offsets larger than 25 bits are used, otherwise
linker fails to link final binaries.
(From OE-Core rev: 463f10fde9f72d26e89db324ca675bfe597fcc5e)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
image_types_wic.bbclass has a mechanism for doing variable substitution
on .wks files by simply letting the input file be called
.wks.in. However, that doesn't allow using variables in files included
via the include directive. This is unfortunate, because lacking either
the ability to include other files or variable substitution leads to
fragile and error-prone duplication between kickstarter files and
recipes/configuration files used for various boards.
This adds (somewhat naive) support for variable substitution in all
files parsed by wic. The user should add all required variables to
WICVARS to get them exported appropriately.
(From OE-Core rev: 8a75d614a8a1ff72c4af448ac3e1292d0e1d1a79)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When 'adduser' package, which is from meta-perl layer, is added to rootfs,
we will get do_populate_sdk failure like below.
Error:
Problem: package perl-module-cwd-5.24.4-r0.core2_64 requires perl-module-dynaloader, but none of the providers can be installed
- package perl-module-file-temp-5.24.4-r0.core2_64 requires perl-module-cwd, but none of the providers can be installed
- package perl-module-dynaloader-5.24.4-r0.core2_64 requires perl-module-config, but none of the providers can be installed
- package adduser-3.118-r0.core2_64 requires perl-module-file-temp, but none of the providers can be installed
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by perl-5.24.4-r0.core2_64
This is because adduser depends on some perl modules which are not
listed in target-sdk-provides-dummy.
So add these perl modules to avoid such failure.
(From OE-Core rev: 1b12c176827c2d0cbb7867da73efac56826036ed)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the bluez5 init script to resolve an issue where the status
subcommand would exit without printing any message if bluez was not
running. The early exit was caused by the fact that the init script has
"set -e". When "pidof ${DAEMON} >/dev/null" is executed, the script
terminates immediately if bluez isn't running because pidof returns a
non-zero result. The fixed version does not suffer from this issue and
makes use of the "status" function from the functions library.
(From OE-Core rev: f6e03a43ee71c406fa8e68309624efd5384f437a)
Signed-off-by: David Frey <dpfrey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Observing depsig.do_package for packages inbetween rebuilds indicated
that the following variables/files content was changing order randomly.
Make them deterministic by sorting the output:
RDEPENDS_<pkg>
RRECOMMENDS_<pkg>
FILERDEPENDSFLIST_<pkg>
packages-split/<pkg>.shlibdeps
The following variable was not observed to change, but it is
assumed that the same situation can occur, so do the same
sorting for consistency:
FILERPROVIDESFLIST_<pkg>
(From OE-Core rev: c99cb0bbb78089d1d15c4c8563a71db0df1cb0da)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The maintainer lost access to the smmap PyPi account so as with gitdb, set the
PyPi name to smmap2.
(From OE-Core rev: c526576a319307388b31521ff560f1a93066188c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously there was lots of irrelevant noise in the logs,
because we also wanted to be able to debug postinst issues
easily. I have adjusted the logging levels so that
postinst info is still written to the logs, but other
things are not.
[YOCTO #13119]
(From OE-Core rev: ffb7b8f70937a7d95814c1a99527d5ea7cbf7cee)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we can compile m4-native rather than target m4, this can save a lot of
build time.
(From OE-Core rev: 8e33cef647f4e8a104da61aecab4ac6c6b9bfd3b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can make the following recipes work with cmake:
cmake libdnf libcomps librepo createrepo-c llvm dnf libsolv assimp waffle
libjpeg-turbo taglib libproxy libical
And the following 3 recipes don't:
webkitgtk vulkan piglit
Now cmake.bbclass doesn't disble ccache any more, disable it in the recipes if
needed.
(From OE-Core rev: d014c8c11fb663f131d3a860ddeda17d604b2dd3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Files like lib/.debug/libgcc_s.so.1 from nativesdk-libgcc-dbg contains
buildpath without -fdebug-prefix-map, the root cause is object files (.o)
contain buildpath, and then ccache can't use them correctly.
(From OE-Core rev: b0b4d1b32203bb74fc3aec9b9a0d14bf7a52a0af)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed race issues when parallel build:
ccache: error: /path/to/ccache/i586-poky-linux/mmc-utils/ccache.conf: No such file or directory
ccache: error: /path/to/ccache/i586-poky-linux/mmc-utils/ccache.conf: No such file or directory
This is because we set CCACHE_DIR for earch recipe, and ccache will create a
ccache.conf for each CCACHE_DIR when CCACHE_CONFIGPATH is not set, but there
might be a race issue in parallel build:
ccache gcc file1.c
ccache gcc file2.c
If the two ccache processes use fopen(path, "w") to create ccache.conf at the
same time, the error would happen. Set CCACHE_CONFIGPATH to
meta/conf/ccache.conf can fix the problem, and we can add other configs to the
file when needed.
And also set cache_dir_levels to 1 (default is 2) since each recipe has a cache
dir, thus we don't have too many files in one dir.
(From OE-Core rev: 2abbc4d0cd571e82ed6188d3b2d84b4cd6be25e8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CCACHE_BASEDIR: ccache removes this from file path, so that hashes will be
the same in different build dirs.
CCACHE_TOP_DIR: Set it to a shared location for different builds.
(From OE-Core rev: 35d7fe73bba15de16d2eb0a4b12ef03b57b23306)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous ccache.bbclass has the following problems:
- It uses host's ccache for native recipes, but this may not work on some
hosts, for example, it nerver works on my Ubuntu 14.04.4, there are always
build failures (m4-native failed at do_configure, and others will also be
failed if I disable CCACHE for m4-native)
- native/nativesdk/cross/crosssdk recipes use host's ccache, but target uses
ccache-native, this may confuse user.
- The target recipes may use both host's ccache and ccache-native, this may
cause unexpected problems and be hard to debug. This is because ccache-native is
in SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS, so ccache-native may not be present when
rebuild target recipes, and then it would use hosttools/ccache, but the
previous ccache files were generated by ccache-native.
- Target recipes can't use ccache when no ccache is installed on the host:
CCACHE = "${@bb.utils.which(d.getVar('PATH'), 'ccache') and 'ccache '}"
After refactored:
All types recipes (native, target and others) will use ccache-native except
ccache-native itself, host's cache won't be used any more. It is more
reliable now, which will work everywhere when ccache-native can be built.
And now we need use "CCACHE_DISABLE = '1'" to disable ccache for the recipe
rather than "CCACHE = ''" since we set CCACHE in anonymous function, and
d.getVar('CCACHE') works after "CCACHE ??=" which is set in bitbake.conf, so we
can't check whether CCACHE is set or not in anonymous function since it is
always set. Use CCACHE_DISABLE to disable it would be more clear.
(From OE-Core rev: b25271b65262f70d849a4861da216c9be6c54d53)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Copyright year and zlib version are changed, others are the
same.
This version supports CCACHE_DEBUG which will make the debug easier.
(From OE-Core rev: ae600d77a33e15737672120c2c1fe1074940f1fb)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove ccache-native's dependencies so that all native recipes can depend on
ccache-native and use it except ccache-native itself.
It has the following 4 dependencies:
- xz-native: It is intruduced by ccache-3.4.2.tar.xz, use ccache-3.4.2.tar.gz
to replace of it can fix the problem.
- zlib-native: Use --with-bundled-zlib to fix it.
- autotools-native: Set INHIBIT_AUTOTOOLS_DEPS and add a do_configure() to fix
the problem.
- quilt-native: Set PATCHTOOL = "patch" to fix it.
(From OE-Core rev: f3d8bda91ee186dae8847d6438c1dfd6f6d8ee4f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Redefine the reference path of libnfs.a to
../support/nfs/.libs/libnfs.a to fix below
error when run "make -C tests statdb_dump".
| make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'. Stop.
| make: *** No rule to make target '../../support/nfs/libnfs.a', needed by 'nsm_client'. Stop.
* The function generic_make_pathname is introduced in
nfs-utils 2.3.1.
Add the source file which defines function generic_make_pathname to
libnsm_a_SOURCES of libnsm.a to fix the undefined reference
when run "make -C tests statdb_dump"
| ../support/nsm/libnsm.a(file.o): In function `nsm_make_pathname':
| /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
| /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
| /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
| ../support/nsm/libnsm.a(file.o): In function `nsm_setup_pathnames':
| /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:280: undefined reference to `generic_setup_basedir'
| collect2: error: ld returned 1 exit status
* After the logic of commit[dbb643e Removed missing-prototypes warnings.]
introduced, there comes below error when run
"make -C tests/nsm_client nsm_client"
| nlm_sm_inter_svc.c:20:1: error: no previous prototype for 'nlm_sm_prog_3' [-Werror=missing-prototypes]
It is because rpcgen doesn't generate -Wmissing-prototypes
free code for nlm_sm_inter_svc.c with below logic
in tests/nsm_client/Makefile.am
[snip]
GENFILES_SVC = nlm_sm_inter_svc.c
[snip]
$(GENFILES_SVC): %_svc.c: %.x $(RPCGEN)
test -f $@ && rm -rf $@ || true
$(RPCGEN) -m -o $@ $<
So add the patch to not fatalize -Wmissing-prototypes.
(From OE-Core rev: 18947cd4782934e9bc3ec5507db8db51258d9b2c)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The unihash should be fetched using the task filename that includes the
multiconfig prefixes.
[YOCTO #13124]
(Bitbake rev: 5e7f4e77e27bceaf6c68137cacb4f8d7d7de49dd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only user of the configuration module is paprefs, which as of 1.0 uses GSettings not GConf.
Also GConf is unmaintained, so one less recipe using it is good.
(From OE-Core rev: 463e064a4f4a664ae1b871b98f26b561d1cbe98b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of assuming that the schemas are located in ${PN}, add a
GSETTINGS_PACKAGE variable for the package name and default it to ${PN}.
For recipe that can conditionally ship schemas, support GSETTINGS_PACKAGE being
empty gracefully by doing nothing.
(From OE-Core rev: c2b9c34ce4af151cc0422e14af775c6c962de051)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The magic multilibisation doesn't quite catch every instance, so replace
'pulseaudio' with ${PN} where needed to ensure the packaging is as intended.
(From OE-Core rev: 65de45912facaede0c40a3b881f4e095590ca205)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intention is that PN is empty, enforce that so new files don't end up in PN
silently.
(From OE-Core rev: b302e1556535601dbb5a18d02e6988a17fda5fbc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are failures when multiple users run oe-selftest on the same
host:
PermissionError: [Errno 13] Permission denied: '/tmp/oe-saved-
tests/201812250324_qemu'
This is because /tmp/oe-saved-tests was created by user A, while user B tries
to write data in it, then the error will happen. This patch can fix the
problem.
Move the dumped data to ${LOG_DIR}/runtime-hostdump/ rather than
/tmp/oe-saved-tests/ to fix the problem.
(From OE-Core rev: e219fe5329599cd6c3682f521eaee3852a2c8980)
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>
Currently SDKIMAGE_LINGUAS is broken for any inputs except "all".
In the non-"all" case, each enabled language package is installed via
pm.install("nativesdk-glibc-binary-localedata-%s.utf-8" % lang)
This will throw a python exception since pm.install() expects a list of
strings and not a string.
Fix the problem by constructing a list.
That way it is now also possible to call the package installer just
once.
Cc: "Burton, Ross" <ross.burton@intel.com>
Fixes: 67615e0175 ("rootfs_rpm.bbclass: migrate image creation to dnf")
(From OE-Core rev: 475a5d9ec21a329be973691734f9e8bcb332338c)
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The icecc setup for the SDK was broken in multilib configurations now
that each multilib environment runs the post-relocate scripts
separately. Including $TARGET_PREFIX in the icecc shim path and in the
toolchain environment name prevents the various multilib setups from
conflicting.
[YOCTO #13128]
(From OE-Core rev: 13704d7a9d147382169d0c4bd77cb4f5577c65b1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a given PN is listed in the icecream blacklist, there is a very good
chance that the native, nativesdk, and multilib variants should also be
skipped. Check the blacklist entries against BPN to cover them.
[YOCTO #13128]
(From OE-Core rev: 1863f695a1411e95e7e547a3eb3e7ef6604a93bf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed by some init system services and if
init system is not sysvinit then we dont have it, therefore
its useful to have it provided via busybox as a backup
Enable CONFIG_SETSID to get setsid, needed by runit
(From OE-Core rev: 456010a042e17d2f5f1314248e2b9f1a3a1a8d93)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Yocto kernel expects a proper /dev/console to exist before running init,
otherwise booting will fail with the message:
Kernel panic - not syncing: /dev/console is missing or not a character device!
Please ensure your rootfs is properly configured
Add similar fix as was done for initramfs-framework and initramfs-live-boot
in commits
0352841cd92f6316bcac092e2fff9d28c352b36b
1b64664f0c388f41084f5db6e46e3e68c53fb6d9
(From OE-Core rev: 490d6fbd14805b6c72b525fbe8c9c6e08d796597)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We use subprocess.check_output() to run the command, which means that we need care
about the error, so the 2>/dev/null should not be used, otherwise it is hard to
debug when the error happens.
I guess it was copied from previous lines, but that command's error can be
ignored (excpet: pass):
try:
subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
# Can "fail" if internal headers/transient sources are attempted
pass
But we don't do this in the current location, so remove "2>/dev/null"
(From OE-Core rev: 017a53d2743be2b5d4965a39b4e126fb74f700ad)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"dbus_daemon" is supposed to be set to the full dbus-daemon file
path, not just its directory.
(From OE-Core rev: fa95b51b4c867fdb8011881097a0160d7d3e4e71)
Signed-off-by: Jed <jed.openxt@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While compiling with `-Werror=format-truncation=', it failed
[snip]
|super0.c:236:32: error: 'snprintf' output may be truncated
before the last format character [-Werror=format-truncation=]
| snprintf(nb, sizeof(nb), "%4d", d);
| ^
|super0.c:236:3: note: 'snprintf' output between 5 and 12 bytes
into a destination of size 11
| snprintf(nb, sizeof(nb), "%4d", d);
[snip]
(From OE-Core rev: cd5013a94609ef2f3e0d621339e22e4137d649d3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When UBOOT_DTB_BINARY is set to "", the keys for signed booting are
expected to be already present in U-Boot's DTB, so don't issue warnings
for this.
(From OE-Core rev: 04656f5df326a72747fc5878ce201b636a2a419c)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In distro_features_check.bbclass it checks whether items in
REQUIRED_DISTRO_FEATURES and CONFLICT_DISTRO_FEATURES exist in
DISTRO_FEATURES. But it only shows one required or conflict distro
feature when error occurs. Update to show them all at one time.
(From OE-Core rev: d0441c40afdba119a65189d6a5aca5c533f68279)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG[manpages] for generating man pages.
(From OE-Core rev: 078b2389a76ca3eba2307c7aa20be095cf96e060)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Unset-need_charset_alias-when-building-for-musl.patch as it
had been fixed upstream.
(From OE-Core rev: 491c0ee55e7c6aa71ef5590cc38f866d9098bfe0)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-GLES2-Get-sin-cos-out-of-vertex-shader.patch as it had been
merged upstream.
(From OE-Core rev: b46dbcad31c990b5556d61357e0a976948a5dede)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Fix-build-with-gperf-3.1.patch as it had been fixed upstream.
(From OE-Core rev: 0baf6799ae40461fbf3f18e098a3db448fec037b)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The project pages and wiki has been moved to GitHub.
(From OE-Core rev: 45a5129663bd6f9e94fd5c674d8ce1dcc99195e0)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Observing depsig.do_package for a package inbetween rebuilds indicated
that FILES_INFO was changing content order randomly. Force it to be
deterministic by sorting with respect to the keys when serializing.
Suggested-by: Joshua Watt <jpewhacker@gmail.com>
(From OE-Core rev: b0364be65bf0b3dee44f81379f4062e9f707c128)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perl-cross is a build system overlay from buildroot project that aims to bring
a bit of sanity to cross-building perl. The advantage of using that is that we
can drop a lot of custom patches (that no one really understands), and simplify
the perl recipe as well. Also the build time goes down from several minutes to
about 30 seconds. The whole thing becomes maintainable again, in my opinion.
When rewriting the recipe I had two goals in mind:
1. Stay with upstream defaults as much as possible
2. Add custom patches only when their necessity was proven through testing.
http://arsv.github.io/perl-cross/
(From OE-Core rev: 52f2828314f851263ca3a6beb41ec936fab4d3ab)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was change to git recently to obtain openssl 1.1 compatible pre-release code
(before 7.9 was out), however tarballs are preferred, and with them upstream version
checks work (openssh uses a weird git tag scheme).
(From OE-Core rev: a921a96e84f4d0b3f3d29a571981de08eb148e15)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
And fix the reported upstream check failures.
(From OE-Core rev: 63af0edcd954fac530ba17b04e5df5837cddc0a4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various versions of ld have different defaults for this
(even between e.g. Ubuntu 16.04 and 18.04). This has the
consequence of putting either RPATH or RUNPATH into the binary,
depending on the linker, which have different priorities
vs LD_LIBRARY_PATH env var. Also, I think, the original
executable binary is looked up for the tags when resolving
a dependency of a shared library when using RPATH, but not
RUNPATH.
Let's make this deterministic.
(From OE-Core rev: 661d700ab7428b0ad982bfd2714cca134bad85a2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some patch files create entirely new files, so their permissions are subject to
the host umask. If such a file is later installed into a package with no change
in permissions, it breaks the reproducibility of the package.
This was observed on libpam, for instance: The patch file
pam-security-abstract-securetty-handling.patch creates a new file
(tty_secure.c). This file is later copied into the -dbg package with no change
in permissions.
(From OE-Core rev: 2a2bbd755b330cd63f7f6e2f2b374a3ae065b37a)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For changes, see:
https://www.tcpdump.org/libpcap-changes.txt
* Merge inc and bb and remove unnecessary flags.
* Remove all patches, they have either been upstreamed or fixed
differently.
* Compilation with bluez5 works just fine, enable it and remove bluez4
config.
* Backport a commit to fix musl builds.
(From OE-Core rev: 23fa5d49667c16f6b2763f4da4de63afa632e83d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From NEWS:
- bug fixes:
* do not autouninstall packages because of forcebest updates
- new features:
* support rpm's new '^' version separator
* support set/get_considered_list in bindings
* new experimental SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED flag
(From OE-Core rev: 5b0d21e4b369821235d5b1d00a578b2dca5c5d09)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move /etc/hosts to base-files, and also add entry to it according
to hostname setting. This fixes the problem of commands like
`hostname -f' failing due to lack of such entry.
(From OE-Core rev: 31e6d08f20a804fccb958e19045d8f9e9806071a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson doesn't ignore this but will emit a warning, so write the correct value.
(From OE-Core rev: 1239157805a4c363da853de6db05c53083b01189)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multilib SDKs differ only in the environment variables set, so nativesdk-meson's
setup script needs to write a cross file for each environment.
Rename the shipped meson.cross to meson.cross.template, as it cannot be used
directly. Now that post-relocate scripts are called once for each environment,
the generated meson.cross can be prefixed with TARGET_PREFIX to ensure it is
unique.
Finally rewrite the setup script to use string.Template to perform the expansion
instead of hand-coding the logic.
(From OE-Core rev: 8596f871ef834a38e3375443f7eb08e43816347a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If --libdir isn't passed to Meson a default is used, but as this default value
changes depending on the host (whether it is Debian-like, or has /usr/lib64)
this isn't appropriate for cross builds.
(From OE-Core rev: fdb5a8b3d437537aee53380091dabe6258667a49)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDKs for multilib configurations have multiple environment scripts, so
re-arrange the post-relocate hook invocation so that it runs the post-relocate
hooks after sourcing each environment script.
(From OE-Core rev: c4897001cb3eeda1f4f11197b28c09c950bdcf02)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without installing gitpython package, oe-git-archive will face error
below, where it was referencing key that was non-existent inside
metadata object.
Traceback (most recent call last):
File "<poky_dir>/scripts/oe-git-archive", line 271, in <module>
sys.exit(main())
File "<poky_dir>/scripts/oe-git-archive", line 229, in main
'commit_count': metadata['layers']['meta']['commit_count'],
KeyError: 'commit_count'
Fix this error by adding exception catch when referencing
non-existent key (based on inputs provided by Richard Purdie).
[YOCTO# 13082]
(From OE-Core rev: 9a3cc9b8523b78dda6c3f3f2e12798b2b907d7e5)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the swig build failure by calling the default do_configure from autotools.
(From OE-Core rev: 95c78d2166d3f8f47146ad7542569b25794dab6b)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a different STAMPS_DIR and SSTATE_DIR in test_yocto_source_mirror.
Otherwise, when executing `oe-selftest -a', we will get a lot of failures
due to do_unpack failure.
(From OE-Core rev: f8502c68163ec288cf6fb6754829b455501b4a05)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more.
(From OE-Core rev: 37e5035a2ba27595eeef22062580a5b04a73ba15)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "qemux86"
QEMU_USE_KVM = "qemux86"
IMAGE_CLASSES += "testimage"
$ oe-selftest -r runqemu.RunqemuTests.test_boot_rootfs
[snip]
File "/buildarea1/lyang1/poky/meta/lib/oe/types.py", line 122, in boolean
raise ValueError("Invalid boolean value '%s'" % value)
ValueError: Invalid boolean value 'qemux86'
Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more, kvm
will be enabled if target_arch == build_arch or both of them are x86 archs.
(From OE-Core rev: 7c1a8a624cad8d967635c6cb5f99cf655bde3d44)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fix only release
Include:
CVE-2018-16868 gnutls: Bleichenbacher-like side channel leakage in
PKCS#1 1.5 verification and padding oracle verification
CVE-2018-16869 nettle: Leaky data conversion exposing a manager oracle
For full details see:
http://lists.lysator.liu.se/pipermail/nettle-bugs/2018/007369.html
[V2]
Add -std=c99 to cflags
(From OE-Core rev: 8ac8fa8ee10c59a081d368a5429e0eced8dd5d3c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable commits from Paul Gortmaker:
24ed0744622e Linux 4.18.22
8266951957ab tipc: use destination length for copy string
2f2b82e7b4f8 arc: [devboards] Add support of NFSv3 ACL
047e43ba5173 ARC: change defconfig defaults to ARCv2
f8d102775911 Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR
91dfecd75ee7 Input: elan_i2c - add support for ELAN0621 touchpad
7c63af1039aa Input: elan_i2c - add ELAN0620 to the ACPI table
673d11935f70 Input: cros_ec_keyb - fix button/switch capability reports
39f1f992639d Input: matrix_keypad - check for errors from of_get_named_gpio()
b3cda161024f Input: synaptics - add PNP ID for ThinkPad P50 to SMBus
3e533ca9eb5d Input: xpad - quirk all PDP Xbox One gamepads
1c42a30f4824 i40e: Fix deletion of MAC filters
0f2cbfeff18f svm: Add mutex_lock to protect apic_access_page_done on AMD systems
af2cd1276d57 kgdboc: Fix warning with module build
c72ba0c17cce kgdboc: Fix restrict error
6571f7ba5f6a userfaultfd: shmem: UFFDIO_COPY: set the page dirty if VM_WRITE is not set
3876646cbe3a userfaultfd: shmem: add i_size checks
c8a600a72f36 userfaultfd: shmem: allocate anonymous memory for MAP_PRIVATE shmem
bc43472443ee userfaultfd: use ENOENT instead of EFAULT if the atomic copy user fails
34bfc624bb6b drm/meson: Fix OOB memory accesses in meson_viu_set_osd_lut()
a5fdd876d4f9 drm/meson: Enable fast_io in meson_dw_hdmi_regmap_config
c98737cc98c1 drm/meson: Fixes for drm_crtc_vblank_on/off support
b6ba7cf72463 drm: set is_master to 0 upon drm_new_set_master() failure
f5551d7db284 drm/ast: Fix incorrect free on ioregs
f43ce49c718d tracing/fgraph: Fix set_graph_function from showing interrupts
c31675335d18 IB/mlx5: Avoid load failure due to unknown link width
339fc991ac42 mips: fix mips_get_syscall_arg o32 check
ba720f00b540 MIPS: ralink: Fix mt7620 nd_sd pinmux
87b2d7eda8cc sched, trace: Fix prev_state output in sched_switch tracepoint
52338737ea2c mtd: nand: Fix memory allocation in nanddev_bbt_init()
fa8d131f585a uprobes: Fix handle_swbp() vs. unregister() + register() race once more
f895888ad58f iser: set sector for ambiguous mr status errors
62613ca14469 unifdef: use memcpy instead of strncpy
8a4fd8949897 test_hexdump: use memcpy instead of strncpy
f68e638adaa5 misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
021b5e5a42e3 Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()
f6167c3770f1 mm: use swp_offset as key in shmem_replace_page()
d7044875a946 mm: cleancache: fix corruption on missed inode invalidation
b14c4a131d36 lib/test_kmod.c: fix rmmod double free
1b42a6def46d iio:st_magn: Fix enable device after trigger
f6bd7b8e4dbc iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers
a7cf14d6bbf0 Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid"
b9be70d82cf4 usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series
c233ce9ca873 USB: usb-storage: Add new IDs to ums-realtek
726cd6bbfb4f staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station
cc91a66f70cd staging: rtl8723bs: Fix incorrect sense of ether_addr_equal
a4827072018e staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'
3278d1121784 staging: vchiq_arm: fix compat VCHIQ_IOC_AWAIT_COMPLETION
4871268b9733 staging: most: use format specifier "%s" in snprintf
f52619fef6f3 dmaengine: at_hdmac: fix module unloading
55a2c785818e dmaengine: at_hdmac: fix memory leak in at_dma_xlate()
7def2114f963 ARM: dts: rockchip: Remove @0 from the veyron memory node
d66e9553bb93 ASoC: pcm186x: Fix device reset-registers trigger value
f28e4296150d ext2: fix potential use after free
13cd83a3fdc6 ext2: initialize opts.s_mount_opt as zero before using it
715877236823 binder: fix race that allows malicious free of live buffer
4c80a994e1c3 function_graph: Reverse the order of pushing the ret_stack and the callback
401bacb8a999 function_graph: Move return callback before update of curr_ret_stack
5a45629359d8 function_graph: Have profiler use curr_ret_stack and not depth
cdf8638a4a78 function_graph: Use new curr_ret_depth to manage depth instead of curr_ret_stack
f54f3a8c164c function_graph: Make ftrace_push_return_trace() static
19ebfe10ab9d MIPS: function_graph: Simplify with function_graph_enter()
be7bcea6943b arm64: function_graph: Simplify with function_graph_enter()
25465f3e0f89 s390/function_graph: Simplify with function_graph_enter()
212fd6ab8b90 riscv/function_graph: Simplify with function_graph_enter()
7845921e7845 parisc: function_graph: Simplify with function_graph_enter()
02c3b2f09537 sparc/function_graph: Simplify with function_graph_enter()
fadb32957bd3 sh/function_graph: Simplify with function_graph_enter()
e8dab372f22f powerpc/function_graph: Simplify with function_graph_enter()
06e04113d8ee x86/function_graph: Simplify with function_graph_enter()
8974d9ddee8c microblaze: function_graph: Simplify with function_graph_enter()
2ed3d836c186 ARM: function_graph: Simplify with function_graph_enter()
a46f2a2ab8f7 function_graph: Create function_graph_enter() to consolidate architecture code
0c23df1fb2ee ALSA: hda/realtek - fix headset mic detection for MSI MS-B171
d33625c9ad99 ALSA: hda/realtek - Support ALC300
d3736fa6a629 ALSA: hda: Add ASRock N68C-S UCC the power_save blacklist
ac3d401ca588 ALSA: sparc: Fix invalid snd_free_pages() at error path
5f8920cbdf8b ALSA: control: Fix race between adding and removing a user element
68d40bdae9e1 ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write
8a066b939728 ALSA: wss: Fix invalid snd_free_pages() at error path
4e153baac165 fs: fix lost error code in dio_complete
b3a80504fc6b perf/x86/intel: Disallow precise_ip on BTS events
ef7ffa5edebb perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts()
f273d7b0f5ea perf/x86/intel: Move branch tracing setup to the Intel-specific source file
920db419fad5 x86/fpu: Disable bottom halves while loading FPU registers
01ae1b649cc4 x86/MCE/AMD: Fix the thresholding machinery initialization order
598ab7f4e75e arm64: dts: rockchip: Fix PCIe reset polarity for rk3399-puma-haikou.
39b75abd266e PCI: layerscape: Fix wrong invocation of outbound window disable accessor
aede037397ca btrfs: relocation: set trans to be NULL after ending transaction
2fa66c494021 Btrfs: fix race between enabling quotas and subvolume creation
050f755e1050 Btrfs: ensure path name is null terminated at btrfs_control_ioctl
8640e4eba7a1 btrfs: Always try all copies when reading extent buffers
d57b922c1fc6 udf: Allow mounting volumes with incorrect identification strings
633f035c73f8 xtensa: fix coprocessor part of ptrace_{get,set}xregs
e3b5970eae2a xtensa: fix coprocessor context offset definitions
7123932c3463 xtensa: enable coprocessors that are being flushed
4fea3a135968 KVM: VMX: re-add ple_gap module parameter
2eda497b4155 KVM: X86: Fix scan ioapic use-before-initialization
8c896ea1f95d KVM: x86: Fix kernel info-leak in KVM_HC_CLOCK_PAIRING hypercall
cee09b048c40 KVM: nVMX/nSVM: Fix bug which sets vcpu->arch.tsc_offset to L1 tsc_offset
60fa1976cc5a kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
151d0990d8c6 kvm: mmu: Fix race in emulated page table writes
e7f4a4ecf899 userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas
d04ea8a3e52b x86/speculation: Provide IBPB always command line options
ba6fd92d9dde x86/speculation: Add seccomp Spectre v2 user space protection mode
e162e0cb9f48 x86/speculation: Enable prctl mode for spectre_v2_user
4fe877ade966 x86/speculation: Add prctl() control for indirect branch speculation
26a22284be5b x86/speculation: Prepare arch_smt_update() for PRCTL mode
3380e40c38d1 x86/speculation: Prevent stale SPEC_CTRL msr content
dafcdc4d3ef4 x86/speculation: Split out TIF update
b34c1d1e20ff ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS
2f191447843d x86/speculation: Prepare for conditional IBPB in switch_mm()
3c4a52665935 x86/speculation: Avoid __switch_to_xtra() calls
9a02cf2b59f7 x86/process: Consolidate and simplify switch_to_xtra() code
e45f1bf477c2 x86/speculation: Prepare for per task indirect branch speculation control
40e17356647d x86/speculation: Add command line control for indirect branch speculation
34ca30f6ebb2 x86/speculation: Unify conditional spectre v2 print functions
8cf2abe5a48d x86/speculataion: Mark command line parser data __initdata
b2e49f57b3d3 x86/speculation: Mark string arrays const correctly
a951ec1282ca x86/speculation: Reorder the spec_v2 code
f6e97c269fdf x86/l1tf: Show actual SMT state
124f1934f087 x86/speculation: Rework SMT state change
0db58041bd88 sched/smt: Expose sched_smt_present static key
9b76ef59f198 x86/Kconfig: Select SCHED_SMT if SMP enabled
74c0d392f4d2 sched/smt: Make sched_smt_present track topology
4b44044665b7 x86/speculation: Reorganize speculation control MSRs update
9d35dc0b1975 x86/speculation: Rename SSBD update functions
ae5c861d44a2 x86/speculation: Disable STIBP when enhanced IBRS is in use
9fdce9f0d6f6 x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()
d9e0d122ae45 x86/speculation: Remove unnecessary ret variable in cpu_show_common()
9ca44b34145e x86/speculation: Clean up spectre_v2_parse_cmdline()
f472b112c142 x86/speculation: Update the TIF_SSBD comment
4fe817e5f922 x86/retpoline: Remove minimal retpoline support
cdda9afbdbcb x86/build: Fix compiler support check for CONFIG_RETPOLINE
80420a04a82c x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support
e338c91ae9bb x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant
dd970c7bb37c x86/speculation: Propagate information about RSB filling mitigation to sysfs
1a42c7686198 x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
3fafe253622e tcp: defer SACK compression after DupThresh
973b2d8edb37 net/dim: Update DIM start sample after each DIM iteration
0541a4ad4c11 virtio-net: fail XDP set if guest csum is negotiated
326888b906c0 virtio-net: disable guest csum during XDP set
ce853ea2a2e1 net: skb_scrub_packet(): Scrub offload_fwd_mark
497d616f9ef9 net: thunderx: set xdp_prog to NULL if bpf_prog_add fails
32978c0d13b0 usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2
303b14516da0 s390/qeth: fix length check in SNMP processing
beedfff965e4 rapidio/rionet: do not free skb before reading its length
9bde4bd658b6 packet: copy user buffers before orphan or clone
8240b24014e5 net: thunderx: set tso_hdrs pointer to NULL in nicvf_free_snd_queue
f4b7bf2f7824 net: gemini: Fix copy/paste error
1a57f5e05433 net: don't keep lonely packets forever in the gro hash
fa9f95c537f2 lan743x: fix return value for lan743x_tx_napi_poll
e7ef14941113 lan743x: Enable driver to work with LAN7431
a7a42d6ae23e mm/khugepaged: collapse_shmem() do not crash on Compound
219f7f003c6b mm/khugepaged: collapse_shmem() without freezing new_page
a5df6e4dd710 mm/khugepaged: minor reorderings in collapse_shmem()
1d0476b09ae2 mm/khugepaged: collapse_shmem() remember to clear holes
ba76e023cbcd mm/khugepaged: fix crashes due to misaccounted holes
4ee51871be50 mm/khugepaged: collapse_shmem() stop if punched or truncated
4b7da0a23ab7 mm/huge_memory: fix lockdep complaint on 32-bit i_size_read()
4ea44ec50a87 mm/huge_memory: splitting set mapping+index before unfreeze
9385e2751953 mm/huge_memory: rename freeze_page() to unmap_page()
cfe3f465651c media: ov5640: fix auto controls values when switching to manual mode
ce92e4309a8f media: ov5640: fix wrong binning value in exposure calculation
797f0d9cdb19 media: ov5640: fix auto gain & exposure when changing mode
09dd7d55020c media: ov5640: fix exposure regression
d081f6351a54 media: ov5640: Fix timings setup code
e27220212028 media: ov5640: Re-work MIPI startup sequence
1941b77cf04d rcu: Make need_resched() respond to urgent RCU-QS needs
2d694e55c1a8 tty: wipe buffer if not echoing data
ff91ad4b37b6 tty: wipe buffer.
c9a2097b5bca include/linux/pfn_t.h: force '~' to be parsed as an unary operator
69adf873d6b7 mm, page_alloc: check for max order in hot path
4cf135795c19 tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offset
5056621d3d82 mm, memory_hotplug: check zone_movable in has_unmovable_pages
dfa625fbef30 z3fold: fix possible reclaim races
32536aab2f6d powerpc/numa: Suppress "VPHN is not supported" messages
41d104c27a25 NFSv4: Fix an Oops during delegation callbacks
7d1687dde51a kdb: Use strscpy with destination buffer size
32fe7d4fb78e drm/amdgpu: fix bug with IH ring setup
f93e575d397a RISC-V: Silence some module warnings on 32-bit
8e1136c5aff5 riscv: add missing vdso_install target
48182b646f13 SUNRPC: Fix a bogus get/put in generic_key_to_expire()
11e0046dcfea perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs
73141f3f7b4f sched/fair: Fix cpu_util_wake() for 'execl' type workloads
757ebe2cf812 powerpc/io: Fix the IO workarounds code to work with Radix
cf650c21904c floppy: fix race condition in __floppy_read_block_0()
7e04a587b960 crypto: simd - correctly take reqsize of wrapped skcipher into account
eeb7ebec5993 rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write
1a7a12521b42 rtc: cmos: Do not export alarm rtc_ops when we do not support alarms
06200773ff6b cpufreq: imx6q: add return value check for voltage scale
8bc2418df6ef KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE
c2d490ff84be scsi: hisi_sas: Remove set but not used variable 'dq_list'
7fa1b9068daf pinctrl: meson: fix meson8b ao pull register bits
c3faa93f65aa pinctrl: meson: fix meson8 ao pull register bits
539eae5c2efb pinctrl: meson: fix gxl ao pull register bits
81e6fb4d21c9 pinctrl: meson: fix gxbb ao pull register bits
23980899fd33 pinctrl: meson: fix pinconf bias disable
2acf52e0d024 fsnotify: generalize handling of extra event flags
70804a2395f9 IB/hfi1: Eliminate races in the SDMA send error path
36f0ce79eea5 ACPICA: AML interpreter: add region addresses in global list during initialization
98a7ff363966 can: flexcan: remove not needed struct flexcan_priv::tx_mb and struct flexcan_priv::tx_mb_idx
7e6c6e8f96a3 can: flexcan: Always use last mailbox for TX
09c695304ced can: hi311x: Use level-triggered interrupt
d5f1bed61e87 can: raw: check for CAN FD capable netdev in raw_sendmsg()
5dbbeea479ba can: flexcan: handle tx-complete CAN frames via rx-offload infrastructure
9d698b0e8c60 can: flexcan: use can_rx_offload_queue_sorted() for flexcan_irq_bus_*()
3ca38586737b can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail()
b564520dc84a can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sorted() functions
ba4d601f11da can: dev: __can_get_echo_skb(): print error message, if trying to echo non existing skb
14daeee327c0 can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds
bd8f43390a6e can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length
ec51a36d40ba can: dev: can_get_echo_skb(): factor out non sending code to __can_get_echo_skb()
17afd6b2f539 can: flexcan: Unlock the MB unconditionally
4e10eaf14115 drm/ast: Remove existing framebuffers before loading driver
2059f682eac4 drm/ast: fixed cursor may disappear sometimes
47d28426881e drm/ast: change resolution may cause screen blurred
231220ffbd0c drm/i915: Disable LP3 watermarks on all SNB machines
0ca629caa428 tcp: do not release socket ownership in tcp_close()
235bb14bb504 mm/memory.c: recheck page table entry with page table lock held
700d687423ce mm: don't warn about large allocations for slab
3deb594eb9cc llc: do not use sk_eat_skb()
d62cdc16c019 gfs2: Don't leave s_fs_info pointing to freed memory in init_sbd
91aa78f105a0 sctp: clear the transport of some out_chunk_list chunks in sctp_assoc_rm_peer
1ffe2390eec3 bfs: add sanity check at bfs_fill_super()
609b2f88baa9 Input: synaptics - avoid using uninitialized variable when probing
1c3712cd9ec5 selinux: Add __GFP_NOWARN to allocation at str_read()
f4dd907859f6 v9fs_dir_readdir: fix double-free on p9stat_read error
43fb0f750bf5 tools/power/cpupower: fix compilation with STATIC=true
7b18c23b8a15 opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call
cdcc687a7c0f opp: ti-opp-supply: Dynamically update u_volt_min
adf820e7040b brcmfmac: fix reporting support for 160 MHz channels
77260dca90d8 iwlwifi: mvm: don't use SAR Geo if basic SAR is not used
230956227e0f iwlwifi: mvm: fix regulatory domain update when the firmware starts
34c26e7ff77e iwlwifi: mvm: support sta_statistics() even on older firmware
4e7059a1ef08 iwlwifi: fix wrong WGDS_WIFI_DATA_SIZE
00db19541478 gpio: don't free unallocated ida on gpiochip_add_data_with_key() error path
1c65bc42b0b6 mmc: sdhci-pci: Workaround GLK firmware failing to restore the tuning value
e670f3c0bd7f mmc: sdhci-pci: Try "cd" for card-detect lookup before using NULL
0279a3e8c9a3 Documentation/security-bugs: Postpone fix publication in exceptional cases
bea263a4d369 Documentation/security-bugs: Clarify treatment of embargoed information
85225e451366 MAINTAINERS: Add Sasha as a stable branch maintainer
a820ce4d4189 ALSA: oss: Use kvzalloc() for local buffer allocations
7ca1b0cfd1f5 usb: xhci: Prevent bus suspend if a port connect change or polling state is detected
6dc2234cfc3d xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc
e23d44bfb180 usb: xhci: fix timeout for transition from RExit to U0
794e4eca3eb8 usb: xhci: fix uninitialized completion when USB3 port got wrong status
e705be077247 xhci: Add check for invalid byte size error when UAS devices are connected.
a065ce744fcb xhci: handle port status events for removed USB3 hcd
d0ab048de951 xhci: Fix leaking USB3 shared_hcd at xhci removal
c191d670df6c usb: dwc3: core: Clean up ULPI device
baae5ac1953b usb: dwc3: gadget: Properly check last unaligned/zero chain TRB
a3c907510737 usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers
2b5d953d4120 usb: core: Fix hub port connection events lost
015ca0f92560 efi/libstub: arm: support building with clang
7972aba9b9a0 HID: steam: remove input device when a hid client is running.
(From OE-Core rev: d288dc17d6fe6e88d6a490f258e8d2502d661aad)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the linux-libc-headers to match the latest reference
kernel in oe-core.
We addtionally add three patches (identified by Khem) to fix muslc
aarch64 build issues.
(From OE-Core rev: 11f02b7c6f9854eecd3a49ea47833c8cbffb1581)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is an amendment for
2322dc4 "linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe"
which moves just the temporary input file from /tmp to build directory. But the
build directory may not in the same file system with the output file,
/dev/null, either and thus make it possible to trigger that bug, 67f846b, in
binutil v2.31.
This patch puts both the input and output files into build directory for good.
(From OE-Core rev: 0d836013e43f29cb7d4a1f8bb9ef04dd8d9132df)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Converts sstate so that it can use a hash equivalence server to
determine if a task really needs to be rebuilt, or if it can be restored
from a different (equivalent) sstate object.
The unique hashes are cached persistently using persist_data. This has
a number of advantages:
1) Unique hashes can be cached between invocations of bitbake to
prevent needing to contact the server every time (which is slow)
2) The value of each tasks unique hash can easily be synchronized
between different threads, which will be useful if bitbake is
updated to do on the fly task re-hashing.
[YOCTO #13030]
(From OE-Core rev: d889acb4f8f06f09cece80fa12661725e6e5f037)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handles the argument that passes task unique hash in the hash check
function, as it is now required by bitbake
[YOCTO #13030]
(From OE-Core rev: 1c14b6969e58b51a325c1c1acf9c96e55675035c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarly to the codeparser change, change to sha256 hashes due to worries
over collisions. The main impact of this change is slightly slower parsing
time as well as longer sstate file names.
(Bitbake rev: 66f1b766997d53b4375fdd25719b1175f3828903)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've reports of hash collision with codeparser. Looking at the way collision
problems occur with md5 and the way our function templating works, I can believe
we may run into issues.
This patch therefore switches to sha256.
Performance wise, parse time could appear to rise by 4s in 374s
Before:
384329 in 2.966s (md5)
After:
349743 in 2.340s (sha256)
34723 in 1.245s (md5)
since we still have md5 used elsewhere in the code, something we should look at
next (using sha256 everywhere is around 5.3s in total)
Unfortunately this does nearly double the size of the codeparser cache file
due to the hash size change.
(Bitbake rev: 4bed7a97198176503fe8c72d8dd7c36b28fc9dd1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have two choices, split the recipes amongst the parsing threads in
blocks ahead of time, or have a queue which parsers pull from when idle.
The optimum approach depends on how similar the pieces are. For the single
recipe reparse case, there is currently a significant wait for the feeder
thread to start (around 0.25s in a 2s command).
Its possible splitting into blocks in advance may be unluckly for some other
workloads but experimentally it seems to work better overall for me at least.
(Bitbake rev: ae79868861568d673a70472e85a4bde9e2d84a8f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There used to be many bugs in multiprocessing and we implemented our own
feeder process to avoid them. Now that we have python 3.x, these are fixed
and just using the standard Queue mechanism appears to work fine. We can
therefore drop the unneeded code and simplify.
(Bitbake rev: b2d39fc37fcf3c81a562ec1ef4f8b4c1a493fc57)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test for x86_64 in overrides where is was being incorrectly handled.
There was a previous fix (3a3be518536acc868c7eeb3c1111ad1b321480b7) but
this ensures we don't regress.
(Bitbake rev: 08c314eac231ac9292c8c95f1c5a6fc2023fe749)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implements a reference implementation of the hash equivalence server.
This server has minimal dependencies (and no dependencies outside of the
standard Python library), and implements the minimum required to be a
conforming hash equivalence server.
[YOCTO #13030]
(Bitbake rev: 1bb2ad0b44b94ee04870bf3f7dac4e663bed6e4d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under heavy load with process delays, sqlite can issues a "locking
protocol" error (SQLITE_PROTOCOL). Unfortunately, it is impossible to
distinguish between actual locking protocol errors and this race
condition, so they best that can be done is to retry the operation when
the error is detected.
[YOCTO #13108]
(Bitbake rev: 93cd15644f9d12b38abea276fee7b5bade0276df)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix below warning:
WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
usr/lib/python2.7/lib-dynload/_bsddb.so
setup.py will check db.h under include_dirs, for native build,
/usr/lib64 will be insert to postion 0 of include_dirs, so
it's priority is higher then our sysroot, cause db.h sysroot
is ignored, and rpath set to /usr/lib64. and this cause warning
when do_populate_sysroot. use append to fix it.
(From OE-Core rev: cf994752b69083aaa4f0b873357d6c873b32d7be)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When working path contains "clang"/"gcc"/"icc", it might be part of $CC
because of the "--sysroot" parameter. That could cause judgement error
about clang/gcc/icc compilers.
eg: if build under /yocto/builds/xicc/, bitbake python, $CC will contains
xicc, will make $CC match *icc, but actuall xicc just folder name.
When "*icc" is matched, below errors are reported when
compiling python/python3:
x86_64-wrs-linux-gcc: error: strict: No such file or directory
x86_64-wrs-linux-gcc: error: unrecognized command line option '-fp-model'
Here use cc_basename to replace CC for checking compiler to avoid such
kind of issue.
(From OE-Core rev: 96383efa2726ed1bf7893332d726112a8552fc24)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When kernel-fitimage and initramfs is enabled using
INITRAMFS_IMAGE_BUNDLE = "1", kernel do_deploy tries to deploy
fitImage.initramfs with following error
| install: cannot stat 'arch/arm64/boot/fitImage.initramfs': No such
file or directory
Skip deploying fitimage.initramfs, since fitimage does not
create fitimage.initramfs
(From OE-Core rev: 0f87f8522a2c1b5a7042738887952b98060fbd9d)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of a dictionary for link_rename causes problems for higher-order
alternatives, i.e. when an alternative link points to another
alternative link, since these links must be processed in the order in
which they were originally added for symlink correction to work.
Switch from a dict to a list of tuples to ensure processing happens in
the original order.
(From OE-Core rev: 326220267ffc43ec1f507ad0cc47ac59caafd5b7)
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot mainline supports menuconfig, this patch enables menuconfig for
u-boot using cml1.
u-boot recipe in OE-core handles multi configuration of u-boot using
UBOOT_CONFIG. Since we cannot determine on which u-boot config the
menuconfig should run, the patch limits when UBOOT_CONFIG is not
defined.
(From OE-Core rev: 11278e3b2c75be80645b9841763a97dbb35daadc)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sort 'srcrevs' and 'tag_srcrevs' before iterating over them in order
to avoid unnecessary changes in the build history.
(From OE-Core rev: 031d708aedda11d65ba9746af4f01b91264a1f86)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-march=armv5't'e means that CPU can execute thumb ISA, we do not need to
tie this to exclusively generating thumb ISA, this change means that
when we have thumb in tune features then it can use 't' in -march
options irrespective of ISA being thumb or arm.
This fixes derivative of armv5 tunes and paves way for gcc9 where e.g.
armv5e is dropped and minimum arch supported is armv5te
(From OE-Core rev: 49bc3eab2897307a92b538a045e3d4dce245b0e0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5s timeout for non-kvm is too short, especially when the load is high,
which leads to unexpected errors, so set timeout to 60s by default.
(From OE-Core rev: 8197d0f638a760fc03062c7a9009117d083d7ead)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the unique hash is being used to track task dependencies, the hash
validation function needs to know about it in order to properly validate
the hash.
[YOCTO #13030]
(Bitbake rev: 9a529bb2658a4046dafbf32e1eb503d84e64e947)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The unique hash is now passed to the task in the BB_UNIHASH variable
[YOCTO #13030]
(Bitbake rev: aab80b099f6f259e4b57cba2c26dd385d07c5947)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Requests the task unique hash from siggen and tracks it
[YOCTO #13030]
(Bitbake rev: 1ecc47f0831b35c8c92b37a81cef4e43ff9f67b2)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Abstracts the function to get the unique hash for a task. This hash is
used as in place of the taskhash for the purpose of determine how other
tasks depend on this one. Unless overridden, the taskhash is the same as
the unique hash, preserving the original behavior.
[YOCTO #13030]
(Bitbake rev: d0065b34cea81fcadff14b0383779e9559d94508)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can save do_configure's time from 330s to 60s on my host.
(From OE-Core rev: c22b0bf66a28324da66caf0660f171cc279a1f2b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson is growing in popularity, so add it to the SDK packagegroup.
(From OE-Core rev: e2f863e13d33b193b1b5b1ba08f574776a210ac1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses pkg_resources, which is part of setuptools.
(From OE-Core rev: 30a9dbc8a13928541ce6ff270801b8fd1c8af37e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix:
Error: Transaction check error:
file /usr/share/man/man3/crypt.3 conflicts between attempted installs
of libcrypt-doc-4.4.1-r0.core2_64 and man-pages-4.16-r0.core2_64
This issue came about after commit 59be9254df9f [libxcrypt: Upgrade to
4.4.1 release].
(From OE-Core rev: c4e0034cd1f020cfb074c7c80af281683752afeb)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patches now included in the update
refactoered pkgconfig.patch
(From OE-Core rev: cb38ff242cf3e1a9cda726703bd12778bde38f93)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fix only update.
Bug 1252891 - Implemented EKU handling for IPsec IKE.
Bug 1423043 - Enable half-closed states for TLS.
Bug 1493215 - Enabled the following ciphersuites by default:
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_RSA_WITH_AES_256_GCM_SHA384
Bug 1412829, Reject empty supported_signature_algorithms in Certificate Request in TLS 1.2
Bug 1485864 - Cache side-channel variant of the Bleichenbacher attack (CVE-2018-12404)
Bug 1481271 - Resend the same ticket in ClientHello after HelloRetryRequest
Bug 1493769 - Set session_id for external resumption tokens
Bug 1507179 - Reject CCS after handshake is complete in TLS 1.3
(From OE-Core rev: e0e6b80d76efbe044ce9b8923897195b28c2680c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SRCREV upgraded to 223817ee3798 ("Add Wayland support")
Additional patches rebased to this version
(From OE-Core rev: 50691151e916b1cdb9291f0f0bd913f2f79acfcd)
Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sstate bbclass uses workdir as a hardcoded string in path
manipulations. This means that the sstate caching mechanism does
not work for the work-shared directory which the kernel uses to
share its build configuration and source files for out of tree
kernel modules.
This commit modifies the path manipulation mechanism to use the
work-shared directory if detected in the paths when handling the
sstate cache packages.
(From OE-Core rev: 27642449f95e38598f9c83948ce109c5891e5877)
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When an indirect multiconfig dependency exists, such as:
A depends on B, B has a multiconfig dependency to C,and our build
target is A, the multiconfig dependency to C is not processed on
time, hence no providers are added for it, causing an exception in
the runqueue because the dependency does exist in it.
Call add_unresolved() for all available multiconfigs before processing
providers for multiconfig dependencies, detecting mcdepends on time so
providers for them can be added correctly.
(Bitbake rev: 8a6bc7584ad61b4de98af92a86066602006262f9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Follow dependent hash changes recursively also when specifying two
signature files explicitly. Previously this was only done when using the
--task option.
(Bitbake rev: 353f0f3c77c3cdd75c1be2a565234a5e53dba3ef)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The functionalities of bitbake-diffsigs and bitbake-dumpsig are so
similar that they can be merged into one. Add an option --dump to make
bitbake-diffsigs dump the last signature data instead of comparing it.
Keep bitbake-dumpsig as a symbolic link to bitbake-diffsigs. When it is
called as bitbake-dumpsig, it behaves as if --dump was specified.
Also make -D the short option for --debug again (the way it used to be,
and still was for bitbake-dumpsig), so that -d can be used as the short
option for --dump.
(Bitbake rev: 3635b829e4eb940ada2b52bfb5b5e5be93a3b0aa)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg needs the replaces/conflicts/provides in order for this package
to function as intended. When enabled, this code caused failures for
core-image-sato -c populate_sdk.
The reason is that nativesdk-autoconf has several perl dependencies. We
need to list more of the things which this package provides/conflicts
with in order for it to function correctly. Therefore add the missing
entries.
(From OE-Core rev: 27412b377dda47daa87bfcb3a41babe53ff8b0a3)
(From OE-Core rev: e0db1beb6db624b3b743e780c298c63a1e177cfb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When use simpleremote target the flash/boot process is executed
manually, the IMAGE_FSTYPES validation is only needed when execute
testimage against qemu.
The supported_fstypes comes from oeqa.core.target.qemu module.
(From OE-Core rev: e7dc5963adbacc091fe8943119262166977623ad)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes:
curl: add %{stderr} and %{stdout} for --write-out
curl: add undocumented option --dump-module-paths for win32
setopt: add CURLOPT_CURLU
For full list of changes see:
https://curl.haxx.se/changes.html
(From OE-Core rev: 2837266edbe097dcd9ff5fcdf29bb56f38bf564d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018i:
Briefly:
São Tomé and Príncipe switches from +01 to +00 on 2019-01-01.
Changes to future timestamps
Due to a change in government, São Tomé and Príncipe switches back
from +01 to +00 on 2019-01-01 at 02:00. (Thanks to Vadim
Nasardinov and Michael Deckers.)
2018h:
Briefly:
Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
Metlakatla, Alaska observes PST this winter only.
Guess Morocco will continue to adjust clocks around Ramadan.
Add predictions for Iran from 2038 through 2090.
Changes to future timestamps
Guess that Morocco will continue to fall back just before and
spring forward just after Ramadan, the practice since 2012.
(Thanks to Maamar Abdelkader.) This means Morocco will observe
negative DST during Ramadan in main and vanguard formats, and in
rearguard format it stays in the +00 timezone and observes
ordinary DST in all months other than Ramadan. As before, extend
this guesswork to the year 2037. As a consequence, Morocco is
scheduled to observe three DST transitions in some Gregorian years
(e.g., 2033) due to the mismatch between the Gregorian and Islamic
calendars.
The table of exact transitions for Iranian DST has been extended.
It formerly cut off before the year 2038 in a nod to 32-bit time_t.
It now cuts off before 2091 as there is doubt about how the Persian
calendar will treat 2091. This change predicts DST transitions in
2038-9, 2042-3, and 2046-7 to occur one day later than previously
predicted. As before, post-cutoff transitions are approximated.
Changes to past and future timestamps
Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
+05 on 2018-12-21. This is a zone split as Qostanay (aka
Kostanay) did not switch, so create a zone Asia/Qostanay.
Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
It did not change clocks that day and remains on -08 this winter.
(Thanks to Ryan Stanley.) It will revert to the usual Alaska
rules next spring, so this change affects only timestamps
from 2018-11-04 through 2019-03-10.
Change to past timestamps
Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
not 00:00. I transcribed the time incorrectly from Shanks.
(Thanks to Phake Nick.)
Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
(Thanks to Phake Nick.)
Guam observed DST irregularly from 1959 through 1977.
(Thanks to Phake Nick.)
Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
10-01 changed standard time to +08:30 (not +08). Its transition
back to +08 after WWII was on 1945-09-15, not the previous day.
Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
(Thanks to Phake Nick, Steve Allen, and Joseph Myers.) Also,
its 1952 fallback was on 11-02 (not 10-25).
This release contains many changes to timestamps before 1946 due
to Japanese possession or occupation of Pacific/Chuuk,
Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
(Thanks to Phake Nick.)
Assume that the Spanish East Indies was like the Philippines and
observed American time until the end of 1844. This affects
Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.
Changes to past tm_isdst flags
For the recent Morocco change, the tm_isdst flag should be 1 from
2018-10-27 00:00 to 2018-10-28 03:00. (Thanks to Michael Deckers.)
Give a URL to the official decree. (Thanks to Matt Johnson.)
(From OE-Core rev: 100d0d0f24cabedd1a89b69ac8ffb05d85663761)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Correctly-install-the-shared-library.patch as upstream fixed the issue.
(From OE-Core rev: c9447be6efc89b2d6259bcd4237af482d47b389f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed gi-flags.patch and gtkdoc-flags.patch, rebase the rest.
(From OE-Core rev: 6cc5c57c38d2da37b4f15dea6e1fb97e3a0bae73)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Then we can get user's UID and GID rather than hardcode to 1000, e.g.:
- Without sudo
$ runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]
- With sudo
$ sudo ../poky/scripts/runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]
(From OE-Core rev: 446e7da7e56f9de3602498b5ef40e9e0f8f71837)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libnolto_coregrind_a_OBJECTS is in libcoregrind_a_LIBADD, so the objects
should be ready before generate libcoregrind.a, otherwise there would be
failures:
i586-poky-linux-ar: libnolto_coregrind_x86_linux_a-m_libcsetjmp.o: No such file or directory
make[3]: *** [libcoregrind-x86-linux.a] Error 1
Add libnolto_coregrind_a_OBJECTS to EXTRA_libcoregrind_DEPENDENCIES to fix the
problem.
This is a race issue during parallel build.
(From OE-Core rev: 713d6978894269e5b463c3731c03da7e83956743)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The line was added in
os-release: add the public package-signing key
f7359ad6bec82d4aa761287a6c6d53cbc25adab3
but the actual usage was removed in
signing-keys: Make signing keys the only publisher of keys
1e38068ac38dfd067655dfd41464e28439179306
(From OE-Core rev: 05aeb9de239beff4bfdb3cd7dc39d484ecb69190)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* in some rare cases the file format might be broken, e.g. when you run
out of disk space while writing to it (hint: make sure to use
BB_DISKMON_DIRS on _all_ the builds, to make sure that they can stop
gracefully before this happens).
* will show error like this:
ERROR: Invalid line '/OE/build/luneos-thud/webos-ports' in sstate manifest '/OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/index-allarch'
when the file isn't complete, like in my case:
$ tail -n 2 /OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/index-allarch
/OE/build/luneos-thud/webos-ports/tmp-glibc/stamps/all-webos-linux/org.webosports.app.calculator/0.1.1+gitrAUTOINC+9e9eb67c28-r0 /OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/manifest-allarch-org.webosports.app.calculator /OE/build/luneos-thud/webos-ports/tmp-glibc/work/all-webos-linux/org.webosports.app.calculator/0.1.1+gitrAUTOINC+9e9eb67c28-r0
/OE/build/luneos-thud/webos-ports
* instead of much longer exception which doesn't really show what's
wrong to selectively fix that (other than removing while TMPDIR):
ERROR: Command execution failed: Traceback (most recent call last):
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/command.py", line 113, in runAsyncCommand
self.cooker.updateCache()
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/cooker.py", line 1562, in updateCache
bb.event.fire(event, self.databuilder.mcdata[mc])
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 225, in fire
fire_class_handlers(event, d)
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
execute_handler(name, handler, event, d)
File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 106, in execute_handler
ret = handler(event)
File "/OE/build/luneos-thud/webos-ports/openembedded-core/meta/classes/sstate.bbclass", line 1083, in sstate_eventhandler2
(stamp, manifest, workdir) = l.split()
ValueError: not enough values to unpack (expected 3, got 1)
(From OE-Core rev: 870ba5d80e76e0f989971532fc2adc0ebe811ab6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before linux commit d36b691077dc59c74efec0d54ed21b86f7a2a21a, some
strings contained invalid utf-8 character which made
split_kernel_module_packages unhappy when parsing ums-isd200.ko:
Exception: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 21: invalid start byte
(From OE-Core rev: 503b977acf6984120818cbc5cfd35ff2cffb39cd)
Signed-off-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In OE we do not build mutlib like gcc does it by default, this ensures
that mutlilib is virtually disabled for OE, since we hardly use same gcc
to build for multiple ABIs
This fixes cases in SDK where g++ is not able to find standard c++
include headers
(From OE-Core rev: badbeb01dd642d9d647d3760a3ce2aa39c3567da)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When pam PACKAGECONFIG is enabled a cups "pam.d" configuration file is
installed. The default configuration file uses a non-existing "pam_unknown.so",
but a different existing module can be selected by passing the
--with-pam-module parameter. Use the unix pam module when pam is enabled.
(From OE-Core rev: a7fb921e16e2eb4fa5a799b556d23d79801720b0)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12399]
Fixes made to have the BitBake User Manual included in the build
of the mega-manual. I placed this manual at the end of the
mega-manual. Following changes made:
* Makefile - Modified to include two PNG files. All PNG files
in a given manual are listed in the area that makes
the mega-manual so that the tarfile is complete.
* mega-manual.xml - Updated the front wording to tell the user
that the BitBake User Manual is included in the
Mega-Manual. Also, added a last section to actually
include the bitbake-title.png file and the *.xml
files. Note that I could not add the title figure
from the same figures folder of the local "bitbake"
folder. Would not include in the build. So, I
pulled the file from the figures folder of the
mega-manual, which is what I do for all the other
book titles used in the mega-manual.
* mega-manual.sed - Modified to clean out the old stuff that
had been carried along for older books not
supported for the release. Modified to include
link processing for the newly included BitBake
User Manual.
* New Figures - Moved copies of the "bb_multiconfig_files.png"
and "bitbake-title.png" figures into the
figures folder of the mega-manual.
(From yocto-docs rev: 78a1ae0ca92bb7f8a9d3a32a320299371d0ed361)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some occurrences of links to the BitBake User Manual were using
a target (i.e. &YOCTO_DOCS_BB_URL;#bitbake-user-manual). Using
this form causes the mega-manual.sed file to not process the link
correctly for the mega-manual. These are subtle errors and have
probably existed for some time. I removed the target ID to fix
the problem.
(From yocto-docs rev: 701f61fd80e5103ee02efbe5eed9a8607ac9a336)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Boot parameter systemd.log_target=console affects command journalctl's
output and causes oe selftest case test_systemd_boot_time fail to pass.
| Error at obtaining the boot time from journalctl
| RESULTS:
| RESULTS - systemd.SystemdJournalTests.test_systemd_boot_time - Testcase -1: SKIPPED (0.74s)
systemd.log_target=console was introduced by oe-core commit a0bb649 and
work with parameter systemd.log_level to enable systemd debug.
systemd.log_level has been removed already, so remove systemd.log_target
too to make case test_systemd_boot_time pass.
(From OE-Core rev: caa776bdcf8ea34c857f45970370bf771075f4bc)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Append minor version to PV so recipe checker is happy
* Drop upstreamed patches
* Remove changelog from CVE patches, they dont apply and are in patch
log anyway
(From OE-Core rev: 550085bc092d773c8c481e238d0d3210466166dc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Licence-Update: Copyright Alexander Peslyak; 0-clause BSD added
see e07290ec7c
Rename recipe to ve versionless and add PV in recipe itself, makes it
easy to traverse git history
Drop upstreamed patch
(From OE-Core rev: 2eae2d53df739acc2f89599a9296ccacbafebb60)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These warnings are intricate and we can ignore that for now as they are
being found by gcc 9, eventually this should be not needed when code
upstream is fixed
(From OE-Core rev: 42176d26e5c893e86ab5d8a2e5b8a3d021e03a69)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch that helps with this error which is found
by gcc9
(From OE-Core rev: 93419fb569b827056a422614d3dc29cd41b2b6bb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, threading was enabled via a patch to opkg-build. Now that
opkg-build provides a hook for extra arguments, use that.
(From OE-Core rev: b288f4e825a036b9cc15b27301d264fe695dba65)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12399]
The bug was to get the BitBake User Manual into the YP Mega-manual.
All the changes here create unique tags used with variables in the
BitBake Manual. Prior to the fix, tags were identical between like
variables in the YP reference manual and the BitBake User Manual.
The reason for this is because when I created the BitBake manual's
glossary, it was a cut-and-paste operation to get the bulk of
the work started. At the time, the BitBake User Manual was not
a part of the Mega-manual. Once we decided to include the
BitBake User Manual as part of the Mega-Manual, building the
mega-manual produced warnings for all these duplicate links.
To fix, I have updated the variable tags in the BitBake User
Manual to use the following form:
'var-bb-<variable_name>'
The tags used in the YP ref-manual follow this form (original):
'var-<variable_name>'
(Bitbake rev: fb6de2057aae3fbdf37f007d2e47794b332020e1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This lets linker to use its internal linker script for shared objects
Fixes with when gold is default linker
(From OE-Core rev: 7bbc453ac2b8d63680855789948a145fc448017f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its not needed anymore and it can depend on gcc-cross instead
(From OE-Core rev: 9dc6fcd492d41d6a65a8f5ab562830ba9372937a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer have special "libc" for gcc so we can rely on plain
virtual/libc and reduce the complexity in the dependencies.
(From OE-Core rev: 122217b421f749b5fef52bea44ad6e04bc8f8d3a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Separated out from the previous commit for clarity, this simply drops
all the -inital pieces of gcc which are no longer needed after the
previous commit.
(From OE-Core rev: d84971928b68efddbdb6344b1021d998c9e26adb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need a libgcc to build glibc. Tranditionally we therefore build
a non-threaded and non-shared compiler (gcc-cross-initial), then use
that to build libgcc-initial which is used to build glibc which we can
then build gcc-cross and libgcc against.
Firstly, we can drop the glibc dependency from gcc-cross, *if* we make
two changes:
a) specify the minimum glibc version to support in a configure option
b) create a dummy limits.h file so that later when glibc creates one,
the headers structure has support for it. We can do this with a simple
empty file
Once gcc-cross is libc independent, we can use it to build both
libgcc-initial and then later libgcc.
libgcc-initial is tricky as we need to imitate the non-threaded and
non-shared case. We can do that by hacking the threading mode back to
"single" even if gcc reports "posix" and disable libc presence for the
libgcc-intial build. We have to create the dummy limits.h to avoid
compiler errors from a missing header.
glibc will fail to link with libgcc-initial due to a missing "exception
handler" capable libgcc (libgcc_eh.a). Since we know glibc doesn't need
any exception handler, we can safely symlink to libgcc.a.
With those changes, gcc-cross can be used in all places and we only need
one build of gcc for each architecture.
For some reason ifunc was being disabled on mips prior to these changes
but afterwards became enabled but caused assertion failures. This is
therefore disabled until we can debug that.
(From OE-Core rev: 62b7308b8c4d2b439a15a4f7cbc6f823077bb0be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only reason we appear to need glibc-initial at this time is to support
the site_config code. The site_config code compiles and therefore needs
at least some level of working C library to link against.
This isn't a good reason to keep the complexity of glibc-initial around
so remove it, and the site_config support which then breaks.
Performance benchmarks suggest the time spent just rerunning configure
for site_config just about equals any performance benefit for OE-Core
image builds excluding the time spent adding glibc-initial to the
dependency chain.
I'm not opposed to readding some other form of site_config support
but it needs to be rethought.
(From OE-Core rev: c5df105e7583e43da9b682f739bebaf873dcd2f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code assumed builddir and meta-selftest are in the same dir, but
this isn't always true, builddir can be anywhere, use get_test_layer() to
locate meta-selftest can fix the problem.
(From OE-Core rev: 56d2493a9adfcc47ae7e265439e05ff42cdbbbbf)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the bitbake server recieved multiple connections, it currently closes
ones it can't handle (while its dealing with another). This is rather
antisocial behaviour which causes clients to quickly run through their
retries and abort.
Instead, queue any other connections until the current one is closed. This
way the client can decide when it wants to stop waiting for the server. If the
client is gone by the time we handle it, we handle that gracefully.
This also fixes a number of bugs in the connection handling where connections
which did drop early were badly handled causing tracebacks in the logs.
Also, handle queue incomming connections in a loop to ensure that the main
client handling doesn't starve that piece of the system.
This code was stress tested by running 50 connection attempts in parallel at
once, ensuring the code correctly handled them.
(Bitbake rev: 02845a561b38658ac3edf5cc9c34625ed860d34f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we set a timeout for the socket, it can return EWOULDBLOCK
if a signal or other event happens to wake up even if we don't timeout.
If this happens, retry the connection, else we simply see it quickly
loop through the retries and abort the connection in a very short
interval.
(Bitbake rev: d5b0a9a302ac0eafa4f797ac15ea77db87e82b3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current bitbake output makes it hard to know which retry is being
attempted. Add this information to the output to make it clearer.
(Bitbake rev: 0774e6e03d27adb7aca6fa9c47ab6ad426c937de)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current value of 2 seconds has shown to be short in
wider testing.
(Bitbake rev: 8a1f2fcf35d61d83bbafa8fa3ae215fd5f51728b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a test suite for testing the persistent data cache
[YOCTO #13030]
(Bitbake rev: 96a4155049e834af17069d981cc2215e50d18c1a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros use site.conf to emit certain variables which are important
for eSDK e.g. DISTRO with out which eSDK will not be able to ger right
metadata when it tries to build
(From OE-Core rev: 95659bed3f6f3216b346f70cfc9ffae9788c0fc1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new libpng license comprises the terms and conditions from the zlib
license, and the disclaimer from the Boost license. The legacy libpng
license license, used until libpng-1.6.35, is appended to the
new license, following the precedent established in the Python Software
Foundation License version 2.
See for details:
https://sourceforge.net/projects/libpng/files/libpng16/1.6.36/
(From OE-Core rev: 673c2dcf1045f7264570f81e2880d7a03befd2af)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For changes, see:
https://sourceforge.net/p/libpng/code/ci/libpng16/tree/CHANGES
License-Update: Added authors to license, formatting, version changes,
export classification clarification and a new libpng2 license with
clarification:
The new libpng license comprises the terms and conditions from the zlib
license, and the disclaimer from the Boost license. The legacy libpng
license license, used until libpng-1.6.35, is appended to the
new license, following the precedent established in the Python Software
Foundation License version 2.
(From OE-Core rev: 099aecfaa3baf6b24c2b751da92d7d2fa0266bf9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes from release notes:
- Set default background image for screen lock to an existing one
- Translation updates
(From OE-Core rev: 6a10ff0bcd6e00660a419ca535239af55e30d5aa)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although we could potentially build patchelf and all its dependencies,
they would all have to be blacklisted to avoid trying to build them with
icecc. We use the host patchelf instead.
(From OE-Core rev: 0860216a81092fba084d29696db6d0c65a226c85)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python function icecc_path() was being invoked inline by set_icecc_env(),
meaning that it was being invoked at recipe-parsing time.
As a side-effect, icecc_path() was creating the recipe-sysroot directory and
symlinking icecc into it. Because this was done at parsing time (rather than
configure time), we were generating otherwise-empty WORKDIRs for *all* parsed
recipes, and for all virtual classes (-native, -nativesdk).
In my build, this generated more than 800 of these otherwise-empty WORKDIRs.
I have simplified icecc_path() to return only the intended path to the icecc
symlinks in the recipe-sysroot, with no side-effect.
We then create the directory and the icecc symlinks at configure time.
Because get_cross_kernel_cc() is still invoked at parse-time,
it needs a guard-clause for the non-kernel case.
We are now finding the host icecc at do_configure time,
so icecc needs to be in the HOSTTOOLS. I have made this non-fatal,
so that we can still inherit icecc without icecc installed.
(From OE-Core rev: d2fcaeb153fdc3f8d7143ea823139f1537055ff1)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If two bitbake processes try to generate the ICECC_VERSION tarball at the same
time, the thread that fails to get the lock will wait 30 sec for the first to
finish. A syntax error meant that this was not happening, and in particular, if
tarball generation failed (eg. for lack of patchelf), it did so silently.
(From OE-Core rev: 4455c46bf7f49c2b44f250aa89b63b342368e2e3)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were accidentally doing a readlink -f on simply 'gcc', for instance
(From OE-Core rev: 6d6788a3ea45d9693743d9b3319fb0368a4d5d33)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libmpx is not supported any longer and infact has been removed
completely from gcc-9, see
1e42d5c637
(From OE-Core rev: 547174fc834273af67a2f7e50a3cf6c8e3b900f4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For reasons lost in the depths of time, perhaps performane related,
we only have a dependency on libc at packaging time. This is too late,
as demonstrated by a recent build failure on non-IA builds where
the glibc 2.29 upgrade had been removed from the build:
ld: recipe-sysroot/usr/lib/../lib/libstdc++.so: undefined reference to `log@GLIBC_2.29'
libstdc++ should have been rebuilt but had not as the dependency
wasn't present.
Add the missing dependency to avoid this problem (and drop the other
form of dependency which is no longer needed).
(From OE-Core rev: 14c291e1fb6324da46885b69fbd7f01b3c6b053e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in the tasks within this class are old and there are much better
ways to do these things now such as through tinfoil rather than writing csv
files incrementally with start/stop events and lock files.
Existing users of the code (mainly the do_checkpkg task) have been ported
over to tinfoil. Drop the class, any other users should also make use
of the tinfoil functionality.
(From OE-Core rev: 6e2a488f01e5e8bc6f06b6fac1d336bf5372a82b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is little harm in including this file rather than having a
rather obscure and soon to be obsolete bbclass adding this information.
(From OE-Core rev: 98536be8d1a5dcf620ee6d07135f23126a09d98f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: New files added to existing list
Add -Wno-error=missing-attributes to compiler flags, this helps in
compiling with gcc 9.0, eventually, the code should be fixed
Add a patch to fix x32 build
(From OE-Core rev: 59be9254df9ffeda594b21af8be433564c898474)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update /lib to $nonarch_base_libdir to fix package QA errors when
usermerge is enabled in DISTRO_FEATURES.
ERROR: kernel-devsrc-1.0-r0 do_package_qa: QA Issue: kernel-devsrc
package is not obeying usrmerge distro feature. /lib should be relocated
to /usr. [usrmerge]
(From OE-Core rev: a62085b5047e7943bdcc9d4ce3480d100618eeb1)
Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The big endian mips definition was used as the basis for the little
endian machine. Unfortunatey, the KMACHINE definitions were not fully
cleared, so big endian builds will match on the 'le' variant .. and
break.
We drop the BE machine definitions from the LE variant and we are fixed.
(From OE-Core rev: 863e520059cdc96817ec87983d1e036f291bf37c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kern tools patch:
The cmd line, <grep '^[ ]*\(menu\)*config '>, can't
match all expect config options.
This is because that it is not always a single space after 'config'
in kernel-source/*/.../Kconfig. e.g. "config IP_VS_IPV6" in
net/netfilter/ipvs/Kconfig
So we should change the cmd to grep '^[ ]*\(menu\)*config\s'.
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
(From OE-Core rev: b476d1cddefb9468c41a4c1c08b4fae66d03b52f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's 4.18.x -stable queue that comprises the
following commits:
7791d9ae24f8 Linux 4.18.21
a80801badd68 libceph: fall back to sendmsg for slab pages
fa1d15db0676 HID: Add quirk for Microsoft PIXART OEM mouse
539bf8a221c2 HID: Add quirk for Primax PIXART OEM mice
e5cfd0902404 HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges
c2d5a17480e1 ACPI / platform: Add SMB0001 HID to forbidden_id_list
a6f05874e5e4 drivers/misc/sgi-gru: fix Spectre v1 vulnerability
a2106abb1311 mtd: rawnand: atmel: fix OF child-node lookup
852707bdc43c USB: misc: appledisplay: add 20" Apple Cinema Display
025b1def8764 misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data
9e7b23298a7e usb: quirks: Add delay-init quirk for Corsair K70 LUX RGB
013de23dac1c USB: Wait for extra delay time after USB_PORT_FEAT_RESET for quirky hub
3f514468061f USB: quirks: Add no-lpm quirk for Raydium touchscreens
bbcc56d2f095 usb: cdc-acm: add entry for Hiro (Conexant) modem
97e2f24e1a83 ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap()
745bb5e7cfeb ALSA: hda/realtek - Add quirk entry for HP Pavilion 15
1c6195c1d07e RISC-V: Fix raw_copy_{to,from}_user()
58d333dec778 MIPS: OCTEON: cavium_octeon_defconfig: re-enable OCTEON USB driver
574cddd586ad x86/ldt: Unmap PTEs for the slot before freeing LDT pages
e5992ad333bb x86/ldt: Split out sanity check in map_ldt_struct()
4fec0315cc99 x86/mm: Move LDT remap out of KASLR region on 5-level paging
06e06217b513 x86/mm/doc: Enhance the x86-64 virtual memory layout descriptions
afddf2bc08b8 x86/mm/doc: Clean up the x86-64 virtual memory layout descriptions
251fe62f9fbd SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()
39cc3a6bf7a4 kbuild: deb-pkg: fix too low build version number
4cbf9bb5d870 net: aquantia: invalid checksumm offload implementation
7efe7160032f net: aquantia: fixed enable unicast on 32 macvlan
3dcebf4e0021 net: aquantia: fix potential IOMMU fault after driver unbind
7ab68bbd45e5 net: stmmac: Fix RX packet size > 8191
13cf931db889 qed: Fix potential memory corruption
edc856a3748d qed: Fix SPQ entries not returned to pool in error flows
85423a9f1925 qed: Fix blocking/unlimited SPQ entries leak
98e7cd88b52b qed: Fix memory/entry leak in qed_init_sp_request()
82f212b802a0 i40e: restore NETIF_F_GSO_IPXIP[46] to netdev features
85f5e5f14d5a ice: Change req_speeds to be u16
da1d12c17f9f ice: Fix the bytecount sent to netdev_tx_sent_queue
2a7e71e87d96 ice: Fix dead device link issue with flow control
14e275bde8d7 perf tools: Do not zero sample_id_all for group members
76cc23113132 perf tools: Fix undefined symbol scnprintf in libperf-jvmti.so
2d21e584e738 sched/core: Take the hotplug lock in sched_init_smp()
2ada9a15c672 i2c: omap: Enable for ARCH_K3
53d22ae3d66e nvme: make sure ns head inherits underlying device limits
446c01fb4f92 ceph: quota: fix null pointer dereference in quota check
9e10f7374c41 s390/perf: Change CPUM_CF return code in event init function
9de8b1448395 drm/amd/amdgpu/dm: Fix dm_dp_create_fake_mst_encoder()
f360a418cccb drm/amd/display: Drop reusing drm connector for MST
7f7cef0bfc2f block: Clear kernel memory before copying to user
f9e5bd7ff2eb drm/amd/display: Stop leaking planes
4239764e6ba8 lib/raid6: Fix arm64 test build
7c5fe0f1b003 mtd: nand: Fix nanddev_pos_next_page() kernel-doc header
c3c978e03a0b clk: fixed-factor: fix of_node_get-put imbalance
1e6a626e9a85 arm64: dts: renesas: r8a7795: add missing dma-names on hscif2
8904df27645c Revert "drm/exynos/decon5433: implement frame counter"
bc80947ec235 ARM: dts: fsl: Fix improperly quoted stdout-path values
0256a4666ccc hwmon: (ibmpowernv) Remove bogus __init annotations
7cce145bb0bc net: hns3: Fix for out-of-bounds access when setting pfc back pressure
49ca763b85a3 s390/qeth: fix HiperSockets sniffer
2a5adbb88317 netfilter: nft_compat: ebtables 'nat' table is normal chain type
b1045a2ed7d0 netfilter: ipset: Fix calling ip_set() macro at dumping
6339fe77369f netfilter: xt_IDLETIMER: add sysfs filename checking routine
5f53cf58e657 netfilter: ipset: Correct rcu_dereference() call in ip_set_put_comment()
ac802253a7f6 bpf: fix bpf_prog_get_info_by_fd to return 0 func_lens for unpriv
38dd3dd00b30 s390/mm: Fix ERROR: "__node_distance" undefined!
da97e4fe8be9 s390/mm: fix mis-accounting of pgtable_bytes
8d30ef7ca397 netfilter: ipset: fix ip_set_list allocation failure
61c4117c1a74 netfilter: ipset: actually allow allowable CIDR 0 in hash:net,port,net
969721e7b329 netfilter: ipset: list:set: Decrease refcount synchronously on deletion and replace
429746904248 Revert "netfilter: nft_numgen: add map lookups for numgen random operations"
a5e3863ac044 netfilter: use PTR_ERR_OR_ZERO()
0ae8e99ec8cd HID: alps: allow incoming reports when only the trackstick is opened
15b457203750 Revert "HID: add NOGET quirk for Eaton Ellipse MAX UPS"
b031d919f5a3 HID: i2c-hid: Add a small delay after sleep command for Raydium touchpanel
6e7506e7ffa1 netfilter: ipv6: fix oops when defragmenting locally generated fragments
ffe4bc3d6f34 netfilter: ipv6: nf_defrag: drop skb dst before queueing
9b1f3e55b288 clk: ti: fix OF child-node lookup
dd638be4185f clk: meson: clk-pll: drop CLK_GET_RATE_NOCACHE where unnecessary
0d6b6e708bc7 arm64: percpu: Initialize ret in the default case
bbc36472de49 platform/x86: acerhdf: Add BIOS entry for Gateway LT31 v1.3307
1a256be39690 x86/earlyprintk: Add a force option for pciserial device
f7554181a88f apparmor: Fix uninitialized value in aa_split_fqname
012871d08c0d clk: samsung: exynos5420: Enable PERIS clocks for suspend
064e571701ce fs/exofs: fix potential memory leak in mount option parsing
831690c6459c perf symbols: Set PLT entry/header sizes properly on Sparc
0f9ecdb3bd83 clk: fixed-rate: fix of_node_get-put imbalance
ede1c4fcdde1 platform/x86: intel_telemetry: report debugfs failure
ee66e4013b23 afs: Handle EIO from delivery function
aef20e808b30 drm/edid: Add 6 bpc quirk for BOE panel.
24bb4410cef8 um: Give start_idle_thread() a return code
2d40d681ae35 perf unwind: Take pgoff into account when reporting elf to libdwfl
cb3e550391e9 hfsplus: prevent btree data loss on root split
fa5cc3040873 hfs: prevent btree data loss on root split
ee916b4885a5 reiserfs: propagate errors from fill_with_dentries() properly
ef40ee9ed9ae ixgbe: fix MAC anti-spoofing filter after VFLR
c0fee8923e4f net: hns3: bugfix for the initialization of command queue's spin lock
8d77763100a2 net: hns3: bugfix for handling mailbox while the command queue reinitialized
2fb7315d2cf8 net: hns3: Prevent sending command during global or core reset
ab0b26b06885 net: hns3: bugfix for rtnl_lock's range in the hclgevf_reset()
cd72d052e2e0 block: brd: associate with queue until adding disk
0d11623a80f2 arm64: kprobe: make page to RO mode when allocate it
a52826b7b283 cifs: fix return value for cifs_listxattr
875f9a25fe16 cifs: don't dereference smb_file_target before null check
726e26c18837 usbnet: smsc95xx: disable carrier check while suspending
1b02f8a0f99a net: smsc95xx: Fix MTU range
43ec8ff9d9d1 mlxsw: spectrum: Fix IP2ME CPU policer configuration
5084168f4ddb sctp: not increase stream's incnt before sending addstrm_in request
2d3ba28f6872 net: phy: mdio-gpio: Fix working over slow can_sleep GPIOs
fbe671bf4640 sctp: fix strchange_flags name for Stream Change Event
1071eded0415 net: dsa: microchip: initialize mutex before use
92df935ee5bd net: qualcomm: rmnet: Fix incorrect assignment of real_dev
8524e5f23056 sctp: define SCTP_SS_DEFAULT for Stream schedulers
839c08b2e53f net: phy: realtek: fix RTL8201F sysfs name
511ac11522c8 net: dsa: mv88e6xxx: Fix clearing of stats counters
4166d97c8114 net/mlx5e: IPoIB, Reset QP after channels are closed
057174ecf7c3 net/mlx5: IPSec, Fix the SA context hash key
776d3005c370 l2tp: fix a sock refcnt leak in l2tp_tunnel_register
5b7d8593e89d inet: frags: better deal with smp races
38cdb31946c1 net/mlx5e: Removed unnecessary warnings in FEC caps query
0fa0336430a4 net/mlx5e: Fix selftest for small MTUs
35f08cfda6e4 net/mlx5e: Always use the match level enum when parsing TC rule match
81dff097d4f1 Revert "sctp: remove sctp_transport_pmtu_check"
956f3384ec99 net/mlx5e: Adjust to max number of channles when re-attaching
e717c85edd16 net/mlx5e: Claim TC hw offloads support only under a proper build config
73965525b4a5 net: systemport: Protect stop from timeout
0c6765847a3e tuntap: fix multiqueue rx
1f1f1f9f5c04 tipc: fix lockdep warning when reinitilaizing sockets
4882b7bfa4f4 tipc: don't assume linear buffer when reading ancillary data
8ee89a1dba58 tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths
29939b28474d tcp: Fix SOF_TIMESTAMPING_RX_HARDWARE to use the latest timestamp during TCP coalescing
2d02df9e00f6 sctp: not allow to set asoc prsctp_enable by sockopt
f8079b5a352d net-gro: reset skb->pkt_type in napi_reuse_skb()
893ebde4310f net: bcmgenet: protect stop from timeout
d50e12a49aa0 ipv6: Fix PMTU updates for UDP/raw sockets in presence of VRF
a72cc86b5f1b ipv6: fix a dst leak when removing its exception
05b6cf8bd43b ip_tunnel: don't force DF when MTU is locked
9de9dc5fac67 ibmvnic: fix accelerated VLAN handling
67485ab94ea6 flow_dissector: do not dissect l4 ports for fragments
(From OE-Core rev: 39afea5282fed75a4f70d8f8b1af767620923828)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
178574b66509 Linux 4.19.8
55cbeea76e76 blk-mq: punt failed direct issue to dispatch list
6235c229fea4 tipc: use destination length for copy string
4e84cccacb12 arc: [devboards] Add support of NFSv3 ACL
41e0254d32bd ARC: change defconfig defaults to ARCv2
b0234f15d2e2 btrfs: tree-checker: Don't check max block group size as current max chunk size limit is unreliable
280d652e0dd2 Input: elan_i2c - add support for ELAN0621 touchpad
77dd91caddfe Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR
08a7e486a19d Input: elan_i2c - add ELAN0620 to the ACPI table
918cd7d1dfac Input: cros_ec_keyb - fix button/switch capability reports
25e78d0557e1 Input: matrix_keypad - check for errors from of_get_named_gpio()
167390050068 Input: synaptics - add PNP ID for ThinkPad P50 to SMBus
58a99d3722fe Input: xpad - quirk all PDP Xbox One gamepads
c47bb7af582a scsi: lpfc: fix block guard enablement on SLI3 adapters
2cb8d55be86c i40e: Fix deletion of MAC filters
4c202ade1e74 selinux: add support for RTM_NEWCHAIN, RTM_DELCHAIN, and RTM_GETCHAIN
85bb1e8b7013 svm: Add mutex_lock to protect apic_access_page_done on AMD systems
e762e1407bc8 kgdboc: Fix warning with module build
5eede3d09625 kgdboc: Fix restrict error
8f193a716e56 userfaultfd: shmem: UFFDIO_COPY: set the page dirty if VM_WRITE is not set
4ce337622f2b userfaultfd: shmem: add i_size checks
6e44dd02c955 userfaultfd: shmem: allocate anonymous memory for MAP_PRIVATE shmem
10f98c134b02 userfaultfd: use ENOENT instead of EFAULT if the atomic copy user fails
212ad3d70222 drm/meson: Fix OOB memory accesses in meson_viu_set_osd_lut()
ea6bb077bff2 drm/meson: Enable fast_io in meson_dw_hdmi_regmap_config
736f04212a28 drm/meson: Fixes for drm_crtc_vblank_on/off support
c952979ad95b drm: set is_master to 0 upon drm_new_set_master() failure
8a8effbe56b1 drm/amd/dm: Don't forget to attach MST encoders
94be4764b4bb drm/ast: Fix incorrect free on ioregs
81f966235412 tracing/fgraph: Fix set_graph_function from showing interrupts
a99075642666 IB/mlx5: Avoid load failure due to unknown link width
a41e946e9380 mips: fix mips_get_syscall_arg o32 check
8e847e8c7456 MIPS: ralink: Fix mt7620 nd_sd pinmux
d49297b5c77a tracepoint: Use __idx instead of idx in DO_TRACE macro to make it unique
fd8152818f11 sched, trace: Fix prev_state output in sched_switch tracepoint
2858d1891eb5 arm64: ftrace: Fix to enable syscall events on arm64
86e429241603 mtd: nand: Fix memory allocation in nanddev_bbt_init()
ac8edc62e813 uprobes: Fix handle_swbp() vs. unregister() + register() race once more
61c963ab59fd iser: set sector for ambiguous mr status errors
0448ad42d6a1 unifdef: use memcpy instead of strncpy
f2d12a0ba143 test_hexdump: use memcpy instead of strncpy
724ff9cbfe1f blk-mq: fix corruption with direct issue
61c68f2a2af0 Linux 4.19.7
842c4c22ea2b misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
5e4b30d68a02 Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()
b66375b599bf mm: use swp_offset as key in shmem_replace_page()
16a2d602244f mm: cleancache: fix corruption on missed inode invalidation
91a514788356 lib/test_kmod.c: fix rmmod double free
855f9dc87160 iio:st_magn: Fix enable device after trigger
ec800c8b028e iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers
91f1c5c65d73 Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid"
c7d370712e72 usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series
d4f924e359ad USB: usb-storage: Add new IDs to ums-realtek
b73301b7db4a staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station
6d956674dfc5 staging: rtl8723bs: Fix incorrect sense of ether_addr_equal
fa299861aeeb staging: mt7621-pinctrl: fix uninitialized variable ngroups
bea52e4d1e42 staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'
6df2b837939a staging: vchiq_arm: fix compat VCHIQ_IOC_AWAIT_COMPLETION
053b783d3da3 staging: most: use format specifier "%s" in snprintf
0d04d450fe0d dmaengine: at_hdmac: fix module unloading
9983a5bba09e dmaengine: at_hdmac: fix memory leak in at_dma_xlate()
6e74fc22db9c ARM: dts: rockchip: Remove @0 from the veyron memory node
b16c2b78f13c ASoC: pcm186x: Fix device reset-registers trigger value
f35f68c68ce4 ASoC: intel: cht_bsw_max98090_ti: Add quirk for boards using pmc_plt_clk_0
ffaaaf68be1e ext2: fix potential use after free
1666cf8c492d ext2: initialize opts.s_mount_opt as zero before using it
553927d6aab9 binder: fix race that allows malicious free of live buffer
a22ff9df71aa function_graph: Reverse the order of pushing the ret_stack and the callback
d2bcf809e838 function_graph: Move return callback before update of curr_ret_stack
aec14c812ba8 function_graph: Have profiler use curr_ret_stack and not depth
392374326d29 function_graph: Use new curr_ret_depth to manage depth instead of curr_ret_stack
72c33b233f05 function_graph: Make ftrace_push_return_trace() static
35aa93cbb04c MIPS: function_graph: Simplify with function_graph_enter()
bdfd01cfd1e7 arm64: function_graph: Simplify with function_graph_enter()
ef9326a145cd s390/function_graph: Simplify with function_graph_enter()
84d2023c14ea riscv/function_graph: Simplify with function_graph_enter()
87352d621bd3 parisc: function_graph: Simplify with function_graph_enter()
34773b2f57ae sparc/function_graph: Simplify with function_graph_enter()
56c1dd92c0fc sh/function_graph: Simplify with function_graph_enter()
5478648ee825 powerpc/function_graph: Simplify with function_graph_enter()
25ac02d0ed5e nds32: function_graph: Simplify with function_graph_enter()
217614993ace x86/function_graph: Simplify with function_graph_enter()
e7deeabe9aa3 microblaze: function_graph: Simplify with function_graph_enter()
fbbee0cfba5f ARM: function_graph: Simplify with function_graph_enter()
67d7bec3fc6c function_graph: Create function_graph_enter() to consolidate architecture code
b72fc1c3cce4 ALSA: hda/realtek - Add auto-mute quirk for HP Spectre x360 laptop
dcd51305cd41 ALSA: hda/realtek - fix the pop noise on headphone for lenovo laptops
524841156bbe ALSA: hda/realtek - fix headset mic detection for MSI MS-B171
094c00891be8 ALSA: hda/realtek - Support ALC300
bb951d8d965c ALSA: hda: Add ASRock N68C-S UCC the power_save blacklist
15c5fb33cda9 ALSA: sparc: Fix invalid snd_free_pages() at error path
d8a2dca04064 ALSA: control: Fix race between adding and removing a user element
b77c35ef8e38 ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write
e83c4405ebf0 ALSA: wss: Fix invalid snd_free_pages() at error path
adcd35a38cde fs: fix lost error code in dio_complete
205af59e7011 perf/x86/intel: Disallow precise_ip on BTS events
be0e2e2436cc perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts()
ad65b548409c perf/x86/intel: Move branch tracing setup to the Intel-specific source file
33448a8b577d x86/fpu: Disable bottom halves while loading FPU registers
00f91adf52af x86/MCE/AMD: Fix the thresholding machinery initialization order
8af02415638e arm64: dts: rockchip: Fix PCIe reset polarity for rk3399-puma-haikou.
ab7702162bbc PCI: Fix incorrect value returned from pcie_get_speed_cap()
1ce69ec307fd PCI: dwc: Fix MSI-X EP framework address calculation bug
b391ed731b39 PCI: layerscape: Fix wrong invocation of outbound window disable accessor
590657656bdc btrfs: relocation: set trans to be NULL after ending transaction
172a94eb2df2 Btrfs: fix race between enabling quotas and subvolume creation
715608dbf756 Btrfs: fix rare chances for data loss when doing a fast fsync
78a2890fcda1 Btrfs: ensure path name is null terminated at btrfs_control_ioctl
aaf249e36785 btrfs: Always try all copies when reading extent buffers
949ddf8039bf udf: Allow mounting volumes with incorrect identification strings
01fb21bf2424 xtensa: fix coprocessor part of ptrace_{get,set}xregs
5f84a996a0cb xtensa: fix coprocessor context offset definitions
4ec1039f474b xtensa: enable coprocessors that are being flushed
bbe23c4b948f KVM: VMX: re-add ple_gap module parameter
61c42d657c85 KVM: X86: Fix scan ioapic use-before-initialization
ffb01e73737b KVM: LAPIC: Fix pv ipis use-before-initialization
6d772df4038e KVM: x86: Fix kernel info-leak in KVM_HC_CLOCK_PAIRING hypercall
76c8476cc720 KVM: nVMX/nSVM: Fix bug which sets vcpu->arch.tsc_offset to L1 tsc_offset
b8b0c871640f kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
471aca572529 kvm: mmu: Fix race in emulated page table writes
34b7a7cc5321 userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas
9f3baacee183 x86/speculation: Provide IBPB always command line options
d1ec2354787a x86/speculation: Add seccomp Spectre v2 user space protection mode
7b62ef142c11 x86/speculation: Enable prctl mode for spectre_v2_user
238ba6e75855 x86/speculation: Add prctl() control for indirect branch speculation
f67fafb88c46 x86/speculation: Prepare arch_smt_update() for PRCTL mode
e84124017450 x86/speculation: Prevent stale SPEC_CTRL msr content
59028be13385 x86/speculation: Split out TIF update
aecb99692a4d ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS
a17888154cf2 x86/speculation: Prepare for conditional IBPB in switch_mm()
dd73e15ea213 x86/speculation: Avoid __switch_to_xtra() calls
a87c81f0de3d x86/process: Consolidate and simplify switch_to_xtra() code
69985a2cae82 x86/speculation: Prepare for per task indirect branch speculation control
711875432218 x86/speculation: Add command line control for indirect branch speculation
8a34c70686e0 x86/speculation: Unify conditional spectre v2 print functions
507ac84e159b x86/speculataion: Mark command line parser data __initdata
275d90f0fa5d x86/speculation: Mark string arrays const correctly
10c24dc62a3a x86/speculation: Reorder the spec_v2 code
1572793b498d x86/l1tf: Show actual SMT state
f55e301ec4d5 x86/speculation: Rework SMT state change
340693ee912e sched/smt: Expose sched_smt_present static key
f98bf1640e06 x86/Kconfig: Select SCHED_SMT if SMP enabled
a2c094816f89 sched/smt: Make sched_smt_present track topology
6308dde50fcc x86/speculation: Reorganize speculation control MSRs update
39402a5e5a29 x86/speculation: Rename SSBD update functions
ca41d792a230 x86/speculation: Disable STIBP when enhanced IBRS is in use
f37b55ab8d84 x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()
30a8e214606d x86/speculation: Remove unnecessary ret variable in cpu_show_common()
2ee44e2d761a x86/speculation: Clean up spectre_v2_parse_cmdline()
e8494e5df78e x86/speculation: Update the TIF_SSBD comment
90d2c53fa196 x86/retpoline: Remove minimal retpoline support
8c4ad5d39144 x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support
cbc93677ef08 x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant
44a076100a7b x86/speculation: Propagate information about RSB filling mitigation to sysfs
cacd9385b78d x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
b07fc04c94e3 x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
4e3fbd7433d7 tipc: fix lockdep warning during node delete
38af4b903210 net: phy: add workaround for issue where PHY driver doesn't bind to the device
aaa7e45c00d6 tcp: defer SACK compression after DupThresh
b8e076958a09 net/dim: Update DIM start sample after each DIM iteration
b06510bf095b virtio-net: fail XDP set if guest csum is negotiated
1af400beef4a virtio-net: disable guest csum during XDP set
4aaa233c79f6 net: skb_scrub_packet(): Scrub offload_fwd_mark
2f6cfb8e9f5c net: thunderx: set xdp_prog to NULL if bpf_prog_add fails
535b494a4fa5 usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2
711e3d37275c s390/qeth: fix length check in SNMP processing
720e0d05af0f rapidio/rionet: do not free skb before reading its length
f2a67e68dbae packet: copy user buffers before orphan or clone
abc963e459fd net: thunderx: set tso_hdrs pointer to NULL in nicvf_free_snd_queue
cfbee9e96d79 net: gemini: Fix copy/paste error
b24a813e792d net: don't keep lonely packets forever in the gro hash
18dd9bf51325 lan743x: fix return value for lan743x_tx_napi_poll
767d890331ea lan743x: Enable driver to work with LAN7431
8b37c40503ea mm/khugepaged: collapse_shmem() do not crash on Compound
af24c01831e4 mm/khugepaged: collapse_shmem() without freezing new_page
3e9646c76cb9 mm/khugepaged: minor reorderings in collapse_shmem()
ee13d69bc1e8 mm/khugepaged: collapse_shmem() remember to clear holes
78141aabfbb9 mm/khugepaged: fix crashes due to misaccounted holes
8797f2f4fe0d mm/khugepaged: collapse_shmem() stop if punched or truncated
d31ff4722f45 mm/huge_memory: fix lockdep complaint on 32-bit i_size_read()
7e18656c9a2c mm/huge_memory: splitting set mapping+index before unfreeze
69697e6a61c7 mm/huge_memory: rename freeze_page() to unmap_page()
96db90800c06 Linux 4.19.6
d873e63e0a01 media: ov5640: fix auto controls values when switching to manual mode
5724c6ad1c4c media: ov5640: fix wrong binning value in exposure calculation
644fefe4c6a7 media: ov5640: fix auto gain & exposure when changing mode
f8248ad512b6 media: ov5640: fix exposure regression
905fa2f2ffad media: ov5640: Fix timings setup code
c59dc6cf4fd9 media: ov5640: Re-work MIPI startup sequence
016a8fc59d14 rcu: Make need_resched() respond to urgent RCU-QS needs
38084377af4f gfs2: Fix iomap buffer head reference counting bug
9365cdf8db51 tty: wipe buffer if not echoing data
5a2261ed3a29 tty: wipe buffer.
5e8c28f4fd64 include/linux/pfn_t.h: force '~' to be parsed as an unary operator
e7a121e34c79 dax: Avoid losing wakeup in dax_lock_mapping_entry
9dec38554aa8 mm, page_alloc: check for max order in hot path
db89fc007b23 tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offset
b44fd1268bd2 mm, memory_hotplug: check zone_movable in has_unmovable_pages
510066729ba4 z3fold: fix possible reclaim races
43b2ceb0d4e0 efi/arm: Revert deferred unmap of early memmap mapping
f5c632cfc424 powerpc/numa: Suppress "VPHN is not supported" messages
b5ccf0038f34 NFSv4: Fix an Oops during delegation callbacks
2bc40f89f47e kdb: Use strscpy with destination buffer size
4dc843906873 drm/amdgpu: fix bug with IH ring setup
021e2f3fc985 RISC-V: Silence some module warnings on 32-bit
fc9b1d7f791f riscv: add missing vdso_install target
ab1a52066938 SUNRPC: Fix a bogus get/put in generic_key_to_expire()
487d58a9c3e5 block: copy ioprio in __bio_clone_fast() and bounce
08f94d0628c3 perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs
08fbd4e011ef sched/fair: Fix cpu_util_wake() for 'execl' type workloads
b771863247e8 powerpc/io: Fix the IO workarounds code to work with Radix
73fd491d7708 floppy: fix race condition in __floppy_read_block_0()
c587ba480e12 crypto: simd - correctly take reqsize of wrapped skcipher into account
49bcb0415da9 rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write
b411f9463a78 rtc: cmos: Do not export alarm rtc_ops when we do not support alarms
121f89dd7024 cpufreq: imx6q: add return value check for voltage scale
8d976d7a883c KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE
c7ae5115e32a scsi: hisi_sas: Remove set but not used variable 'dq_list'
3d57a04fbd6d scsi: lpfc: fix remoteport access
08609aace6bb tools/testing/nvdimm: Fix the array size for dimm devices.
c4b25ef590f5 pinctrl: meson: fix meson8b ao pull register bits
93620bc4de8a pinctrl: meson: fix meson8 ao pull register bits
c74e3fc6d0c3 pinctrl: meson: fix gxl ao pull register bits
5922ab4adc13 pinctrl: meson: fix gxbb ao pull register bits
71ab26e917de pinctrl: meson: fix pinconf bias disable
20663629f6ae fanotify: fix handling of events on child sub-directory
1dc3c17cdb9f fsnotify: generalize handling of extra event flags
6763372b816c IB/hfi1: Eliminate races in the SDMA send error path
87403e35bc56 ACPICA: AML interpreter: add region addresses in global list during initialization
d5a9ba4324d5 can: flexcan: remove not needed struct flexcan_priv::tx_mb and struct flexcan_priv::tx_mb_idx
24e5589791d0 can: flexcan: Always use last mailbox for TX
50d94ac1da74 can: hi311x: Use level-triggered interrupt
bf8295faed73 can: raw: check for CAN FD capable netdev in raw_sendmsg()
04f985776f04 can: flexcan: handle tx-complete CAN frames via rx-offload infrastructure
f699c3222635 can: flexcan: use can_rx_offload_queue_sorted() for flexcan_irq_bus_*()
6ce9d61a6537 can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail()
169130c87a88 can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sorted() functions
474673a94f17 can: dev: __can_get_echo_skb(): print error message, if trying to echo non existing skb
e3b8d98e3758 can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds
cfc8ed910312 can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length
5877d2c0eac8 can: dev: can_get_echo_skb(): factor out non sending code to __can_get_echo_skb()
8d2aed6439cf can: flexcan: Unlock the MB unconditionally
09132a6b01a7 drm/ast: Remove existing framebuffers before loading driver
80142af39bd9 drm/ast: fixed cursor may disappear sometimes
e9d2c0fbe161 drm/ast: change resolution may cause screen blurred
382debd2fe42 drm/i915: Disable LP3 watermarks on all SNB machines
e3290a5e24df drm/amdgpu: Fix oops when pp_funcs->switch_power_profile is unset
d9ea911e2b90 drm/vc4: Set ->legacy_cursor_update to false when doing non-async updates
7841a545f8bd drm/amdgpu: Add missing firmware entry for HAINAN
d543f583e3af drm/fb-helper: Blacklist writeback when adding connectors to fbdev
cddcc9959a32 tcp: do not release socket ownership in tcp_close()
5999609a93a4 mm/memory.c: recheck page table entry with page table lock held
3996e891ec97 mm: don't warn about large allocations for slab
292c48e2971e llc: do not use sk_eat_skb()
331bd738eb17 gfs2: Don't leave s_fs_info pointing to freed memory in init_sbd
cd947138e8c3 sctp: clear the transport of some out_chunk_list chunks in sctp_assoc_rm_peer
8380cbfe4eab bfs: add sanity check at bfs_fill_super()
9891b528f91d Input: synaptics - avoid using uninitialized variable when probing
3962e78a9fcb selinux: Add __GFP_NOWARN to allocation at str_read()
829567dd9196 v9fs_dir_readdir: fix double-free on p9stat_read error
9f9e2bd0bbcf tools/power/cpupower: fix compilation with STATIC=true
b7d5ef6af8eb opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call
50f4a3b8eb62 opp: ti-opp-supply: Dynamically update u_volt_min
54923bc74beb brcmfmac: fix reporting support for 160 MHz channels
c74c926ffa0a iwlwifi: mvm: don't use SAR Geo if basic SAR is not used
4969751575c8 iwlwifi: mvm: fix regulatory domain update when the firmware starts
b643d705441c iwlwifi: mvm: support sta_statistics() even on older firmware
29d920ba59c3 iwlwifi: fix wrong WGDS_WIFI_DATA_SIZE
602162dce8a4 gpio: don't free unallocated ida on gpiochip_add_data_with_key() error path
6d24302acc10 mmc: sdhci-pci: Workaround GLK firmware failing to restore the tuning value
52f4036282f7 mmc: sdhci-pci: Try "cd" for card-detect lookup before using NULL
bcec3b858057 Documentation/security-bugs: Postpone fix publication in exceptional cases
160a390a9d53 Documentation/security-bugs: Clarify treatment of embargoed information
fc0f90849a45 MAINTAINERS: Add Sasha as a stable branch maintainer
27d6abfb99c8 ALSA: oss: Use kvzalloc() for local buffer allocations
cc8b329fef53 usb: xhci: Prevent bus suspend if a port connect change or polling state is detected
b6cc7f9c6461 xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc
cad3876cd23d usb: xhci: fix timeout for transition from RExit to U0
60ac01c60ba9 usb: xhci: fix uninitialized completion when USB3 port got wrong status
3e8886bd158f xhci: Add check for invalid byte size error when UAS devices are connected.
a237717dfdbc xhci: handle port status events for removed USB3 hcd
82c1b66894fd xhci: Fix leaking USB3 shared_hcd at xhci removal
2ff85eaf165f usb: dwc3: Fix NULL pointer exception in dwc3_pci_remove()
c4d1e71e5613 usb: dwc3: core: Clean up ULPI device
4b977515da48 usb: dwc3: gadget: Properly check last unaligned/zero chain TRB
47cb27191f6c usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers
269c01eb49ed usb: core: Fix hub port connection events lost
711bd5d290da efi/libstub: arm: support building with clang
fb87a92b4396 HID: steam: remove input device when a hid client is running.
(From OE-Core rev: 40d6b10ebed9355b5c6eea4fab222c96fba3a3ac)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.19 will replace 4.14 as the LTS kernel, so we drop the 4.14
recipes to enforce this update.
(From OE-Core rev: 275a2bb2570e5c4ee53228c5d2783d9044c24413)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce the 4.19 linux kernel as the reference for LTS and eventually
LSB distros. For now, we keep the other versions around until the h/w
reference BSPs are updated and 4.20+ are available as the "latest"
kernel. This avoid updating qemu* to 4.19 as the default for a small
transition window.
(From OE-Core rev: d52d68adff8fc2b9b2a98405f57fb06d2ed26c24)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg releases that comprise the following commits:
a9da8725b7a7 Linux 4.18.20
55eac9e85dea Revert "ACPICA: AML interpreter: add region addresses in global list during initialization"
770271829fbe CONFIG_XEN_PV breaks xen_create_contiguous_region on ARM
355c0d23ff88 drm/i915: Fix possible race in intel_dp_add_mst_connector()
0400eb06d37c drm/i915/execlists: Force write serialisation into context image vs execution
06e562e7f515 drm/i915/ringbuffer: Delay after EMIT_INVALIDATE for gen4/gen5
41a2334c224e drm/i915: Mark pin flags as u64
a4820798a2ed drm/i915: Don't oops during modeset shutdown after lpe audio deinit
d0baf6ac9fcc drm/i915: Compare user's 64b GTT offset even on 32b
b9d3cae0b451 drm/i915: Fix ilk+ watermarks when disabling pipes
877e75bc93ec drm/i915: Fix error handling for the NV12 fb dimensions check
63f4972b9b22 drm/i915/hdmi: Add HDMI 2.0 audio clock recovery N values
df00d4ac7d26 drm/i915/dp: Restrict link retrain workaround to external monitors
6440b1a7f8f2 drm/i915/dp: Fix link retraining comment in intel_dp_long_pulse()
f28285d10021 drm/i915: Large page offsets for pread/pwrite
874d2275ee94 drm/i915: Skip vcpi allocation for MSTB ports that are gone
0cf4813b215f drm/i915: Don't unset intel_connector->mst_port
6aba99c55748 drm/i915: Restore vblank interrupts earlier
68b4918e7072 drm/i915/dp: Link train Fallback on eDP only if fallback link BW can fit panel's native mode
a90d6f083b7a drm: panel-orientation-quirks: Add quirk for Acer One 10 (S1003)
4a7daecdaab9 drm/dp_mst: Check if primary mstb is null
fbea4573dc0b drm/etnaviv: fix bogus fence complete check in timeout handler
13b3707bafea drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD
1cca6c472fcc drm/nouveau: Fix nv50_mstc->best_encoder()
699242cf4aca drm/nouveau: Check backlight IDs are >= 0, not > 0
bbf40af9c2d8 drm/amdgpu: add missing CHIP_HAINAN in amdgpu_ucode_get_load_type
842b99a831c5 drm/amdgpu: Fix typo in amdgpu_vmid_mgr_init
5b231a7b3326 drm/msm: fix OF child-node lookup
0ad256e8ed36 drm/rockchip: Allow driver to be shutdown on reboot/kexec
6f680252dc25 efi/arm/libstub: Pack FDT after populating it
e47645d9b0fb mm/swapfile.c: use kvzalloc for swap_info_struct allocation
82743f44a420 hugetlbfs: fix kernel BUG at fs/hugetlbfs/inode.c:444!
2ca904bea902 lib/ubsan.c: don't mark __ubsan_handle_builtin_unreachable as noreturn
f4ae32cf2589 crypto: user - fix leaking uninitialized memory to userspace
f784bb167d5f libata: blacklist SAMSUNG MZ7TD256HAFV-000L9 SSD
08f382aeba0c gfs2: Fix metadata read-ahead during truncate (2)
47e7c3fc9b8b gfs2: Put bitmap buffers in put_super
bd9568c3484b configfs: replace strncpy with memcpy
5fe5a24a8cc8 selinux: check length properly in SCTP bind hook
a80cb9b67334 fuse: fix leaked notify reply
e6fed825e0eb fuse: fix use-after-free in fuse_direct_IO()
693a06b52aab rtc: hctosys: Add missing range error reporting
651c5d16f3a9 nfsd: COPY and CLONE operations require the saved filehandle to be set
f194756edd6c NFSv4: Don't exit the state manager without clearing NFS4CLNT_MANAGER_RUNNING
7142f0dcc2c8 sunrpc: correct the computation for page_ptr when truncating
13c70ef5b3c7 kdb: print real address of pointers instead of hashed addresses
6514d22a21ad kdb: use correct pointer when 'btc' calls 'btt'
6520fe938946 mnt: fix __detach_mounts infinite loop
d1a5f8e4d27e mount: Prevent MNT_DETACH from disconnecting locked mounts
376732709e5d mount: Don't allow copying MNT_UNBINDABLE|MNT_LOCKED mounts
afae7f7336d5 mount: Retest MNT_LOCKED in do_umount
e1d8594f10d1 ext4: fix buffer leak in __ext4_read_dirblock() on error path
4f1e87322991 ext4: fix buffer leak in ext4_expand_extra_isize_ea() on error path
73b05bc9cfdc ext4: fix buffer leak in ext4_xattr_move_to_block() on error path
93b0fc8e9005 ext4: release bs.bh before re-using in ext4_xattr_block_find()
ef3af4ee5b81 ext4: fix buffer leak in ext4_xattr_get_block() on error path
2efa77a4df20 ext4: fix possible leak of s_journal_flag_rwsem in error path
891dd04dc1cc ext4: fix possible leak of sbi->s_group_desc_leak in error path
0ff14c16afc8 ext4: avoid possible double brelse() in add_new_gdb() on error path
84d88fc7e751 ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizing
78805335fb17 ext4: avoid buffer leak in ext4_orphan_add() after prior errors
aac055dfa4ee ext4: avoid buffer leak on shutdown in ext4_mark_iloc_dirty()
d61417997e50 ext4: fix possible inode leak in the retry loop of ext4_resize_fs()
dd6d368f6f18 ext4: missing !bh check in ext4_xattr_inode_write()
c802502a2e80 ext4: avoid potential extra brelse in setup_new_flex_group_blocks()
56415293423b ext4: add missing brelse() add_new_gdb_meta_bg()'s error path
ab88f38df803 ext4: add missing brelse() in set_flexbg_block_bitmap()'s error path
5ee0b3985aec ext4: add missing brelse() update_backups()'s error path
d4b97e20c7ea clockevents/drivers/i8253: Add support for PIT shutdown quirk
a77da38bfda3 Btrfs: fix data corruption due to cloning of eof block
0c4fb98c8f6f Btrfs: fix infinite loop on inode eviction after deduplication of eof block
1064b11af79d Btrfs: fix cur_offset in the error case for nocow
383ceb87733b btrfs: fix pinned underflow after transaction aborted
57da76a94a8a watchdog/core: Add missing prototypes for weak functions
11cf9be2e473 arch/alpha, termios: implement BOTHER, IBSHIFT and termios2
7d7a750eabf2 termios, tty/tty_baudrate.c: fix buffer overrun
d74a4fc841cf x86/hyper-v: Enable PIT shutdown quirk
bcdff99a9348 x86/cpu/vmware: Do not trace vmware_sched_clock()
9eaed9022502 of, numa: Validate some distance map rules
688995faeb6f perf stat: Handle different PMU names with common prefix
b66ad9290fbf hwmon: (core) Fix double-free in __hwmon_device_register()
1ef2d80cb3da mtd: docg3: don't set conflicting BCH_CONST_PARAMS option
ca589cb08cd6 mtd: nand: Fix nanddev_neraseblocks()
98f1ce39c92c mtd: spi-nor: cadence-quadspi: Return error code in cqspi_direct_read_execute()
ab2b363733ac bonding/802.3ad: fix link_failure_count tracking
e36798fc10e2 ARM: 8809/1: proc-v7: fix Thumb annotation of cpu_v7_hvc_switch_mm
5d64390cff09 netfilter: conntrack: fix calculation of next bucket number in early_drop
ca1c5698fa94 memory_hotplug: cond_resched in __remove_pages
a01e1536fc68 mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings
b74b152e9442 ocfs2: free up write context when direct IO failed
8362d09a7ff3 ocfs2: fix a misuse a of brelse after failing ocfs2_check_dir_entry
f458499f2c96 soc: ti: QMSS: Fix usage of irq_set_affinity_hint
dd4f21dfb81d Revert "powerpc/8xx: Use L1 entry APG to handle _PAGE_ACCESSED for CONFIG_SWAP"
094e5a111d0e SCSI: fix queue cleanup race before queue initialization is done
aef93deeff58 scsi: qla2xxx: Initialize port speed to avoid setting lower speed
3fb039d37f96 vhost/scsi: truncate T10 PI iov_iter to prot_bytes
543c52975eb8 reset: hisilicon: fix potential NULL pointer dereference
84d1d9cc1c0c acpi, nfit: Fix ARS overflow continuation
13bb0de8e25c acpi/nfit, x86/mce: Validate a MCE's address before using it
cdd219834f93 acpi/nfit, x86/mce: Handle only uncorrectable machine checks
69df28065f30 mach64: fix image corruption due to reading accelerator registers
7f6c07f5402e mach64: fix display corruption on big endian machines
c5a924179783 thermal: core: Fix use-after-free in thermal_cooling_device_destroy_sysfs
bb34fbacd90c Revert "ceph: fix dentry leak in splice_dentry()"
e5d8d13800ca libceph: bump CEPH_MSG_MAX_DATA_LEN
1189a2216800 clk: rockchip: Fix static checker warning in rockchip_ddrclk_get_parent call
91a17b82ae41 clk: rockchip: fix wrong mmc sample phase shift for rk3328
7b659a3e5116 clk: sunxi-ng: h6: fix bus clocks' divider position
3a6f7116bf57 clk: at91: Fix division by zero in PLL recalc_rate()
b4972d19dbf8 clk: s2mps11: Fix matching when built as module and DT node contains compatible
7b8b07a696c2 um: Drop own definition of PTRACE_SYSEMU/_SINGLESTEP
8e81ecdcbaaf xtensa: fix boot parameters address translation
b9474cabc3c4 xtensa: make sure bFLT stack is 16 byte aligned
8501e03baaf2 xtensa: add NOTES section to the linker script
454dd3e93e38 MIPS: Loongson-3: Fix BRIDGE irq delivery problem
099ef76d3dd9 MIPS: Loongson-3: Fix CPU UART irq delivery problem
22f185cf0272 zram: close udev startup race condition as default groups
b2405b2330d3 clk: meson: axg: mark fdiv2 and fdiv3 as critical
b7dcf0d3a8f1 clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL
74cd739ed987 arm64: dts: stratix10: fix multicast filtering
f0ef4cf3d407 arm64: dts: stratix10: Support Ethernet Jumbo frame
f8c835816ad4 scsi: qla2xxx: Fix NVMe session hang on unload
318cb27e7fa0 scsi: qla2xxx: Fix re-using LoopID when handle is in use
aa67028ac422 ovl: fix recursive oi->lock in ovl_link()
1b8ca12ee8af fuse: set FR_SENT while locked
10b6b5d193b6 fuse: fix blocked_waitq wakeup
8b71920c90c3 fuse: Fix use-after-free in fuse_dev_do_write()
f7e709c59e58 fuse: Fix use-after-free in fuse_dev_do_read()
38d3f7b2e20f scsi: qla2xxx: Fix driver hang when FC-NVMe LUNs are configured
f05744c0277c scsi: qla2xxx: Fix duplicate switch database entries
792b70b674bf scsi: qla2xxx: shutdown chip if reset fail
187dc52ddacb scsi: qla2xxx: Remove stale debug trace message from tcm_qla2xxx
008bab2eb77d scsi: qla2xxx: Fix process response queue for ISP26XX and above
7e9178071fb1 scsi: qla2xxx: Fix incorrect port speed being set for FC adapters
c1d44176f2c3 serial: sh-sci: Fix could not remove dev_attr_rx_fifo_timeout
6fcbb25da516 ovl: check whiteout in ovl_create_over_whiteout()
6915a20df5f8 ovl: fix error handling in ovl_verify_set_fh()
1dffd49a92dd cdrom: fix improper type cast, which can leat to information leak.
09901a24c215 9p: clear dangling pointers in p9stat_free
ab5b8371449b ARM: dts: imx6ull: keep IMX6UL_ prefix for signals on both i.MX6UL and i.MX6ULL
8515b9edf7a0 udf: Prevent write-unsupported filesystem to be remounted read-write
a9dbfcffbfba 9p locks: fix glock.client_id leak in do_lock
b710256edba8 staging: most: video: fix registration of an empty comp core_component
938e30c56446 drm/amdgpu: Fix SDMA TO after GPU reset v3
35c37a531fa0 drm: rcar-du: Update Gen3 output limitations
e6b5db61b2d6 staging:iio:ad7606: fix voltage scales
3136e7a31323 powerpc/selftests: Wait all threads to join
e7bce56063ac media: tvp5150: fix width alignment during set_selection()
2139f23fd233 sc16is7xx: Fix for multi-channel stall
809923bfbf77 MIPS/PCI: Call pcie_bus_configure_settings() to set MPS/MRRS
0305be8f74fb powerpc/memtrace: Remove memory in chunks
439f5244a9f4 powerpc/boot: Ensure _zimage_start is a weak symbol
c6e2ae7ca034 MIPS: kexec: Mark CPU offline before disabling local IRQ
09249888b1ad media: coda: don't overwrite h.264 profile_idc on decoder instance
56a738841c49 media: pci: cx23885: handle adding to list failure
ae2a9a2cebf3 drm/hisilicon: hibmc: Do not carry error code in HiBMC framebuffer pointer
7cb3b831fea3 drm/amd/display: fix gamma not being applied
7657b5bd3475 drm/omap: fix memory barrier bug in DMM driver
56b14ace2cda powerpc/mm: Don't report hugepage tables as memory leaks when using kmemleak
905119e2ea85 powerpc/nohash: fix undefined behaviour when testing page size support
c89005fa57cc ARM: imx_v6_v7_defconfig: Select CONFIG_TMPFS_POSIX_ACL
fab609de31de drm/amdgpu/powerplay: fix missing break in switch statements
50513ecaf5f8 tracing/kprobes: Check the probe on unloaded module correctly
39abc57fe589 tty: check name length in tty_find_polling_driver()
45394cc9a3c4 powerpc/eeh: Fix possible null deref in eeh_dump_dev_log()
6fc2ea857297 powerpc/Makefile: Fix PPC_BOOK3S_64 ASFLAGS
9cfe21c38e5b Input: wm97xx-ts - fix exit path
f813b2981fc3 drm/amd/display: fix bug of accessing invalid memory
d74680a91a15 powerpc/mm: fix always true/false warning in slice.c
7bd05ac862e2 powerpc/mm: Fix page table dump to work on Radix
c467bb652d44 powerpc/64/module: REL32 relocation range check
8d16dd049428 powerpc/traps: restore recoverability of machine_check interrupts
6559b2338d96 Linux 4.18.19
5c4f8ea1f313 MD: fix invalid stored role for a disk - try2
ddf734ede053 bpf: wait for running BPF programs when updating map-in-map
bbfed258eb08 userns: also map extents in the reverse map to kernel IDs
46aa7eb182c9 net: sched: Remove TCA_OPTIONS from policy
928b261cfbe6 Btrfs: fix use-after-free when dumping free space
b7edab6df938 Btrfs: fix use-after-free during inode eviction
4fbcf14ceb4c btrfs: move the dio_sem higher up the callchain
904c7dc9dec1 btrfs: don't run delayed_iputs in commit
13d6628c019d btrfs: fix insert_reserved error handling
68c7db7c8f76 btrfs: only free reserved extent if we didn't insert it
3e9205b1d619 btrfs: don't use ctl->free_space for max_extent_size
171d45102ea8 btrfs: set max_extent_size properly
17a7240a9508 btrfs: reset max_extent_size properly
645dd2f9feab Btrfs: fix deadlock when writing out free space caches
d7c7d298a76f Btrfs: fix assertion on fsync of regular file when using no-holes feature
191597b15b24 Btrfs: fix null pointer dereference on compressed write path error
07cf04229031 btrfs: qgroup: Dirty all qgroups before rescan
96437af32b61 Btrfs: fix wrong dentries after fsync of file that got its parent replaced
41bdbc9ea1ec Btrfs: fix warning when replaying log after fsync of a tmpfile
09cbc39c1b7f btrfs: make sure we create all new block groups
302e6eaa09d8 btrfs: reset max_extent_size on clear in a bitmap
6078b6126651 btrfs: protect space cache inode alloc with GFP_NOFS
ff9e68fd136b btrfs: release metadata before running delayed refs
07ddb36eb150 Btrfs: don't clean dirty pages during buffered writes
0efba7a66329 btrfs: wait on caching when putting the bg cache
112249f4f379 btrfs: keep trim from interfering with transaction commits
74a0609298dc btrfs: don't attempt to trim devices that don't support it
599c6e4376cb btrfs: iterate all devices during trim, instead of fs_devices::alloc_list
d12a47554ea9 btrfs: Ensure btrfs_trim_fs can trim the whole filesystem
89dbabf7e2c3 btrfs: Enhance btrfs_trim_fs function to handle error better
449f9b8dcf15 btrfs: fix error handling in btrfs_dev_replace_start
e7e2afa8f83c btrfs: fix error handling in free_log_tree
9fc2295c6ce8 btrfs: locking: Add extra check in btrfs_init_new_buffer() to avoid deadlock
a0d7061e2905 btrfs: Handle owner mismatch gracefully when walking up tree
68b0e1cae6f3 btrfs: qgroup: Avoid calling qgroup functions if qgroup is not enabled
3734cce8cf6c tracing: Return -ENOENT if there is no target synthetic event
7d3714bb7abe selftests/powerpc: Fix ptrace tm failure
4bd6237fc951 selftests/ftrace: Fix synthetic event test to delete event correctly
efd03258cc5c soc/tegra: pmc: Fix child-node lookup
d4d1e7a2b1c8 soc: qcom: rmtfs-mem: Validate that scm is available
4bfdd88d22a1 arm64: dts: stratix10: Correct System Manager register size
09242a77726c ARM: dts: socfpga: Fix SDRAM node address for Arria10
29b85eacc07a Cramfs: fix abad comparison when wrap-arounds occur
cb3de273d7a3 rpmsg: smd: fix memory leak on channel create
fd376dc39890 arm64: lse: remove -fcall-used-x0 flag
391d6f13307e media: hdmi.h: rename ADOBE_RGB to OPRGB and ADOBE_YCC to OPYCC
11e879dd4a6d media: replace ADOBERGB by OPRGB
aff52a2f431b media: media colorspaces*.rst: rename AdobeRGB to opRGB
2b33dfe74c2a drm/mediatek: fix OF sibling-node lookup
795449cb0c51 media: adv7842: when the EDID is cleared, unconfigure CEC as well
feb3a39a17ab media: adv7604: when the EDID is cleared, unconfigure CEC as well
5df5d951c107 media: em28xx: fix handler for vidioc_s_input()
634eb3c8780a media: em28xx: make v4l2-compliance happier by starting sequence on zero
be91657a304c media: em28xx: fix input name for Terratec AV 350
95dfd1d5aad4 media: tvp5150: avoid going past array on v4l2_querymenu()
1ac7a4b394ad media: em28xx: use a default format if TRY_FMT fails
e448dfd6d3ec media: cec: forgot to cancel delayed work
b8ee0bd5b099 media: cec: fix the Signal Free Time calculation
11f9f361470d media: cec: add new tx/rx status bits to detect aborts/timeouts
6b92b55fd2cf xen-blkfront: fix kernel panic with negotiate_mq error path
6bc564ec5682 xen: remove size limit of privcmd-buf mapping interface
905632c2e61d xen: fix xen_qlock_wait()
dbcbbbbf5aa3 media: cec: integrate cec_validate_phys_addr() in cec-api.c
e4e97d13dd13 media: cec: make cec_get_edid_spa_location() an inline function
239efda32abd kgdboc: Passing ekgdboc to command line causes panic
e589ba2d14ad Revert "media: dvbsky: use just one mutex for serializing device R/W ops"
d661c89b177d media: v4l2-tpg: fix kernel oops when enabling HFLIP and OSD
ebc14b2ad1e7 net: bcmgenet: fix OF child-node lookup
0f664bdc5f98 TC: Set DMA masks for devices
eddf6140dbea iommu/arm-smmu: Ensure that page-table updates are visible before TLBI
220720a431bf ocxl: Fix access to the AFU Descriptor Data
02eabf6ac681 power: supply: twl4030-charger: fix OF sibling-node lookup
8631b7bd98b9 rtc: cmos: Remove the `use_acpi_alarm' module parameter for !ACPI
5b6bdf14357c rtc: cmos: Fix non-ACPI undefined reference to `hpet_rtc_interrupt'
e0e518677149 rtc: ds1307: fix ds1339 wakealarm support
1145e2b587d7 MIPS: OCTEON: fix out of bounds array access on CN68XX
5cd5e22d5b1d MIPS: memset: Fix CPU_DADDI_WORKAROUNDS `small_fixup' regression
163121109386 powerpc/64s/hash: Do not use PPC_INVALIDATE_ERAT on CPUs before POWER9
ba5a3866a609 powerpc/tm: Fix HFSCR bit for no suspend case
c0668860758e powerpc/msi: Fix compile error on mpc83xx
a0bac51733c0 fsnotify: Fix busy inodes during unmount
ddb75410b6a6 media: ov7670: make "xclk" clock optional
933833d56e3c dm zoned: fix various dmz_get_mblock() issues
8acae84c058c dm zoned: fix metadata block ref counting
58963dc60bb5 dm ioctl: harden copy_params()'s copy_from_user() from malicious users
1bc549827094 lockd: fix access beyond unterminated strings in prints
7b4718d2d53d nfsd: Fix an Oops in free_session()
04868067e324 nfsd: correctly decrement odstate refcount in error path
209502944483 nfs: Fix a missed page unlock after pg_doio()
006a1e6a2d9e NFSv4.1: Fix the r/wsize checking
8fb746ed8e0c NFC: nfcmrvl_uart: fix OF child-node lookup
193e214685dd genirq: Fix race on spurious interrupt detection
06cbcf582caf printk: Fix panic caused by passing log_buf_len to command line
fa4aec4d1e65 smb3: on kerberos mount if server doesn't specify auth type use krb5
e8c4202e4b16 smb3: do not attempt cifs operation in smb3 query info error path
278223e1fa26 smb3: allow stats which track session and share reconnects to be reset
418f8bfb26e9 w1: omap-hdq: fix missing bus unregister at removal
9cdbf32ae7d2 iio: adc: at91: fix wrong channel number in triggered buffer mode
b4c1120e3182 iio: adc: at91: fix acking DRDY irq on simple conversions
8221ff37fbb8 iio: adc: imx25-gcq: Fix leak of device_node in mx25_gcq_setup_cfgs()
bcd4f42d000c iio: ad5064: Fix regulator handling
33af6b490a1b kbuild: fix kernel/bounds.c 'W=1' warning
dad142caf8b3 KVM: arm64: Fix caching of host MDCR_EL2 value
a665c4ab7796 KVM: arm/arm64: Ensure only THP is candidate for adjustment
d09d8eaa1806 mm/hmm: fix race between hmm_mirror_unregister() and mmu_notifier callback
7bf8e1e365ba mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly
6d2ac8dbfd92 hugetlbfs: dirty pages as they are added to pagecache
e484e62bc857 ima: fix showing large 'violations' or 'runtime_measurements_count'
6f3691794c1a mm: /proc/pid/smaps_rollup: fix NULL pointer deref in smaps_pte_range()
2016e63b7692 crypto: speck - remove Speck
d4c47d9cf347 crypto: aegis/generic - fix for big endian systems
805fd900bda2 crypto: morus/generic - fix for big endian systems
9899e0e4528e crypto: aesni - don't use GFP_ATOMIC allocation if the request doesn't cross a page in gcm
c00600a96550 crypto: tcrypt - fix ghash-generic speed test
6aa3369f1768 crypto: lrw - Fix out-of bounds access on counter overflow
9f0654d9a878 signal: Guard against negative signal numbers in copy_siginfo_from_user32
071161f0cce4 signal/GenWQE: Fix sending of SIGKILL
a5d415583c30 PCI: vmd: White list for fast interrupt handlers
a06dfc8d5e18 PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk
c34f34ce93bb PCI/ASPM: Fix link_state teardown on device removal
2e952918d04a ARM: dts: dra7: Fix up unaligned access setting for PCIe EP
5074cd8b9936 EDAC, skx_edac: Fix logical channel intermediate decoding
b0fc82d940a5 EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting
6ba33971125c EDAC, amd64: Add Family 17h, models 10h-2fh support
d08463386852 HID: hiddev: fix potential Spectre v1
fafa54248a2f HID: wacom: Work around HID descriptor bug in DTK-2451 and DTH-2452
6f076021ce7e selinux: fix mounting of cgroup2 under older policies
dabb79bd2602 ext4: fix use-after-free race in ext4_remount()'s error path
798d9a4c4d37 ext4: propagate error from dquot_initialize() in EXT4_IOC_FSSETXATTR
c68737e3e4c3 ext4: fix setattr project check in fssetxattr ioctl
5dd65242be71 ext4: initialize retries variable in ext4_da_write_inline_data_begin()
34e60cb2f8ea ext4: fix EXT4_IOC_SWAP_BOOT
d543195430fa gfs2_meta: ->mount() can get NULL dev_name
08a394fe1c04 jbd2: fix use after free in jbd2_log_do_checkpoint()
54baa22b41dc IB/rxe: Revise the ib_wr_opcode enum
5855f2051298 IB/mlx5: Fix MR cache initialization
2a270b59969a ASoC: sta32x: set ->component pointer in private struct
31a02dd4ee74 ASoC: intel: skylake: Add missing break in skl_tplg_get_token()
db1af9641867 libnvdimm, pmem: Fix badblocks population for 'raw' namespaces
847179b1261a libnvdimm, region: Fail badblocks listing for inactive regions
e31a8418c8df libnvdimm: Hold reference on parent while scheduling async init
1ebefc8202c8 dmaengine: ppc4xx: fix off-by-one build failure
389d46234082 net/ipv4: defensive cipso option parsing
a11eb1510617 iwlwifi: mvm: check return value of rs_rate_from_ucode_rate()
255768cf1b57 mt76: mt76x2: fix multi-interface beacon configuration
7ea2dd519f59 usb: gadget: udc: renesas_usb3: Fix b-device mode for "workaround"
4d5f0d220a29 usb: typec: tcpm: Fix APDO PPS order checking to be based on voltage
d0e02f4b273b usbip:vudc: BUG kmalloc-2048 (Not tainted): Poison overwritten
fc988a353d59 libertas: don't set URB_ZERO_PACKET on IN USB transfer
9c47f44d0a93 xen/pvh: don't try to unplug emulated devices
9006cb392293 xen/pvh: increase early stack size
f91721a7895e xen: make xen_qlock_wait() nestable
2c2395aaa9ba xen: fix race in xen_qlock_wait()
726a8d0ae0f9 xen/balloon: Support xend-based toolstack
a49e27c0efe5 xen/blkfront: avoid NULL blkfront_info dereference on device removal
a76ef635cb22 tpm: Restore functionality to xen vtpm driver.
2c400cb65dc4 xen-swiotlb: use actually allocated size on check physical continuous
884f8f6e1b41 ARM: dts: exynos: Mark 1 GHz CPU OPP as suspend OPP on Exynos5250
feb08c3f3916 ARM: dts: exynos: Convert exynos5250.dtsi to opp-v2 bindings
4d5dd7609a88 arm: dts: exynos: Add missing cooling device properties for CPUs
e552bb9a21fd OPP: Free OPP table properly on performance state irregularities
d07c6c437300 f2fs: fix to account IO correctly
16eb8add5ee9 f2fs: fix to recover cold bit of inode block during POR
e8683288c629 Revert "f2fs: fix to clear PG_checked flag in set_page_dirty()"
e602d368b007 cpupower: Fix AMD Family 0x17 msr_pstate size
1511aba32429 ALSA: hda: Check the non-cached stream buffers more explicitly
050d782641c2 IB/rxe: fix for duplicate request processing and ack psns
8efbd111471e dmaengine: dma-jz4780: Return error if not probed from DT
faef9773f48a mfd: menelaus: Fix possible race condition and leak
2dc063e47362 signal: Always deliver the kernel's SIGKILL and SIGSTOP to a pid namespace init
6d5b9f9d3ec3 f2fs: report error if quota off error during umount
b41c30c5acc9 f2fs: avoid sleeping under spin_lock
ec8eb8b57057 scsi: lpfc: Correct race with abort on completion path
051b5fa2890b scsi: lpfc: Correct soft lockup when running mds diagnostics
e30cf6a23808 uio: ensure class is registered before devices
6a5975e8383c IB/mlx5: Allow transition of DCI QP to reset
12142fb13d30 firmware: coreboot: Unmap ioregion after device population
0470ae4236d0 driver/dma/ioat: Call del_timer_sync() without holding prep_lock
fbb33dd581b3 Smack: ptrace capability use fixes
6ae6cf2975fe usb: chipidea: Prevent unbalanced IRQ disable
c4b86b1461f0 crypto: caam - fix implicit casts in endianness helpers
d7f59eb8ae0d PCI: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode
0cf50920c081 coresight: etb10: Fix handling of perf mode
c259506c8a79 PCI/MSI: Warn and return error if driver enables MSI/MSI-X twice
14bbbe74bc3e f2fs: fix to recover inode's i_flags during POR
9e40e1123323 f2fs: fix to recover inode's crtime during POR
60e562bb965a xhci: Avoid USB autosuspend when resuming USB2 ports.
2c5e9a93e478 nvmem: check the return value of nvmem_add_cells()
40cdac6bfb73 MD: fix invalid stored role for a disk
175d020db6cf ext4: fix argument checking in EXT4_IOC_MOVE_EXT
f41d070e9fcb usb: gadget: udc: atmel: handle at91sam9rl PMC
3162e793c743 usb: dwc2: fix a race with external vbus supply
bcb003c30ac3 irqchip/pdc: Setup all edge interrupts as rising edge at GIC
10be774a8d44 xprtrdma: Reset credit grant properly after a disconnect
5f8ffba0789c PCI / ACPI: Enable wake automatically for power managed bridges
eedd2de8dc72 VMCI: Resource wildcard match fixed
fe0f3e9e6830 Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask
0e264876d8a6 f2fs: clear PageError on the read path
fbc88d502e81 tpm: suppress transmit cmd error logs when TPM 1.2 is disabled/deactivated
47b1c864123a usb: typec: tcpm: Report back negotiated PPS voltage and current
b88a5dd150a5 PCI: cadence: Use AXI region 0 to signal interrupts from EP
979fbe4045c8 PCI: mediatek: Fix mtk_pcie_find_port() endpoint/port matching logic
f91a686192f6 usb: host: ohci-at91: fix request of irq for optional gpio
fd4049585f15 RDMA/bnxt_re: Fix recursive lock warning in debug kernel
12100249f2be RDMA/bnxt_re: Avoid accessing nq->bar_reg_iomem in failure case
255cecf2a5eb IB/ipoib: Clear IPCB before icmp_send
086b1e14c525 RDMA/core: Do not expose unsupported counters
9b7b9aead186 scsi: megaraid_sas: fix a missing-check bug
4b4ae263d7d5 KVM: nVMX: Clear reserved bits of #DB exit qualification
58d06d2dbea7 UAPI: ndctl: Fix g++-unsupported initialisation in headers
97f21a6b942c scsi: ufs: Schedule clk gating work on correct queue
34fb187df0d0 scsi: esp_scsi: Track residual for PIO transfers
9b9dd8af6dd5 md: fix memleak for mempool
99c08e1dd146 MD: Memory leak when flush bio size is zero
e2065558bfab f2fs: fix to account IO correctly for cgroup writeback
8eadae7951d5 net: stmmac: dwmac-sun8i: fix OF child-node lookup
35df1a8080ab cgroup, netclassid: add a preemption point to write_classid
477fa78844c3 thermal: da9062/61: Prevent hardware access during system suspend
2ba7c7660bed thermal: rcar_thermal: Prevent doing work after unbind
363e948fcc3a libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9
043b60105fc2 ath10k: schedule hardware restart if WMI command times out
c0368ed155a2 ixgbevf: VF2VF TCP RSS
0cfe42772c1d ixgbe: disallow IPsec Tx offload when in SR-IOV mode
253b526d998b gpio: brcmstb: allow 0 width GPIO banks
ab9a0e99bf29 iwlwifi: mvm: fix BAR seq ctrl reporting
dec405826694 rsi: fix memory alignment issue in ARM32 platforms
d8b03c1e7663 net: dsa: mv88e6xxx: Fix writing to a PHY page.
ba0885680af7 net: hns3: Fix for vf vlan delete failed problem
ff80ed73b6cf net: hns3: Fix ping exited problem when doing lp selftest
65187c05f489 net: hns3: Preserve vlan 0 in hardware table
23c98b4d9fbd pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant
f5ba8363907c pinctrl: spmi-mpp: Fix pmic_mpp_config_get() to be compliant
f0ff16f0402a perf tests: Fix record+probe_libc_inet_pton.sh without ping's debuginfo
baef398e5dea failover: Add missing check to validate 'slave_dev' in net_failover_slave_unregister
f47ceb5f3a08 bpf/verifier: fix verifier instability
c0222ea97aa1 pinctrl: qcom: spmi-mpp: Fix drive strength setting
64b74ae515f7 ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers
d70f08ad0162 spi: gpio: No MISO does not imply no RX
e67ec9ef7925 kprobes: Return error if we fail to reuse kprobe instead of BUG_ON()
7a035a98f1b3 arm64: entry: Allow handling of undefined instructions from EL1
ae9fc312a6d8 block, bfq: correctly charge and reset entity service in all cases
3f353034eaf7 net: phy: phylink: ensure the carrier is off when starting phylink
4ac72411c7b4 net: hns3: Set STATE_DOWN bit of hdev state when stopping net
110bdc652904 net: hns3: Check hdev state when getting link status
a0f6b282ca78 brcmfmac: fix for proper support of 160MHz bandwidth
2cd3b487ff72 pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux
fae41efdcdb6 pinctrl: sunxi: fix 'pctrl->functions' allocation in sunxi_pinctrl_build_state
7458126fbbf3 net: hns3: Fix ets validate issue
e0d9799dffb1 net: hns3: Add nic state check before calling netif_tx_wake_queue
9fae4092be8b x86: boot: Fix EFI stub alignment
249af5d52486 Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth
f8ec431379a5 net: hns3: Fix for packet buffer setting bug
9ffa5136a36b ice: update fw version check logic
345e47a7dfc2 ice: fix changing of ring descriptor size (ethtool -G)
e7a23fd7c189 signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack
0f1f59872204 mtd: rawnand: atmel: Fix potential NULL pointer dereference
e8c9540b02ce x86/intel_rdt: Show missing resctrl mount options
0efa31256ace cpufreq: dt: Try freeing static OPPs only if we have added them
17b8bb13ac9d ACPI / processor: Fix the return value of acpi_processor_ids_walk()
dcb2a7c21469 ACPI / PM: LPIT: Register sysfs attributes based on FADT
9c7247b6f6a9 ACPI/PPTT: Handle architecturally unknown cache types
ef9c7ed4de60 x86/olpc: Indicate that legacy PC XO-1 platform should not register RTC
f7121de89b55 iwlwifi: mvm: check for n_profiles validity in EWRD ACPI
af0d1438f4e2 iwlwifi: mvm: clear HW_RESTART_REQUESTED when stopping the interface
e364a986fe41 iwlwifi: pcie: avoid empty free RB queue
ba4a1b62a2d7 mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset
8c9e66266a16 sdhci: acpi: add free_slot callback
8be558fb46df mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01
f9fa6d72d149 bcache: Populate writeback_rate_minimum attribute
46b8a8d2f33a cpupower: Fix coredump on VMWare
3d8b0617b2a5 perf strbuf: Match va_{add,copy} with va_end
74a5a6e86f82 perf tools: Cleanup trace-event-info 'tdata' leak
6b6ed6f4c33b perf tools: Free temporary 'sys' string in read_event_files()
91747a58abc5 spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}
feea46d8f5b0 lightnvm: pblk: fix race condition on metadata I/O
afa8688bd3bf lightnvm: pblk: fix two sleep-in-atomic-context bugs
beaff0a07547 lightnvm: pblk: fix race on sysfs line state
fd524f47ecc5 hwmon: (pwm-fan) Set fan speed to 0 on suspend
340029579377 s390/sthyi: Fix machine name validity indication
034d29a7ef6a tun: Consistently configure generic netdev params via rtnetlink
dcaa9d656d10 nfp: devlink port split support for 1x100G CXP NIC
4db6211a5bda arm64: cpufeature: ctr: Fix cpu capability check for late CPUs
ddb265c32880 swim: fix cleanup on setup error
140a8e218463 ataflop: fix error handling during setup
3967f93cb91b netfilter: xt_nat: fix DNAT target for shifted portmap ranges
0713bef08f09 locking/lockdep: Fix debug_locks off performance problem
92cc2f9792aa net: socionext: Reset tx queue in ndo_stop
9da20df2fbf6 i2c: rcar: cleanup DMA for all kinds of failure
4f7381656228 selftests: ftrace: Add synthetic event syntax testcase
89c678ab4908 drm: Get ref on CRTC commit object when waiting for flip_done
9fdd80c2ef12 r8169: re-enable MSI-X on RTL8168g
6b78ea67151b net: qla3xxx: Remove overflowing shift statement
8a5805bcc603 x86/fpu: Remove second definition of fpu in __fpu__restore_sig()
027622eacae7 perf report: Don't crash on invalid inline debug information
a34b5a9d90b1 perf cpu_map: Align cpu map synthesized events properly.
632f9277621b perf tools: Fix use of alternatives to find JDIR
71797bf860be perf evsel: Store ids for events with their own cpus perf_event__synthesize_event_update_cpus
f8148d7cea1f sched/fair: Fix the min_vruntime update logic in dequeue_entity()
e0d017fe2a43 nfp: flower: use offsets provided by pedit instead of index for ipv6
d8e7c3329332 nfp: flower: fix pedit set actions for multiple partial masks
23ef37c73bd7 r8169: Enable MSI-X on RTL8106e
1810feb860b1 perf vendor events intel: Fix wrong filter_band* values for uncore events
4e670a32d242 xfrm: policy: use hlist rcu variants on insert
2b0cdfb29439 xsk: do not call synchronize_net() under RCU read lock
d1d394e201f0 selftests: usbip: add wait after attach and before checking port status
c714f12f60ba Revert "perf tools: Fix PMU term format max value calculation"
7ceb3d05aff5 nvme: remove ns sibling before clearing path
c5849e9bf203 bpf: do not blindly change rlimit in reuseport net selftest
6dd0eaf03c0a drm: fix use of freed memory in drm_mode_setcrtc
c9493729df39 ARM: dts: exynos: Disable pull control for MAX8997 interrupts on Origen
db611db0ee15 x86/speculation: Support Enhanced IBRS on future CPUs
178ecd621450 x86/mm/pat: Disable preemption around __flush_tlb_all()
d601f8c2e0b0 x86/corruption-check: Fix panic in memory_corruption_check() when boot option without value is provided
1a359f8f8ec8 x86/xen: Fix boot loader version reported for PVH guests
02fb68711ba6 x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
e5e99bd18db3 ALSA: ca0106: Disable IZD on SB0570 DAC to fix audio pops
9c30febb7383 ALSA: hda: Add 2 more models to the power_save blacklist
0cfca999ee94 ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905)
43a57738232c ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715
9580bd128c3b ALSA: hda - Fix headphone pin config for ASUS G751
618ad7fe0e41 ALSA: hda - Add quirk for ASUS G751 laptop
1396c159647a parisc: Fix exported address of os_hpmc handler
5e3efb6ff698 parisc: Fix map_pages() to not overwrite existing pte entries
d9ad0ecfd503 parisc: Fix address in HPMC IVA
acf2f1783055 acpi, nfit: Fix Address Range Scrub completion tracking
cf7d33fa2dd3 mailbox: PCC: handle parse error
f703cf73a0cd ipmi: Fix timer race with module unload
13b8c2e55d7b kprobes/x86: Use preempt_enable() in optimized_callback()
5ef3e6e8d3e6 ACPICA: AML Parser: fix parse loop to correctly skip erroneous extended opcodes
7876d54ad642 ACPICA: AML interpreter: add region addresses in global list during initialization
165ec328038d ACPI / OSL: Use 'jiffies' as the time bassis for acpi_os_get_timer()
9c869687da7c pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges
6457bbfb62d8 dma-mapping: fix panic caused by passing empty cma command line argument
6995a939af68 cpufreq: conservative: Take limits changes into account properly
f793bede6a92 block: make sure writesame bio is aligned with logical block size
1e660a354aaa block: make sure discard bio is aligned with logical block size
5d7cc07a4a09 block: don't deal with discard limit in blkdev_issue_discard()
9acb7e6aa615 block: setup bounce bio_sets properly
22315bd1693b jffs2: free jffs2_sb_info through jffs2_kill_sb()
4e0b30d87323 hwmon: (pmbus) Fix page count auto-detection.
79e8dc743d12 bcache: fix miss key refill->end in writeback
c483d0e293af bcache: correct dirty data statistics
0d0bac807a44 bcache: trace missed reading by cache_missed
4588df8e529c spi: bcm-qspi: fix calculation of address length
af70ba70b95e spi: bcm-qspi: switch back to reading flash using smaller chunks
9b86e6f06127 spi: spi-mem: Adjust op len based on message/transfer size limitations
056a4dd50034 mtd: spi-nor: fsl-quadspi: Don't let -EINVAL on the bus
0368e0a3ab70 mtd: spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash
82a401cad1be mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB
57459faa2fbe mtd: rawnand: marvell: fix the IRQ handler complete() condition
99661278215d Linux 4.18.18
afc1e5e54138 x86/fpu: Fix i486 + no387 boot crash by only saving FPU registers on context switch if there is an FPU
5581e4eed999 x86/swiotlb: Enable swiotlb for > 4GiG RAM on 32-bit kernels
022601efef9e x86/time: Correct the attribute on jiffies' definition
5d59cf0b1833 x86/percpu: Fix this_cpu_read()
d1c0e525c430 x86, hibernate: Fix nosave_regions setup for hibernation
227db93beac0 x86/tsc: Force inlining of cyc2ns bits
dfc1a81b0143 sched/fair: Fix throttle_list starvation with low CFS quota
962bc4202bf0 drm/sun4i: Fix an ulong overflow in the dotclock driver
05d586677df0 Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15IGM
ea6b10f79dd3 tracing: Fix synthetic event to allow semicolon at end
762472aec1f9 tracing: Fix synthetic event to accept unsigned modifier
e6b8e426bf8f USB: fix the usbfs flag sanitization for control transfers
a790c9e4d51f usb: xhci: pci: Enable Intel USB role mux on Apollo Lake platforms
06a70c3f60b6 usb: roles: intel_xhci: Fix Unbalanced pm_runtime_enable
ebe34fdc10ad usb: gadget: storage: Fix Spectre v1 vulnerability
8ae5849083f4 usb: usbip: Fix BUG: KASAN: slab-out-of-bounds in vhci_hub_control()
b69c7f45b2d3 cdc-acm: fix race between reset and control messaging
ffc3136034c3 cdc-acm: correct counting of UART states in serial state notification
e4e6a27f3786 cdc-acm: do not reset notification buffer index upon urb unlinking
1d375e3b4663 IB/ucm: Fix Spectre v1 vulnerability
7f99af5c5510 RDMA/ucma: Fix Spectre v1 vulnerability
a69c03dca8c1 drm: fb-helper: Reject all pixel format changing requests
c6dd29d7a92d drm/edid: VSDB yCBCr420 Deep Color mode bit definitions
1ef7c81f8d5f drm/edid: Add 6 bpc quirk for BOE panel in HP Pavilion 15-n233sl
32c95444f91b ptp: fix Spectre v1 vulnerability
fc7f79df0f2a fscache: Fix out of bound read in long cookie keys
4bdc50b060ca cachefiles: fix the race between cachefiles_bury_object() and rmdir(2)
9ccc817d3fb0 fscache: Fix incomplete initialisation of inline key space
e65c5ffc44ad clk: sunxi-ng: sun4i: Set VCO and PLL bias current to lowest setting
cfb0622c2d95 gpio: mxs: Get rid of external API call
c6259258b48b bpf: fix partial copy of map_ptr when dst is scalar
1d15a9f08704 vfs: swap names of {do,vfs}_clone_file_range()
de1341b7a671 eeprom: at24: Add support for address-width property
(From OE-Core rev: 77939f82e29dccd170c4f0a1d63dba89d5320ded)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following CVE fixes into the 4.18 tree:
e78a46f375fe cdrom: fix improper type cast, which can leat to information leak.
4815231b9b65 btrfs: tree-checker: Verify block_group_item
6dfe2fe5dd52 btrfs: Introduce mount time chunk <-> dev extent mapping check
ccd06dcdc11b btrfs: Verify that every chunk has corresponding block group at mount time
7cf70b1e759a btrfs: Check that each block group has corresponding chunk at mount time
166bbd6ff86b btrfs: validate type when reading a chunk
ecf31c809599 ip: frags: fix crash in ip_do_fragment()
02fc22c5eb30 ip: use rb trees for IP frag queue.
72dd075ee367 net: modify skb_rbtree_purge to return the truesize of all purged skbs.
7a9f904c49aa ip: discard IPv4 datagrams with overlapping segments.
abea198657b7 f2fs: fix to do sanity check with i_extra_isize
408c425c41e4 f2fs: fix to do sanity check with node footer and iblocks
5e4ccef734c3 f2fs: fix to do sanity check with user_block_count
(From OE-Core rev: e09309a50dd5f4d8fc75915a5f2e97a16603aa9a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable releases the comprise the following changes:
50961e4888a1 Linux 4.14.79
fe54a7c4f0d1 net/mlx5: Fix build break when CONFIG_SMP=n
b0ee9bd40d74 net/sched: cls_api: add missing validation of netlink attributes
c8c2df18eedf net: bcmgenet: Poll internal PHY for GENETv5
71944eb54288 net: ipmr: fix unresolved entry dumps
4ca72d6336df rtnetlink: Disallow FDB configuration for non-Ethernet device
ac65fd7094ac net/mlx5e: fix csum adjustments caused by RXFCS
855cb69f4e6d net: fix pskb_trim_rcsum_slow() with odd trim offset
623670a9f207 net: drop skb on failure in ip_check_defrag()
fd090ba395fb net: sched: Fix for duplicate class dump
bc4787003687 net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type
1d50b74a33d0 openvswitch: Fix push/pop ethernet validation
f288424ea85e ip6_tunnel: Fix encapsulation layout
8a865095d399 bonding: fix length of actor system
95c337646585 ethtool: fix a privilege escalation bug
574af67123c3 virtio_net: avoid using netif_tx_disable() for serializing tx routine
b522f279f91b vhost: Fix Spectre V1 vulnerability
189771d69e14 udp6: fix encap return code for resubmitting
606694e5ec81 sctp: fix race on sctp_id2asoc
aa8d067c8547 r8169: fix NAPI handling under high load
0ecebdfb2e3a net: udp: fix handling of CHECKSUM_COMPLETE packets
441d0e754082 net: stmmac: Fix stmmac_mdio_reset() when building stmmac as modules
7d58456872c4 net: socket: fix a missing-check bug
29d871195e9e net: sched: gred: pass the right attribute to gred_change_table_def()
e581e28f9dcb net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs
ff96a3977440 net: fec: don't dump RX FIFO register when not available
6bb1381cc865 llc: set SOCK_RCU_FREE in llc_sap_add_socket()
1e42e97af983 ipv6/ndisc: Preserve IPv6 control buffer if protocol error handlers are called
5d4c5861211f ipv6: mcast: fix a use-after-free in inet6_mc_check
c3cf86dac56d net: bridge: remove ipv6 zero address check in mcast queries
1bd68d5612af bridge: do not add port to router list when receives query with source 0.0.0.0
b6534b3e08e8 drm/i915/gvt: fix memory leak of a cmd_entry struct on error exit path
2980235974cd perf tools: Disable parallelism for 'make clean'
ac7c2bb59870 Revert "netfilter: ipv6: nf_defrag: drop skb dst before queueing"
ee66ad5896ae ALSA: usx2y: Fix invalid stream URBs
e75194d29442 media: uvcvideo: Fix driver reference counting
cdb44bdafc3a ARM: dts: r8a7790: Correct critical CPU temperature
871424f0c3cf kvm: x86: fix WARN due to uninitialized guest FPU state
3642e3544749 mtd: spi-nor: Add support for is25wp series chips
bd6df7a19559 sch_netem: restore skb->dev after dequeuing from the rbtree
3d69b85e14be fs/fat/fatent.c: add cond_resched() to fat_count_free_clusters()
5309191ec049 selftests: rtnetlink.sh explicitly requires bash.
1e4f8315a5c8 net: ena: fix NULL dereference due to untimely napi initialization
ba4cf1eefd54 net: ena: fix warning in rmmod caused by double iounmap
252869e5fb49 rxrpc: Fix connection-level abort handling
f1d27ff6e027 rxrpc: Only take the rwind and mtu values from latest ACK
9a6d45700adf rxrpc: Don't check RXRPC_CALL_TX_LAST after calling rxrpc_rotate_tx_window()
4fdaadbce403 perf python: Use -Wno-redundant-decls to build with PYTHON=python3
c005e014fbc6 ARM: dts: imx53-qsb: disable 1.2GHz OPP
3c3bec81e267 compiler.h: Allow arch-specific asm/compiler.h
b8f4d375cd1e perf tests: Fix indexing when invoking subtests
543f1084b67f libertas: call into generic suspend code before turning off power
48f1b3b56ee4 kconfig: fix the rule of mainmenu_stmt symbol
cbc38304947e net: stmmac: mark PM functions as __maybe_unused
726f05951941 x86/paravirt: Fix some warning messages
aa3aff5b469b net: phy: phylink: Don't release NULL GPIO
f72388e3670e btrfs: quota: Set rescan progress to (u64)-1 if we hit last leaf
3c92c7e96fc4 scsi: sd: Remember that READ CAPACITY(16) succeeded
5aa0d86363b2 scsi: ibmvfc: Avoid unnecessary port relogin
07e2121f4f2b selftests/powerpc: Add ptrace hw breakpoint test
672fdbd5966e iio: buffer: fix the function signature to match implementation
1bee5f3d9530 enic: do not overwrite error code
b9627a218e2b lan78xx: Don't reset the interface on open
f18ed65d70f0 MIPS: Workaround GCC __builtin_unreachable reordering bug
f274c57f0479 mmc: dw_mmc-rockchip: correct property names in debug
e6df57b60b86 IB/usnic: Update with bug fixes from core code
d29f27192a2d xen-netfront: Fix mismatched rtnl_unlock
a0fcefb70022 xen-netfront: Update features after registering netdev
9de255666ce3 tpm: tpm_crb: relinquish locality on error path.
3c0cff34e91e bpf: sockmap, map_release does not hold refcnt for pinned maps
db9d15988afb tpm: move the delay_msec increment after sleep in tpm_transmit()
c1fdafea627c sparc64: Fix regression in pmdp_invalidate().
090246ff5f6c KVM: x86: Update the exit_qualification access bits while walking an address
7d768c84ec31 test_bpf: Fix testing with CONFIG_BPF_JIT_ALWAYS_ON=y on other arches
8f041940aaf2 cifs: Use ULL suffix for 64-bit constant
5c097f55e980 l2tp: remove configurable payload offset
b39ac5421519 ARM: tegra: Fix ULPI regression on Tegra20
579493b9f689 IB/mlx5: Avoid passing an invalid QP type to firmware
6cfb67394a42 kbuild: set no-integrated-as before incl. arch Makefile
a972222a6a30 scsi: qla2xxx: Avoid double completion of abort command
651f11a83af3 net/mlx5e: Refine ets validation function
8b882dbba717 net: phy: Add general dummy stubs for MMD register access
8d9d7f018464 net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b
4fbd26a1484c dm integrity: fail early if required HMAC key is not available
aa2a0c23c9b7 powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n
71a9d1240a30 net/mlx5: Fix mlx5_get_vector_affinity function
049fee28bba3 s390/qeth: fix error handling in adapter command callbacks
18addd960fe8 IB/rxe: put the pool on allocation failure
8c954368de69 IB/ipoib: Fix lockdep issue found on ipoib_ib_dev_heavy_flush
c750773f3942 scsi: aacraid: address UBSAN warning regression
3b6c6d9cbdea usbip: vhci_hcd: update 'status' file header and format
e37e383a4e66 tools/testing/nvdimm: unit test clear-error commands
18a83c013392 iwlwifi: fix the ALIVE notification layout
4187fbd60c39 iwlwifi: dbg: allow wrt collection before ALIVE
d1efab095c20 iwlwifi: mvm: check for short GI only for OFDM
f83f38fcf17f ocfs2: fix crash in ocfs2_duplicate_clusters_by_page()
d0539c56391d yam: fix a missing-check bug
ec4e9618d1fd net: cxgb3_main: fix a missing-check bug
049b662eeadd be2net: don't flip hw_features when VXLANs are added/deleted
45894023bee9 locking/ww_mutex: Fix runtime warning in the WW mutex selftest
a0ab962b674d net: qualcomm: rmnet: Skip processing loopback packets
3095f0c98c6a declance: Fix continuation with the adapter identification message
1837dbb25cc5 net: fec: fix rare tx timeout
784f8395895f perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events
40568f21f235 perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX
a18e2159c3ff perf/ring_buffer: Prevent concurent ring buffer access
ffc3cb561ece perf/core: Fix perf_pmu_unregister() locking
492a81318e8c cfg80211: fix use-after-free in reg_process_hint()
35ffbd523797 smsc95xx: Check for Wake-on-LAN modes
9e3a0366365b smsc75xx: Check for Wake-on-LAN modes
9eaabc0a7779 r8152: Check for supported Wake-on-LAN Modes
4301fb3391ed sr9800: Check for supported Wake-on-LAN modes
9f0962c0f6f7 lan78xx: Check for supported Wake-on-LAN modes
a0fc06335530 ax88179_178a: Check for supported Wake-on-LAN modes
eef5935c2d7a asix: Check for supported Wake-on-LAN modes
915670c48eb3 nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
b93393d63d8f qed: Avoid implicit enum conversion in qed_iwarp_parse_rx_pkt
ee86b4d659c2 qed: Avoid constant logical operation warning in qed_vf_pf_acquire
935d441968b1 qed: Avoid implicit enum conversion in qed_roce_mode_to_flavor
ab7998abfea2 qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
76f86190774e qed: Avoid implicit enum conversion in qed_set_tunn_cls_info
865741554925 pxa168fb: prepare the clock
0f8a689c6a2f Bluetooth: SMP: fix crash in unpairing
db2a11e706bf mac80211_hwsim: do not omit multicast announce of first added radio
c7b66583c9ed nl80211: Fix possible Spectre-v1 for NL80211_TXRATE_HT
fa1578ec411d soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
795b13034224 soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
d9e742766c76 net: macb: Clean 64b dma addresses if they are not detected
a5bdfc6892b5 ARM: dts: BCM63xx: Fix incorrect interrupt specifiers
1241679ce248 arm64: hugetlb: Fix handling of young ptes
1157713407a6 netfilter: bridge: Don't sabotage nf_hook calls from an l3mdev
26c6b9da7a00 xfrm: validate template mode
5d7bf7b4d022 ARM: 8799/1: mm: fix pci_ioremap_io() offset check
73c6f8606070 xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.
35507aabf0e5 mac80211: fix TX status reporting for ieee80211s
ebec37ed21a2 mac80211: TDLS: fix skb queue/priority assignment
9da59d2e283d cfg80211: Address some corner cases in scan result channel updating
574be53ab82c mac80211: fix pending queue hang due to TX_DROP
d46c334f07f5 cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
b0be0d83fc68 mac80211: Always report TX status
64f38286c7be xfrm: reset crypto_done when iterating over multiple input xfrms
a95d9004fbde xfrm: reset transport header back to network header after all input transforms ahave been applied
2a55e64d5c5e xfrm6: call kfree_skb when skb is toobig
3b5d512831af xfrm: Validate address prefix lengths in the xfrm selector.
e7405910ca55 Linux 4.14.78
6edd85a7870a IB/hfi1: Fix destroy_qp hang after a link down
4d5af836674f i2c: rcar: handle RXDMA HW behaviour on Gen3
faf578e3593e drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.
2a797fd8f8ae mm: disallow mappings that conflict for devm_memremap_pages()
8e6173c12467 staging: ccree: check DMA pool buf !NULL before free
61377bc80861 drm/i915: Nuke the LVDS lid notifier
e896a2adba93 HID: quirks: fix support for Apple Magic Keyboards
7b9f716d5550 ARC: build: Don't set CROSS_COMPILE in arch's Makefile
b6d06b180ff8 ARC: build: Get rid of toolchain check
541500abfe9e mremap: properly flush TLB before releasing the page
f473bf921696 Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"
e261faa2eccb powerpc/lib/feature-fixups: use raw_patch_instruction()
f78ae314c6e3 iommu/amd: Return devid as alias for ACPI HID devices
62c15d061f5f powerpc/tm: Avoid possible userspace r1 corruption on reclaim
256707d3b89b powerpc/tm: Fix userspace r13 corruption
4f5dbf26a1bd clocksource/drivers/fttmr010: Fix set_next_event handler
f75ad0441a0a net/mlx4: Use cpumask_available for eq->affinity_mask
4c0e2e4a4b54 scsi: sd: don't crash the host on invalid commands
b6b5bc245dc2 scsi: ipr: System hung while dlpar adding primary ipr adapter back
26377fe2f7b0 drm: mali-dp: Call drm_crtc_vblank_reset on device init
940d35f3a572 PCI: dwc: Fix scheduling while atomic issues
48047b847808 ravb: do not write 1 to reserved bits
997cdc46f436 net: emac: fix fixed-link setup for the RTL8363SB switch
1c22d2cbd9f2 Input: atakbd - fix Atari CapsLock behaviour
8b8ab47a093d Input: atakbd - fix Atari keymap
2b8b339c53d2 intel_th: pci: Add Ice Lake PCH support
3353c04dd4d7 scsi: ibmvscsis: Ensure partition name is properly NUL terminated
40e49c155313 scsi: ibmvscsis: Fix a stringop-overflow warning
89450e431a63 clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs
498c536f5931 batman-adv: fix hardif_neigh refcount on queue_work() failure
3e9f714fb58b batman-adv: fix backbone_gw refcount on queue_work() failure
2b1c4897f256 batman-adv: Prevent duplicated tvlv handler
b46fd722b7bc batman-adv: Prevent duplicated global TT entry
2a544b2da44b batman-adv: Prevent duplicated softif_vlan entry
18733cfe4126 batman-adv: Prevent duplicated nc_node entry
3b38bed3304d batman-adv: Prevent duplicated gateway_node entry
c553f7e514b9 batman-adv: Fix segfault when writing to sysfs elp_interval
acdaf28d8cf5 batman-adv: Fix segfault when writing to throughput_override
fa04cc5e7b81 batman-adv: Avoid probe ELP information leak
88be243901ff media: af9035: prevent buffer overflow on write
8263087bf627 Linux 4.14.77
d0c9f9f9fb44 perf tools: Fix snprint warnings for gcc 8
57bff812c4e2 ARM: spectre-v1: mitigate user accesses
4a1948d692f1 ARM: spectre-v1: use get_user() for __get_user()
f64824a3d475 ARM: use __inttype() in get_user()
70b96be10d15 ARM: oabi-compat: copy semops using __copy_from_user()
38752f417487 ARM: vfp: use __copy_from_user() when restoring VFP state
faac72dc9150 ARM: signal: copy registers using __copy_from_user()
b690ec0dc735 ARM: spectre-v1: fix syscall entry
4186f7cfa1d6 ARM: spectre-v1: add array_index_mask_nospec() implementation
f6909113ad1f ARM: spectre-v1: add speculation barrier (csdb) macros
e7fc401a8800 ARM: KVM: report support for SMCCC_ARCH_WORKAROUND_1
8502541ee216 ARM: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
ee4e537d3aa1 ARM: spectre-v2: KVM: invalidate icache on guest exit for Brahma B15
1df9a0a8201b ARM: KVM: invalidate icache on guest exit for Cortex-A15
75e48eff8aae ARM: KVM: invalidate BTB on guest exit for Cortex-A12/A17
6d75fe7ed2f6 ARM: spectre-v2: warn about incorrect context switching functions
510155b2d95b ARM: spectre-v2: add firmware based hardening
5ab8c6e8879c ARM: spectre-v2: harden user aborts in kernel space
81b215a5b80b ARM: spectre-v2: add Cortex A8 and A15 validation of the IBE bit
3e52aff79d5e ARM: spectre-v2: harden branch predictor on context switches
c0f64070a310 ARM: spectre: add Kconfig symbol for CPUs vulnerable to Spectre
0d5360ee15e9 ARM: bugs: add support for per-processor bug checking
c7825c277bad ARM: bugs: hook processor bug checking into SMP and suspend paths
9a42b70744b1 ARM: bugs: prepare processor bug infrastructure
1789de335428 ARM: add more CPU part numbers for Cortex and Brahma B15 CPUs
d62b8ac8cd54 mm: don't show nr_indirectly_reclaimable in /proc/vmstat
5de69d648a09 mm: treat indirectly reclaimable memory as free in overcommit logic
6d7942377c88 dcache: account external names as indirectly reclaimable memory
dc09a5b68d83 mm: treat indirectly reclaimable memory as available in MemAvailable
c605894c84b9 mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES
7a4f9efdb213 xhci: Don't print a warning when setting link state for disabled ports
74a960430a8d i2c: i2c-scmi: fix for i2c_smbus_write_block_data
1b7ff5208d2f mm: Preserve _PAGE_DEVMAP across mprotect() calls
68ba0bdfe494 mm/thp: fix call to mmu_notifier in set_pmd_migration_entry() v2
3e6275d940a4 arm64: perf: Reject stand-alone CHAIN events for PMUv3
b3e4b3c70a0a pinctrl: mcp23s08: fix irq and irqchip setup order
d5833a50c6a3 mmc: block: avoid multiblock reads for the last sector in SPI mode
bc183079ddfd cgroup: Fix dom_cgrp propagation when enabling threaded mode
c339fab172a9 dm linear: fix linear_end_io conditional definition
efd6537984d5 dm linear: eliminate linear_end_io call if CONFIG_DM_ZONED disabled
261f2cba100b dm: fix report zone remapping to account for partition offset
6c8faa19e9cc dm cache: destroy migration_cache if cache target registration failed
8d2f62cb2d46 s390/cio: Fix how vfio-ccw checks pinned pages
e3f725f5c46a perf script python: Fix export-to-sqlite.py sample columns
82ac2740aa74 perf script python: Fix export-to-postgresql.py occasional failure
54886c978397 percpu: stop leaking bitmap metadata blocks
6c8f4babb57b mach64: detect the dot clock divider correctly on sparc
86717a97f921 MIPS: VDSO: Always map near top of user memory
8676e0b4a28f mm/vmstat.c: fix outdated vmstat_text
059726864271 drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7
e4865b46e195 x86/kvm/lapic: always disable MMIO interface in x2APIC mode
88659387b9d5 clk: x86: Stop marking clocks as CLK_IS_CRITICAL
ba54417f8d01 clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail
cac34c122cf3 PCI: hv: support reporting serial number as slot information
18918ed70db9 ARM: dts: at91: add new compatibility string for macb on sama5d3
c77295d6fa1c net: macb: disable scatter-gather for macb on sama5d3
3265bda5bd9f stmmac: fix valid numbers of unicast filter entries
1826e5562516 hv_netvsc: fix schedule in RCU context
37ca1cc8d4c0 sound: don't call skl_init_chip() to reset intel skl soc
2af2b70c107b sound: enable interrupt after dma buffer initialization
a5733703e38c scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()
254cc00e53d7 scsi: iscsi: target: Don't use stack buffer for scatterlist
5d53f0d897c3 mfd: omap-usb-host: Fix dts probe of children
e3583d7b1bd9 Bluetooth: hci_ldisc: Free rw_semaphore on close
bac561137155 ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER
ad9ad950a37b ASoC: rsnd: adg: care clock-frequency size
6d52f3e1e729 selftests: memory-hotplug: add required configs
e121efd796c9 selftests/efivarfs: add required kernel configs
c5f7b0d2ce9e ASoC: sigmadsp: safeload should not have lower byte limit
c08a99325a56 ASoC: wm8804: Add ACPI support
a15fac93a3e6 ASoC: rt5514: Fix the issue of the delay volume applied again
c5df58138946 inet: make sure to grab rcu_read_lock before using ireq->ireq_opt
17af5475aef3 tcp/dccp: fix lockdep issue when SYN is backlogged
4b7b26024f52 net-ethtool: ETHTOOL_GUFO did not and should not require CAP_NET_ADMIN
98c77f2eef29 bnxt_en: don't try to offload VLAN 'modify' action
eb79c31aac15 nfp: avoid soft lockups under control message storm
f578e5b34c38 bonding: fix warning message
90a3d8afe1f4 bonding: pass link-local packets to bonding master also.
83eb2fdd0483 net/mlx5: E-Switch, Fix out of bound access when setting vport rate
7aa339e90994 net: aquantia: memory corruption on jumbo frames
7ba8867fb3a7 net/mlx5e: Set vlan masks for all offloaded TC rules
431a4fee7114 net: dsa: bcm_sf2: Fix unbind ordering
5150140b4ea7 net/packet: fix packet drop as of virtio gso
5e7bb38dc696 net: stmmac: Fixup the tail addr setting in xmit path
7976e6b70ecf udp: Unbreak modules that rely on external __skb_recv_udp() availability
49984ca4e60e tipc: fix flow control accounting for implicit connect
66c1b9cfa07d team: Forbid enslaving team device to itself
d63d3995d7db sctp: update dst pmtu with the correct daddr
a8b0f004eb90 rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096
5f999abba33f rtnetlink: fix rtnl_fdb_dump() for ndmsg header
72675512fb1a qmi_wwan: Added support for Gemalto's Cinterion ALASxx WWAN interface
0d5b9edea995 qlcnic: fix Tx descriptor corruption on 82xx devices
133aea0f2108 net/usb: cancel pending work when unbinding smsc75xx
3e80ad8cbf22 net: systemport: Fix wake-up interrupt race during resume
d9057423312e net: sched: Add policy validation for tc attributes
85ebbc5a2543 net: mvpp2: fix a txq_done race condition
d9bf6699aee8 net: mvpp2: Extract the correct ethtype from the skb for tx csum offload
19c5e73c745c netlabel: check for IPV4MASK in addrinfo_get
335c37612f9f net/ipv6: Display all addresses in output of /proc/net/if_inet6
9b4869cf385a net: ipv4: update fnhe_pmtu when first hop's MTU changes
6c61dae979ae net: hns: fix for unmapping problem when SMMU is on
8193b775247a net: dsa: bcm_sf2: Call setup during switch resume
48c14f2ea5c5 ipv6: take rcu lock in rawv6_send_hdrinc()
32b193216e18 ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
deb33b68f40e ip_tunnel: be careful when accessing the inner header
18bf9a724362 ip6_tunnel: be careful when accessing the inner header
94402f23659f bonding: avoid possible dead-lock
e73b51a995ac bnxt_en: free hwrm resources, if driver probe fails.
67d1ee6c7b76 bnxt_en: Fix TX timeout during netpoll.
(From OE-Core rev: 01a2f1ca3d06f0b2a4eb1cf4c8450352031296ff)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
2237effd7edc Linux 4.18.17
1757ec69500e net: bridge: remove ipv6 zero address check in mcast queries
2ec673dbb0cd sparc: Throttle perf events properly.
12176be9fc14 sparc: Fix syscall fallback bugs in VDSO.
366187ea2b33 sparc: Fix single-pcr perf event counter management.
4ce6adbc410a sparc64: Wire up compat getpeername and getsockname.
a756494fb7bd sparc64: Set %l4 properly on trap return after handling signals.
1a47e59c4471 sparc64: Make proc_id signed.
f64ff34d414e sparc64: Make corrupted user stacks more debuggable.
69e6b8f41fbf sparc64: Export __node_distance.
6a84bdb84df3 mlxsw: core: Fix devlink unregister flow
2d484ce0a878 net/mlx5: WQ, fixes for fragmented WQ buffers API
f8e70fa84f76 net: fix pskb_trim_rcsum_slow() with odd trim offset
4eb937395873 net: drop skb on failure in ip_check_defrag()
dc4526d3bfeb net: bpfilter: use get_pid_task instead of pid_task
79a6dd1cb8e3 mlxsw: spectrum_switchdev: Don't ignore deletions of learned MACs
f235cdcf4fc4 net/smc: fix smc_buf_unuse to use the lgr pointer
d09a8fb16103 net/mlx5: Fix memory leak when setting fpga ipsec caps
63f8939f793b sctp: not free the new asoc when sctp_wait_for_connect returns err
c1b1e96cffd2 sctp: fix the data size calculation in sctp_data_size
81e31abfa81d net/ipv6: Allow onlink routes to have a device mismatch if it is the default route
c5038b492cb1 net/sched: cls_api: add missing validation of netlink attributes
45675e6e6344 net: sched: Fix for duplicate class dump
11681b07d320 net: bcmgenet: Poll internal PHY for GENETv5
b9a30ce087b4 net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type
739b2449f0cf net: ipmr: fix unresolved entry dumps
f8c96597387e openvswitch: Fix push/pop ethernet validation
0b73d75ab52f ip6_tunnel: Fix encapsulation layout
2f75b5a2c832 bonding: fix length of actor system
03e00d0609eb ethtool: fix a privilege escalation bug
e30293d0a03a virtio_net: avoid using netif_tx_disable() for serializing tx routine
c75d697c8197 vhost: Fix Spectre V1 vulnerability
886de7239b16 udp6: fix encap return code for resubmitting
b3c2e8e106df tipc: fix unsafe rcu locking when accessing publication list
721933262ef7 sctp: fix race on sctp_id2asoc
2645237c90e7 rtnetlink: Disallow FDB configuration for non-Ethernet device
9ae97da02a54 r8169: fix NAPI handling under high load
6c5f9c2de021 net: udp: fix handling of CHECKSUM_COMPLETE packets
cbfb26f3eb03 net: stmmac: Fix stmmac_mdio_reset() when building stmmac as modules
a04092cebd73 net: socket: fix a missing-check bug
ea824d70d673 net: sched: gred: pass the right attribute to gred_change_table_def()
7344adab32c7 net/mlx5e: fix csum adjustments caused by RXFCS
60a2c3b4a991 net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs
4dcde3a4c5ea net: fec: don't dump RX FIFO register when not available
cc30c16a04cb llc: set SOCK_RCU_FREE in llc_sap_add_socket()
23b5d05d9114 ipv6: rate-limit probes for neighbourless routes
9198d01eb02d ipv6/ndisc: Preserve IPv6 control buffer if protocol error handlers are called
558af64846ca ipv6: mcast: fix a use-after-free in inet6_mc_check
9801a672beb6 bridge: do not add port to router list when receives query with source 0.0.0.0
b13411edcf71 perf tools: Disable parallelism for 'make clean'
f1f040bf29b7 Revert "netfilter: ipv6: nf_defrag: drop skb dst before queueing"
d496cdeede28 Revert "mm: slowly shrink slabs with a relatively small number of objects"
4afb03f48e7e fs/fat/fatent.c: add cond_resched() to fat_count_free_clusters()
9721f5af4d23 afs: Fix cell proc list
9277b65e04d6 vmlinux.lds.h: Fix linker warnings about orphan .LPBX sections
e266c397e724 vmlinux.lds.h: Fix incomplete .text.exit discards
c4659254b987 selftests: udpgso_bench.sh explicitly requires bash
92e648292600 selftests: rtnetlink.sh explicitly requires bash.
941a8d0b8409 rds: RDS (tcp) hangs on sendto() to unresponding address
87113db1242c IB/mlx5: Unmap DMA addr from HCA before IOMMU
e14b8b11ac50 gpio: Assign gpio_irq_chip::parents to non-stack pointer
e7579cb736ec net: ena: fix NULL dereference due to untimely napi initialization
2abc117c9799 net: ena: fix rare bug when failed restart/resume is followed by driver removal
b0af327d145f net: ena: fix warning in rmmod caused by double iounmap
6be48d8274ef KVM: x86: support CONFIG_KVM_AMD=y with CONFIG_CRYPTO_DEV_CCP_DD=m
98154205f7a9 rxrpc: Fix connection-level abort handling
47af9661cc87 rxrpc: Only take the rwind and mtu values from latest ACK
54776c736d41 rxrpc: Carry call state out of locked section in rxrpc_rotate_tx_window()
e3dcbf121240 rxrpc: Don't check RXRPC_CALL_TX_LAST after calling rxrpc_rotate_tx_window()
903fb78f7436 perf record: Use unmapped IP for inline callchain cursors
37e241d14094 perf python: Use -Wno-redundant-decls to build with PYTHON=python3
2b401f26406f ARM: dts: imx53-qsb: disable 1.2GHz OPP
755b72711bbc compiler.h: Allow arch-specific asm/compiler.h
ff78e12f6587 HID: i2c-hid: Remove RESEND_REPORT_DESCR quirk and its handling
e911f46c0cc5 tls: Fix improper revert in zerocopy_from_iter
2033959b7421 perf report: Don't try to map ip to invalid map
15ea940bc3fb libertas: call into generic suspend code before turning off power
d33c4297bac5 clk: mvebu: armada-37xx-periph: Remove unused var num_parents
e7f8508aca5e x86/paravirt: Fix some warning messages
3b917cecac61 mm/migrate.c: split only transparent huge pages when allocation fails
28d6d2236564 mm/gup_benchmark: fix unsigned comparison to zero in __gup_benchmark_ioctl
203711a8820b ocfs2: fix crash in ocfs2_duplicate_clusters_by_page()
72c25b9bf77d yam: fix a missing-check bug
4c8345b62cfe net: cxgb3_main: fix a missing-check bug
3397d28b3e27 powerpc/numa: Skip onlining a offline node in kdump path
a7af3a2ae488 be2net: don't flip hw_features when VXLANs are added/deleted
43cb734246c0 drm/amd/display: Signal hw_done() after waiting for flip_done()
76c84d0a2313 locking/ww_mutex: Fix runtime warning in the WW mutex selftest
1ac18a1dbc3f Revert "serial: 8250_dw: Fix runtime PM handling"
0cf9edba8270 RISCV: Fix end PFN for low memory
5278d9550d4d declance: Fix continuation with the adapter identification message
c770ce978ac2 net: fec: fix rare tx timeout
5613fc70844b thunderbolt: Initialize after IOMMUs
1699207e9c7c thunderbolt: Do not handle ICM events after domain is stopped
14ad1e0af45f perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events
9f1aaaae92ff perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX
8764955cc03e perf/ring_buffer: Prevent concurent ring buffer access
3617d16a5744 perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded physical package ID 0
d318ef466d5f perf/core: Fix perf_pmu_unregister() locking
2f56f220a61e KVM: nVMX: Fix emulation of VM_ENTRY_LOAD_BNDCFGS
3c81fff77cfd KVM: x86: Do not use kvm_x86_ops->mpx_supported() directly
82ba86c25383 KVM: nVMX: Do not expose MPX VMX controls when guest MPX disabled
2dbf48f8ffb3 cfg80211: fix use-after-free in reg_process_hint()
9069c847f3fe smsc95xx: Check for Wake-on-LAN modes
4f1268db2975 smsc75xx: Check for Wake-on-LAN modes
e3935fa141b8 r8152: Check for supported Wake-on-LAN Modes
e8f4ce7df75e sr9800: Check for supported Wake-on-LAN modes
35c636108bc4 lan78xx: Check for supported Wake-on-LAN modes
58d2f3f743a1 ax88179_178a: Check for supported Wake-on-LAN modes
afc7b1940200 asix: Check for supported Wake-on-LAN modes
723b7d86877d netfilter: avoid erronous array bounds warning
8d3156b3c109 netfilter: nft_set_rbtree: add missing rb_erase() in GC routine
18cb92701a5d rxrpc: Fix error distribution
4ca2cf672c5b rxrpc: Fix transport sockopts to get IPv4 errors on an IPv6 socket
1a75026c857a rxrpc: Fix RTT gathering
6a14d1c9336f rxrpc: Fix checks as to whether we should set up a new call
605c374d8d70 scsi: qedi: Initialize the stats mutex lock
aa1945964a7c nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
7a9bda693628 qed: Avoid implicit enum conversion in qed_iwarp_parse_rx_pkt
d627d3b8bed3 qed: Avoid constant logical operation warning in qed_vf_pf_acquire
02e2aef498f7 qed: Avoid implicit enum conversion in qed_roce_mode_to_flavor
b65e69499980 qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
a2b1a38ad02b qed: Avoid implicit enum conversion in qed_set_tunn_cls_info
b9e005da34ff pxa168fb: prepare the clock
6c2222c8f039 Bluetooth: SMP: fix crash in unpairing
68fd462426c4 mac80211_hwsim: do not omit multicast announce of first added radio
5b79f65376d3 mac80211_hwsim: fix race in radio destruction from netlink notifier
a245a12394fe mac80211_hwsim: fix locking when iterating radios during ns exit
de835e3911a3 nl80211: Fix possible Spectre-v1 for NL80211_TXRATE_HT
4417f9e05c28 soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
d87e83a55f4b soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
da5e35d2f776 net: macb: Clean 64b dma addresses if they are not detected
5499ce65ff9c ARM: dts: BCM63xx: Fix incorrect interrupt specifiers
a958dc5482c1 arm64: hugetlb: Fix handling of young ptes
eaab185b06cd netfilter: conntrack: get rid of double sizeof
044c43754741 netfilter: bridge: Don't sabotage nf_hook calls from an l3mdev
6b7174a50fb2 drm/i2c: tda9950: set MAX_RETRIES for errors only
4abac4cf573a drm/i2c: tda9950: fix timeout counter check
9981ca44ae4b xfrm: validate template mode
3dc70478360e ARM: 8799/1: mm: fix pci_ioremap_io() offset check
c473a489d409 xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.
53d617654c50 mac80211: fix TX status reporting for ieee80211s
fd6b693e1d94 mac80211: TDLS: fix skb queue/priority assignment
a9489521a39c cfg80211: Address some corner cases in scan result channel updating
2c4739102f0e mac80211: fix pending queue hang due to TX_DROP
2953d28476c3 cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
e20c2a6a7144 mac80211: Always report TX status
c3767729df27 xfrm: reset crypto_done when iterating over multiple input xfrms
fdb06c787b34 xfrm: reset transport header back to network header after all input transforms ahave been applied
401979de6e8b xfrm6: call kfree_skb when skb is toobig
36ad133bf987 xfrm: Validate address prefix lengths in the xfrm selector.
6b3252287aa2 Linux 4.18.16
645ad2d5cccc ARC: build: Don't set CROSS_COMPILE in arch's Makefile
dfed0698a22e ARC: build: Get rid of toolchain check
d80183541e60 mremap: properly flush TLB before releasing the page
94d2da5ba1dd Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"
7fde798123ef x86/boot: Fix kexec booting failure in the SEV bit detection code
44e564aa4525 iommu/amd: Return devid as alias for ACPI HID devices
0e963ecefb72 powerpc/numa: Use associativity if VPHN hcall is successful
4a079f0a5398 powerpc/tm: Avoid possible userspace r1 corruption on reclaim
8725b910e72d powerpc/tm: Fix userspace r13 corruption
b0b901600550 pinctrl/amd: poll InterruptEnable bits in amd_gpio_irq_set_type
0fe04d27b5e3 iommu/rockchip: Free irqs in shutdown handler
1e23af485f89 RISC-V: include linux/ftrace.h in asm-prototypes.h
086906d90bae RDMA/bnxt_re: Fix system crash during RDMA resource initialization
87e75317fe81 clocksource/drivers/fttmr010: Fix set_next_event handler
323ad7436184 net/mlx4: Use cpumask_available for eq->affinity_mask
bcb2acdf27b3 bpf: test_maps, only support ESTABLISHED socks
19e43942cbb7 bpf: sockmap, fix transition through disconnect without close
60c302b7aea5 bpf: sockmap only allow ESTABLISHED sock state
019a15f9bd44 scsi: sd: don't crash the host on invalid commands
6dba1e338b6e scsi: ipr: System hung while dlpar adding primary ipr adapter back
ce32caf41e53 drm: mali-dp: Call drm_crtc_vblank_reset on device init
fab5471586f4 scsi: lpfc: Synchronize access to remoteport via rport
7dc74b2622c2 RDMA/uverbs: Fix validity check for modify QP
2c93f6f118ad PCI: dwc: Fix scheduling while atomic issues
1093a05b5828 qed: Do not add VLAN 0 tag to untagged frames in multi-function mode.
c23f22169cac qed: Fix populating the invalid stag value in multi function mode.
9bdac39234d0 net/smc: fix sizeof to int comparison
4b238ea05476 net/smc: fix non-blocking connect problem
6b7d727a2d18 ravb: do not write 1 to reserved bits
14bbe1ab20ac net: emac: fix fixed-link setup for the RTL8363SB switch
66acb86c0905 selftests: pmtu: properly redirect stderr to /dev/null
6a08cbb10aac Input: atakbd - fix Atari CapsLock behaviour
ef17628c07da Input: atakbd - fix Atari keymap
462809659a39 intel_th: pci: Add Ice Lake PCH support
ee43eeb4d1b9 scsi: ibmvscsis: Ensure partition name is properly NUL terminated
10ad9dcade4b scsi: ibmvscsis: Fix a stringop-overflow warning
bb59249268cf clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs
385ce0611598 cxgb4: fix abort_req_rss6 struct
413baacefef9 batman-adv: fix hardif_neigh refcount on queue_work() failure
04125a63ea54 batman-adv: fix backbone_gw refcount on queue_work() failure
39b0e1c4c79f batman-adv: Prevent duplicated tvlv handler
c25ae7c479af batman-adv: Prevent duplicated global TT entry
71d6d75e5801 batman-adv: Prevent duplicated softif_vlan entry
2d1749b0fab0 batman-adv: Prevent duplicated nc_node entry
d8ed2b187456 batman-adv: Prevent duplicated gateway_node entry
eddab21dd463 batman-adv: Fix segfault when writing to sysfs elp_interval
54231bb59a9a batman-adv: Fix segfault when writing to throughput_override
52406f34bbb6 batman-adv: Avoid probe ELP information leak
26c0bac0c117 spi: gpio: Fix copy-and-paste error
affb1840c578 media: af9035: prevent buffer overflow on write
1228a75335e0 soundwire: Fix acquiring bus lock twice during master release
ad9107d7e1c7 soundwire: Fix incorrect exit after configuring stream
b1bafbe4ff2d soundwire: Fix duplicate stream state assignment
2724bf10255a Linux 4.18.15
4a15f8a1de59 KVM: PPC: Book3S HV: Avoid crash from THP collapse during radix page fault
726c11216e33 i2c: i2c-scmi: fix for i2c_smbus_write_block_data
a249cdf8fc74 mm: Preserve _PAGE_DEVMAP across mprotect() calls
7230bb7c98c1 filesystem-dax: Fix dax_layout_busy_page() livelock
3c3bb028a3b7 mm/thp: fix call to mmu_notifier in set_pmd_migration_entry() v2
ffa4d6624e1a mm/mmap.c: don't clobber partially overlapping VMA with MAP_FIXED_NOREPLACE
53abe5164894 arm64: perf: Reject stand-alone CHAIN events for PMUv3
59d9c7cba4ba pinctrl: mcp23s08: fix irq and irqchip setup order
3df1331f63cd mmc: block: avoid multiblock reads for the last sector in SPI mode
7088776eb06a drm/nouveau/drm/nouveau: Grab runtime PM ref in nv50_mstc_detect()
ca45da09bc32 Input: xpad - add support for Xbox1 PDP Camo series gamepad
d8408e8fc720 cgroup: Fix dom_cgrp propagation when enabling threaded mode
012e6bceab53 dm linear: fix linear_end_io conditional definition
996a427d8683 dm linear: eliminate linear_end_io call if CONFIG_DM_ZONED disabled
689ba84574c2 dm: fix report zone remapping to account for partition offset
e725141c0f4e dm cache: destroy migration_cache if cache target registration failed
d8e15b143e4d s390/cio: Fix how vfio-ccw checks pinned pages
b51943f088e5 perf script python: Fix export-to-sqlite.py sample columns
cfb08fb1815f perf script python: Fix export-to-postgresql.py occasional failure
37e64cb69f0f percpu: stop leaking bitmap metadata blocks
71cfcc667ffa vsprintf: Fix off-by-one bug in bstr_printf() processing dereferenced pointers
254754169d9d mach64: detect the dot clock divider correctly on sparc
e4882348eaa9 MIPS: VDSO: Always map near top of user memory
baa63c6a5b11 MIPS: Fix CONFIG_CMDLINE handling
84a397478153 afs: Fix clearance of reply
b28b1a5f8653 afs: Fix afs_server struct leak
04473bb7793b mm/vmstat.c: fix outdated vmstat_text
62aad93f09c1 mm: slowly shrink slabs with a relatively small number of objects
3792c002b9ff drm/amdkfd: Fix ATS capablity was not reported correctly on some APUs
c2fd5b21cbd9 drm/amdkfd: Change the control stack MTYPE from UC to NC on GFX9
2d3966dd95dc drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7
1c9f357d3ebb x86/kvm/lapic: always disable MMIO interface in x2APIC mode
5d85d4e0e105 pinctrl: cannonlake: Fix gpio base for GPP-E
9f8318a1c50c clk: x86: Stop marking clocks as CLK_IS_CRITICAL
81b8b9dffca8 clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail
b25a8dd9895b PCI: hv: support reporting serial number as slot information
aed5429279f8 ARM: dts: at91: add new compatibility string for macb on sama5d3
ee62a5d3ea8a net: macb: disable scatter-gather for macb on sama5d3
53035808c294 net: ethernet: ti: add missing GENERIC_ALLOCATOR dependency
8be050c4011b hwmon: (nct6775) Use different register to get fan RPM for fan7
1d753e689276 stmmac: fix valid numbers of unicast filter entries
d8eeee24ced8 hwmon: (nct6775) Fix RPM output for fan7 on NCT6796D
510dc356ff2c hwmon: (nct6775) Fix virtual temperature sources for NCT6796D
4dc76c13f297 bpf: use __GFP_COMP while allocating page
d2440a0b0672 bpf: btf: Fix end boundary calculation for type section
aeaca3563bea sound: don't call skl_init_chip() to reset intel skl soc
9761976f8e01 sound: enable interrupt after dma buffer initialization
a1d77f9cd10a scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()
9ac4572a7374 scsi: iscsi: target: Don't use stack buffer for scatterlist
970f5df113b1 KVM: PPC: Book3S HV: Don't use compound_order to determine host mapping size
ba73c6ed5010 mfd: omap-usb-host: Fix dts probe of children
e7c4c41389ff Bluetooth: hci_ldisc: Free rw_semaphore on close
0d95a3d1fcf6 Bluetooth: Use correct tfm to generate OOB data
3194c412f471 Bluetooth: SMP: Fix trying to use non-existent local OOB data
5421ce8b59bc drm/pl111: Make sure of_device_id tables are NULL terminated
d0200873bc9c ASoC: AMD: Ensure reset bit is cleared before configuring
5d1a5a5eed92 Fix cg_read_strcmp()
636dd4536009 hwmon: (nct6775) Fix access to fan pulse registers
59fcb2491ca0 ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER
ee3953f7b81c ASoC: rsnd: adg: care clock-frequency size
b7bad669da54 selftests: memory-hotplug: add required configs
9a90b9e380c5 selftests/efivarfs: add required kernel configs
40299ec565fa selftests: add headers_install to lib.mk
36a89768d19f ASoC: q6routing: initialize data correctly
64458ca97124 ASoC: sigmadsp: safeload should not have lower byte limit
4a7f15b6d5fa ASoC: wm8804: Add ACPI support
55261a2cddb5 ASoC: max98373: Added 10ms sleep after amp software reset
686da99baa28 selftests: kselftest: Remove outdated comment
6a4d1b70e323 selftests: android: move config up a level
334411face5a ASoC: rt5514: Fix the issue of the delay volume applied again
e4c577698c7c ASoC: max98373: Added speaker FS gain cotnrol register to volatile.
6e6b32ed0413 ASoC: dapm: Fix NULL pointer deference on CODEC to CODEC DAIs
ffac8fa2bee5 vxlan: fill ttl inherit info
241e5a13a5ad r8169: set RX_MULTI_EN bit in RxConfig for 8168F-family chips
87441df1e19e r8169: fix network stalls due to missing bit TXCFG_AUTO_FIFO
761ea5beff71 qed: Fix shmem structure inconsistency between driver and the mfw.
6133d8e499e6 net: mscc: fix the frame extraction into the skb
d29a558b56ee net/ipv6: stop leaking percpu memory in fib6 info
e3827b9bc3ba net/ipv6: Remove extra call to ip6_convert_metrics for multipath case
47049f54f89d bnxt_en: get the reduced max_irqs by the ones used by RDMA
dce53396b52d bnxt_en: Fix enables field in HWRM_QUEUE_COS2BW_CFG request
23631aa634ef net/mlx5: Check for SQ and not RQ state when modifying hairpin SQ
6691a126ed63 net: ipv4: don't let PMTU updates increase route MTU
530a9463cbe6 bnxt_en: Fix VNIC reservations on the PF.
5d4fe8e6344b rtnetlink: Fail dump if target netnsid is invalid
36298c66d8dc net: dsa: b53: Keep CPU port as tagged in all VLANs
efef3f2073d1 inet: make sure to grab rcu_read_lock before using ireq->ireq_opt
9fd4b0122ac3 tcp/dccp: fix lockdep issue when SYN is backlogged
54d72415f8b2 sfp: fix oops with ethtool -m
24205e4e62dd net: phy: phylink: fix SFP interface autodetection
37b309773a67 net-ethtool: ETHTOOL_GUFO did not and should not require CAP_NET_ADMIN
2402fbb7aa01 bnxt_en: don't try to offload VLAN 'modify' action
f219cd971281 nfp: avoid soft lockups under control message storm
2b4588d75b89 net: stmmac: Rework coalesce timer and fix multi-queue races
8f389cd37d10 bonding: fix warning message
5fb48fe95e41 bonding: pass link-local packets to bonding master also.
92a2a40c876f net/mlx5: E-Switch, Fix out of bound access when setting vport rate
02e16d375ee6 net: aquantia: memory corruption on jumbo frames
6db3fc2839be net/mlx5e: Set vlan masks for all offloaded TC rules
42296a164196 net: dsa: bcm_sf2: Fix unbind ordering
53afeb0b222b net/packet: fix packet drop as of virtio gso
75ebeb2e6a60 net: stmmac: Fixup the tail addr setting in xmit path
0c5eff9c2cf2 tun: napi flags belong to tfile
d013c6b952f0 tun: initialize napi_mutex unconditionally
7d96410f397b tun: remove unused parameters
095a5309c6c6 net: qualcomm: rmnet: Fix incorrect allocation flag in receive path
9db5df4c92dd net: qualcomm: rmnet: Fix incorrect allocation flag in transmit
3283c92e91f7 net: qualcomm: rmnet: Skip processing loopback packets
3ab83c6a1fb4 udp: Unbreak modules that rely on external __skb_recv_udp() availability
4f6017d6ef53 tipc: fix flow control accounting for implicit connect
0240ca1b11d3 team: Forbid enslaving team device to itself
375c63d4a70c sctp: update dst pmtu with the correct daddr
2ac4b03c0fcc rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096
5369306f960f rtnetlink: fix rtnl_fdb_dump() for ndmsg header
7f4a4fa5fa58 qmi_wwan: Added support for Gemalto's Cinterion ALASxx WWAN interface
cbf2e16dd724 qlcnic: fix Tx descriptor corruption on 82xx devices
0993dc028ed2 net/usb: cancel pending work when unbinding smsc75xx
a308452e12c0 net: systemport: Fix wake-up interrupt race during resume
6da1bd2d008f net: sched: cls_u32: fix hnode refcounting
57ad6586fd57 net: sched: Add policy validation for tc attributes
94d93e549eb1 net: mvpp2: fix a txq_done race condition
ac521a40054c net: mvpp2: Extract the correct ethtype from the skb for tx csum offload
dbbae2c07809 netlabel: check for IPV4MASK in addrinfo_get
e4a00db35924 net/ipv6: Display all addresses in output of /proc/net/if_inet6
ff34695ced21 net: ipv4: update fnhe_pmtu when first hop's MTU changes
87d57bb87dd8 net: hns: fix for unmapping problem when SMMU is on
1ae21378ab43 net: dsa: bcm_sf2: Call setup during switch resume
08e8e22b6d3a ipv6: take rcu lock in rawv6_send_hdrinc()
18ea575f665d ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
fa111ec2d2c5 ip_tunnel: be careful when accessing the inner header
84b262a5a008 ip6_tunnel: be careful when accessing the inner header
1b420a9999f0 bonding: avoid possible dead-lock
2fc26dfba49d bnxt_en: free hwrm resources, if driver probe fails.
f462adcb0638 bnxt_en: Fix TX timeout during netpoll.
(From OE-Core rev: 9c7770cf622571b7e8ba0f3447323bcf777b5486)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits:
2ba9a28434f8 netfilter: use kvmalloc_array to allocate memory for hashtable
6e1fae5d233a ipv4: net namespace does not inherit network configurations
As well as the following configuration changes:
ed1978c99214 features/module-signing: add new feature
a28fd4843381 edac: Drop CONFIG_EDAC_MM_EDAC and add dependency
8ae63963256e xfs: add xfs support
(From OE-Core rev: d88ce948ff2c910e796b78be388bec9578f6eb9c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuarm-tiny support was added to the 4.15 linux-yocto kernel, and
was incorrectly dropped from 4.18.
This restores the support for out of the box builds in 4.18+.
(From OE-Core rev: bd066bf4aa47b6ca37fbeb4ac4909d75a8a1e285)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default KBRANCH for building -tiny should not be machine specific.
In fact, the SRCREVs that have been in place for -tiny have been using
the hashes from tiny/base for some time, but since the machine specific
branches all contain that hash, the mismatch hasn't been spotted.
Setting the default branch to standard/tiny/base makes sure that the
default branch and SRCREVs always match.
(From OE-Core rev: dc11aab60e7561d764c56808277b47e7bb40c6c0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following -rt patches:
cab37ca8426b rt: update localversion to match latest content
186274b2b6dc tty: serial: pl011: explicitly initialize the flags variable
ac121b7124a0 mm/kasan: make quarantine_lock a raw_spinlock_t
6100773500e7 watchdog: prevent deferral of watchdogd wakeup on RT
ce594291c4eb kthread: convert worker lock to raw spinlock
And the following configuration tweaks:
e39413ec2bdd sound.cfg: enable SND_SOC_INTEL_SKYLAKE
(From OE-Core rev: a757e0638e8411fe6b4c58f3840ee27d49feb97e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lxc config fragments have some options that are no long valid. So we
can safely drop them.
721f3cfcb199 lxc: drop CONFIG_MM_OWNER
3b5f717d0311 vfio: drop CONFIG_KVM_DEVICE_ASSIGNMENT
(From OE-Core rev: b7ddaeab2c48b68e2be24c8f810ac9e84c6bb171)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had gcc 8.2 around for long enough that 7.3 can be removed now.
(From OE-Core rev: 20aea61385e1a53ac245353899277ba20104ed2f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While parsing opkg package status, last package status was not
properly handled, resulting in final image without postinst and
pkg depends
(From OE-Core rev: 0d3ca08347eb0c8b9615a0197c213a32f52033c8)
Signed-off-by: Raul Martins <raul.martins@alta-rt.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are four functions using TFmode type (128bit) that isn't
available when building with musl. Move each of them from common
ppc64-fp.c to individual files referenced from t-float128 that used
when ldbl 128 enabled at configure time.
For gcc-7.3 if -mfloat128 is given -mfloat128-type must be given too.
Exclude ibm-ldouble.c when ldbl 128 isn't enabled at config time.
Build and boot tested with musl (no float128) and glibc (float128
and ibm128 on PowerPC64).
(From OE-Core rev: dec8e566810525563b33c2877d10db0a70965d6d)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for powerpc64 using musl as C library we get preprocessor
macro redefinition errors since gcc-configure-common.inc adds #define
of STANDARD_STARTFILE_PREFIX_1 and STANDARD_STARTFILE_PREFIX_2 to
gcc/defaults.h after ones added by a patch that ensures target gcc
headers included.
Since gcc-configure-common.inc included in every gcc recipe either
directly or indirectly, do_configure task is not disabled/deleted for
any of them (except gcc-source.inc) and there is no precondition that
skips gcc/defaults.h patching in
gcc-configure-common.inc::do_configure_prepend() we can just remove
conflicting parts of mentioned above patch to have single place where
start files prefixes defined in do_configure() task.
(From OE-Core rev: 0622a4168aac627b44547f72fe93589cf1050e42)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for powerpc 32bit with musl following error triggered
from do_configure:
checking for the platform triplet based on compiler characteristics... powerpc-linux-gnu
configure: error: internal configure error for the platform triplet, please file a bug report
This is caused by PLATFORM_TRIPLET != MULTIARCH mismatch since MULTIARCH
in case of musl is powerpc-linux-musl. Since triplet is used as part
module name as described in PEP-3149 to make fix less intrusive alias
powerpc-linux-musl to powerpc-linux-gnu to avoid possible runtime
(e.g. tests) incompatibilities later.
Fix was inspired by commit cda0ef61d373 ("python3: fix do_configure
check platform triplet error").
(From OE-Core rev: b2ec91e12088afa0560aecede587d0970fc64110)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is written for elfv1 ABI in mind and linked as such: disable
all optimizations at the moment when building for powerpc64 with musl.
(From OE-Core rev: bee9e807430178426b2a5635b573ae285e889c39)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In absence of /etc/ld-musl-$(ARCH).path file musl uses hardcoded default
search path "/lib:/usr/local/lib:/usr/lib". This works for cases when
system libraries installed in one of these pathes.
However if lib64 or libx32 used as system library directories and no
usr merge functionality enabled for distro musl dynamic loader cannot
find libraries and finally execute binaries.
Found while working on support for musl on powerpc64 builds where
lib64 variant is used regardless of multilib being on or off.
Fix by creating default search path based on configuration time values
for syslibdir and libdir.
(From OE-Core rev: 2da79f021b5525ea5b56a86563905a67fc958fa5)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Historically first PowerPC ABI was big-endian only (elfv1 currently). It
is standard ABI for both 32-bit ppc and 64-bit ppc64 architectures.
With PowerPC little-endian support new ABI was introduced (elfv2) and it
is used primarily with ppc64le target only. While it has support for
big-endian it is not commonly used and elfv1 still preferred.
Musl does support only elfv2 ABI for both LE and BE and does not have
any plans to support elfv1.
Since then to build for powerpc64 with musl new ABI should be used. As
expected it is not compatible with elfv1 but that isn't problem as long
as there is no binary distributed software or assembly code written for
elfv1 ABI.
(From OE-Core rev: 68c9641855199f34aabe1050e863c21830116fe1)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running qemu for userspace code on unsupported target binaries might
be bad idea because qemu could say running in endless loop instead
of crashing due to illegal instruction or unsupported binary format.
While this is qemu bug we should avoid hitting it by explicitly exiting
from the wrapper when qemu backfill considered for machine.
Behaviour was observed in do_rootfs stage when building on IBM Power 8
host for PowerPC e7400 target.
(From OE-Core rev: a0ebc77ee0b461fc30e704f7dd9e9c2061ef4193)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The QEMU usermode fails with invalid instruction error when
used with those tunes.
(From OE-Core rev: c1c881ef7f4faf94f385ae742030382122ee5816)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is ppcpX, not ppcprX, where X is 6 or 7. While there select 32bit
tune for P5 machine to bring it inline with P6 and P7.
(From OE-Core rev: 220eee184a4f510cdf7c55e2aed00330abee1553)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the ELF definition for the powerpc64 architecture when building
with musl as libc.
(From OE-Core rev: 2c09ab40fd92a49d16352639331db9c7e5171515)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a variable called TEST_QEMUPARAMS in testimage.bbclass to make it
possible to pass parameters to qemu. This can be useful for e.g.
increasing the amount of RAM available during testimage runs.
(From OE-Core rev: 1a9163f5779d233c884c8fd50e0812eabab4fdf3)
Signed-off-by: Erik Botö <erik.boto@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Where possible pass lists instead of strings, don't use a subshell, and call
check*() instead of using Popen directly.
(From OE-Core rev: d2374623444752af1ad748ed36b68ea58f629bf6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated poky.ent to have variables for 2.7.
Updated mega-manual.sed file to use "2.7" string.
Updated all <manual>.xml Manual History Tables to use "TBD"
(From yocto-docs rev: d6f8bbd6e107913265ea1ac95ab8817e199ff60b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I cleaned up the terminology used for the CMake build system.
I provided some meaningful links to a good overview page for CMake.
I also built in some cross-referencing as needed.
(From yocto-docs rev: 7c38add39b97a7a8786a1be53f9ff549e4727fad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing hangs in oe-selftest where server startup and shutdown are
racing. The assumption was a connect would timeout however no timeout is
set which can leave processes hanging. Set a short timeout for
the connection to avoid this.
(Bitbake rev: f02114cb70e8f6f1d32e19c02b758fe0aadecd19)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump QEMU to the latest 3.1 and update the patches.
(From OE-Core rev: eeb918fc9b67a5d252b9d5ad5f3674cc1a45aa7f)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a test fails the log has useful information, so include that in the output.
(From OE-Core rev: f66f533eb9974cdefaacfee00d019c65e0d80b9e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go back to use rpm5.org, as it's the canonical host for popt. The host is back up now.
This reverts commit 347ee336dcc94e6fa4e4788117013615b90abd70.
(From OE-Core rev: 691e540e724c609cceeb9379e1252a05abebd5b1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A Public Suffix List is a collection of Top Level Domains (TLDs) suffixes. TLDs
include Global Top Level Domains (gTLDs) like .com and .net; Country Top Level
Domains (ccTLDs) like .de and .cn; and Brand Top Level Domains like .apple and
.google. Brand TLDs allows users to register their own top level domain that
exist at the same level as ICANN's gTLDs. Brand TLDs are sometimes referred to
as Vanity Domains.
(From OE-Core rev: 30f4c433e3b205648c70b154debdea9eb9e668d7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid uninative checksum warnings when building on aarch64 hardware.
(From OE-Core rev: 3ccc2de5f08fb2023abeeed39e23c68dbc75725b)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than use the obsolete do_checkpkg function, use the new recipeutils
function which uses tinfoil to get the data rather than needing csv file
manipulation.
(From OE-Core rev: 3f3f80b00cd999f1b2aef8f5c0ce0900aa4dcbcb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in distrodata.bbclass related to the do_checkpkg task is rather
dated, has holes in it (ignoring some recipes) and has horrible locking
and csv related issues.
We should use modern APIs such as tinfoil to make the calls we need directly
against bitbake, cutting out the middleman and clarifing the code.
This change imports the bits of distrodata.bbclass that are needed by the
automated upgrade helper (AUH) into a standalone function which uses the
tinfoil API. This can then be used by AUH and by the tests in
oeqa/selftest/distrodata as well as by any other standalone script that needs
this functionality. Its likely it can be further improved from here but this is a
good start and appears to function as before, with slightly wider recipe
coverage as some things skipped by distrodata are not skipped here (images,
pieces of gcc, nativesdk only recipes).
(From OE-Core rev: 92e33277b1b7892bae9cc0801ab379bd1c57c0f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With aarch64 hosts coming into use, set the syscall number to
avoid ioprio warnings on that platform.
(Bitbake rev: 5eaf9e7b26f09f5f106e1c3c6976d517b289450a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing problems due to the way x86-64 is handled (or not handled)
as an override. Relax the containts on overrides from being lowercase
to being lowercase or numeric. This fixes problem where MACHINE=qemux86
would work but MACHINE=qemux86-64 would fail the same tests.
(Bitbake rev: 3a3be518536acc868c7eeb3c1111ad1b321480b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix some further python3 warnings about unescaped regexs.
(Bitbake rev: 8667605d016e82add95638fcb15c2bbc1b489ecc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Images were previously missing but are added, this also corrects the names
used for gcc/go/bintuils/gdb recipes and adds a few other misc missing ones
to ensure we have complete coverage of the recipes in OE-Core.
(From OE-Core rev: 6408b4b90833706dd1307f845266dcf9fccdbcaf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The crosssdk dependencies are handled using the virtual/ namespace so
this name doesn't matter in the general sense. We want to be able to provide
recipe maintainer information through overrides though, so this standardises it
with the behaviour from gcc-crosssdk and ensures the maintainer overrides work.
(From OE-Core rev: da8c3728bf8bb4d4ae71e15626fc10976802185d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix systemd compile error for x32:
| ../git/src/timesync/timesyncd-manager.c:607:19: error: format '%lli'
| expects argument of type 'long long int', but argument 11 has type
| 'long int' [-Werror=format=]
[YOCTO #13074]
(From OE-Core rev: 7201df413616cab8d7f3257f86dd7a0a5c7719ee)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use tinfoil to enumerate recipes and get the value of RECIPE_MAINTAINER
to make it a bit more reliable in the face of do_checkpkg issues we are
currently seeing on the Yocto Project autobuilder. This also makes it a
little less painful to re-execute test_maintainers() since you don't
have to wait for bitbake -c checkpkg to complete every time.
Note that the new test has been written in such a way that it will still
function if RECIPE_MAINTAINER values are ever moved to the recipes.
Also, the test still currently fails as there are recipes that don't
have an assigned maintainer.
(From OE-Core rev: 47282a2f6f12acebf58961ea9410cfbc335d560b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ ln -s /usr/bin/ccache /folk/lyang1/bin/gcc
$ rm -fr tmp/hosttools/ && bitbake -p
[snip]
ERROR: Error running gcc --version:
It didn't print the error message, now it is:
ERROR: Error running gcc --version: ccache: error: Could not find compiler "gcc" in PATH
For the error itself, it is because ccache is not in my HOSTTOOLS, so this is
an expected error.
(From OE-Core rev: 91955caae584b4f75118e04411851b1a3d783fec)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bbclass currently adds INSANE_SKIP to the sstate hash dependencies
however the package specific skips such as INSANE_SKIP_${PN} are
not added automatically because of how the class references them.
This causes the problem that modifying INSANE_SKIP_${PN} does not
invalidate the sstate cache and can mask build breaking warnings.
Add an anonymous python snippet to explicitly include these additional
relevant skips to the sstate hash.
Singed-off-by: Michael Ho <Michael.Ho@bmw.de>
(From OE-Core rev: 8690332183f10a5e5689da7ec030567dfd1ac091)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This resolves issues with paths being marked as system includes that
differ from /usr/include but are considered implicit by the toolchain.
This enables developers to add directories to system includes
to supress compiler compiler warnings from them.
(From OE-Core rev: 9c2227d5d960f93e00791157354f0c920fbecf39)
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Cc: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't use the helper class as it gets in the way more than it helps, exercise
the out-of-tree paths, and verify the installed files match the expected
architecture.
(From OE-Core rev: 6d666b0413336de2e556b2722c5be97ae5cd40ad)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't use the helper class as it gets in the way more than it helps, exercise
the out-of-tree paths, and verify the installed files match the expected
architecture.
(From OE-Core rev: 920ae8c6537c2469f21ab9439587fd094ecc40f6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop redundant imports and variables, and use os.makedirs() instead of
bb.utils.mkdirhier().
(From OE-Core rev: 2de9b1e611e5047afb540f98756994925c22e446)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use oeqa.utils.subprocesstweak to monkey-patch the subprocess exception so that
any output is shown, and remove any explicit try/catch handling that would have
hidden this.
(From OE-Core rev: 55964b33b561397287779ee474170790dfd03e85)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For example, instead of saying "3 != 62", say "Binary was x86-64 but expected
i586".
(From OE-Core rev: 9ab94cea589fca4394ec1fd8dc06b23fd8e990b9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a workaround for the following possible build failure.
*** Compiler lacks asm-goto support.. Stop.
When building linux-libc-headers we need to use binutils on build machine.
binutils v2.31 introduces a bug that could cause scripts/gcc-goto.sh to fail
when running in an environment where /tmp is rarely used, e.g. in docker.
(From OE-Core rev: 2322dc4f414da0281fdaffa7bc2205fb82a63d12)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using clang, its increasingly using its own runtime which means
libgcc is not enough to find all primitives its using.
Fixes errors like
recipe-sysroot/usr/lib/libwebkit2gtk-4.0.so: undefined reference to
`__mulodi4'
(From OE-Core rev: 9584fc5ff7e07bb38c6ab115a216d9d28d1632d9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that bitness and endianness is ignored for BPF objects
Fixes QA issues like
Bit size did not match (32 to 64) kernel-selftest on
/work/qemumips-yoe-linux/kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/bpf/test_btf_nokv.o
(From OE-Core rev: 26722e59ca5df14bd90fc09306d97ff0fd078f32)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use cleandirs to ensure ${B} is always empty, and remove redundant assignment of
EXTRA_OEMAKE (presumably from when it had a non-empty default).
(From OE-Core rev: 326e183479f9cae12f2219a2bf9112b322832daa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a new python2 manifest, there is a corner case on which
the filepath for a certain dependency that was found, could contain
the path of an existing folder, e.g. ${libdir}/python2.7/xmlrpclib.py
module path contains ${libdir}/python2.7/xml, this causes an issue where
the dependency doesnt get eventually added on FILES for that module.
This patch checks if the dependency that was found is a directory, if it
is, it checks if it matches one of the existing directories on the
manifest, if it is not, then it checks if the dependency's path (without
the filename) matches one of the directories.
Also some misc indentation fixes.
(From OE-Core rev: a1c1253b44eb2000de55b7fa3836e5cdaa28a508)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several patches were being applied unnecessarily, the purpose they
served at one point has either been fixed differently, or accepted
upstream.
Add a new patch to make clang's diagnostics happy
(From OE-Core rev: 8bc0d2f2197430723f8b2d0785169e48c883eedb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a new python3 manifest, there is a corner case on which
the filepath for a certain dependency that was found, could contain
the path of an existing folder, e.g. ${libdir}/python3/xmlrpclib.py
module path contains ${libdir}/python3/xml, this causes an issue where
the dependency doesnt get eventually added on FILES for that module.
This patch checks if the dependency that was found is a directory, if it
is, it checks if it matches one of the existing directories on the
manifest, if it is not, then it checks if the dependency's path (without
the filename) matches one of the directories.
(From OE-Core rev: 59db12fdf294cfab5c1730337d092a75867658f7)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The p_error() is used for printing errors when parse shell code, but it can't
the EOF error correctly
- Add the following lines to quilt.inc
do_configure_prepend () {
find ${s} -name "*.in" -exec sed -i -e "1s,^#\!.*@perl@ -w$,#\! @perl@\nuse warnings;," {} \;
if [ hello ]; then
}
- Before the patch:
$ rm -fr cache/ tmp/cache/; bitbake -p
[snip]
WARNING: /path/to/quilt/quilt-native_0.65.bb: Error during finalise of /path/to/quilt/quilt-native_0.65.bb
[snip]
bb.pysh.sherrors.ShellSyntaxError: None
followed by:
We can see that this isn't easy to debug, let p_error() check wheter it is EOF
and print appropriate errors can improve the error message. And don't let
codeparser.py except pyshlex.NeedMore (in fact, it never worked since p_error()
only raise ShellSyntaxError), but make it print the last 5 lines which might be
useful for debuging.
- After the patch
$ rm -fr cache/ tmp/cache/; bitbake -p
[snip]
ERROR: /path/to/quilt/quilt_0.65.bb: Error during parse shell code, the last 5 lines are:
find /path/to/quilt/0.65-r0/quilt-0.65 -name "*.in" -exec sed -i -e "1s,^#\!.*@PERL@ -w$,#\! @PERL@\nuse warnings;," {} \;
if [ hello ]; then
autotools_do_configure
sed -e 's,^COMPAT_SYMLINKS.*:=.*,COMPAT_SYMLINKS :=,' -i /path/to/quilt/0.65-r0/quilt-0.65/Makefile
[snip]
File "/path/to/bb/pysh/pyshyacc.py", line 649, in p_error(p=None):
w('Unexpected EOF')
> raise sherrors.ShellSyntaxError(''.join(msg))
bb.pysh.sherrors.ShellSyntaxError: Unexpected EOF
(Bitbake rev: 44790597951638e32eb1672de2e40bd5a603326b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>> from Set import Set
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'Set'
So remove related code.
(Bitbake rev: 118e9d8894e64d102543562314b318676006e710)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only two that we need are ShellSyntaxError and ShellError, others are not
used, so remove them.
(Bitbake rev: abee2ff5ee71bf8c3221cd9d3cd4243ebb4ca273)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration of the sqlite database can timeout due to locking
under heavy load and should be subject to the same retry logic as the
other statements.
[YOCTO #13069]
(Bitbake rev: 5a2a95b0396e39662968690b3065d2f88167a71c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've already tweaked remove() for speed and not to error if it
races for deletion. Therefore use this for prunedir() which was
starting to show the same bug reports.
[YOCTO #13003]
(Bitbake rev: 47f359f9b017f8d99d0bb2161ac0dcefcbd915de)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
os.errno used to happen to work but is invalid. Correct to use errno.
[YOCTO #13068]
(Bitbake rev: 03aae96a8859409b1ce7e3d5c1197371fa96bd14)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This could clearly never have worked since the python3 migration
but as its in an error path, it doesn't get tested/used much.
(Bitbake rev: 704f27dc28d50a6dc02c8b64274ee4ecb3058c4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing slow startup in bitbake, add some timeing debug messages so
the logs are more useful for debugging when its slow.
(Bitbake rev: 8d1fc115b8a176009f1f3a8ce840b422e7e0b45e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On loaded production systems we've seen bitbake server take over
40s to start up. Increase the timeout to 90s which tries to avoid
failures in selftests.
The delays come from setting up the inotify watches (31s) so can't
really be avoided.
After 5s delay we now warn the user we're waiting for 90s so the
interactive exeperience shouldn't be much changed and its very
unlikely the user would see that anyway.
(Bitbake rev: 7a4e105093c3080c1087cd06abc2883852a23e28)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses 'mips64' for both big- and little-endian MIPS64 machines,
so map mips64el to mips64.
(From OE-Core rev: 8d1023f222f32ef64d37c3cb15b7dcf9c3e5990d)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When built without D-Bus, libavahi-client is not build:
Building libavahi-client: no (You need avahi-daemon and D-Bus!)
which causes avahi-dev RDEPENDS failing when creating an image
containing development-tools:
* - nothing provides libavahi-client = 0.7-r0 needed by avahi-dev-0.7-r0.cortexa8hf-neon
(From OE-Core rev: 319532792435be73e96c8319e90336e1298ac2a1)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "beaglebone-yocto"
KERNEL_CLASSES += "kernel-fitimage"
KERNEL_IMAGETYPE_beaglebone-yocto = "fitImage"
UBOOT_MACHINE_beaglebone-yocto = "am335x_boneblack_vboot_config"
UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000"
UBOOT_SIGN_KEYDIR = "${TOPDIR}/conf"
UBOOT_SIGN_KEYNAME = "dev"
UBOOT_SIGN_ENABLE = "1"
IMAGE_INSTALL_remove = "kernel-image-zimage"
$ cd conf
$ openssl genrsa -F4 -out dev.key 2048
$ openssl req -batch -new -x509 -key dev.key -out dev.crt
$ cd ../
$ bitbake u-boot linux-yocto
$ grep signature tmp/deploy/images/beaglebone-yocto/*.dtb
Binary file tmp/deploy/images/beaglebone-yocto/u-boot-beaglebone-yocto-2018.07-r0.dtb matches
Binary file tmp/deploy/images/beaglebone-yocto/u-boot-beaglebone-yocto.dtb matches
Binary file tmp/deploy/images/beaglebone-yocto/u-boot.dtb matches
And there would be no signature info when rebuild from sstate:
$ bitbake u-boot linux-yocto -cclean
$ bitbake u-boot linux-yocto
$ grep signature tmp/deploy/images/beaglebone-yocto/*.dtb
No result
This s because kernel directly edit ${DEPLOY_DIR_IMAGE}/u-boot.dtb, (Note, it
is global ${DEPLOY_DIR_IMAGE}, not recipe's DEPLOYDIR), so that the modified
info is not in sstate, and would be lost when rebuild from sstate.
There are other problems in previouse code:
- The u-boot.dtb is provided by u-boot, but edited by kernel during signing, so
it should be deployed by kernel rather than u-boot.
- The u-boot.do_concat_dtb directly install files to global ${DEPLOY_DIR_IMAGE},
this is incorrect, the ${DEPLOY_DIR_IMAGE} should be installed by do_deploy.
- It seems that it assumes do_deploy depends on do_install according the comments,
but they have no relationships:
# do_concat_dtb is scheduled _before_ do_install as it overwrite the
# u-boot.bin in both DEPLOYDIR and DEPLOY_IMAGE_DIR.
- The do_concat_dtb should be run after do_compile, but it doesn't have this
dependency.
Make u-boot install u-boot.dtb to ${datadir}, kernel copies u-boot.dtb from
${STAGING_DATADIR} to ${B} and deploy it can fix the problem.
[YOCTO #12112]
Reported-by: Christian Andersen <c.andersen@kostal.com>
(From OE-Core rev: 493f70cfb177f1d452a13329647a38642bf2b161)
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>
It uses sandbox_defconfig to produce u-boot tools. But EFI is only
supported by arm and x86, then it fails to run task do_compile on other
arches:
| include/config_distro_bootcmd.h:267:3: error: #error "sandbox EFI
| support is only supported on ARM and x86"
Only enable EFI support for u-boot-tools on x86 and arm to fix the issue.
(From OE-Core rev: f79039497a6bb8521d5dc076924b6eb2626607c5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multilib builds specify several loaders which will end up embedded in
some binaries or script files. To support reproducible builds, we must
ensure the loaders are always in deterministic order.
[YOCTO #2655]
[YOCTO #12478]
[YOCTO #12480]
(From OE-Core rev: 3f839c0cdfe253677ebee47838fe476a0939e0aa)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Improve the fix and rebase it to 2.28
Here is the log of lib32-glibc
[log.do_compile]
|Adjust ldd script
|ldd "/lib64/ld-linux-x86-64.so.2 /lib/ld-linux.so.2 /lib/ld-linux.so.2
/lib64/ld-linux-x86-64.so.2" -> "/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2"
[log.do_compile]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
ERROR: QA Issue: recipeutils-test: Recipe file fetches files and does
not have license file information (LIC_FILES_CHKSUM) [license-checksum]
(From OE-Core rev: ee65f7ab11302982124bcd1974a05c87342ab28e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that we have .a for libunwind on musl targets, this is used
for stack unwinding infra e.g. in rust
Help compiling rust compiler and standard library from meta-rust
(From OE-Core rev: 37ddab09f0ed9b532fb9ac57f622c8609121aa65)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The KBUILD_BUILD_USER and KBUILD_BUILD_HOST variables were
assigned at the kernel class level, which made it impossible
to override them in the local configuration.
By setting only the default values of those variables in the
kernel class, it is now possible to override them as expected.
(From OE-Core rev: a3e8cdf9c3ba966fa4b5a21235540eb0b00fb487)
Signed-off-by: Federico Sauter <federico.sauter@ableton.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expecting 1s accuracy on a 2s timeout on a heavily loaded system has proven to be
unreliable. Update this to a 5s timeout with a 3s delta which should be achievable.
(From OE-Core rev: 5feecb639d49d72d8a6abc589b937e07ee72f252)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removes the listvars argument to image_buildinfo_outputvars(). It
doesn't appear that this argument ever did anything.
(From OE-Core rev: 66ff9408291f3df98e8a6cb3e6e348d7ec8f401d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix:
WARNING: python should use 4 spaces indentation, but found tabs in kernel-fitimage.bbclass, line 24
(From OE-Core rev: 4ec42465e9df8cef20a97be11243726aa7dfb8c1)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure log directory exists to avoid the following error.
FileNotFoundError: [Errno 2] No such file or directory: '/.../build-selftest/tmp/log/oe-selftest-results-20181207043431.log'
(From OE-Core rev: 6c41de48db76087fee596d9440d8f05346ab1094)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is very dead, and nothing in oe-core or meta-oe depends on it anymore.
(From OE-Core rev: 508746e28d971952b1153a4c24ee3c5a020f9ee9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function was moved in bitbake a long time ago, use the
preferred version to avoid a Deprecation warning.
(From OE-Core rev: aeb189ac8bc6625ec936fd69f18974ebde758946)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are various escape characters in these stings which python warns
about so use the correct regex markup for them.
(From OE-Core rev: 252b69c9f2abe3258366c540f56b156ed63e5437)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
INFO - ======================================================================
INFO - ERROR: setUpClass (eSDK.oeSDKExtSelfTest)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
clss.setUpClassMethod()
File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/eSDK.py", line 76, in setUpClass
cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
File "/usr/lib/python3.5/tempfile.py", line 929, in __init__
self.name = mkdtemp(suffix, prefix, dir)
File "/usr/lib/python3.5/tempfile.py", line 507, in mkdtemp
_os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/oe-selftest-debian/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-q7ln84gc'
(From OE-Core rev: 48719bc4d108df7e357e7f22f9f356cd72b3ebbd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove a deprecated warning and stop using our own deprecated API!
(Bitbake rev: 83ece2c6f4b000e906fec9148f25bd1dff66cfb0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mechanism used to get the hash for a stamp file is split out so that
it can be overridden by derived classes
[YOCTO #13030]
(Bitbake rev: ce241534d19b2f1c51dbdb3b92419676d234e464)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass the task hash as a parameter to the 'runtask' message instead of
passing the entire dictionary of hashes when the worker is setup. This
is possible less efficient, but prevents the worker taskhashes from
being out of sync with the runqueue in the event that the taskhashes in
the runqueue change.
[YOCTO #13030]
(Bitbake rev: 1e86d8c1bec7ea5d016a5ad2097f999362e29033)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turns off the shared cache. It isn't a significant factor in performance
(now that WAL is enabled), and is a really bad idea to have enabled in
processes that fork() (as bitbake it prone to do).
[YOCTO #13030]
(Bitbake rev: 71b427bf01374973a971c10cb64024c8ef2a11eb)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling the write ahead log improves database reliability, speeds up
writes (since they mostly happen sequentially), and speeds up readers
(since they are no longer blocked by most write operations). The
persistent database is very read heavy, so the auto-checkpoint size is
reduced from the default (usually 1000) to 100 so that reads remain
fast.
[YOCTO #13030]
(Bitbake rev: 79100fa67539f9654af9bf6d3e6842eb5c12e989)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Constructs the "key" column in the persistent database as a non-NULL
primary key. This significantly speeds up lookup operations in large
databases.
[YOCTO #13030]
(Bitbake rev: f5ba7775cfcb90401522d977cc66fe0f5aeb7a66)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original implementation of persistent data executed all SQL
statements via sqlite3.Connection.execute(). Behind the scenes, this
function created a sqlite3 Cursor object, executed the statement, then
returned the cursor. However, the implementation did not account for
this and failed to close the cursor object when it was done. The cursor
would eventually be closed when the garbage collector got around to
destroying it. However, sqlite has a limit on the number of cursors that
can exist at any given time, and once this limit is reached it will
block a query to wait for a cursor to be destroyed. Under heavy database
queries, this can result in Python deadlocking with itself, since the
SQL query will block waiting for a free cursor, but Python can no longer
run garbage collection (as it is blocked) to free one.
This restructures the SQLTable class to use two decorators to aid in
performing actions correctly. The first decorator (@retry) wraps a
member function in the retry logic that automatically restarts the
function in the event that the database is locked.
The second decorator (@transaction) wraps the function so that it occurs
in a database transaction, which will automatically COMMIT the changes
on success and ROLLBACK on failure. This function additionally creates
an explicit cursor, passes it to the wrapped function, and cleans it up
when the function is finished.
Note that it is still possible to leak cursors when iterating. This is
much less frequent, but can still be mitigated by wrapping the iteration
in a `with` statement:
with db.iteritems() as it:
for (k, v) in it:
...
As a side effect, since most statements are wrapped in a transaction,
setting the isolation_level when the connection is created is no longer
necessary.
[YOCTO #13030]
(Bitbake rev: e8b9d3f534ef404780be23b601d5a4bb9cec928a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-06 23:19:24,564 - oe-selftest - INFO - Traceback (most recent call last):
File "/media/build1/poky-sumo/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
clss.setUpClassMethod()
File "/media/build1/poky-sumo/meta/lib/oeqa/selftest/cases/eSDK.py", line 78, in setUpClass
cls.tmpdir_eSDKQA = cls.tempdirobj.name
AttributeError: type object 'oeSDKExtSelfTest' has no attribute 'tempdirobj'
(From OE-Core rev: c6de27c2f6f598849dcb8036ee849f449ba7f327)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patches are rebased.
fix_parallel_build_error.patch
pam.conf.patch
(From OE-Core rev: 30fa97ec4c9d0553f1566bc26a6949e93cb6da90)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patch is rebased.
0001-don-t-try-to-run-generated-binaries.patch
(From OE-Core rev: ee57d79aec06e9b160cf2713636cda650ba68d5a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: include more files to check, but license remains the same.
(From OE-Core rev: ad0f26263eb51cda4cf96cd2fe7f6e7f950b9e8e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGE_NO_GCONV is set in libc-package.bbclass if not all of
'libc-charsets libc-locale-code libc-locales' included in
DISTRO_FEATURES. And then no packages glibc-gconv-* glibc-charmap-* and
glibc-localedata-* is created. Update recipes and conf file which depend
on these packages to check required distro features.
(From OE-Core rev: 58446992de0f16a345f1f55b66d0d34d31dc341b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It installs locale-base-* packages according to var IMAGE_LINGUAS.
Packages locale-base-* are split in libc-package.bbclass if variable
PACKAGE_NO_GCONV is not set. When none of ditro features libc-charsets
libc-locales and libc-locale-code is set, PACKAGE_NO_GCONV is set. Then
no locale-base-* is created and fails to create image.
Clear IMAGE_LINGUAS in such situation.
(From OE-Core rev: 85240094175a8ea726bfba19c00d4556a62862fc)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Variable PACKAGE_NO_GCONV is set in libc-package.bbclass when none of
libc-charsets, libc-locales and libc-locale-code set in DISTRO_FEATURES.
Then it causes installed-vs-shipped qa issue of glibc-locale:
| ERROR: glibc-locale-2.28-r0 do_package: QA Issue: glibc-locale:
| Files/directories were installed but not shipped in any package:
| /usr/share/i18n
| /usr/share/i18n/charmaps
| /usr/share/i18n/locales
| /usr/share/i18n/charmaps/CP737.gz
| ...
| /usr/share/i18n/locales/ru_RU
| ...
| /usr/lib64/gconv/gconv-modules
| Please set FILES such that these items are packaged. Alternatively if they
| are unneeded, avoid installing them or delete them within do_install.
| glibc-locale: 843 installed and not shipped files. [installed-vs-shipped]
So check PACKAGE_NO_GCONV during do_install and not copy those files if
PACKAGE_NO_GCONV has been set.
Simplify call of bb.utils.contains() in libc-package.bbclass as well.
(From OE-Core rev: 39840ed10af559bbcc306b378baa4723921668f5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoconf-doc package contains autoconf.info.
This file contains date when this file was created, i.e:
"This manual (31 January 2018) .."
Therefore, two builds done on two different days will show different dates for
otherwise identical files, hence breaking reproducibility.
The date is obtained from mtime of "autoconf.texi", unfortunately we patch this
file and change the mtime as a consequence.
We restore reproducibility by removing the patch modifying "autoconf.texi".
As a consequence certain supplemental information will be not added to the documentation.
In particular: more details on usage, and on workarounds for non-updated projects.
[YOCTO #12524]
(From OE-Core rev: 1eaa918ae3663e3f863c025744a9ced0300b6b78)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
With applying this fix:
"This manual (24 April 2012) .."
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Waf requires that the current working directory be ${S} (the location of
the wscript) when building. Most of the time, this was true only because
B defaults to S. However, anything that changed that behavior (notably,
using externalsrc) would break the recipe. Remedy this by explicitly
changing cwd to ${S} when running waf commands. As a happy side effect,
B can be set up for "out of tree" builds to keep the source directory
clean.
(From OE-Core rev: 62dffb71ce22222c635bd90eaa47dd01f70f9c0f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small tweak to ensure these items are printed into the log since there
is other logging code which looks for the header and this makes it clearer
the server did start but is slow somewhere in startup.
(Bitbake rev: 7c0b84cac892744225fa0462f918ea9a79b356cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible the read may return a smaller number of characters. Remove
the possibility by using a single character to signal the server is ready.
(Bitbake rev: 767c9596d129d21ddf5d2e00c55f0a0525c641dc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This simplifies the code and makes it easier to read but has the
same functionality.
(Bitbake rev: a0b9cfaf2d03fd047a79d32e668001718d02c4bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous check was in data.py which only can check code like "python
funcname()" in the dependency chain, but there are 3 kinds of python functions:
- python()
- def py_funcname()
- python funcname()
Add the checking to BBHandler to check and warn for all of them.
The warning looks like:
WARNING: /path/to/recipes-core/busybox/busybox_1.29.2.bb: python should use 4 spaces indentation, but found tabs in busybox.inc, line 75
(Bitbake rev: 0cdc5b81fc1f5e5281a525a657e420ebc3bb9e90)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen issues with rootfs size calculations and we've seen systems
like opensuse which have btrfs mounted on /tmp causing selftest failures.
(From OE-Core rev: 61be3cd748d1b7321a1fc4cfe84efa9b26a6aee0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we need to create a temporary directory in targetbuild or buildproject use
tempfile.TemporaryDirectory so that when the test case is finished, the
directory is deleted.
Also synchronise the logic and don't possibly store the temporary directory in
self.tmpdir as nothing uses that.
(From OE-Core rev: db0e658097130d146752785d0d45f46a3e0bad71)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reorder the shutdown/teardown to avoid:
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 224, in launch
op = self.getOutput(output)
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 90, in getOutput
fl = fcntl.fcntl(o, fcntl.F_GETFL)
ValueError: I/O operation on closed file
(From OE-Core rev: 8e7d756862d2a8d62f3c87497d6d65ddb3c1b962)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
assertTrue doesn't give good debug information when things fail. Update
several to use assertIn which gives information upon failure, for the
others print the log information upon failure.
(From OE-Core rev: c29cb75d5ce6b0873a934f4709b0c8824f7164d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen a cryptic:
"ERROR: Fatal errors occurred in subprocesses, tracebacks printed above"
message from oe-selftest with no other traceback information. Improve the
traceback logging to try and give a better indication of any errors that is
ocurring.
(From OE-Core rev: 521dd3d00979a27b6932e58d5497de68abac26e1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch altered the clean target's behaviour to skip the ipkg-install
directory. However this directory isn't created by opkg, opkg-utils, or the
package_ipk class; and we don't invoke the clean target as we perform
out-of-tree builds.
(From OE-Core rev: 9f8bd475701e5d797d3ffc1ba97647101ba0b9b0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We stop distutils for *native* Python from rewriting hashbangs when installing
(so installed scripts don't have a hashbang that refers to sysroot paths), but
this isn't needed nor desirable for the *target* Python.
(From OE-Core rev: 52e128619803907c804d42815ea979b1848529c4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rpm use nss as digest crypto library and which will cause an error as follows:
error: test-manual-1.2.3-20181012.noarch.rpm: Header SHA1 digest: BAD (Expected
f1deb7dc4a10742d88ccd1e967dbc62ae45095a5 !=4ad9d7dad6d70d6086eefec62612ad5d77f2fe81) => this value is wrong
error: test-manual-1.2.3-20181012.noarch.rpm: not an rpm package (or package manifest)
The error is caused by SHA_HTONL in nss, for there is no need to reverse the host value for arm 32be, so fix it.
(From OE-Core rev: 50a554a8ffff0bb34f844fb6cb9dd69362caafa5)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a special library for memcheck tool, where it needs to have the
symbols intact for the stack traces to work on target, current option is
to install valgrind-dbg ( 151 MB uncompressed ) is quite big for some
systems which may not have space to install it all. Leaving it
unstripped adds about 200KB to image which is much better, this alone
gets memcheck working, as an aside we might need same solution for other
tools e.g. helgrind etc. when needed, they also have leading libraries
installed
(From OE-Core rev: 23da8f50b1e0a74777035c9f7b65b81456908f9f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ccache disable flag was misspelled, preventing it from being
disabled.
(From OE-Core rev: 33fba601a7365aced9f4b206c1fadda997076d4c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For systems that don't otherwise depend on the full
util-linux package, blkdiscard is a mere 18k (on
cortexa7t2hf-neon).
(From OE-Core rev: 96bfdea8e0ec891b44fc4b0c69120669954426ad)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add various fixes and improvements including the ability to export
patch statsitics as json data.
(From OE-Core rev: aa4a4b3ca799948047337e006ee9bf482be7b409)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a fatal error if ELF objects don't have GNU_HASH segments but it
doesn't explain what the problem is. At least give a hint to users by
suggesting that LDFLAGS wasn't passed to the compiler.
(From OE-Core rev: 5d4da6713b40e10e853eb746f700096307ffe158)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the linux-firmware-wl12xx contains all wl12xx and
wl18xx firmwares, except for the wl18xx compatibility symlinks
for old kernels and the linux-firmware-wl18xx contains just
those compatibility symlinks and nothing else. This doesn't
make sense...
Be more specific about what to package into each package, in
particular because the existing wl12xx package is specific
about symlinks already.
At the same time, we split the common bits into a -wlcommon
package, so that the wl18xx package doesn't need to depend
on all the wl12xx firmwares, saving several MiB in the file
system.
(From OE-Core rev: e4423eef71c463efe7a1cdf1a426cc9619c78b8a)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of SDK generation, /usr/bin/ path are not correct
and must be replaced by ${bindir}.
(From OE-Core rev: 0fa7d99444763192914e798d8bc9dba1d9cdae42)
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe doesn't ship a *-config binary, so don't inherit binconfig.
(From OE-Core rev: acfcebec2d0849cc52abed31663da888e2a230f9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported and obsolete patches.
Respect systemd DISTRO_FEATURE when enabling/disabling journal support.
(From OE-Core rev: 33d2cee29758d2a827baa2dda98b10c993101be2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise .gir files installed in the sysroot will not be found when multilib is in use
(multilib configurations use libdir rather than datadir).
(From OE-Core rev: cfae171964ba85298d883e70635324a33b8539ac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should also fix Rygel builds in meta-oe
(From OE-Core rev: 8332fe551f018339b93841609625121145e97684)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setUp() is used to populate a directory of temporary files, and deleted in
__del__. However setUp() is called once *per test* so __del__ would only be
able to remove the last directory created.
Fix the code by using the natural counterpart to setUp, tearDown(), to clean up.
(From OE-Core rev: 68b4723e6fb11d171869185bccf28f32f6284c18)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The segfault on append was fixed upstream with a different patch, so apply that
instead.
(From OE-Core rev: 24000d1fdba2684202e15371f80bb385722c9d91)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a backported patch to fix big endian compilation.
(From OE-Core rev: 9f5f4b31df01a29fd07ce27efc7534b4ea29a778)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
enhance the musl-only patch to degrade certain Werros into Warnings
which helps in compiling on musl, since its checking for __GLIBC__
defines which are undefined on musl.
fix build on x32 ABI
(From OE-Core rev: 61290f91e6667e1e494f6d9cb8c19ebecda122b5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a Python 2 form to exercise that if present, and fix the setUp() so it
actually looks for a package that exists (nativesdk-python3 is a virtual
package, the interpretter is in nativesdk-python3-core).
(From OE-Core rev: d286c2ad3eec24978557e16a8fa599476791109f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Skips the update alternative steps for recipes that shouldn't have them
enabled.
Fixes errors like:
nativesdk-bzip2-1.0.6-r5 do_package: bzip2: alternative target
(/opt/poky/2.5+snapshot/sysroots/i686-pokysdk-mingw32/usr/bin/bunzip2
or
/opt/poky/2.5+snapshot/sysroots/i686-pokysdk-mingw32/usr/bin/bunzip2.bzip2)
does not exist, skipping...
When building mingw SDKs
[YOCTO #12962]
(From OE-Core rev: d11576f569ee618a8e638eee3b1f17bf8a9d4264)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using the new PTEST_BUILD_HOST_FILES mechanism.
Specifically remove reference to build host rpm version, if any.
(From OE-Core rev: 2664926ff154aacfb274e3055e81ba41190fa403)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adopt the PTEST_BUILD_HOST_FILES mechanism to strip build host paths from the
installed builddefs file. Also strip the record of the build host rpm version.
(From OE-Core rev: 800953bcd4ce9c4e4f768bc0de504b91d5be99cb)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file contains CC, CPP, CFLAGS, CXXFLAGS and the like.
(From OE-Core rev: c423cd1070045849c3a5b4e2b53043b28e5194f7)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several packages (eg. acl, attr, openssl) install Makefiles or other build host
configuration files for ptest so that they can run `make check`, for instance.
These build host files commonly include paths and versions of build host tools,
(eg. rpm or perl) whose presence and version depends on the build host distro.
Optionally strip lines from installed PTEST_BUILD_HOST_FILES using an
extended regex pattern defined in PTEST_BUILD_HOST_PATTERN. This has no
effect on the on-target ptest.
(From OE-Core rev: a3b657470eeea9f1954bc3a3e593a5c4907b6f17)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A common pattern for ptest is to install a Makefile that provides a make check
target. These generated Makefiles are normally full of build host paths, to
hosttools, and to files and scripts within the source or build tree. They also
commonly include the CFLAGS and CPPFLAGS. None of these build host paths
can possibly work on-target, so stripping them has no effect on the success of
the resulting ptests.
Stripping the HOSTTOOLS_DIR has this effect, for instance:
-MKDIR_P = /home/douglas/workspace/upstream/build/tmp/hosttools/mkdir -p
+MKDIR_P = mkdir -p
The curious WORKDIR/*= pattern avoids non-parseable -fdebug-prefix-map patterns
in the CFLAGS by adding an arbitrary ".", eg:
-fdebug-prefix-map=.=/usr/src/debug/rsyslog/8.37.0-r0
In all other cases, we simply remove the WORKDIR, eg:
CPP = arm-tait-linux-gnueabi-gcc -E --sysroot=recipe-sysroot ...
(From OE-Core rev: 137e38dbae42e9d4d413cd2f9460fb707ca77f9c)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some tests for functions in meta/lib/oe/recipeutils.py, in
particular for a few issues I've just fixed. I haven't added tests for
all of the functions - some of them are already being tested via devtool
in any case.
(From OE-Core rev: 72d0cb3f8f1e69aeef93ea0bc90db3e8b8d6f94c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These date from the time before Tinfoil's API covered this functionality
(back when you could actually access cooker from a tinfoil-based
script).
(From OE-Core rev: fc8098756e8d1d995e3c68e4addc1a5e3596d2ae)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code here wasn't correctly getting the variable history for
varflags, so for example if you did a devtool upgrade on a recipe where
the SRC_URI checksums were in the .inc file (typical for python recipes
in order to support both python 2 and 3) then after the upgrade the
new values would be set in the recipe and the old values were left in
the .inc, which is not right. Teach the code here how to get the history
for varflags so it works properly.
(From OE-Core rev: f077ab3ad67b2f3eb4aa8882fe2e7aef2d09a26c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we were setting a variable and part of the variable's value was being
set in a class or a .inc file, we were still just setting the value
outright on the assumption that it was too hard to do otherwise. With
some careful use of the variable history we can do better for certain
situations i.e. when the recipe does not currently set the value
outright.
Additionally, correctly remove _appends for variables we are changing if
we're trying to remove the value added in the _append.
Fixes [YOCTO #12623] and partially fixes [YOCTO #9360].
(From OE-Core rev: f798d963db77db66a2a5a4b8d4c157d46ede417f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value to SRC_URI_append_class-native was not prefixed with a space.
This was not noticed as the SRC_URI before applying the _append contains
trailing spaces. However, if one, e.g., has a .bbappend and adds to the
SRC_URI using SRC_URI += "file://foo.patch", then there no longer is any
trailing space and the _append concatenates the two URIs together,
leading to a build failue.
(From OE-Core rev: c07ee11e99dfe28405a7225903a541b33aeb1de6)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sanity test uses wflinfo, so depend on waffle-bin.
(From OE-Core rev: 0f5c8ce010a296904f767f38e262eef251417c4e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a file matches the glob that is an absolute symlink then sed will try to
alter files on the host, so restrict the search to just actual files.
(From OE-Core rev: 5556b5ca9efac132754bd82af52a0f68bc4ce85a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using vaapisink (which doesn't supports DRI3 [1] and uses DRI2) with
default poky configuration currently results in an unresponsive display
because DRI2 rendering doesn't work (as of xserver 1.20.3) in non-composited
environments [2].
Downgrade vaapisink to marginal for now so playbin (and in turn gst-play
and gtk-play examples) uses next best sink element and works out of box.
[1] https://github.com/intel/libva/issues/122
[2] https://gitlab.freedesktop.org/xorg/xserver/issues/13
(From OE-Core rev: 7911039a3a82a29166f3be2ff5bdd719430e5a80)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While there is a bit of documentation regarding building a new
manifest file for python, it seems that users usually only read
the manifest file.
The manifest file is in JSON format which doesn't allow comments,
hence why instructions were initially put elsewhere.
This patch hacks the call to open the JSON manifest file by using a
marker to trick it into reading only part of the file as the manifest
itself, and keep the other part as comments, which contain instructions
for the user to run the create_manifest task after an upgrade or
when adding a new package.
(From OE-Core rev: 5641a24a70b54544012c04c6a082514d9a5aa49a)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While there is a bit of documentation regarding building a new
manifest file for python, it seems that users usually only read
the manifest file.
The manifest file is in JSON format which doesn't allow comments,
hence why instructions were initially put elsewhere.
This patch hacks the call to open the JSON manifest file by using a
marker to trick it into reading only part of the file as the manifest
itself, and keep the other part as comments, which contain instructions
for the user to run the create_manifest task after an upgrade or when
adding a new package.
(From OE-Core rev: 3eab24c6dc095fd2305b9be8467aab1191141e35)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe doesn't ship a *-config binary, so don't inherit binconfig.
(From OE-Core rev: 8b7d74aa7bb73daf84593fafde3eef4595918b63)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per the previous commit, upstream cpio has a bug which means it crashes on
append. If the image being built has already had testimage ran then cpio-native
will be in the sysroot. It's also possible that some distributions are shipping
this broken CVE patch too.
Now that our cpio-native is fixed, until we can be sure that the host cpio isn't
broken depend on cpio-native if building a cpio image.
[ YOCTO #13042 ]
(From OE-Core rev: c3b9aedcbe538d7fa74bd814644b4899769dec46)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream fix for CVE-2016-2037 introduced a read from uninitialized memory
bug when appending to an existing archive, which is an operation we perform when
building an image.
(From OE-Core rev: 046e3e1fca925febf47b3fdd5d4e9ee2e1fad868)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing logfile is simply placed in the current directory. Since the test
changes cwd to BUILDDIR, the symlink to the log can be placed in an invalid
directory. We also see trackbacks if the symlink is invalid.
Improve things by:
* Placing logs in LOG_DIR (or BUILDDIR if unset).
* Using a full path to the log meaning the log and link are placed in the same directory.
* Using lexists instead of exists so invalid symlinks are handled correctly.
(From OE-Core rev: 750ece11bed0e62a11e0003d1d16a81f7c219761)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Heartbeat events default to once a second and we need to ensure we have
enough time in the task to see them.
Add a nostamp delay task 5s long so we can have a consistently timed
task which doesn't need cleanup or have unneeded dependencies. This
ensures we should deterministically see the disk moinitor events
regardless of the state of the build. This is done in a way which
doesn't corrupt build state or need cleanup and is efficient.
(From OE-Core rev: ecc49ee8986929e2429d948000a0ca588fe63959)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test occisionally fails as m4 doesn't recompile, meaning the logfile test
then doesn't find mention of ccache.
To ensure m4 does recompile, clean m4 before force compiling it.
(Reading the test is confusing due to the test cleanup also involving a clean)
(From OE-Core rev: 6e0b9214a0d57ed45a5df0ba5c9887a9045b89b1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On python versions with close_fds=True (python 3.2 onwards), the tap
device lockfile isn't passed to the child process.
Since this guards against use of an active interface, we really want this
here, so pass it in pass_fds. This means if the parent exits early, the child
still holds the lock, avoiding messages like:
runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: could not configure /dev/net/tun (tap0): Device or resource busy
(From OE-Core rev: 17a0a067d597c445c5892ff9914e91a2187f7e09)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various tweaks:
- Balance up the aquire/release functions
- Use debug messge for both acquiring and release message for consistency in logs
- Use None instead of an empty string
- Reset the value of the field if we don't have the lock any more
(From OE-Core rev: 58e48211f7cb44d959b571d449a94291c27535a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If runqemu fails it would leak an unclosed socket and file. Ensure we
close these in all cases to remove the resource warning.
(From OE-Core rev: ed80e46ccbc8fe8e9148d80723152066fa00ba28)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE=qemux86-64 oe-selftest -r runqemu.RunqemuTests.test_boot_machine_slirp_qcow2
fails yet
oe-selftest -r runqemu.RunqemuTests.test_boot_machine_slirp_qcow2
with MACHINE in local.conf would work.
It turns out that:
runqemu slirp wic.qcow2 qemux86-64
works but:
MACHINE=qemux86-64 runqemu slirp wic.qcow2 qemux86-64
does not.
The reason are the misplaced return statements in runqemu, its skipping a block
of logic when MACHINE is set in the environment when it shouldn't. Fix this.
(From OE-Core rev: 98d113ae52cbbc88773a81a17b0933412a8e463b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Each time a runqemu() fails, the log handler would be left behind meaning
messages from any subsequent run would be duplicated (or worse/more).
This ensures we remove the handler regardless and means we no longer
have the duplication.
(From OE-Core rev: 532984708436bdfa3a8cac2c684a425eb249bad0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than just referring the user to the logs containing the failure, print
them on the console. This aids debugging with oe-selftest with parallelisation
as the logs may otherwise be lost.
(From OE-Core rev: 36a018e245a232f520ff946f152cc875927a6fb4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ${DL_DIR}/svn directory is used by BitBake to keep checked-out SVN
repositories from which tarballs are generated. These repositories were
protected from concurrent update with a lock on the tarballs. However,
the tarballs are specific to the SRCREV and module checked out (many
tarballs can come from the same repository), meaning a repository could
be modified concurrently if two recipes checked out two different
SRCREVs or modules from it in parallel. This caused errors like the
following:
ERROR: Fetcher failure: Fetch command failed with exit code 1, output:
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Working copy '/home/foo/downloads/svn/repo/trunk' locked.
svn: E155004: '/home/foo/downloads/svn/repo/trunk' is already locked.
Fix it by adding a per-repository lock that's independent of the module
and SRCREV.
(Bitbake rev: 3f1f183a17bf3580da8a4ffd6dab30b62c2654a8)
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@bmw.de>
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if there are no setscene tasks, the disk monitor isn't started.
Move the startup code to somewhere to ensure it always is started. This
issue would partially explain occasional selftest failures.
(Bitbake rev: 5ba83ee25c1c9cba349edb68a22476b1d5fca6ce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 log lines may not capture any full traceback, increase the number of
lines to 60 which covers most tracebacks.
(Bitbake rev: b8538c2088c199157404712a60a6740c926ce312)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing issues where the server doesn't start with no logs as to why. Allow
the server to print the last 60 log lines just in case this shows us something useful
about what is failing.
(Bitbake rev: c8c80b404e38fe96f65d6314cd95f4069319f3d6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a fixup for: e1ba46109e
devtool deploy-target --strip foo root@192.168.7.2
ended up with:
Traceback (most recent call last):
File "/home/user/bar_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/
devtool", line 344, in <module>
ret = main()
File "/home/user/bar_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/
devtool", line 331, in main
ret = args.func(args, config, basepath, workspace)
File "/home/user/bar_sdk/layers/poky/scripts/lib/devtool/
deploy.py", line 187, in deploy
rd.getVar('base_libdir'))
TypeError: strip_exbar() missing 1 required positional argument: 'd'
(From OE-Core rev: bc349b2d99d74f6d7fb590fd97750e5ff8d6e6c4)
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multilib_script.bbclass it renames script file which listed in
MULTILIB_SCRIPTS. It may mix up packages split. Take package curl as
example, ${bindir}/curl-config is packaged to curl-dev originally. But
it is renamed to curl-config-${MULTILIB_SUFFIX} and packaged to curl
when multilib is enabled.
And expand 'pkg' to fix QA warning:
| WARNING: Variable key FILES_${PN}-dev (
| ${bindir}/curl-config-${MULTILIB_SUFFIX}) replaces original key
| FILES_curl-dev (${includedir} ${FILES_SOLIBSDEV} ... ${bindir}/*-config)
Insert a necessary space to the argument 'value' of d.appendVar() as well.
(From OE-Core rev: 841bcbe429dcab54de3b89a927394750f9ccae60)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Fix package splitting for services installed with
systemd-container. Some files have been installed with systemd
package instead of systemd-container package. (*.service,
*.socket, *.html...)
- Split journal-upload, journal-remote, journal-gatewayd into
separate packages. These services are not strictly related to
nspawn containers. Remote logging is now possible without
installing all the container stuff.
- systemd-container package rrecommends journal-upload, journal-
remote, journal-gatewayd packages.
(From OE-Core rev: d31ff84a5f4723700ed48fd14ace81d3c707065e)
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting them to empty before inheriting copyleft_filter
made them not getting their documented values there.
(From OE-Core rev: ee1f86ca7affc65265f219f0718f89406c9181a5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current failure mode doesn't show us what the logs actually looked like
and later cleans can lose them. Show the whole log in case of failure
to aid debugging intermittent problems on the autobuilder.
(From OE-Core rev: 7c3a0dc5978cea898b1ca51decf4d6e7cf9d519f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids problems where shutil.remove will error with:
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.extra'
when there are races over file deletion (gpg agent may be slow to exit).
We already worked around speed and race issues in bb.utils.
(From OE-Core rev: 00a8fd5b93a5c19ce0b7498e2bc653ce8ad58aaf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should speed the test up signficiantly without any loss of functionality
for the purposes of the test.
(From OE-Core rev: 3dde0b749643575878bfbca2f8d2d9ec30bad166)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We ideally don't want to use gpg from the host. This is straightforward for package
management but not for sstate.
For sstate, create a second build directory to run the test in using gnupg-native
from the original build directory.
(From OE-Core rev: 10afa94c3f0d7eb7524a26deda86949073d55fde)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Raising an assertionError in the class setup isn't a particuarly good way to
indicate gpg isn't installed. Instead skip the tests if the required binary
isn't present. For the signing tests we do require it to be present and can't
use a prebuilt one.
(From OE-Core rev: 2d486af97e51b9daa9c40482c31d637c9ab4ae79)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was introduced by commit c5fa6034:
[ image.bbclass: use prependVarFlag for postfuncs ]
it changed to use prependVarFlag instead of appendVarFlag, then the
blank also needs change to adapt it.
(From OE-Core rev: 6085023158ffbfbaf0f3d65ef18054c003d3f463)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* There are 120+ cases under ${libdir}/mdadm/ptest/tests,
but the test will break if one test fails as
below logic in run-ptest.
./test &>./test.log
That's to say, the tests after the failed test
have no chance to run with the current logic.
To guarantee all the tests can run even one
of the tests fails, the option --keep-going
should be added.
* Refactor the test report to make the report
more detailed and more common
(From OE-Core rev: 80d17497b719efb2ca9f36b8a730815547e93aa7)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades U-Boot to 2018.11 release and drop the backported
security fixes which are now included upstream.
(From OE-Core rev: 04469ab5b7f0446404b4cb55a15595678581ab26)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As discussed in https://github.com/mesonbuild/meson/issues/2567 there
needs to be a way to allow our rpath options passed to the linker to be
preserved, else we run into weird build failures.
(e.g. libmodulemd-native used by libdnf can't find libyaml)
Disable this for now until upstream come up with a better way of handling
this.
(From OE-Core rev: b4e36281631e0b59d1058f5cf391eb8b15e605cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to enable tk via PACKGECONFIG.
before the patch:
# python
Python 2.7.15 (default, Nov 8 2018, 04:53:50)
[GCC 8.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
>>>
After the patch, if enable tk in PACKGECONFIG, then
# python
Python 2.7.15 (default, Oct 25 2018, 08:12:45)
[GCC 8.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>>
(From OE-Core rev: 26b2702475697c123937d237e00c34eb2216b5ea)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to enable tk via PACKAGECONFIG.
before this patch:
# python3
Python 3.5.6 (default, Nov 8 2018, 04:53:45)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.5/tkinter/__init__.py", line 35, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'
>>>
After this patch, if enable tk in PACKAGECONFIG, then
# python3
Python 3.5.6 (default, Nov 8 2018, 03:15:52)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>>
(From OE-Core rev: 4b781d545e7e0b084201cd6a8fad953b0f231513)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox's unzip test case requires zip command. However, busybox
itself does not provide one. So add zip as a runtime dependency.
(From OE-Core rev: 223e5c3e1f7cb4001961347c85505d88a52d221f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ship a symlink farm for busybox, which correctly considers SUID
split. This ensures that all utilities used in busybox's test cases
will first use that ones that are provided by busybox.
Modify run-ptest to prepend the directory to PATH, and also change
variable name from current_dir to current_path, as the former is
a little misleading. `readlink -f $0' gets a path to the current
script instead of the current directory.
(From OE-Core rev: 7ef8f96941ed52b2a00cbe8f57511a8891b39698)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The '-t' option support for 'od' is enabled by CONFIG_DESKTOP.
So check it before using it in test cases.
(From OE-Core rev: c89fa1992987fa3c12616d2d379f524188310a2e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check uudecode before using it in test case to avoid unexpected failure.
(From OE-Core rev: 32ff819233024f23af1caa889691ccc3b0dadc50)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bzip2 could also be provided by busybox. So extend the alternatives
list to include bzip2.
(From OE-Core rev: 832ce25879d5e3df2d443bdf4362bf4af1377e87)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bunzip2 is enabled by default, but bzip2 is not. This is kind of
strange, and it also causes busybox's ptest failure regarding
bunzip2, as bunzip2's test case needs bzip2 command.
(From OE-Core rev: b54717b06e52970b3547cc5cb89424d824a4ef6a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can improve the performance a lot for "bitbake <recipe-native/cross/crosssdk>
-ccleansstate" when there are a lot of sstate files.
For example:
* Before
$ bitbake quilt-native -ccleansstate
- Check log.do_cleansstate:
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package_qa.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package_write_rpm.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_packagedata.tgz*
Removing /sstate-cache/*/sstate:quilt-native::0.65:r0::3:*_populate_lic.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*
There are no package tasks for quilt-native, so the first 4 lines doesn't
make any sense, but the glob pattern "sstate-cache/*/*" is very time
consuming when there are no disk caches. E.g., I have more than 600,000
sstate files:
- Without disk caches
# echo 3 >/proc/sys/vm/drop_caches
$ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*")'
real 4m32.583s
user 0m5.768s
sys 0m12.892s
- With disk caches (e.g., run it in the second time)
$ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*")'
real 0m5.128s
user 0m2.772s
sys 0m2.308s
So the 4 removing *package* commands cost more than 20s or 272s in theory.
* After
$ bitbake quilt-native -ccleansstate
- Check log.do_cleansstate:
Removing /sstate-cache/*/sstate:quilt-native::0.65:r0::3:*_populate_lic.tgz*
Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*
We can see that it saved 20s or 272s in theory.
(From OE-Core rev: bb2d6349ea87f090c58001f0d4348b24c2982cde)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is a still python2 bbclass, so it has been broken since bitbake changed to
python3 which was 2 years ago. No one reported/fixed it for python3 in recent 2
years. So we can assume that no one uses it anymore.
(From OE-Core rev: 7f6da5fb54cbcf8e358e988382f45839a8b80019)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop backport CVE patches
0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch
0001-size-Handle-recursive-ELF-ar-files.patch
0001-arlib-Check-that-sh_entsize-isn-t-zero.patch
- Drop patches that upstream has fixed
0005-fix-a-stack-usage-warning.patch [9a74c19 backends: ppc use define
instead of const for size of dwarf_regs array.]
- Update debian patches to 0.175
- Rebase local patch to 0.175
0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch
(From OE-Core rev: 8748de4df5a4ece303f07f8bbb248920a199478a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build host umask was leaking into the thing-ptest packages
at do_install_ptest() time.
(From OE-Core rev: 891343e8ba6490ca3e1876c892269b611ddc7877)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LTTng depends on liburcu which is not yet ported to ARC
so disable LTTng on ARC for now.
(From OE-Core rev: 701e63154c727522704aee6e890dd7d2b5615c6d)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages (eg. init-ifupdown) take their source files entirely from
openembedded-core, that is, they download no source tarball.
These recipes either don't use S at all (ie. it is empty at unpack time),
or they set S = WORKDIR (as in init-ifupdown).
Looking at the file timestamps in the WORKDIR causes a non-reproducible
SOURCE_DATE_EPOCH, as files taken from file:// URIs do not have
reproducible timestamps.
If S == WORKDIR, we are better to assume that there is no source tarball,
and to fall back to a fixed timestamp for the SOURCE_DATE_EPOCH.
This makes the init-ifupdown build reproducible.
(From OE-Core rev: d395bad0179037eb5d0fa4d921985c87ae13f3a4)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a .file directive explicitly for all *_elf_gas.S files to prevent the linker
adding a host build-system path as a FILE symbol to the object file.
This replaces the existing patch that added the .file directive to a small
subset of these files.
Upstream-Status: Submitted [https://github.com/boostorg/context/issues/91]
(From OE-Core rev: 5ff5f89f2db079a6baf0275ebf1333b4b9642504)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to both the README and source headers, the LICENSE value for
socat is explicitly GPLv2, not v2 or later, so adjust LICENSE
accordingly (leaving aside whether "GPL-2.0+-with-OpenSSL-exception"
should actually be considered a valid LICENSE string or not).
(From OE-Core rev: 466044a341a8b42159bd9388950c9079e0d7a2c3)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also, replace a sed hack with a proper patch.
(From OE-Core rev: bdde940c05490d3128721e4f5eb67d456e7cc323)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also, change default meson option to building introspection files
(previously they were not built by default).
(From OE-Core rev: 44e5bbbbed500553d1ddf451eba02e826a91e4cc)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whether the AFALG engine (use of hardware crypto via AF_ALG) is enable or
disable depends on whether the host kernel is 4.1 or above, which has no bearing
on whether the target system supports it.
Remove the complicated logic and simply enable/disable as requested.
(From OE-Core rev: 4b6c566c0540fe8e560d0feeb9c765c0eb6e5182)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To aid debugging configure, dump the configdata in do_configure.
(From OE-Core rev: a385e6c47663854a375d061033efc856361f3dba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TCBLIC can be set to 'newlib' now, document this.
[YOCTO #13032]
(From OE-Core rev: d06271500c485686536352f1202a74d21c51a406)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default GCC for ARC is configured with ARC700 CPU.
This means when we don't pass "-mcpu=xxx":
a) Code will be compiled for ARC700
b) Libs will used for ARC700
And if we happen to run on ARCv2 core like ARC HSxx we
won't be able to use target gcc w/o "-mcpu=xxx" which
is not very convenient as we want to build "target" toolchain
but not canadian-cross.
Note the trick here is we set TUNE_PKGARCH in just 2 values,
it is either "arc700" for all ARCompact cores (ARC750 & ARC770)
and "archs" for all ARCv2 cores (ARC HS38 & HS48), see [1].
This gives us usable defaults.
For cross-compilation we use TUNE_CCARGS for fine-tuning depending
on which HW features we have on the current target so that
we may have HW feature A & B or B & C or A & B & C, see [2].
[1] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L4
[2] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L34
(From OE-Core rev: 6d2e44db7ebada41ad1cfc1c98ce9012242ced11)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The glob.glob("/sstate/*/*/") is very time consuming, set
SSTATE_EXTRAPATHWILDCARD explicity to avoid that. This can save a lot of time
when there are many sstate files.
For example, I have more than 600,000 sstate files:
* Before
- Without disk caches
$ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
real 4m32.583s
user 0m5.768s
sys 0m12.892s
- With disk caches
$ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
real 0m4.111s
user 0m2.348s
sys 0m1.756s
* After
$ time python3 -c 'import glob; glob.glob("/sstate-cache.bak/universal/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
- Without disk caches:
real 0m7.928s
user 0m0.172s
sys 0m0.124s
- With disk caches:
real 0m0.131s
user 0m0.088s
sys 0m0.044s
We can see that it saves about 3.8s with disk caches, and saves about 264s
without disk caches.
(From OE-Core rev: 8b31c919814b8bdf25b3381053656523c001ae0d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When tmux is built from a non-release Git version, its version number is
"next-X" where X appears to be the expected version number for the next
release. For example, when built from the current state of master, running
"tmux -V" yields:
tmux next-2.9
Currently check_tmux_pane_size only checks for the version being less than
1.9, so it seems unfair to fail with an obscure Python error in this case.
Let's just use the version number after the "next-" prefix if it is
present.
(From OE-Core rev: 07b59afd52244410d8d833e6dfe262d952e5e344)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable qemu for slirp. Initialize Qemurunner with slirp. Setup ip
and port attribute to enable connection with qemu running with slirp.
[YOCTO#10713]
(From OE-Core rev: 815e05ac4abb42238d6fdeb15d7426759e059ce1)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable qemurunner for slirp. Retrieved the ip & port from host machine
to connect to qemu from host machine.
[YOCTO#10713]
(From OE-Core rev: 1db6a6fc9cde28d0a29bcf6d24a8bfbe51d120b1)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu do not use the ip input from external. It will
retrieve ip from QemuRunner instance and assign
ip value.
(From OE-Core rev: 14d99dc6c39c963ba3e0d9a30274846bd5369210)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates for the "thud" release.
(From yocto-docs rev: ccd2d2c7b062627a3fd1961ab23ee6fff714428a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Windows Subsystem for Linux is not supported. Added a note
in the section on setting up the build host.
(From yocto-docs rev: e6c3b0acd77569e0422cf86e7dc56433e76bdf20)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Windows Subsystem for Linux (WSL) is not supported with the
Yocto Project.
(From yocto-docs rev: 0898d7fb7166da91598854f385cd574004098ac3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Windows Subsystem for Linux (WSL) is not compatible with the
Yocto Project. Added information in the beginning to note this
fact to the user.
(From yocto-docs rev: d8fcc0e3dc609086ca82a3419a337350f4e5c529)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "image_types" class is now inherited mandatorily in
image.bbclass through the variable IMGCLASSES. Users do not
have to inherit it in their customized image type bbclass.
They also do not have to put it in IMAGE_CLASSES.
(From yocto-docs rev: bd391092b216e39dad317dc1aae5c715371766ef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a better, more up-to-date description of the way to defer
a post-installation script past the boot.
(From yocto-docs rev: 1bcec14eed720fd05e81fbe7ecaa2f95174c0fbf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two areas in the migration chapter discuss the post-installation
behavior when you defer the scripts to after boot. I added a
couple references to each of those migration note sections that
go into the dev-manual's section.
(From yocto-docs rev: eeb09b5fa208499f37be4e5aafcf55db82715fd1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed reference to "python-modules" to "python-modules /
python3-modules".
(From yocto-docs rev: 49d66f928366dda19b6afd1e9ac6431f0f66ab21)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the completed first draft.
(From yocto-docs rev: 45d39b7655ea5b515c8dda91249a84ee19387099)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The KERNEL_ARTIFACT_NAME variable is used throughout to set the names
of build artifacts. Rather than repeat informaiton about
KERNEL_ARTIFACT_NAME in the many variables that use it, I added
a new entry for the variable. This also impacted the descriptions
of the variables that were repeating information. I updated those
variable descriptions as well.
(From yocto-docs rev: 5750d30be21e17fe21d89254925dc0e773c08e66)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the wording "post 2.6" to state "2.6 and
forward". It was incorrect as the changes are inclusive
of YP release 2.6.
(From yocto-docs rev: fb3f3db17ea416cd829a291df3933cc3597392b8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The KERNEL_IMAGE_NAME variable is new and is effectively
a renamed KERNEL_IMAGE_BASE_NAME variable now. I provided a
new glossary description for the new variable. I updated the
existing KERNEL_IMAGE_BASE_NAME description to note it has
changed. We can't just delete the old variable as there are
migration notes for previous releases of YP.
(From yocto-docs rev: e5a38711342f88ded4368521a70e9d117b6d991c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made two minor corrections from reviewer feedback.
(From yocto-docs rev: 765e44127f52e1d9d4d1c365b0574ca73364add2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided more explanation and also a link into the BB manual
for a detailed example.
(From yocto-docs rev: ca1e113dc837f5104f765b655880a87d1fbd66ac)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided some new sections on the information for migrating from the
2.5 release to the 2.6 release.
(From yocto-docs rev: dd721a31594c753d7229c45ebad0ce11640a0704)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added notes indicating that the best practice for automated testing
is to inherit these classes by using the IMAGE_CLASSES variable instead
of the INHERIT variable.
(From yocto-docs rev: 8f4765db897c20f0011ea65f62d6b45495d313d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The TEST_IMAGE variable went away and was replaced with the
TESTIMAGE_AUTO variable. Fixed all related/affected areas.
(From yocto-docs rev: 660da40b4fcdc05666e1877037fa63eb1dfe7227)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new requirement of epiphany web browser.
(From OE-Core rev: 7bce6eb66749b7f773c24868cf85ebfcda8d636b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove upstreamed patches.
Add a tweak to 0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
for Javascriptcore gir file (previously it was pre-compiled in tarballs).
Rebase 0001-Fix-build-with-musl.patch
(From OE-Core rev: 7cd49245249f5c20579d1bb3992d60f3ed40708c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
expat dependency has been replaced by libxml
(From OE-Core rev: 6eeda04126009d5ab216d8178d8cbb0a22318bc5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also use assetIn instead of assertTrue which aids debugging failures.
(Bitbake rev: 19dee675bb9ad012d28e1e57a888931355a831cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code checks to see if shallow is either disabled or the tarball is
missing, but the else block tries to print the tarball filename, and
this attribute doesn't exist at all when shallow is disabled. Handle the
two cases separately to give sane errors for both cases without the
exception:
Exception: AttributeError: 'FetchData' object has no attribute 'fullshallow'
(Bitbake rev: bdbb558342ebb4e64384c9838d2485d9299d91a6)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When multiconfig is enabled the cooker adds providers
for all the targets to be built on all the multiconfig
variables that were set, regardless if there is a dependency
to it or not.
This causes an issue when a certain target is incompatible
with one or more of the multiconfigs, e.g. the target is not
in COMPATIBLE_MACHINE for one of the MACHINEs being built,
causing the cooker to error out since no providers can be
found for that certain target on that multiconfig.
This patch modifies the behavior to only look for PROVIDERS
for a target on the multiconfig that was selected to be built,
PROVIDERS are then looked for in other multiconfigs only when
there is a defined dependency to them.
[YOCTO #12985]
(Bitbake rev: f2106a3a767542359fdde238abcf5fe35ab3a144)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace SDK_ARCH with SDKMACHINE so that SDK targeting different
development machines but having the same architecture don't cause
similar errors as found in '3614dd4aee9 ("poky.conf: Add MACHINE to
SDK_NAME")'
This doesn't have any effect on the SDK machines provided in oe-core,
since SDK_ARCH is the same as SDKMACHINE for all of them.
(From meta-yocto rev: 951184fd62b3ab14266f300defd47d3c5c09ad9b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid errors from:
MACHINE=qemux86-64 bitbake core-image-sato:do_populate_sdk
then:
MACHINE=genericx86-64 bitbake core-image-sato:do_populate_sdk
which gives:
ERROR: core-image-sato-1.0-r0 do_populate_sdk: The recipe core-image-sato is trying
to install files into a shared area when those files already exist. Those files and
their manifest location are:
deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.host.manifest
(matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.testdata.json
(matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.target.manifest
(matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.sh
(matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
Please verify which recipe should provide the above files.
Adding MACHINE to the artefact name will avoid this. The issue was highlighted by
changes to the autobuilder configuration.
(From meta-yocto rev: 3614dd4aee9d19f1024edb6a36b2862c2d726c04)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shrinkwrap resolved relative URL can start with http. For example,
"resolved: http-proxy/-/http-proxy-${PV}.tgz" is still relative URL
to npm registry, but starts with http.
Current if statement compares the startswith 'resolved' to 'http',
which makes impossible to use npm download. Condtional comparison
now strictly checks for "http://" and "https://"
(Bitbake rev: f76075aa1a5159fd4d62949cb588346888b9fe60)
Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates the system blacklists to include packages that are known to have
problems compiling under icecream
(From OE-Core rev: fc5418e7bbdecfb27bafe595084e0fd0f991a388)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The system blacklists are moved to variables which are ignore when
hashing. This prevents changes to the blacklists from causing all
taskhashes to change (and thus rebuild).
(From OE-Core rev: f5be9f6e9180ace3362bba52c7ced3b039441d7d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This testcase fails on mips32. The process is killed by SIGBUS which
is not as expect.
This is because:
((void *)-1) is not a legal bad address which causes the process
killed by SIGBUG on mips.
'tst_get_bad_addr()' returns an address that should works on mips
and other arches.
(From OE-Core rev: e45948d4be14c14eff0a5c8c8597a7523f2edff1)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch in question was reworked, merged and released by
upstream version 20180926, as commit 822ad2043379.
(From OE-Core rev: 6ad99f3eabe359d5be98d63d4781063b63c83eea)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a hard requirement of the new libdnf versions.
(From OE-Core rev: 4b53d713523f56994beb4a7b5dbb3347c8713e42)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Splits the SDK test implementation into configurable Python classes. The
classes used for the normal and extensible SDKs are
${TESTSDK_CLASS_NAME} and ${TESTSDKEXT_CLASS_NAME} respectively.
This allows SDK machines to override the classes used to implement the
tests. For the traditional SDK, a common "run()" function is provided by
the class (oeqa.sdk.testsdk.TestSDK), with several hook member functions
that can be overridden in child classes, making it easier to have
consistent behavior. The extensible SDK class
(oeqa.sdkext.testsdk.TestSDKEXT) also has a common "run()" function, but
no hooks have yet been added as there is not currently a known use case
for create derived classes.
These changes should be purely organizational; no functional changes
have been made to either the standard SDK or extensible SDK tests.
[YOCTO #13020]
(From OE-Core rev: a06d53928b22d5f88276023c4d57b206db2f27f9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use PV and BPN in SRC_URI as a minor improvement.
(From OE-Core rev: 19c9842644b7b0a599437fd394111f161c8b1f1e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sqlite3 is built with FTS5 it uses log() from libm, it sqlite3 is built
with READLINE it uses tgetent from a curses lib and readline from libreadline,
if it is built using deflate from libz ... , but all that linkage is lost
if we manually statically link so explicitely extract extra static linking
options from pkg-config and force them into pseudo as well.
This commit obsoletes (so include the implicit revert)
e39fec613d pseudo: fix link with new sqlite3
(From OE-Core rev: 042af406583acc091ef82c3d1dcedd41315046de)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update SQLite3 from 3.25.2 to 3.25.3 to fix following issues:
* Disallow the use of window functions in the recursive part of a CTE.
* Fix the behavior of typeof() and length() on virtual tables.
* Strengthen defenses against deliberately corrupted database files.
* Fix a problem in the query planner that results when a row-value
expression is used with a PRIMARY KEY with redundant columns.
* Fix the query planner so that it works correctly for IS NOT NULL
operators in the ON clause of a LEFT JOIN with the
SQLITE_ENABLE_STAT4 compile-time option.
Also introduce PACKAGECONFIG tunables to enable/disable e.g. index
and search functions to allow shrinking the library for very small
targets.
(From OE-Core rev: d533ad9b93383a8d721b72b4030b112a3799d559)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Go binaries were installed to ${libdir}/go/bin, and create symlink
in ${bindir}, while enabling multilib, libdir was extended (such as
/usr/lib64), but BASELIB was not (still /lib), so use
baselib (such as /lib64)) to replace
(From OE-Core rev: 8b69af74c377bc9342f631d7e6b90fe05876216c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also add a missing libdl dependency to the native relocation patch,
which was not necessary with autotools.
(From OE-Core rev: ff3f8d4fde8a1d07f5b5381546e740efa14fd483)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson does it in a way that breaks oe builds (they export a bunch of PKG_CONFIG_ variables)
(From OE-Core rev: f071c5eb0a46b8ac5424c5baeb471a8080d4a078)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should help keep libx11 and libx11-diet in sync
by throwing an error when building
(From OE-Core rev: 5d5434e77c60faa78f15c99714e34221d154617b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A backported patch was removed.
The kmod option changed format in the new version so was adjusted accordingly.
The ptest package was improved to resolve failures in the tests/unit/
directory but disabling attempts to rebuild the binaries on target.
Various ptest libtool script wrappers are now replaced with real binaries
and since the test suite knows about these paths for dymanic libraries,
we put links in place for those.
A data file needed by one of the tests is also copied in.
(From OE-Core rev: fbafcd9a0101a637181d0aa9ec14579309a9bddf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some fatal make errors that occur from the current ptest
for lttng-tools however since other tests are successful, those make
build failures were being ignored.
When upgrading, the order of test execution changed and the ptest failed
fatally straight away with the same errors.
Passing -k to make means it will try and run all the tests making the
test suite run more consistently over all lttng-tools versions.
(From OE-Core rev: 3113fb0812aba96df59fca58fe68b751d1d886e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_install now matches that from autotools.bbclass.
Document that brokensep is still needed.
Use a better form of handling of aclocal.m4
(From OE-Core rev: ef25d9bb18b3a26eefe7fc0c2d7003578c55f416)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patches are all backports or have equivalent changes in the new
release so can be dropped.
Upstream reworked the install handling to use DESTDIR instead of INSTALLROOT
and we no longer need to create directories.
(From OE-Core rev: ac9b892f06237a384a60d0404e6ed0afd63c1005)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Add a comment in base.bbclass:
def oe_import(d):
import sys
# Comment
bbpath = d.getVar("BBPATH").split(":")
[snip]
Note, '# Comment' is started with '#', it is legal in python's syntax
(though maybe not a good style), but bitbake reported errors:
$ bitbake -p
ERROR: ParseError at /path/to/base.bbclass:20: unparsed line: ' bbpath = d.getVar("BBPATH").split(":")'
This error report would mislead people, the real problem is that '# Comment'
is not supported, but it reports the next line, this may make it hard to debug
the code are complicated.
We can make __python_func_regexp__ handle '^#' to fix the problem, since it
already can handle blank line "^$" in a python function, so it would be pretty
safe to handle "^#" as well.
(Bitbake rev: 79e62eef1c93f742bf71e9f25db57fdd2ffedd02)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #12898]
There might be no bitbake-cookerdaemon.log, print a message for debugging.
(Bitbake rev: 4adc582d2df7fdb9e51c4ebb5e66bbd21165b4dc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
Add the following two lines to conf/local.conf:
FOO = "${@foo = 5}"
HOSTTOOLS += "${FOO}"
* Before the patch
$ bitbake -p
Check the first lines of bitbake bitbake-cookerdaemon.log
[snip]
File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 125, in python_sub
codeobj = compile(code.strip(), self.varname or "<expansion>", "eval")
File "FOO", line 1
[snip]
There isn't a file named 'FOO', but a variable name.
* After the patch
$ bitbake -p
[snip]
File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 129, in python_sub
codeobj = compile(code.strip(), varname, "eval")
File "Var <FOO>", line 1
foo = 5
(Bitbake rev: 540b546be55e0f5f5d91695956da3a7732b2f90a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can make it print clearer errors, for exmaple:
Add Runtime_error to 'def oe_import(d)"
16 def oe_import(d):
17 import sys
18 Runtime_error
[snip]
* Before the patch:
$ bitbake -p
ERROR: Unable to parse /buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py
Traceback (most recent call last):
File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 430, in DataSmart.expandWithRefs(s='${@oe_import(d)}', varname='OE_IMPORTED[:=]'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc
bb.data_smart.ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception NameError: name 'Runtime_error' is not defined
This error message has two problems:
- "Unable to parse data_smart.py": This isn't the real cause.
- It pionts to "raise ExpansionError(varname, s, exc) from exc" which isn't clear enough.
* After the patch:
$ bitbake -p
ERROR: Unable to parse OE_IMPORTED[:=]
Traceback (most recent call last):
File "OE_IMPORTED[:=]", line 1, in <module>
File "/buildarea1/lyang1/poky/meta/classes/base.bbclass", line 18, in oe_import(d=<bb.data_smart.DataSmart object at 0x7f9257e7a0b8>):
import sys
> Runtime_error
bb.data_smart.ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception NameError: name 'Runtime_error' is not defined
This one is more clearer than before.
(Bitbake rev: c0fe524c1aeccb24ddd2e1f7bf235c00fdbf79a7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Define an error anonymous function in base.bbclass:
15
16 python() {
17 Compile error
18 }
$ bitbake -p
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 18:
The code lines resulting in this error were:
0001:def __anon_18__buildarea1_lyang1_poky_meta_classes_base_bbclass(d):
*** 0002: Compile error
0003:
SyntaxError: invalid syntax (base.bbclass, line 18)
The lineno should be 17, but it reported 18, this would mislead people a lot
when there more lines.
- Now fix it to:
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 17:
The code lines resulting in this error were:
0001:def __anon_18__buildarea1_lyang1_poky_meta_classes_base_bbclass(d):
*** 0002: Compile error
0003:
SyntaxError: invalid syntax (base.bbclass, line 17)
This is because the anonymous function is constructed by:
text = "def %s(d):\n" % (funcname) + text
The len(self.body) doesn't include the "def " line, the length of the function
should be "len(self.body) + 1", so we need pass "self.lineno - (len(self.body) + 1)"
which is the same as 'self.lineno - len(self.body) - 1' to
bb.methodpool.insert_method() as we already had done to named function. Otherwise, the
lineno is wrong, and would cause other problems such as report which line is
wrong, but the line is not what we want since it reports incorrect line.
(Bitbake rev: 7466c8765fcc792e5ea3daefda3c5895e782d6c4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Add an error line in base.bbclass, e.g.:
15
16 def oe_import(d):
17 import sys
18 Compile error
19 bbpath = d.getVar("BBPATH").split(":")
[snip]
Note the "Compile error" line, I added it for reporting errors.
$ bitbake -p
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 15:
The code lines resulting in this error were:
0014: import oe.data
0015: for toimport in oe.data.typed_value("OE_IMPORTS", d):
0016: imported = __import__(toimport)
0017: inject(toimport.split(".", 1)[0], imported)
*** 0018:
0019: return ""
0020:
SyntaxError: invalid syntax (base.bbclass, line 18)
There are 2 problems:
- The "line 15" is incorrect, it is a blank line, not the error line.
- The "*** 0018" points to incorrect position.
These two problems would mislead people a lot sometimes.
- Now fix it to:
$ bitbake -p
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 18:
The code lines resulting in this error were:
0001:def oe_import(d):
0002: import sys
*** 0003: Compile error
0004: bbpath = d.getVar("BBPATH").split(":")
[snip]
SyntaxError: invalid syntax (base.bbclass, line 18)
Please see comments in the code for more details on how it is fixed.
(Bitbake rev: bbb3d87d171da38fd8e9bce011d109fba28a75c0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The colors specified for use with bitbake-diffsigs were adapted for a
dark theme, e.g., by setting the background color to black, which made
it look very bad when used with a light theme.
To make it look good both with a dark or a light theme, it is better
to drop the background color. It is also better to leave out the color
altogether for the title and just use bold. Finally, dropping bold for
the red and green texts indicating removed/added values better matches
other colorized diff implementations as, e.g., git diff.
(Bitbake rev: f1a2c23520832ee91e85338c1ad8af1fec0d0b19)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From release notes:
Bump VA-API version to 1.3.0 and libva to 2.3.0
Add max frame size parameters for multiple pass case in legacy mode
Add new BRC mode AVBR
Add new interface for High Dynamic Range tone mapping
Add missing enum to string conversions
Add hevc subsets parameters structure
Add Customized Noise Reduction (HVS) interfaces
Add new BRC mode definition QVBR
Add more complete colour properties for use in VPP
(From OE-Core rev: 8825a6e7c5c0d1e1d17e2bb8ed23dc8b3c9ce8ab)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Users are starting to expect OE to work under WSL which it doesn't. Add a warning to
tell them about this up front and manage expectations.
(From OE-Core rev: 62fe04c2451f612b9ee5eba469c7724b63484499)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the hangs in httpservice are fixed we can let these tests
auto skip as appropriate.
(From OE-Core rev: 42a0d70291d551578e21f590fcb85ca72a78ccb5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testimage.bbclass installs a SIGTERM handler which conflicts with the
use of multiprocessing here. This is paritcularly problematic if the http
service is terminated before its started and hence before its had a chance
to reset the default signal handler (as the code was written).
Instead, temporarily remove testimage's handler whilst forking the http process
which means the correct handler is installed and won't deadlock.
Also take the opportunity to add in some log messages about the server start
and shutdown so that future debugging is easier and its clearer what the code
is doing.
(From OE-Core rev: 0762b6021b87ceb1f37952f3a6d64a36e99ae6a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use our own lsb function instead as used elsewhere by the codebase.
(From OE-Core rev: acac45a6fd604d28ef7c23d67482af3d7e8bcfe3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid an unclosed file per thread warning when running selftests concurrently
by closing the result stream.
(From OE-Core rev: 33a4a076e8aa72a872807332501e7f5ae1cee0e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp module is deprecated, port the code over to use importlib
as recently done for bb.utils as well.
(From OE-Core rev: 24809582d4850190d87cd8eb8180d0dce215dbdf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set SKIP_KNOWN_BUGS in run-ptest script to skip ptest cases which
are known to relate to some known bugs.
(From OE-Core rev: b7ab8de1e5767593d1933cf1a86b91ec2fb9d607)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two recent patches are now marked as reported in the
valgrind bugzilla.
(From OE-Core rev: 0f8608dbdf150470f1b4e882515fe9f78f82b43a)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes the users might want to change the title showing on UEFI
booting screen, so far it's hard-coded to 'boot'.
There is not a easy way to customize it in current design, I tried
firstly with '--configfile', but that does not work with --use-uuid,
since the later option will generate a UUID and write it to boot
config, only when the former option is not enabled.
So a new source parameter 'titile' is added in this patch, it defaults
to 'boot' to be consistent with the original title.
(From OE-Core rev: 37e16188ef3b1b328eb18b3e459c051c9c9f0332)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When calling d.appendVarFlag, a blank is needed or else it could mess
up the later appended variables.
Reported-by: Stefan Agner <stefan.agner@toradex.com>
(From OE-Core rev: 8b2df6e5874b932b356847c5bde10d5b31d67213)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
list_pkgs() for rpm calls RpmPM() which would try and create a copy of the
package feed. This can be called for example from buildhistory whilst some
other task may be working on an SDK or image construction, causing the package
feed to disappear part way through an operation.
Avoid the need to copy the package index just to list the installed
packages, avoiding the race.
(From OE-Core rev: d05fa49e06034913e22c223803c98cb265e2ae58)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid the warning:
meta/lib/oeqa/selftest/context.py:8: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
In this case importlib is a direct replacement.
(From OE-Core rev: db7a60c36a2d3eefc61ae6e1ede01680dc932035)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below problem:
pydevshell raises exception when maximize the python shell window.
when click maximize, rlist of select return ready object, but the
pty.read is None, so throw exception of 'NoneType' object has no
attribute 'decode', change to only decode when readdata is valid.
[YOCTO #11875]
(From OE-Core rev: d598f8d48e9b094af99effa7471d613b16ffa817)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This same variable was added to the make line in kernel.bbclass in
0decf1cc1c. With the addition of the
usrmerge feature, out-of-tree modules could use this same variable.
(From OE-Core rev: 1d24d1ac5b9c772d84104396438e5d1308332785)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When usrmerge is enabled, scripts that were explicitly using #!/bin/ash
will cause a QA Error like the following:
QA Issue: bar.sh contained in package foo requires /bin/ash,
but no providers found in RDEPENDS_foo? [file-rdeps].
It seems perfectly acceptable for scripts to use /bin/ash so provide
it along with /bin/sh.
(From OE-Core rev: cc8d54521aa79c1ca88c801e89c3ade6c17ae7a2)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
yocto-check-layer will find locked-sigs.inc under builddir,
but locked-sigs.inc is generated under current bitbake working
dir. if run yocto-check-layer outside builddir, we will met error
like "No such file or directory: *locked-sigs.inc". change to
run bitbake -S under builddir to fix this problem.
[YOCTO #12973]
(From OE-Core rev: 2ec0bc0b038bc6413978c8f34ef5c0d22b4bc3e7)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix CVE-2018-18751 for gettext. Because po-gram-gen.y
has been modified by fix-CVE-2018-18751.patch, it requires yacc which
provided by bison-native to re-create po-gram-gen.c. Please remove
bison-native from DEPENDS* when next upgrade.
Ref:
https://security-tracker.debian.org/tracker/CVE-2018-18751
(From OE-Core rev: 4b3a085d6c63fd8459bb084aaa277dd2e8949594)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
it is possible to use the beagleboneblack with the 8250 serial
driver or with the deprecated omap serial driver.
Unfortunately serial console get different names (ttyS0 with
8250 driver and ttyO0 with omap driver)
So set SERIAL_CONSOLES to
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"
(intentionally with "?=" so it is overwriteable)
and activate
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
with that on the first boot the correct value is picked up
automatically.
(From meta-yocto rev: ffd224382af6fe1f5eeae32d7b28cc975acdde05)
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp module is deprecated, port the code over to use importlib.
bitbake/lib/bb/utils.py:30: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
(Bitbake rev: 3c2cb35588e91fbd7b136e5e2c78eeb77e126c84)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/bitbake/lib/bb/main.py", line 464, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
if command_chan_recv:
UnboundLocalError: local variable 'command_chan_recv' referenced before assignment
(Bitbake rev: ad79fadd855f5c10242ed17e9e0f3eb0274f26d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous commit as below only fixes the
textrel issue with musl on x86, update it also to
fix the issue such as with glibc on x86.
74ea4f280c x264: Disable asm on musl/x86
[YOCTO #11770]
(From OE-Core rev: 521af79d1d7635b4bd0ee2cc45b96729285bf469)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduced at or before 5.50.
(From OE-Core rev: aec2020cec8a21ac85797cb049961d9cfcf8b4f1)
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean up the warning:
meta/lib/oeqa/core/loader.py:27: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
_failed_test_args = inspect.getargspec(unittest.loader._make_failed_test).args
(From OE-Core rev: d2deb66830be2d44532fea3d5db763b57778252a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to see failures/errors listed last since this is the most easily
visible part of the log on consoles or autobuilder output and makes
human processing easier rather than having to scroll up and scan for
a single failure.
(From OE-Core rev: 7954b19020c28a4120bc1671aa81b9e1e2b05fa2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful to have the counts of success/failure/error/skipped at the end of the
results to allow for easier human reading of what happened.
(From OE-Core rev: 080d8900d470a8e7f929b0c5c2765ad461744fbb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to set ownership of the license files after copying into the rootfs.
We also need to ensure we don't overwrite the rootfs files outside rootfs
generation, hence only write there when the new rootfs function parameter
is True.
[YOCTO #12961]
(From OE-Core rev: 6aa0eeaa4d31a440700f7695174de2a1dcc54866)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this it's possible to build locale data for ARC
and not do it instead on the first boot.
(From OE-Core rev: f13c303491dc8850126ea14baedc7b63b7b5ecf4)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sanitizers are not yet supported on ARC.
(From OE-Core rev: 1b7b2d2ab887f1c169bb4d3298404549948d1b32)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently Debian-style support for link relocation was added to
'update-alternatives' script, but it fails under circumstances where
host rootfs root directory differs from target rootfs root directory
and two alternative packages provide a symbolic link with source
located in different directories.
An example of the case is busybox provided /bin/rev (symlinking to
/bin/busybox.nosuid) and util-linux provided /usr/bin/rev (symlinking
to /usr/bin/rev.util-linux) in which case following failure occurs
during image recipe's do_rootfs() task:
ERROR: core-image-minimal-1.0-r0 do_rootfs: Postinstall scriptlets of ['util-linux'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in .../tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
Looking in log.do_rootfs file, following relevant lines can be observed:
update-alternatives: renaming rev link from /bin/rev to /usr/bin/rev
mv: cannot stat '/bin/rev': No such file or directory
Mitigate issue by applying patch which adds target root filesystem root
directory path prefix to failing 'mv' calls relevant variable references
(From OE-Core rev: f0912e23629758fe4303284e7db8f4089bb7b4cb)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now the test markup of the development tools tests is complete, this
can be further tweaked to auto run the correct tests.
(From OE-Core rev: bd4f8d12fe1f9f2643ee9e68fa2bb981134294fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark up these tests as needing a compiler, make and kernel source code
as appropriate, the image feature requirements can then be retired.
(From OE-Core rev: 9f64e6c25abdf494fb511e9cd401f8dcaa08be2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the tests have correct markup to automatically determine which images
they can run against, clean up the default test suites logic to be simpler
and not image specific.
Some cleanup of the compiler tests still needs to be completed but this
is a good first step.
The only downside to this is more noise during testing as we now see
many skipped messages for simple images like core-image-minimal.
The auto type is being removed since it currently breaks badly due to the
socat mandatory inclusion from the meta-selftest layer which is a problem
which needs to be addressed seperately.
(From OE-Core rev: 4966bc33845752eb0aeae54b72e8ba0146a7ed52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the OEHasPackage decorator to a variety of tests so they determine
automatically if they should run against a given image.
To ensure tests can do this we need to move target operations such
as scp commands into the tests and out of the class startup/teardown.
(From OE-Core rev: 60d6580b85714b8960a964e775d76a7f937f5e5a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Fix typo of `--disable-jitterntropy' in both of PACKAGECONFIG and configure --help
- Enable jitterntropy for musl
(From OE-Core rev: c3b96aaa40413d66d8fc4252235e6fa27dd8db53)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just adding `-device virtio-rng-pci' to the QEMU invocation will
add the device with a default host backend. As of QEMU 1.3+,
the default backend is to use the host's /dev/random as a
source of entropy. [1]
When the entropy pool is empty, reads from /dev/random will
block until additional environmental noise is gathered. [2]
For Yocto, if call runqemu frequently, it will consume lots
of host's /dev/random, and kernel finish crng init in guest get
more and more slowly.
Here are 4 times runqemu boot test:
[ 3.464432] random: crng init done
[ 20.874030] random: crng init done
[ 23.583589] random: crng init done
[ 23.858945] random: crng init done
Modify entropy source to /dev/urandom device on the host which
returns random bytes using a pseudorandom number generator seeded
from the entropy pool. Reads from this device do not block and
kernel finish crng init in guest will not delay.
Of course, the side effect is obviously, we lost the quality of
randomness, but the modification is only on runqemu script
rather than real embedded device, and it benefits oeqa efficiency
in which many cases call runqemu especially multiple oeqa builds
on one host.
After apply the fix:
[ 3.364670] random: crng init done
[ 4.619061] random: crng init done
[ 3.403897] random: crng init done
[ 3.450717] random: crng init done
[1] https://wiki.qemu.org/Features/VirtIORNG
[2] http://man7.org/linux/man-pages/man4/random.4.html
(From OE-Core rev: 853644f82eb3205ef3efc1ea3959c7225dfacf61)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [f1dc9ac rng-tools: Fix crazy defaults] fixed
init based on sysvinit, this fix rngd.service based on systemd.
(From OE-Core rev: 078630b7bf8599ea2b3717ce33d2da0f7f26b0e2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Usually skipped testcase output "SKIPPED"
[snip serial execution]
|RESULTS - buildgalculator.GalculatorTest.test_galculator - Testcase -1: SKIPPED (0.01s)
|RESULTS - python.PythonTest.test_python3 - Testcase -1: SKIPPED (0.01s)
[snip serial execution]
But if enable multiprocess execution, skipped testcase output "UNKNOWN" status
[snip enable multiprocess execution]
|RESULTS - buildgalculator.GalculatorTest.test_galculator - Testcase -1: UNKNOWN
|RESULTS - python.PythonTest.test_python3 - Testcase -1: UNKNOWN
[snip enable multiprocess execution]
Here is my investigation:
There is a class pairs TestProtocolClient and TestProtocolServer
provided by python3-subunit. The TestProtocolClient generates a
subunit stream of TestResult from a test run, and TestProtocolServer
parses the stream of subunit TestResult.
The class ProtocolTestCase is a unittest.TestCase adapter and it
uses TestProtocolServer to parse the stream of subunit TestResult.
In Yocto testsdk, it forks multiple processes to execute testcases
and use TestProtocolClient to generate TestResult stream; and then
it creates multiple threads to use ProtocolTestCase to parse stream
of subunit TestResult through pipe; finally it passes multiple
ProtocolTestCase as TestCase instance to main process and output
status result.
The problem point is TestProtocolServer parses `skip:' directive
after reading a `test:' directive. Without `test:' directive,
`skip:' directive will be ignored. All above requires SkipTest should
be raised inside a test method rather than setUpClass method.
Throwing SkipTest inside setUp works correctly
(From OE-Core rev: 4828a88556d59e4d06933164c2ebeb9361b7450e)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lvm2 currently requires libaio. So building lvm2-native will result in
the following error.
ERROR: Required build target 'lvm2-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['lvm2-native', 'libaio-native']
Extend libaio to native to fix this issue.
(From OE-Core rev: fe871d23c2714e66a1f5e2428a16e742ca40fc62)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-testtools', 'nativesdk-python3-pbr', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt', 'nativesdk-libsm']
Extend libsm to nativesdk to fix this issue.
(From OE-Core rev: 5a527e381705ed8a3e2caba98205c8c8172a347a)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-git', 'nativesdk-python3-gitdb', 'nativesdk-python3-async', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt', 'nativesdk-libsm', 'nativesdk-libice']
Extend libice to nativesdk to fix this issue.
(From OE-Core rev: 46f39d402fbf5487d7a1036fbeec6726ba49334b)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['nativesdk-packagegroup-sdk-host', 'nativesdk-opkg', 'nativesdk-libsolv', 'nativesdk-rpm', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-xft', 'nativesdk-fontconfig']
Extend fontconfig to nativesdk to fix this issue.
(From OE-Core rev: f15120430914582f0889ddc442de1055e6c5dca9)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-testtools', 'nativesdk-python3-pbr', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-xft']
Extend libxft to nativesdk to fix this issue as
PROVIDES = "xft" in libxft recipe.
(From OE-Core rev: 2709062a47b86bb86b2768f04f97f00af1bb9b47)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After enable tk via PACKAGECONFIG for python3,
there comes below error:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-pytz', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt']
Extend libxt to nativesdk to fix this issue.
(From OE-Core rev: 2ed08a6c467202504737040b83a8b9fd6481f62b)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without doing this, the code can and sometimes does try and do "rm ~/"
which I think we'd all prefer it didn't.
(From OE-Core rev: 9dc1de59330c366783ea043c68c1b59b1b49e707)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should only be wiping out things on target if the tests have
actually run.
(From OE-Core rev: d38c3eac0a5a1a9b0eb98385832e92f48145655e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
distcc upstream dropped the 3.2 branch which we reference in older project releases
the revisions are there, just the branch is not. In order to be able to continue
to build those old releases, adjust any mirror tarball to contain the missing branch.
We have updated the newer point releases but the previous tags were failing to build.
(From OE-Core rev: 5a1a322cfca2a514707eeb48f4c3dce5e4c1ad48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Display the name of the restricted licenses which caused the recipe to
be skipped. This makes it easy to determine which license or licenses
are missing and need to be checked and whitelisted.
(From OE-Core rev: b71cd1ec45e247db688b784697829c1b485ca9ca)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl build system generates buildinf.h containing the full
compiler command line used to compile objects. This breaks
reproducibility, as the compile command is baked into libcrypto, where
it is used when running `openssl version -f`.
Add stripped build variables for the compiler and cflags lines, and use
those when generating buildinfo.h.
This is based on a similar patch for older openssl versions:
https://patchwork.openembedded.org/patch/147229/
(From OE-Core rev: cbc9b743a711f07c04cf9f5b2fc3f83da6d28913)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In newer versions of ExtUtils::MakeMaker, the location of the perl
binary to run is determined differently which results in finding
${bindir}/perl.real instead of ${bindir}/perl
(From OE-Core rev: 362bd36cbec052d2a37710498c901b699dcf5ca7)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The busybox.link.* files are generated from autoconf.h and applets.h,
which are both auto-generated by the build system. The contents of the
two files might be in different order, and so the link files are not
reproducble as is.
Fix this by sorting the lists using `sort`.
(From OE-Core rev: e2450857d898238b0b719a5400e2340c65c80ada)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should not be finding GStreamer issues right around
release time but that's what we seem to do.
Port gstreamer tests from Intel Ref Kit.
https://github.com/intel/intel-iot-refkit/blob/master/meta-iotqa/
lib/oeqa/runtime/multimedia/gstreamer/gstreamer_cli.py
Add tests for gstreamer commandline tools (gst-inspect-1.0
& gst-launch-1.0).
[YOCTO #11418]
(From OE-Core rev: 3e77f845b517e3f4b3e7d09d088a9a80bf171653)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check that yocto-autobuilder-helper has been cloned to the correct location.
Check that vnc is running using the same script the autobuilder does.
Set the DISPLAY enviroment variable to :1 the same way we do when building
normally.
Make the VM's serial console available so we can log in and power off allowing
the tests to continue.
(From OE-Core rev: 5fb26ff0b56eebb864fd8f74c015e414476eec43)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
subprocess.run() was introduced in Python 3.5. We currently support down to
Python 3.4 so I've replaced it with subprocess.check_call() which is available
in that version.
(From OE-Core rev: 3a09cee5994ce65079dab1042e47e5eed4540bb9)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its currently not possible to have a console available whilst using qemu in graphics
mode. This is causing some issues for testing autobuilder bringup so all a "serialstdio"
mode to runqemu to accomodate this.
The existing serialstdio internal variable is renamed to allow the new user visible option.
(From OE-Core rev: 101b70d3c6a0a5a022d96dfdd21500b757c8fada)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle the %i wildcard appearing in a dependency in the Install section
of a template unit, e.g.
$ cat foo@.service
[Install]
WantedBy=bar@%i.target
Using the real systemctl something like:
$ systemctl enable foo@baz.service
will create a symlink in /etc/systemd/system/bar@baz.target.wants.
Detect wildcards in templates and make the appropriate substitution.
(From OE-Core rev: 22ed19292d160461042d4a2294fe2ec0b953873e)
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sqlite3 is built with FTS5 it uses log() from libm, but that linkage is lost
if we manually statically link so explicitly link to libm.
(From OE-Core rev: b24a67217d82f225e76fbc2dfb70dd8e1a6ea215)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run task compile_ptest_base of glide on mips:
| vet config not found
The root cause is that go lang lacks '-buildmode=pie' support for mips.
So disable glide ptest on mips for now.
(From OE-Core rev: b8a1a5a5d8fe376e9015b0406881bcee0658f1a0)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that additional packages in IMAGE_INSTALL_DEBUGFS are available
before installation.
(From OE-Core rev: 06a1bbea67a7233deff80ebe3681b4e0cca6817a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its been 'a while' since we used monotone, drop these revision
function remnants.
(From OE-Core rev: f1c77ab87b3c16d14deff801f48292ed348da637)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code looks strange because of historical reason, simply return
base_get_metadata_git_revision/branch() is enough, the later functions has
handled everything like '<unknown>' and strip().
(From OE-Core rev: 8a6e70960e021e10a1d02e20e0519fdbdeac8616)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shadow configure script tries really hard to detect the running
shell to make sure it doesn't do unsupported calls.
On my system the shell is detected as /bin/sh, while a build in an
ubuntu docker it resolves to /bin/bash. And since the shell path is
baked into the target binaries through config.h, the build becomes
inreproducible.
Fix reproducibility by hard-coding the shell to be /bin/sh
(From OE-Core rev: 5e3e30446b6abd98d1d3e9bee818203a6a206634)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While building go itself, the go build system does not support
to set `-buildmode=pie' from environment.
Add GOBUILDMODE to support it which make PIE executables the default
build mode, as PIE executables are required as of Yocto
But mips doesn't support -buildmode=pie, so skip the QA checking for
mips and its variants
(From OE-Core rev: d11cb2ea0abfca4a5958ff4647f22a5b203113e5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Export the PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR variables in case the
parent shell hasn't done so.
(From OE-Core rev: 42f33bb5a480324b81c875fbb28872c734860253)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
*The PowerPC SPE support is split off to a separate powerpcspe port
(From OE-Core rev: c67bc9bdcbcf46ed54dfbafd1bb6e405ed77f86a)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase 0007-qt-python-Add-variables-to-tests.patch
Rework 0007-qt-python-Add-variables-to-tests.patch -> 0007-python-Add-variables-to-tests.patch
Drop newly added option --disable-lang-qt-test which is merged to --disable-gpg-test by
upstream commit [26820ba qt: Respect --disable-gpg-test for tests]
(From OE-Core rev: 9457163b2c4982a64814c6b38c292d7bc61ff643)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For changes, please see:
https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/?qt=range&q=e4fe79cf0d9a05ee3f3a027148ef0aeb2b1b34e1...0932a6b37ba6d5c9e916a1cb6ab89c3205b81a0c
Enable sna by default and remove upstreamed patches.
Also include a patch from fedora to fix compile issues when using
qemux86 which doesn't enable sse2 leading to gcc refusing to
inline vertex_emit_2s in emit_vertex because they are defined as:
static __attribute__((always_inline)) void
vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
__attribute__((target("sse2,fpmath=sse"))) __attribute__((always_inline))
static void emit_vertex(/* omitted */)
leading to errors like:
| In file included from ../../../git/src/sna/gen4_vertex.c:34:
| ../../../git/src/sna/gen4_vertex.c: In function 'emit_vertex':
| ../../../git/src/sna/sna_render_inline.h:40:26: error: inlining failed in call to always_inline 'vertex_emit_2s': target specific option mismatch
| static force_inline void vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
| ^~~~~~~~~~~~~~
| ../../../git/src/sna/gen4_vertex.c:308:25: note: called from here
| #define OUT_VERTEX(x,y) vertex_emit_2s(sna, x,y) /* XXX assert(!too_large(x, y)); */
| ^~~~~~~~~~~~~~~~~~~~~~~~
| ../../../git/src/sna/gen4_vertex.c:360:2: note: in expansion of macro 'OUT_VERTEX'
| OUT_VERTEX(dstX, dstY);
| ^~~~~~~~~~
(From OE-Core rev: a181b36bf2357c5f7d5835df2f828ff1e0007dc6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- updated connman to v1.36
- removed mainstreamed patches
- includes.patch has been rabased and transformed into git format
(From OE-Core rev: 85b76e52d2060e197435606eb6316c8833b46361)
Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As was warned by commit 312ee68752fa [kconfig: announce removal of
oldnoconfig if used], oldnoconfig has been removed from the 4.20 kernel.
So we switch our default mode to olddefconfig.
commit fb16d8912 [kconfig: replace 'oldnoconfig' with 'olddefconfig',
and keep the old name as an alias] introduced olddefconfig in the 3.10
kernel, we shuffle oldnoconfig to the fallback target.
The fallback mode allows kernels between 3.10 and the currently listed
oldest kernel of 3.2 to continue to configure.
(From OE-Core rev: 8593dcb7e8c938530ff00ffedf7f3d02d26c3bad)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RISC-v support now included in this release so drop patch.
and refresh patches
(From OE-Core rev: 800f4bd6f9fa18ed68f14f5e6e12be3499fb8038)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream source tarball checksums changed. Use the copy from our source
mirror to avoid failures.
[YOCTO #12979]
(From OE-Core rev: e97a31e6bbaec5cb56d4750bf5171dbba510ee33)
Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having image-buildinfo enabled causes containerimage.ContainerImageTests.test_expected_files
to fail due to the presence of an unexpected file:
['./',
'./etc/',
- './etc/build',
'./etc/default/',
'./etc/default/postinst',
Tweak the class to allow it to be disabled and disable it from the test just in
case it was enabled.
(From OE-Core rev: af67bf422a4df5b7e07894512ff73a5f493682ab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
valgrind for qemumips64 multilib builds fails to configure
for libn32 with the error:
configure:6190: checking for 32 bit build support
...
fatal error: bits/long-double-32.h: No such file or directory
It seems that the toolchain is producing:
tmp-glibc/sysroots-components/mips64-n32/libn32-glibc/usr/include/bits/long-double-n32.h
Until the toolchain problem is resolved, skip valgrind for libn32.
(From OE-Core rev: 17d5574f05384edeb5c80ada2724fff4a1c3c94b)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently sdk & sdkext will output json file to LOG_DIR, while
selftest will output json file to TOPDIR/log.
Standardize selftest json output file to LOG_DIR.
(From OE-Core rev: 2012d6b076fc833864a0254d56d78536314a6799)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Play the whack-a-mole game and add the .file directive to another
assembly file that otherwise shows itself in ld-2.28.so debug file,
which in turns alters the build-id of ld-2.28.so on target.
(From OE-Core rev: 4cbf901b3a127ed039371e614946002d26d56997)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to a bug in find [1], -ignore_readdir_race does not work correctly with
-delete. This can lead to spurious build failures when files disappear
while such a command is running; specifically this was seen in the case of
do_configure and do_populate_lic running concurrently for packages
with ${B} == ${WORKDIR}:
find: '.../sstate-build-populate_lic': No such file or directory
While the issue is fixed in the findutils git master, the find command of
the host system is called here, so we can't ensure that the used version
contains the fix. Many common distros have not updated to a recent enough
findutils version yet (Ubuntu 18.10 contains the fix, while 18.04 is still
affected).
Work around the issue by passing the output of find to 'rm -f' instead of
using -delete.
[1] https://savannah.gnu.org/bugs/?52981
(From OE-Core rev: 8079e2d62e23f7c274f46185e6dad64fa95394c1)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use % operator to ensure that the dependency is substituted into the error
message correctly.
(Bitbake rev: 8e587386b0b3a0ed11edf71dfbe9fb508f60d0b3)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support users who want to specify a custom ssh to Git using an environment
variable. (This lets build systems work without requiring users to
configure Git explicitly.)
(Bitbake rev: db46fb2755a4b1033ab60051ce511cc9dd7e34fb)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates for YOCTO #12891 allowed a user to have a directory
structure different to that of yocto (bitbake isn't inside
oe-core) whereas the definition of OE_ROOT in the main toaster
binary still assumes the same while checking for .templateconf
and hence we see an error on the cmdline in such cases:
bash: <repo-path>/bitbake/bin/../../.templateconf: No such file or directory
The change here now allows the user to provide OE_ROOT through
the environment in such cases and otherwise defaults to the older
mechanism to fix this issue.
(Bitbake rev: 9cc6fe4be797e106899d2448797a4b3af8eace4e)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Git does not require the module and target path to be the same in the
.gitmodules file. This incorrect assumption was being made previously
causing various unpack failures.
An example .gitmodule showing this issue:
[submodule "plugins/WaveShaper/Libs/inih"]
path = plugins/wolf-shaper/Libs/inih
url = https://github.com/pdesaulniers/inih.git
The unpack function also needed to work in a loop on the overall
submodules_queue. Before it could have missed items that were not in the
primary repository.
(Bitbake rev: 5a7009c204f4d2254e3b2d83ad9319ac23f1cf4d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Submodules by definition refer to a specific commit, not branch. If we don't
ignore the branch, then any commits on a submodule on a branch different then
the original module will trigger a failure that the commit is not on the
branch.
(Bitbake rev: fdc1dbf96f153b496de52acd8263366a1ff303ad)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libunwind is not yet ported for ARC & RISCV64 and on attempt
to build it for those arches we just get an error message.
If we explicitly disable libunwind it is gracefully handled by
perf build system and it just gets configured to not use it
so perf is still usable even on those arches.
(From OE-Core rev: bb06900a1f29fdd4066f6d7e7a961d230c2e9438)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In sources directory we can find patches/ and temp/.
The first one is filled with symbolic link unusable on another
machines.
The second contains yocto logs to create this archives and are
typically copied when 'S = "${WORKDIR}"'
(From OE-Core rev: 3904f98851c6a63dd9377e38f1432be6b1c0a94d)
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Temporarily modify path to run as non-privileged user on more distros.
Change the recommended value to match what we use on the autobuilder.
(From OE-Core rev: 2f86c3f1180ba8bf77301a0bc29c3b290bc28d91)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rationale - excerp from `info chown`
====================================
OWNER‘:’GROUP
If the OWNER is followed by a colon and a GROUP (a group name or
numeric group ID), with no spaces between them, the group ownership
of the files is changed as well (to GROUP).
Some older scripts may still use ‘.’ in place of the ‘:’ separator.
POSIX 1003.1-2001 (*note Standards conformance::) does not require
support for that, but for backward compatibility GNU ‘chown’ supports
‘.’ so long as no ambiguity results. New scripts should avoid the use
of ‘.’ because it is not portable, and because it has undesirable
results if the entire OWNER‘.’GROUP happens to identify a user whose
name contains ‘.’.
(From OE-Core rev: 185918234a07cb506d7d7464a49ac33972c7d963)
Signed-off-by: Kosta Zertsekel <zertsekel@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
os.errno doesn't work in Python 3.7 and shouldn't have ever worked, so use
import errno explicitly.
(From OE-Core rev: 82f9157e84dcaf0ad4292053b09be68c2290d197)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had a number of occasions where the Yocto Project source mirrors have not
been complete or functioning correctly. This adds a test so that if this happens
we find out out it sooner.
It also only works over http meaning we should be able to test that anyone behind
an http only proxy (no git protocol) also has functional fetches for OE-Core and
layers built by the core of the project.
(From OE-Core rev: 9a25b2eb9cc13dd77a774dad83067ea5f9bf9716)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both RHEL and SLES uses ppc64/ppc64le for powerpc 64 bit big/little
endian targets instead of powerpc64/powerpc64le in libgpg-error.
Also libgpg-error provides common target system names in form like
<arch>-unknown-linux-gnu.
Add mapping for ppc64/ppc64le targets to their libgpg-error equivalents
to fix native builds.
Cross build for arm64 tested on IBM Power 8 machine with RHEL7 for
ppc64le variant only, but should work for ppc64 as well.
(From OE-Core rev: f1af780769477f06eb925fd87c844baba04ada2d)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 709c603dec19 ("v86d: Accept aarch64 as build host") we
support cross compilation on aarch64 host in addition to x86 host.
However building on hosts different than two above will fail.
Make cross compilation support more generic by checking for TARGET_ARCH
in v86d configure script with fallback to `uname -m` when not present in
environment and pass TARGET_ARCH explicitly in do_configure().
Cross build for x86 tested on IBM Power 8 machine with RHEL7. Should
work on aarch64 and rest too.
(From OE-Core rev: 69f7579eb36c00b557225377e1a3cc61b103be23)
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several distros are now shipping "python" as python v3 contra to the original
python guidelines. This causes users confusion/pain in trying to use our tools.
We can just force "python" to "python2" within HOSTTOOLS to avoid this issue
and hide the complexity from the user.
(From OE-Core rev: b06a6cde5c5503f456f260c773cf126085e18c8d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the ptest results from ptest-runner, run in an image to be
transferred over to the resulting json results output.
Each test is given a pass/skip/fail so individual results can be monitored
and the raw log output from the ptest-runner is also dumped into the
results json file as this means after the fact debugging becomes much easier.
Currently the log output is not split up per test but that would make a good
future enhancement.
I attempted to implement this as python subTests however it failed as the
output was too confusing, subTests don't support any kind of log
output handling, subTest successes aren't logged and it was making things
far more complex than they needed to be.
We mark ptest-runner as "EXPECTEDFAILURE" since its unlikely every ptest
will pass currently and we don't want that to fail the whole image test run.
Its assumed there would be later analysis of the json output to determine
regressions. We do have to change the test runner code so that
'unexpectedsuccess' is not a failure.
Also, the test names are manipuated to remove spaces and brackets with
"_" used as a replacement and any duplicate occurrences truncated.
(From OE-Core rev: a13e088942e2a3c3521e98954a394e61a15234e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarlly to OE-Core rev 4b936cde58ca0a6f34092ce82640a02859110411 for
cross.sdk, BUILD_* flags can't be used as TARGET_* flags
gcc-crosssdk buils leaks config.log's through "gcc-stashed-builddir" and
TARGET_* flags to libgcc cross-build through "gcc/libgcc.mvars" file
on "gcc-stashed-builddir". This means that if BUILD_CFLAGS contains
host-specific flags like "-isystem/usr/include" libgcc build will
fail "do_qa_configure" and "do_package_qa" checks.
Remove host-related flags from TARGET_* flags for gcc-crosssdk builds.
[YOCTO #11874]
(From OE-Core rev: 6e162e619b6f5173c073cd9bedbcadf205017e30)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Right now go-cross is changing signatures when you change TUNE for a given
architecture. In particular this breaks layer tests like:
yocto-check-layer ../meta-yocto-bsp/ --machines qemuarm beaglebone-yocto
This changes the PN addtion to something containing the tune rather than
the arch which avoids these kinds of errors. If go-cross can be tune
independent that would be nice but currently that isn't the case.
[YOCTO #12586]
(From OE-Core rev: e3c7e1703499e6a5332d9ab8a941671ec8235c4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current go-dep does not compile ptest successfully on mips
and mips64. So as a workaround, disable PTEST_ENABLED explicitly
to avoid error like below.
| vet config not found
(From OE-Core rev: 786322ec408e2ef5cd6fb809456e0453e5f5e162)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pyvenv is just a small script that uses venv to create virtual
environments.
https://www.python.org/dev/peps/pep-0405/#creating-virtual-environments
This patch adds the python3-venv module as a self-contained package which
python3-pyvenv must depend on at run-time.
The patch also provides the package python3-pyvenv from the pyhton3-venv
package.This is good for future-proofing since python3-pyvenv has been
deprecated and only python3-venv is now available in Python 3.6.
https://docs.python.org/3/library/venv.html.
Without this patch python3-pyvenv is broken because it is missing the
venv module at run-time. This patch specifies the newly created
python3-venv as a run-time dependency of python3-pyvenv.
(From OE-Core rev: effa141bfce55aab25142ee578c95383c755ad73)
Signed-off-by: Hugues Kamba <hugues.kamba@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of gdbm's ptest cases require gdbmtool, which is packaged into
${PN}-bin. So extend the RDEPENDS_${PN}-ptest to include the package.
(From OE-Core rev: e188a75aa882efc98b8390f43f18279c3707314a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Four unrelated lines were extracted from pixman-matrix.c for the
license information.
License-Update: Only extract the relevant part from pixman-matrix.c
(From OE-Core rev: d0a209e8cf29d982567e3978e1dcbb3871505a39)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Only extract relevant parts from init.c & gpg-error.h.in
(From OE-Core rev: a5c1ff6deb6393666745889eee8297112848ba28)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two unrelated lines were extracted from apu_version.h for the license
information.
License-Update: Only extract the relevant part from apu_version.h
(From OE-Core rev: 2edb0f24a13f27b2fae94fb447221ad2ddb924a0)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two unrelated lines were extracted from apr_lib.h for the license
information.
License-Update: Only extract the relevant part from apr_lib.h
(From OE-Core rev: 90ab83ecc509c2fdc1f6083d771031decdcaad63)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once the value of SOURCE_DATE_EPOCH is determined, it is stored in the recipe's SDE_FILE.
If none of the existing mechanisms are suitable, replace the do_deploy_source_date_epoch task
with recipe-specific functionality to write the appropriate SOURCE_DATE_EPOCH into the SDE_FILE.
(From OE-Core rev: e7b891b76954c784f5a93bd0a1c91315673ce40d)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix CVE-2018-0735 for openssl 1.1.1.
(From OE-Core rev: 78e751e33d3ec4394d96391e737cc39cad960ebe)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches to fix CVE-2018-0734 for both openssl 1.0.2p and 1.1.1
versions.
(From OE-Core rev: 9d5c6a87eb72a8b8b8d417126a831565982ca9a6)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Artifex Ghostscript allows attackers to bypass a sandbox protection
mechanism by leveraging exposure of system operators in the saved
execution stack in an error object.
(From OE-Core rev: 6098c19e1f179896af7013c4b5db3081549c97bc)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Artifex Ghostscript 9.25 and earlier allows attackers to bypass a
sandbox protection mechanism via vectors involving errorhandler
setup. NOTE: this issue exists because of an incomplete fix for
CVE-2018-17183.
(From OE-Core rev: 6c32ea184941d292cd8f0eb898e6cc90120ada40)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These CVE fixes come from upstream master branch and no
new version released, so backport rather than upgrade.
(From OE-Core rev: bd8d2c25f595e30a3fdcad8a2409913bb8af7c5c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the latest nasm is 2.14rc16 (not formal release),
so backport a patch to 2.13 to fix CVE-2018-1000667.
(From OE-Core rev: 024b395425c95a08c881d922c310be78ffad483a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
When generating TZif files with leap seconds, zic no longer uses a
format that trips up older 32-bit clients, fixing a bug introduced
in 2018f. (Reported by Daniel Fischer.) Also, the zic workaround
for QTBUG-53071 now also works for TZif files with leap seconds.
The translator to rearguard format now rewrites the line
"Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S" to
"Rule Japan 1948 1951 - Sep Sun>=9 1:00 0 S".
This caters to zic before 2007 and to Oracle TZUpdater 2.2.0
and earlier. (Reported by Christos Zoulas.)
Changes to past time zone abbreviations
Change HDT to HWT/HPT for WWII-era abbreviations in Hawaii.
This reverts to 2011h, as the abbreviation change in 2011i was
likely inadvertent.
Changes to documentation
tzfile.5 has new sections on interoperability issues.
(From OE-Core rev: 32e5dd919a61b1c245fb6a867d0ea4a71d394aca)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
When generating TZif files with leap seconds, zic no longer uses a
format that trips up older 32-bit clients, fixing a bug introduced
in 2018f. (Reported by Daniel Fischer.) Also, the zic workaround
for QTBUG-53071 now also works for TZif files with leap seconds.
The translator to rearguard format now rewrites the line
"Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S" to
"Rule Japan 1948 1951 - Sep Sun>=9 1:00 0 S".
This caters to zic before 2007 and to Oracle TZUpdater 2.2.0
and earlier. (Reported by Christos Zoulas.)
Changes to past time zone abbreviations
Change HDT to HWT/HPT for WWII-era abbreviations in Hawaii.
This reverts to 2011h, as the abbreviation change in 2011i was
likely inadvertent.
Changes to documentation
tzfile.5 has new sections on interoperability issues.
(From OE-Core rev: a24d0c174411a32a2793c89980ca87c4f9d98bc4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Incorrect command-line parameter validation in the Xorg X server can lead to
privilege elevation and/or arbitrary files overwrite, when the X server is
running with elevated privileges (ie when Xorg is installed with the setuid bit
set and started by a non-root user). The -modulepath argument can be used to
specify an insecure path to modules that are going to be loaded in the X server,
allowing to execute unprivileged code in the privileged process. The -logfile
argument can be used to overwrite arbitrary files in the file system, due to
incorrect checks in the parsing of the option.
(From OE-Core rev: 14b5854d50c38e94fc0d1ce6af36698fc69f52b4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rendering the manual to its HTML form was collapsing the two
leading and four trailing whitespace characters into single
whitespace characters. I inserted multiple " " strings
to force the spacing to come through.
(Bitbake rev: 701f76f773a6e77258f307a4f8e2ec1a8552f6f3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
Volgograd moves from +03 to +04 on 2018-10-28.
Fiji ends DST 2019-01-13, not 2019-01-20.
Most of Chile changes DST dates, effective 2019-04-06.
Changes to future timestamps
Volgograd moves from +03 to +04 on 2018-10-28 at 02:00.
(Thanks to Alexander Fetisov and Stepan Golosunov.)
Fiji ends DST 2019-01-13 instead of the 2019-01-20 previously
predicted. (Thanks to Raymond Kumar.) Adjust future predictions
accordingly.
Most of Chile will end DST on the first Saturday in April at 24:00 mainland
time, and resume DST on the first Saturday in September at 24:00 mainland
time. The changes are effective from 2019-04-06, and do not affect the
Magallanes region modeled by America/Punta_Arenas. (Thanks to Juan Correa
and Tim Parenti.) Adjust future predictions accordingly.
Changes to past timestamps
The 2018-05-05 North Korea 30-minute time zone change took place
at 23:30 the previous day, not at 00:00 that day.
China's 1988 spring-forward transition was on April 17, not
April 10. Its DST transitions in 1986/91 were at 02:00, not 00:00.
(Thanks to P Chan.)
Fix several issues for Macau before 1992. Macau's pre-1904 LMT
was off by 10 s. Macau switched to +08 in 1904 not 1912, and
temporarily switched to +09/+10 during World War II. Macau
observed DST in 1942/79, not 1961/80, and there were several
errors for transition times and dates. (Thanks to P Chan.)
The 1948-1951 fallback transitions in Japan were at 25:00 on
September's second Saturday, not at 24:00. (Thanks to Phake Nick.)
zic turns this into 01:00 on the day after September's second
Saturday, which is the best that POSIX or C platforms can do.
Incorporate 1940-1949 Asia/Shanghai DST transitions from a 2014
paper by Li Yu, replacing more-questionable data from Shanks.
Changes to time zone abbreviations
Use "PST" and "PDT" for Philippine time. (Thanks to Paul Goyette.)
Changes to documentation
New restrictions: A Rule name must start with a character that
is neither an ASCII digit nor "-" nor "+", and an unquoted name
should not use characters in the set "!$%&'()*,/:;<=>?@[\]^`{|}~".
The latter restriction makes room for future extensions (a
possibility noted by Tom Lane).
tzfile.5 now documents what time types apply before the first and
after the last transition, if any.
Documentation now uses the spelling "timezone" for a TZ setting
that determines timestamp history, and "time zone" for a
geographic region currently sharing the same standard time.
The name "TZif" is now used for the tz binary data format.
tz-link.htm now mentions the A0 TimeZone Migration utilities.
(Thanks to Aldrin Martoq for the link.)
Changes to build procedure
New 'make' target 'rearguard_tarballs' to build the rearguard
tarball only. This is a convenience on platforms that lack lzip
if you want to build the rearguard tarball. (Problem reported by
Deborah Goldsmith.)
tzdata.zi is now more stable from release to release. (Problem
noted by Tom Lane.) It is also a bit shorter.
tzdata.zi now can contain comment lines documenting configuration
information, such as which data format was selected, which input
files were used, and how leap seconds are treated. (Problems
noted by Lester Caine and Brian Inglis.) If the Makefile defaults
are used these comment lines are absent, for backward
compatibility. A redistributor intending to alter its copy of the
files should also append "-LABEL" to the 'version' file's first
line, where "LABEL" identifies the redistributor's change.
(From OE-Core rev: 9d786808fb9471eff46d95dd354f6254e468aa17)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic now always generates TZif files where time type 0 is used for
timestamps before the first transition. This simplifies the
reading of TZif files and should not affect behavior of existing
TZif readers because the same set of time types is used; only
their internal indexes may have changed. This affects only the
legacy zones EST5EDT, CST6CDT, MST7MDT, PST8PDT, CET, MET, and
EET, which previously used nonzero types for these timestamps.
Because of the type 0 change, zic no longer outputs a dummy
transition at time -2**59 (before the Big Bang), as clients should
no longer need this to handle historical timestamps correctly.
This reverts a change introduced in 2013d and shrinks most TZif
files by a few bytes.
zic now supports negative time-of-day in Rule and Leap lines, e.g.,
"Rule X min max - Apr lastSun -6:00 1:00 -" means the transition
occurs at 18:00 on the Saturday before the last Sunday in April.
This behavior was documented in 2018a but the code did not
entirely match the documentation.
localtime.c no longer requires at least one time type in TZif
files that lack transitions or have a POSIX-style TZ string. This
future-proofs the code against possible future extensions to the
format that would allow TZif files with POSIX-style TZ strings and
without transitions or time types.
A read-access subscript error in localtime.c has been fixed.
It could occur only in TZif files with timecnt == 0, something that
does not happen in practice now but could happen in future versions.
localtime.c no longer ignores TZif POSIX-style TZ strings that
specify only standard time. Instead, these TZ strings now
override the default time type for timestamps after the last
transition (or for all time stamps if there are no transitions),
just as DST strings specifying DST have always done.
leapseconds.awk now outputs "#updated" and "#expires" comments,
and supports leap seconds at the ends of months other than June
and December. (Inspired by suggestions from Chris Woodbury.)
(From OE-Core rev: 4670dcdb6e2504469c30ebed828d4702d8c0003c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses 'ppc64' for 64 bit powerpc. Issue came up while
building systemd for MACHINE that uses ppc64e5500 tune.
(From OE-Core rev: eccd5414c37be26df63a90154c1808f6f5618b7d)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The master branch does not exist any more, use develop to replace.
(From OE-Core rev: 6db5e994ed9179eb6174ace1fd60c007f11deadd)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
groff searches fonts on build host which are provided by ghostscript.
The number of font files installed by groff are different according to
whether ghostscript fonts are installed on build host. Fix it by not
search font dirs on the host.
(From OE-Core rev: 01bce5fada48ecc7bd76c3d7fbade3c034518573)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python git module may or may not be enabled, allow this code to
function without it, falling back to the same method as metadata_scm.bbclass
uses. This will be cleaned up in the next round of feature development.
(From OE-Core rev: 6350586ba9f4a4107a2d457590824cd4d662d5b9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no point in adding empty log entries to the json result files, only
add them if there is log data.
(From OE-Core rev: da6aef0b6bd4655805f7f743858d4e04341f75ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the preceeding commit to:
* Add STARTTIME to the identifier to make it unique
* Add MACHINE to the identifier
* Use LOG_DIR
* Store the layer config in a more natural json format
* Drop '_' function prefixes
(From OE-Core rev: c272079d662237b1b9f87940c88cbadaeda9a9d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia to store testresult,
OEQA sdk and sdkext need to output testresult into json files, where
these json testresult files will be stored into git repository
by the future test-case-management tools.
By default, json testresult file will be written to "oeqa"
directory under the "WORKDIR" directory.
To configure multiple instances of bitbake to write json testresult
to a single testresult file at custom directory, user will define
the variable "OEQA_JSON_RESULT_DIR" with the custom directory for
json testresult.
(From OE-Core rev: cdbedba7da9c3f97a642d79a5e8ec363ba938e35)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the preceeding commit to:
* Add STARTTIME to the identifier to make it unique
* Log DISTRO
* Use LOG_DIR
* Store the layer config in a more natural json format
* Drop '_' function prefixes
(From OE-Core rev: dda94cfa708cf3c6e5408d6dbcece360b4e8cd27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia to store testresult,
OEQA testimage need to output testresult into json files, where
these json testresult files will be stored into git repository
by the future test-case-management tools.
By default, json testresult file will be written to "oeqa"
directory under the "WORKDIR" directory.
To configure multiple instances of bitbake to write json testresult
to a single testresult file at custom directory, user will define
the variable "OEQA_JSON_RESULT_DIR" with the custom directory for
json testresult.
(From OE-Core rev: 5d135d4769b6bb60d575eb6ed196367f9e077cc4)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the preceeding commit to:
* Add STARTTIME to the identifier to make it unique
* Use LOG_DIR
* Store the layer config in a more natural json format
* Drop '_' function prefixes
(From OE-Core rev: 173f59acf9722e2ef27fdd49c20f7d3d664917eb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia to store testresult,
OEQA selftest need to output testresult into json files, where
these json testresult files will be stored into git repository
by the future test-case-management tools.
By default, json testresult file will be written to "oeqa"
directory under the oe-selftest log directory.
To configure multiple instances of bitbake to write json testresult
to a single testresult file at custom directory, user will define
the variable "OEQA_JSON_RESULT_DIR" with the custom directory for
json testresult.
(From OE-Core rev: 10697165c832e3dbb2913b6215164ea75e23ec23)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia to store testresult,
OEQA need to output testresult into single json file, where json
testresult file will be stored in git repository by the future
test-case-management tools.
The json testresult file will store more than one set of results,
where each set of results was uniquely identified by the result_id.
The result_id would be like "runtime-qemux86-core-image-sato", where
it was a runtime test with target machine equal to qemux86 and running
on core-image-sato image. The json testresult file will only store
the latest test content for a given result_id. The json testresult
file contains the configuration (eg. COMMIT, BRANCH, MACHINE, IMAGE),
result (eg. PASSED, FAILED, ERROR), test log, and result_id.
Based on the destination json testresult file directory provided,
it could have multiple instances of bitbake trying to write json
testresult to a single testresult file, using locking a lockfile
alongside the results file directory to prevent races.
Also the library class inside this patch will be reused by the future
test-case-management tools to write json testresult for manual test
case executed.
(From OE-Core rev: 00e03b5004f1eb6d59295544b3a8620504278f51)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are both "curl" and "libcurl" CPEs in NVD.
All "curl" CVEs are now missed in the reports.
Hence, switch "CVE_PRODUCT" to a space separated list
of the items.
(From OE-Core rev: 69ff709c2450c42139fd9705e3a74464221ad754)
Signed-off-by: Grygorii Tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are both "curl" and "libcurl" CPEs in NVD.
All "curl" CVEs are currently missing in the reports.
Hence, switch "CVE_PRODUCT" to a space separated list.
It is useful for recipes generating several packages,
that have different product names in NVD.
(From OE-Core rev: 404f75e026393ddc55da87f6f04fb1201cff4e11)
Signed-off-by: Grygorii Tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12390]
Updated three variables: BB_ALLOWED_NETWORKS, BBMASK, and BBFILES.
Fixed some linking to be sure to use Python3 links instead of
Python 2. Fixed a note to clarify use of the "*" wildcard
restrictions in the BB_ALLOWED_NETWORKS variable.
(From yocto-docs rev: 6f880d10d0830d80cc2d4d1d5b7ea141dad6d4af)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11107]
Updated the SSTATE_MIRRORS variable description to include
explanation of how to use regular expressions to map file locations
to server-provided URLs to share sstate information.
(From yocto-docs rev: 1357095864ee919f576de8df36f4e177b24fdd22)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12390]
Applied some fixes to the variable wildcard support documentation
in the BitBake manual. Wording changes and changes to make links
referencing Python syntax go to version 3 rather than version 2.
(Bitbake rev: 0cfc71d1a342b82781b0ba547421e41f6340902a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12390]
Added specific descriptions for how wildcarding works for a variety
of variables and files (e.g. append files).
(Bitbake rev: 0a4377cb1837ede213d9640344f4908de3689d91)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
stap-exporter runs a set of systemtap scripts and relays
their procfs outputs to remote HTTP clients on demand.
systemtap-exporter is not supposed to run in untrusted
environment. It starts HTTP server on some port. It does
not look safe enough to be included by default along with
the rest of systemtap.
Move systemtap-exporter, its systemd unit, configuration
files and examples scripts into separate package. So if one
needs it and understand its implication, he/she can include
it explicitely.
(From OE-Core rev: 03e01c26a297642dbe4b0e1c7cf2cbe3c225140e)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to handle distros which contain glibc 2.28 such as
Ubuntu 18.10.
(From OE-Core rev: 5c7d9abcd611d23d4340f9a0aee2564f72158a0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After create_packages_dir added in below commit:
85e72e1 package_manager: Filter to only rpms we depend upon
When add below line into conf/local.conf
INHERIT += "packagefeed-stability"
There comes below error when do_rootfs
Exception: FileExistsError: [Errno 17] File exists: '/$Prj/tmp/deploy/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm' -> '/$Prj/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm'
def create_packages_dir(d, subrepo_dir, deploydir, taskname, filterbydependencies):
[snip]
bb.utils.remove(subrepo_dir, recurse=True)
[snip]
In create_packages_dir function, there is a logic
as bb.utils.remove(subrepo_dir, recurse=True) to
clean subrepo_dir which is actually as example is
/$Prj/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm.
But currently when inherit packagefeed-stability class,
the deploydir should be /$Prj/tmp/deploy/rpm-prediff,
not the default /$Prj/tmp/deploy/rpm.
If use /$Prj/tmp/deploy/rpm, then result in the
logic as below:
os.link("/$Prj/tmp/deploy/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm", "/$Prj/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm")
Update to the actual deploydir to guarantee the logic
as below:
os.link("/$Prj/tmp/deploy/rpm-prediff/i586/initscripts-1.0-r155.i586.rpm", "/$Prj/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/oe-rootfs-repo/rpm/i586/initscripts-1.0-r155.i586.rpm")
(From OE-Core rev: 3b17052611e640fb3db5d03c06ab87185a12be58)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add back alternatives for init utilities to avoid regression.
These alternatives were removed when upgradeing systemd to 239.
They were removed out of the logic that init utitilies should be
bound to init manager. However, it turned out that two use cases
were not covered.
1) initramfs using commands like 'reboot' from busybox.
2) Users use customized busybox defconfig which enables init utilities.
The first use case caused a regression bug in yocto.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12914
Patches were sent to fix the reboot problem.
But this is not enough. As we may have the second use case. In such
situation, users will find themselves having regression error when
using 'busybox + systemd' (and busybox is installed after systemd,
overriding the systemd symlinks).
So in order to avoid regression, add back these alternatives.
(From OE-Core rev: 43ef422d80e0544232a9361187ac1c608304c969)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Weston needs to be configured to load the fbdev driver when run on a QEMU system.
Other MACHINEs may want to also provider their own configuration as well..
Adding a new RRECOMMEND configuration package will allow this, but avoid
installing empty packages/files in the majority case where it is not needed.
Add maintainer entry as well.
(From OE-Core rev: 0f43ea8510ae6148a49eb25accac407b6b301b43)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ptest has dependencies on other tests so contain them in a
variable. This allows layers to not worry about maintaining the depends
themselves.
(From OE-Core rev: c5c5ad9030ec7ddaa6387e2ba52e9e37b9ea76a2)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CONFIG_SECURITY_SELINUX=y is enabled in kernel configuration, then
'make scripts' command in /usr/src/kernel fails to build
utilities under scripts/selinux that would be pulled in by this config:
HOSTCC scripts/selinux/genheaders/genheaders
scripts/selinux/genheaders/genheaders.c:19:10: fatal error: classmap.h: No such file or directory
#include "classmap.h"
To address this issue add security/selinux/include files into
kernel-devsrc.
(From OE-Core rev: 8dce789ae1a2c11521ebe895fd3bd636cff64261)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lvm2 currently requires libaio. So building nativesdk-lvm2 will
result in the following error.
ERROR: Required build target 'nativesdk-lvm2' has no buildable providers.
Missing or unbuildable dependency chain was: ['nativesdk-lvm2', 'nativesdk-libaio']
Extend libaio to nativesdk to fix this issue.
(From OE-Core rev: 5f56ce58360320d7ef9526b3bdcc7e26a647b6de)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros want to install the kernel in a custom location other
than /boot and have it properly packaged, so it's useful to use a
weaker assignment.
(From OE-Core rev: cadd91655a336eb6d65ca43dc1231bbe5271e1cf)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed ptest issue
vet config not found
(From OE-Core rev: 735430db632bcb1a1a5e7fe85b56408396881894)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using systemd, the systemd-fstab-generator would parse the
/etc/fstab and create the corresponding unit dynamically. So we don't
need to handle the ADD action for the partitions in /etc/fstab.
(From OE-Core rev: 6104109ceba1a1323e42d67a632921fb91184ab6)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 4ca9402c37 ("udev-extraconf: Add systemd-mount to
udev-extraconf/mount.sh") uses the systemd-mount to mount the new added
disk partitions if systemd is used. But it forgot to move the codes
which tries to mount the partition by using the configuration in
/etc/fstab to the non-systemd function. And it will cause the
systemd-mount try to mount the partition synchronously and trigger a
recursively dependency like the following:
dev-sda1.device -> run-media-sda1.mount -> dev-sda1.device
(From OE-Core rev: fcf6a4d629c05048cbb7298e285d84ff73a320d2)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version of systemd has changed the symbolic link between
/sbin/init and /lib/systemd/systemd to relative. So the output of
the command 'readlink /sbin/init' become:
../lib/systemd/systemd
Then it causes the following check of "/lib/systemd/systemd" to return
false. Fix this issue by using the canonical file name of the systemd.
(From OE-Core rev: 352b3f0b07370d8df7d6ae13c0bac0697f7751ba)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The automount udev rule in udev-extraconf is likely to cause conflicts
or failures in case of systemd. We are seeing errors like below for
qemu bsps.
run-media-hdc.mount loaded failed failed /run/media/hdc
So do not install udev-extraconf in case of systemd in these two
packagegroups.
(From OE-Core rev: ecf1e696a03f11e19247c4f37e17de7084d0056c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit b1f10b18ea added the NPM_INSTALL_DEV
variable. But due to the use of simple assignment, a recipe can't override its
value.
(From OE-Core rev: b53d5094d5e05f9c1955c8565d777ad74f668f7e)
Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The node binary searches for packages in a number of locations, the last
of which is $PREFIX/lib/node (here: /usr/lib/node) from the list of
GLOBAL_FOLDERS [1]. So change the installation directory for all
packages depending on npm.bbclass to that location. This removes the
need to define the NODE_PATH variable to the non-standard
/usr/lib/node_modules value.
While the Tips for Package Managers [2] discusses installing packages to
/usr/lib/node_modules/<name>/<version>, this has several drawbacks:
* it does not work for the REPL as mentioned in the documentation
* it also does not work for any code _not_ installed as a global
package under /usr/lib/node_modules (e.g. /usr/share/foo.js will not
find any packages below /usr/lib)
* using the non-default location and then having to set NODE_PATH
barely saves any time: there are only two file-system lookups (to the
legacy $HOME/.node_modules and $HOME/.node_libraries) directories
before the library would be found
And the suggestion was made in the context of deduping the node_modules
tree by installing all packages in a flat hierarchy and using symlinks
to the correct version of each dependency. This is not what OpenEmbedded
does, so none of those benefits (deduping, cleaner packages) are being
had by shifting the installation directory to /usr/lib/node_modules.
The choice of a "proper" installation path is not helped by npm
installing to /usr/lib/node_modules if asked to install globally. Still,
using the location expected by nodejs (/usr/lib/node) seems the right
choice.
[1]: https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders
[2]: https://nodejs.org/api/modules.html#modules_addenda_package_manager_tips
(From OE-Core rev: c73bc49038effd64f2c2542c1f4da8b6a4168477)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid mips32 x-compiler warnings such as:
| ../../../valgrind-3.14.0/helgrind/tests/annotate_hbefore.c:360:6: warning: no previous prototype for 'do_signal' [-Wmissing-prototypes]
| void do_signal ( UWord* w )
| ^~~~~~~~~
by making functions and global variables that are file scope be static
and more importantly also avoid an assembler error:
/tmp/cce22iiw.s: Assembler messages:
/tmp/cce22iiw.s:446: Error: symbol `exit_0' is already defined
/tmp/cce22iiw.s:448: Error: symbol `exit' is already defined
/tmp/cce22iiw.s:915: Error: symbol `exit_0' is already defined
/tmp/cce22iiw.s:917: Error: symbol `exit' is already defined
(From OE-Core rev: 5fface331c46b809c10b4f3d65904534d6933896)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When multilib is enabled and both udev-hwdb and ${MLPREFIX}udev-hwdb are
installed to image, it fails to run one of their postinstall scripts
that they both call ${base_bindir}/udevadm with same user mode qemu.
Duplicate udevadm and add postinst-intercept update_udev_hwdb to fix the
failures.
(From OE-Core rev: d6b737a31a8842cdc770b05e28503c81a691d10d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-selftest's devtool tests have been broken since commit 2457cd57
(oe-selftest: devtool: avoid parallel races by using temporary copy of
core) if meta is a symbolic link.
(From OE-Core rev: daba6c5a991b370709d17e51305334f55a3858ec)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that we default to latest go recipes
1.9 is not supported anymore
(From OE-Core rev: d48c8148eae41e613448d78c26516538244cd9c9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a new systemd-conf recipe to contain the specific system/machine
configuration items. This new package is now machine specific.
Without doing this trying to create a single system with multiple BSPs,
one of which was qemu based, would result in the systemd -and- everything that
dependend upon systemd to have their hash changed. The hash changing means
lots of rebuilds, but worse if it's a package based system each different
machine ends with a new PR value and a newly generated package.
(From OE-Core rev: d3395418758ed414eee3e95e13d2d8bc5dca88cc)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The removed patches are all upstream.
Adjusted two patches due to rebase.
Guard against __GLIBC_PREREQ for musl libc
(From OE-Core rev: 37841ec56d7756ec9ee00e2a2005681b220f6f5d)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copying files from the read-only root filesystem to the tmpfs
providing the volatile directories can be slow and waste memory.
If the kernel supports the overlay filesystem, use it to mount
a writable tmpfs on top of the read-only directory from the
rootfs and avoid copies.
Analogous to the modification made to initscripts's
read-only-rootfs-hook in 370fda1b2e8d5dc011522131bba4106de26bfb19.
(From OE-Core rev: b4976f3cf8cd028f165100b67867adb862da4d7f)
Signed-off-by: Matt Hoosier <matt.hoosier@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSSL supports out-of-tree builds so we should use them. This makes builds
more reliable, and makes it easier to reduce the size of the ptest package.
(From OE-Core rev: e028b4457781f60d8491a99a23011996fa913013)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the ptest installation was simply a copy of the entire build tree,
which is terribly ugly.
Instead copy just the pieces we need, symlink to /usr as appropriate, and add
missing dependencies. Remove PRIVATE_LIBS as we don't ship copies of the
libraries now.
Also remember to do 'set -x' in run-ptest, so if the tests fail the runner
knows!
[ YOCTO #12965 ]
[ YOCTO #12967 ]
(From OE-Core rev: 7831d2d3a1069b9d3a8d32e41f0a292e1add56ba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The node binary searches for packages in a number of locations, the last
of which is $PREFIX/lib/node (here: /usr/lib/node) from the list of
GLOBAL_FOLDERS [1]. Change the installation directory for all packages
depending on npm.bbclass to that location. This removes the need to
define the NODE_PATH variable to the non-standard /usr/lib/node_modules
value.
While the Tips for Package Managers [2] discusses installing packages to
/usr/lib/node_modules/<name>/<version>, this has several drawbacks:
* it does not work for the REPL as mentioned in the documentation
* it also does not work for any code _not_ installed as a global
package under /usr/lib/node_modules (e.g. /usr/share/foo.js will not
find any packages below /usr/lib)
* using the non-default location and then having to set NODE_PATH
barely saves any time: there are only two file-system lookups (to the
legacy $HOME/.node_modules and $HOME/.node_libraries) directories
before the library would be found
And the suggestion was made in the context of deduping the node_modules
tree by installing all packages in a flat hierarchy and using symlinks
to the correct version of each dependency. This is not what OpenEmbedded
does, so none of those benefits (deduping, cleaner packages) are being
had by shifting the installation directory to /usr/lib/node_modules.
[1]: https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders
[2]: https://nodejs.org/api/modules.html#modules_addenda_package_manager_tips
(From OE-Core rev: 2036137151929b541293154ff529475071cd92b0)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For conditonally applied patches based on SRC_URI overrides, the
devtool-source class would try to create a new branch for each override
assignment as a postfunc to do_patch, but if the same override was used
multiple times, it would try to create the same branch multiple times,
causing errors like
> Exception: bb.process.ExecutionError: Execution of
\ 'git checkout f0f0f0f0f0ff0f0f0f0f0f0f0f0f0f0f0ff0f0f0 -b devtool-override-foo'
\ failed with exit code 128:
> fatal: A branch named 'devtool-override-foo' already exists.
This change makes sure that the devtool-source bbclass will only create
one branch per override.
(From OE-Core rev: 95a921959d340f74b5604df57737c1eeaad0023e)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Reviewed-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora28 repackages rpcgen program to rpcgen
package and the program will no longer be
part of the glibc-common package.
fedora 28:
$ rpm -qf /usr/bin/rpcgen
rpcgen-1.3.1-4.fc28.x86_64
fedora 27:
$ rpm -qf /usr/bin/rpcgen
glibc-common-2.26-27.fc27.x86_64
Once build a project on fedora28 host without
installing the extra rpcgen package, there
comes below error:
ERROR: Unable to start bitbake server
ERROR: Last 10 lines of server log for this session (/yocto/builds/upgrade2/bitbake-cookerdaemon.log):
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
File "/yocto/poky/bitbake/lib/bb/cooker.py", line 197, in __init__
self.initConfigurationData()
File "/yocto/poky/bitbake/lib/bb/cooker.py", line 356, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/yocto/poky/bitbake/lib/bb/cookerdata.py", line 317, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
rpcgen
So add nativesdk-rpcsvc-proto to provide the
program rpcgen to fix the gap.
(From OE-Core rev: 52fbf46a32f03266e31811fde7d4466e7ef85fc8)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 1.10 recipes in favor of 1.11
we have had reports of 1.10 not being quite
functional wth OE
(From OE-Core rev: 1cf3aee0ba0fb0c2e8b82f403384a1928a9b03f4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the following CVE.
CVE: CVE-2018-1000802
(From OE-Core rev: c0343f1035af98cb451eea0de94c16fe89ffdf48)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of today there's no port of Valgrind for ARC so disabling it.
(From OE-Core rev: c1a98853f90857a735bacf75ccbdd6f2f7094ccf)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even on multilib systems, /usr/lib is where systemd expects the
os-release file to live.
(From OE-Core rev: b7b476efee8c959a0227905e40bd9b5ef493632d)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are also provided by toybox in its default configuration,
and can be turned on in busybox.
(From OE-Core rev: 33c8dc08c9b160a0bb1d71d8b421a99de6e6eeee)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a builder which has /tmp mounted nexec, the ARM64 generation of
the sycall table will fail:
[snip]
|perf-1.0/tools/perf/arch/arm64/entry/syscalls//mksyscalltbl:
/tmp/create-table-6VGPSt: Permission denied
[snip]
To avoid the permission denied error, we must instruct the perf build
to place temporary files in an appropriate directory (versus always
using /tmp). To do this, we need both a kernel source change to perf,
and a recipe change to pass the temp directory in by a TMPDIR variable.
The linux-yocto has a reference kernel change: [perf arm64: Fix generate
system call table failed with /tmp mounted with noexec], that has also
been submitted upstream mailing list linux-perf-users@vger.kernel.org
(From OE-Core rev: d819e7fa76e2b732aa7c33ab0e9a834781090824)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added specific wildcarding support descriptions for all related
variables and file panthnames.
(From yocto-docs rev: 543e398c4ae1bce38517a88cd91c957a583a2892)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable has a _remove applied to it but that variable is in turn
'renamed' through OVERRIDES, the removal gets lost with the current code.
TEST = "foo"
TEST_someval = "bar"
TEST_someval_remove = "bar"
OVERRIDES = "someval"
currently gives "bar" for TEST but should give "".
This fixes the code to track the removal and adds a test case to ensure this
doesn't regress again.
(Bitbake rev: 8f55010c18057be040f073d8bcb4c5c2c311d809)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you try to build a system with multiple BSPs, one of which is qemux86
or qemux86-64, the gstreamer package will change. This will trigger
anything using gstream to also be rebuilt.
For a package based system, the PR values will also be incremented each
time. The end result will be an ever growing set of PR values as well as
being unable to tell which configured version of the multimedia components
are really being deployed.
These therefore belong in the machine configuration.
(From OE-Core rev: 112775995158cf6c504fd6beef345ee446f4f11d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use dhcpd6.conf for DHCP IPv6 and dhpcd.conf for DHCP IPv4.
(From OE-Core rev: 0772ed9acf96c53b05e6ac19e1af78bbb1192a3b)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel mounts /proc and /sys with the mode 555. Fedora explicitly
sets this value in its filesystem setup package. Debian doesn't seem
to set it explictly. Having them be 755 causes permission issues on
upgrades inside a container where the guest does not have the
permission to change the modes of the mount points.
So, just bite the bullet and force them to be 555.
(From OE-Core rev: 7e311b0c7222fa9127a96945c9ded7bee5e40eb3)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
toybox by default has a priority of 60, and busybox of 50. Bump kmod's
priority so that it beats both toybox and busybox.
(From OE-Core rev: b17ae3e13dea4b12f1720170237142e04d5ab578)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MPFR has a couple of things implemented in assembly and in case of
ARC those parts were written long ago when ARC GCC port was not yet
upstreamed. On upstreaming of GCC some constraints were changed and
so we can no longer build MPFR for ARC with up-to-date tools seeing
something like that:
| In file included from ../../mpfr-4.0.1/src/mpfr-impl.h:112,
| from ../../mpfr-4.0.1/src/mul.c:24:
| ../../mpfr-4.0.1/src/mul.c: In function 'mpfr_mul':
| ../../mpfr-4.0.1/src/mpfr-longlong.h:415:3: error: impossible constraint in 'asm'
| __asm__ ("add.f\t%1, %4, %5\n\tadc\t%0, %2, %3" \
| ^~~~~~~
(From OE-Core rev: 887a062ca139014ae6dfd1919e0ff9a5ef4db35e)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you try to build a system with multiple BSPs, one of which is qemux86
or qemux86-64, the overall system configuration will change and all of the
graphics packages will end up being rebuilt each time.
For a package based system, the PR values will also be incremented each
time. The end result will be an ever growing set of PR values as well as
being unable to tell which configured version of the graphics components
are really being deployed.
The solution was to always include the virgl gallium driver when an x86
based target is used. This may end up wasting some space, but solves the
hash issue.
(From OE-Core rev: 37e9465b342f6075ce13479dfed59cd2a7cc46ae)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor the original _getDetailsNotPassed method to return
testresult details (test status and log), which will be reused
by future OEQA code to write json testresult.
Take the opportunity to consolidate and simplify the logic used
to gather test status and log within the TestResult instance.
(From OE-Core rev: 79ee7d1c371a86edeb61c99679985118da657e5d)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The __pycache__ is created based on python3 version in the build machine
and isn't a garantee to be useful on the system that runs exported tests.
(From OE-Core rev: 405e822e9da4b53ec9ee8019364fdcb13ccc2587)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the situation where the task do_package_write_rpm ends up in
"liblzma: memory allocation failed". This happens if the host
environment has set a limit on virtual_memory for the user with
'ulimit -v' for packages with a lot of binary packages, e.g. glibc-locale.
(From OE-Core rev: a937cff2746073d1dea37d85e7305d8d6705ff28)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If remove() is called with an empty package list, ensure we do nothing instead
of calling the underlying package manager with an invalid command line.
[ YOCTO #12900 ]
(From OE-Core rev: 715ec20c433cb4ed5fde938c33a42b2a296e4e56)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds some basic tests for task checksums to ensure that the
checksums:
* change when variables change
* change when active _remove operators are present
* don't change when the _remove operators are not active
* change when an active contains() expression is present
* dont' change a contains() expression isn't active
There is a lot of other functionality which should be added to this
test but its a start.
(Bitbake rev: 5463c16e3619d324aed137f47f93f0997a227d29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By creating a standalone function, we can add better functional testing
of this code.
(Bitbake rev: 796a20d24dc18479de1975a37b9e52a5ac75c73f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently remove operations are not being accounted for in the task
checksums. This is a fairly serious oversight and needs to be fixed.
To do so, we need internal data from getVarFlag combined with the
expanded variable data so that only "active" remove operators are
accounted for in the task checksum. We can get this from the new
optional removes attribute in the returned parser object.
The code can then use the data on active remove operators to account
for the removals in task checksum but only when the removal is active.
We have to be careful here not to reference any expanded data since this
may for example contain build paths. This means we can only map back
and reference the unsplit (and hence unexpanded) remove string which may
expand to multiple removal values.
[YOCTO #12913]
(Bitbake rev: 57d2ee17ae83a139a37081eb082e6184fa883581)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The contents of the expand_cache is meant to match the return value of
getVarFlag() but the implementation was mostly in expandWithRefs(). If
an incorrect key was passed to expandWithRefs(), or a variable was only
partially expanded with no remove processing, the cache could become
corrupted.
Move the code to getVarFlag making the data lifecycle very clear, meaning
other calls to expandWithRefs() cannot corrupt the cache.
The expand_cache reset code needs to be moved ahead of any remote data
connectors too, since the expand_cache is now on the local side of the
connection.
(Bitbake rev: a039052f9b680eae53f3f12b7381b945f1d69253)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This brings _remove handling into line with _append/_prepend with regard
to the parsing flag to getVarFlag.
This is an internal flag and the only times this is used is through getVar
during renameVar operations and when processing ?= operations to see if
a variable is set. In either case we don't need to process remove operations.
Therefore take the minor speedup and skip processing for parsing=True.
[YOCTO #10945]
(Bitbake rev: 6d19eb3226b59922c0f888e33b28443635151501)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Calling getVarFlag with flag=None makes no sense, don't do it. Bitbake
used to silently ignore this, it now warns so avoid the warning.
(Bitbake rev: a68de8ace62eaba23856bfb301efbbe1824322aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Contrary to what the manual said, BB_RUNTASK does include the do_
prefix, unlike BB_CURRENTTASK.
(Bitbake rev: 3f4968c77129252e8d0833fbd683372fca243a90)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provide more information in the case the sources are not found in the
unpack step.
(Bitbake rev: 27a2214bf6f2e7c61bfc422a20959a55f7e0d25d)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A user friendly error is throw when neither the clonedir nor
fullshallow exist. Without the check, a difficult to interpret error
is throw from within the fetch command.
(Bitbake rev: 30cf2506007d25162f0805051212f54c39034ff3)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For better readability and future use, we extract the function which
ensures that a given symlink exists.
(Bitbake rev: 5e69ca56533666a097bb23d09ab673e5c862051c)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local shallow tarballs is not obvious. For
easier understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: 05f2ac8e19a027d103921b5ae0070db609a83042)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local tarballs is not obvious. For easier
understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: c604d9402b4c9ad7eb5c794ab24f2f348d9719a9)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mapping of the URLs to the local directory is not obvious. For easier
understanding, we add this tests to explicitly showing the mapping.
(Bitbake rev: 5f92682389fee437d6df2ff7718c571b7444e179)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some recent changes broke SRCPV and workaround was introduced
to avoid circular dependency if SRCPV is in PV.
However there is still the same error if SRCPV is in PR.
(Bitbake rev: 05ee4845f925b8528a7ce9cffb4bae425b8fa1e9)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Searching in the task explorer requires one to focus the task list. A
readily visible and focused search bar makes searching intuitive.
(Bitbake rev: 43f8a23d56995f552f98a666e86b6cc124e235a4)
Signed-off-by: Tobias Olausson <tol@hms.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the list_obj function, we can't check if the requested object is 'in',
the index data -- as it's actually an attribute of the object. Move to hasattr.
The remaining items were incorrect usages of 'type' for class type comparison.
Instead move to 'isinstance'. Remaing 'type' comparisons are still valid. The
code was also reordered slightly to avoid a lot of:
if not isinstance(x, y):
...
else:
...
reordering it removes the not and makes the code slightly easier to read.
(Bitbake rev: cddea4282820ef10ad4863d87327891ea9383916)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "buildimport.py" script is missing the "import shutil" line,
which causes a project import page failure.
[YOCTO #12959]
(Bitbake rev: 0bfbcc786fd67bd40153160db7fcd41cd9295234)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The version of django in the 2.6 release got bumped to 1.11.14.
The toaster requirements file needs to be updated to accept it.
[YOCTO #12958]
(Bitbake rev: b081b78a330fee30b172c2c8bdc9c196a65be9af)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distro source path link is missing "conf/distro/", and the
display is using the machine link instead of the distro link.
[YOCTO #12957]
(Bitbake rev: e43ff061b03878057e49c44aa3ee2e4c7a5d5503)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have some slightly odd behaviours with the current implementation of
_remove operations. For example:
TEST = " A B"
TEST_remove = "C"
would trigger TEST to become "A B" even thought it doesn't contain "C".
In particular, this means that an inactive remove operator added in a
bbappend could change the task checksum which is not desireable.
Fix the operation to preserve whitespace, adding new tests to make this
explict and test further corner cases. Also update the manual to match.
(Bitbake rev: c0a23dd9155c50a6b7df796980bc7b612cac7994)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently when a variable is renamed, all the variable history is lost.
This makes it hard for users to understand/debug where values came from.
Improve the code so that history is preserved across renamed variables.
(Expanded variable key names are a special case of variable renaming)
(Bitbake rev: 11722c989077a8751a5d0653c523760bf91e6efa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: systemtap-4.0-r0 do_package: QA Issue: systemtap:
Files/directories were installed but not shipped in any package:
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/stap-exporter.service
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within
do_install.
systemtap: 4 installed and not shipped files. [installed-vs-shipped]
(From OE-Core rev: d31212bcfe9232e7f6ac9efb4fad0be175a9ca00)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg has supported the --add-exclude option to install since 0.3.0, so use it to
implement support for PACKAGE_EXCLUDE.
(From OE-Core rev: 6cc99d48c57cb22104980d0d758540e06cb7b80d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Static libraries are not included in rootfs, it means, that sources are
not going into debug rootfs. This option enables to install additional
packages even if the standard package is not installed.
(From OE-Core rev: 708fe1df3d3e22dd693ae7bbfdd3e5af1a1b0bdc)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative setting for switch_root belongs to the util-linux-switch-root
package instead of the util-linux package. Fix this problem to avoid
a dangling symlink:
/usr/bin/switch_root-> /usr/bin/switch_root.util-linux
on target and in the sdk.
(From OE-Core rev: b8366a7057da8b880ca36c38999ef658594f4fde)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
0b46ce3e3423 Linux 4.14.76
c03f0ab15f3b ath10k: fix scan crash due to incorrect length calculation
711b942ae3be virtio_balloon: fix increment of vb->num_pfns in fill_balloon()
7f42eada5e3f virtio_balloon: fix deadlock on OOM
251bc1f44c33 rds: rds_ib_recv_alloc_cache() should call alloc_percpu_gfp() instead
4c925efc2230 ubifs: Check for name being NULL while mounting
5656b7354183 ucma: fix a use-after-free in ucma_resolve_ip()
3a7a9fb68c97 f2fs: fix invalid memory access
dfe96e30b5a5 perf utils: Move is_directory() to path.h
75fc05a20f5f crypto: chelsio - Fix memory corruption in DMA Mapped buffers.
b5dcd4ab8e6c ARC: clone syscall to setp r25 as thread pointer
af1a8101794d powerpc/lib: fix book3s/32 boot failure due to code patching
609fbeddb24c powerpc: Avoid code patching freed init sections
4e43fbc8ef25 powerpc/lib/code-patching: refactor patch_instruction()
0f6e2f4e06be nvme_fc: fix ctrl create failures racing with workq items
1b2ad48a85c4 ath10k: fix kernel panic issue during pci probe
8146256b7dcd ath10k: fix use-after-free in ath10k_wmi_cmd_send_nowait
327400b3a708 perf tools: Fix python extension build for gcc 8
ec727693a9ef perf annotate: Use asprintf when formatting objdump command line
79f87e09bcb2 of: unittest: Disable interrupt node tests for old world MAC systems
171f90d4ae84 tty: Drop tty->count on tty_reopen() failure
c92e73b11ed1 usb: cdc_acm: Do not leak URB buffers
821c42e7d5ea USB: serial: simple: add Motorola Tetra MTP6550 id
35123e64a168 usb: xhci-mtk: resume USB3 roothub first
c096f5c4a8bc xhci: Add missing CAS workaround for Intel Sunrise Point xHCI
ec6ae632e04b dm cache: fix resize crash if user doesn't reload cache table
f11a6abfdb41 dm cache metadata: ignore hints array being too small during resize
1364055c96c5 PM / core: Clear the direct_complete flag on errors
9047696cb3f8 mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys
8ebd65583375 PCI: Reprogram bridge prefetch registers on resume
25bc6e80f9d6 x86/vdso: Fix vDSO syscall fallback asm constraint regression
1194e838b879 x86/vdso: Only enable vDSO retpolines when enabled and supported
64ff5747e2af selftests/x86: Add clock_gettime() tests to test_vdso
30500cc74a36 x86/vdso: Fix asm constraints on vDSO syscall fallbacks
71a0556255de drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
0c0dd182adae drm/amdgpu: Fix vce work queue was not cancelled when suspend
309a1c5cfc59 xen-netback: fix input validation in xenvif_set_hash_mapping()
f66d89483bb3 fbdev/omapfb: fix omapfb_memory_read infoleak
887361696fb9 clocksource/drivers/timer-atmel-pit: Properly handle error cases
8e2e2192eb35 blk-mq: I/O and timer unplugs are inverted in blktrace
87a9d1cc2e8f KVM: x86: fix L1TF's MMIO GFN calculation
5178716b55c4 mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly
a2e0493f99e6 mm, thp: fix mlocking THP page with migration enabled
5f4f5b1f4491 mm: migration: fix migration of huge PMD shared pages
ab18409cf05f perf/core: Add sanity check to deal with pinned event failure
8e6a9240b191 Linux 4.14.75
4e7ea65127ac dm thin metadata: fix __udivdi3 undefined on 32-bit
07f79b39d474 ixgbe: check return value of napi_complete_done()
de0e2a92ccc5 ocfs2: fix locking for res->tracking and dlm->tracking_list
f8566a92ab75 proc: restrict kernel stack dumps to root
4de0fb95a287 tools: hv: fcopy: set 'error' in case an unknown operation was requested
1d24e2609002 Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect()
119bf9470be9 gpiolib: Free the last requested descriptor
1df517a4cafd crypto: caam/jr - fix ablkcipher_edesc pointer arithmetic
3b1a8535b8e1 crypto: mxs-dcp - Fix wait logic on chan threads
90ecb700345c crypto: qat - Fix KASAN stack-out-of-bounds bug in adf_probe()
a5bb359c078a ALSA: hda/realtek - Cannot adjust speaker's volume on Dell XPS 27 7760
06f93e40f939 iommu/amd: Clear memory encryption mask from physical address
dcdb2262d389 smb2: fix missing files in root share directory listing
b420b7b7923b sysfs: Do not return POSIX ACL xattrs via listxattr
fa7d75f64b80 ovl: fix format of setxattr debug
8d75ecc13fdc ovl: fix memory leak on unlink of indexed file
be406434737b ovl: fix access beyond unterminated strings
aa41fb9593af xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
a502165dae09 xen: avoid crash in disable_hotplug_cpu
4e1494794ebc xen/manage: don't complain about an empty value in control/sysrq node
dfb29d69e4d8 cifs: read overflow in is_valid_oplock_break()
7d60f98cde7a s390/qeth: don't dump past end of unknown HW header
d5afd6b6eae5 s390/qeth: use vzalloc for QUERY OAT buffer
ad297898159f r8169: Clear RTL_FLAG_TASK_*_PENDING when clearing RTL_FLAG_TASK_ENABLED
f7b86faf0bd1 drm/amdgpu: fix error handling in amdgpu_cs_user_fence_chunk
f2c9d68ed3c2 arm64: jump_label.h: use asm_volatile_goto macro instead of "asm goto"
7a2df42a5371 hexagon: modify ffs() and fls() to return int
2eb3072b2785 arch/hexagon: fix kernel/dma.c build warning
1484d4ff2770 dm thin metadata: try to avoid ever aborting transactions
1e9054e75d22 perf/x86/intel: Add support/quirk for the MISPREDICT bit on Knights Landing CPUs
36918e899e3c net: ena: fix missing calls to READ_ONCE
3e2cc5bd61fe net: ena: fix driver when PAGE_SIZE == 64kB
a5bdc726e5ff fs/cifs: suppress a string overflow warning
3941dbe190ba dm raid: fix rebuild of specific devices by updating superblock
112d65a51f2b drm/nouveau/disp: fix DP disable race
1a255bf1e749 drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
34d54566ae4a net/mlx5: Consider PCI domain in search for next dev
f36f3ebdf1e1 nvmet-rdma: fix possible bogus dereference under heavy load
a90a52c51ad4 USB: yurex: Check for truncation in yurex_read()
2c423318f07c HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report
d4da71220317 RDMA/ucma: check fd type in ucma_migrate_id()
60ea8815d6e8 Revert "iio: temperature: maxim_thermocouple: add MAX31856 part"
1173678a4f4a netfilter: nf_tables: release chain in flushing set
c00f01c40211 perf probe powerpc: Ignore SyS symbols irrespective of endianness
4095fd29fee7 perf util: Fix bad memory access in trace info.
9d7bc329c123 perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()
8b98b7eeb45d scsi: qedi: Add the CRC size within iSCSI NVM image
dd44c35cc16c scsi: iscsi: target: Set conn->sess to NULL when iscsi_login_set_conn_values fails
b6515e0f915b HID: hid-saitek: Add device ID for RAT 7 Contagion
81c823c22355 usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]
b6cc0ba2cbf4 HID: add support for Apple Magic Keyboards
b969656b4662 netfilter: xt_cluster: add dependency on conntrack module
10fdfea70d46 bpf: 32-bit RSH verification must truncate input before the ALU op
dcc89aaf5a8d mm: madvise(MADV_DODUMP): allow hugetlbfs pages
ee0516c4a1fe tools/vm/page-types.c: fix "defined but not used" warning
5cbf015b971c tools/vm/slabinfo.c: fix sign-compare warning
27c4ad84fd01 mac80211: shorten the IBSS debug messages
e132eb09fdd2 mac80211: don't Tx a deauth frame if the AP forbade Tx
8788737af389 mac80211: Fix station bandwidth setting after channel switch
37cdc7e35ae4 mac80211: fix a race between restart and CSA flows
4fa55f6d29fd cfg80211: fix a type issue in ieee80211_chandef_to_operating_class()
43a01409ef4c mac80211: fix an off-by-one issue in A-MSDU max_subframe computation
25cb8544342a fs/cifs: don't translate SFM_SLASH (U+F026) to backslash
8590e6fecb5e net: cadence: Fix a sleep-in-atomic-context bug in macb_halt_tx()
b08d15cc921f i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP
82fc9c6b7b9a i2c: uniphier: issue STOP only for last message or I2C_M_STOP
da26e5729c04 RAID10 BUG_ON in raise_barrier when force is true and conf->barrier is 0
36fadeb87be8 md/raid5-cache: disable reshape completely
dc492842b700 ARC: atomics: unbork atomic_fetch_##op()
7e259a0537be gpio: Fix crash due to registration race
3b83a52796cd tools/kvm_stat: fix handling of invalid paths in debugfs provider
52614f7bf1b5 tools/kvm_stat: fix python3 issues
0d66ce687869 mac80211: always account for A-MSDU header changes
2592adfe326b mac80211: do not convert to A-MSDU if frag/subframe limited
b22a5d20aab1 cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE
e7577a1f1a65 net: hns: add netif_carrier_off before change speed and duplex
7fd11a1ad542 net: hns: add the code for cleaning pkt in chip
bdd29365a74c gpiolib-acpi: Register GpioInt ACPI event handlers from a late_initcall
73bfec0a6bde gpiolib: acpi: Switch to cansleep version of GPIO library call
9a5d353908db mac80211: avoid kernel panic when building AMSDU from non-linear SKB
79448960e3d7 mac80211: mesh: fix HWMP sequence numbering to follow standard
34bec4daf88c gpio: adp5588: Fix sleep-in-atomic-context bug
0081e67083ed mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X
7c209ebc7f15 mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X
6054817c5e07 scsi: csiostor: add a check for NULL pointer after kmalloc()
4e380c50cf12 btrfs: btrfs_shrink_device should call commit transaction at the end
9e685bec07ae KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function
381538ae75cf mac80211_hwsim: require at least one channel
4ae9a73be7ac mac80211: Run TXQ teardown code before de-registering interfaces
3a738e7f734c tools/power turbostat: fix possible sprintf buffer overflow
cdb2d37d345d serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
a17e2a72e714 drm/amdgpu: add another ATPX quirk for TOPAZ
d9e61345652b drm/amd/pp: initialize result to before or'ing in data
e6abbe80c883 Linux 4.14.74
d61ba3417e4f media: v4l: event: Prevent freeing event subscriptions while accessed
fcaca557760f arm64: KVM: Sanitize PSTATE.M when being set from userspace
4fff53acff15 x86/pti: Fix section mismatch warning/error
23210d92f617 i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus
647b6d4ff699 arm/arm64: smccc-1.1: Handle function result as parameters
826d8678cde2 arm/arm64: smccc-1.1: Make return values unsigned long
75b3054d6807 ARM: dts: omap4-droid4: Fix emmc errors seen on some devices
d11237bdcf95 nvme-fcloop: Fix dropped LS's to removed target port
516b72e36ded ata: ftide010: Add a quirk for SQ201
46cb720a8a3e drm/amdgpu: Update power state at the end of smu hw_init.
50850b432cc5 drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode
9190a7ea313f Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"
d3ddd8e16cab hwmon: (adt7475) Make adt7475_read_word() return errors
0647ce03bd48 hwmon: (ina2xx) fix sysfs shunt resistor read access
59f5838cc950 crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.
243af256387c e1000: ensure to free old tx/rx rings in set_ringparam()
716865940461 e1000: check on netif_running() before calling e1000_up()
e8baff89bc3f net: hns: fix skb->truesize underestimation
333f26129fd9 net: hns: fix length and page_offset overflow when CONFIG_ARM64_64K_PAGES
92935e1c2a7e bpf: sockmap: write_space events need to be passed to TCP handler
f0a8c1257fc3 tls: possible hang when do_tcp_sendpages hits sndbuf is full case
97ee8505c637 isofs: reject hardware sector size > 2048 bytes
083be6fbfdcb thermal: of-thermal: disable passive polling when thermal zone is disabled
308206bd2770 qed: Avoid sending mailbox commands when MFW is not responsive
583f866501c1 qed: Prevent a possible deadlock during driver load and unload
73046b822c4c qed: Wait for MCP halt and resume commands to take place
33906ae926e0 qed: Wait for ready indication before rereading the shmem
38d070f9090a arm64: KVM: Tighten guest core register access from userspace
d428e43eb684 serial: imx: restore handshaking irq for imx1
016d4aae9d84 drm/i915: Remove vma from object on destroy, not close
d134e9170417 ovl: hash non-dir by lower inode for fsnotify
105470069de3 RDMA/uverbs: Atomically flush and mark closed the comp event queue
693536a7ce39 IB/hfi1: Fix context recovery when PBC has an UnsupportedVL
412a4b4db1a6 IB/hfi1: Invalid user input can result in crash
d9e49e9ed8d6 IB/hfi1: Fix SL array bounds check
fcbe49c82b82 IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop
3011b91478ff Input: elantech - enable middle button of touchpad on ThinkPad P72
9691f745e17a USB: remove LPM management from usb_driver_claim_interface()
be2360ed2d22 Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()"
ec6dc4b61c33 USB: usbdevfs: restore warning for nonsensical flags
25a8d4825165 USB: usbdevfs: sanitize flags more
67d8e231759f media: uvcvideo: Support realtek's UVC 1.5 device
1ddc0781c0ce slub: make ->cpu_partial unsigned int
e75c01761a11 usb: musb: dsps: do not disable CPPI41 irq in driver teardown
5b6717c6a3c0 USB: handle NULL config in usb_find_alt_setting()
4253abe6a3aa USB: fix error handling in usb_driver_claim_interface()
5eaaa5e9bd56 regulator: fix crash caused by null driver data
b6adc1f24bb3 spi: rspi: Fix interrupted DMA transfers
082e34f367a5 spi: rspi: Fix invalid SPI use during system suspend
6074b71d617d spi: sh-msiof: Fix handling of write value for SISTR register
d120858fca5f spi: sh-msiof: Fix invalid SPI use during system suspend
429773341c34 spi: tegra20-slink: explicitly enable/disable clock
dc89d37f9098 intel_th: Fix device removal logic
247cc73cd8f5 serial: cpm_uart: return immediately from console poll
2b7ba104769b tty: serial: lpuart: avoid leaking struct tty_struct
4fe780c1baec x86/mm: Expand static page table for fixmap space
04bc4dd86d0f floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl
f88e50ea0300 ARM: dts: dra7: fix DCAN node addresses
99795ed0c62d iio: 104-quad-8: Fix off-by-one error in register selection
a82a772da750 Input: xen-kbdfront - fix multi-touch XenStore node's locations
91e30cae8903 fs/lock: skip lock owner pid translation in case we are in init_pid_ns
0c4439c44416 EDAC: Fix memleak in module init error path
a4f7bea87887 nfsd: fix corrupted reply to badly ordered compound
de6ccdbd7734 gpio: Fix wrong rounding in gpio-menz127
5bcbbadf6ac5 module: exclude SHN_UNDEF symbols from kallsyms api
05f78b1a0e0c ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs
3fd534a5480e EDAC, i7core: Fix memleaks and use-after-free on probe and remove
c96c2f2b11b6 scsi: megaraid_sas: Update controller info during resume
a56b97a2fc2d iomap: complete partial direct I/O writes synchronously
13ab355240a9 scsi: bnx2i: add error handling for ioremap_nocache
d5963fae7f36 perf/x86/intel/lbr: Fix incomplete LBR call stack
85222eb56f2a MIPS: boot: fix build rule of vmlinux.its.S
b8e30b822d08 HID: hid-ntrig: add error handling for sysfs_create_group
69cb15d6596d arm: dts: mediatek: Add missing cooling device properties for CPUs
5ef7a3782de8 ARM: mvebu: declare asm symbols as character arrays in pmsu.c
e87efc44dd36 wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()
dad01c56989a brcmsmac: fix wrap around in conversion from constant to s16
62bd8064fa88 rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication()
3c7f6b2cf6d6 ath10k: transmit queued frames after processing rx packets
c1283a6270a2 drm/sun4i: Fix releasing node when enumerating enpoints
3f7056e1822d net: phy: xgmiitorgmii: Check phy_driver ready before accessing
accb431813bf ath10k: protect ath10k_htt_rx_ring_free with rx_ring.lock
0f4ca55e441c net: phy: xgmiitorgmii: Check read_status results
8d9fd12b1eef ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge
0ebe95dee2f2 media: tm6000: add error handling for dvb_register_adapter
0091a4ede783 drivers/tty: add error handling for pcmcia_loop_config
3af342f5ddbd staging: android: ashmem: Fix mmap size validation
1b16d06a9e27 media: omap3isp: zero-initialize the isp cam_xclk{a,b} initial data
daefaacc6e02 media: soc_camera: ov772x: correct setting of banding filter
381f8d235dd8 media: s3c-camif: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power
85d3dbd8e7f2 ALSA: snd-aoa: add of_node_put() in error path
3e3f075f72bd posix-timers: Sanitize overrun handling
a05bd4ba655f posix-timers: Make forward callback return s64
cf373da10039 iio: accel: adxl345: convert address field usage in iio_chan_spec
8cbb2f74c093 mtd: rawnand: atmel: add module param to avoid using dma
a838008bb11f s390/extmem: fix gcc 8 stringop-overflow warning
33cd135ebc97 s390/scm_blk: correct numa_node in scm_blk_dev_setup
98a34e26d93d s390/dasd: correct numa_node in dasd_alloc_queue
a4dbaf7c2de0 alarmtimer: Prevent overflow for relative nanosleep
9374ffc6f3d3 s390/sysinfo: add missing #ifdef CONFIG_PROC_FS
8deb5801f154 powerpc/powernv/ioda2: Reduce upper limit for DMA window size
45d3d58f9739 ath10k: sdio: set skb len for all rx packets
b31f41e02c80 ath10k: sdio: use same endpoint id for all packets in a bundle
149f530334f0 usb: wusbcore: security: cast sizeof to int for comparison
ebee32dd8f04 scsi: target: Avoid that EXTENDED COPY commands trigger lock inversion
336b73754169 scsi: ibmvscsi: Improve strings handling
1390c37d1670 scsi: klist: Make it safe to use klists in atomic context
bdfc40bc1b09 scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size
2cbead46fd4e ARM: dts: ls1021a: Add missing cooling device properties for CPUs
8430918a04e3 x86/entry/64: Add two more instruction suffixes
8e90c7ef50e2 ARM: hwmod: RTC: Don't assume lock/unlock will be called with irq enabled
0a29ab00339e x86/tsc: Add missing header to tsc_msr.c
23e4ab4069d1 media: staging/imx: fill vb2_v4l2_buffer field entry
6fd38ba41e34 media: fsl-viu: fix error handling in viu_of_probe()
769ae06e4442 powerpc/kdump: Handle crashkernel memory reservation failure
333cb98f393b IB/mlx4: Test port number before querying type.
1f94cf4c81cb media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()
0ca45668ecdb IB/core: type promotion bug in rdma_rw_init_one_mr()
eca859882359 RDMA/i40w: Hold read semaphore while looking after VMA
e862ab6b69c4 RDMA/bnxt_re: Fix a couple off by one bugs
e0ccd2360a47 md-cluster: clear another node's suspend_area after the copy is finished
e70f938a605a power: remove possible deadlock when unregistering power_supply
1117e411a46c s390/mm: correct allocate_pgste proc_handler callback
bc4ce060b305 iommu/msm: Don't call iommu_device_{,un}link from atomic context
96e878907c90 6lowpan: iphc: reset mac_header after decompress to fix panic
410534a34315 USB: serial: kobil_sct: fix modem-status error handling
90de5688afc3 Bluetooth: Add a new Realtek 8723DE ID 0bda:b009
834a9ef5f831 iommu/amd: make sure TLB to be flushed before IOVA freed
c7e653a24c18 power: vexpress: fix corruption in notifier registration
c1a630680c8b uwb: hwa-rc: fix memory leak at probe
72bad20e9316 serial: sh-sci: Stop RX FIFO timer during port shutdown
0470189cd9b9 misc: sram: enable clock before registering regions
914b4daa9b6d power: supply: axp288_charger: Fix initial constant_charge_current value
2efa4bd5aa9a staging: rts5208: fix missing error check on call to rtsx_write_register
6ecd10b1aa22 x86/numa_emulation: Fix emulated-to-physical node mapping
127cd4e23323 vmci: type promotion bug in qp_host_get_user_memory()
4804f372b53f tsl2550: fix lux1_input error in low light
db12e7d3e9bc iio: adc: ina2xx: avoid kthread_stop() with stale task_struct
29db2772349d crypto: skcipher - Fix -Wstringop-truncation warnings
3b65f403d7d0 Linux 4.14.73
97513162cd6d spi: Fix double IDR allocation with DT aliases
ed5e9462f661 tick/nohz: Prevent bogus softirq pending warning
3a411a04be4e iw_cxgb4: only allow 1 flush on user qps
956fa50745b3 vmw_balloon: include asm/io.h
23ac2a32b2f8 PCI: aardvark: Size bridges before resources allocation
fe87d18b1471 sched/fair: Fix vruntime_normalized() for remote non-migration wakeup
0d09307bc242 ext4: show test_dummy_encryption mount option in /proc/mounts
3dc006d212e3 ext4: don't mark mmp buffer head dirty
ba48e66e3f53 ext4: fix online resizing for bigalloc file systems with a 1k block size
6a4d7b584d38 ext4: fix online resize's handling of a too-small final block group
22654a3b4a30 ext4: recalucate superblock checksum after updating free blocks/inodes
779af00b3fa3 ext4: avoid arithemetic overflow that can trigger a BUG
3f9eafe8772f ext4: avoid divide by zero fault when deleting corrupted inline directories
31343d27f18f ext4: check to make sure the rename(2)'s destination is not freed
4334a6ae867a tty: vt_ioctl: fix potential Spectre v1
57c806be0160 drm/amdgpu: add new polaris pci id
5575041b09cd drm: udl: Destroy framebuffer only if it was initialized
c70d8a488a41 drm/vc4: Fix the "no scaling" case on multi-planar YUV formats
35e48a086071 drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early
0f966da783a3 drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()
409af02c200e drm/nouveau/drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
9ac837e079a0 drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload
42387d8e4aef drm/nouveau: Fix deadlocks in nouveau_connector_detect()
7c1ca8fb8633 ocfs2: fix ocfs2 read block panic
1d7e23f9068f Revert "ubifs: xattr: Don't operate on deleted inodes"
44383139a39c scsi: target: iscsi: Use bin2hex instead of a re-implementation
755e45f3155c scsi: target: iscsi: Use hex2bin instead of a re-implementation
50ec69edf3f0 Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name"
13d216167d3d Revert "rpmsg: core: add support to power domains for devices"
6447b34fc270 mm: shmem.c: Correctly annotate new inodes for lockdep
7eba38a3f65d ring-buffer: Allow for rescheduling when removing pages
0e5cdbac0303 Revert "PCI: Add ACS quirk for Intel 300 series"
f3765abb60c7 spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers
5ca87a38202e xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code
7eced4478f4e xen/netfront: don't bug in case of too many frags
e2d5285b98ef platform/x86: alienware-wmi: Correct a memory leak
ff6805037d83 ALSA: oxfw: fix memory leak of private data
08f4f8b93809 ALSA: oxfw: fix memory leak of discovered stream formats at error path
996899a9cbd8 ALSA: oxfw: fix memory leak for model-dependent data at error path
d9929097176d ALSA: fireworks: fix memory leak of response buffer at error path
40e2596f06b0 ALSA: firewire-tascam: fix memory leak of private data
933f20a61e26 ALSA: firewire-digi00x: fix memory leak of private data
70165a445b00 ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()
352701c288c1 ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO
7c4881d64ed7 ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping
16b8c03864b7 ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path
c7cf0304d41f ASoC: rsnd: fixup not to call clk_get/set under non-atomic
a388e6d7a822 ASoC: cs4265: fix MMTLR Data switch control
6ead7a8a4ec1 NFC: Fix the number of pipes
4a16b3cd084d NFC: Fix possible memory corruption when handling SHDLC I-Frame commands
18fef87e05d3 tls: clear key material from kernel memory when do_tls_setsockopt_conf fails
0c0334299a7e tls: zero the crypto information from tls_context before freeing
10cacaf13189 tls: don't copy the key out of tls12_crypto_info_aes_gcm_128
ee547ed7dee4 net/sched: act_sample: fix NULL dereference in the data path
b13f721a3409 udp6: add missing checks on edumux packet processing
ff64a1a2ca3d neighbour: confirm neigh entries when ARP packet is received
0f6f77f3b8f4 udp4: fix IP_CMSG_CHECKSUM for connected sockets
6f5ec16ee02b qmi_wwan: set DTR for modems in forced USB2 mode
f3aa1f3a1113 pppoe: fix reception of frames with no mac header
c0f2c063abc8 net: hp100: fix always-true check for link up state
9951e17efd05 net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT
bba90d3686fd ipv6: fix possible use-after-free in ip6_xmit()
13a47054f0b2 gso_segment: Reset skb->mac_len after modifying network header
(From OE-Core rev: 62c7a970de40e8c4d57cb6d3feebbfbcae089b27)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following commits:
e7d199e92956 Linux 4.18.14
91da9ba7bbbd ath10k: fix scan crash due to incorrect length calculation
7903dacfc64e rds: rds_ib_recv_alloc_cache() should call alloc_percpu_gfp() instead
ef37df3b8284 ubifs: Check for name being NULL while mounting
09fbdca26741 ucma: fix a use-after-free in ucma_resolve_ip()
9753a6f7497d tipc: call start and done ops directly in __tipc_nl_compat_dumpit()
4a04224bbd1a f2fs: fix invalid memory access
50231468deda ARC: clone syscall to setp r25 as thread pointer
f4a856d4ca30 powerpc/lib: fix book3s/32 boot failure due to code patching
2025ef74e8c4 powerpc: Avoid code patching freed init sections
e4f71e6ae0cb of: unittest: Disable interrupt node tests for old world MAC systems
a09a553b1693 tty: Drop tty->count on tty_reopen() failure
274a367121ae usb: cdc_acm: Do not leak URB buffers
6f0a2f6649b7 USB: serial: option: add two-endpoints device-id flag
0fcb2fb9731a USB: serial: option: improve Quectel EP06 detection
883f14f7302a USB: serial: simple: add Motorola Tetra MTP6550 id
7cea0a2e8c59 usb: xhci-mtk: resume USB3 roothub first
67c8b9c6c59c xhci: Add missing CAS workaround for Intel Sunrise Point xHCI
226c5c8a540a dm cache: fix resize crash if user doesn't reload cache table
f10b1cdb6190 dm cache metadata: ignore hints array being too small during resize
75e4e2fae0fe dm mpath: fix attached_handler_name leak and dangling hw_handler_name pointer
a92f4488357e PM / core: Clear the direct_complete flag on errors
3561037582ae mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys
e9d0ba506ea8 PCI: Reprogram bridge prefetch registers on resume
db68b064bb73 x86/vdso: Fix vDSO syscall fallback asm constraint regression
54f54a2b7fb3 x86/vdso: Only enable vDSO retpolines when enabled and supported
1af2998c34e1 selftests/x86: Add clock_gettime() tests to test_vdso
e7e1889390a4 x86/vdso: Fix asm constraints on vDSO syscall fallbacks
7ac2c7dcc1a0 drm: fix use-after-free read in drm_mode_create_lease_ioctl()
a2cef7d049f0 drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
3361789e57ec drm/amdgpu: Fix vce work queue was not cancelled when suspend
b67f9b6ab232 mac80211: allocate TXQs for active monitor interfaces
6b1adad3348a mmc: slot-gpio: Fix debounce time to use miliseconds again
7cf3272144b9 mmc: core: Fix debounce time to use microseconds
7e62c2fbc1fe xen-netback: fix input validation in xenvif_set_hash_mapping()
9b01f16ed9b9 fbdev/omapfb: fix omapfb_memory_read infoleak
771df4eea402 clocksource/drivers/timer-atmel-pit: Properly handle error cases
45a156123ce4 pstore/ram: Fix failure-path memory leak in ramoops_init
b82610b5bad9 blk-mq: I/O and timer unplugs are inverted in blktrace
fe65bf7b541f KVM: VMX: check for existence of secondary exec controls before accessing
fe7790c37cf1 KVM: x86: fix L1TF's MMIO GFN calculation
7d7e3202b7ef mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly
6b9c2cc710f5 mm, thp: fix mlocking THP page with migration enabled
0af5b07d2e62 mm: migration: fix migration of huge PMD shared pages
f5a6974616b4 perf/core: Add sanity check to deal with pinned event failure
04a3fbba60ae Linux 4.18.13
d9ef158adf04 Revert "drm/amd/pp: Send khz clock values to DC for smu7/8"
aad46f77ece0 dm thin metadata: fix __udivdi3 undefined on 32-bit
5319425024ab ixgbe: check return value of napi_complete_done()
2083ef10dedd HID: i2c-hid: disable runtime PM operations on hantick touchpad
f52ab5277368 ocfs2: fix locking for res->tracking and dlm->tracking_list
2b89f7ad519d proc: restrict kernel stack dumps to root
6a2cfcdd7b6e tools: hv: fcopy: set 'error' in case an unknown operation was requested
549498802024 Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect()
116337deb270 gpiolib: Free the last requested descriptor
277f800a2186 crypto: caam/jr - fix ablkcipher_edesc pointer arithmetic
b6479a45bd29 crypto: mxs-dcp - Fix wait logic on chan threads
27dff727876e crypto: chelsio - Fix memory corruption in DMA Mapped buffers.
18b4a538497d crypto: qat - Fix KASAN stack-out-of-bounds bug in adf_probe()
23b043d513e3 ALSA: hda/realtek - Cannot adjust speaker's volume on Dell XPS 27 7760
6abd14f40148 iommu/amd: Clear memory encryption mask from physical address
8cdcd02d9985 smb2: fix missing files in root share directory listing
17e5fb7f93f8 cpufreq: qcom-kryo: Fix section annotations
5105f039ef26 firmware: Always initialize the fw_priv list object
aa26105b73b0 firmware: Fix security issue with request_firmware_into_buf()
8b84e8d275d8 b43: fix DMA error related regression with proprietary firmware
23917913b671 sysfs: Do not return POSIX ACL xattrs via listxattr
51da3fc5cbce ovl: fix format of setxattr debug
1c7949a5f637 ovl: fix memory leak on unlink of indexed file
c33def1bb3aa ovl: fix access beyond unterminated strings
a6aa74c2ad61 ovl: set I_CREATING on inode being created
90f06e1b81b9 vfs: don't evict uninitialized inode
d08d1bb535f4 new primitive: discard_new_inode()
87a50a5e94e3 x86/APM: Fix build warning when PROC_FS is not enabled
dd618fe2ffa1 xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
b207598b0abe xen: avoid crash in disable_hotplug_cpu
58d77fd26f83 xen/manage: don't complain about an empty value in control/sysrq node
20d06facfd2f asm-generic: io: Fix ioport_map() for !CONFIG_GENERIC_IOMAP && CONFIG_INDIRECT_PIO
80e4d9a51376 cifs: read overflow in is_valid_oplock_break()
e8dcd7866638 s390/qeth: don't dump past end of unknown HW header
31ae67ad9ed6 s390/qeth: use vzalloc for QUERY OAT buffer
d3a7c76eb490 r8169: Clear RTL_FLAG_TASK_*_PENDING when clearing RTL_FLAG_TASK_ENABLED
5113d730a1ee drm/amdgpu: fix error handling in amdgpu_cs_user_fence_chunk
e76f7b7df846 arm64: jump_label.h: use asm_volatile_goto macro instead of "asm goto"
ed14acd316ba drm/amdgpu: Fix SDMA hang in prt mode v2
7389051d3c63 hexagon: modify ffs() and fls() to return int
cbbb852e4556 arch/hexagon: fix kernel/dma.c build warning
41b2bc509cda netfilter: xt_hashlimit: use s->file instead of s->private
419033c32a82 netfilter: nfnetlink_queue: Solve the NFQUEUE/conntrack clash for NF_REPEAT
e63d53f2835d dm thin metadata: try to avoid ever aborting transactions
7c995133d035 sched/topology: Set correct NUMA topology type
52017328fa15 perf/x86/intel: Add support/quirk for the MISPREDICT bit on Knights Landing CPUs
1080c0f57e00 net: ena: fix missing calls to READ_ONCE
968759747e95 net: ena: fix missing lock during device destruction
cfa70f3c46f1 net: ena: fix potential double ena_destroy_device()
023ae1b4c025 net: ena: fix device destruction to gracefully free resources
3953e192748f net: ena: fix driver when PAGE_SIZE == 64kB
0728c271d518 net: ena: fix surprise unplug NULL dereference kernel crash
3a035b70eb92 fs/cifs: suppress a string overflow warning
07d1b1058aea r8169: set TxConfig register after TX / RX is enabled, just like RxConfig
8a100be2813a dm raid: fix RAID leg rebuild errors
659cd50c8ace dm raid: fix rebuild of specific devices by updating superblock
895fe22aa4d6 dm raid: fix stripe adding reshape deadlock
00063fa09bc1 drm/nouveau/disp/gm200-: enforce identity-mapped SOR assignment for LVDS/eDP panels
6978b0eb61c0 drm/nouveau/disp: fix DP disable race
c65768326592 drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
e4a75379e8eb drm/nouveau/mmu: don't attempt to dereference vmm without valid instance pointer
5f0e9912e82c drm/nouveau: fix oops in client init failure path
d097790cec56 dm raid: fix reshape race on small devices
816f7c26eee3 HID: i2c-hid: Don't reset device upon system resume
bfe18751bf8a net/mlx5: Consider PCI domain in search for next dev
3029f6d6608d bnxt_re: Fix couple of memory leaks that could lead to IOMMU call traces
80b6e9d53846 nvmet-rdma: fix possible bogus dereference under heavy load
1d44f7f5bc07 USB: yurex: Check for truncation in yurex_read()
e6ecfa261ae6 usb: host: xhci-plat: Iterate over parent nodes for finding quirks
3f97eca3c822 HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub report
027f315487ef riscv: Do not overwrite initrd_start and initrd_end
59db47dd566b RDMA/ucma: check fd type in ucma_migrate_id()
d77c7de489ff iio: imu: st_lsm6dsx: take into account ts samples in wm configuration
86716fd6b985 Revert "iio: temperature: maxim_thermocouple: add MAX31856 part"
c296c887f743 netfilter: nf_tables: release chain in flushing set
7e8fc7dcb4d6 netfilter: kconfig: nat related expression depend on nftables core
c3501b899ff9 perf annotate: Fix parsing aarch64 branch instructions after objdump update
3cc1b441a4b9 perf probe powerpc: Ignore SyS symbols irrespective of endianness
6f8073072f7b perf util: Fix bad memory access in trace info.
56b4732271c7 perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()
4ac14f4b3179 perf annotate: Properly interpret indirect call
dbd0ea4cfa2a scsi: qedi: Add the CRC size within iSCSI NVM image
319949c5e4a8 scsi: iscsi: target: Fix conn_ops double free
27fbee89e119 scsi: iscsi: target: Set conn->sess to NULL when iscsi_login_set_conn_values fails
820c01bcca82 HID: hid-saitek: Add device ID for RAT 7 Contagion
3f2822e4dadd usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]
386562cba8c2 HID: add support for Apple Magic Keyboards
11c069b7eb84 HID: intel-ish-hid: Enable Sunrise Point-H ish driver
3403eaa94cfc netfilter: xt_checksum: ignore gso skbs
1d569211070e netfilter: xt_cluster: add dependency on conntrack module
11b165210c72 bpf: 32-bit RSH verification must truncate input before the ALU op
f69ad066fb2b mm: madvise(MADV_DODUMP): allow hugetlbfs pages
53df63ddc599 afs: Fix cell specification to permit an empty address list
784ce43a54fa firmware: arm_scmi: fix divide by zero when sustained_perf_level is zero
131a6926fa4d ceph: avoid a use-after-free in ceph_destroy_options()
e5f09c519ea0 nds32: linker script: GCOV kernel may refers data in __exit
20107ca73afe tools/vm/page-types.c: fix "defined but not used" warning
9f62a57c6670 tools/vm/slabinfo.c: fix sign-compare warning
8474b701d459 nds32: fix build error because of wrong semicolon
392a9a4a1c1e nds32: Fix get_user/put_user macro expand pointer problem
447ec6add595 nds32: Fix empty call trace
76d9688fbebb nds32: add NULL entry to the end of_device_id array
2b847f91abb8 nds32: fix logic for module
5bdcac88df0b net/ibm/emac: wrong emac_calc_base call was used by typo
a06e07ce6f61 fsnotify: fix ignore mask logic in fsnotify()
5ce55b0915e7 mac80211: shorten the IBSS debug messages
3bcf74fdbd50 mac80211: don't Tx a deauth frame if the AP forbade Tx
7cd6df93a292 mac80211: Fix station bandwidth setting after channel switch
07715e528d18 mac80211: fix a race between restart and CSA flows
040695971ce1 mac80211: fix WMM TXOP calculation
71f1b196fb29 cfg80211: fix a type issue in ieee80211_chandef_to_operating_class()
39bcc4406f83 mac80211: fix an off-by-one issue in A-MSDU max_subframe computation
05166cf09a6e fs/cifs: don't translate SFM_SLASH (U+F026) to backslash
43160392b3eb net: cadence: Fix a sleep-in-atomic-context bug in macb_halt_tx()
26c9b6f0c196 i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP
182ae0d8643f i2c: uniphier: issue STOP only for last message or I2C_M_STOP
abb518640aaf bpf: avoid misuse of psock when TCP_ULP_BPF collides with another ULP
23fa01c0fcb5 bpf: Fix bpf_msg_pull_data()
7e2069153a58 ibmvnic: Include missing return code checks in reset function
005caa1288d9 selftests: pmtu: detect correct binary to ping ipv6 addresses
ec0029c2aca1 selftests: pmtu: maximum MTU for vti4 is 2^16-1-20
d65d1dd8be05 RAID10 BUG_ON in raise_barrier when force is true and conf->barrier is 0
34ff707ac863 md/raid5-cache: disable reshape completely
561deb108ca4 Revert "blk-throttle: fix race between blkcg_bio_issue_check() and cgroup_rmdir()"
8dbbc215f2ba ARC: atomics: unbork atomic_fetch_##op()
29c9e7e73dda gpio: Fix crash due to registration race
e8f38e4e2216 tools/kvm_stat: fix updates for dead guests
52ff1e423ec9 tools/kvm_stat: fix handling of invalid paths in debugfs provider
a9ffbadacc94 tools/kvm_stat: fix python3 issues
58ec0839af0d mac80211: always account for A-MSDU header changes
511edc415c6c mac80211: do not convert to A-MSDU if frag/subframe limited
6f01b1a3c4ad cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE
aadc5d1ee02d tc-testing: add test-cases for numeric and invalid control action
468bcedcd850 net: mvpp2: initialize port of_node pointer
4abef73b0770 sh_eth: Add R7S9210 support
4440af5a7e45 net: hns: add netif_carrier_off before change speed and duplex
f97a366fdbad net: hns: add the code for cleaning pkt in chip
7d3acb1372f6 tipc: switch to rhashtable iterator
cf09d1f5a507 bpf: fix sg shift repair start offset in bpf_msg_pull_data
89826ce1bbca bpf: fix shift upon scatterlist ring wrap-around in bpf_msg_pull_data
0920815e24f0 bpf: fix msg->data/data_end after sg shift repair in bpf_msg_pull_data
34930327c610 gpio: dwapb: Fix error handling in dwapb_gpio_probe()
6c5cdd4730b1 gpiolib-acpi: Register GpioInt ACPI event handlers from a late_initcall
13db4478a11e gpiolib: acpi: Switch to cansleep version of GPIO library call
06a62b7a0c5e mac80211: avoid kernel panic when building AMSDU from non-linear SKB
d935ea54dbd8 mac80211: mesh: fix HWMP sequence numbering to follow standard
a1f9ac32509a gpio: adp5588: Fix sleep-in-atomic-context bug
3f84a6c18fce bpf: fix several offset tests in bpf_msg_pull_data
bd266daa9fe1 nl80211: Pass center frequency in kHz instead of MHz
5955b8ec20d7 nl80211: Fix nla_put_u8 to u16 for NL80211_WMMR_TXOP
03950ebc945c mac80211_hwsim: Fix possible Spectre-v1 for hwsim_world_regdom_custom
bfcb6097e5f3 cfg80211: make wmm_rule part of the reg_rule structure
9df4febf5e91 mac80211_hwsim: correct use of IEEE80211_VHT_CAP_RXSTBC_X
3d0d794ca9ef mac80211: correct use of IEEE80211_VHT_CAP_RXSTBC_X
36de3d48270d bpf: sockmap, decrement copied count correctly in redirect error case
7feb1f2b5d8d bpf, sockmap: fix psock refcount leak in bpf_tcp_recvmsg
427e7707d932 bpf, sockmap: fix potential use after free in bpf_tcp_close
0dcf1bcde827 scsi: aacraid: fix a signedness bug
c08d2054307f scsi: libata: Add missing newline at end of file
4f3e708120f3 scsi: csiostor: fix incorrect port capabilities
74a301701659 scsi: csiostor: add a check for NULL pointer after kmalloc()
c31c8008c757 btrfs: btrfs_shrink_device should call commit transaction at the end
0d6ba1ecba26 cfg80211: remove division by size of sizeof(struct ieee80211_wmm_rule)
1f0f925f98b4 KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function
9e07d06651bc Btrfs: fix unexpected failure of nocow buffered writes after snapshotting when low on space
32c7667fbcbd mac80211_hwsim: require at least one channel
2466b26094bc mac80211: Run TXQ teardown code before de-registering interfaces
3964f22686a6 rseq/selftests: fix parametrized test with -fpie
7da07a3216a0 Linux 4.18.12
c483061d4610 media: v4l: event: Prevent freeing event subscriptions while accessed
926415e1e4c9 arm64: KVM: Sanitize PSTATE.M when being set from userspace
5fddc4cd7aec powerpc/pseries: Fix unitialized timer reset on migration
7f3a5baeacdf powerpc/pkeys: Fix reading of ibm, processor-storage-keys property
4faeadc4f7b5 powerpc: fix csum_ipv6_magic() on little endian platforms
31d2bff9f696 KVM: PPC: Book3S HV: Fix guest r11 corruption with POWER9 TM workarounds
8379aa480e95 x86/pti: Fix section mismatch warning/error
0f40f4a21a10 clk: x86: Set default parent to 48Mhz
d948acce9a0c i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus
31b5f66e90b2 arm/arm64: smccc-1.1: Handle function result as parameters
c1baf3699d84 arm/arm64: smccc-1.1: Make return values unsigned long
8ad1f551f802 drm/amdgpu: Need to set moved to true when evict bo
68327465ccdb ARM: dts: omap4-droid4: Fix emmc errors seen on some devices
b32e647a8375 nvme-fcloop: Fix dropped LS's to removed target port
22670e847f7c ata: ftide010: Add a quirk for SQ201
65c96da9c684 drm/amdgpu: Update power state at the end of smu hw_init.
21a73b809735 drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode
4adf34c33950 Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"
78dabdae8108 hwmon: (adt7475) Make adt7475_read_word() return errors
e41ea7c77cb2 hwmon: (ina2xx) fix sysfs shunt resistor read access
aada57693e81 crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.
19f2fedf4f43 crypto: chtls - fix null dereference chtls_free_uld()
ff53d5051675 i40e: fix condition of WARN_ONCE for stat strings
be97150c4a54 i40e: Fix for Tx timeouts when interface is brought up if DCB is enabled
4ef71783033a ixgbe: fix driver behaviour after issuing VFLR
3e8566205e04 e1000: ensure to free old tx/rx rings in set_ringparam()
f9b0af8f9ad5 e1000: check on netif_running() before calling e1000_up()
1ca43c80d80f ice: Fix potential return of uninitialized value
0753c86efc6c ice: Fix a few null pointer dereference issues
939817cd00d2 tools: bpftool: return from do_event_pipe() on bad arguments
1dec7a1e6a54 ice: Set VLAN flags correctly
1c83a5aa0f26 ice: Use order_base_2 to calculate higher power of 2
1dd0b6ce76ee ice: Fix bugs in control queue processing
9289b179fc4e ice: Clean control queues only when they are initialized
32d99e3e63c7 ice: Report stats for allocated queues via ethtool stats
c0f20df3b1fc ice: Fix multiple static analyser warnings
1801431dc7aa net: hns3: fix page_offset overflow when CONFIG_ARM64_64K_PAGES
374eb417162b net: hns: fix skb->truesize underestimation
2d4a79238686 net: hns: fix length and page_offset overflow when CONFIG_ARM64_64K_PAGES
d96820d46bc3 tcp_bbr: in restart from idle, see if we should exit PROBE_RTT
e5e63d2bb9b2 tcp_bbr: add bbr_check_probe_rtt_done() helper
a66193f585eb net/ncsi: Fixup .dumpit message flags and ID check in Netlink handler
9d028c09d1cf amdgpu: fix multi-process hang issue
8824ceb2580c drm/amdgpu: fix preamble handling
8483f3b7f424 drm/amdgpu: fix VM clearing for the root PD
a5c7547b45b4 bpf: sockmap: write_space events need to be passed to TCP handler
9c3d97879505 tls: possible hang when do_tcp_sendpages hits sndbuf is full case
a0be77d6d940 bpf, sockmap: fix sock hash count in alloc_sock_hash_elem
efed642bc585 bpf, sockmap: fix sock_hash_alloc and reject zero-sized keys
0a9fd2a9875b ARM: dts: omap4-droid4: fix vibrations on Droid 4
f7468a7160e1 bus: ti-sysc: Fix no_console_suspend handling
b8f4b96768c0 mmc: android-goldfish: fix bad logic of sg_copy_{from,to}_buffer conversion
d02aee5cf4ea mmc: atmel-mci: fix bad logic of sg_copy_{from,to}_buffer conversion
1a7a1ad290d4 isofs: reject hardware sector size > 2048 bytes
2da832f43da5 thermal: of-thermal: disable passive polling when thermal zone is disabled
6a3f378b7614 qed: Avoid sending mailbox commands when MFW is not responsive
c36724c64780 qed: Prevent a possible deadlock during driver load and unload
1e85fc417c11 qed: Wait for MCP halt and resume commands to take place
c91ab927a8b7 qed: Wait for ready indication before rereading the shmem
67eb28b0f832 bus: ti-sysc: Fix module register ioremap for larger offsets
3609bd6105c1 ARM: OMAP2+: Fix module address for modules using mpu_rt_idx
1fcd5e01d26e ARM: OMAP2+: Fix null hwmod for ti-sysc debug
4435064439c6 arm64: KVM: Tighten guest core register access from userspace
12a7e915c506 RDMA/uverbs: Atomically flush and mark closed the comp event queue
cbbb9f08566e ACPI / hotplug / PCI: Don't scan for non-hotplug bridges if slot is not bridge
0c7898792c9a IB/hfi1: Fix destroy_qp hang after a link down
b34ba9e02408 IB/hfi1: Fix context recovery when PBC has an UnsupportedVL
bcc5f9f5e11e IB/hfi1: Invalid user input can result in crash
2cced23e5483 IB/hfi1: Fix SL array bounds check
fa22f4874e94 IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loop
ebc51114fa51 Input: elantech - enable middle button of touchpad on ThinkPad P72
f44f3d0a9e9f filesystem-dax: Fix use of zero page
7ebfc8f69a37 ext2, dax: set ext2_dax_aops for dax files
2436ce1bad9e uaccess: Fix is_source param for check_copy_size() in copy_to_iter_mcsafe()
dc38ebde8a52 USB: remove LPM management from usb_driver_claim_interface()
de425c9ae7bf Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()"
8badb9b1af73 USB: usbdevfs: restore warning for nonsensical flags
b5376ef73d33 USB: usbdevfs: sanitize flags more
8e2842a2e175 usb: musb: dsps: do not disable CPPI41 irq in driver teardown
608677656ac2 usb: core: safely deal with the dynamic quirk lists
7b169e33a3bc usb: roles: Take care of driver module reference counting
95b273c4038c USB: handle NULL config in usb_find_alt_setting()
f3a6a40b3793 USB: fix error handling in usb_driver_claim_interface()
2c2860d0e876 regulator: Fix 'do-nothing' value for regulators without suspend state
ad023c0c3613 regulator: fix crash caused by null driver data
bc9f63756ac8 spi: rspi: Fix interrupted DMA transfers
f9ca5597ab70 spi: rspi: Fix invalid SPI use during system suspend
2469b01fa514 spi: sh-msiof: Fix handling of write value for SISTR register
38274415d118 spi: sh-msiof: Fix invalid SPI use during system suspend
a2b928011352 spi: tegra20-slink: explicitly enable/disable clock
825e12a2ed63 intel_th: Fix resource handling for ACPI glue layer
c3b92e93b23a intel_th: Fix device removal logic
98e1a83c338e serial: cpm_uart: return immediately from console poll
e91bf9073b44 serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
5d554763aaac serial: imx: restore handshaking irq for imx1
98ecfdf49ff7 tty: serial: lpuart: avoid leaking struct tty_struct
fdbbdfeeb699 x86/mm: Expand static page table for fixmap space
41a770d90b88 block: fix deadline elevator drain for zoned block devices
0051646c2cc2 floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl
acee207b7cc9 gpio: tegra: Fix tegra_gpio_irq_set_type()
dbb2a1e3bb37 perf tests: Fix indexing when invoking subtests
6b07342e2596 drm/vc4: plane: Expand the lower bits by repeating the higher bits
c94ce4bf1aff ARM: dts: dra7: fix DCAN node addresses
e80225d36dca drm/vc4: Add missing formats to vc4_format_mod_supported().
70b914929ad7 iio: 104-quad-8: Fix off-by-one error in register selection
b6b75c81c31a Input: xen-kbdfront - fix multi-touch XenStore node's locations
31a92226a5d5 ath10k: fix memory leak of tpc_stats
5f2391032c06 fs/lock: skip lock owner pid translation in case we are in init_pid_ns
00b438869cbe ath10k: snoc: use correct bus-specific pointer in RX retry
06c21f7423e7 ath10k: fix incorrect size of dma_free_coherent in ath10k_ce_alloc_src_ring_64
10db0e22fb8c staging: pi433: fix race condition in pi433_ioctl
fff64d9fb381 EDAC, altera: Fix an error handling path in altr_s10_sdram_probe()
0855e6e1ac14 EDAC: Fix memleak in module init error path
6e67b33dbe43 nfsd: fix corrupted reply to badly ordered compound
af4b12c54b3b gpio: Fix wrong rounding in gpio-menz127
8463cd689be0 module: exclude SHN_UNDEF symbols from kallsyms api
163ac07ff0b2 ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs
2edaabf0e58d EDAC, i7core: Fix memleaks and use-after-free on probe and remove
1e4b176959fb ASoC: rsnd: SSI parent cares SWSP bit
8d07efbdf84f ASoC: rt1305: Use ULL suffixes for 64-bit constants
3e28a96b87f6 ASoC: Intel: bytcr_rt5640: Fix Acer Iconia 8 over-current detect threshold
ebce61bb2c86 scsi: megaraid_sas: Update controller info during resume
b38977a36625 spi: orion: fix CS GPIO handling again
d731684c4496 scsi: hisi_sas: Fix the conflict between dev gone and host reset
2f7b94ebaa19 iomap: complete partial direct I/O writes synchronously
939dd916dc25 scsi: bnx2i: add error handling for ioremap_nocache
074e4687846e perf/x86/intel/lbr: Fix incomplete LBR call stack
09468e65ec7d drm/v3d: Take a lock across GPU scheduler job creation and queuing.
dbdef3dff35b arm64: dts: renesas: Fix VSPD registers range
56984081650a MIPS: boot: fix build rule of vmlinux.its.S
d0f7fbdb1cf9 HID: i2c-hid: Use devm to allocate i2c_hid struct
46066a10dd7a HID: hid-ntrig: add error handling for sysfs_create_group
d79cdff57285 arm: dts: mediatek: Add missing cooling device properties for CPUs
65470af8b10d perf/hw_breakpoint: Split attribute parse and commit
7f22023170f7 Documentation/process: fix reST table border error
53b56e401d93 RDMA/uverbs: Don't overwrite NULL pointer with ZERO_SIZE_PTR
1da59841eea9 ARM: mvebu: declare asm symbols as character arrays in pmsu.c
3fc862c26744 drm/omap: gem: Fix mm_list locking
f7867f358bfe wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()
13c4f14d8cf2 bitfield: fix *_encode_bits()
1ae0268dc54e brcmsmac: fix wrap around in conversion from constant to s16
af1c6a743c98 rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication()
35ba78548948 mt76x2: fix mrr idx/count estimation in mt76x2_mac_fill_tx_status()
882791abd11d ath10k: transmit queued frames after processing rx packets
9f81b08ad8ea drm/sun4i: Fix releasing node when enumerating enpoints
900812a0d318 net: phy: xgmiitorgmii: Check phy_driver ready before accessing
d0a4b7b3792f drm/sun4i: Enable DW HDMI PHY clock
c247a4bf53b6 ath10k: protect ath10k_htt_rx_ring_free with rx_ring.lock
fcd12823cd57 net: phy: xgmiitorgmii: Check read_status results
6cdfe3ed6c9d ALSA: hda: Add AZX_DCAPS_PM_RUNTIME for AMD Raven Ridge
3dc220c5253e ASoC: qdsp6: qdafe: fix some off by one bugs
49fc6188cdb6 media: tm6000: add error handling for dvb_register_adapter
6c695a374b0b staging: mt7621-dts: Fix remaining pcie warnings
7a887d2a1f91 serial: pxa: Fix an error handling path in 'serial_pxa_probe()'
e8db58e3d80b arm64: dts: renesas: salvator-common: Fix adv7482 decimal unit addresses
e65f712ea936 drivers/tty: add error handling for pcmcia_loop_config
5208cebb4ca3 staging: mt7621-eth: Fix memory leak in mtk_add_mac() error path
6cbaed5c50ac media: ov772x: allow i2c controllers without I2C_FUNC_PROTOCOL_MANGLING
47da213433ae staging: android: ashmem: Fix mmap size validation
20d705e92eb7 media: ov772x: add checks for register read errors
eab10433598a media: omap3isp: zero-initialize the isp cam_xclk{a,b} initial data
870878d2c941 media: soc_camera: ov772x: correct setting of banding filter
39a372355b5a media: s3c-camif: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power
8086828bed84 ath10k: use locked skb_dequeue for rx completions
11750fe66e26 selftests: forwarding: Tweak tc filters for mirror-to-gretap tests
a4c7557bc547 ALSA: snd-aoa: add of_node_put() in error path
5f6b9cd5c5f2 posix-timers: Sanitize overrun handling
c0d08296a291 posix-timers: Make forward callback return s64
90f955af43fe iio: accel: adxl345: convert address field usage in iio_chan_spec
f1915d5162a9 mtd: rawnand: atmel: add module param to avoid using dma
ff9ac7d9bdda s390/extmem: fix gcc 8 stringop-overflow warning
6143a4525c3e s390/scm_blk: correct numa_node in scm_blk_dev_setup
0c6df6d17ab4 s390/dasd: correct numa_node in dasd_alloc_queue
04937aaaf8c7 alarmtimer: Prevent overflow for relative nanosleep
4add6942e51e s390/sysinfo: add missing #ifdef CONFIG_PROC_FS
ab0fd80d8747 ACPI / button: increment wakeup count only when notified
f2514c04f556 platform/x86: asus-wireless: Fix uninitialized symbol usage
677b34aa38ed powerpc/powernv/ioda2: Reduce upper limit for DMA window size
ee1df10ae020 ath10k: sdio: set skb len for all rx packets
bd9b4e606902 ath10k: sdio: use same endpoint id for all packets in a bundle
420c37a784a7 usb: wusbcore: security: cast sizeof to int for comparison
90c00dd1798d scsi: target: Avoid that EXTENDED COPY commands trigger lock inversion
d08b7218cea0 scsi: ibmvscsi: Improve strings handling
7369c88b59a9 scsi: klist: Make it safe to use klists in atomic context
9d6b653c0509 thermal: i.MX: Allow thermal probe to fail gracefully in case of bad calibration.
92e96ad168ea scsi: target/iscsi: Make iscsit_ta_authentication() respect the output buffer size
6cf7be0267f7 ARM: dts: ls1021a: Add missing cooling device properties for CPUs
f0c6c6ec02a1 x86/entry/64: Add two more instruction suffixes
06f91031931a ARM: hwmod: RTC: Don't assume lock/unlock will be called with irq enabled
11a88b9218e7 x86/tsc: Add missing header to tsc_msr.c
2bffdc28ee60 include/rdma/opa_addr.h: Fix an endianness issue
b40f2ec52bf5 IB/mlx5: Fix GRE flow specification
c26fc717b13b media: staging/imx: fill vb2_v4l2_buffer field entry
0bd77cd5c2da vhost_net: Avoid tx vring kicks during busyloop
af58a41db9cc media: fsl-viu: fix error handling in viu_of_probe()
ec0e373a6214 powerpc/kdump: Handle crashkernel memory reservation failure
4fd56423854c IB/mlx4: Test port number before querying type.
76e2bf1d322a media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()
203ae10a4713 IB/core: type promotion bug in rdma_rw_init_one_mr()
16fc25226707 RDMA/bnxt_re: Fix a bunch of off by one bugs in qplib_fp.c
6a4d21a7664b RDMA/i40w: Hold read semaphore while looking after VMA
5ae7031fea6a RDMA/bnxt_re: Fix a couple off by one bugs
be853349a4a9 cxgb4: Fix the condition to check if the card is T5
69b921bdab4b md-cluster: clear another node's suspend_area after the copy is finished
dd5ac3dcb22e drm/amd/display: fix use of uninitialized memory
e21238f1be65 drm/amd/display/dc/dce: Fix multiple potential integer overflows
9fa1c8f4b9b2 power: remove possible deadlock when unregistering power_supply
ff8aa171ef8c s390/mm: correct allocate_pgste proc_handler callback
596ee3e366eb iommu/msm: Don't call iommu_device_{,un}link from atomic context
c4ea4d6928bd 6lowpan: iphc: reset mac_header after decompress to fix panic
d3f86dceb54c USB: serial: kobil_sct: fix modem-status error handling
41086956a32b Bluetooth: Add a new Realtek 8723DE ID 0bda:b009
9032c7d6d57f iommu/amd: make sure TLB to be flushed before IOVA freed
8ae46971d69e power: vexpress: fix corruption in notifier registration
3c8527e5a6e4 uwb: hwa-rc: fix memory leak at probe
cb39b07bf5f9 serial: sh-sci: Stop RX FIFO timer during port shutdown
741b2c3b62cf misc: sram: enable clock before registering regions
919618d23234 power: supply: axp288_charger: Fix initial constant_charge_current value
df09a796560a staging: rts5208: fix missing error check on call to rtsx_write_register
e3deb9b3c252 x86/numa_emulation: Fix emulated-to-physical node mapping
bb2ca3d777d9 net: hns3: Fix get_vector ops in hclgevf_main module
6739fc895c80 net: hns3: Fix warning bug when doing lp selftest
87dbcb1ce9c2 net: hns3: Fix for mac pause not disable in pfc mode
4a659cb2f0fd net: hns3: Fix for mailbox message truncated problem
1bb1252b4e78 siox: don't create a thread without starting it
e83bd606a14e vmci: type promotion bug in qp_host_get_user_memory()
46ba8d1156e7 misc: ibmvmc: Use GFP_ATOMIC under spin lock
1d3de3d5e274 tsl2550: fix lux1_input error in low light
c9bcfbebca40 iio: adc: ina2xx: avoid kthread_stop() with stale task_struct
d08aa810ddd1 crypto: skcipher - Fix -Wstringop-truncation warnings
2f411a0873a9 Linux 4.18.11
e5bd6aca70ef spi: Fix double IDR allocation with DT aliases
4fda8face67c iw_cxgb4: only allow 1 flush on user qps
61b5194808f4 vmw_balloon: include asm/io.h
ac586a2ffe31 sched/fair: Fix vruntime_normalized() for remote non-migration wakeup
ec215095ac28 ext4, dax: set ext4_dax_aops for dax files
e2dd3371bfd1 ext4, dax: add ext4_bmap to ext4_dax_aops
d60e0a56ac37 ext4: show test_dummy_encryption mount option in /proc/mounts
da7a6e25fe8e ext4: don't mark mmp buffer head dirty
705bcb551648 ext4: fix online resizing for bigalloc file systems with a 1k block size
d47e119158ec ext4: fix online resize's handling of a too-small final block group
2d0cd272e096 ext4: recalucate superblock checksum after updating free blocks/inodes
a4cb1bf267a6 ext4: avoid arithemetic overflow that can trigger a BUG
976eeff67a3a ext4: avoid divide by zero fault when deleting corrupted inline directories
fdad4e17dc61 ext4: check to make sure the rename(2)'s destination is not freed
52ef74c21c27 tty: vt_ioctl: fix potential Spectre v1
5a5338e45009 drm/amdgpu: add new polaris pci id
4cd5d680d815 drm: udl: Destroy framebuffer only if it was initialized
934df3d13fc6 drm/vc4: Fix the "no scaling" case on multi-planar YUV formats
21fb862e0e3c drm/nouveau/drm/nouveau: Prevent handling ACPI HPD events too early
99aa61fb35ed drm/nouveau/drm/nouveau: Use pm_runtime_get_noresume() in connector_detect()
9c7443a7aa64 drm/nouveau/drm/nouveau: Fix deadlock with fb_helper with async RPM requests
563f482029d4 drm/nouveau/drm/nouveau: Fix bogus drm_kms_helper_poll_enable() placement
0f756495557c drm/nouveau/drm/nouveau: Don't forget to cancel hpd_work on suspend/unload
86393a7e3315 drm/nouveau: Fix deadlocks in nouveau_connector_detect()
573eeddd4538 drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend()
aed4ca2690c2 drm/nouveau: Only write DP_MSTM_CTRL when needed
04393d257207 drm/nouveau: Reset MST branching unit before enabling
1f4401ece98b drm/i915/bdw: Increase IPS disable timeout to 100ms
1e0be23859b9 ocfs2: fix ocfs2 read block panic
23fe9688228c libata: mask swap internal and hardware tag
f8b35f82a252 Revert "ubifs: xattr: Don't operate on deleted inodes"
94403d71bb9e scsi: target: iscsi: Use bin2hex instead of a re-implementation
8e31c95fe085 scsi: target: iscsi: Use hex2bin instead of a re-implementation
31426b50594c Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name"
bc35488686c3 bpf/verifier: disallow pointer subtraction
909828a2920b Revert "rpmsg: core: add support to power domains for devices"
946f8052f7ee mm: shmem.c: Correctly annotate new inodes for lockdep
4cdb6f01e9e5 mm: disable deferred struct page for 32-bit arches
3299a0eead68 fork: report pid exhaustion correctly
30938d20eb1a crypto: x86/aegis,morus - Do not require OSXSAVE for SSE2
d73ccd8bb732 ring-buffer: Allow for rescheduling when removing pages
6bed4f10277b Revert "PCI: Add ACS quirk for Intel 300 series"
6d8911403d99 spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers
1318b2c26b78 xen/x86/vpmu: Zero struct pt_regs before calling into sample handling code
b73a161e9bef xen/netfront: don't bug in case of too many frags
5e17a1ecc44b platform/x86: alienware-wmi: Correct a memory leak
8879342a67a4 platform/x86: dell-smbios-wmi: Correct a memory leak
0639ddca2c8c mtd: rawnand: denali: fix a race condition when DMA is kicked
f11b8aad34fa mtd: devices: m25p80: Make sure the buffer passed in op is DMA-able
1501a0f2e14e ALSA: oxfw: fix memory leak of private data
9d07f491db95 ALSA: oxfw: fix memory leak of discovered stream formats at error path
82567fb09846 ALSA: oxfw: fix memory leak for model-dependent data at error path
8e54fc8910f3 ALSA: fireworks: fix memory leak of response buffer at error path
e5301d45d01c ALSA: firewire-tascam: fix memory leak of private data
7c57a806be78 ALSA: firewire-digi00x: fix memory leak of private data
e9355495975d ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()
cedfb9f8a588 ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO
c143935a34a5 ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping
28114caeb0ab ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path
30100a475167 ASoC: uapi: fix sound/skl-tplg-interface.h userspace compilation errors
341ff629a2e9 ASoC: rsnd: fixup not to call clk_get/set under non-atomic
9e6a69b06575 ASoC: tas6424: Save last fault register even when clear
df231dbe93eb ASoC: cs4265: fix MMTLR Data switch control
401e975e5950 ASoC: wm9712: fix replace codec to component
58be75ff0878 NFC: Fix the number of pipes
0ad778eeee6d NFC: Fix possible memory corruption when handling SHDLC I-Frame commands
18b8a9c5dab3 net: rtnl_configure_link: fix dev flags changes arg to __dev_notify_flags
1b46979978c0 net: mvpp2: let phylink manage the carrier state
001e4e5537d8 net/ipv6: do not copy dst flags on rt init
1328a5a40fde ipv6: use rt6_info members when dst is set in rt6_fill_node
b5fc7f300cdb bnxt_en: Fix VF mac address regression.
8ac22b327cc2 tls: fix currently broken MSG_PEEK behavior
17eef150f66b socket: fix struct ifreq size in compat ioctl
263baf63bdfb net: dsa: mv88e6xxx: Fix ATU Miss Violation
4188aa049107 hv_netvsc: fix schedule in RCU context
9f2489640a57 net/sched: act_sample: fix NULL dereference in the data path
1708cc7ed059 udp6: add missing checks on edumux packet processing
c0d10c5d5d71 neighbour: confirm neigh entries when ARP packet is received
77971ea816ba tls: clear key material from kernel memory when do_tls_setsockopt_conf fails
13d1bdc70bc2 tls: zero the crypto information from tls_context before freeing
d8e6fc73d2eb tls: don't copy the key out of tls12_crypto_info_aes_gcm_128
6d7a3fd5cfae udp4: fix IP_CMSG_CHECKSUM for connected sockets
a02ff7df6a3b qmi_wwan: set DTR for modems in forced USB2 mode
89721b836972 pppoe: fix reception of frames with no mac header
b411479d5268 net: hp100: fix always-true check for link up state
6a9c934f04e6 net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT
6b4d14c57381 ipv6: fix possible use-after-free in ip6_xmit()
288942f4a669 gso_segment: Reset skb->mac_len after modifying network header
183348489d36 Linux 4.18.10
52b732648371 crypto: ccp - add timeout support in the SEV command
d6c9bc664918 mei: bus: type promotion bug in mei_nfc_if_version()
920b0e3c5e24 clk: tegra: bpmp: Don't crash when a clock fails to register
fdf0d6477376 pinctrl: qcom: spmi-gpio: Fix pmic_gpio_config_get() to be compliant
5d10592e292f pinctrl: msm: Fix msm_config_group_get() to be compliant
bbcdd75166d9 blk-mq: avoid to synchronize rcu inside blk_cleanup_queue()
864e90ed4a8f blk-mq: only attempt to merge bio if there is rq in sw queue
83459da8e319 IB/mlx5: fix uaccess beyond "count" in debugfs read/write handlers
53a1ee238c84 block/DAC960.c: fix defined but not used build warnings
dc78a980f995 staging: fsl-dpaa2/eth: Fix DMA mapping direction
8d425fae2cf6 dmaengine: sh: rcar-dmac: avoid to write CHCR.TE to 1 if TCR is set to 0
93b100ddda3b drm/amd/pp: Send khz clock values to DC for smu7/8
0cbb058be904 arm64: perf: Disable PMU while processing counter overflows
b89c077eff7c drm/panel: type promotion bug in s6e8aa0_read_mtp_id()
252cdf1f5db5 ASoC: rt5651: Fix workqueue cancel vs irq free race on remove
6c9e72d66dbf selftest: timers: Tweak raw_skew to SKIP when ADJ_OFFSET/other clock adjustments are in progress
6e36e98ecb0a remoteproc: qcom: q6v5-pil: fix modem hang on SDM845 after axis2 clk unvote
435962f3beaa scsi: lpfc: Fix panic if driver unloaded when port is offline
074263d61eed scsi: lpfc: Fix NVME Target crash in defer rcv logic
84159b84f331 scsi: libfc: fixup 'sleeping function called from invalid context'
f7ee7f7b0618 ALSA: pcm: Fix snd_interval_refine first/last with open min/max
0fce3c91ba68 selftests/android: initialize heap_type to avoid compiling warning
330e11b03099 selftests: vDSO - fix to return KSFT_SKIP when test couldn't be run
04ea31a181d3 rtc: bq4802: add error handling for devm_ioremap
1950f800faa1 drm/amdkfd: Fix error codes in kfd_get_process
4841f051b32c drm/amdkfd: Fix kernel queue 64 bit doorbell offset calculation
b1373b80f9ec input: rohm_bu21023: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
ae8247766d56 mfd: 88pm860x-i2c: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
f40d90dd5567 rcutorture: Use monotonic timestamp for stall detection
7961182ace13 net: mvpp2: make sure we use single queue mode on PPv2.1
466ec0c2ba2d net: gemini: Allow multiple ports to instantiate
382ca1b7ca79 gpiolib: Mark gpio_suffixes array with __maybe_unused
a35951e982eb gpio: pxa: Fix potential NULL dereference
c6bc7c725409 staging: bcm2835-audio: Don't leak workqueue if open fails
28929ceced7d lightnvm: pblk: enable line minor version detection
7785ada57436 lightnvm: pblk: assume that chunks are closed on 1.2 devices
070b164edc30 ASoC: qdsp6: q6afe-dai: fix a range check in of_q6afe_parse_dai_data()
b0442208f62f drm/amd/display: support access ddc for mst branch
67a281a8bee9 tools/testing/nvdimm: Fix support for emulating controller temperature
22df0497e104 f2fs: do checkpoint in kill_sb
6e530bf7d202 coresight: ETM: Add support for Arm Cortex-A73 and Cortex-A35
8da6cd501998 coresight: tpiu: Fix disabling timeouts
d0fb01bb8ed9 coresight: Handle errors in finding input/output ports
b3cf69dd8a2b sched/fair: Fix util_avg of new tasks for asymmetric systems
a9093ae70197 parport: sunbpp: fix error return code
cc55678dd2f8 tls: Fix zerocopy_from_iter iov handling
88b8d17d3ab0 drm/nouveau: tegra: Detach from ARM DMA/IOMMU mapping
e293c3e0e60b drm/nouveau/debugfs: Wake up GPU before doing any reclocking
3c266a692dda drm/nouveau: Fix runtime PM leak in drm_open()
5d421dae2364 mmc: sdhci: do not try to use 3.3V signaling if not supported
566b4caf1143 mmc: tegra: prevent HS200 on Tegra 3
5f366ee1f1ff mmc: sdhci-of-esdhc: set proper dma mask for ls104x chips
442f4d1e9aa6 tty: fix termios input-speed encoding
859a99742a95 tty: fix termios input-speed encoding when using BOTHER
24d7347116ba serial: 8250: of: Correct of_platform_serial_setup() error handling
cc04d14157b8 ASoC: hdmi-codec: fix routing
179dbd5fc4f1 gpu: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes
b720a10bf407 liquidio: fix hang when re-binding VF host drv after running DPDK VF driver
af62ca55dc1f ARM: hisi: check of_iomap and fix missing of_node_put
c55e49df5371 net: hns3: Fix return value error in hns3_reset_notify_down_enet
7c3197ac7034 ARM: hisi: fix error handling and missing of_node_put
34330aee6948 ARM: hisi: handle of_iomap and fix missing of_node_put
cef4231adf55 net: hns3: Fix for reset_level default assignment probelm
4d23263a5a8e net: hns3: Reset net device with rtnl_lock
ddf5261f9068 efi/esrt: Only call efi_mem_reserve() for boot services memory
c1424ee6462b sched/core: Use smp_mb() in wake_woken_function()
5c4a6af4c694 arm64: dts: mt7622: update a clock property for UART0
5471c19b92f8 pinctrl: rza1: Fix selector use for groups and functions
cb5b08a8ec5f pinctrl: mt7622: Fix probe fail by misuse the selector
b07bfd045c5f configfs: fix registered group removal
e75b2324e385 MIPS: loongson64: cs5536: Fix PCI_OHCI_INT_REG reads
d5d7da805a06 KVM: PPC: Book3S: Fix matching of hardware and emulated TCE tables
7974b0c64934 PM / devfreq: use put_device() instead of kfree()
81ce15b06c0f security: check for kstrdup() failure in lsm_append()
91c26cb2293f KVM: PPC: Book3S HV: Add of_node_put() in success path
6a69ccd2ec68 evm: Don't deadlock if a crypto algorithm is unavailable
f4a6c71481e3 Bluetooth: Use lock_sock_nested in bt_accept_enqueue
b4a9422266f2 spi: dw: fix possible race condition
f90ccc03b438 bpf: fix rcu annotations in compute_effective_progs()
5e1002ab5c9b vfs: fix freeze protection in mnt_want_write_file() for overlayfs
d466b2d4e4e7 mtdchar: fix overflows in adjustment of `count`
babc65c641b1 audit: fix use-after-free in audit_add_watch
a9fb28b40a36 arm64: dts: uniphier: Add missing cooling device properties for CPUs
f48256986e0f net/mlx5: Add missing SET_DRIVER_VERSION command translation
3caf6c73c0b4 binfmt_elf: Respect error return from `regset->active'
6eb8c64e9afd mmc: meson-mx-sdio: fix OF child-node lookup
0c6e2a79715a of: add helper to lookup compatible child node
8bfbd71c1146 NFSv4.1 fix infinite loop on I/O.
a12ad4f33e6f NFSv4: Fix a tracepoint Oops in initiate_file_draining()
afaef9ba4486 x86/EISA: Don't probe EISA bus for Xen PV guests
05a993198ded of: fix phandle cache creation for DTs with no phandles
1f3cb0604f0f perf tools: Fix maps__find_symbol_by_name()
a543f61a2775 perf/core: Force USER_DS when recording user stack data
b205f931b0c0 xtensa: ISS: don't allocate memory in platform_setup
f63dbd23e8a7 cifs: integer overflow in in SMB2_ioctl()
6565bd3e63d3 CIFS: fix wrapping bugs in num_entries()
bf1c05755d45 cifs: prevent integer overflow in nxt_dir_entry()
8c7488864bdf Revert "cdc-acm: implement put_char() and flush_chars()"
c705bfe3c3d6 usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()
cb55532b9e64 USB: yurex: Fix buffer over-read in yurex_write()
48f17ac733c6 USB: serial: ti_usb_3410_5052: fix array underflow in completion handler
8a74265c0a05 usb: misc: uss720: Fix two sleep-in-atomic-context bugs
9bf71499046e USB: serial: io_ti: fix array underflow in completion handler
97180428d24b USB: net2280: Fix erroneous synchronization change
bfe24fcf1fb0 usb: gadget: udc: renesas_usb3: fix maxpacket size of ep0
23256d450acc USB: add quirk for WORLDE Controller KS49 or Prodipe MIDI 49C USB controller
c6346e3fbb18 usb: host: u132-hcd: Fix a sleep-in-atomic-context bug in u132_get_frame()
066bfee7ec75 usb: Avoid use-after-free by flushing endpoints early in usb_set_interface()
13b6b8a90cab usb: uas: add support for more quirk flags
cba0cba54741 USB: Add quirk to support DJI CineSSD
59efbbc9a611 dm verity: fix crash on bufio buffer that was allocated with vmalloc
f5f0f2ad7099 mei: bus: need to unlink client before freeing
a1a8326f891c mei: bus: fix hw module get/put balance
93f03d6dcbb6 mei: ignore not found client in the enumeration
4c3af2149535 usb: mtu3: fix error of xhci port id when enable U3 dual role
3f081e53ccd0 usb: xhci: fix interrupt transfer error happened on MTK platforms
3d7a00c4f0aa usb: Don't die twice if PCI xhci host is not responding in resume
87d948fe3a27 xhci: Fix use after free for URB cancellation on a reallocated endpoint
9ed3ad68de71 misc: hmc6352: fix potential Spectre v1
094302a07e89 misc: ibmvsm: Fix wrong assignment of return code
662b1033af66 Tools: hv: Fix a bug in the key delete code
d5995b9a926e vmbus: don't return values for uninitalized channels
4585b79971f7 ovl: fix oopses in ovl_fill_super() failure paths
617afda7f5d9 ipmi: Fix I2C client removal in the SSIF driver
31364b2e1fb1 ipmi: Move BT capabilities detection to the detect call
288bd736c8a0 ipmi: Rework SMI registration failure
53c7bb8b93d0 mmc: omap_hsmmc: fix wakeirq handling on removal
8cddf23b74d6 s390/crypto: Fix return code checking in cbc_paes_crypt()
3e6bba18b8ef IB/ipoib: Avoid a race condition between start_xmit and cm_rep_handler
9c58e39e3736 xen/netfront: fix waiting for xenbus state change
d0028f48b330 pstore: Fix incorrect persistent ram buffer mapping
40a31b8c9b90 RDMA/cma: Protect cma dev list with lock
367c9cb26e65 xen-netfront: fix warn message as irq device name has '/'
08012969004d PCI/AER: Honor "pcie_ports=native" even if HEST sets FIRMWARE_FIRST
12f21ddaf49d x86/mm/pti: Add an overflow check to pti_clone_pmds()
19700e6c1d40 x86/pti: Check the return value of pti_user_pagetable_walk_pmd()
a9edba8f5f3c x86/pti: Check the return value of pti_user_pagetable_walk_p4d()
7763d301d75d crypto: sharah - Unregister correct algorithms for SAHARA 3
4d18bcc6ec97 dmaengine: mv_xor_v2: kill the tasklets upon exit
7c14a171825c iommu/ipmmu-vmsa: IMUCTRn.TTSEL needs a special usage on R-Car Gen3
d655b0e7d1a5 regulator: qcom_spmi: Fix warning Bad of_node_put()
9611efe67019 regulator: qcom_spmi: Use correct regmap when checking for error
4a5dfbca3e03 drm/amd/pp: Set Max clock level to display by default
283ca5fd5b94 i2c: aspeed: Fix initial values of master and slave state
ee4fa1801dfb drivers/base: stop new probing during shutdown
8a1df288fc7d KVM: arm/arm64: Fix vgic init race
77a7d97a4aad platform/x86: toshiba_acpi: Fix defined but not used build warnings
dacc647eb982 s390/qeth: reset layer2 attribute on layer switch
8f93a540b618 s390/qeth: fix race in used-buffer accounting
b72b40d5dacf soc: qcom: smem: Correct check for global partition
ed3ee622cda9 ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci
3679b8e9af6d arm64: dts: qcom: db410c: Fix Bluetooth LED trigger
9ac72cec7e58 xen-netfront: fix queue name setting
87fe89ddbf57 nfp: avoid buffer leak when FW communication fails
6da3c7c96e0a ALSA: usb-audio: Generic DSD detection for Thesycon-based implementations
78fcf13d0235 efi/arm: preserve early mapping of UEFI memory map longer for BGRT
e505be5d53e0 reset: imx7: Fix always writing bits as 0
cf29c5b3d339 arm64: fix possible spectre-v1 write in ptrace_hbp_set_event()
e635ed205ad8 wan/fsl_ucc_hdlc: use IS_ERR_VALUE() to check return value of qe_muram_alloc
5573ec7a7114 Smack: Fix handling of IPv4 traffic received by PF_INET6 sockets
f5b4d1cce4a2 mac80211: restrict delayed tailroom needed decrement
e19f90c90555 MIPS: jz4740: Bump zload address
4105a80d60c0 ASoC: rt5514: Fix the issue of the delay volume applied
ad60f993f3ec staging: bcm2835-camera: handle wait_for_completion_timeout return properly
3360648a723d staging: bcm2835-camera: fix timeout handling in wait_for_completion_timeout
acd8e75056b8 perf script: Show correct offsets for DWARF-based unwinding
41870d0faa92 powerpc/powernv: opal_put_chars partial write fix
575f58226b31 KVM: arm/arm64: vgic: Fix possible spectre-v1 write in vgic_mmio_write_apr()
3e8433730a7c nvme-rdma: unquiesce queues when deleting the controller
ab79cc228cce nvmet: fix file discard return status
b42c221e6c6f perf powerpc: Fix callchain ip filtering
7871bdd93e26 ARM: exynos: Clear global variable on init error path
01a16afcdd8e omapfb: rename omap2 module to omap2fb.ko
8c448f47bf01 fbdev: Distinguish between interlaced and progressive modes
8fc18a9186d1 video: fbdev: pxafb: clear allocated memory for video modes
0c664f04c204 perf powerpc: Fix callchain ip filtering when return address is in a register
e04ab6fae461 fbdev/via: fix defined but not used warning
4cecf931f72e video: goldfishfb: fix memory leak on driver remove
6619761e5594 perf tools: Fix struct comm_str removal crash
3bc6debeee75 fbdev: omapfb: off by one in omapfb_register_client()
3340ab9770ee perf tests: Fix record+probe_libc_inet_pton.sh to ensure cleanups
a036a42625e5 perf tests: Fix record+probe_libc_inet_pton.sh when event exists
7909633281bf perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
aee426d18f8b perf tools: Synthesize GROUP_DESC feature in pipe mode
6779c908d67a gfs2: Don't reject a supposedly full bitmap if we have blocks reserved
4d63cecf086c perf test: Fix subtest number when showing results
2bcb521130c6 media: ov5645: Supported external clock is 24MHz
105b0d0e07c5 mtd/maps: fix solutionengine.c printk format warnings
10edff95113a IB/ipoib: Fix error return code in ipoib_dev_init()
b5781a323ac8 block: allow max_discard_segments to be stacked
ded17a42ebf5 IB/rxe: Drop QP0 silently
e41669ba0dcf media: videobuf2-core: check for q->error in vb2_core_qbuf()
b37f1ffead9a MIPS: ath79: fix system restart
11091b725238 dmaengine: pl330: fix irq race with terminate_all
7549795df383 media: tw686x: Fix oops on buffer alloc failure
e8b53e57272c kbuild: do not update config when running install targets
69383cdcb314 kbuild: add .DELETE_ON_ERROR special target
d3847b6449a0 clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure
825568027a58 clk: core: Potentially free connection id
36c234a7d639 Input: pxrc - fix freeing URB on device teardown
10acffe4e6af clk: mvebu: armada-37xx-periph: Fix wrong return value in get_parent
62d658666e16 clk: imx6sll: fix missing of_node_put()
404280dc8655 clk: imx6ul: fix missing of_node_put()
3ace27266f11 gfs2: Special-case rindex for gfs2_grow
cffab62aa38c iwlwifi: cancel the injective function between hw pointers to tfd entry index
aca7943ece90 nfp: don't fail probe on pci_sriov_set_totalvfs() errors
38c65d4ed86c amd-xgbe: use dma_mapping_error to check map errors
7ac07ffd7a1d xfrm: fix 'passing zero to ERR_PTR()' warning
912e58471dc4 ALSA: usb-audio: Fix multiple definitions in AU0828_DEVICE() macro
e87ce12cce31 ALSA: usb-audio: Add support for Encore mDSD USB DAC
14b41aea20aa ALSA: msnd: Fix the default sample sizes
071929af7183 iommu/io-pgtable-arm: Fix pgtable allocation in selftest
6bd162fc88d2 iommu/io-pgtable-arm-v7s: Abort allocation when table address overflows the PTE
129a7aebd133 iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register
602b80704322 usb: dwc3: change stream event enable bit back to 13
9739856df45d net/mlx5: Use u16 for Work Queue buffer fragment size
032fcd76b6b1 net/mlx5: Fix possible deadlock from lockdep when adding fte to fg
7da7294ce303 net/mlx5: Fix not releasing read lock when adding flow rules
60486fee29bb tcp: really ignore MSG_ZEROCOPY if no SO_ZEROCOPY
87754d1856ac erspan: return PACKET_REJECT when the appropriate tunnel is not found
a4eae12522a5 erspan: fix error handling for erspan tunnel
17c7263eea85 net/mlx5: Fix debugfs cleanup in the device init/remove flow
645e035edefe net/mlx5: Check for error in mlx5_attach_interface
b800b7ef44b5 net/tls: Set count of SG entries if sk_alloc_sg returns -ENOSPC
c73238573dea net/mlx5: E-Switch, Fix memory leak when creating switchdev mode FDB tables
73da60476f94 tipc: orphan sock in tipc_release()
de83178fddfb rds: fix two RCU related problems
d34b61509c18 net: qca_spi: Fix race condition in spi transfers
9a22310f122b net/mlx5: Fix use-after-free in self-healing flow
da0e36fa0942 be2net: Fix memory leak in be_cmd_get_profile_config()
(From OE-Core rev: d81dd54365838ab63615c241adf3bef207ff8843)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kernel config cleanups:
2c4eb01d57fd media-radio.cfg: change CONFIG_RADIO_SI470X to m
3d38c0dbb0f4 usb-typec: enable CONFIF_TYPEC
ae6272d621dd iio: rename CONFIG_TSL2x7x to CONFIG_TSL2772
10c18d643dea iio: change CONFIG_AD5686 to CONFIG_AD5686_SPI
f06703a4c55e media-rc: CONFIG_LIRC is now a bool
a8cbad4a0533 media-i2c: remove configs selected by zoran drivers
9c43f6157a44 media-pci-capture: remove zoran configs
(From OE-Core rev: 72e9ad0f24a31693b5f06df6d1e6da23e30e1627)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest -stable updates broke 4.14 -rt with some rtmutex
issues. We sync with the rt-stable tree to pickup the fix.
(From OE-Core rev: 8a172a8ac87cc63d6f89ff0f584a75fe7fcd10dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was one missing fixup in the recent -rt referesh of 4.18,
this SRCREV bump picks up the gic changes that were missing.
(From OE-Core rev: b23f6e12b1a0809e0fb89bc7a77350c37beaeffc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this the build fails for armv6t targets due to invalid
assembler instructions in thumb mode.
[YOCTO #12929]
(From OE-Core rev: 801141be68e5c754f2cd1d80d13982f037fc03e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.0 adds systemd support but installs the unit files in the wrong location.
Fix this in do_install and inherit systemd to package them correctly.
Also fix ownership of files manually copied in to root:root to avoid QA warnings.
(From OE-Core rev: 74833a612cc383679bb5516e98c7508da47b0767)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemtap from 3.3 to 4.0: Removed backported patch.
Very short summary of major changes from SystemTap 4.0
announcement by Frank Ch. Eigler <fche@redhat.com>:
> prometheus exporter network service; ebpf support extensions including
> strings and implementation of traditional log(), sprintf() functions;
> rebuilt rich tapset coverage for 4.17+ syscalls and for
> tracepoint-based syscalls; script language tweaks for supporting
> machine-generated scripts
Fixes [YOCTO #12950]
(From OE-Core rev: d7f828223f3fabdadcff974c1ed6f8f74e438405)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only look in recipes-* folders for patches, to stop finding patches in
e.g. meta/lib/oeqa/manual.
(From OE-Core rev: ed912e10c61ea9d45ca648e03eebafeebcf7e9b0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit aa6def606f which I
posted myself.
The Problem is rtmpdump, not the gstreamer1.0-plugins-bad recipe.
The correct to fix this is to patch rtmpdump to work with OpenSSL 1.1.
(From OE-Core rev: 9b7c1d7ac9b2cbd3744776328386bfb4c90c1afc)
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add -f into postinst OPT to fix run postinst scriptlet fail
problem during do rootfs, while INITSCRIPT_PARAMS set to remove.
+ type update-rc.d
+ '[' -n qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs ']'
+ OPT='-r qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs'
+ update-rc.d -r work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs keepalived remove
update-rc.d: work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs/etc/init.d/keepalived exists during rc.d purge (use -f to force)
D: %post(keepalived-1.4.2-r0.core2_64): waitpid(305974) rc 305974 status 100
(From OE-Core rev: 45224526edbe65012a846c066d2b539a360f0c51)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It appends TCLIBCAPPEND to TMPDIR in meta/conf/distro/defaultsetup.conf:
TMPDIR .= "${TCLIBCAPPEND}"
It affects some oe selftest cases in sstatetests.py. Reset TCLIBCAPPEND
for these cases.
(From OE-Core rev: 4549c9dd96be8db69d520f66f4507939df9e9587)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comment here stated that openssl is dual-licensed, but that would
mean that either of the two licenses could be used which is *not* the
case [1]. However LICENSE = "openssl" *is* correct because in OE that
maps to a generic license file which includes both licenses, which
makes sense because there isn't really any such thing as OpenSSL that
would be covered by the "OpenSSL license" and not the "SSLeay license".
Correct the comment to avoid any confusion.
[1] https://www.openssl.org/source/license.html
(From OE-Core rev: 6c821ce6ecae789320b31ec55c83907d6dd78359)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mips will return EINVAL instead of ENOMEM as expected
if the range [addr + len) exceeds TASK_SIZE.
Linux kernel code: arch/mips/mm/mmap.c
if (flags & MAP_FIXED) {
/* Even MAP_FIXED mappings must reside within TASK_SIZE */
if (TASK_SIZE - len < addr)
return -EINVAL;
Relax the condition and accept both ENOMEM and EINVAL
as expected outcome.
(From OE-Core rev: ff1d158fb15f7a8bc7bca542baac6f9873a58f68)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests, like the one that compares the hashes for a list of files
against those stored in a .dat file, don't make sense for downstream
distros packaging perl.
Backport a patch from upstream that allows skipping of these tests at
runtime. Also remove the local patch trying to keep hashes up-to-date
for one of those tests.
Fixes [YOCTO #12787]
(From OE-Core rev: 557f4618b75b8739a647e46054ab587ae2bbdc25)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [9524330 gobject-introspection: fix multilib install
file conflicts] applied in oe-core, while multilib enabled, gir
files will be installed to `${libdir}'.
Refer above commit, modify gobject-introspection.bbclass to
split gir to package correctly.
(From OE-Core rev: e0cc1dc6f1c14babe29a29a7211dc1c69d782b95)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to build multilib image such as lib32-core-image-minimal with
wic by set 'IMAGE_FSTYPES = "wic"':
| ERROR: Couldn't find correct bootimg_dir, exiting
When multilib is enabled, STAGING_DATADIR is expanded with MLPREFIX. But
dependencies of images such as syslinux is still populated to nonarch
STAGING_DATADIR.
Search nonarch STAGING_DATADIR to fix the error.
(From OE-Core rev: dbae9a6f9a1c6cc7d4dd680d7bbda3dfa40f3491)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the name of the last user being part of the group had a name that
was a prefix of the user being added, then perform_groupmems() would
treat it as if the user already existed in the list of users and not
add it.
Reported-by: Peter Henricsson <peter.henricsson@axis.com>
(From OE-Core rev: 3bab0416f20366e75444be9b65fb1369643f103a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing should be in this package, so remove it entirely to be sure nothing does
end up in there.
(From OE-Core rev: b4ea23adf58d664f3cc5abe6d04b507fc000426e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to allow the main recipe to extend RDEPENDS directly, so don't wipe
RDEPENDS when reading the manifest.
This fixes the missing python-misc dependency from python-modules.
As the wiping was having the good side-effect of removing the PN-dev dependency
on PN (which doesn't exist), clear RDEPENDS_${PN}-dev.
(From OE-Core rev: fe3727af217dce4488f1fc6aab3f66232cf11fea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generated key file should try to have bind group so that if
the named daemon is started via '-u bind' option, which is the
default in OE core, we will not get startup failure because of
'permission denied' error.
(From OE-Core rev: fc4c4f40dbcf558a48058d944eef21e588d64aa0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not work and is unsupported so lets compile glibc in ARM mode
always on armv6 SOCs
Fixes [YOCTO #12929]
(From OE-Core rev: de01490695c70ae29b4f2f82aecbffaf5667449e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Checking the requirements for each volatiles file in the
populate-volatiles script can be very slow when there are a large number
of volatiles files, easily consuming over 80% of the processing time.
These checks don't usually uncover any problems so concatenate all the
volatiles files together and process them as one large file for a "fast
path" option. This ensures that the penalty for checking the
requirements is only incurred once. In the event that checking the
requirements for the unified file fails, fall back to the slow process
of checking each one individually so that the offending one can be
skipped.
The core file is handled separately because it is responsible for
creating the temp directory used by check_requirements and thus must
always run first and without having its requirements checked.
[YOCTO #12949]
(From OE-Core rev: f380fac8a43a75861f3157777b12a317b985a5e1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the tests need perl, so add it to the RDEPENDS.
(From OE-Core rev: 3095fbee4b46e9bb2aa9c7355bdb554331df201c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copy the Python 2 run-ptest script to execute the Python 3 test suite.
(From OE-Core rev: d371ff04628bdf7bac66341aeb9a66d145f66416)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit c5629268b0f8ae0a425c98337d13e8dc83107e13:
[
python: set PYTHONHOME for nativesdk
This ensures that the nativesdk python functions correctly without needing to
set PYTHONHOME in the sdk environment setup script.
]
it's also needed for python3.
(From OE-Core rev: b0cbd9efc30289bb4838dcaa43beba2c0c372ab2)
Signed-off-by: Cheuk Wing Leung <cwleung@kth.se>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python uses AC_RUN_IFELSE to determine the byte order for floats and doubles,
and falls back onto "I don't know" if it can't run code. This results in
crippled floating point numbers in Python, and the regression tests fail.
Instead of running code, take a macro from autoconf-archive which compiles C
with a special double in which has an ASCII representation, and then greps the
binary to identify the format.
This is essentially a backport of the Python 3 patch in oe-core 1781b87.
(From OE-Core rev: 94cea72a23a374eb616d5642977b45172537beac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the manifest handling is done differently now, just inherit ptest with the
other inherits.
test_shutil needs unzip so add to RDEPENDS.
Instead of using a patched Makefile, call test.regrtest directly.
(From OE-Core rev: 84f34ad223b1e3f36cab2ac12246eb90efc919bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. The building openssl requires to install perl Text::Template module(>=1.46),
but Text::Template is a non core Perl module, openssl chooses to bundle
Text::Template 1.46 into the source, for convenience.
8ff2af5483
2. While Text::Template < 1.46, the produced build files are gravely faulty.
https://github.com/openssl/openssl/pull/6682
3. If host has installed Text::Template < 1.46 (such as CentOS-7.5 has Text::
Template 1.45). The mismatched old module was used although the right one in
openssl source.
So set PERL5LIB to use deterministic perl Text::Template module bundled
by openssl source and ignore the one of host
(From OE-Core rev: 5e7a75c226d4df0c066f04eaea014b8888c6bed2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It uses certutil from nss to create a blank certificate. But the
checksum of database file key4.db changes every time:
$ certutil -N -d sql:. --empty-password
$ md5sum *
f9dac2cfcb07cc8ca6db442a9a570906 cert9.db
b892c5ff7c1977d4728240b0cf628377 key4.db
7b9136cb03f07ae62eb213a5239fda71 pkcs11.txt
$ rm *
$ certutil -N -d sql:. --empty-password
$ md5sum *
f9dac2cfcb07cc8ca6db442a9a570906 cert9.db
405d55178e866a115c1aa975fccfa764 key4.db
7b9136cb03f07ae62eb213a5239fda71 pkcs11.txt
Provide pre-created databases with a blank certificate to fix
non-determinism issue. And these database files are from nss qemux86-64
build.
(From OE-Core rev: e64a30f7af87fa960b012ace92c51b88e8abae68)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
unfs3 has an old defect that it can not change the timestamps of a
symlink file because it only uses utime(), which will follow the
symlink. This will not cause an error if the symlink points to an
existent file but can be triggered with rpm workflows.
Making unfs3 support lutimes() addresses this problem.
(From OE-Core rev: 244a5be0eab31310b8717ab6b713c2902def4e0c)
Signed-off-by: Rui Wang <rui.wang@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-flex is needed for kernel development inside traidtional
SDK environment, more particularly, `make scripts' under /usr/src/kernel.
So add it to nativesdk-packagegroup-sdk-host.
(From OE-Core rev: 6f8b2a9e03f4e54befe4df0fcfca24e676aef7b5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are having the following error when using 'tar' from tar
recipe to decompress .tar.bz2 files.
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
The tar package is introduced by these two packagegroups into image.
>From the README file from tar's source codes:
"""
** gzip and bzip2.
GNU tar uses the gzip and bzip2 programs to read and write compressed
archives. If you don't have these programs already, you need to
install them.
"""
So we'd better cluster gzip and bzip2 with tar. These two packagegroups
already get 'gzip', so we also add 'bzip2'.
(From OE-Core rev: ca69d793e4b987bd5202e1359ff82c515ad65a5a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current error message is like:
kobject-example.kodoesn't exist
Add a space so that it looks like:
kobject-example.ko doesn't exist
(From OE-Core rev: 30f2cdd0a3ee0874bebd135e35ab591f630e8adc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test need to check config.h, so install it
to fix below err msg:
grep: ../lib/config.h: No such file or directory
./test/f_detect_junk/script: line 3: [: : integer expression expected
f_detect_junk: detect non-fs file data: ok
(From OE-Core rev: 53f2ad2ec54fd69d91c2445c4ae20585b836e2ea)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running wic commands on Debian 10 systems fail in
scripts/lib/wic/engine.py:get_partitions() due to new stderr output captured
when trying to parse the output from /sbin/parted as a non-root user.
The parted command calls the dmidecode utility, which produces this error
as a non-root user:
/sys/firmware/dmi/tables/smbios_entry_point: Permission denied
/dev/mem: Permission denied
scripts/lib/wic/engine.py:get_partitions() calls misc.py:exec_cmd(),
a subprocess wrapper which returns a combined stderr and sdtdout.
These messages to stderr confuse the partition table parser in
get_partitions().
This patch has the partition table parser ignore lines before the expected
"BYT;" header string.
Running wic in Debian 9 does not have this issue.
(From OE-Core rev: d6936301d7598b7a783beaae95109555faf6cc17)
Signed-off-by: Geoff Parker <geoffhp@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copying files from the read-only /var/lib to tmpfs can be slow and waste
memory. If the kernel supports the overlay file system, use it to mount
a writable tmpfs on top of the read-only /var/lib and avoid the file
copy.
(From OE-Core rev: 370fda1b2e8d5dc011522131bba4106de26bfb19)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit d297f7ebf3f6 [fribidi: use Meson instead of autotools]
build failures have been observed with this package. The immediate
issue was related to improperly named #defines per
https://github.com/fribidi/fribidi/commit/46f52d588ab5, however, the
root cause was FRIBIDI_SIZEOF_INT getting a value of "-1".
After searching the meson logs the following was found:
Could not run: /tmp/tmp2fxe6ha1/output.exe (error: [Errno 13] Permission denied)
Checking for size of "int": -1
Which pointed to the real root cause being /tmp mounted with noexec, a
common configuration on Redhat and other distros. This issues has been
raised in the meson community:
https://github.com/mesonbuild/meson/issues/2972 but is yet to be
addressed.
Using the discussion from issue#2972 and the fact that the underlying
code makes use of python 'tempfile' we can simply create a 'tmp'
directory and make use of TMPDIR to avoid this issue.
(From OE-Core rev: 9800daf59d2235bc492d1aeb600e46ad62303510)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
without diffutils, diff from busybox will be used, diff of
busybox cause diff result different with expect file under test.
The diff result generated by 2 /usr/bin/diff is different.
change to use diff under diffutils to fix it
(From OE-Core rev: 35baffb28a4598f385a6ab7765427db683146c1b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative setting for unshare belongs to the util-linux-unshare
package instead of the util-linux package. Fix this problem to avoid
a dead symlink /usr/bin/unshare -> /usr/bin/unshare.util-linux on target.
(From OE-Core rev: 5c4922d5a3bc4a5aaa807d9e65210d0c01c9bdef)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
reboot is provided by busybox too. Add ALTERNATIVE to ensure that there
are no conflicts when both are installed.
(From OE-Core rev: a27a197ad4bb32fa93aa95e685e9e70ffe755811)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
reboot is needed for initramfs where no init manager is set. This
partially reverts:
commit b6fbb3f3d4
Author: Chen Qi <Qi.Chen@windriver.com>
Date: Mon Jul 30 17:41:57 2018 +0800
busybox: move init related configs to init.cfg
Move init related configs to init.cfg.
These config items do not make much sense unless busybox is selected
as the init manager. They should belong to init.cfg.
We would need to set up ALTERNATIVES for reboot in this case.
(From OE-Core rev: 239a4fc1db530f201e1f7069b2045135699a85a7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let users know that the installation was successful and that pressing
Enter would lead to a reboot.
(From OE-Core rev: a5993d9afab060d07213c14c0188422c9e258693)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The info->resolvetls might be NULL according to src/prelink.c:
[snip]
/* Dynamic linker does not depend on any other library,
all symbols resolve to themselves with the exception
of SHN_UNDEF symbols which resolve to 0. */
if (info->symtab[r_sym].st_shndx == SHN_UNDEF)
{
info->resolveent = NULL;
info->resolvetls = NULL;
[snip]
So we must check it before use its members, otherwise, there might be
Segmentation fault error.
Fixed:
MACHINE = "qemumips"
IMAGE_INSTALL_append = " qemu"
$ bitbake core-image-minimal
[snip]
| /path/to/qemumips-poky-linux/core-image-minimal/1.0-r0/temp/run.prelink_image.1000: line 111: 1010 Segmentation fault (core dumped)
[snip]
(From OE-Core rev: 7f5d6f6b70cb1eb486d3ff5c029fc3c6202fc826)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The iputils-ping6 was dropped since the 'ping6' command had been merged
into ping command. Backport patch from upstream to let both 'ping6' and
'ping -6' work.
(From OE-Core rev: 7257f209e317db62f92279fc2ff7d6d1e5eddf75)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The .gir files from gobject-introspection are configured to install to
${libdir}/gir-1.0 when multilib is enabled. Update vapigen-wrapper accordingly.
(From OE-Core rev: 78df4225cc12ba59466ae398b3860b207758e652)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix multilib isntall file conflicts for gobject-introspection.
* use multilib_script.bbclass to handle ${bindir}/g-ir-annotation-tool
and ${bindir}/g-ir-scanner
* add configure option to install .gir files to an alternative path and
only set it when multilib is enabled
(From OE-Core rev: efd91da5230ea27f5c554c3fe51d4c009b85705d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run g-ir-scanner from package gobject-introspection that
missing python modules 'xml' and 'pickle'. Add them to rdepends.
(From OE-Core rev: fa1bad8d96f7f0b8bf5fd2b85ad10b783ff2d303)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only the dnf package manager tests are automatically added to the
list of tests to run. Improve the code to handle automatic addition of
the apt and opkg tests too.
(From OE-Core rev: c9169e4d1fa67289d5beb0e1f8fb5c54153c4242)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building an image takes time and isn't necessary to test taskexp,
we can drop this step.
(From OE-Core rev: 298eb27037172925a83b37541e5955bbf3b7d2fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder runs bitbake-selftest already so we don't need
to execute this manually.
(From OE-Core rev: f223f49b7e3d3f6ef07915edea1a6233ae9869e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the solution to replace Testopia, manual test cases
need to be migrated to OEQA. These manual test case json files
will serve two use cases.
Use case#1: as input to the future commandline-based manual test
runner script, where this script will display actions and expected
result information in user friendly text, then it will capture
user input for test result and log, finally it will write test
result and log into existing standardize test result json format
from OEQA framework for automated tests.
Use case#2: QA will open and read these json file manually for
planning manual test execution. Any reader interested in
understanding manual test cases will open and read these files.
(From OE-Core rev: dcaf843878e9adcb3fab025d54cd5d9ceb6c2fce)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After allarch was disabled in multilib, this test broke. Fix the test to account
for that change.
(From OE-Core rev: 6f692d86c2c6742c67aba93fa24b930af02d8e85)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the opkg/apt tests are run without a package-index they will fail.
Trigger this here for now as a dependency until the code can be improved.
(From OE-Core rev: 7805eec0f522da2d2b6a08c8a07a9243e26c014a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current qemuall override overwrites other dependencies unintentionally.
Tweak the code to avoid this by appending to the variable.
(From OE-Core rev: fc8df45e6b27dd7a26b7bf88a06ffa831fcf075c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append '\n' to the non-empty formatted string before return. If you
write it to the (manifest) file, it will ensure file ends with a newline.
Many GNU utilities have problems processing the last line of a file
if it is not '\n' terminated. E.g. if the last line is not terminated
by a newline character, then "read" will read it but return false,
leaving the broken partial line in the read variable(s).
It can also break or adversely affect some text processing tools,
that operate on the file.
(From OE-Core rev: ee4d0c879713ba50dc6cc3300f44647faebee2e0)
Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration option is WITH_KDE now, as it supports both KDE4 and KDE5.
(From OE-Core rev: 2a5d1db6643482dd06a456e303c6f6bc88059813)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix out of bounds read on empty string filename for guntar, pax and v7tar
(From OE-Core rev: 459506272b8800604886f6bd3bc32ee09d7bb906)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fetch the test tar ball to a subdirectory in ${S}. This avoids the
following error after having done `devtool modify libxml2`:
| DEBUG: Executing shell function do_configure
| find: ‘.../build/tmp/work/mips32r2el-nf-poky-linux/libxml2/2.9.4-r0/xmlconf/’: No such file or directory
(From OE-Core rev: d0d55add6cb01252a46d829ade75666920b676fa)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the unpack task do nothing if externalsrc is in use. This avoids
the following error after having done `devtool modify lsof`:
ERROR: lsof-4.91-r0 do_unpack: Unpack failure for URL:
'file://.../builds/qemux86-64/tmp/work/core2-64-poky-linux/lsof/4.91-r0/lsof_4.91/lsof_4.91_src.tar'.
Unpack command PATH="..." tar x --no-same-owner -f
.../builds/qemux86-64/tmp/work/core2-64-poky-linux/lsof/4.91-r0/lsof_4.91/lsof_4.91_src.tar
failed with return value 2
(From OE-Core rev: 51f9a0e58d7b996c4589566963a5853ed93814f7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the subdir fetch path for configure.ac relative. This avoids the
following error after having done `devtool modify acl`:
ERROR: acl-2.2.52-r0 do_unpack: Unpack failure for URL:
'file://configure.ac;subdir=.../builds/qemux86-64/workspace/sources/acl'.
subdir argument isn't a subdirectory of unpack root
.../builds/qemux86-64/tmp/work/core2-64-poky-linux/acl/2.2.52-r0
(From OE-Core rev: 8a12bb7349bce29403077e18875563a9b0770838)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test suite skips several tests if the required locales are not found, so add
them as dependencies of glib-2.0-ptest.
(From OE-Core rev: b9317997bd4527b7873eb4f903cc4890b5b3580f)
(From OE-Core rev: f1c122fdc14624a659f8d4b07e1ff1f21e472e50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test suite has hard-coded strings which don't match the new translations in
glibc 2.28, so update the test suite.
(From OE-Core rev: e1fa8611de2df3a1a15ae795c34f32e4e7fdbc79)
(From OE-Core rev: fe3eb823cded89acb123308e56a5c888ffa1409b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment was being cleared before the UI imports occurred which
caused problems for graphical UIs like taskexp. The full environment was
intended to be available to UI clients and it was only meant to be cleared
for the server/cooker, so tweak the code order so this is the case.
This fixes problems reported for taskexp.
[YOCTO #12670]
(Bitbake rev: ac15028391fdcc3fec2dd0e64a4f763ce63e5449)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They can't be built without opengl in DISTRO_FEATURES.
[snip]
|webkitgtk-2.20.3/Source/WebCore/platform/graphics/OpenGLShims.h:23:10:
fatal error: GL/gl.h: No such file or directory
[snip]
Some sort of GL is needed yes. We indicate that with opengl loosely in OE
The epiphany depends on webkitgtk, add opengl to REQUIRED_DISTRO_FEATURES also.
(From OE-Core rev: 059af47ecd75d6b733ba893e000749bf3d89d413)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let users to use custom toolchain template files instead of overloading
the whole function.
(From OE-Core rev: d4d5fdadaf2f671559326ab594fb596995846ca4)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the remaining hardcoded '/lib' in kernel firmware installation
path with ${nonarch_base_libdir}.
(From OE-Core rev: b5d01558cfb5e65ef8f08eef70fa64ea6782dda5)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gptfdisk uses a simple Makefile with no automatic detection of
external library support. Use PACKAGECONFIG_CONFARGS and pass
the make targets in EXTRA_OEMAKE.
(From OE-Core rev: 9bed9927ef92f5fbd17aacf3c4bd56bec7bf023e)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make grep quiet for prevent to write information into logs.
(From OE-Core rev: f9f150fa38b188b279b65886cad187b15bae0ce6)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto-dev has been upreved to v4.19. This patch backports a patch from
upstream to make lttng-modules sync up with linux-yocto-dev and later
linux-yocto, and fix the following do_compile error.
| tmp/work/qemux86_64-poky-linux/lttng-modules/2.10.7-r0/lttng-modules-2.10.7/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflict
ing types for 'trace_sock_exceed_buf_limit'
| void trace_##_name(_proto);
| ^~~~~~
(From OE-Core rev: d06b7fd291076a423a83b9630471baeaef9d4f43)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sigchld handler in runqemu can raise a SystemExit when qemu shuts down.
Rather than backtracing, accept this as a successful test result.
ERROR: runqemu.QemuTest.test_qemu_can_shutdown (subunit.RemotedTestCase)
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 183, in test_qemu_can_shutdown
qemu_shutdown_succeeded = self._start_qemu_shutdown_check_if_shutdown_succeeded(qemu, shutdown_timeout)
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/runqemu.py", line 175, in _start_qemu_shutdown_check_if_shutdown_succeeded
time.sleep(1)
File "/home/pokybuild/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/qemurunner.py", line 100, in handleSIGCHLD
raise SystemExit
SystemExit
(From OE-Core rev: 417245923c1c2c35a60d6db29cbe5a78548860d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The qemu shutdown can race with the signal handler removal leading to
confusing tracebacks on slower/loaded systems.
Remove the signal handler first before shutting down.
(From OE-Core rev: 1b63ce7bb83134f84bf07d1075d5ca0d5466ed3d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Let automake use parallel test harness which ensures that appropriate
environment variables are actually used.
* Copy generated config.h as part of ptest package and define a variable
in tests Makefile to control the name of target that we'd like to
invoke for tests instead of relying on default value.
* configure relies on tools that are not available in release tarballs
resulting in warnings and failed tests. Get the required information
from available files instead.
* Reduces the count of failing tests to 18 from 35. The rest of
tests fail or get skipped mostly because of missing syscalls. Number of
tests getting skipped can probably be reduced further.
Fixes [YOCTO #12948]
(From OE-Core rev: dcd674181f31a12c100f91cf6a1c3f3d52b775a2)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox may also provide a fsfreeze and nsenter implementation,
so use u-a to allow installing them side by side.
If one installs both, busybox and util-linux, one gets the following error
(seen on a populate-sdk run):
| ERROR: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
| then please place them into pkg_postinst_ontarget_${PN} ().
| Deferring to first boot via 'exit 1' is no longer supported.
And the coresponding do_populate_sdk extract:
| ...
| update-alternatives: Error: not linking ...sdk/image/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/sbin/fsfreeze
| to /bin/busybox.nosuid /bin/busybox.nosuid since ...sdk/image/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/sbin/fsfreeze
| exists and is not a link
| ...
(From OE-Core rev: 94e3fdff76452d3acde42b164d3ffa6b72540a40)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox may also provide a partprobe implementation, so use u-a to allow
installing them side by side.
If one installs both, busybox and parted, one gets the following error:
| ERROR: image do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
| then please place them into pkg_postinst_ontarget_${PN} ().
| Deferring to first boot via 'exit 1' is no longer supported.
And the coresponding log.do_rootfs extract:
| ...
| update-alternatives: Error: not linking ...image/rootfs/usr/sbin/partprobe to /bin/busybox.nosuid since ...image/rootfs/usr/sbin/partprobe exists and is not a link
| ...
(From OE-Core rev: 99b74d1ff23ef91c84dc81ecf6437ad3bc37fb64)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passing --with-mpfr and --with-mpc when compiling the cross compiler
appears to be at best unnecessary, and at worst can cause build failures.
Firstly, the paths passed in gcc-cross-canadian are using the undefined
${layout_exec_prefix}. This results in configure passing
-I${STAGING_DIR_HOST}/include twice to the compiler when it's doing its
test builds. This is mostly pointless since that directory doesn't exist
with the default oe-core configuration - the correct path would be
-I${STAGING_DIR_HOST}/usr/include.
The path for mpfr passed in gcc-cross is correct, but unnecessary since it
is just the sysroot default.
I've gone back through the history, and it seems that these lines (or
similar ones) were originally added way back in
8800d8be25 for GCC 4.1.1 in 2006! I asked[1]
if anyone knew why this was necessary but received no response, so I can
only assume that no-one knows.
I've successfully built for various targets with this patch applied and
observed no problems.
[1] http://lists.openembedded.org/pipermail/openembedded-core/2018-September/155971.html
(From OE-Core rev: 2f9f02d5fda9884ccf9ae22ceb00d59b99036a49)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that we don't create images that have QA problems with their
package files by adding do_package_qa to do_rootfs[recrdeptask].
(From OE-Core rev: 4ee2f87f0c9540c7e2c866dbc9739e21a618bddf)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support explicit use of pigz when compressing the package contents by
setting:
OPKGBUILDCMD = "opkg-build -Z pigz"
(From OE-Core rev: 631e7bb7d02ca9cb9cb66e6b8395b197525cda55)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LICENSES file contains references to source files with other
licenses than GPL/LGPL that stipulate that they shall be mentioned in
any documentation accompanying a product including this library.
License-Update: Add missing LICENSES file
(From OE-Core rev: 67bc0b3babd922c800a03c1370d6d33a75f273c1)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, the copyright part was left out of the license
information for pcre in LIC_FILES_CHKSUM, preventing it from being
used in, e.g., documentation to satisfy the requirements of the
license.
Also drop pcre/COPYING from LIC_FILES_CHKSUM as it does not really
contain any licensing information, it only refers to a LICENSE file
that does not exist.
License-Update: Include the complete license information for pcre
(From OE-Core rev: 2f5a7e7a04cbdc75d1b9607903889b1fd6c5e1ba)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, the copyright part was left out of the license
information included in LIC_FILES_CHKSUM, preventing it from being
used in, e.g., documentation to satisfy the requirements of the
license.
License-Update: Include the complete license information
(From OE-Core rev: ec3eb678b15d91a450adf82f38e1c1d6d81fed9b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason, the copyright part was left out of the license
information included in LIC_FILES_CHKSUM, preventing it from being
used in, e.g., documentation to satisfy the requirements of the
license.
License-Update: Include the complete license information
(From OE-Core rev: 390becd2dcf4fe791ec3715a74e34a46bd457e7a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For nativesdk, symlinks created by do_install contain ${SDKPATHNATIVE}.
This is a problem with SDKs that include nativesdk-binutils and nativesdk-gcc.
When extracting such an SDK dangling symlinks are created, because
relocate_sdk.py does not adjust symlinks. As a result gcc ends up calling the
host binutils.
Use the os.path.relpath function to obtain shorter relative paths, which do not
contain ${SDKPATHNATIVE}.
(From OE-Core rev: 3d6372aa2d9f752eac0e4943d1bde04f0f1924a0)
Signed-off-by: Achille Fouilleul <achille.fouilleul@gadz.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gold crashes when linking, so use bfd linker here, another option is to
use --disable-asm but then we loose performance.
(From OE-Core rev: 4015f3279aaced1c5d9ae8a6e666c9fba42558df)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The case of sigwaitinfo related to sigwaitinfo API failed.
glibc commit
8b0e795aaa44 ("Simplify Linux sig{timed}wait{info} implementations")
changed sigwaitinfo to call sigtimedwait, which calls rt_sigtimedwait
syscall directly.
So, an invalid pointer no longer crashes child process and test
reports failure. Fix it by accepting either crash or EFAULT.
(From OE-Core rev: bfd32c0d1c335e9c9cf8340f999e15054917577e)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's likely that the certificate root chain is needed if python3-crypt is
installed, so recommend it.
Also remove the redundant nativesdk-python3-crypt assignment, as the general
form is sufficient when class-extended.
(From OE-Core rev: dd644ee9991e953474d41dbbf713a7e33b4c9141)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Freeze-breaking upgrade for a security bug fix involving cookie URLs, and a
number of static analysis fixes.
Drop CVE-2018-12910.patch as this is merged in 2.62.3.
(From OE-Core rev: a8098782fab87498026a09c06716b631c77c5ad6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
devtool doesn't like patches without subjects, so add meaningful subjects.
(From OE-Core rev: 3056a2e5d8b7e7285fd9680073a5ab613a4066e4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches are all upstream now, so mark as Backport.
(From OE-Core rev: 9a84114a279000329c2878a35f197a09217cd1fc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current run-ptest script prints nothing, when stress tests fail.
Fix it in new implementation, discarding external dependency on sed.
Also leave in place all stress output, just add standard ptest result.
Fixes: 3f0106bf2e41 ("libusb: Add ptest")
(From OE-Core rev: cd05029c78dea48c20f9acb2c5fee56b19193f22)
Signed-off-by: Maksym Kokhan <maksym.kokhan@globallogic.com>
Reviewed-by: Andrii Bordunov <andrii.bordunov@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BB_DONT_CACHE was not set for non-virtual recipes where PN != BPN, such
as quilt-native. Recipes that do not set BBCLASSEXTEND should always
have BB_DONT_CACHE set by externalsrc.
(From OE-Core rev: 4eff427a0ee629a1541a420a9591411648569a97)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CMakeLists.txt of piglit uses pkgconfig internally.
This makes sure pkgconfig-native is available in any case.
(From OE-Core rev: ac8f27b441b9e8cee969e06e22759d49e05e1b11)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds include host /usr/include as the wrong wayland variable was used.
The issue only surfaces if CMAKE_SYSROOT is properly set.
(From OE-Core rev: d4b942c97831f6717b34caaaf2402efdffa227ba)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport two and pick some other in-review patches from Ubuntu to fix
ssl test failures because of OpenSSL 1.1.x changes.
Fixes [YOCTO #12788]
(From OE-Core rev: 4f4bbb936231dd30c3745ef573993f1062937ffd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch associated with the CVE-2017-8872 report was never merged into
libxml2, but a slightly different patch for the same problem was. Cherry-pick
that as a backport, which also fixes the failing test suite.
(From OE-Core rev: 512869aea6dde1bb2374601f7c4d793ac9edaa42)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some repositories may specify a relative submodule path. If this happens,
it is our responsibility to use the parents URL (ud) and handle any relative
processing ourselves.
(Bitbake rev: fd9893c338df7828b2c01f1d548aa86dfcf7c50a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new fetcher did not run 'git submodule update' recursively.
(Bitbake rev: 377ed943357b6d47d41d84edbf971741f44affa9)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new gitsm fetcher assumed that submodules were living directly in
the 'modules' directory, whereas they can be arbitrarily nested inside
subdirectories.
Solve it by first creating the parent of the destination directory for
the symlink and copy steps.
(Bitbake rev: 3dbc84e9c572f43209b79f3656d7dc35a6d982ba)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating custom image recipes, the layer add for new layers
needs missing xhrLayerUrl data. Also, code is needed to check
and inform user if the newly added layer has not been cloned yet,
and provide helpful error message instead of the current frozen
dialog.
[YOCTO #12887]
(Bitbake rev: b310031972a53d0881a87a627f07bdcf7d9c6b79)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster users behind firewalls that block "git" access usually
require developers to add remap rules in their "~/.gitconfig"
to remap GIT accesses to HTTP* access. However, there is a
"git remote" test in Toaster that is not aware of such remaps,
resulting in a false error.
For now, disable this nice-to-have check to support this release,
and re-enable when we can add remapping accommodations for this
test.
[YOCTO #12944]
(Bitbake rev: abccd40536b366a418802c5ba8427454c2e3bb2c)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method 'store_log_event' in 'buildinfohelper.py' always puts log
messages from CLI builds into the backlog but never takes them out.
The "close" method now forces all backlogged CLI events to be registered.
[YOCTO #12813]
(Bitbake rev: 6458cc4234337f551dfe189b6f8800d8da886c24)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shallow_tarball check is never true due a check on the caller side.
The tarball check is not related to the code on the caller side.
(Bitbake rev: 086eddcf8c7520ff5c52ce2a11ca9bf5b5fe5d7e)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To improve the readability we extract the different scenarios of why
the clonedir needs an update.
(Bitbake rev: 9038e029f4f0ab413727de76c74248cbb3cdc9ea)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12924]
Naming convention does not apply to the second recipe-creation
method described in this class. I have moved the note about that
to be under the applicable method (i.e. the first bullet).
Fixed the syntax reversal of the sample name in the example.
(From yocto-docs rev: f7f1a89043156527fa4b426c0322ad225a9f2ff1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bullet item describing what the LAYERSERIES_COMPAT variable was
written poorly (ending in a preposition). I fixed the sentence to
read more clearly.
(From yocto-docs rev: 35d09727ab527df7d54ac1316c8e825f586ebc9a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the "debug-with-srcpkg" option for the PACKAGE_DEBUG_SPLIT_STYLE
variable.
(From yocto-docs rev: 05c51e53059bf7c999a448402d60d0b16d62341b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new section to show how to handle dependencies when
you are doing a multiple configuration build. Put it in the
"Examples" section.
(Bitbake rev: fa42212a6cb7b64add4d6ca0f723a95c908c6b87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BBMULTICONFIG variable is a variable used for BitBake and was
not documented in the BitBake Manual glossary. I added the
definition. I also added the variable to the example in the section
describing how to execute builds for multiple configurations.
(Bitbake rev: 836f994ec530ba82c935cb41e006d1f128885dc2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new example. Also added a figure for the separate
configuration file hierarchy
(Bitbake rev: f2d432674b187685591f60cec3b2980b377c63fe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove usage of a specific amount of memory and let it be controlled by
users. This was the default behaviour before it was changed by commit
3b79d9a78 that switched the wks file to be used for qemux86.
Also fixes the bitbake parsing issues seen because of memory starvation
using build appliance images.
Fixes [YOCTO #12894]
(From OE-Core rev: 18d6b668c52dc881cff7b107420e0de527eecce4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GitLab returns a redirect from /foo to /foo.git which older releases of Git
don't handle when cloning. These tests don't clone so the redirect works, but
let's be consistant with the structure of these URLs and add the .git suffix.
(Bitbake rev: d47febbae4ff24be259037f12bafbc14b9e2d6a8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add os-release to NON_MULTILIB_RECIPES in multilib.conf that do not do
multilib expand for os-release.
(From OE-Core rev: 361382ca16c276e1e404eab58c0956a2b6d23d7e)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first line of output of '$CC --version' is written to check_stdint.h
as a comment line. It causes multilib install file conflict.
Do not echo compiler version info to check_stdint.h to fix the issue.
(From OE-Core rev: f9db6ac8044495f9299fb0e962d3d6838bbce08f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first line of config file man_db.conf is the package name. It causes
multilib install file conflict. So add a patch to remove the line.
(From OE-Core rev: d138b1ec4aef88a3b0c4f1d698ed2a224c93b889)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A comment line of conf file cups-files.conf refers to var @CUPS_SERVERBIN@
is ${libdir} related and then it causes multilib install file conflict.
Remove @CUPS_SERVERBIN@ from the comment line to avoid the conflict.
(From OE-Core rev: ac4df3f83fccfa7dd75d6a913b7ab75e49a7b986)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When execute in multiple layers like meta-openembedded the execution is
aborted when some sublayer fails to get world signatures, so mark it as
an error and continue the execution in the remaining sublayers.
(From OE-Core rev: c8ab558b4fdc77ab54fbb130078c78d43740b4b8)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Musl started blocking dlopen of libs with initial-exec references into
dynamic TLS area, via
5c2f46a214
prior to that commit, musl was loading it and silently letting
subsequent TLS accesses via the miscompiled code clobber memory that
didn't belong to them
This was wrong behavior and it relied on additional space reserved by
libc in TLS space to adjust fo such broken libs, but it also fails
with glibc if the reserved space was already used up
Right fix is that mesa should be patched to remove all the
initial-exec hacks and use real TLS, and -mtls-dialect=gnu2 (TLSDESC)
should be used on archs it's supported on (i386, x86_64, and aarch64)
to make up for the lost performance, but mesa hardcodes the initial-exec,
so there must be a reason that probably is better known to mesa devs.
but we 'fixed' it for musl by adding --disable-glx-tls for mesa in OE,
which uses pthread_getspecific instead and makes is lot slower.
this caused additional problems with security flags on, it get textrels
in .text segment. Therefore this is 'second fix' to get us through this
warning.
Cause is some unknown part of mesa's x86 assembly code is broken by
readonly text segments
[ YOCTO #12918 ]
(From OE-Core rev: 27c25de38aacc98fe376422bbbee417b2b45a98e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't use the 'ptest' DISTRO_FEATURE because whilst that can be on,
PTEST_ENABLED could have been overwritten.
(From OE-Core rev: 57e41b6178bf1d88a901cda862e3e054148e86ac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By explicitly disabling debugging we get *no* safety checks: the GLib asserts
and checks are all disabled. This is fine for absolute performance but
something that should be opt-in.
This also breaks the test suite, which relies upon the asserts to work.
(From OE-Core rev: 191f7e2b2fe09ff3276efb68ca91c853291d41f8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstreamable include-tweaking patches contained fragments that should be in
the not-upstreamable musl-specific res_ninit replacement, so move them to the
right patch.
(From OE-Core rev: 18fd5bc97e6b061eec4be0738f20fcbace6bdafe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the dnf command inside SDK does not work. We will
get error message like below:
ImportError: No module named 'dnf'
So remove it from nativesdk-packagegroup-sdk-host, otherwise,
users will get unpleasant experience if they are working inside
SDK environment on some distros like Fedora.
(From OE-Core rev: a7005a4fc5f29db796b1d258b7c259b9433848ce)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The case in ptest use `nm -Pg libcrypto.so' to check symbol presence,
if library is stripped or debug split, the case will fail.
The test case needs debug symbols then we just disable that test.
(From OE-Core rev: 28d3a4cb1ffb508018faebf088eabfd14bcf3113)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bison is needed when building kernel. Add it to nativesdk-packagegroup-sdk-host
and set BISON_PKGDATADIR for bison to use its components.
(From OE-Core rev: 8aa27e4eb2f08281329ca1a1da421c6fc376bc8d)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fix from gitlab.com/libtiff/libtiff.
nvd.nist.gov does not yet reference this patch.
(From OE-Core rev: f72c8af3f2c1ec9e4d9ffcf0cc6e7fdf572b21b9)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently for non-IA platforms, glibc is not reproducible as host system
paths are being injected into target binaries. These spread through
all target binaries on the system which link to the libc.
Add a patch which injects .file directives into the assembly pieces
and works around this issue until a better solution can be found.
(From OE-Core rev: 4d6fd8178da75f9a1870db290bbe24de5af752c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Include cmake as part of build tree toolchain so that it is populated
into meta-ide-support's recipe-sysroot-native which is prepended to
$PATH, this ensures cmake-native is picked up first before host cmake.
(From OE-Core rev: 0b51e0b2ac6f3cc95af4061253dc76a91df91349)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop one patch already applied in upstream
* this is still only partial fix for issues with -O0 and the bigger
issue might be detected in runtime as described in:
https://sourceware.org/glibc/wiki/FAQ#Why_do_I_get:.60.23error_.22glibc_cannot_be_compiled_without_optimization.22.27.2C_when_trying_to_compile_GNU_libc_with_GNU_CC.3Fhttps://sourceware.org/bugzilla/show_bug.cgi?id=19444
and tested in glibc build:
https://sourceware.org/git/?p=glibc.git;a=blob;f=include/libc-symbols.h;h=8b9273c13a19f2658105c7997267d9086adae716;hb=HEAD#l74
* restore the anonymous python to trigger fatal error when -O0 is
used (but don't restore the notes for -O, -O1, -Os
* git log --oneline 3c03baca37fdcb52c3881e653ca392bba7a99c2b..044c96f0d5595aeb0bb4e79355081c5a7f4faca5 | tee
044c96f0d5 Fix misreported errno on preadv2/pwritev2 (BZ#23579)
3a67c72c15 Fix stack overflow in tst-setcontext9 (bug 23717)
2339d6a55e i386: Use ENTRY and END in start.S [BZ #23606]
0ef2f4400c Fix strstr bug with huge needles (bug 23637)
a55e109709 Fix tst-setcontext9 for optimized small stacks.
307d04334d misc: New test misc/tst-gethostid
e7d22db29c Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]
1fe2b9ca8a Fix segfault in maybe_script_execute.
0b79004569 regex: Add test tst-regcomp-truncated [BZ #23578]
58559f1443 regex: fix uninitialized memory access
aa8a3e4cde pthread_cond_broadcast: Fix waiters-after-spinning case [BZ #23538]
c87b5bab24 Improve ChangeLog message.
66fdfd57fe Regen RISC-V rvd ULPs
b0aa03dfff RISC-V: Fix rounding save/restore bug.
2f498f3d14 nss_files: Fix file stream leak in aliases lookup [BZ #23521]
bfcfa22589 nscd: Deallocate existing user names in file parser
d05b05d157 error, error_at_line: Add missing va_end calls
4b25485f03 Linux: Rewrite __old_getdents64 [BZ #23497]
726e1554ce hurd: Avoid PLTs for __pthread_get/setspecific
7f11842e74 hurd: Add missing symbols for proper libc_get/setspecific
* update 0031-sysdeps-ieee754-prevent-maybe-uninitialized-errors-w.patch
based on review comments in upstream and extend it to cover PPC based
on:
http://lists.openembedded.org/pipermail/openembedded-core/2018-September/156258.html
* update 0032-sysdeps-ieee754-soft-fp-ignore-maybe-uninitialized-w.patch
based on review comments in upstream
* add 0033-locale-prevent-maybe-uninitialized-errors-with-Os-BZ.patch
with a fix for aarch64 build with -Os
* build tested with qemuarm, qemuarm64, qemux86, qemux86-64, qemuppc,
qemumips, qemumips64 with -O, -O1, -Os.
(From OE-Core rev: f1f38df91975f9b53933c2d2fbdca291d1872d5f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When in configured mode the archive will re-run configure itself, but that
doesn't work if there are other tasks that need to run such as cmake's
generate_toolchain_file.
Instead of hard-coding a list of classes and tasks, obtain the list of tasks
preceeding do_configure, filter out ones we don't want to re-run such as
do_patch and do_prepare_recipe_sysroot, and run those too.
(From OE-Core rev: fe26382f94d8cb7d2453d9937aee451b757252b8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some recipes don't have do_configure, or have them but are marked as noexec.
Check for their existance before hooking up dependencies.
[ YOCTO #12868 ]
(From OE-Core rev: 5c8aa1f41f04519a8ba3997c0d8e3a71fe270fae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It doesn't make much sense to expand them to multilib, and there is an error on
qemuarm64 since grub-efi supports arm64, but doesn't support armv7a or armv7ve:
* Fixed:
MACHINE = "qemuarm64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a"
MACHINE_FEATURES_append = " efi"
$ bitbake lib32-core-image-minimal
Also introduced a variable NON_MULTILIB_RECIPES in multilib.conf, so that we
can easily add other recipes, such as syslinux if needed.
(From OE-Core rev: 25f7c6c329038b443d36074fff45a30ba3712f7a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly disable sndio to avoid inconsistent result on different
hosts having or not having libsndio.
This must be done if we take into consideration of eSDK.
I built eSDK on Ubuntu 14.04 which has libsndio installed, and then
installed the eSDK on Fedora 27, which does not have libsndio. In
fact, on Fedora 27, I even cannot find libsndio in its repo.
The problem happens when trying to use `devtool runqemu'. The qemu
binary built on Ubuntu 14.04 needs to link to libsndio, and thus
the following error.
runqemu - ERROR - Failed to run qemu: /path/to/qemu-system-x86_64:
error while loading shared libraries: libsndio.so.6.1:
cannot open shared object file: No such file or directory
So explicitly disable sndio for libsdl2 to avoid the above problem.
(From OE-Core rev: 72c37b06b034e97e7dd7e1a20fb0ff5f96088440)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib32-packagegroup-anaconda-support have RDEPENDS to kernel-image,
but kernel-image don't have lib32, so skip it.
ERROR: QA Issue: lib32-packagegroup-anaconda-support package
lib32-packagegroup-anaconda-support - suspicious values 'kernel-image'
in RDEPENDS [multilib]
(From OE-Core rev: 24b8c61bf7dd13f7f371d3a910947a1fac062c6b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It adds ${libdir} to linker options in scripts bind9-config and
isc-config.sh. And then causes install file conflicts when install bind
andl ib32-bind both.
Inherit multilib_script.bbclass to fix this issue.
(From OE-Core rev: d3baeaf09d5d3e7548e5b2ea1b565880ea6ce994)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl scripts ${bindir}/{gpinyin, groffer, grog} are ${libdir} related
and cause multilib install file conflicts:
| Error: Transaction check error:
| file /usr/bin/gpinyin conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
| file /usr/bin/groffer conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
| file /usr/bin/grog conflicts between attempted installs of groff-1.22.3-r0.core2_64 and lib32-groff-1.22.3-r0.x86
Inherit multilib_script.bbclass to fix the errors.
(From OE-Core rev: df90cb1f4ee8918b0bc2a281b2d77444a0d037e7)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The module was accidentally included in python-misc.
Also re-run create_manifest to update the dependencies of python-sqlite3,
causing some whitespace changes.
[ YOCTO #12933 ]
(From OE-Core rev: 9c2b1a0bfc8783052b5dda344cc334b9c13736f5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We manually maintain the tests package's content and dependencies, so mark is as
special (matching create_manifest3.py).
(From OE-Core rev: b4bd4e7e26bb79223129abb9fb6e22e9045e3707)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sqlite3/__init__.py was accidentally included in python3-misc.
(From OE-Core rev: 4e397e16996662bce51608cf5e20448b9803c476)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Other recipes, such as meta-networking inetutils may also provide a man page
for syslogd.8. Use the alternatives mechanism to select the man page to
display.
This is a partial revert of commit: 988aad01b20c18a8850db0ad6dc547525d94116c
The syslogd tool itself is provided by both recipes in their respective runtime
packages. In the inet case, it is inetutils-syslogd, which has an appropriate
RCONFLICTS with the syslogd version. Only one or the other will be installed.
This is the conflict resolution the original commit of
"988aad01b20c18a8850db0ad6dc547525d94116c" was referring to.
HOWEVER, both syslogd and inetutils each only have a singular 'doc' package.
(As do most packages it seems.) Since this is the case, if both syslogd and
inetutils (not syslogd part) is requested for a configuration -- AND ---
doc-pkgs are configured in, you get an error of conflicting files.
Now does the documentation match whichever package was installed, maybe not...
but this isn't a big deal as it turns out, since most syslogd share a common set
of arguments and those are the things a run-time user would query from the man
pages.
The only alternative is to start spliting up the docs into their relevant
subpackages, as we have the runtime items. But this then complicates the
doc-pkgs processing and related...
(From OE-Core rev: 55ba9dc1f8698e23d6f59937c1494a91057b165d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prepare for release and drop sumo for the compatible list of layer names.
This will mean other layers need updating to continue to indicate compatibility
with master but that is intentional at this part of the release cycle, we want
layers to indicate compatibility and show they're up to date.
(From OE-Core rev: 9ec5a8a0f86510f7aae572dfb79e8bda73d4e0fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case the baselib is lib64 we would want to delete /usr/lib
after removing the /usr/lib/locale dir and the implementation
wanted to do that earlier as well but the fault was checking
an already removed dir (/usr/lib/locale) before trying to
remove /usr/lib as that check would always fail.
Now we simply try to delete /usr/lib after deleting
/usr/lib/locale to make sure it deletes cleanly and is empty
at the time of deletion.
(From OE-Core rev: 4dad1568f8f84ec9de4bf7235822f77a8ee6a413)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apply point release patches from upstream which includes a fix for
indefinitely spinning process and a zombie by a simple $() statement
in a long running script.
(From OE-Core rev: eb39670fb2fe9735a1a0434c63b64ec66599f850)
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the RECIPE_SYSROOT of nativesdk recipes is ${WORKDIR}/recipe-sysroot
if multilib is disabled and ${WORKDIR}/nativesdk-recipe-sysroot if multilib
is enabled. And it's causing chaos. Problems I've met include:
1) 'File Exists' error when doing extend_recipe_sysroot
2) Rebuilding failure about cmake based nativesdk recipes if toggling multilib
In nativesdk.bbclass, We've set MULTILIBS to be "", and we've changed MLPREFIX
to be 'nativesdk-', I think we should also set consistent RECIPE_SYSROOT to be
${WORKDIR}/recipe-sysroot.
Below is an example showing why previous settings will cause do_prepare_recipe_sysroot
failure.
e.g.
A -> C
B -> C
A's RECIPE_SYSROOT is .../recipe-sysroot and B's RECIPE_SYSROOT is
.../nativesdk-recipe-sysroot.
As extend_recipe_sysroot function uses shared manifest, i.e., the same
manifest of C for both A and B, then there must be one of them having
the wrong manifest. And the wrong manifest results in RECIPE_SYSROOT
not cleaned up before installing new components, thus the following error.
Exception: FileExistsError: [Errno 17] File exists: xxx -> xxx
This happens when toggling multilib and also between nativesdk recipes and
crosssdk, cross-canadian recipes. The latter situation also explains
why choosing ${WORKDIR}/recipe-sysroot instead of ${WORKDIR}/nativesdk-recipe-sysroot.
If we use 'nativesdk-recipe-sysroot', we still need to modify the extend_recipe_sysroot
function to treat crosssdk and cross-canadian as special cases. Using
'recipe-sysroot' does not have this problem.
(From OE-Core rev: 665934a506cc560bfbc469f5ed095e7d54e353a5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even if the do_populate_sysroot have had set-up noexec flag, populate_sdk's
tasks were trying to find .populate_sysroot manifest file. Change noexec
flag settings to delete appreciated task.
WARNING: core-image-minimal-1.0-r0 do_sdk_depends: Manifest
build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-kernel-devsrc.populate_sysroot
not found in qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm allarch x86_64_x86_64-nativesdk (variant '')?
WARNING: core-image-minimal-1.0-r0 do_populate_sdk_ext: Manifest
build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-kernel-devsrc.populate_sysroot
not found in qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm allarch x86_64_x86_64-nativesdk (variant '')?
(From OE-Core rev: fd74848c3c06901a77057ca03f7c01aff08ee34a)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Below commit has added the unshare to alternatives but did not fix the
packaging of the changed file.
,----[ Offending commit ]
| commit 147da8fe7458a38598845958cb358bb094eba57b
| Author: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
| Date: Thu Jul 5 11:57:19 2018 +0300
|
| util-linux.inc: add fallocate & unshare to alternatives
|
| These binaries can be provided by busybox triggering a conflict in
| do_rootfs so update-alternatives needs to know about them to properly
| create the symlinks.
|
| Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
| Signed-off-by: Ross Burton <ross.burton@intel.com>
`----
(From OE-Core rev: a68f1cacb560632382f8f8ff0c7e03e39a891b29)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The prior fetcher did not know how to work with MIRRORS, and did not
honor BB_NO_NETWORK and similar.
The new fetcher approach recursively calls 'gitsm' download on each
submodule detected. This ensures that it will go throug the
standard download process.
Each downloaded submodule is then 'attached' to the original download in
the 'modules' directory. This mimics the behavior of:
git submodule init
but there is no chance it will contact the network without permission.
It then corrects upstream reference URIs.
The unpack steps simply copies the items from the downloads to the destdir.
Once copied the submodules are connected and we then run:
git submodule update
According to the git documentation, git submodule init can and will modify
the project configuration and may connect to the network. Doing the
work manually prevents this. (This manual process is allowed based
on my reading of the documentation.)
See: https://git-scm.com/book/en/v2/Git-Tools-Submodules
The small change to the existing test is due to this new code always assuming
the code is from a remote system, and not a 'local' repository. If this
assumption proves to be incorrect -- code will need to be added to deal
with local repositories without an upstream URI.
(Bitbake rev: 9c6b39adf9781fa6745f48913a97c859fa37eb5b)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the way the network related tests are skipped, based on how the
fetch tests are handled. We introduce a 'skipIfNoNetwork()' function that
will report skipped tests through the standard unit test reporting system.
[YOCTO #12928]
(Bitbake rev: 7d5af23d560b38fb5558d4ac51c3c9611d6d904f)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test case was changing the current directory, but was never restoring it
to the original location. This causes occasional failures in later test cases.
(Bitbake rev: 8c222c45148d1f21c2390d66ddd9d3e33b397f05)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test case needs to access test case files. Different versions of python
may return absolute or relative locations in __file__. Use the same approach
as other test cases in determining the location of the test files.
(Bitbake rev: 80fe44889a858bddaca230c2d49ccabfcbc236a3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When cross-compiling for arm architecture, bjam fails to properly
detect the abi, which causes a failed conditional to omit the
assembly code that supports the platform.
(From OE-Core rev: 920f2c479c3cf30d92f79dc9098e5915c05cc5e1)
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.14 and 4.18.
(From meta-yocto rev: f7d36129adfeb0d0d5fe26675e2668c49573a32d)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A nasty corner case leads to a hang when utils.lockfile is called from
oe-core's package-manager:deploy_dir_lock (in turn called from
rootfs:_create further up the call stack) with "name" owned by root
and the user running bitbake has no write access.
Because this code runs under pseudo, the UID and EUID of the bitbake
worker process are 0, so the os.access(dirname, os.W_OK) returns True
i.e. it thinks the path is writable when in fact it's not writable.
Only later when trying to open the file an Exception it thrown because
the OS prohibits writing, but the Exception is ignored and the open is
retried leading to an infinite loop.
So this fix is to not ignore the "Permission Denied" exception.
An alternative fix would be to replace the os.access() call with an
try: open() except() at the beginning of the function.
(Bitbake rev: 0cb64d0f85b41b2fa764baf6ff7ea1b13f95004e)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the source packages are created, they need to be included in the
debug image created when IMAGE_GEN_DEBUGFS = "1" for it to be usable for
debugging.
[YOCTO #12930]
(From OE-Core rev: 5fc7fbc10bbd3a54df16db275ecd6080bc58f19e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a function siteinfo_data_for_machine to look up the data for any arch/os
pair, not just HOST_ARCH-HOST_OS.
(From OE-Core rev: 7429ed8d2a6e48cb3415113ef62348ae211aa189)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These two patches are only relevant for builds inside OpenEmbedded, so make them
native-specific.
(From OE-Core rev: 63c89efde45b4aef873e2086b201cad538e42044)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the previous attempt at this from
0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch as it wasn't quite
right, and the rest of the patch is adding the currently not upstreamable runner
option.
Add two new patches to fix both gobject-introspection and gtk-doc using native
flags for target compiles.
(From OE-Core rev: bf41247f52ffd40d91d94d1fc983f8a831b80e48)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the goal of autoconf-compatibility Meson respects $CFLAGS et al in builds.
In cross-compiled build the cross file is the one true source of flags and the
environment isn't used, but in a native build the environment will still be
respected.
As this can lead to target flags being used in the build for native binaries
(including a single native binary inside a target recipe), export
CFLAGS=${BUILD_CFLAGS) et al.
(From OE-Core rev: 4ca0002860dca771836c0ce1c7a92b79a5f2db3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson doesn't care for the value of the endian field, but packages may want to
use it and Meson master now validates the value.
Use siteinfo to obtain the endianism and write the correct value.
(From OE-Core rev: 2f9adf05efdddf8dae9c58976ae56cf32d9e57f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of one patch to change a warning into an exception and another to change
the message, squash the patches together as neither of the are acceptable
upstream.
(From OE-Core rev: d9e5308ebfe376814f383d61ed00b50e8bad526b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following fixes from 4.18 to 4.14 to remove beaglebone
configuration warnings:
1fb0b0379fb5 beaglebone: Clean up the cfg file
4176e7ded8e1 beaglebone: Drop the needless unsetting of the kernel options
65c209da574d beaglebone: Drop the obsolete kernel options
(From OE-Core rev: 2adec315b44dad0f99ad55e04b4e3b6608613147)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous logic assumed that if $BUILD_IMAGES_FROM_FEEDS=1 then a
complete set of ipk feeds from which to build the image is already
present under $IPK_FEED_URIS at do_rootfs runtime.
$IPK_FEED_URIS usually contains "file://${DEPLOY_DIR_IPK}" which
renders the above assumption bad because some recipes in the current
build can contain code like do_install[nostamp] = "1" which will cause
rebuilds bumping $PR and invalidating the index.
Even when the index is manually re-created before an image build
("bitbake package-index"), the nostamp will cause failures because the
dependency gets rebuilt before do_rootfs in the "bitbake <image>" call.
So make the opkg rootfs index logic the same as for rpm/deb, to always
update the index in $DEPLOY_DIR_IPK to fix the above nostamp failure.
Feeds outside $DEPLOY_DIR_IPK added to $IPK_FEED_URIS continue to work
as usual, for eg. by using a http:// URI.
(From OE-Core rev: bce90f48d1cc136fdfdf98b3830f5d99e381271b)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure script ended up creating Makefile with
LIBDIR=/lib
which got leaked into various places including all
pkg-config .pc files where lines like (note the
double slash //):
libdir=${exec_prefix}//lib
...
Libs: -L${libdir} -lcrypto
which causes pkg-config --libs to include the full absolute path
to the recipe specific sysroot. This isn't a big problem
until something like CMake projects start generating
their own .cmake modules using this absolute path and exposing
them to sysroots of other bitbake recipes thus escaping
their recipe specific sysroots.
Then the fun begins when these users of the .cmake module start
to randomly fail builds with error messages like:
/home/builder/src/base/build/tmp/work/corei7-64-linux/package/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-linux/../../libexec/x86_64-linux/gcc/x86_64-linux/7.3.0/ld: cannot find /lib/libpthread.so.0
/home/builder/src/base/build/tmp/work/corei7-64-linux/package/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-linux/../../libexec/x86_64-linux/gcc/x86_64-linux/7.3.0/ld: cannot find /usr/lib/libpthread_nonshared.a
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
As luck has it, this problem goes away by recompiling the recipes
alone but repeats with multiple recipes here and there when full
images are build.
A careful inspection of multi page linker command lines shows
that some linker paramaters point to libraries in a different
recipes sysroot than what bitbake was building when the task
failed.
So, fix is to remove this one extra slash from openssl
library path configuration option. This changes openssl
Makefile to have:
LIBDIR=lib
and all users of LIBDIR variable in the Makefile are already
adding slashes as path separators if that is needed.
With this the generated .pc files have:
libdir=${exec_prefix}/lib
and pkg-config --libs knows to strip the already default
sysroot path away.
This then fixes the generated .cmake files to not include
these absolute paths and fixes the random build failures
when building images.
Thanks to Thomas, Michael and Ross for debugging support!
(From OE-Core rev: d286e91bbdcecef16153313fe5e1e0e0cb469612)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Thomas Witt <thomas.witt@bmw.de>
Cc: Michael Ho <michael.ho@bmw.de>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream implemented an equivalent fix in:
c672fcc0a8d6 ("gunixmounts: Allow root to display mounts under /run/media/$username")
As a result, this change is completely broken when running as root, as
user_name is unitialised when testing strcmp(user_name, "root") so just
segfaults.
(From OE-Core rev: 547e81b678a616ebbdf2e5cc86e918966fafb894)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a race issue when compile libhtml-parser-perl and others who use MakeMaker:
[snip]
chmod 755 blib/arch/auto/HTML/Parser/Parser.so
chmod 644 "Parser.bs"
[snip]
The rule INST_DYNAMIC removes '.bs' file which are generated by BOOTSTRAP, but
the have no dependencies, so there is a race issue:
BOOTSTRAP:
touch foo.bs
chmod 755 foo.bs
INST_DYNAMIC:
rm -fr foo.bs
The error would happen when INST_DYNAMIC removes foo.bs after BOOTSTRAP touched
it but before chmod on it.
(From OE-Core rev: f33d7124cd07f776e8b05a26703f6d551357ae09)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current handling of SIGTERM is incorrect as the process pid returned
by Popen call with shell setting to True is actualy the shell instead of
the qemu process. So use shlex to split cmd so that we can avoid using
shell=True. This ensures the child process is the actual qemu process.
Also, as we install a SIGTERM handler, we need handle the situation of
qemu terminated by SIGTERM, otherwise we will get ERROR message in such
case.
Besides, we have a problem that after running qemu, the terminal's behavior
is incorrect regarding long lines or long commands. Long commands or long
outputs should appear in multiple lines, but they appear in the same line,
overriding previous output. Use `tput smam' to fix this problem.
(From OE-Core rev: e8acef383767cfd1ef0c3d3c45d9d6eb1c83b3e7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note further tests needed after encountering issues.
(From OE-Core rev: ab7b7e222b88e40f2a5011fc16bbd784e6be55e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the release approaching, add thud to LAYERSERIES_CORENAMES and update
oe-core to use this release series. "sumo" will be removed during M4 in
the next couple of weeks so people need to start updating their master
layers in preperation for release.
(From OE-Core rev: 986792481fa005fe136fd4b4e388042492b1ad8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the warning:
WARNING: lib/bb/data_smart.py:235: DeprecationWarning: generator 'COWDictMeta.iter' raised StopIteration
for k, v in self.variables.iteritems():
by using return from the generator, not raising StopIteration.
(Bitbake rev: 407d6e07b09123c12c382b4a92107f002c314b05)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recent kernels and the latest openssl we observe hangs when there
is not sufficient entropy in the system before crypto is used
(i.e. OpenVSwitch or openssh server).
This was mainly observed on qemuarm64, but can happen elsewhere. So
we enable CRYPTO_DEV_VIRTIO in the main virtio fragment and enable
PCI for qemuarm64 to ensure that entropy is available.
(From OE-Core rev: 8cc08e44cf3e969c124456d459c6c06a76cad018)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable releases up to v4.14.71 which comprise
the following commits:
1244bbb3e921 Linux 4.14.71
06274364edb4 mm: get rid of vmacache_flush_all() entirely
8b34a7b14ee7 autofs: fix autofs_sbi() does not check super block type
daf0ca743b28 tuntap: fix use after free during release
ab75811f7181 tun: fix use after free for ptr_ring
8626c40a3093 mtd: ubi: wl: Fix error return code in ubi_wl_init()
08fb833b40e3 ip: frags: fix crash in ip_do_fragment()
b3a0c61b7369 ip: process in-order fragments efficiently
c91f27fb5716 ip: add helpers to process in-order fragments faster.
04b28f406e86 ipv4: frags: precedence bug in ip_expire()
6b921536f170 net: sk_buff rbnode reorg
37c7cc80b1d7 net: add rb_to_skb() and other rb tree helpers
6bf32cda46eb net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends
5123ffdad659 ipv6: defrag: drop non-last frags smaller than min mtu
3bde783eca23 net: modify skb_rbtree_purge to return the truesize of all purged skbs.
7750c414b89b net: speed up skb_rbtree_purge()
1c44969111cc ip: discard IPv4 datagrams with overlapping segments.
5fff99e88a1f inet: frags: fix ip6frag_low_thresh boundary
48c2afc16888 inet: frags: get rid of ipfrag_skb_cb/FRAG_CB
8291cd943a9b inet: frags: reorganize struct netns_frags
bd946fb5226e rhashtable: reorganize struct rhashtable layout
3226bdcb0448 ipv6: frags: rewrite ip6_expire_frag_queue()
085a0147447a inet: frags: do not clone skb in ip_expire()
990204ddc5f6 inet: frags: break the 2GB limit for frags storage
caa4249eca08 inet: frags: remove inet_frag_maybe_warn_overflow()
5b1b3ad46dd1 inet: frags: get rif of inet_frag_evicting()
bd3df633f17d inet: frags: remove some helpers
9aee41eff751 inet: frags: use rhashtables for reassembly units
33dc9f7c5d12 rhashtable: add schedule points
11be675bf0aa ipv6: export ip6 fragments sysctl to unprivileged users
266da0fb83f3 inet: frags: refactor lowpan_net_frag_init()
eb1686ae5e20 inet: frags: refactor ipv6_frag_init()
0512f7e93504 inet: frags: Convert timers to use timer_setup()
0cbf74b9519d inet: frags: refactor ipfrag_init()
673220d6417d inet: frags: add a pointer to struct netns_frags
6093d5abcf5a inet: frags: change inet_frags_init_net() return value
6f7bf899b92d drm/i915: set DP Main Stream Attribute for color range on DDI platforms
bdbf6e0b9326 RDMA/cma: Do not ignore net namespace for unbound cm_id
0d1d365d1d44 MIPS: WARN_ON invalid DMA cache maintenance, not BUG_ON
1181e8687a8d NFSv4.1: Fix a potential layoutget/layoutrecall deadlock
0983ef553d8f f2fs: fix to do sanity check with {sit,nat}_ver_bitmap_bytesize
7beff543897c mfd: ti_am335x_tscadc: Fix struct clk memory leak
b28c14ae3576 iommu/ipmmu-vmsa: Fix allocation in atomic context
1252c1daa9c3 f2fs: Fix uninitialized return in f2fs_ioc_shutdown()
9d54a48ef296 f2fs: fix to wait on page writeback before updating page
9e850bc7691a media: helene: fix xtal frequency setting at power on
5deea7d63ba1 partitions/aix: fix usage of uninitialized lv_info and lvname structures
f3677a5c7d08 partitions/aix: append null character to print data from disk
758289892a13 media: s5p-mfc: Fix buffer look up in s5p_mfc_handle_frame_{new, copy_time} functions
b0a6faaa6060 Input: atmel_mxt_ts - only use first T9 instance
e85940a5bb5f dm cache: only allow a single io_mode cache feature to be requested
94f885db2a18 net: dcb: For wild-card lookups, use priority -1, not 0
946cf3fe1be6 MIPS: generic: fix missing of_node_put()
e607db7ce984 MIPS: Octeon: add missing of_node_put()
7fb2b50ee596 f2fs: fix to do sanity check with reserved blkaddr of inline inode
ee5067c60606 tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
cf503dbe5c22 tpm_tis_spi: Pass the SPI IRQ down to the driver
894b7c6584ed f2fs: fix to skip GC if type in SSA and SIT is inconsistent
7141f97cdd83 pktcdvd: Fix possible Spectre-v1 for pkt_devs
5f91efc475c8 f2fs: try grabbing node page lock aggressively in sync scenario
fd4e3615936c net: mvneta: fix mtu change on port without link
0cfe17c2a909 pinctrl/amd: only handle irq if it is pending and unmasked
acd73639c38c gpio: ml-ioh: Fix buffer underwrite on probe error path
1fc16c07d63b pinctrl: imx: off by one in imx_pinconf_group_dbg_show()
591ee8d9cd2f x86/mm: Remove in_nmi() warning from vmalloc_fault()
60deae3d9fc9 Bluetooth: hidp: Fix handling of strncpy for hid->name information
1dac27c707c8 ath10k: disable bundle mgmt tx completion event support
6158c2b70a8a tools/testing/nvdimm: kaddr and pfn can be NULL to ->direct_access()
383195f9feca scsi: 3ware: fix return 0 on the error path of probe
62128a8d8489 ata: libahci: Correct setting of DEVSLP register
7cadaaa96c07 ata: libahci: Allow reconfigure of DEVSLP register
3f3d6c0608b7 MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET
1ed3a9307230 rpmsg: core: add support to power domains for devices
0e890d1cf491 wlcore: Set rx_status boottime_ns field on rx
bd21eb8aa705 ath10k: prevent active scans on potential unusable channels
2dacb8cc67ef ath9k_hw: fix channel maximum power level test
473983f319cc ath9k: report tx status on EOSP
40992419f135 macintosh/via-pmu: Add missing mmio accessors
968f03158db5 perf evlist: Fix error out while applying initial delay and LBR
cc33476b67b8 perf c2c report: Fix crash for empty browser
521aedea92cd NFSv4.0 fix client reference leak in callback
c39273ce0d85 perf tools: Allow overriding MAX_NR_CPUS at compile time
e296ac45b568 f2fs: fix defined but not used build warnings
e04910746abe f2fs: do not set free of current section
d85e49570227 f2fs: fix to active page in lru list for read path
ca21de151016 tty: rocket: Fix possible buffer overwrite on register_PCI
4bb1d3ec658c Drivers: hv: vmbus: Cleanup synic memory free path
eec63d96d0e4 firmware: vpd: Fix section enabled flag on vpd_section_destroy
16c6e01a4a98 uio: potential double frees if __uio_register_device() fails
2458e91302aa misc: ti-st: Fix memory leak in the error path of probe()
8e6ee30ad80f gpu: ipu-v3: default to id 0 on missing OF alias
3b9909896570 media: camss: csid: Configure data type and decode format properly
cb71229f6483 timers: Clear timer_base::must_forward_clk with timer_base::lock held
d1060bfcdc72 md/raid5: fix data corruption of replacements after originals dropped
1f6324f4ea5b scsi: target: fix __transport_register_session locking
3ddbcd49bbb3 blk-mq: fix updating tags depth
47a6917f4b72 net: phy: Fix the register offsets in Broadcom iProc mdio mux driver
6b7c7186c210 media: dw2102: Fix memleak on sequence of probes
cbd5e67820a9 media: davinci: vpif_display: Mix memory leak on probe error path
77e120a9c64a selftests/bpf: fix a typo in map in map test
274977d99c19 powerpc/powernv: Fix concurrency issue with npu->mmio_atsd_usage
16aa222d2293 gpio: tegra: Move driver registration to subsys_init level
fb281ed2e4dc Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV
0455f5d63b3e i2c: aspeed: Add an explicit type casting for *get_clk_reg_val
5ffdd121d0c4 ethtool: Remove trailing semicolon for static inline
96e5b8cc3cfd misc: mic: SCIF Fix scif_get_new_port() error handling
0b2d28449e68 ARC: [plat-axs*]: Enable SWAP
e5d857d5f1fc tpm: separate cmd_ready/go_idle from runtime_pm
64def6f35348 crypto: aes-generic - fix aes-generic regression on powerpc
0fad94cf1016 switchtec: Fix Spectre v1 vulnerability
ff225750dc4e x86/microcode: Update the new microcode revision unconditionally
05104410c9d1 x86/microcode: Make sure boot_cpu_data.microcode is up-to-date
1d92a611db50 cpu/hotplug: Prevent state corruption on error rollback
cb2625854091 cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun()
cc4271088619 ALSA: hda - Fix cancel_work_sync() stall from jackpoll work
a709c46fdcd0 KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
d5fca5314c4d KVM: s390: vsie: copy wrapping keys to right place
ae3968b41645 Btrfs: fix data corruption when deduplicating between different files
55bcfe019ac4 smb3: check for and properly advertise directory lease support
b0b69369eecc SMB3: Backup intent flag missing for directory opens with backupuid mounts
9efcaa7c4afb MIPS: VDSO: Match data page cache colouring when D$ aliases
492519107c9d android: binder: fix the race mmap and alloc_new_buf_locked
381992bcccac block: bfq: swap puts in bfqg_and_blkg_put
23ecbbad7bf9 nbd: don't allow invalid blocksize settings
425739151e03 scsi: lpfc: Correct MDS diag and nvmet configuration
d98b67089c0e i2c: i801: fix DNV's SMBCTRL register offset
831223b294f8 i2c: xiic: Make the start and the byte count write atomic
5dfe87ac34e2 Linux 4.14.70
ab088bc2911d arm64: Handle mismatched cache type
469c89aa5d7e arm64: Fix mismatched cache line size detection
0d2e80411a1a ASoC: wm8994: Fix missing break in switch
03717f80cf2c arm64: cpu_errata: include required headers
82a0e0f5cf40 x86: kvm: avoid unused variable warning
e02c9275beea kvm: x86: Set highest physical address bits in non-present/reserved SPTEs
39cff99ba469 Revert "ARM: imx_v6_v7_defconfig: Select ULPI support"
e37957305de3 irda: Only insert new objects into the global database via setsockopt
77be9452d0e5 irda: Fix memory leak caused by repeated binds of irda socket
63fd9d43c018 s390/lib: use expoline for all bcr instructions
9370868fd3ca kbuild: make missing $DEPMOD a Warning instead of an Error
1e0750745bdf drm/i915: Increase LSPCON timeout
13b23ccfa288 x86/xen: don't write ptes directly in 32-bit PV guests
d85c2999a7b5 x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear
685a452ce3bf usb: dwc3: core: Fix ULPI PHYs and prevent phy_get/ulpi_init during suspend/resume
44e5d0b6ce63 HID: add quirk for another PIXART OEM mouse used by HP
801fc191bb15 mm: Fix devm_memremap_pages() collision handling
1508043c32a9 lightnvm: pblk: free padded entries in write buffer
fd8cb2e71cdd sched/deadline: Fix switching to -deadline
8d015a362a84 debugobjects: Make stack check warning more informative
448b5498f6c6 uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name
589a8eafc74e drm/amdgpu:add VCN booting with firmware loaded by PSP
4a4afcf76c96 drm/amdgpu:add VCN support in PSP driver
d47d14de2438 drm/amdgpu:add new firmware id for VCN
997157c4eb38 drm/amdgpu:add tmr mc address into amdgpu_firmware_info
65d20e40552f drm/amdgpu: update tmr mc address
f40ecf3fe04a drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80
d991f8ae4071 drm/amd/pp/Polaris12: Fix a chunk of registers missed to program
c46a1b2622fa drm/amdgpu: Fix RLC safe mode test in gfx_v9_0_enter_rlc_safe_mode
7e1a6951ca99 drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"
a35d3352434d ARM: rockchip: Force CONFIG_PM on Rockchip systems
1f62d35cd2e1 arm64: rockchip: Force CONFIG_PM on Rockchip systems
33f4c5c68044 btrfs: Don't remove block group that still has pinned down bytes
0cdbc3faf960 btrfs: relocation: Only remove reloc rb_trees if reloc control has been initialized
2f92584bf1f6 btrfs: replace: Reset on-disk dev stats value after replace
145b1f56b992 btrfs: Exit gracefully when chunk map cannot be inserted to the tree
80f97c79f3e1 kvm: nVMX: Fix fault vector for VMX operation at CPL > 0
1187e0186d81 KVM: vmx: track host_state.loaded using a loaded_vmcs pointer
0aa49a4ddc8e clk: rockchip: Add pclk_rkpwm_pmu to PMU critical clocks in rk3399
92ef9425c6e1 powerpc/pseries: Avoid using the size greater than RTAS_ERROR_LOG_MAX.
f3c124c3077d powerpc/64s: Make rfi_flush_fallback a little more robust
17b1473e6433 powerpc/platforms/85xx: fix t1042rdb_diu.c build errors & warning
e5f0192fe220 SMB3: Number of requests sent should be displayed for SMB3 not just CIFS
f6a01ab96067 smb3: fix reset of bytes read and written stats
9dd38052a3eb cfq: Suppress compiler warnings about comparisons
9b3fa26f0092 RDS: IB: fix 'passing zero to ERR_PTR()' warning
e33c8a2896ec selftests/powerpc: Kill child processes on SIGINT
c861151b1fe9 iommu/omap: Fix cache flushes on L2 table entries
0a65ab39f8b6 ASoC: rt5677: Fix initialization of rt5677_of_match.data
3e86f5157661 staging: comedi: ni_mio_common: fix subdevice flags for PFI subdevice
120130a75724 dm kcopyd: avoid softlockup in run_complete_job
50956ef66cdb PCI: mvebu: Fix I/O space end address calculation
301ae5910648 xen/balloon: fix balloon initialization for PVH Dom0
a333f3f2a255 Input: do not use WARN() in input_alloc_absinfo()
a9fac97e2e50 NFSv4: Fix error handling in nfs4_sp4_select_mode()
8ac6b147534c scsi: aic94xx: fix an error code in aic94xx_init()
24165131bcab ACPI / scan: Initialize status to ACPI_STA_DEFAULT
c953a5038d2d s390/dasd: fix panic for failed online processing
ab16afe8c624 s390/dasd: fix hanging offline processing due to canceled worker
d67c7c9dd14f block: bvec_nr_vecs() returns value for wrong slab
6952b4ed9e42 perf probe powerpc: Fix trace event post-processing
af675a6eefe9 powerpc: Fix size calculation using resource_size()
c20a5e06b750 powerpc/uaccess: Enable get_user(u64, *p) on 32-bit
47425c36d3fb f2fs: fix to clear PG_checked flag in set_page_dirty()
c2842800d6bd net/9p: fix error path of p9_virtio_probe
4cd195263e42 net/9p/trans_fd.c: fix race by holding the lock
5859129cf62e irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP
5e51aa84f4e8 perf tools: Check for null when copying nsinfo.
800dbcee10cd net: hns3: Fix for phy link issue when using marvell phy driver
a77439e5fb28 net: hns3: Fix for command format parsing error in hclge_is_all_function_id_zero
c16a0727c71a RDMA/hns: Fix usage of bitmap allocation functions return values
0c02e0c3fd13 tcp, ulp: add alias for all ulp modules
58de2cef2b68 netfilter: fix memory leaks on netlink_dump_start error
e4f419133dfa platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360
044e9463ec20 mfd: sm501: Set coherent_dma_mask when creating subdevices
ccf1ae823e4a ipvs: fix race between ip_vs_conn_new() and ip_vs_del_dest()
a2805f40c77e s390/kdump: Fix memleak in nt_vmcoreinfo
2b81b00edba1 netfilter: ip6t_rpfilter: set F_IFACE for linklocal addresses
f95c5cde34e8 platform/x86: intel_punit_ipc: fix build errors
e20c4abf9186 fs/dcache.c: fix kmemcheck splat at take_dentry_name_snapshot()
4570403f6e11 mm/fadvise.c: fix signed overflow UBSAN complaint
2dc61587a103 pwm: meson: Fix mux clock names
52ec8484a7c5 IB/hfi1: Invalid NUMA node information can cause a divide by zero
e5ef973b137f x86/mce: Add notifier_block forward declaration
b7540b6235f0 virtio: pci-legacy: Validate queue pfn
ab4bddc2d032 scripts: modpost: check memory allocation results
7bbf1e8a2471 fat: validate ->i_start before using
305277dae99e fs/proc/kcore.c: use __pa_symbol() for KCORE_TEXT list entries
68e787c3c800 hfsplus: fix NULL dereference in hfsplus_lookup()
003d4c3bf5a5 reiserfs: change j_timestamp type to time64_t
f552f8c28d34 fork: don't copy inconsistent signal handler state to child
8b89affb42ae sunrpc: Don't use stack buffer with scatterlist
ece4ba1c0c90 hfs: prevent crash on exit from failed search
7d6eba211a1a hfsplus: don't return 0 when fill_super() failed
d4e42116f77e cifs: check if SMB2 PDU size has been padded and suppress the warning
c9ba1b82ce96 net: sched: action_ife: take reference to meta module
e54c50709019 act_ife: fix a potential deadlock
cd7330c06195 act_ife: move tcfa_lock down to where necessary
8aa07625eb81 hv_netvsc: Fix a deadlock by getting rtnl lock earlier in netvsc_probe()
dadb0110a49d hv_netvsc: ignore devices that are not PCI
bf82c2cb1450 vhost: correctly check the iova range when waking virtqueue
fe0d111fea19 mlxsw: spectrum_switchdev: Do not leak RIFs when removing bridge
3c035a48e774 sctp: hold transport before accessing its asoc in sctp_transport_get_next
456e46f05b37 nfp: wait for posted reconfigs when disabling the device
8fed734df375 tipc: fix a missing rhashtable_walk_exit()
417b068a6a7a net/sched: act_pedit: fix dump of extended layered op
56af4184d356 vti6: remove !skb->ignore_df check from vti6_xmit()
e4b6c5fd31bd tcp: do not restart timewait timer on rst reception
3eada53de462 r8169: add support for NCube 8168 network card
d19688e347a1 qlge: Fix netdev features configuration.
7f1e6ec4ff12 net: sched: Fix memory exposure from short TCA_U32_SEL
cb765f5c3c5b net: macb: do not disable MDIO bus at open/close time
1ef819e411f8 net: bcmgenet: use MAC link status for fixed phy
a16405ad27f6 ipv4: tcp: send zero IPID for RST and ACK sent in SYN-RECV and TIME-WAIT state
a08d7ea10bc7 act_ife: fix a potential use-after-free
7fe7a0f4c5cf Linux 4.14.69
29245d36680e arm64: mm: always enable CONFIG_HOLES_IN_ZONE
3098933c1213 fs/quota: Fix spectre gadget in do_quotactl
0682e027f39d crypto: caam/qi - fix error path in xts setkey
ccb38942fbe1 crypto: caam/jr - fix descriptor DMA unmapping
be6f98b203d3 crypto: caam - fix DMA mapping direction for RSA forms 2 & 3
9f830cf2d510 crypto: vmx - Fix sleep-in-atomic bugs
300ec47ab8ea perf auxtrace: Fix queue resize
5a842ecca279 cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias()
d1a265da7b29 bcache: release dc->writeback_lock properly in bch_writeback_thread()
c8d875b471b6 libnvdimm: fix ars_status output length calculation
ff0791f467d0 getxattr: use correct xattr length
19b99719970b udlfb: set optimal write delay
d0f2eb3a419b fb: fix lost console when the user unplugs a USB adapter
9b0dd656d593 pwm: tiehrpwm: Fix disabling of output of PWMs
0ef9c771924d pwm: tiehrpwm: Don't use emulation mode bits to control PWM output
63bbaa1469e6 ubifs: Fix synced_i_size calculation for xattr inodes
8a23348d76a1 ubifs: xattr: Don't operate on deleted inodes
f6d7acc1d9ca ubifs: Check data node size before truncate
3259dd7176e4 Revert "UBIFS: Fix potential integer overflow in allocation"
a230db38a9fd ubifs: Fix memory leak in lprobs self-check
656d6e6f6d23 userns: move user access out of the mutex
b692c405a1ae sys: don't hold uts_sem while accessing userspace memory
c2ea292b1350 iommu/vt-d: Fix dev iotlb pfsid use
eb58c40465f3 iommu/vt-d: Add definitions for PFSID
7cf82f3b7a77 mm/tlb: Remove tlb_remove_table() non-concurrent condition
ddcb92700552 ARM: tegra: Fix Tegra30 Cardhu PCA954x reset
d453f04e813a NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence()
c5759d5a7e6a NFSv4: Fix locking in pnfs_generic_recover_commit_reqs
bf23ba3737e0 NFSv4 client live hangs after live data migration recovery
ec13c53dc59f pnfs/blocklayout: off by one in bl_map_stripe()
ed480f2b9e86 block, bfq: return nbytes and not zero from struct cftype .write() method
fe806eb54bca xtensa: increase ranges in ___invalidate_{i,d}cache_all
0d78efe0412b xtensa: limit offsets in __loop_cache_{all,page}
025cc91f8c52 KVM: PPC: Book3S: Fix guest DMA when guest partially backed by THP pages
58936d4d7b14 KVM: VMX: fixes for vmentry_l1d_flush module parameter
015156f50179 PM / sleep: wakeup: Fix build error caused by missing SRCU support
924383edf44c cpufreq: governor: Avoid accessing invalid governor_data
256f63f52ec3 drivers/block/zram/zram_drv.c: fix bug storing backing_dev
8840ca570f2b ovl: fix wrong use of impure dir cache in ovl_iterate()
aa9ceea20788 mfd: hi655x: Fix regmap area declared size for hi655x
4f6789cad647 uprobes: Use synchronize_rcu() not synchronize_sched()
a36e2aa90576 livepatch: Validate module/old func name length
68a735eb9a16 printk/tracing: Do not trace printk_nmi_enter()
cbde057aa0e7 tracing/blktrace: Fix to allow setting same value
4c9016757e3b tracing: Do not call start/stop() functions when tracing_on does not change
2b4c940dccbe rtc: omap: fix potential crash on power off
bbac5374b537 vmw_balloon: fix VMCI use when balloon built into kernel
89667b269e87 vmw_balloon: VMCI_DOORBELL_SET does not check status
d3b403844db5 vmw_balloon: do not use 2MB without batching
9fd44e90903c vmw_balloon: fix inflation of 64-bit GFNs
c0a8e047734c extcon: Release locking when sending the notification of connector state
3f9481902f0b iio: ad9523: Fix return value for ad952x_store()
e4d3a25111dc iio: ad9523: Fix displayed phase
b86374912fee iio: sca3000: Fix missing return in switch
91b48a9ced06 Drivers: hv: vmbus: Reset the channel callback in vmbus_onoffer_rescind()
d286cfd45277 uart: fix race between uart_put_char() and uart_shutdown()
5044eb05026e dm crypt: don't decrease device limits
f961be894413 dm cache metadata: set dirty on all cache blocks after a crash
b7227e6044be dm cache metadata: save in-core policy_hint_size to on-disk superblock
3bef88257145 dm thin: stop no_space_timeout worker when switching to write-mode
4f4b1c5c4c8a dm integrity: change 'suspending' variable from bool to int
5f04d296f24b net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree()
312479e06828 net/9p/client.c: version pointer uninitialized
f92953b0765b 9p/virtio: fix off-by-one error in sg list bounds check
4827a583871a fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed
390671089d62 9p: fix multiple NULL-pointer-dereferences
def89b81ef45 RDMA/rxe: Set wqe->status correctly if an unexpected response is received
bac5c3c122f4 ib_srpt: Fix a use-after-free in srpt_close_ch()
241e62005c74 cxl: Fix wrong comparison in cxl_adapter_context_get()
1eb08e7b192d powerpc/powernv/pci: Work around races in PCI bridge enabling
15677df25afc PCI: Add wrappers for dev_printk()
4bfd910e8fb3 powerpc/pseries: Fix endianness while restoring of r3 in MCE handler.
ed53c0ecc959 powerpc/fadump: handle crash memory ranges array index overflow
259c5122f3a8 Fix kexec forbidding kernels signed with keys in the secondary keyring to boot
f70805bef73e Replace magic for trusting the secondary keyring with #define
9cbb32610233 mailbox: xgene-slimpro: Fix potential NULL pointer dereference
c160382ab064 media: Revert "[media] tvp5150: fix pad format frame height"
fba6b7f4bbe2 libertas: fix suspend and resume for SDIO connected cards
7188f7416438 drm/i915/userptr: reject zero user_size
1e2698976822 block: really disable runtime-pm for blk-mq
0affbaece6d0 block: blk_init_allocated_queue() set q->fq as NULL in the fail case
cf12d0f9c0dc readahead: stricter check for bdi io_pages
8513c01ae15f mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS
e7b6b3699b97 spi: cadence: Change usleep_range() to udelay(), for atomic context
dc9a7dd57f63 spi: spi-fsl-dspi: Fix imprecise abort on VF500 during probe
23554cab1ebd spi: pxa2xx: Add support for Intel Ice Lake
aa1d05c50483 spi: davinci: fix a NULL pointer dereference
4d3016e56c3d 9p/net: Fix zero-copy path in the 9p virtio transport
4a2262972b5d net: mac802154: tx: expand tailroom if necessary
54c0fa829d45 net: 6lowpan: fix reserved space for single frames
ee13f7edca58 Linux 4.14.68
77d1658e5dd1 gcc-plugins: Use dynamic initializers
616d41d1b408 gcc-plugins: Add include required by GCC release 8
73b2e7073b51 cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status
63a0f9de021a watchdog: Mark watchdog touch functions as notrace
f9f67667e0ae power: generic-adc-battery: check for duplicate properties copied from iio channels
54cecb7440bc power: generic-adc-battery: fix out-of-bounds write when copying channel properties
d2a97eba0c4e PM / clk: signedness bug in of_pm_clk_add_clks()
2adc2541a5c4 clk: rockchip: fix clk_i2sout parent selection bits on rk3399
ae302d685162 iscsi target: fix session creation failure handling
5b55b24cec4c scsi: core: Avoid that SCSI device removal through sysfs triggers a deadlock
c984f4d1d40a scsi: sysfs: Introduce sysfs_{un,}break_active_protection()
d071004e0249 scsi: mpt3sas: Fix _transport_smp_handler() error path
61ec14f42c84 tpm: Return the actual size when receiving an unsupported command
ba0797a8016c MIPS: lib: Provide MIPS64r6 __multi3() for GCC < 7
1c40cd97ffe3 MIPS: Change definition of cpu_relax() for Loongson-3
156b5e33ab12 MIPS: Always use -march=<arch>, not -<arch> shortcuts
62c59b1ddbdc MIPS: Correct the 64-bit DSP accumulator register size
4bdf9c175980 kprobes: Make list and blacklist root user read only
6ba27d3e2b4a kprobes/arm: Fix %p uses in error messages
0536c9e41f3f s390/pci: fix out of bounds access during irq setup
2ac8fbd174d7 s390/numa: move initial setup of node_to_cpumask_map
97e3dcc08e4e s390/qdio: reset old sbal_state flags
bcd169a2726a s390: fix br_r1_trampoline for machines without exrl
9fae74e9a441 s390/mm: fix addressing exception after suspend/resume
bbcbaf56ff4b x86/entry/64: Wipe KASAN stack shadow before rewind_stack_do_exit()
cf9fcdd6c2a2 hwmon: (nct6775) Fix potential Spectre v1
ec4034835eaf x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+
f64979512c5e x86/spectre: Add missing family 6 check to microcode check
f822ceb82608 x86/irqflags: Mark native_restore_fl extern inline
53f01e2004ae x86/nmi: Fix NMI uaccess race against CR3 switching
fbd5b82d30d2 x86/vdso: Fix lsl operand order
42228037aa5f pinctrl: freescale: off by one in imx1_pinconf_group_dbg_show()
7806d2ef4904 ASoC: sirf: Fix potential NULL pointer dereference
2ef691428ee3 ASoC: zte: Fix incorrect PCM format bit usages
d1913b9e07e7 ASoC: dpcm: don't merge format from invalid codec dai
e16bbdeccdd7 b43/leds: Ensure NUL-termination of LED name string
f0f3784ee3e9 b43legacy/leds: Ensure NUL-termination of LED name string
f337a54878e2 udl-kms: avoid division
c0357c1895ae udl-kms: fix crash due to uninitialized memory
86c18c5a4bc5 udl-kms: handle allocation failure
29e641a3693a udl-kms: change down_interruptible to down
e8a3f3a03655 fuse: Add missed unlock_page() to fuse_readpages_fill()
ff4a71855d0a fuse: Fix oops at process_init_reply()
973206923812 fuse: umount should wait for all requests
fc17d7519e8e fuse: fix unlocked access to processing queue
cfb6eca6e4bb fuse: fix double request_end()
7d392674443c fuse: fix initial parallel dirops
eaebcf902ae0 fuse: Don't access pipe->buffers without pipe_lock()
c49505f6efb1 x86/kvm/vmx: Remove duplicate l1d flush definitions
933e1ab12051 KVM: x86: SVM: Call x86_spec_ctrl_set_guest/host() with interrupts disabled
cedb8037f069 x86/process: Re-export start_thread()
4587db4c2a95 x86/vdso: Fix vDSO build if a retpoline is emitted
310f2a6e3ad3 x86/speculation/l1tf: Suggest what to do on systems with too much RAM
59463ec29cac x86/speculation/l1tf: Fix off-by-one error when warning that system has too much RAM
7418d7086217 x86/speculation/l1tf: Fix overflow in l1tf_pfn_limit() on 32bit
e9afa7c1ef17 mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE
3e0994616d4a mm: move tlb_table_flush to tlb_flush_mmu_free
7d91aa5717db platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too
0c9bed369889 nvme-pci: add a memory barrier to nvme_dbbuf_update_and_check_event
509c0cdfb438 ext4: reset error code in ext4_find_entry in fallback
5043e05dd571 ext4: sysfs: print ext4_super_block fields as little-endian
7773a6d94896 ext4: check for NUL characters in extended attribute's name
bd0f93a630ff stop_machine: Atomically queue and wake stopper threads
e72107b2d995 stop_machine: Reflow cpu_stop_queue_two_works()
97f76f3bc406 s390/kvm: fix deadlock when killed by oom
4a06fdf2c490 KVM: arm/arm64: Skip updating PTE entry if no change
792a039415dc KVM: arm/arm64: Skip updating PMD entry if no change
75677d72be74 arm64: dts: rockchip: corrected uart1 clock-names for rk3328
5a56b307992e arm64: mm: check for upper PAGE_SHIFT bits in pfn_valid()
a8affa695373 kprobes/arm64: Fix %p uses in error messages
cd71265a8cd6 printk/nmi: Prevent deadlock when accessing the main log buffer in NMI
943276ef14c7 printk: Create helper function to queue deferred console handling
646e7c04803f printk: Split the code for storing a message into the log buffer
b48522b7887a iommu/arm-smmu: Error out only if not enough context interrupts
f91ca31f5379 Btrfs: fix btrfs_write_inode vs delayed iput deadlock
e7457f97d2af btrfs: don't leak ret from do_chunk_alloc
770025cc4b69 btrfs: use correct compare function of dirty_metadata_bytes
758f55f91833 smb3: fill in statfs fsid and correct namelen
66913d23eeda smb3: don't request leases in symlink creation and query
be1210c7758c smb3: Do not send SMB3 SET_INFO if nothing changed
82a856f52733 smb3: enumerating snapshots was leaving part of the data off end
d5f2790a7a1e cifs: check kmalloc before use
cba34b940773 cifs: add missing debug entries for kconfig options
cfcfbe08d298 mei: don't update offset in write
cf7ab2abc524 mm/memory.c: check return value of ioremap_prot
7bb880a11650 scsi: vmw_pvscsi: Return DID_RESET for status SAM_STAT_COMMAND_TERMINATED
4ce46fff750d scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO
a67aef68ef24 scsi: fcoe: drop frames in ELS LOGO error path
95239b2db50f scsi: fcoe: fix use-after-free in fcoe_ctlr_els_send
fbb37b72489d gpiolib-acpi: make sure we trigger edge events at least once on boot
1d7bf02d716d memcg: remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure
47041cf42a47 drivers: net: lmc: fix case value for target abort error
28013eecf6a0 Squashfs: Compute expected length from inode size rather than block length
249778d9459a mm: delete historical BUG from zap_pmd_range()
8babbc02f893 squashfs metadata 2: electric boogaloo
dfa5c4bf8c94 enic: do not call enic_change_mtu in enic_probe
574a4f3e6173 sparc: use asm-generic version of msi.h
7c841ea7f8f1 sparc/time: Add missing __init to init_tick_ops()
24fab572ae7d arc: fix type warnings in arc/mm/cache.c
391e3007e447 arc: fix build errors in arc/include/asm/delay.h
aca05b1741d3 arc: [plat-eznps] fix printk warning in arc/plat-eznps/mtm.c
79f9c523ca43 arc: [plat-eznps] fix data type errors in platform headers
d267258ee192 ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc
2312e6a802b3 enic: handle mtu change for vf properly
d4f96c0515fc nfp: flower: fix port metadata conversion bug
bc928fdf5d1e bpf: use GFP_ATOMIC instead of GFP_KERNEL in bpf_parse_prog()
331c36cd01d8 ARC: dma [non-IOC] setup SMP_CACHE_BYTES and cache_line_size
49c1fba34589 Revert "MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe erratum"
9339ea7c92fc tools/power turbostat: Read extended processor family from CPUID
a73b6c4c2601 zswap: re-check zswap_is_full() after do zswap_shrink()
92c159863d8a ipc/sem.c: prevent queue.status tearing in semop
2dd2f7722570 hinic: Link the logical network device to the pci device in sysfs
d00c34f8e205 selftests/ftrace: Add snapshot and tracing_on test case
2c69b0300458 cachefiles: Wait rather than BUG'ing on "Unexpected object collision"
4029dd9fc48b cachefiles: Fix refcounting bug in backing-file read monitoring
819b476c2138 fscache: Allow cancelled operations to be enqueued
165335d4f18e x86/boot: Fix if_changed build flip/flop bug
d35aab9df15a sched/rt: Restore rt_runtime after disabling RT_RUNTIME_SHARE
0ba83f87c3f1 i2c/mux, locking/core: Annotate the nested rt_mutex usage
b3da5df23900 locking/rtmutex: Allow specifying a subclass for nested locking
354e35beb0c5 net: axienet: Fix double deregister of mdio
f63868841a31 qmi_wwan: fix interface number for DW5821e production firmware
637de2c01678 bnx2x: Fix invalid memory access in rss hash config path.
1875957f2ec4 media: staging: omap4iss: Include asm/cacheflush.h after generic includes
00f795e12b8b perf/x86/amd/ibs: Don't access non-started event
385b40b4fc1b i2c: davinci: Avoid zero value of CLKH
562d7bc6c966 can: m_can: Move accessing of message ram to after clocks are enabled
0b14a856f918 can: mpc5xxx_can: check of_iomap return before use
06ab42734529 net: prevent ISA drivers from building on PPC32
5803ce5effc9 atl1c: reserve min skb headroom
ffb34418ca94 qed: Correct Multicast API to reflect existence of 256 approximate buckets.
f4e284f1db9e qed: Fix possible race for the link state value.
77c65d5f40c6 qed: Fix link flap issue due to mismatching EEE capabilities.
b970d8a1c213 net: caif: Add a missing rcu_read_unlock() in caif_flow_cb
a10170d94ed4 tools/power turbostat: fix -S on UP systems
10ca6b3f92d3 KVM: vmx: use local variable for current_vmptr when emulating VMPTRST
123534dbd490 netfilter: nf_tables: don't allow to rename to already-pending name
4a0144a43c52 netfilter: nf_tables: fix memory leaks on chain rename
e3476a6da5d8 bpf, ppc64: fix unexpected r0=0 exit path inside bpf_xadd
a685c4c4d6e8 netfilter: nft_set_hash: add rcu_barrier() in the nft_rhash_destroy()
70e88fef36ec usb: gadget: f_uac2: fix endianness of 'struct cntrl_*_lay3'
7cd80fc138f2 tools: usb: ffs-test: Fix build on big endian systems
645fef5e8dde usb/phy: fix PPC64 build errors in phy-fsl-usb.c
a362655deb0e usb: gadget: u_audio: protect stream runtime fields with stream spinlock
c7d18686e87a usb: gadget: u_audio: remove cached period bytes value
42b09bece176 usb: gadget: u_audio: remove caching of stream buffer parameters
224c0d0894ff usb: gadget: u_audio: update hw_ptr in iso_complete after data copied
dc126a1e5fb8 usb: gadget: u_audio: fix pcm/card naming in g_audio_setup()
fa18ff7edb88 usb: gadget: f_uac2: fix error handling in afunc_bind (again)
43b058dc21cd usb: gadget: r8a66597: Fix a possible sleep-in-atomic-context bugs in r8a66597_queue()
3f41c2d0e618 usb: gadget: r8a66597: Fix two possible sleep-in-atomic-context bugs in init_controller()
05ee6166d702 nbd: handle unexpected replies better
ced413c5ef85 nbd: don't requeue the same request twice.
962ff36dac01 drm/imx: imx-ldb: check if channel is enabled before printing warning
a43eac2d855b drm/imx: imx-ldb: disable LDB on driver bind
9ac1a4644bb8 scsi: libiscsi: fix possible NULL pointer dereference in case of TMF
ca5fc53ad401 scsi: target: iscsi: cxgbit: fix max iso npdu calculation
384f0d9fe4ad drm/bridge: adv7511: Reset registers on hotplug
7cb625dd9ed6 nl80211: Add a missing break in parse_station_flags
147b89c421d0 ext4: clear mmp sequence number when remounting read-only
de044d4ecc65 mac80211: add stations tied to AP_VLANs during hw reconfig
b6f147a2d907 esp6: fix memleak on error path in esp6_input
0118f86d21f1 xfrm: free skb if nlsk pointer is NULL
d35cc7ed2cfe xfrm: fix missing dst_release() after policy blocking lbcast and multicast
d2adc199957f vti6: fix PMTU caching and reporting on xmit
7ff4bf211f3e crypto: vmx - Use skcipher for ctr fallback
(From OE-Core rev: 636ffaec45db57a3eb5ae1ca9a81b763dc1a6a53)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable commits for 4.18.8/9, that comprise
the following commits:
86e014f514f9 Linux 4.18.9
175ad0cbd818 mm: get rid of vmacache_flush_all() entirely
39998fd58036 autofs: fix autofs_sbi() does not check super block type
51d34e94c470 clocksource: Revert "Remove kthread"
777c7b8464de RDMA/cma: Do not ignore net namespace for unbound cm_id
9daa1d751d51 MIPS: mscc: ocelot: fix length of memory address space for MIIM
20452f8f04a2 MIPS: WARN_ON invalid DMA cache maintenance, not BUG_ON
1c7b8cf2a76a RDMA/hns: Update the data type of immediate data
137fee538bb0 NFSv4.1: Fix a potential layoutget/layoutrecall deadlock
1256eeb12678 RDMA/hns: Add illegal hop_num judgement
b6f493453c78 f2fs: fix to do sanity check with extra_attr feature
059311916fbb f2fs: fix to propagate return value of scan_nat_page()
8d65ffb36708 f2fs: fix to do sanity check with {sit,nat}_ver_bitmap_bytesize
ea08014059c6 mfd: ti_am335x_tscadc: Fix struct clk memory leak
ff418359bfcb iommu/ipmmu-vmsa: Fix allocation in atomic context
3ca5bae4d2d8 mfd: rave-sp: Initialize flow control and parity of the port
0342426f2bf7 f2fs: fix to do sanity check with secs_per_zone
ee0b97e19865 f2fs: avoid potential deadlock in f2fs_sbi_store
d92dadb83be8 media: em28xx: Fix DualHD disconnect oops
aba03a8b544a f2fs: Fix uninitialized return in f2fs_ioc_shutdown()
eade994be5e6 f2fs: fix to wait on page writeback before updating page
f9ce9240ebbe iommu/arm-smmu-v3: Abort all transactions if SMMU is enabled in kdump kernel
1b210d52abf5 media: em28xx: Fix dual transport stream operation
088ce054c745 drm/amd/display: Prevent PSR from being enabled if initialization fails
fdc340f5a710 media: helene: fix xtal frequency setting at power on
18f4b79efb40 media: rcar-csi2: update stream start for V3M
e681be2362e8 partitions/aix: fix usage of uninitialized lv_info and lvname structures
06a557d12a90 partitions/aix: append null character to print data from disk
c57525ab6f77 media: s5p-mfc: Fix buffer look up in s5p_mfc_handle_frame_{new, copy_time} functions
3f6592445cbe Input: atmel_mxt_ts - only use first T9 instance
5864b9e06e17 dm cache: only allow a single io_mode cache feature to be requested
24983c8101c9 net: dcb: For wild-card lookups, use priority -1, not 0
e66813955581 thermal_hwmon: Sanitize attribute name passed to hwmon
8cc36414d815 thermal: rcar_thermal: avoid NULL dereference in absence of IRQ resources
273234f22e95 MIPS: generic: fix missing of_node_put()
9449bd8ff770 MIPS: Octeon: add missing of_node_put()
235fd393825b f2fs: fix to do sanity check with reserved blkaddr of inline inode
d44e0ddb577d tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
d229e7ecc0cb tpm_tis_spi: Pass the SPI IRQ down to the driver
4f268d981258 f2fs: fix to skip GC if type in SSA and SIT is inconsistent
2cf9708981e7 pktcdvd: Fix possible Spectre-v1 for pkt_devs
bf5cde3c685b f2fs: try grabbing node page lock aggressively in sync scenario
b493d05c0402 net: mvneta: fix mtu change on port without link
d35bf0a213ec pinctrl/amd: only handle irq if it is pending and unmasked
d288d8163c97 gpio: ml-ioh: Fix buffer underwrite on probe error path
9b9ceea29ad2 gpio: pxa: disable pinctrl calls for PXA3xx
6871146498a7 pinctrl: imx: off by one in imx_pinconf_group_dbg_show()
9d8c6300d158 regulator: tps65217: Fix NULL pointer dereference on probe
0d268eaecd3d x86/mm: Remove in_nmi() warning from vmalloc_fault()
73941b28bcdd Bluetooth: hidp: Fix handling of strncpy for hid->name information
dc00dc4ccf8b powerpc/mm: Don't report PUDs as memory leaks when using kmemleak
81a4ff2429e7 PCI: mobiveil: Fix struct mobiveil_pcie.pcie_reg_base address type
94ee251c1ed4 PCI: mobiveil: Add missing ../pci.h include
1f1e9c39a6a7 media: em28xx: explicitly disable TS packet filter
ddd0ae7f02d4 ath10k: disable bundle mgmt tx completion event support
0bf7bf9931ad tools/testing/nvdimm: kaddr and pfn can be NULL to ->direct_access()
83d9430bd43b scsi: 3ware: fix return 0 on the error path of probe
0a964871ccea nfs: Referrals not inheriting proto setting from parent
0c8b7991f40d ata: libahci: Correct setting of DEVSLP register
d12d3336fe95 ata: libahci: Allow reconfigure of DEVSLP register
b0f09f787d38 MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET
2916355cbc9c scsi: tcmu: do not set max_blocks if data_bitmap has been setup
15ce90b8346f mtd: rawnand: make subop helpers return unsigned values
e5d9ae0077a5 rpmsg: core: add support to power domains for devices
d397e7c9d663 wlcore: Set rx_status boottime_ns field on rx
b19c6e698558 ath10k: prevent active scans on potential unusable channels
23aa633d564b ath9k_hw: fix channel maximum power level test
ce5127257d99 ath9k: report tx status on EOSP
1e83b3b9c60e perf build: Fix installation directory for eBPF
e01f7c77ce21 macintosh/via-pmu: Add missing mmio accessors
14335f6beb3f powerpc/pseries: fix EEH recovery of some IOV devices
d8551bc50c57 perf evlist: Fix error out while applying initial delay and LBR
96e8b14b1f42 perf c2c report: Fix crash for empty browser
3ce0566333dd NFSv4.0 fix client reference leak in callback
aa405740d359 device-dax: avoid hang on error before devm_memremap_pages()
f2d46f40bb92 perf tools: Allow overriding MAX_NR_CPUS at compile time
528000132554 ASoC: soc-pcm: Use delay set in component pointer function
9590fe082ac4 f2fs: fix to detect looped node chain correctly
7d2914dac206 f2fs: fix defined but not used build warnings
86750bef4029 f2fs: issue discard align to section in LFS mode
14580e8d9655 f2fs: Keep alloc_valid_block_count in sync
2ab744266b20 f2fs: do not set free of current section
9a83044805f9 f2fs: fix to active page in lru list for read path
b70fdc0ffc14 IB/IPoIB: Set ah valid flag in multicast send flow
17732e7759e8 iwlwifi: pcie: don't access periphery registers when not available
a1354f0d718a uio: fix possible circular locking dependency
40dc1eb129a5 tty: rocket: Fix possible buffer overwrite on register_PCI
e951163fb87c Drivers: hv: vmbus: Cleanup synic memory free path
15e5a96b1e1a firmware: vpd: Fix section enabled flag on vpd_section_destroy
386b28c2de45 uio: potential double frees if __uio_register_device() fails
baec9ce83ad5 misc: ti-st: Fix memory leak in the error path of probe()
7fef1a4f376a gpu: ipu-v3: default to id 0 on missing OF alias
0bbd7344b42a media: camss: csid: Configure data type and decode format properly
b3f70869623d timers: Clear timer_base::must_forward_clk with timer_base::lock held
5a149d67afa9 md/raid5: fix data corruption of replacements after originals dropped
b54ac5fd6d6a scsi: target: fix __transport_register_session locking
9db9eb8c4e30 scsi: lpfc: Fix driver crash when re-registering NVME rports.
abe0bde4dd8c blk-mq: fix updating tags depth
a73a10b78563 clk: scmi: Fix the rounding of clock rate
846f4edf32b6 scsi: qla2xxx: Silent erroneous message
8e2b7c2c14f5 scsi: qla2xxx: Fix session state stuck in Get Port DB
549f85194379 scsi: qla2xxx: Fix unintended Logout
8246055b5c6b net: phy: Fix the register offsets in Broadcom iProc mdio mux driver
e78e5a975500 media: dw2102: Fix memleak on sequence of probes
e88a48b70c31 media: davinci: vpif_display: Mix memory leak on probe error path
c3b51c11c836 selftests/bpf: fix a typo in map in map test
c9feebab869c powerpc/4xx: Fix error return path in ppc4xx_msi_probe()
35fa5df6c79a powerpc/powernv: Fix concurrency issue with npu->mmio_atsd_usage
7e3d17181c13 gpio: tegra: Move driver registration to subsys_init level
9a5cbf5c84a1 pinctrl: berlin: fix 'pctrl->functions' allocation in berlin_pinctrl_build_state
074f319a5c13 Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV
516771283149 i2c: aspeed: Add an explicit type casting for *get_clk_reg_val
e6ab983acd1b ethtool: Remove trailing semicolon for static inline
0906eb972eea ALSA: hda/realtek - Add mute LED quirk for HP Spectre x360
c6fe80156828 misc: mic: SCIF Fix scif_get_new_port() error handling
40b9d96cea9f tc-testing: remove duplicate spaces in connmark match patterns
86bebb604160 tc-testing: flush gact actions on test teardown
e114758826f5 ARC: [plat-axs*]: Enable SWAP
f688bf1511c9 switchtec: Fix Spectre v1 vulnerability
5b7497c02dac x86/apic/vector: Make error return value negative
0d07d02abd58 x86/process: Don't mix user/kernel regs in 64bit __show_regs()
c6f8e398c10e x86/microcode: Update the new microcode revision unconditionally
e0a8f85b0aee x86/microcode: Make sure boot_cpu_data.microcode is up-to-date
875872547357 cpu/hotplug: Prevent state corruption on error rollback
6b7b020bef06 cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun()
a4db12abb871 ALSA: hda - Fix cancel_work_sync() stall from jackpoll work
ce987db2b52f memory: ti-aemif: fix a potential NULL-pointer dereference
8bf0dc8d0a67 ACPI / LPSS: Force LPSS quirks on boot
e8cc3b38a0b6 ARC: [plat-axs*/plat-hsdk]: Allow U-Boot to pass MAC-address to the kernel
18d40b7836d4 KVM: x86: Do not re-{try,execute} after failed emulation in L2
4ff64069721a KVM: x86: Default to not allowing emulation retry in kvm_mmu_page_fault
3e88f92cd118 KVM: x86: Merge EMULTYPE_RETRY and EMULTYPE_ALLOW_REEXECUTE
172c718af8b2 KVM: x86: Invert emulation re-execute behavior to make it opt-in
9a89243cb1c7 KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
a7e360b1086b KVM: x86: SVM: Set EMULTYPE_NO_REEXECUTE for RSM emulation
625a6bcb11a2 KVM: s390: vsie: copy wrapping keys to right place
33cd6d44e8c6 KVM: PPC: Book3S HV: Use correct pagesize in kvm_unmap_radix()
9e7e9f25ef3e KVM: arm/arm64: Clean dcache to PoC when changing PTE due to CoW
a2359d3d80fe arm64: KVM: Only force FPEXC32_EL2.EN if trapping FPSIMD
e9773e97f502 Btrfs: fix data corruption when deduplicating between different files
29d76c9853a2 btrfs: fix qgroup_free wrong num_bytes in btrfs_subvolume_reserve_metadata
15c4b1902f0e cifs: connect to servername instead of IP for IPC$ share
dc0416dcd3ab smb3: check for and properly advertise directory lease support
d88717b6ce78 SMB3: Backup intent flag missing for directory opens with backupuid mounts
521983976c38 MIPS: VDSO: Match data page cache colouring when D$ aliases
67b987648258 android: binder: fix the race mmap and alloc_new_buf_locked
c583d8956d83 block: bfq: swap puts in bfqg_and_blkg_put
d927dea6392d block: don't warn when doing fsync on read-only devices
56935391aba9 nbd: don't allow invalid blocksize settings
e847a545edae scsi: lpfc: Correct MDS diag and nvmet configuration
faeb7c279e48 mac80211: don't update the PM state of a peer upon a multicast frame
15a6f8974a8c memory_hotplug: fix kernel_panic on offline page processing
f1549c67f23f mm/hugetlb: filter out hugetlb pages if HUGEPAGE migration is not supported.
c0cbb9e5d448 HID: input: fix leaking custom input node name
81bb35902b63 HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen
7bc3f187fd30 HID: core: fix grouping by application
e114a409eef6 HID: multitouch: fix Elan panels with 2 input modes declaration
b94023f1ab51 i2c: i801: fix DNV's SMBCTRL register offset
824ca3763057 i2c: xiic: Make the start and the byte count write atomic
dfba61ec760e Linux 4.18.8
d27f3eb84d52 ASoC: wm8994: Fix missing break in switch
e496c9a4c17d HID: redragon: fix num lock and caps lock LEDs
838ddbf08cc7 x86: kvm: avoid unused variable warning
d9b47449c1a1 kvm: x86: Set highest physical address bits in non-present/reserved SPTEs
f9acfbec6652 kbuild: make missing $DEPMOD a Warning instead of an Error
30566a3520bb x86/xen: don't write ptes directly in 32-bit PV guests
22b734b0c850 x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear
9fdac0148450 debugobjects: Make stack check warning more informative
977f362a1f7b drm/amdgpu: Don't warn on destroying a pinned BO
ff9ac76caaee drm/amdgpu: Warn and update pin_size values when destroying a pinned BO
e2a81121f62a drm/amdgpu: Make pin_size values atomic
df058ec846fe drm/amdgpu: Keep track of amount of pinned CPU visible VRAM
dd458c42c28a x86/tsc: Prevent result truncation on 32bit
009a091aae1c drm/i915: set DP Main Stream Attribute for color range on DDI platforms
7a5d47d5faa3 mm: respect arch_dup_mmap() return value
153fedc6ba32 uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name
97cdbf04a052 drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"
15ca3cf67c18 drm/amdgpu: fix incorrect use of drm_file->pid
dd4a6ffb5bc1 drm/amdgpu: fix incorrect use of fcheck
0d34ba1b3d33 drm/amdgpu:add VCN booting with firmware loaded by PSP
e765455ea299 drm/amdgpu:add VCN support in PSP driver
56c8d038c465 drm/amdgpu:add new firmware id for VCN
467fce24d137 drm/amdgpu:add tmr mc address into amdgpu_firmware_info
9eba3ada1217 drm/amdgpu: update tmr mc address
1e7e7a541e08 drm/amd/display: Check if clock source in use before disabling
dfe84b71296f drm/amd/display: Pass connector id when executing VBIOS CT
433009dc1b81 drm/rockchip: vop: fix irq disabled after vop driver probed
5e1f742d4bbb drm/rockchip: vop: split out core clock enablement into separate functions
2781b277d589 drm/rockchip: lvds: add missing of_node_put
590eda32ee42 drm/amd/display: Report non-DP display as disconnected without EDID
823057fc0a2c drm/amd/display: Use requested HDMI aspect ratio
691f2d763d07 drm/amd/display: update clk for various HDMI color depths
b31d6596d7d2 drm/amd/display: Don't share clk source between DP and HDMI
a74410c9d4e4 drm/amd/display: fix type of variable
401a86f73216 drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80
fd0f192ab66c drm/edid: Quirk Vive Pro VR headset non-desktop.
ef78d745f0fd drm/amd/pp/Polaris12: Fix a chunk of registers missed to program
e32774810036 drm/amd/powerplay: fixed uninitialized value
8ec9ca91819f drm/amd/pp: Convert voltage unit in mV*4 to mV on CZ/ST
4c518d5abdf4 drm/amdgpu: Fix RLC safe mode test in gfx_v9_0_enter_rlc_safe_mode
7acffde7a949 drm/amdgpu: fix a reversed condition
c8fe7d36e49b drm/amdgpu: update uvd_v6_0_ring_vm_funcs to use new nop packet
7ddb29b09517 drm/i915: Free write_buf that we allocated with kzalloc.
087ed76cb538 drm/i915: Increase LSPCON timeout
cfc7d9e0064b drm/i915: Nuke the LVDS lid notifier
a23feb39586a drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"
760d0077abc1 btrfs: fix mount and ioctl device scan ioctl race
49db06e7f366 btrfs: reorder initialization before the mount locks uuid_mutex
1ef9a3009ba9 btrfs: lift uuid_mutex to callers of btrfs_parse_early_options
71ddab54bee5 btrfs: lift uuid_mutex to callers of btrfs_scan_one_device
40ce21951aab btrfs: use device_list_mutex when removing stale devices
b57a7b0d4122 btrfs: rename local devices for fs_devices in btrfs_free_stale_devices(
0b40d58d469f btrfs: extend locked section when adding a new device in device_list_add
2d4bbb81bac6 btrfs: do btrfs_free_stale_devices outside of device_list_add
8515518d6365 ARM: rockchip: Force CONFIG_PM on Rockchip systems
c4e3acea0ebc arm64: rockchip: Force CONFIG_PM on Rockchip systems
3ffbbcafe9a5 btrfs: Fix a C compliance issue
c8c9b6c07166 btrfs: Don't remove block group that still has pinned down bytes
122fe306d072 btrfs: lift uuid_mutex to callers of btrfs_open_devices
f88b40c1472a btrfs: check-integrity: Fix NULL pointer dereference for degraded mount
4fb2799b05c2 btrfs: tree-checker: Detect invalid and empty essential trees
13b0dbef7dd5 btrfs: relocation: Only remove reloc rb_trees if reloc control has been initialized
4c8415cf5b5a btrfs: fix in-memory value of total_devices after seed device deletion
32455d96e3ee btrfs: replace: Reset on-disk dev stats value after replace
464a90e380f2 btrfs: Exit gracefully when chunk map cannot be inserted to the tree
f5cf5b0383e3 drm/etnaviv: fix crash in GPU suspend when init failed due to buffer placement
fc73680f9cf7 kvm: nVMX: Fix fault vector for VMX operation at CPL > 0
68b0ce42a7f4 KVM: vmx: track host_state.loaded using a loaded_vmcs pointer
ac5395827d48 drm/amd/display: Read back max backlight value at boot
5bd634167f2f clk: rockchip: Add pclk_rkpwm_pmu to PMU critical clocks in rk3399
214d87aee3af powerpc/pseries: Avoid using the size greater than RTAS_ERROR_LOG_MAX.
b070664de855 um: fix parallel building with O= option
d7e16ec6ee19 powerpc/64s: Make rfi_flush_fallback a little more robust
a4b8adb73ba1 powerpc/platforms/85xx: fix t1042rdb_diu.c build errors & warning
813cbe22dc04 smb3: if server does not support posix do not allow posix mount option
c2704b5e4688 SMB3: Number of requests sent should be displayed for SMB3 not just CIFS
31bd39126330 CIFS: fix memory leak and remove dead code
b91052f95055 smb3: fix reset of bytes read and written stats
0cf56c159d64 cfq: Suppress compiler warnings about comparisons
8b59b7c743dc RDS: IB: fix 'passing zero to ERR_PTR()' warning
fe5e418c6bc3 selinux: cleanup dentry and inodes on error in selinuxfs
c3fb1a354ccf selftests/powerpc: Kill child processes on SIGINT
0510985d1460 iommu/omap: Fix cache flushes on L2 table entries
8041b94f4eda ASoC: rt5677: Fix initialization of rt5677_of_match.data
3fb096cdad59 staging: comedi: ni_mio_common: fix subdevice flags for PFI subdevice
aee3d110a104 dm kcopyd: avoid softlockup in run_complete_job
ab131d7f7a9c PCI: mvebu: Fix I/O space end address calculation
00bb59025eaf xen/balloon: fix balloon initialization for PVH Dom0
19f2289b4ec9 Input: do not use WARN() in input_alloc_absinfo()
4d89c871694a NFSv4: Fix error handling in nfs4_sp4_select_mode()
12af4639cfe2 scsi: aic94xx: fix an error code in aic94xx_init()
d5fed61a3d2e blk-mq: count the hctx as active before allocating tag
e904dff96e84 ACPI / scan: Initialize status to ACPI_STA_DEFAULT
e1d82ba3d835 s390/dasd: fix panic for failed online processing
70866799dd6f s390/dasd: fix hanging offline processing due to canceled worker
151751ec48a2 brcmfmac: fix brcmf_wiphy_wowl_params() NULL pointer dereference
d0e21e43cd3e block: bvec_nr_vecs() returns value for wrong slab
c728031a3535 perf probe powerpc: Fix trace event post-processing
6f3bddbfb636 powerpc: Fix size calculation using resource_size()
118522ed5fa7 powerpc/uaccess: Enable get_user(u64, *p) on 32-bit
c565269d06e9 bpf: fix bpffs non-array map seq_show issue
77197f8d9628 pinctrl: axp209: Fix NULL pointer dereference after allocation
0fbcbc408cec f2fs: fix to clear PG_checked flag in set_page_dirty()
ec3fb9172b86 net/9p: fix error path of p9_virtio_probe
91ca7c5644c3 net/9p/trans_fd.c: fix race by holding the lock
8542647689ad irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP
e51977e08ef0 irqchip/stm32: Fix init error handling
e71ea647e9ae RISC-V: Use KBUILD_CFLAGS instead of KCFLAGS when building the vDSO
bd2b9872d3cb f2fs: fix avoid race between truncate and background GC
7038712b79a1 f2fs: avoid race between zero_range and background GC
aa8ce04f531f perf tools: Check for null when copying nsinfo.
6d39ab3401ff coccicheck: return proper error code on fail
243b6c6a90cc drm/amd/display: Guard against null crtc in CRC IRQ
1e0892195475 PCI: Match Root Port's MPS to endpoint's MPSS as necessary
0472229e385c net: hns3: Fix for phy link issue when using marvell phy driver
b02fd8a8dc25 block: don't warn for flush on read-only device
534dde34bb7d net: hns3: Fix for command format parsing error in hclge_is_all_function_id_zero
faba3f032e96 perf arm spe: Fix uninitialized record error variable
7da94d53075d ACPICA: ACPICA: add status check for acpi_hw_read before assigning return value
08100b285966 RDMA/hns: Fix usage of bitmap allocation functions return values
59e8e46ada76 ubi: Initialize Fastmap checkmapping correctly
58d705bdcd85 tcp, ulp: add alias for all ulp modules
30d2d473b6c2 netfilter: fix memory leaks on netlink_dump_start error
2d24a4ca6204 platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360
3bf9fa21774a netfilter: x_tables: do not fail xt_alloc_table_info too easilly
8dea99cf8b43 mfd: sm501: Set coherent_dma_mask when creating subdevices
c63f900720ba ipvs: fix race between ip_vs_conn_new() and ip_vs_del_dest()
df1ce63447ea s390/kdump: Fix memleak in nt_vmcoreinfo
875fefda91d4 netfilter: ip6t_rpfilter: set F_IFACE for linklocal addresses
bdcdbe6e48f0 samples/bpf: all XDP samples should unload xdp/bpf prog on SIGTERM
2262b26d750d bpf, sockmap: fix leakage of smap_psock_map_entry
ea775b698008 net/xdp: Fix suspicious RCU usage warning
7fb58bc7549d bpf, sockmap: fix sock_map_ctx_update_elem race with exist/noexist
4cd728b4b50a tcp, ulp: fix leftover icsk_ulp_ops preventing sock from reattach
98d30c6ae96a bpf, sockmap: fix map elem deletion race with smap_stop_sock
af160422460e platform/x86: intel_punit_ipc: fix build errors
56d0f1c6d4d2 fs/dcache.c: fix kmemcheck splat at take_dentry_name_snapshot()
8bca1a92d8b8 mm: make DEFERRED_STRUCT_PAGE_INIT explicitly depend on SPARSEMEM
b9f9fc3844d8 mm/fadvise.c: fix signed overflow UBSAN complaint
dfb5ad65ca17 powerpc/topology: Get topology for shared processors at boot
3940236559d1 pwm: meson: Fix mux clock names
216011668891 IB/hfi1: Invalid NUMA node information can cause a divide by zero
8fb30bf797fe i2c: core: ACPI: Make acpi_gsb_i2c_read_bytes() check i2c_transfer return value
106fabc844a1 x86/mce: Add notifier_block forward declaration
34f91b3d0e55 virtio: pci-legacy: Validate queue pfn
cad3dc0a4563 apparmor: fix an error code in __aa_create_ns()
fb6fc1b6a408 scripts: modpost: check memory allocation results
13892551c76f workqueue: re-add lockdep dependencies for flushing
b7a3d36d6c32 workqueue: skip lockdep wq dependency in cancel_work_sync()
798d80a612dd fat: validate ->i_start before using
739956488c79 fs/proc/kcore.c: use __pa_symbol() for KCORE_TEXT list entries
69177abd89a5 iommu/rockchip: Move irq request past pm_runtime_enable
d30de7347e29 hfsplus: fix NULL dereference in hfsplus_lookup()
5a476ca109bc iommu/rockchip: Handle errors returned from PM framework
9f0114724473 reiserfs: change j_timestamp type to time64_t
df67ae0bd579 fs/proc/vmcore.c: hide vmcoredd_mmap_dumps() for nommu builds
0de1a99801ff fork: don't copy inconsistent signal handler state to child
19ca1a2830e9 sunrpc: Don't use stack buffer with scatterlist
3d872bd5ae87 hfs: prevent crash on exit from failed search
84ac254ed287 hfsplus: don't return 0 when fill_super() failed
8043c90bada1 cifs: check if SMB2 PDU size has been padded and suppress the warning
ded39314abc0 hv_netvsc: ignore devices that are not PCI
c56a2888ac2b vhost: correctly check the iova range when waking virtqueue
a6fddbba3e63 mlxsw: spectrum_switchdev: Do not leak RIFs when removing bridge
98c4cc4c81e8 sctp: hold transport before accessing its asoc in sctp_transport_get_next
eb4f28d8f9e0 nfp: wait for posted reconfigs when disabling the device
ade76212f72a ip6_vti: fix a null pointer deference when destroy vti6 tunnel
b7f172c4b692 ip6_vti: fix creating fallback tunnel device for vti6
aff760646722 Revert "net: stmmac: Do not keep rearming the coalesce timer in stmmac_xmit"
e366979eb8f0 r8169: set RxConfig after tx/rx is enabled for RTL8169sb/8110sb devices
0981fb60a006 net/mlx5: Fix SQ offset in QPs with small RQ
2ff8354c2317 net/ipv6: Put lwtstate when destroying fib6_info
b24b39afa411 net/ipv6: Only update MTU metric if it set
6568eedbe939 net/ipv6: init ip6 anycast rt->dst.input as ip6_input
078e7d112fbc ipv6: don't get lwtstate twice in ip6_rt_copy_init()
23f64bad173c net: macb: Fix regression breaking non-MDIO fixed-link PHYs
630403ba9183 erspan: set erspan_ver to 1 by default when adding an erspan dev
0f6387a1087d sctp: remove useless start_fail from sctp_ht_iter in proc
b68d53c36108 tipc: fix the big/little endian issue in tipc_dest
78d378ed13e8 hv_netvsc: Fix a deadlock by getting rtnl lock earlier in netvsc_probe()
36b59c8e48e4 tipc: fix a missing rhashtable_walk_exit()
f6fb6b2993ab net/sched: act_pedit: fix dump of extended layered op
a2cea09396bd bnxt_en: Do not adjust max_cp_rings by the ones used by RDMA.
e779d52e66d1 bnxt_en: Clean up unused functions.
510fd03c5231 net: sched: action_ife: take reference to meta module
e57d65cf4692 act_ife: fix a potential deadlock
5c1dfc425994 act_ife: move tcfa_lock down to where necessary
8563554006c5 vti6: remove !skb->ignore_df check from vti6_xmit()
028d57cc5e44 tcp: do not restart timewait timer on rst reception
ad99830d972c r8169: add support for NCube 8168 network card
2b3b1f121306 r8152: disable RX aggregation on new Dell TB16 dock
5379200c84c2 qlge: Fix netdev features configuration.
9c03cfa220c1 net: sched: Fix memory exposure from short TCA_U32_SEL
716fc5ce90cf net: macb: do not disable MDIO bus at open/close time
5b47db7fa7b1 net: bcmgenet: use MAC link status for fixed phy
e242b5c405b9 ipv4: tcp: send zero IPID for RST and ACK sent in SYN-RECV and TIME-WAIT state
f5c34c4a092e act_ife: fix a potential use-after-free
(From OE-Core rev: 0f455c8a37223617fffb3aac06325bf0a79cbe2a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the reference BSPs for 4.14 need fixes that have been done
on 4.18 and master to silence warnings, so we cherry-pick the
following changes:
f991b21d7858 config: flash: drop obselete config values
da7524cf2980 edgerouter: Drop the obsolete kernel options
675c5b0cde65 cfg: drop MACH_VERSATILE_PB and MACH_VERSTAILE_AB
0936b18ed8d5 cfg/timer/rtc: toggle RTC_CLASS instead of GEN_RTC
634d8f2230d1 mpc8315e-rdb: Drop the obsolete kernel options
9beb3a28736e rt: drop obselete configuration options
(From OE-Core rev: bfe6a9b2d1a118791cebcd1019f3e80bced294c6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[
Author: Jens Rehsack <sno@netbsd.org>
Date: Thu Sep 13 19:29:54 2018 +0200
cfg/timer/rtc: toggle RTC_CLASS instead of GEN_RTC
In 2016, the final removal of GEN_RTC happened with commit
6705fdb3 char/genrtc: remove the rest of the driver
What is remaining, is a legacy driver (char/rtc) and the new
RTC_CLASS framework - which supports everything except S390
and Atari. Many platforms automatically support the right
driver for RTC_CLASS framework.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 7ddcba89a3bbed4b582768661585684ffdc85f31)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 4.18 kernel with the latest -stable releases that comprise
the following commits:
8ea7eadbef2f Linux 4.18.7
239043b876b8 arm64: mm: always enable CONFIG_HOLES_IN_ZONE
a70bc6c6a621 cpuidle: menu: Retain tick when shallow state is selected
7f401f160a9c udf: Fix mounting of Win7 created UDF filesystems
c1ef3feca667 fs/quota: Fix spectre gadget in do_quotactl
7ab1035b3fc6 crypto: caam/qi - fix error path in xts setkey
3290dec64398 crypto: caam/jr - fix descriptor DMA unmapping
f39f1f81c74e crypto: caam - fix DMA mapping direction for RSA forms 2 & 3
26b165edc3e4 crypto: arm64/sm4-ce - check for the right CPU feature bit
dce1a2c6f339 crypto: aesni - Use unaligned loads from gcm_context_data
61c8901dbf43 crypto: vmx - Fix sleep-in-atomic bugs
8d02bd8d4a6c perf auxtrace: Fix queue resize
5ad671c8520d mm, dev_pagemap: Do not clear ->mapping on final put
ff1663fc9483 cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias()
476738bbc962 kconfig: fix "Can't open ..." in parallel build
a0725910f3e2 bcache: release dc->writeback_lock properly in bch_writeback_thread()
437d23a6792a libnvdimm: fix ars_status output length calculation
54ce46aa9870 libnvdimm: Use max contiguous area for namespace size
118cb27721f9 getxattr: use correct xattr length
fd13ae7e102a udlfb: set line_length in dlfb_ops_set_par
f551b193299b udlfb: handle allocation failure
0b5373ea7298 udlfb: make a local copy of fb_ops
af0890aa4565 udlfb: set optimal write delay
76aab4b1d804 udlfb: don't switch if we are switching to the same videomode
1a5656245bd6 udlfb: fix display corruption of the last line
27f6b46dd248 udlfb: fix semaphore value leak
1a9ec6296e18 fb: fix lost console when the user unplugs a USB adapter
f72831f9cbb6 pwm: tiehrpwm: Fix disabling of output of PWMs
e0e08ede24c9 pwm: tiehrpwm: Don't use emulation mode bits to control PWM output
3ce08627b3e3 ubifs: Fix synced_i_size calculation for xattr inodes
f9b28f9a2b7f ubifs: Fix directory size calculation for symlinks
cef393ce9aea ubifs: xattr: Don't operate on deleted inodes
ce0504b74d04 ubifs: Check data node size before truncate
aa8298662e52 Revert "UBIFS: Fix potential integer overflow in allocation"
3863ba26f271 ubifs: Fix memory leak in lprobs self-check
7131c193fcc3 userns: move user access out of the mutex
1497f1e0714a sys: don't hold uts_sem while accessing userspace memory
11f44063756f iommu/vt-d: Fix dev iotlb pfsid use
e7feba89574d iommu/vt-d: Add definitions for PFSID
3245925a8e9c iommu/ipmmu-vmsa: Don't register as BUS IOMMU if machine doesn't have IPMMU-VMSA
2d0363ffc0ab mm/tlb: Remove tlb_remove_table() non-concurrent condition
6bdfc65b5062 pwm: omap-dmtimer: Return -EPROBE_DEFER if no dmtimer platform data
1ba930714d12 ARM: dts: am57xx-idk: Enable dual role for USB2 port
da43c1c103c8 ARM: tegra: Fix Tegra30 Cardhu PCA954x reset
1750f49b26c2 NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence()
c8f825303e49 NFSv4: Fix locking in pnfs_generic_recover_commit_reqs
b8cbfd88d132 NFSv4 client live hangs after live data migration recovery
e16dac834b32 nfsd: fix leaked file lock with nfs exported overlayfs
f7169718defc pnfs/blocklayout: off by one in bl_map_stripe()
6ee996baf1ab block, bfq: return nbytes and not zero from struct cftype .write() method
fbd0c9d27ccb xtensa: increase ranges in ___invalidate_{i,d}cache_all
27077422f951 xtensa: limit offsets in __loop_cache_{all,page}
3bb34bba5624 KVM: PPC: Book3S: Fix guest DMA when guest partially backed by THP pages
f90625c7172b KVM: VMX: fixes for vmentry_l1d_flush module parameter
09747f7004ab i2c: designware: Re-init controllers with pm_disabled set on resume
7bb7ef09b3db ALSA: ac97: fix unbalanced pm_runtime_enable
d7cff0016036 ALSA: ac97: fix check of pm_runtime_get_sync failure
52977303d997 ALSA: ac97: fix device initialization in the compat layer
cd67823c9d34 PM / sleep: wakeup: Fix build error caused by missing SRCU support
00e4955e677b cpufreq: governor: Avoid accessing invalid governor_data
f83952c64769 cpuidle: menu: Handle stopped tick more aggressively
cc8ea9dd0c24 sched: idle: Avoid retaining the tick when it has been stopped
fe759487ee98 drivers/block/zram/zram_drv.c: fix bug storing backing_dev
1cc1c4e06562 ACPICA: Clear status of all events when entering sleep states
ab08867f08e4 ACPICA: AML Parser: skip opcodes that open a scope upon parse failure
0c3339c82b9e ovl: fix wrong use of impure dir cache in ovl_iterate()
8856ca57dcb1 mfd: hi655x: Fix regmap area declared size for hi655x
f8d649720924 uprobes: Use synchronize_rcu() not synchronize_sched()
ee20433f60ae livepatch: Validate module/old func name length
640d29c1236e printk/tracing: Do not trace printk_nmi_enter()
cfe603dd4e39 tracing/blktrace: Fix to allow setting same value
b0d32c7b0cda tracing: Do not call start/stop() functions when tracing_on does not change
187bee9b94fb rtc: omap: fix potential crash on power off
949d4ca049eb rtc: omap: fix resource leak in registration error path
ad7a3f8c456f vmw_balloon: fix VMCI use when balloon built into kernel
32b5be5b44e9 vmw_balloon: VMCI_DOORBELL_SET does not check status
45696b968345 vmw_balloon: do not use 2MB without batching
f288edefc2c6 vmw_balloon: fix inflation of 64-bit GFNs
a5e6360c4322 eventpoll.h: wrap casts in () properly
5f4a5b6fed24 extcon: Release locking when sending the notification of connector state
cbdfa40c8187 iio: ad9523: Fix return value for ad952x_store()
10508adb4df0 iio: ad9523: Fix displayed phase
5ef899676e25 iio: sca3000: Fix missing return in switch
35949ad3f2d7 Drivers: hv: vmbus: Reset the channel callback in vmbus_onoffer_rescind()
4f8eac4396c7 Drivers: hv: vmbus: Fix the offer_in_progress in vmbus_process_offer()
d7b108aae76c uart: fix race between uart_put_char() and uart_shutdown()
6cdc67be3e12 dm writecache: fix a crash due to reading past end of dirty_bitmap
d94cf7087099 dm crypt: don't decrease device limits
25b25e552439 dm cache metadata: set dirty on all cache blocks after a crash
7bbb3231d6f7 dm cache metadata: save in-core policy_hint_size to on-disk superblock
f308e9fbe04f dm thin: stop no_space_timeout worker when switching to write-mode
0da098366e8c dm integrity: change 'suspending' variable from bool to int
6d7bd0a68a4a net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree()
fe7e153d9564 net/9p/client.c: version pointer uninitialized
372ed5efc933 9p/virtio: fix off-by-one error in sg list bounds check
ba74c64c00a5 fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed
db6cb8a7c458 9p: fix multiple NULL-pointer-dereferences
a34932007267 RDMA/rxe: Set wqe->status correctly if an unexpected response is received
8a3f37b0da74 ib_srpt: Fix a use-after-free in __srpt_close_all_ch()
41cc5e9aff78 ib_srpt: Fix a use-after-free in srpt_close_ch()
2ea037fe87b1 RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq
c34579cc3ea7 overflow.h: Add arithmetic shift helper
74d835f7fdf7 IB/srpt: Support HCAs with more than two ports
32a46b60c50e IB/srpt: Fix srpt_cm_req_recv() error path (2/2)
e46df54477b4 IB/srpt: Fix srpt_cm_req_recv() error path (1/2)
103a3a62e0fb IB/mlx5: Fix leaking stack memory to userspace
e48fd87e93e1 IB/mlx5: Honor cnt_set_id_valid flag instead of set_id
7ab793382972 ocxl: Fix page fault handler in case of fault on dying process
9833940072b3 cxl: Fix wrong comparison in cxl_adapter_context_get()
6757519a48ca powerpc/powernv/pci: Work around races in PCI bridge enabling
96f829b77bf1 powerpc64/ftrace: Include ftrace.h needed for enable/disable calls
d4e41dc984f2 powerpc/nohash: fix pte_access_permitted()
bb691eafb6df powerpc/pkeys: Preallocate execute-only key
44d146b99b08 powerpc/pkeys: Fix calculation of total pkeys.
5e2727bf84c5 powerpc/pkeys: Save the pkey registers before fork
0d86f5345672 powerpc/pkeys: key allocation/deallocation must not change pkey registers
72ebe30452ef powerpc/pkeys: Deny read/write/execute by default
8ed3d6a90178 powerpc/pkeys: Give all threads control of their key permissions
174f12c1f3ef powerpc/pseries: Fix endianness while restoring of r3 in MCE handler.
8bfd9029bc79 powerpc/64s: Fix page table fragment refcount race vs speculative references
7c0850fb2b60 powerpc/fadump: handle crash memory ranges array index overflow
ec4ad94be6ce Fix kexec forbidding kernels signed with keys in the secondary keyring to boot
54fb49e87c23 Replace magic for trusting the secondary keyring with #define
686baf538b8c mailbox: xgene-slimpro: Fix potential NULL pointer dereference
71849f9c7c55 media: Revert "[media] tvp5150: fix pad format frame height"
a0e70000075e libertas: fix suspend and resume for SDIO connected cards
9be8dc35bceb dma-buf: Move BUG_ON from _add_shared_fence to _add_shared_inplace
e561eea4a424 apparmor: fix bad debug check in apparmor_secid_to_secctx()
ac89e9c33de3 block: Ensure that a request queue is dissociated from the cgroup controller
d367a6927ffd block: Introduce blk_exit_queue()
d9ef3176a398 blkcg: Introduce blkg_root_lookup()
0c2e7eb1a4c3 block: really disable runtime-pm for blk-mq
cde67159df4d block: blk_init_allocated_queue() set q->fq as NULL in the fail case
4bc567311980 block: fix infinite loop if the device loses discard capability
d3949a0a1341 readahead: stricter check for bdi io_pages
3a9bc441b671 mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS
74b83d076cdf mmc: renesas_sdhi_internal_dmac: mask DMAC interrupts
cf8871c4121c mmc: block: Fix unsupported parallel dispatch of requests
e27421b3b394 spi: cadence: Change usleep_range() to udelay(), for atomic context
db597647506d spi: spi-fsl-dspi: Fix imprecise abort on VF500 during probe
3b45f480496c spi: pxa2xx: Add support for Intel Ice Lake
e52c91662cef spi: davinci: fix a NULL pointer dereference
b84ea5862258 9p/net: Fix zero-copy path in the 9p virtio transport
8c37a4ca229d net: mac802154: tx: expand tailroom if necessary
6ce27549cc14 net: 6lowpan: fix reserved space for single frames
832fa8183637 rcu: Make expedited GPs handle CPU 0 being offline
3a2c23838bc5 Linux 4.18.6
8e6d15678656 x86/dumpstack: Don't dump kernel memory based on usermode RIP
6575b15002bf cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status
f90252556e1a watchdog: Mark watchdog touch functions as notrace
0f9bf062f1f1 power: generic-adc-battery: check for duplicate properties copied from iio channels
7ffb7b7e8348 power: generic-adc-battery: fix out-of-bounds write when copying channel properties
86b0dd9d0ebc PM / clk: signedness bug in of_pm_clk_add_clks()
350192f495ae clk: npcm7xx: fix memory allocation
a8b0c3c7c494 clk: rockchip: fix clk_i2sout parent selection bits on rk3399
f905fc199d7d mtd: rawnand: qcom: wait for desc completion in all BAM channels
21ab6022cb67 mtd: rawnand: marvell: add suspend and resume hooks
f05cb63dc0dc mtd: rawnand: fsmc: Stop using chip->read_buf()
307b0cf42c9b mtd: rawnand: hynix: Use ->exec_op() in hynix_nand_reg_write_op()
d47b35b84da5 iscsi target: fix session creation failure handling
9558fc1bab40 scsi: core: Avoid that SCSI device removal through sysfs triggers a deadlock
807d1d299a04 scsi: sysfs: Introduce sysfs_{un,}break_active_protection()
373a1411a103 scsi: mpt3sas: Fix _transport_smp_handler() error path
8039fa72ff4d scsi: mpt3sas: Fix calltrace observed while running IO & reset
7624ac8705f5 tpm: separate cmd_ready/go_idle from runtime_pm
b64b3b46074e tpm: Return the actual size when receiving an unsupported command
d07d4e8b68fd MIPS: lib: Provide MIPS64r6 __multi3() for GCC < 7
8f55e1f507d6 MIPS: Change definition of cpu_relax() for Loongson-3
9238ea28869e MIPS: Always use -march=<arch>, not -<arch> shortcuts
8d6a4b45018c MIPS: memset.S: Fix byte_fixup for MIPSr6
d06e5e4a8a28 MIPS: Correct the 64-bit DSP accumulator register size
968a9a4a8a97 kprobes: Make list and blacklist root user read only
2f56c8af315b kprobes/arm: Fix %p uses in error messages
10334e1ad3d0 kprobes: Replace %p with other pointer types
b143efb4242c kprobes: Show blacklist addresses as same as kallsyms does
d6c96d240daa s390/purgatory: Add missing FORCE to Makefile targets
5a2e51f95908 s390/purgatory: Fix crash with expoline enabled
87509861a989 s390/pci: fix out of bounds access during irq setup
b51627dc7fdb s390/numa: move initial setup of node_to_cpumask_map
d695333c5de6 s390/qdio: reset old sbal_state flags
dacf5e594708 s390: fix br_r1_trampoline for machines without exrl
6a32f6f857af s390/lib: use expoline for all bcr instructions
120c776a2ab1 s390/mm: fix addressing exception after suspend/resume
77207a7ee4b6 x86: Allow generating user-space headers without a compiler
3fef5c2f4d9c x86/entry/64: Wipe KASAN stack shadow before rewind_stack_do_exit()
b1491daecd6e hwmon: (nct6775) Fix potential Spectre v1
2ff13cec042e x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+
084c0d5b4cf5 x86/spectre: Add missing family 6 check to microcode check
c6941f12e9e4 x86/irqflags: Mark native_restore_fl extern inline
20a103149aa5 x86/nmi: Fix NMI uaccess race against CR3 switching
aa3ad4314551 x86/vdso: Fix lsl operand order
306f625c2231 scsi: qla2xxx: Fix stalled relogin
82964fac7ac2 pinctrl: freescale: off by one in imx1_pinconf_group_dbg_show()
f8fa13e1f53a soc: qcom: rmtfs-mem: fix memleak in probe error paths
e550a74a7d12 ASoC: wm_adsp: Correct DSP pointer for preloader control
00bdd9bfd3eb ASoC: sirf: Fix potential NULL pointer dereference
cde7486adce1 ASoC: zte: Fix incorrect PCM format bit usages
aeb4906d3222 ASoC: dpcm: don't merge format from invalid codec dai
a8d156323e5b b43/leds: Ensure NUL-termination of LED name string
579cdda6ba4c b43legacy/leds: Ensure NUL-termination of LED name string
dccaa28ec448 udl-kms: avoid division
930e10ea2156 udl-kms: fix crash due to uninitialized memory
723119f9aab5 udl-kms: handle allocation failure
69900129d68f udl-kms: change down_interruptible to down
684ca9975c53 lib/vsprintf: Do not handle %pO[^F] as %px
15b584de9ab1 fuse: Add missed unlock_page() to fuse_readpages_fill()
c00f07a1f66c fuse: Fix oops at process_init_reply()
e4631745286f fuse: umount should wait for all requests
19e0fafd9e68 fuse: fix unlocked access to processing queue
bcdb9bd38da6 fuse: fix double request_end()
6ffb58d4f74e fuse: fix initial parallel dirops
8bebc8585fab fuse: Don't access pipe->buffers without pipe_lock()
9b4b6acf0280 KVM: x86: SVM: Call x86_spec_ctrl_set_guest/host() with interrupts disabled
150b420a2959 KVM: x86: ensure all MSRs can always be KVM_GET/SET_MSR'd
1e227ae17f08 x86/process: Re-export start_thread()
e0fb4e0e375e x86/vdso: Fix vDSO build if a retpoline is emitted
0ea75fa0f6bd x86/speculation/l1tf: Suggest what to do on systems with too much RAM
ed1fa683e01b x86/speculation/l1tf: Fix off-by-one error when warning that system has too much RAM
63da8b8a387b x86/speculation/l1tf: Fix overflow in l1tf_pfn_limit() on 32bit
e43594dabdc8 mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE
575a66cbe443 mm: move tlb_table_flush to tlb_flush_mmu_free
8c7181608026 platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too
6ef37c5f0142 platform/x86: wmi: Do not mix pages and kmalloc
6bdd19331fc6 x86/gpu: reserve ICL's graphics stolen memory
4debdc1d06a7 nvme-pci: add a memory barrier to nvme_dbbuf_update_and_check_event
7036ab018947 ext4: fix race when setting the bitmap corrupted flag
eafb2d82ca7e ext4: reset error code in ext4_find_entry in fallback
3f2541a7e58c ext4: sysfs: print ext4_super_block fields as little-endian
6891c3c114fc ext4: use ext4_warning() for sb_getblk failure
f34a0bc19575 ext4: check for NUL characters in extended attribute's name
55472d881c48 stop_machine: Atomically queue and wake stopper threads
3fc7316acc67 stop_machine: Reflow cpu_stop_queue_two_works()
19a5808f8b73 perf kvm: Fix subcommands on s390
32a52f0bded3 s390/kvm: fix deadlock when killed by oom
1d0bd8c92361 KVM: arm/arm64: Skip updating PTE entry if no change
c7bcb09e4e35 KVM: arm/arm64: Skip updating PMD entry if no change
166b04aee70e KVM: arm/arm64: Fix lost IRQs from emulated physcial timer when blocked
52df41f653bb KVM: arm/arm64: Fix potential loss of ptimer interrupts
5c2fd3598fb8 arm64: dts: rockchip: corrected uart1 clock-names for rk3328
88e798da7c29 arm64: mm: check for upper PAGE_SHIFT bits in pfn_valid()
ca41d82d4e66 arm64: Handle mismatched cache type
faed5cb96b91 arm64: Fix mismatched cache line size detection
bc10c237ecd8 kprobes/arm64: Fix %p uses in error messages
a4ed70a386c0 printk/nmi: Prevent deadlock when accessing the main log buffer in NMI
50631d1b2613 printk: Create helper function to queue deferred console handling
b0eea4d14b94 printk: Split the code for storing a message into the log buffer
2297091c7a6c iommu/arm-smmu: Error out only if not enough context interrupts
b5563064b99e regulator: arizona-ldo1: Use correct device to get enable GPIO
29ac604e627b bpf, arm32: fix stack var offset in jit
6289b80699af hwmon: (k10temp) 27C Offset needed for Threadripper2
df5c4d19606d Btrfs: send, fix incorrect file layout after hole punching beyond eof
23dd2c5d90a1 Btrfs: fix send failure when root has deleted files still open
7ecc8a106c53 Btrfs: fix btrfs_write_inode vs delayed iput deadlock
84717fb63dad Btrfs: fix mount failure after fsync due to hard link recreation
8b08e816f47a btrfs: don't leak ret from do_chunk_alloc
258c1eb7cde6 btrfs: use correct compare function of dirty_metadata_bytes
fb35368feb7f smb3: fill in statfs fsid and correct namelen
107d9ee2e080 smb3: don't request leases in symlink creation and query
1316a0cc27d1 smb3: Do not send SMB3 SET_INFO if nothing changed
25b981bfe192 smb3: enumerating snapshots was leaving part of the data off end
a66f62737197 cifs: check kmalloc before use
a1ac808c81a6 cifs: use a refcount to protect open/closing the cached file handle
5ba293d099ce cifs: add missing debug entries for kconfig options
52b9e2a58be2 CIFS: fix uninitialized ptr deref in smb2 signing
a673044fbe8b cifs: add missing support for ACLs in SMB 3.11
08aee5c2c26f mei: don't update offset in write
6bdbaa2fdd48 xprtrdma: Fix disconnect regression
84342771f595 scsi: libsas: dynamically allocate and free ata host
16edb8e6d472 scripts/kernel-doc: Escape all literal braces in regexes
10bb2648f16c PATCH scripts/kernel-doc
(From OE-Core rev: db4c334fc376d7f7eab46fa956195020a1d3aee7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to address kernel configuration
audit warnings:
856794172e8f features/intel-pinctrl: Fix conflict with configs
397b67321037 bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE
fca2a16483f2 features/thermal: Add dependency for kernel option
b6110e2e8e55 features/tpm: fix conflict with configs and add dependency
ee22bc1f8fcd features/mmc: modify dependency
e50eb6bd929b features: drop the obsolete kernel option
f5327047994f features/hostapd: drop obsolete configs
48b54e625876 bsp/intel-x86: Drop configs that has been removed by kernel
(From OE-Core rev: a49c66844c8c3a87f8383085661ff59bfb045452)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During deploy we iterate over KERNEL_IMAGETYPES twice, with no consumer
of our changes in the interim. Collapse these two loops into one.
(From OE-Core rev: 8d3139640ed4cd4e196dc2d1f6ae02d612fb9564)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When usrmerge is enabled the kernel modules aren't under /lib, but /usr/lib;
ensure we fetch the modules from the correct location so we don't have a
tarball which consists of a single symlink.
(From OE-Core rev: 62d2d7d12dda69d6019a1a2d5492450487e41bfd)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When deploying the its file, the target of the symlink is missing the its
extension, add it here.
(From OE-Core rev: df72761760d453b2dfc7cc2fa1344bb016df9712)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 65cded55fa96b1ba72149a31689c081ac27af7f7.
The fitImage deployed here is the one generated in kernel-fitimage.bbclass,
whereas the one deployed by kernel-fitimage.bbclass is a raw image, so we
need the one deployed here keeping.
(From OE-Core rev: 798d2acc0141b13da7ddd18875a417b2df9d57b3)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot-mkimage-native is needed to build any type of uImages, be it
the uImage target itself or for example uImage.lzma. The dependency
however gets only added when at least one of KERNEL_IMAGETYPE and
KERNEL_ALT_IMAGETYPE is exactly uImage. Building uImage.bin and uImage.lzma is
not possible this way.
This patch adds a dependency to u-boot-mkimage-native for all imagetypes which
contains the string uImage.
(From OE-Core rev: ac4ce0b07b2742c64d44f988ecb27e7200b5a0bc)
Signed-off-by: Reto Schneider <code@reto-schneider.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC's built-in spec for LD is missing a space after
"--eh-frame-hdr" thus with the next option merged together they
are not understood by LD and so LD fails.
Back-port from upstream GCC, see:
892142379c
(From OE-Core rev: 0757187bdbed3025b022a82dd85ee35dc7b71f1f)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679]
A NULL value can happen with certain gethostbyname_r failures.
Before this patch, there is a Segmentation fault
as below:
# /mybuild/hostid
Segmentation fault
# gdb /mybuild/hostid
GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-wrs-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /mybuild/hostid...done.
(gdb) r
Starting program: /mybuild/hostid
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f0330e in gethostid () at ../sysdeps/unix/sysv/linux/gethostid.c:125
125 memcpy (&in, hp->h_addr,
(gdb) bt
#0 0x00007ffff7f0330e in gethostid () at ../sysdeps/unix/sysv/linux/gethostid.c:125
#1 0x0000555555555159 in main ()
# cat /mybuild/hostid.c
#include <stdio.h>
#include <unistd.h>
int
main(int argc, char *argv[])
{
long hostid;
hostid = gethostid();
printf("the hostid is %ld\n", hostid);
}
(From OE-Core rev: 92c266fd9b1c4034a13bd5b102d1817df388a7b5)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the basic architecture site info targets for the LatticeMico32
architecture. This architecture does not target Linux.
(From OE-Core rev: 216f8ea907c8ac7e580e33dcbd12c0f30608bf74)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lm32 architecture does not support linux-user within QEMU as it is
not a Linux supported target.
(From OE-Core rev: 2f6c85da5202cdd0d2da2ce53e0a62b09a711b16)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the ELF definition for the LaticeMico32 architecture. This
architecture is 'elf' OS only as it does not target Linux.
(From OE-Core rev: d14f86f39a25649c923deecc24a283ba968b13f5)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some targets do not populate any content into libdir, so make sure it is
created before attempting to move files/directories into it.
(From OE-Core rev: f8d7394f314041de7bcbf06ccb6405f64c68fad0)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add trust-paths PACKAGECONFIG item which enables support for default
trust-paths in /etc/ssl/certs/ca-certificates.crt
(From OE-Core rev: d63f16f03ad60ab77fd5c78de1bbf1f248c51c6e)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
p11-kit is no longer doing odd/even for development/stable releases, so
drop the custom UPSTREAM_CHECK_GITTAGREGEX.
(From OE-Core rev: 1a38f27342c5a40f81e579b2d0feb7b6e9880ac7)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Clutter class's ability to switch between tarballs and git isn't really
useful, so remove it. If it comes back, it should use the devupstream class.
(From OE-Core rev: 6150ec737bad895b9fb62f711449a259887ebd1b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build for older versions of git which don't follow redirects
properly if the .git suffix is missing.
(From OE-Core rev: 77c353cc9bdfbf1b6453b2579b72726db05eb69c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virgl driver should be enabled for qemux86/qemux86-64 machines, or else
it will cause runtime issue due to virtio_gpu driver missing.
(From OE-Core rev: 5f143ceb1fac06ac84370ceb0cf0fba656effdf8)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This incorporates two fixes for large inodes, which hopefully solves some of the
rare mysterious behaviour.
(From OE-Core rev: 6921e7f91eb646a2b7b865eccd91552825a4ab78)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of having a patch that upstream won't accept, rewrite it in a
upstreamable way and <gasp> submit it upstream.
The fundamental problem is that pkg-config --variable=sdkdir will return the
value of sdkdir literally, whereas --cflags will return -I${sdkdir} *but* will
do sysroot relocation magic on the path so it is usable.
(From OE-Core rev: 4af34cb1193fe86b862566becfb560b3d19155f4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is forcing input to use SIGIO, despite the fact that since 2015
xserver has used an input thread.
(From OE-Core rev: cde11398e6d74ad8f27334199b4bd99cdf1f0ff7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This package doesn't exist anymore so the manifest tool doesn't need to handle
it specially.
(From OE-Core rev: 30eadb119a64d8561b946d5b8ee30244caeaf134)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the bulk of the tests in python3-tests, some more in
python3-sqlite3-tests, and others in their parent module (such as
python3-ctypes). This is pointless space usage if we're not planning on running
the tests, so consolidate all the tests into python3-tests.
(From OE-Core rev: 554d3690dab49fee3c93b6b677eb3ef58cff64c1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't sort the manifest when using it to generate packaging rules, so ordering
can be used to have complex packaging rules.
(From OE-Core rev: 80dae6218efd25c92b9c43360e0846bb0af56c7e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of sorting the entire manifest when it is updated, use OrderedDict to
preserve the order of fields. This means that packages can be ordered in the
manifest to allow non-trivial FILES assignments (such as a package that picks up
pieces of other packages)
The manifest has been regenerated with the new stable ordering, and
distutils-staticdev moved above distutils so the packaging rules work as
expected.
(From OE-Core rev: 1c67c2146e3644a26367a32885d27a4378f17ac6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the bulk of the tests in python-tests, some more in
python-sqlite3-tests, and others in their parent module (such as
python-ctypes). This is pointless space usage if we're not planning on
running the tests, so consolidate all the tests into python-tests.
This is a backport of the same changes done by Ross Burton for python3
Changes since v1:
- Rebase
(From OE-Core rev: 0e94737e7124f689c3697d4227bfcd228cc04295)
Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't sort the manifest when using it to generate packaging rules, so
ordering can be used to have complex packaging rules.
This is a backport of the same changes done by Ross Burton for python3
Changes since v1:
- Rebase
(From OE-Core rev: 5a5a97b1c3914ad4a3e94981bf53897d0a3f4fb3)
Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of sorting the entire manifest when it is updated, use
OrderedDict to preserve the order of fields.This means that
packages can be ordered in the manifest to allow non-trivial
FILES assignments (such as a package that picks up pieces of
other packages)
The manifest has been regenerated with the new stable ordering, and
distutils-staticdev moved above distutils so the packaging rules work as
expected.
This is a backport of the same changes done by Ross Burton for python3
Changes since v1:
- Moved distutils-staticdev above distutils so packaging rules work
as expected.
Changes since v2:
- Rebase
(From OE-Core rev: 3c62c42ebde9dd4acdc74c56160d6ce8639b497c)
Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For non-python developers it's difficult to identify where start
searching in case of errors. Fixing and marking the string to
grep for might help finding some root causes of issues slightly
quicker.
(From OE-Core rev: 44fff749ee7bfe47e88286aec1e8a22e63079ca7)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-fsck expects util-linux-fsck passing a number of options that
busybox fsck doesn't interpret. It then continues silently when run, so
disks end up not having fsck run at all.
Move util-linux-fsck from RRECOMMENDS to RDEPENDS to ensure we have the
fsck which systemd expects.
(From OE-Core rev: 409c3424250d55d1c5549841ddae22288aaa4859)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The linking/copying of the package files failes if the deploy dir is set
in a non normalized way e.g. like this DEPLOY_DIR = "${TOPDIR}/../deploy"
Then the simple string replacement which is used to calculated the link
destination from the link source fails, as the link source is normalized
but the deploydir prefix is not.
Normalizing deploydir fixes this.
(From OE-Core rev: e0ebfaa92bbfd3158b48e28dfb6435890c73bef3)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades to 3.3.3 release and drop the backported patches when
doing the recipe update.
(From OE-Core rev: 60d99a4e64fdddbbe5863fa5879c813fa004600b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
44d4fca Merge https://github.com/pmachata/linux-firmware
253a573 brcm: update firmware for bcm43362 sdio
3cee728 Mellanox: Add new mlxsw_spectrum firmware 13.1703.4
ccab6c7 rtl_bt: Add firmware and configuration files for the Bluetooth part of RTL8822CU
75d2b12 Mellanox: Add new mlxsw_spectrum firmware 13.1703.4
85c5d90 nvidia: switch GP10[2467] to newer scrubber/ACR firmware (from GP108)
License-Update: new firmware files additions
(From OE-Core rev: f82738fd14f18fab368b397faac2f70167b16b8a)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The testcases of fcntl fail on 32-bit arch
To cope with glibc commit:
06ab719d30b0 ("Fix Linux fcntl OFD locks for non-LFS architectures
(BZ#20251)")
Make OFD command use fcntl64() syscall on 32-bit.
(From OE-Core rev: 67fca07c9487ccd1a28357da32c9987c00d1ba77)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Consolidate the rmdir of multiple directories with the use of -p to
delete the leaf empty directory and any empty ancestor directories.
(From OE-Core rev: ba2f5ad890ecf94f541d84cc04669a6b02990d39)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Log both the source of the source_date_epoch and the resulting
source_date_epoch in all cases.
Also, now that we are determining the source_date_epoch successfully for both
yocto and non-yocto kernels, remove the inherits_class('kernel') exception.
We will log a failure to find a source_date_epoch for kernels as well.
(From OE-Core rev: 48fe0e83435f9fb53b1e5b37d5d9f1c2caccd22d)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the search regime for find_git_folder():
1. WORKDIR/git: This is the default git fetcher unpack path
2. ${S}
3. Go looking for .git/ under the WORKDIR as a last resort.
linux-yocto:
We had an existing (silent) defect. The linux-yocto recipes all specify
two git SRC_URIs, one for the kernel source itself, the other for the
kmeta data (config fragments and friends). find_git_folder() was finding
the git checkout for the kmeta data, but due to a typo in the git log -1
--pretty=%ct line, we were (silently) reading the source_date_epoch from
the ${S} directory = STAGING_KERNEL_DIR, which is empty. If your
build/ happened to be inside a git checkout, git would walk up the
directory tree, and silently read the commit timestamp from this other
git checkout. The correct path to read the git commit timestamp from is
the "gitpath", being that found by find_git_folder(), though this
function was incorrectly finding the kmeta data checkout, not the kernel
source tree.
Non-kernel git recipes:
The default git fetcher clones and checks out the sources at
WORKDIR/git/ regardless of the setting of S (unless subpath or
destsuffix is set). find_git_folder() now looks for the
WORKDIR/git/.git/ directory first.
Non-yocto linux kernels:
Kernel recipes that don't inherit kernel-yocto should always set
S = ${WORKDIR}/git, so that when base_do_unpack_append() in
kernel.bbclass moves the checkout down to the STAGING_KERNEL_DIR and
symlinks it as WORKDIR/git, the build can still work by following the
symlink. We were previously failing to follow the symlink in the
os.walk(), but we now look first for WORKDIR/git/.git/, and find it due
to the symlink.
If none of the above mechanisms work for finding the git checkout,
perhaps there was a subpath or destsuffix specified in the SRC_URI.
We go looking for the git checkout under the WORKDIR as a last resort.
(From OE-Core rev: b0ddb141d36853447f85ecaac07dbc9c5779627f)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is moving to Meson, so backport a patch to use that instead of
autotools.
(From OE-Core rev: d297f7ebf3f62528d055e1938a9693d6f3a61935)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix some failed info like:
| ./test/test-bus: relocation error: ./test/test-bus: symbol
| _dbus_threads_init_debug, version LIBDBUS_PRIVATE_1.10.10 not defined
| in file libdbus-1.so.3 with link time reference
| FAIL: test/test-bus
In run-ptest, LD_LIBRARY_PATH is set to /usr/lib, but when multilib
is enabled, /usr/lib64 will be used. fix by replace with correct path.
(From OE-Core rev: d1bdf962dc3f121066bd7efb451dd9072b881718)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rtmpdump is not a build dependency for gstreamer1.0-plugins-bad even if
rtmp is enabled. This wouldn't compile anyway due to the
openssl/openssl10 incompatibility because rtmpdump requires openssl10.
(From OE-Core rev: f9b7de219ae03b48843f65a49d90822b33d34534)
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream doesn't assume a monotonic clock isn't available anymore, so we can
remove this patch.
(From OE-Core rev: 25e034b4c3854a7a9190c4deee7fbca6ba4a8c47)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a step towards running pebuilt applications for glibc on musl
There are many realworld applications which are not always built from
source, especially provided by third party
Package the glibc symlinks into new package musl-glibc-compat
(From OE-Core rev: 8ea0680462c506e01244d3fd3d35e6b2f805ada6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this makes it possible to use this for musl where we are trying to
create a glibc compat package
Add missing aarch64 loader definition for glibc function
(From OE-Core rev: 0a02ea79ec522582b46138a027eb166819e5647d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed below patches, as v9.25 source already has those
changes/security fixes:
0001-Bug-699665-memory-corruption-in-aesdecode.patch
0001-pdfwrite-Guard-against-trying-to-output-an-infinite-.patch
0002-Bug-699656-Handle-LockDistillerParams-not-being-a-bo.patch
0003-Fix-Bug-699660-shading_param-incomplete-type-checkin.patch
0004-Hide-the-.shfill-operator.patch
0005-Bug-699657-properly-apply-file-permissions-to-.tempf.patch
remove-direct-symlink.patch
Re-worked ghostscript-9.21-native-fix-disable-system-libtiff.patch
and ghostscript-9.21-prevent_recompiling.patch
to fix warnings in do_patch task of ghostscript v9.25 recipe.
Highlights of ghostscript v9.25 release:
---------------------------------------
- This release fixes problems with argument handling, some unintended results
of the security fixes to the SAFER file access restrictions
(specifically accessing ICC profile files), and some additional security
issues over the recent 9.24 release.
- Note: The ps2epsi utility does not, and cannot call Ghostscript with
the -dSAFER command line option. It should never be called with input
from untrusted sources.
- Security issues have been the primary focus of this release, including
solving several (well publicised) real and potential exploits.
- As well as Ghostscript itself, jbig2dec has had a significant amount of work
improving its robustness in the face of out specification files.
- IMPORTANT: We are in the process of forking LittleCMS. LCMS2 is not thread
safe, and cannot be made thread safe without breaking the ABI.
Our fork will be thread safe, and include performance enhancements
(these changes have all be been offered and rejected upstream). We will
maintain compatibility between Ghostscript and LCMS2 for a time, but not in
perpetuity. Our fork will be available as its own package separately from
Ghostscript (and MuPDF).
- The usual round of bug fixes, compatibility changes, and incremental
improvements.
(From OE-Core rev: 4340928b8878b91b5a2750eb6bc87918740511ca)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A) gdbserver sends SIGINT not to the process, but to the process
group (-signal_pid). But the attached process is not always a
process group leader. If not, "kill (-signal_pid, SIGINT)" returns
error and fails to interrupt the attached process. We cannot interrupt
the process attached with gdbserver who is not a process group leader.
This problem was created by the gdb upstream commit 78708b7c8c
The commit fixed the following case B) bug.
B) We cannot interrupt the process attached with gdbserver whose
main thread exits (pthread_exit()).
Now this patch can solve both A) and B).
(From OE-Core rev: 435f671981a090bd06e8f3bf3436d58d531afd49)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current configuration for debian-mips64 is not correct,
'SIXTY_FOUR_BIT_LONG' need to be specified. otherwise,
it will cause other recipe like crda compile failed since
use default THIRTY_TWO_BIT mode.
(From OE-Core rev: 68f82ceb289149885eb0b04547cb4f79a680183b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GnuPG hard-codes $bindir etc and uses them to find the helper binaries, such as
gpg-agent. This breaks if gnupg-native is reused from sstate for a different
build directory and GPG signing of packages is required.
Patch in getenv() checks for gnupg-native when returning the hardcoded paths,
and create a wrapper script which overrides GNUPG_BINDIR. There are more paths
that can be overridden, but this one is sufficient to make GnuPG work.
(From OE-Core rev: dfd69ff889ed78bf137116583d8ae351859ee203)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since following change:
allarch: only enable allarch when multilib is not used
the sstate-diff-machines.sh reports different signature for target-sdk-provides-dummy
when multilib is enabled
=== Comparing signatures for task do_populate_sysroot.sigdata between qemux86 and qemux86copy ===
ERROR: lib32-target-sdk-provides-dummy different signature for task do_populate_sysroot.sigdata between qemux86 and qemux86copy
basehash changed from b0a44b2c7003b6b4aa3a023d9cb9fe82 to 3a59fa25ddb6a95aff079d477ebf3457
Variable SSTATE_MANMACH value changed from 'qemux86' to 'qemux86copy'
ERROR: target-sdk-provides-dummy different signature for task do_populate_sysroot.sigdata between qemux86 and qemux86copy
basehash changed from 9e44f1deb3d15886ee96db1a3332764c to 6b417d08a5113c9b06d13b3681f5ab4f
Variable SSTATE_MANMACH value changed from 'qemux86' to 'qemux86copy'
It's using:
inherit allarch
python() {
# Put the package somewhere separate to ensure it's never used except
# when we want it
# (note that we have to do this in anonymous python here to avoid
# allarch.bbclass disabling itself)
d.setVar('PACKAGE_ARCH', '${DUMMYARCH}')
}
and DUMMYARCH = "sdk-provides-dummy-target"
The difference as shown with bitbake -e before and after reverting allarch.bbclass commit:
before revert:
$SSTATE_MANMACH [2 operations]
set? oe-core/meta/classes/sstate.bbclass:61
"${SSTATE_PKGARCH}"
set sstate.bbclass:100 [__anon_111_oe_core_meta_classes_sstate_bbclass]
"machineName"
pre-expansion value:
"machineName"
SSTATE_MANMACH="machineName"
$SSTATE_PKGARCH
set oe-core/meta/classes/sstate.bbclass:11
"${PACKAGE_ARCH}"
SSTATE_PKGARCH="sdk-provides-dummy-target"
$PACKAGE_ARCH [3 operations]
set oe-core/meta/conf/bitbake.conf:150
[_defaultval] "${TUNE_PKGARCH}"
set oe-core/meta/conf/documentation.conf:304
[doc] "The architecture of the resulting package or packages."
set dummy-sdk-package.inc:12 [__anon_12_oe_core_meta_recipes_core_meta_dummy_sdk_package_inc]
"${DUMMYARCH}"
pre-expansion value:
"${DUMMYARCH}"
PACKAGE_ARCH="sdk-provides-dummy-target"
after revert:
$SSTATE_MANMACH
set? oe-core/meta/classes/sstate.bbclass:61
"${SSTATE_PKGARCH}"
SSTATE_MANMACH="allarch"
$SSTATE_PKGARCH [2 operations]
set oe-core/meta/classes/sstate.bbclass:11
"${PACKAGE_ARCH}"
set sstate.bbclass:98 [__anon_111__oe_core_meta_classes_sstate_bbclass]
"allarch"
pre-expansion value:
"allarch"
SSTATE_PKGARCH="allarch"
$PACKAGE_ARCH [4 operations]
set oe-core/meta/conf/bitbake.conf:150
[_defaultval] "${TUNE_PKGARCH}"
set oe-core/meta/conf/documentation.conf:304
[doc] "The architecture of the resulting package or packages."
set oe-core/meta/classes/allarch.bbclass:5
"all"
set dummy-sdk-package.inc:12 [__anon_12_oe_core_meta_recipes_core_meta_dummy_sdk_package_inc]
"${DUMMYARCH}"
pre-expansion value:
"${DUMMYARCH}"
PACKAGE_ARCH="sdk-provides-dummy-target"
the relevant part of the anonymous python in sstate.bbclass:
elif bb.data.inherits_class('allarch', d) and d.getVar("PACKAGE_ARCH") == "all":
d.setVar('SSTATE_PKGARCH', "allarch")
else:
d.setVar('SSTATE_MANMACH', d.expand("${PACKAGE_ARCH}"))
So with allarch.bbclass change, the PACKAGE_ARCH isn't set to "all" because multilib is enabled,
but that causes sstate.bbclass to set SSTATE_MANMACH to MACHINE instead of SSTATE_PKGARCH
allarch, where it got MACHINE is still a bit of mystery to me.
(From OE-Core rev: f25cc92cfd692fd23f21fd736243b81f116fd37a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use base_bindir like busybox does to prevent conflicting u-a configs
(From OE-Core rev: ae947ffd0c1531b6a3df250199bff38cce2f5533)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tested for qemuarm, qemux86 with -O, -O0, -Os, with gcc
* to build with -O0 I had to remove restriction from systemtap first
(From OE-Core rev: be3d12c6b1003348f1dabec9d2253f22b42f0387)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When mount command is executed in rootfs module of initrd, eudev creates
a loop0 device node, applies rules and adds a inotify watch to it. Right
after this step, we execute finish which first tries to kill any running
udevd daemon before doing a switch_root.
In some cases, it is possible that switch_root is executed before
inotify_add_watch was actually processed which would lead to errors like:
| inotify_add_watch(6, /dev/loop0, 10) failed: No such file or directory
Make sure that we process all the events in queue before actually trying
to kill udevd to prevent this race.
Fixes [YOCTO #12861]
(From OE-Core rev: a85c34d263fcf1542bbedcaf1634302466bb20cf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the find | cpio processes execute in parallel connected via
the pipe, and the cpio outputs in the same dir find searches for
source files, the cpio will be included in itself partially, depending
on how fast the build machine creates the cpio file before cpio
gobbles it up.
This bloats the ISO image, though compression reduces the .iso file size,
once the kernel decompresses the cpio image and boots it live, it uses
up to double the RAM memory.
Fix this by creating the initrd.cpio file directly inside cr_workdir.
(From OE-Core rev: 7a7b29f5f1392f4f87af4f20cda99c66b4789fde)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since openssh support oepnssl 1.1.x, there is no reason
to keep libressl.
(From OE-Core rev: 30121a78555574f49b321566fcab172417bdf3e3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Convert from tarball to git repository which support
openssl 1.1.x
- There is no specific minor version that contains the
openssl fix (it was merged to master a few days agao),
rename recipe version to `7.8p1+git'
- Fix regression test binaries missing
In commit `1f7aaf7 openssh: build regression test binaries', it build
regression test binaries, since upstream add two binaries in commits
`c59aca8 Create control sockets in clean temp directories' and
`1acc058 Disable tests where fs perms are incorrect', we should update
do_compile_ptest.
[ptest log]
|/usr/lib/openssh/ptest/regress/test-exec.sh: line 330: /usr/lib/openssh/
ptest/regress/mkdtemp: No such file or directory
[ptest log]
(From OE-Core rev: 9d48cb3da696add33315cf129fe60102bd9756c9)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When updating to xorg-xserver 1.20+, mips64 would not work correctly and
cause the xorg test to fail.
Changing the DefaultDepth fixed that.
[Yocto # 12845]
(From OE-Core rev: 46c72077a79ec7a37daefe78ba0f6230ee36bfbf)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Udev-extraconf works correctly with sysvinit in the aspect of automounting
block devices. But it has a serious problem in case of systemd. Block devices
automounted by udev is unaccessible to host space(out of udevd's private
namespace). For example, we cannot format those block devices.
e.g.
root@qemux86:~# mkfs.ext4 /dev/sda1
mke2fs 1.43.8 (1-Jan-2018)
/dev/sda1 contains a ext4 file system
last mounted on Tue Apr 3 06:22:41 2018
Proceed anyway? (y,N) y
/dev/sda1 is apparently in use by the system; will not make a filesystem here!
Other distributions has no such problem, because they use a series of rules to
manager block devices. Different types of block devices match different rules.
But udev-extraconf just use one rule, automount.rules, which results in this
problem.
The 'systemd-mount' command is recommended by the systemd community to solve such
problems.
This patch makes use of 'systemd-mount' to solve the above problem.
[YOCTO #12644]
(From OE-Core rev: a0b3389c5afc23f622f793cbad8b4135093e6f08)
(From OE-Core rev: 4af22800a7af4fcb80cafe08d982a4850d9dd2ad)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Navit recipe can depend on fribidi which is now part of oe-core. Since the
pkgconfig lookup is based on pkgdata the results can change depending on what
has been built, which leads to occasional failures.
Build gtk+ before the test to ensure that the pkgdata is populated with more of
the dependencies, and add fribidi to the generated DEPENDS checklist.
(From OE-Core rev: d180dc758710c7259d45eeb9304e7284a8fd8825)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, we see errors if gpg is missing from the host system
for "oe-selftest -r runtime_test.TestImage.test_testimage_dnf".
(From OE-Core rev: e91838b63b506e2969582b2b8511fd3724d6aa3f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kdump.service only needs filesystems to be up, for which sysinit.target
is sufficeint. basic.target pulls in networking and other services which
are unnecessary for kdump. This is also useful for when kdump.service is
used as the boot target (e.g. for the kdump kernel) and only a minimal
system needs to be brought up.
(From OE-Core rev: 6f709f0c5a4ce57e522a65774fd567013b95d82e)
Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set SYSTEMD_PACKAGES and SYSTEMD_SERVICE so that kdump.service actually
gets installed.
(From OE-Core rev: 0e9cafe732b7f4e47f4e9b32ffbc2ebf9715d18d)
Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test suite test_dbm failed after gdbm upgrtade to 13.1,
from 13.1, return value of some function are changed.
* gdbm_fetch, gdbm_firstkey, and gdbm_nextkey behavior
If the requested key was not found, these functions return datum with
dptr pointing to NULL and set gdbm_errno to GDBM_ITEM_NOT_FOUND (in
prior releases, gdbm_errno was set to GDBM_NO_ERROR),
(From OE-Core rev: 0952c190fc6aec333676ce3883e8232fa8595551)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BPF Linux ELF objects are generated with kernel-selftests with
>= 4.18 kernel and when clang is enabled which packages BPF objects
into packages, therefore recongnise this as a valid ELF target
Add a selftest for BPF
Do not flag BPF objects in target, since they pretty much will be ok for
most of kernels architectures we care do support BPF
(From OE-Core rev: 3667a8ec016bae3f8026ef7b4c895546804f6368)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tr is available in busybox, but not in toybox. Just use sed instead.
(From OE-Core rev: 518cca6711f737f44ff74a5ac1308de8c9b49e78)
Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid coreutils conflicts with nice from other recipes, like
busybox - even if that's not enabled by default.
In situations, where coreutils is a dependency for -dev images
and small busybox nice is available always, it avoids extra
effort for coreutils for those users.
(From OE-Core rev: 57b1b20abca7d6821e99802147b93f4f577cfad0)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to human error an older revision of the SSL patch was merged.
(From OE-Core rev: 325af0f4a821971a7aeeca35b10e3558f86029e0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables instead of hard-coding to remove another variation between
releases.
(From OE-Core rev: 6f6b384799bf093fabac90230dcdef1541ea9c75)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of forcibly disabling Bluetooth (support for Bluetooth sockets in the
socket module), add a PACKAGECONFIG. The default remains disabled for
consistency.
(From OE-Core rev: fd5b497cc8a2f9f93f732070123b073bfb6d2eca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For target Python we use the libffi that we build, so we don't need to
autoreconf the in-tree libffi.
(From OE-Core rev: 12626b26aca281d0d5ee90dc15627083a517fa3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
_PYTHON_PROJECT_BASE and _PYTHON_PROJECT_SRC appear to be set in setup.py from
the source directory and build directory correctly, so this is redundant.
(From OE-Core rev: 983206d4ccab2b27adba2776f73c0c711d3ec98e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of including the Py2 python.inc and having to undo some of the
assignments, create a new python3.inc to hold the common configuration.
Over time we can move more from the recipes into this file to unify the target
and native recipes.
(From OE-Core rev: fc4767113adbdfbf4aeaaf6dd8605e7fd4bbaa46)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can use this parameter to make the wic use the label to name a
partition in /etc/fstab.
(From OE-Core rev: 51638edaa00befaed58e2def255d46ae44d9234f)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Match it to definitions in
arch/<ARCH>/include/uapi/asm/termbits.h
(From OE-Core rev: 3e222bf3e0631b385dc46b02b6ba890451c291b2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set configure option '--with-rootlibexecdir' for eudev to fix udev.pc file conflict:
| file /usr/share/pkgconfig/udev.pc conflicts between attempted installs of eudev-dev-3.2.5-r0.core2_64 and lib32-eudev-dev-3.2.5-r0.x86
It alway sets 'udevdir' in udev.pc with value '/lib/udev' that systemd
does the same thing.
(From OE-Core rev: 2585f4252a3831bf9c5e6ab69d9da2c1325e6bc0)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix install files conflicts between multlib packages by inherit multilib_script:
| file /usr/bin/cairo-trace conflicts between attempted installs of lib32-libcairo-perf-utils-1.14.12-r0.x86 and libcairo-perf-utils-1.14.12-r0.core2_64
| file /usr/bin/icu-config conflicts between attempted installs of lib32-icu-dev-62.1-r0.x86 and icu-dev-62.1-r0.core2_64
| file /usr/bin/gpgrt-config conflicts between attempted installs of lib32-libgpg-error-dev-1.32-r0.x86 and libgpg-error-dev-1.32-r0.core2_64
(From OE-Core rev: 52f2dd97e9dd20dea0f3cdeb2df490d1a4c646aa)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rprovides of target-sdk-provides-dummy don't be updated with
multilib, so it fails package_qa_multilib check. Because
target-sdk-provides-dummy doesn't install any file to sysroot, it is
safe to skip package_qa_multilib check for target-sdk-provides-dummy.
Remove ${MLPREFIX}target-sdk-provides-dummy from TOOLCHAIN_TARGET_TASK
at same time in populate_sdk_base.bbclass.
(From OE-Core rev: 3197c086269a4b21fb807a9c552b56f23c5b86dc)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
allarch is disabled when multilib is used, so sstate oeqa case
test_sstate_allarch_samesigs_multilib is useless. Remove check for
allarch part and rename to test_sstate_nativesdk_samesigs_multilib.
(From OE-Core rev: 32fe47ea0aea791357d3045c202cdad86b16f2ff)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Postinstall script update_gtk_immodules_cache calls
${bindir}/gtk-query-immodules-${version}. When multilib is enabled, both
packages foo and lib32-foo call ${bindir}/gtk-query-immodules-${version}
and one of them will fail to run obviously.
Duplicate install files gtk-query-immodules-${version} to ${libexecdir}
with ${MLPREFIX}. And update update_gtk_immodules_cache calls proper
binary.
(From OE-Core rev: cad28bd74438d8edbdb02a2d56169e2a55260ca8)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages which inherit fontcache.bbclass call postinstall script
update_font_cache. And in update_font_cache, it calls ${bindir}/fc-cache
by qemuwrapper. When multilib is enabled, both packages foo and lib32-foo
will call ${bindir}/fc-cache and one of them will fail to run obviously.
Duplicate install file fc-cache to ${libexecdir} with ${MLPREFIX} and
call proper fc-cache in update_font_cache.
(From OE-Core rev: 53d8625732b0c8416e367d5eef43863ec2065433)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update SSTATE_DUPWHITELIST in sstate.bbclass.
* remove ${DEPLOY_DIR_RPM}/noarch/ which is not overwritten any more
* add directories for package target-sdk-provides-dummy
(From OE-Core rev: 6d3ca476dbc2059f4b7fa3dfd73de6bbfed49198)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some allarch packages rdepends non-allarch packages. when multilib is
used, it doesn't expand the dependency chain correctly, e.g.
core-image-sato -> ca-certificates(allarch) -> openssl
we expect dependency chain for lib32-core-image-sato:
lib32-core-image-sato -> ca-certificates(allarch) -> lib32-openssl
it should install lib32-openssl for ca-certificates but openssl is still
wrongly required.
Only enable allarch when multilib is not used to fix the issue.
(From OE-Core rev: a23c482cab4f874f4a6a6889716123569eb5ece9)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel-fitimage.bbclass replaces an occurance of "fitImage" in
KERNEL_IMAGETYPE_FOR_MAKE by an image type that is buildable for the
architecture (such as zImage). The kernel-fitimage.bbclass packs that
image as sub-image in a flattened image tree image (fitImage) and
deploys this fitImage along with the image tree source file (.its).
kernel-fitimage.bbclass does not alter KERNEL_IMAGETYPES, which thus
also contains "fitImage", which kernel.bbclass will also deploy
redundantly with different naming.
The result is a dual deployment with slightly different naming,
each with a set of symlinks.
The solution chosen is to have fitImage deployment be handled by
kernel-fitimage.bbclass, and have kernel.bbclass ignore fitImage
types during deployment.
(From OE-Core rev: 65cded55fa96b1ba72149a31689c081ac27af7f7)
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default the devicetree class adds padding to the generated .dtb
files, which can be needed by the bootloader. However it also pads
.dtbo files, which is not useful.
Don't apply padding to the overlay devicetrees.
To achieve this:
* move "-p ${DT_PADDING_SIZE}" to a new variable, DTB_BFLAGS (B for
"base")
* add "-p 0" to DTC_OFLAGS to disable padding for overlays
Cc: Nathan Rossi <nathan@nathanrossi.com>
(From OE-Core rev: 678fe8c66b19f141f6869859cf365aec037e89d9)
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We may also need debug native tools, so make BUILD_OPTIMIZATION respect to
DEBUG_BUILD, otherwise, we need set CFLAGS in the recipe which isn't
convenient.
(From OE-Core rev: 5db09f7ad007d1def009a60d7d9bf9c13c0faa4e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be used to simplify code like:
"${@['iffalse', 'iftrue'][var]}"
(From OE-Core rev: fc5a5af7bc3619f575988a75efc0c4fe15478b2d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc 2.28 slightly changed the behaviour of sigaddset() which broke
multiprocessing. Backport a patch from Python 3.6 to solve this.
(From OE-Core rev: df1874eda517070dab86270ffafd5fe9a307e76b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch dates back to the addition of the Python 3 recipe to oe-core, and as
listxattr is never added to supports_follow_symlinks the extended attribute
support will never be enabled.
(From OE-Core rev: 9806e141e85b4e4c38eb7b45e6f2fbc2d2aed29d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
None of the Python invocations that this changes are actually called, and
there's no need to provide a HOSTPGEN variable when the recipe can just override
PGEN directly.
(From OE-Core rev: 47a8602171428b7ce5d897f7e2c2f26b203b8b63)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With OpenSSL 1.1.x TLS 1.3 can be used, so backport a patch from Python 3.6 to
fix the ftplib unit test.
(From OE-Core rev: a31047bec6b7c368674d4620e70e526ac211b936)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QEMU_USE_KVM can either be a boolean or a whitespace separated list
of kvm supported machines.
For the 'intel-corei7-64' machine, defined in meta-intel, kvm could not be
used as the 'x86' substring is not part of its machine name.
By changing the order of this 'or' statement and setting
the 'QEMU_USE_KVM' variable to 'intel-corei7-64', it is possible to run the
'testimage' task with kvm support successfully.
(From OE-Core rev: a22789253aa653dc50fb159b40910248c2f98dd4)
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core is using yasm now that gstreamer-libav and ffmpeg are using
nasm, so remove it from oe-core.
(From OE-Core rev: b7f3f7ecfdf26129c5df2d3ee14e73c4633ea5a3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to do alternatives as pkgconf and pkg-config won't be installed
at the same time, and pkg-config doesn't do alternatives either.
(From OE-Core rev: d638fe0cc84b72b9159767a862ad37550469eae8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"Integer overflow in src/zm.c:zsdata() causes crash in sz and can leak
information to receiver."
Take a patch from Fedora to resolve CVE-2018-10195.
(From OE-Core rev: a7b50fcee9a295de57f743fa3637905992da722e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
harfbuzz shipped an old pkg.m4 which overruled the pkg.m4 from the sysroot.
This is now fixed upstream, but until another release is made delete it from the
source tree.
(From OE-Core rev: 44d826327e9336d7490745d5721d79809556b177)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "baremetal" as an argument.
(From yocto-docs rev: 34cb39334d0af43f3c184adbfc53270def394154)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some re-wordings and also ran through the examples to produce
updated output.
(From yocto-docs rev: 306baeb24d2c6b45d09f44e8c8d5f55b9aef1b8d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, this is a QA warning by default, howver its a useful
check to catch configuration errors, where we might have forgotten
to update or adapt configure options on updates/upgrades to a package
(From meta-yocto rev: a75ad2e4227f715146fc1e07f9abef4e80c1aa12)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License checksum for compositor.c has changed due to extra copyright line
and year being updated - the license itself hasn't changed.
(From OE-Core rev: eed00380c95eebbd36cf66628ed7ef6e15678f10)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without a libc the gcc-runtime provider of compilerlibs does not
compile. As such avoid the default dependence on the
virtual/${TARGET_PREFIX}compilerlibs provider.
(From OE-Core rev: 61eead0cdd1f44d8c850f8e4c7389ef444bcd591)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With GCCPIE being enabled by default with security_flags.inc the
compiler will by default attempt to compile and link programs as PIE.
The targets that use newlib and baremetal in general do not support PIE
or are otherwise unable to use it due to how embedded targets are
compiled and executed. As such it makes sense to disable PIE by default
for these libc's in order to prevent build failures.
For baremetal tclibc there are no libc features or implementation as
such there is no implementation for the strong stack protector by
default.
(From OE-Core rev: dfe434b793c156a87b5ead5cb85fe60d920d69d3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing libgloss libraries handle the ${TARGET_SYS}/lib contents
so that it is placed in ${libdir} instead of ${libdir}/lib. This
resolves a packaging QA issue.
ERROR: libgloss-3.0.0-r0 do_package: QA Issue: libgloss:
Files/directories were installed but not shipped in any package:
/usr/lib/lib
/usr/lib/lib/libnosys.a
/usr/lib/lib/nosys.specs
Please set FILES such that these items are packaged. Alternatively
if they are unneeded, avoid installing them or delete them within
do_install.
libgloss: 3 installed and not shipped files. [installed-vs-shipped]
(From OE-Core rev: 69ce8ba6cc610f310ae28d988d487918906e6ef9)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setfattr is now provided also by busybox since 1.29.2 upgrade and
do_rootfs is failing with:
update-alternatives: Error: not linking usr/bin/setfattr to /bin/busybox.nosuid since
usr/bin/setfattr exists and is not a link
(From OE-Core rev: d633633f3d83467fe1f946c57e2e75e0e774ec7e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not doing so will make meson chose where to install init binary
based on irrelevant features of the build machine.
PACKAGECONFIG option is defined to override this behavior.
(From OE-Core rev: 4ff2282a7dc421c3ea6578c73fbbba768eeed146)
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic allows the user to create disk image and reference each created
partitions via its partition UUID.
squashfs does not support filesystem UUID but it does offer support for
partition UUID.
$ lsblk -o NAME,FSTYPE,UUID,PARTUUID
NAME FSTYPE UUID PARTUUID
sda
|-sda1 vfat 6078-ACD0 95aa4ffb-741d-4d99-adf6-0358bc890046
|-sda2 squashfs 7d46da2d-29cc-4d5a-9e39-d0381c4abb0c
|-sda3 squashfs d4a3e24e-410a-4f2c-8ad5-8f8321de177b
|-sda4 ext4 d72ec529-78e4-4cd3-b39b-781b6b1cb47c f3edc990-f4f6-4536-9587-44dae4ceb99f
`-sda5 ext4 a0b265aa-e935-40b8-9c6b-e9e58ad3890f 6e72ebaa-29ed-41cd-844c-3f76976cf41d
Modifying this constrain allows a user to create squashfs-based rootfs and boot
from them with such kernel argument 'root=PARTUUID=7d46da2d-29cc-4d5a-9e39-d0381c4abb0c'
Fixes: 2fbdcf4e59c8 ("wic: kparser.py: Check for SquashFS and use-uuid")
(From OE-Core rev: a8787bbfdf088b0ef9feb8e6b4230b743bb4086f)
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the tui (Terminal User Interface) option to be set via a PACKAGECONFIG.
(From OE-Core rev: b4dd830e3407e1ebfbb13387fa359e356fd12ab9)
Signed-off-by: Trevor Woerner <trevor@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Asus EEEpc hardware hasn't been produced for a long time;
upstream repo is now gone.
(From meta-yocto rev: 76cd3a475ebce4ae26fc3aae0f2b43628926f7b0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running "bitbake gconf-native -c cleansstate; bitbake core-image-sato:do_populate_sdk"
results in a build where it fails to find gconf-native and fails to build it,
merrily trying to build the SDK without gconf being present.
The issue is the missing setscene tasks are effectively ignored as the later
code in runqueue thinks that since other sstate tasks are present, these
'cover' the missing one. In reality we need to call BB_SETSCENE_DEPVALID
to make that decision. To do that we need a "reduced" setscene dependency
graph which we don't have in main task graph context.
Since that was already done in setscene, we should just assume anything
in the non-covered list needs to be built.
(Bitbake rev: 464d0339add15bc8b4344ddd1e4c49706e3c0a02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user puts universe on the commandline, they don't really want warnings
so use the new verbnote level instead.
(Bitbake rev: 0c87ade5678e503899e3a6cdda5329f6fc212b63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It has become apparant we need a log level which reaches the console but
isn't a warning/error. Add "verbnote" as a way of doing this, behaves as
a note but with a higher priority.
(Bitbake rev: 2076f12cc2f809345108b1606bd6201f41287505)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst turning on the LLVM drivers is a honourable goal, the performance impact
is *huge*. Instead let specific BSPs turn it on as required.
(From OE-Core rev: 882d31bc0dbe20434d2b89aa92901374bb5e5666)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making the following commits available to address kernel configuration
warnings:
734172039130 preempt-rt: remove entry for aufs
7a6753341309 common_pc: remove config audit warnings
dea9c6aa7ddd common-pc/tiny: mask configuration warnings
(From OE-Core rev: cc3fa85467c0423b06e78b3e775d5358c422ee4e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent kernels broke the ability of kconfiglib to parse the Kconfig
files and offer reasons why a symbol may not be set. To address this
issue, we update to Kconfiglib2 and adjust the symbol_why script to
work with the new API.
We also tweak the kconf_check script to allow the specification of
a list of option as "non-hardware". This allows a BSP to inhibit
warnings on options that it knows are mismatched for a valid reason
(i.e. -tiny kernels using common fragments with known missing
dependencies).
(From OE-Core rev: 6acfe7d9e431923124c5c4e743f39f9d7aea97c5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable is otherwise unset leading to missing dependency warnings. Give
it the same default as used elsewhere in other recipes.
(From OE-Core rev: 0a1265f4dd90ad9524005ce91b3d0564ce2215e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids warnings from libdrm which has nativesdk/native variants and depends upon this.
(From OE-Core rev: 7b604e6a8f800e779f368244b0fa94c219c93df0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The busybox-syslog rrecomends is proving tricky as it gets pulled in early and
there are conflicts between its use of update-alternatives and busybox needing
to provide those things.
We already have recipes using BAD_RRECOMMENDS to remove this dependency, it probably
makes sense to spell it out explicitly and allow it to be overridden more easily.
This patch does this, dropping the now unneeded BAD_RRECOMMENDS. It preserves
the dependency as a recommendation for now, further cleanup may allow simplication
of that.
This unbreaks certain build failures on the autobuilder, more as a workaround but
is a change we probably want to make anyway.
(From OE-Core rev: 544ade2d78f1375d9e93d6bf5842d857ddaf3530)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code currently only prints a single depchain due to overwriting data
instead of appending. Fix this.
(From OE-Core rev: 48af19cdfa92aa9d336da50afe4ed3dde92daecc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Occasionally we see warnings like:
WARNING: core-image-sato-1.0-r0 do_populate_sdk: Manifest /home/pokybuild/yocto-worker/nightly-qa-extras/build/build/tmp/sstate-control/manifest-allarch-nativesdk-linux-libc-headers.populate_sysroot not found in i686_linux allarch (variant '')?
which occur when do_populate_sdk is run in an otherwise empty TMPDIR.
It occurs because do_stash_locale is not recognised as a setscene task
and is removed from the taskgraph meaning the dependency chains fed
through setscene_depvalid don't match what was actually setscene'd.
That task is recipe specific and not in the global SSTATETASKS so we
hardcode the value for now to stop the build warnings. This is going to
need to be revisited for a more generic solution.
(From OE-Core rev: d8d5b624058920113f9d297f7f711d6d3249ae39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2018-11439: The TagLib::Ogg::FLAC::File::scan function in
oggflacfile.cpp in TagLib 1.11.1 allows remote attackers to cause
information disclosure (heap-based buffer over-read) via a crafted audio
file.
References:
https://nvd.nist.gov/vuln/detail/CVE-2018-11439
Patch from:
272648ccfc
(From OE-Core rev: a300c4917b6c22ef039158be7ae92055c35658d4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't do this, busybox-syslog can install before busybox
which clearly doesn't make sense and can trigger postinst failures
(missing sed which u-a depends upon).
(From OE-Core rev: 7080711849347c7fff55f925c33e6ea69d7c46bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was only needed with old pkg-config, but we have 0.29.2 so this can be
dropped.
(From OE-Core rev: 27605fc88d0dc8021abeccc38bab286f56a92736)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I pushed this upstream, so mark the patch as such.
(From OE-Core rev: d1cae876c68b5b4ab666f1860d2935634a1f69dd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The options are still called yasm and there's some cleanup to be done, but as
libav can use both yasm and nasm let's unify on nasm (last release six months
ago, fifteen RCs since) instead of yasm (last release 2014).
(From OE-Core rev: 9343c02cc12aa210a1b7ae7696c83a5501c91ceb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As ffmpeg can use both yasm and nasm let's unify on nasm (last release six
months ago, fifteen RCs since) instead of yasm (last release 2014).
(From OE-Core rev: fe204ba16068c518a15c946c3d370dff8a2171c7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PyBench takes a long time to run, also upstream have removed it from Python and
instead use test.regrtest —pgo to profile the interpreter.
The results are good: not only does Python compile faster (~300s vs ~600s on my
machine) but Phoronix’s PyBench test runs in 2130ms compared to 2229ms when
using PyBench to train (and 2345ms with PGO disabled).
(From OE-Core rev: 98b2b6c3eae15d9b84c97c6a1495040f6b7e389a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python uses AC_RUN_IFELSE to determine the byte order for floats and doubles,
and falls back onto "I don't know" if it can't run code. This results in
crippled floating point numbers in Python, and the regression tests fail.
Instead of running code, take a macro from autoconf-archive which compiles C
with a special double in which has an ASCII representation, and then greps the
binary to identify the format.
(From OE-Core rev: 1781b87ae0765c1867da2fa8c56bf988b4e84405)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to delete the line that removes the profile data, as we're not
using it after the build. This reduces the size of the patch, making it easier
to maintain.
(From OE-Core rev: 561577add4b935d9bfb7b7dd6abdc3e26c1d9143)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG for profile-guided-optimisation, and default to whether
qemu-usermode is available.
Move --enable-optimizations to the pgo optimisation as all this currently does
is use the PGO rules, causing a performance hit if PGO isn't actually used.
(From OE-Core rev: 231e13c76d3ca7beebfbc8d8a856f72fa3780601)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're repeating the same make invocation over and over, twice without setting
OPT=${CFLAGS} which doesn't seem right.
Centralise the make invocation to clean up the tasks.
(From OE-Core rev: d2b5bf97eedc67f77d87a44bab86ab086176b8db)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: clarification of what parts of g-i are licensed under which license.
Actual terms are the same.
Add a patch to deal with prelink-rtld returning 127 in some cases despite there being no error.
(From OE-Core rev: 50b2187ed8b54317e953882034ba5648e0a4b764)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed patches, refresh the rest.
Add an explicit dependency on gettext-native, as glib is no longer
fooled by setting msgfmt to /bin/false.
(From OE-Core rev: 79d229e8be892cc0bd36fe9f71ac4671cc34aa82)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patches, refresh the rest.
(From OE-Core rev: 6c09949663a02015dc8a7b80f581e4867afdd7e3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In response to a change in binutils, commit b21ebf2fb4c
(x86: Treat R_X86_64_PLT32 as R_X86_64_PC32) was applied to
the linux kernel during the 4.16 development cycle and has
since been backported to earlier stable kernel series. The
change results in the failure message as below when rebooting
via kexec.
# kexec -l /boot/bzImage --append="console=ttyS0,115200 root=/dev/sda1"
Unhandled rela relocation: R_X86_64_PLT32
Fix this by replicating the change in kexec.
(From OE-Core rev: 734a1bb8944caef1336f3a9cc98ea104d6be1f57)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add -c (--clean) optiont to 'devtool build' command so that users
could easily clean things up when using devtool.
I encountered a problem about do_prepare_recipe_sysroot failure
when using `devtool build' command and I found myself in a situation
where I either have to use `bitbake' command to clean things up or
use `rm' to remove the directories under ${WORKDIR}.
So add a clean option as it would be helpful when users want to clean
things up to prepare an environment for a clean build.
(From OE-Core rev: 29d790cdeff19e520a35ec5902d6deaae8665492)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop --disable-dbus option and patch: --disable-plugins is sufficient.
Drop upstreamed patches.
Drop a chunk of 0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch, as upstream fixed the issue.
(From OE-Core rev: 4e4fc46589762914f10ae2fa41b614bcb32f9bb9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, latest version is reported as 1.0.2 which is less than 1.0.6.
Hopefully some kind of official homepage will exist at some point.
(From OE-Core rev: 12baebac49ab774935f1f71eaaf22ed696366d10)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Asus EEEPc hardware is well obsolete, upstream repo is now gone.
(From OE-Core rev: 2ac9d94a4d9b88d56ac6af1dd4d7f3d383439a12)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit bd8470dcaebddf37bf889d3dffd3dcb53d367f23.
It breaks prelink since its using the master branch which doesn't contain
the cross changes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During removal, opkg is using globs to select which metadata files to
remove. The glob is too broad and sometimes can result in a package
removing the metadata from a package with a close name. Make the
matching more strict.
Fixes bugzilla 12905
(From OE-Core rev: 715180e41884393d4f2f234dd557df61a21c4745)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since `229f4e9 package.bbclass: add support for
pkg_postinst_ontarget()' applied in oe-core, use
pkg_postinst_ontarget to run postinst at first boot.
(From OE-Core rev: a6e62aae8f83696755828631e5ff67a579a6462f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a bug where modules were being added twice to the
core package, this patches the manifest to reflect the fix on
the create_manifest script.
(From OE-Core rev: 9ddbff824052751b4d0bb30c453ecb5098d728c9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch intends to clean up the whole create_manifest script/task
for python3.
This is an effort to make the code more human friendly and facilitate
adoption, it not only cleans up the code but it also improves comments,
it should also be easier to upgrade the manifest after each python3
upgrade now, with these fixes the transition to python 3.7 should be
seamless.
It fixes a rather harmless bug where module dependencies were being
added twice to the core package and adds tests and sqlite3-tests
as special packages since we want specific dependencies on those.
It also fixes a bug that happened on a few packages that
contained a directory with the same name as the module itself
e.g. asyncio, where the script avoided checking that module for
dependencies.
Lastly, it improves the output, it errors out if a module is found
on more than one package, which is what usually happens when
python upstream introduces a new file, hence why the current
manifest is unaware of, it is better to exit with an error because
otherwise the user wouldnt know if anything went wrong unless the output
of the script was checked manually.
(From OE-Core rev: 658042073cb58c58ac4db4ff13689d1ffd89b72e)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch improves the create_manifest script by making it
use PYTHON_MAJMIN instead of hard coded paths containing the
version number when looking at the necessary modules for
every package, the script should now be independent of the
python(3) version on which were working
(From OE-Core rev: b94af33b5ffdd62617cf69fca4d99e927447740a)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the manifest contains hard coded paths with the version number,
e.g. python3.5, this patch changes the paths to use the variable
PYTHON_MAJMIN instead, this should make the python upgrades easier
(From OE-Core rev: a6fab3ca81e3dc6ee226840ed7e9f1cd21ecbc2a)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version of prelink includes the fix for a segmentation fault due to
using e_shnum vs e_shstrndx.
In addition the following changes are incorporated:
2018-08-29 Khem Raj <raj.khem@gmail.com>
* src/elf.h: Add RISC-V defines
* src/rtld/dl-tls.c: Add RISC-V support
* src/rtld/rtld.c: Add RISC-V support
2018-08-29 Robert Yang <liezhi.yang@windriver.com>
* src/dso.c: use ehdr.e_shstrndx as index
2017-06-20 Andrew Stubbs <ams@codesourcery.com>
* src/arch-x86_64.c (x86_64_prelink_conflict_rela): Also convert
R_X86_64_32 conflicts to R_X86_64_IRELATIVE for ifuncs.
* src/arch-x86_64.c (PL_ARCH(x32)): Set mmap_end to 0x60000000.
2017-06-20 Joseph Myers <joseph@codesourcery.com>
* src/rtld/rtld.c (load_ld_so_conf): Add argument use_x32.
(main): Update call to load_ld_so_conf.
2017-06-20 Kyle Russell <bkylerussell@gmail.com>
* src/rtld/rtld.c: Add missing DT_NEEDED DSOs to needed_list
(From OE-Core rev: 1f0568c6b8982f814f630193fb5114db489afcaf)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches will be needed to build serf on hosts with
python 3.7+
(From OE-Core rev: ab0be544b392bbd6cb1dc91edd5fe8563d7de393)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were various problems in the server startup loggin:
a) stdout/stderr were not being flushed before forking which could potentially
duplicate output
b) there were separate buffers for stdout/stderr leading to confusing logs
where the entries could be reordered. This was particularly confusing
due to the separator the logs use to idendify new messages
c) an fd wasn't being closed during server startup meaning if the
server failed to start, the closed fd wasn't detected as it was held
open by the other reference
d) If the pipe was detected as being closed, the code incorrectly retried
server startup
e) The event code would remap stdout/stderr without flushing them, leading
to lose log messages
(Bitbake rev: 0594faa0b52ce5dbd948d836d88617d38d9862d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the case of a sublayer of an existing layer, where the sublayer and
main layer share a path, the system may not match the paths properly resulting
in:
No bb files matched BBFILE_PATTERN_sublayer '^/path/main/sublayer'
because it has already matched the main layer.
Fix this issue by sorting the collection items based on the pattern, using
longest to shortest. Obviously regex wildcards could still be an issue
but these are typically not used, so this simply fix should work in the
existing cases.
(Bitbake rev: 1787cef7221b88f6920ea70fadaffc117d84c7aa)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running 'gcc --version' for every image recipe is slow and increases parsing
time/resource usage for no good reason. Only compute the value in when we're
really running the task/function.
(From OE-Core rev: bf49316bb9913b7c89de64d6a194be31aa66e16b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent binutils patch added the LDGOLD variable but its already used
for controlling EXTRA_OECONF options for gold. Separate the two variables
to different names to avoid build warnings and confusion.
(From OE-Core rev: 713c83fd00ab16250f05b0c3933f0c8178b8a33e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches may as well be merged together as they affect the same code
and things are clearer this way.
(From OE-Core rev: 7533c000183a2b447cbabd6ce1b8b75de55b63e7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
os-release (5) recommends that the os-release file be installed in
/usr/lib/os-release and that /etc/os-release be a relative symlink to it.
(From OE-Core rev: 4feb8614ee25a3d3ceb7f5187120a1256a993155)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no good reason to loop 10 times on the test since the profile
optimisation won't change between runs, we don't need/want a statistical
average. This is just burning cpu cycles, just make 1 run.
(From OE-Core rev: 78af3a3e6865cac8bc9fd881af6158ce5e21d4e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a couple of missing items to the TODO list that this script needs to handle.
(From OE-Core rev: c6bc6d874ae43eb2808508b935f837c670c1d15e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently these are in ${PN} and ${PN}-syslog may get replaced by
other packages but update-alternatives would error in the postinst
if other files were installed first. Avoid the problems by putting
the links in the correct package.
(From OE-Core rev: ef11c54ba99af261a70ec31091216cdd1556da24)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coreutils installs these into bindir, folllow its lead to avoid postinst
failures when installing coreutils and busybox together.
(From OE-Core rev: ed6e039bf9b16ea882995780425b33b84f9356cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- refresh busybox-udhcpc-no_deconfig.patch
- remove obsolete patches which are included in this update
- update defconfig
- Add newly required virtual/crypt depends [RB]
(From OE-Core rev: b9c7fdd4b204ab1c2466e9ec5d933bbc635fcc4f)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ignore unauthenticated encrypted EAPOL-Key data in supplicant
processing. When using WPA2, these are frames that have the Encrypted
flag set, but not the MIC flag.
(From OE-Core rev: a5a07887e73ebf0aa6b3b1fa247e44743b39322e)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gstreamer is not _yet_ ported to risc-v
(From OE-Core rev: 597b253c766013c5328f95ac226ef855926f7784)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run rpmbuild to build a noarch package on target when it
contains 'BuildArch: noarch' in the spec file:
| error: No compatible architectures found for build
Add 'noarch' to buildarch_compat in configure file rpmrc to fix it.
(From OE-Core rev: 2bdddb458bcc779d595e972f60a719aeb1c1b6d5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add systemd service file of lttng-tools from Fedora
ftp://fr2.rpmfind.net/linux/fedora/linux/development/rawhide
/Everything/source/tree/Packages/l/lttng-tools-2.10.5-1.fc29.src.rpm
It requires kernel configs CONFIG_STAGING and CONFIG_LTTNG2 to be set.
But linux-yocto doesn't meet the requirement. So disable the service by
default.
(From OE-Core rev: 29bc046d705beb9dac2e70fa31358da7719ba7a4)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates CMake to the 3.12.1 stable release. All patches were
rebase on top of the new source file and all them applied without
changes.
The number of patches has changed as all them were applied on the Git
tree and re-exported, to avoid any fuzzy warnings.
License-Update: new contributor added in Copyright.txt
(From OE-Core rev: 439be401cd642937b45796489e8c10aa5238a963)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Originally this was fribidi 0.19.7 from meta-oe, with the following changes:
- Upgrade to latest release (1.0.5)
- Drop GLib and PCRE build-dependencies (removed upstream)
- License is *or newer*
- Upstream has moved to Github
- Remove the historical PROVIDES (patches for meta-oe sent)
(From OE-Core rev: d1feb75be77816efdb00149acef4815a8c97d844)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this was done with the generic autotools support, but CMake doesn't
have a standard option so set it explicitly.
(From OE-Core rev: 47bd456c1be169fc86788edf0173847b9b0d255b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade webkitgtk from 2.20.3 to 2.20.5.
* include fix of CVE-2018-12911
* backport patch for fix CVE-2017-17821
(From OE-Core rev: b77193ca8fd362d7b711574aa0b6eb07f7cc605f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All other functions in this class use TAB for indentation while
the do_compile function uses '4 spaces'. Adjust it for consistency.
(From OE-Core rev: c2829b74892633c554a5f8262d4cafbe0fa6c3a7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is often useful to run lookup-recipe on a list of packages and get
notifications that there were failures, instead of a fatal error on the first
failure.
This makes it possible to pass long lists of packages to oe-pkgdata-util and
process the output.
(From OE-Core rev: 8439565a009bb72d63bb3be6230832811b04cf6e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure we have virtual/crypt even if building without PAM; fixes:
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /usr/libexec/sudo/sudoers.so: /usr/libexec/sudo/sudoers.so: undefined symbol: crypt
sudo: fatal error, unable to load plugins
(From OE-Core rev: f863713ae255bf5b6619c98ecd36aacbda352bbb)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.18 is replacing 4.12 as the latest kernel in the upcoming
release, so we drop this dangling bbappend.
(From meta-yocto rev: 6686fbad03d8de5d29d58aae149e253474336d5f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.18 is replacing 4.15 as the latest kernel in the upcoming
release, so we drop this dangling bbappend.
(From meta-yocto rev: 14e89c34cc0cb9e74075cd5a86500426701b1c8d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.18 will be the newest kernel in the upcoming release, so we bump
our default to it in preparation of 4.15 being dropped.
(From meta-yocto rev: 698c1edd9a258a891b7f1373c3468218e6440856)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration files from 1.0 and 1.1 conflict:
"""
file /etc/ssl/openssl.cnf conflicts between attempted installs of openssl10-conf-1.0.2p-r0.i586 and openssl-conf-1.1.1+pre9-r0.i586
"""
Ensure that if 1.1 is present, it will overwrite the config file
from 1.0.
(From OE-Core rev: bd92ff5759809df2542ce1bcba2c45bbd11d1e10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test installs socat and expects it to run but assumes all its dependencies
are already installed (which includes libssl).
Recent changes mean this isn't the case so force libssl into the image in advance
to work around this issue for now.
(From OE-Core rev: 13b82380abb273e6575b1e74870d3fe8249ebbc1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It includes following changes:
fea76a0 amdgpu: sync up polaris10 firmware with 18.30 release
ffca603 amdgpu: sync up vega10 firmware with 18.30 release
2ed60eb amdgpu: sync up raven firmware with 18.30 release
02cc45f amdgpu: sync up polaris12 firmware with 18.30 release
b860e58 amdgpu: sync up tonga firmware with 18.30 release
15ed096 amdgpu: sync up polaris11 firmware with 18.30 release
005a9fe amdgpu: sync up fiji firmware with 18.30 release
1d17c18 linux-firmware: add firmware for mhdp8546
c2e0d14 qed: Add firmware 8.37.7.0
f1b95fe linux-firmware:Update firmware patch for Intel Bluetooth 7265 (D1)
8813230 linux-firmware: Update firmware file for Intel Bluetooth,9560
c2d8f1b linux-firmware: Update firmware file for Intel Bluetooth,9260
9767096 linux-firmware: Update firmware file for Intel Bluetooth,8265
41bdd3b linux-firmware: Update firmware patch for Intel Bluetooth 8260
fdd3468 linux-firmware: add firmware for mt76x0
eee8208 Merge commit 'c4883661c7eeedd061eb3b483135b47dab39a88d' of https://github.com/Netronome/linux-firmware
6ae7a5b qcom: update venus firmware files for v5.2
c488366 nfp: update Agilio SmartNIC flower firmware to rev AOTC-2.9.A.31
7b5835f linux-firmware: add firmware for mt76x2u
3a5103f wl18xx: update firmware file 8.9.0.0.79
b01151b Mellanox: Add new mlxsw_spectrum firmware 13.1702.6
0ff06f2 WHENCE: Remove reference to amdgpu/vegam_me_2.bin
3fcf221 linux-firmware: mediatek: add MT7622 Bluetooth firmwares and license file
c8d6903 brcm: add 43430 based AP6212 and 1DX NVRAM
fad829d Merge git://git.marvell.com/mwifiex-firmware
0ced724 linux-firmware: update Marvell USB8801 B0 firmware image
8d69bab amdgpu: update copyright date
153a51e amdgpu: add initial VegaM firmware
10e2971 amdgpu: sync up vega10 firmware with 18.20 release
4b05dee amdgpu: sync up raven firmware with 18.20 release
aeec108 amdgpu: sync up polaris12 firmware with 18.20 release
5408150 amdgpu: sync up polaris11 firmware with 18.20 release
34116bf amdgpu: sync up polaris10 firmware with 18.20 release
a8a2884 amdgpu: sync up verde firmware with 18.20 release
bea8c7f amdgpu: sync up pitcairn firmware with 18.20 release
d47f956 amdgpu: sync up tahiti firmware with 18.20 release
1f92e00 amdgpu: sync up oland firmware with 18.20 release
effed45 amdgpu: sync up hainan firmware with 18.20 release
d50a667 amdgpu: sync up kaveri firmware with 18.20 release
5b8eca3 amdgpu: sync up mullins firmware with 18.20 release
b4b5726 amdgpu: sync up kabini firmware with 18.20 release
fc80838 amdgpu: sync up hawaii firmware with 18.20 release
5350953 amdgpu: sync up bonaire firmware with 18.20 release
8c96b0d WHENCE: Fix typo Version
6213586 cxgb4: update firmware to revision 1.20.8.0
License-Update:
- LICENSE.amdgpu has a copyright year bump
- LICENCE.cadence is new
- LICENCE.mediatek is new
- WHENCE list the version bumps as well as the new Cadence and
MediaTek license files and its respective firmware files.
(From OE-Core rev: 1b980f95112f83f713de9c70f3e1d64996dcade0)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NEW FEATURES:
- Add CI tests against go1.10. Drop support for go1.8. (#1620).
- Added install.sh script. (#1533).
- List out of date projects in dep status (#1553).
- Enabled opt-in persistent caching via DEPCACHEAGE env var. (#1711).
- Allow DEPPROJECTROOT environment variable to supersede GOPATH
deduction and explicitly set the current project's root (#1883).
- dep ensure now explains what changes to the code or Gopkg.toml have
induced solving (#1912).
- Hash digests of vendor contents are now stored in Gopkg.lock, and
the contents of vendor are only rewritten on change or hash
mismatch (#1912).
- Added support for ppc64/ppc64le.
- New subcommand dep check quickly reports if imports, Gopkg.toml,
Gopkg.lock, and vendor are out of sync (#1932).
BUG FIXES:
- Excise certain git-related environment variables. (#1872)
IMPROVEMENTS:
- Add template operations support in dep status template output (#1549).
- Reduce network access by trusting local source information and only
pulling from upstream when necessary (#1250).
- Update our dependency on Masterminds/semver to follow upstream again
now that Masterminds/semver#67 is merged(#1792).
- inputs-digest was removed from Gopkg.lock (#1912).
- Hash digests of vendor contents are now stored in Gopkg.lock, and
the contents of vendor are only rewritten on change or hash
mismatch (#1912).
- Don't exclude Godeps folder (#1822).
- Add project-package relationship graph support in graphviz (#1588).
- Limit concurrency of dep status to avoid hitting open file
limits (#1923).
(From OE-Core rev: 165da89292f81d236e4e8e652500b8879c2ad9be)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tweaking was not sufficient to prevent package dependency issues,
but there is a standard mechanism to do exactly that kind of prevention
which I wasn't aware of.
(From OE-Core rev: 1e75fead42f27723e720686f5a5233dc5acbe5b3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the moment 1.1.1 is in pre-release stage, however the final release
should be available within a few weeks. The major selling point is that
it supports the new TLS 1.3 specification. It will also be the new long
term support version. More information:
https://www.openssl.org/policies/releasestrat.html
(From OE-Core rev: 9f14a32a3b47b83877fe4fa58b13caeeb38f183a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This leaves openssh as the only recipe that requires openssl 1.0 (or libressl).
(From OE-Core rev: 8b3711f32f0e25961762cbc77ae2e10628ecdf07)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I believe the time has come to do this: openssl 1.0 upstream support stops at the end
of 2019, and we do not want a situation where a supported YP release contains an
unsupported version of a critical security component.
Openssl 1.0 can still be utilized by depending on 'openssl10' recipe.
(From OE-Core rev: 876466145f2da93757ba3f92177d0f959f5fe975)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that the perms conf file specified by FILESYSTEM_PERMS_TABLES
does not exist. Currently, this situation is silently ignored, which
is likely to lead to further do_rootfs failures.
So fix to output a warning, telling user that the specified file
in FILESYSTEM_PERMS_TABLES cannot be found.
(From OE-Core rev: e14b9f2a667889092251053933dc2f3c51f01ef0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the disable-ciphers patch since it has been integrated:
cec33896 Omit 3des-cbc if OpenSSL built without DES.
(From OE-Core rev: 7d35f5bb7b1700ae4bb7f55af8db7357a851c15a)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for riscv64 to build target binutils fixes alternatives
creation
(From OE-Core rev: 81a8e7addadcffc322735f3a30369d382334590b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This support is there using cross-localedef but was not enabled, this
caused the post-install for locales to be emitted which delays the boot
significantly.
emitted postints for locales contain exit 1 which is flagged now and was
causing image generation to fail.
(From OE-Core rev: c67298f3af9cbb8c7596e4fb20b652a8f2582add)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was otherwise being deferred until boot time
(From OE-Core rev: f8a4ce9b2d59a380d35305a2cd7f73b279bbd8f5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have an rt BSP definition for preempt-rt and qemuarm, and it boots
with 4.18, so we add it to the compatible machines:
qemuarm64 login: root
root@qemuarm64:~# uname -a
Linux qemuarm64 4.18.3-rt1-yocto-preempt-rt #1 SMP PREEMPT RT Tue Aug 28
14:10:55 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
(From OE-Core rev: a99ff5415b587fdeb3212ba1c95c5c366a7c362b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to remove kernel config audit warnings:
3ea2052ace1 common-pc: Drop the x2apic feature
1fec700ec479 beaglebone: Clean up the cfg file
1b97e53dcd11 beaglebone: Drop the needless unsetting of the kernel options
c6c68c3622d0 beaglebone: Drop the obsolete kernel options
552c9a3f3023 edgerouter: Drop the obsolete kernel options
3a62e42dfb89 mpc8315e-rdb: Drop the obsolete kernel options
(From OE-Core rev: a06cc553d3f33f51272cd7c2f6860f41a06eb0e3)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While the 4.12 kernel will continue to get updates, that will happen
in maintenance branches. So we drop the 4.12 versioned recipes to make
it clear that 4.14 and 4.18 are the active kernels.
(From OE-Core rev: a528cf2a783b940f44d52cae4ec8c20c5763e624)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.15 was part of the release as the 'newest' kernel. It is no longer
supported upstream, so there's no need to carry it into newer releases
since it will be replaced by 4.18.
(From OE-Core rev: a49f3d846594f7e81bc9389bd842c289109d2b72)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
module.lds is required for arch/arm* to build modules out of tree, but
isn't required for scripts/prepare, so it was missed in the initial
devsrc rework:
root@qemuarm64:/tmp# make -C /usr/src/kernel M=/tmp modules
make: Entering directory '/lib/modules/4.18.3-yocto-standard/build'
CC [M] /tmp/hellomod.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/hellomod.mod.o
LD [M] /tmp/hellomod.ko
make: Leaving directory '/lib/modules/4.18.3-yocto-standard/build'
root@qemuarm64:/tmp# insmod hellomod.ko
[ 675.743628] hellomod: loading out-of-tree module taints kernel.
[ 675.794959] Hello world!
(From OE-Core rev: a37979a19ee16dc1e01243175fce24683f6ced83)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After uprade to 2.0.0, build system change from
autotools to cmake, wrong usage of #cmakedefine
cause wrongly defined HAVE_STDLIB_H, which cause
some other package compile failed.
(From OE-Core rev: d1e09cb2521ccb9d02ced2d61abb4034cb04836d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch should increase performance for libsdl2 on GLES2 too.
(From OE-Core rev: 52f9659f2bb44affec2f67935df01f13b6ff3e02)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
its building a module therefore its important to provide correct cross
build environment, distutils3-base automatically inherits python3native
this is seen when using clang where it tried to link with gcc since the
environment falls back to builtin LDSHARED variable
(From OE-Core rev: 8bfb54edc6fafda2301aece91ec6b55905e2a418)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
clang is fussy and complains that a valueless return is used from a
function which should return a value
(From OE-Core rev: 301d9801a43b2173c83a2296553abd53f152a145)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are var-SECURITY_PIE_CFLAGS, var-lcl_maybe_fortify and
var-SECURITY_STRINGFORMAT which are helpful for OVERRIDES.
Also add var-SECURITY_STACK_PROTECTOR, and drop hardcoded `_remove'
overrides. Such as `4ca946c security_flags: use -fstack-protector-strong',
it s/-fstack-protector-all/-fstack-protector-strong/, only tweak
var-SECURITY_STACK_PROTECTOR is sufficient.
The fix does not have any side affect on SECURITY_CFLAGS of glibc/
glibc-initial/gcc-runtime, these three directly assigned with "".
...
SECURITY_CFLAGS_pn-glibc = ""
SECURITY_CFLAGS_pn-glibc-initial = ""
SECURITY_CFLAGS_pn-gcc-runtime = ""
...
(From OE-Core rev: 0ed4a6233bdcb25cbdce698504611541420d92d0)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Since poky enable security flags+pie by default, tweak comments
to sync with it.
[poky commit]
491082c poky.conf: Enable security flags+pie by default
29d76b3 poky-lsb: Remove including security_flags.inc
[poky commit]
- Use `?=' to set a default lcl_maybe_fortify, it is helpful for
variable OVERRIDES.
(From OE-Core rev: 38c410bb7d1688cd952da9f19269c2a65a92ab45)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patch
0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
fixed segmentation fault error on other arches except mips and mips64, now
update it to fix mips and mips64 too, also submitted to upstream.
(From OE-Core rev: 8e280aff908b980d641c762946f691a6d376b87b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During debugging dnf issue, we found that the test_dnf_install
PASSED the testing even though the environment does not allow
dnf install to run successfully. Further debugging had identified
that current test_dnf_install will execute dnf install even when
the package to be installed already exist, thus dnf install
will just skipped and this test will PASSED even though it was
not.
To solve this, added additional logic to check if the package
to be installed already exist, if yes then remove the package
before actually run dnf install. This will make sure dnf install
was tested as expected.
(From OE-Core rev: 4f662b253f7313c4e02bfafb527cdac076b6309a)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current _hasPackage does a regex match when checking for the
existence of packages. This will sometimes result in unexpected
result. For example, the condition hasTargetPackage('gcc') is likely
to be always true as it matches libgcc1.
For most of the time, we should do exact match instead of regex match.
So change _hasPackage function to do that. For the current sdk test
cases, the only place that needs regex match is '^gcc-'. This is because
there's no easy way to get multilib tune arch (e.g. i686) from testdata.json
file.
Besides, packagegroup-cross-canadian-xxx and gcc-xxx should be check in
host manifest instead of the target one. So fix to use hasHostPackage.
Also, as we are doing exact match, there's no need to use r'gtk\+3',
just 'gtk+3' is enough.
(From OE-Core rev: 595e9922cdbacf84cf35cc83f0d03cace042e302)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When determining whether to skip the test case, the check should be
done with consideration of multilib. Otherwise, we will meet the
following error when testing against lib32 environment.
No package 'gtk+-3.0' found
(From OE-Core rev: ce82ee46f4a7beb5663238b276e779e5c9657777)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a named argument 'multilib' for the hasTargetPackage function. Its default
value is False. When setting to True, it will try to get the correct multilib
prefix from the sdk_env, the environment setup script.
We need this because we don't want unexpected run of some sdk test cases.
The following steps will generate error.
1. Enable multilib for qemux86-64
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "core2-32"
2. bitbake core-image-sato -c populate_sdk
3. bitbake core-image-sato -c testsdk
The error message is like below.
No package 'gtk+-3.0' found
RESULTS - buildgalculator.GalculatorTest.test_galculator - Testcase -1: FAILED
As we don't have lib32-gtk+3 installed, the test case should be skipped when
testing against the lib32 environment setup script.
(From OE-Core rev: 163764ad4760a5fabf65640df5f968be98ad13d2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sumo release provides a transition period so that deferrals to first boot
via 'exit 1' can be converted to pkg_postinst_ontarget(). For the next release
however, postinst script failures should be treated as such.
[YOCTO #12607]
(From OE-Core rev: 42acb0ebde4e88bcdf34a541b700f19d8607abb0)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Find out rbconfig.rb and created.rid from ${B}/.installed.list
and remove build host directories
- For rbconfig.rb, parse it like python's _sysconfigdata.py
[snip rbconfig.rb]
26 CONFIG["INSTALL"] = 'install -c'
[snip rbconfig.rb]
- For created.rid, it records file created time, just strip ${WORKDIR} prefix.
[snip created.rid]
840 /ruby-2.5.1/doc/maintainers.rdoc Fri, 22 Dec 2017 23:08:05 +0000
[snip created.rid]
(From OE-Core rev: 853e0499be449c71378c087e08b1926be8e2ac87)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Explicitly requests the newer database `sql:' rather than
retrieved from NSS_DEFAULT_DB_TYPE
- Removes build path prefix from pkcs11.txt
Refers certutil manual:
[certutil manual]
-d [prefix]directory
Specify the database directory containing the certificate and key database files.
certutil supports two types of databases: the legacy security databases (cert8.db,
key3.db, and secmod.db) and new SQLite databases (cert9.db, key4.db, and pkcs11.txt).
NSS recognizes the following prefixes:
sql: requests the newer database
dbm: requests the legacy database
If no prefix is specified the default type is retrieved from NSS_DEFAULT_DB_TYPE.
If NSS_DEFAULT_DB_TYPE is not set then dbm: is the default.
[certutil manual]
(From OE-Core rev: e9b99efe4b5cf7e810156f7bb55736e01be36a45)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release notes for 12.0:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/12.0/
12.1 contains a few regression fixes:
https://lists.freedesktop.org/archives/pulseaudio-discuss/2018-July/030259.html
12.2 is just a fixup for the configure script brokenness in the 12.1 tarball.
qpaeq changed license from AGPL to LGPL, so now there's no AGPL licensed
code any more. This removes the excuse to not enable fftw support (i.e.
module-equalizer-sink and qpaeq). I'll enable fftw in a separate patch.
There's a new gsettings module that should be enabled, but I'll do
that in a separate patch. It's not particularly important, because the
module is only used by the paprefs GUI application that doesn't seem to
be packaged for OE at the moment.
Removed upstreamed patches:
0001-padsp-Make-it-compile-on-musl.patch
0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch
License-Update: qpaeq changed license from AGPL to LGPL:
61217528a1
(From OE-Core rev: 9bc3a8ec4a007fe75dc8f44faf6357517b1fb020)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Copyright Year Update
1. Upgrade from 1.5.3 -> 2.0.0, change from autools to cmake
2. Add a patch for fix package qa error
3. remove --with-build-date since 2.0.0 not support config build date
(From OE-Core rev: 83f206d68e9ae9ed21398f5cfde6f911065fbce6)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
initrd.cpio is created in initrd_dir, not in cr_workdir. Gzip will
let initrd.cpio uncompressed if the path is not found.
Also, grub_image variable doesn't exist, grub_src_image should
be used instead.
(From OE-Core rev: c88875b568a66297b1d3df380c590f20796c57f6)
Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only bsdcpio works with numbers for option -R to specify user:group,
while GNU cpio doesn't. Debian use GNU cpio so without this change,
you cannot create ISO images without installing bsdcpio.
(From OE-Core rev: 7c6ba368006ca94ecc0daac7b1c5e0fbe4236daf)
Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was causing issues with classes that use $bindir to find
already installed binaries in rootfs (manpages class in particular).
$bindir needs to be the same for all recipes.
(From OE-Core rev: 3d92bce5a8e021c03e509e8ee6ead064e97bfcec)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue: LIN1018-1797
At the point of the following failure, the file being checked, setgid,
is owned by "nobody" in the "nogroup" and tries to inherit SGID from
its parent directory who is in group of "bin". This is forbidden since
Linux kernel v4.18-rc4, unless current process is given CAP_FSETID
beforehand. See "Fix up non-directory creation in SGID directories" in
the kernel. The check in Block3 succeeds since it becomes root again
then.
creat08 3 TFAIL : creat08.c:368: testdir.B.1026/setgid: Incorrect modes, setgid bit should be set
creat08 4 TFAIL : creat08.c:376: Test failed in block2.
open10 3 TFAIL : open10.c:352: open10.testdir.B.1045/setgid: Incorrect modes, setgid bit not set
open10 4 TFAIL : open10.c:359: Test failed in block2.
open10 6 TFAIL : open10.c:443: Test failed because of above failures.
Backport a patch from upstream.
(From OE-Core rev: 5f3ab95b0ed964e08c65ae3159606f27485dbec7)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before this fix it is assumed that the removal of the
remote can only fail because there is not remote to remove. This
is a false assumption. Example error which would be ignored:
git -c core.fsyncobjectfiles=0 remote rm origin failed with exit code 1, output:
Note: A branch outside the refs/remotes/ hierarchy was not removed;
to delete it, use:
git branch -d master
error: could not lock config file config
error: Could not remove config section 'remote.origin'
Due to the masking of this error a stranger error will be
presented to the user, because this time we do not mask the
exception:
git -c core.fsyncobjectfiles=0 remote add --mirror=fetch origin https://github.com/ptsneves/tl-wn722.git failed with exit code 128, output:
fatal: remote origin already exists.
The most likely reason that the remote cannot be removed nor
modified is that the DL_DIR/git2 does not have permissions
compatible with the user running bitbake.
This commit fixes:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12728
(Bitbake rev: 9c86c582a10c9b23abad7d34b6cbf12f7086294d)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the ability to select an existing build directory into Toaster.
This opens to the user the backend features of 12823, for command line
user compatibility.
Enable the ability to select saving Toaster settings in the regular
"bblayers.conf" and "local.conf" instead of the default
"toaster_bblayers.conf" and "toaster.conf". This opens to the user the
backend features of 12821, for command line user compatibility.
[YOCTO #12902]
(Bitbake rev: 8ce51fbd92ab42365a38e0c1c260bb4979377a89)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The local layer info (provided through custom fixtures) should
not be hidden. It is better to handle it in the same manner
as an imported layer, otherwise the layer path and dependency
info is not shown. The layer editing fields are handled in the
html side of things appropriately so this does not harm that
implementation.
[YOCTO #12891]
(Bitbake rev: aa79967920b2617ce007f66c89f3343f1a7f34b4)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a case where the layer source is local only and the recipe
is not yet built, we can search for the path with layer's
local_source_dir, and if available that should be used rather
than just skipping the scenario.
[YOCTO #12891]
(Bitbake rev: 59f3e04122fca43835603779ac2d201464fbaebf)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows the CUSTOM_XML_ONLY toaster setting to be
provided through the environment so the user can do this without
mingling with the settings.xml, for scenarios where modifying
settings.xml is not achievable.
[YOCTO #12891]
(Bitbake rev: 55333f1c3ded1c53120e6cb32b440cc707521e2b)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The release drop down divs are not being closed
appropriately, which showed adverse reactions on
the UI that aligned the "Create project" button
with the left edge of the screen without any
margins. This fixes these divs which in turn
aligns the button appropriately.
[YOCTO #12891]
(Bitbake rev: a6e20bddddd083fbecb5ed8d5f4824da640fdd44)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There can be cases where the variables being used
to divide in build percentage expressions can be
zero. For example, a setup consisting of only local
repos will have repos_to_clone=0 and will generate
a divide by zero scenario.
Fix this by checking the divisor in such cases.
[YOCTO #12891]
(Bitbake rev: 679c70aa32d23e9247f8a68efcb579ad733af84b)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TOASTER_DIR is used for higher level toaster artifacts
such the SQL DB and creating toaster internal build
directories for projects. Prior to this change it was
evaluated as `dirname $BUILDDIR` and user had no control
over it. This change allows to override this variable
from the command line for more flexibility. The variable
defaults to its original setting if the optional argument
is not passed.
[YOCTO #12891]
(Bitbake rev: e073775d3b6980fc8004ae28a3ccc3c5bbf50fb2)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current mechanism for finding the bitbake binary
assumes a directory structure which is identical to
poky, where oe-core's meta and bitbake directories are
at the same level. There can be a case where bitbake
is used from elsewhere and in such cases the above
mentioned assumption fails to hold, whereas this is
totally allowed by the oe-init-build-env script which
can take bitbakedir as an argument.
The better approach is to allow bitbake to be derived
from PATH, while keeping the older mechanism in place so
it can be removed after tests are done in various
environments. This makes more sense as toaster has
also been launched from the same bitbake instance
that is the one in PATH.
[YOCTO #12891]
(Bitbake rev: 365d8d94ae3e4e0f95e0806dbcb7c77c20a55d2d)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster depends on pokydirname for identifying the location of
the oe-init-build-env script (and there might be other purposes
in the future). The problem with current approach is that it
only checks/sets the variable with git based repos, whereas
toaster provides mechanisms to allow having layers that are all
locally available. The evaluation of the variable fails in such
scenarios, so use a more flexible mechanism in this case and
try to locate poky in the local layers as well, if not already
set.
[YOCTO #12891]
(Bitbake rev: 6c3c196b28603591371ec7e62871fbb4296f2c71)
Signed-off-by: Awais Belal <awais.belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump the kernel to v4.18 for all the boards in meta-yocto-bsp layer.
(From meta-yocto rev: 1e672581cc3fc695570f1ae9f951efbe4b05733a)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-wrote section to provide more accurate step-by-step
instructions.
(From yocto-docs rev: dd1b5918d32b6272100fb59562de37f9a191e7ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A task or package can only depend on a task... not a task
or package.
(From yocto-docs rev: 63f14e131ebf2bb8379a07f8958bf69a06af1124)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Added qualifying text indicating that you can build images or
packages. In other words, the multiconfig does not necessarily
have to be an image. It can be a package as well.
* Added qualifying text describing that it is not a requirement
to have separate TMPDIRs for each multiconfig. I used a build
for two multiconfigs of "qemux86" for different DISTROs as
a case.
(From yocto-docs rev: 6e5ed0d1ab305c3382fea55fc1a2deaac0b7d518)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some edits for clarity and fixes to the procedures regarding
the DOWNLOADS page.
(From yocto-docs rev: 98ee61f7797c9352a1eff060b98a3e2e74a1da6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrote the section on setting up and executing multi-config builds.
Broke the section into two sub-sections. One is for the standard
information that was there for setting up a multi-config build. A
new section was for the cross-build dependencies in multi-config
builds.
Part of the re-write included creating a new figure that shows
the configuration file hierarchy needed for these types of builds.
So, new figure added to both the dev-manual and the mega-manual
figures directories.
Finally, the Makefile needed updated to account for the new figures.
(From yocto-docs rev: dc158e97c216aa6e7fa3755164409d581f8569c5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the section heading in the dev-manual for building images for
multiple targets useing multiple configurations. This wording is
more accurate. I updated the link from the BBMULTI_CONFIG variable
description as well.
(From yocto-docs rev: 3b2f95c3c54bed7ab8b4673ba7a254d31bea811b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extract a general version of RPATH fix for libxml-parser-perl_2.44.bb
from
292471701 libxml-parser-perl: fix "...contains bad RPATH"
into cpan.bbclass to catch most errors reported by Khem Raj via
http://errors.yoctoproject.org/Errors/Build/66538/
Genrally, Perl 5 toolchain deals with cross-compile sysroots
as if a dependency is installed at an exostic place on a server.
This issue needs to be addressed wider into the community.
(From OE-Core rev: a5439ff9627d309f6980947f5ee573d85e672228)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak recipe selftest-hardlink
- addition of libexecdir to simulate multiple directories
- add gdb.sh to run gdb from script which is invoked at test time.
- rename `hello' -> `hello1' to workaround name confliction with the one in lmbench
Add test_gdb_hardlink_debug to selftest/package
- run a qemu and invoke gdb.sh to gdb binaries of selftest-hardlink
- check gdb to read symbols from separated debug hardlink file
- check debug symbols works correctly
[Test without commit `package.bbclass: only one hardlink of separated debug info file in each directory']
2018-08-26 01:27:30,195 - oe-selftest - INFO - test_gdb_hardlink_debug (package.PackageTests)
2018-08-26 01:30:29,005 - oe-selftest - INFO - gdbtest /usr/bin/hello1
2018-08-26 01:30:36,539 - oe-selftest - INFO - gdbtest /usr/bin/hello2
2018-08-26 01:30:43,568 - oe-selftest - INFO - gdbtest /usr/libexec/hello3
2018-08-26 01:30:50,157 - oe-selftest - ERROR - No debugging symbols found. GDB result:
Reading symbols from /usr/libexec/hello3...(no debugging symbols found)...done.^M
(gdb) Function "main" not defined.^M
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]^M
(gdb) Starting program: /usr/libexec/hello3 ^M
Hello World!^M
[Inferior 1 (process 320) exited normally]^M
(gdb) The program is not being run.^M
(gdb)
2018-08-26 01:30:51,180 - oe-selftest - INFO - ... FAIL
2018-08-26 01:30:51,181 - oe-selftest - INFO - Traceback (most recent call last):
File "oe-core/meta/lib/oeqa/selftest/cases/package.py", line 148, in test_gdb_hardlink_debug
self.fail('GDB %s failed' % binary)
AssertionError: GDB /usr/libexec/hello3 failed
[Test without commit `package.bbclass: only one hardlink of separated debug info file in each directory']
[Test with commit `package.bbclass: only one hardlink of separated debug info file in each directory']
2018-08-26 12:40:30,976 - oe-selftest - INFO - test_gdb_hardlink_debug (package.PackageTests)
2018-08-26 12:42:15,149 - oe-selftest - INFO - gdbtest /usr/bin/hello1
2018-08-26 12:42:24,064 - oe-selftest - INFO - gdbtest /usr/bin/hello2
2018-08-26 12:42:31,078 - oe-selftest - INFO - gdbtest /usr/libexec/hello3
2018-08-26 12:42:38,646 - oe-selftest - INFO - gdbtest /usr/libexec/hello4
2018-08-26 12:42:46,824 - oe-selftest - INFO - ... ok
[Test with commit `package.bbclass: only one hardlink of separated debug info file in each directory']
(From OE-Core rev: 104d07e57488f4a414fb5e1f60d0c8b0c02d6b4d)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.18 is replacing 4.15 as the latest kernel in the upcoming
release, so we update our preferred versions to match.
(From OE-Core rev: e12f9e7ede7eea408d6a97233c7c8df97e8bfb26)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the 4.18 headers to match the newest kernel that will
be part of the release.
4.18 brings a requirement on bison-native to the libc-headers, since
it is required as part of the configuration steps.
We also tweak the license md5sum, since the kernel now includes SPDX
headers in the license file and that changes our sum.
(From OE-Core rev: c36a5e21b711cd577a2186a5267d46bb4323acc1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introducing the 4.18 kernel as the 'newest' kernel for the oe core
release.
This update includes tweaked configs, carried forward BSPs, features
(aufs, yaffs2, preempt-rt) and has been tested on all arches for boot
and performance sanity.
(From OE-Core rev: e08069b6855ba8cc3ef3c6e704f08f9259d77330)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding two new configuration blocks/features to the 4.14+ kernel
variants.
One is for enabling selftest options, and the other is a collection
of kernel security/hardening configs.
(From OE-Core rev: 8a0c315d21bb6783b55ecc73ec48274da0ceff43)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integratign the korg -stable updates that comprise the following
commits:
1aa1166eface Linux 4.14.62
7d29fb53439c jfs: Fix inconsistency between memory allocation and ea_buf->max_size
59f35b983e8a xfs: don't call xfs_da_shrink_inode with NULL bp
6f021e4ef39a xfs: validate cached inodes are free when allocated
27c41b170183 xfs: catch inode allocation state mismatch corruption
a34399927da1 intel_idle: Graceful probe failure when MWAIT is disabled
d626ac9669f2 nvmet-fc: fix target sgl list on large transfers
4af9c61ad953 nvme-pci: Fix queue double allocations
12c058df8272 nvme-pci: allocate device queues storage space at probe
0ea7fcfc7fe6 Btrfs: fix file data corruption after cloning a range and fsync
ea464580fef7 i2c: imx: Fix reinit_completion() use
60baabc37bc1 ring_buffer: tracing: Inherit the tracing setting to next ring buffer
ff28e5cc58c2 ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle
dd69abaccbf7 ext4: fix false negatives *and* false positives in ext4_check_descriptors()
09901e570c9e netlink: Don't shift on 64 for ngroups
2d898915ccf4 nohz: Fix missing tick reprogram when interrupting an inline softirq
e5bcbedadfd9 nohz: Fix local_timer_softirq_pending()
a6d9dacf4e44 genirq: Make force irq threading setup more robust
a96feef5b071 scsi: qla2xxx: Return error when TMF returns
f70766f1338d scsi: qla2xxx: Fix ISP recovery on unload
01cda405c88b scsi: qla2xxx: Fix NPIV deletion by calling wait_for_sess_deletion
43d7c954b22e scsi: qla2xxx: Fix unintialized List head crash
2ae6c0413b47 Linux 4.14.61
b4653a3ea3d7 scsi: sg: fix minor memory leak in error path
1a08888316d2 drm/vc4: Reset ->{x, y}_scaling[1] when dealing with uniplanar formats
51ef850c78bb crypto: padlock-aes - Fix Nano workaround data corruption
65be9cbe1224 RDMA/uverbs: Expand primary and alt AV port checks
4aa0acf29064 iwlwifi: add more card IDs for 9000 series
0eba9f5d3d48 userfaultfd: remove uffd flags from vma->vm_flags if UFFD_EVENT_FORK fails
a1b5bcffe4a4 audit: fix potential null dereference 'context->module.name'
e5a16c6a6707 kvm: x86: vmx: fix vpid leak
c1a29c2d00c6 x86/entry/64: Remove %ebx handling from error_entry/exit
7cf6b325f554 x86/apic: Future-proof the TSC_DEADLINE quirk for SKX
34a938cd3ad4 virtio_balloon: fix another race between migration and ballooning
45c8178cf69e net: socket: fix potential spectre v1 gadget in socketcall
c8159f9a1ae9 can: ems_usb: Fix memory leak on ems_usb_disconnect()
e7de67165efe squashfs: more metadata hardenings
953f918d548b squashfs: more metadata hardening
a766ccbf1d29 net/mlx5e: E-Switch, Initialize eswitch only if eswitch manager
e0638b6a054c rxrpc: Fix user call ID check in rxrpc_service_prealloc_one
83a46456c983 net: stmmac: Fix WoL for PCI-based setups
1828cb3d10d9 netlink: Fix spectre v1 gadget in netlink_create()
bcbdea137159 net: dsa: Do not suspend/resume closed slave_dev
8721f3608945 ipv4: frags: handle possible skb truesize change
fc63057d5fda inet: frag: enforce memory limits earlier
dc8edd08cd89 bonding: avoid lockdep confusion in bond_get_stats()
deaacd62c217 Linux 4.14.60
0a2f6725115d tcp: add one more quick ack after after ECN events
1f04d750f668 tcp: refactor tcp_ecn_check_ce to remove sk type cast
fd31083cbe05 tcp: do not aggressively quick ack after ECN events
1c005489fa98 tcp: add max_quickacks param to tcp_incr_quickack and tcp_enter_quickack_mode
5a1baf194475 tcp: do not force quickack when receiving out-of-order packets
fffd3058eaf4 netlink: Don't shift with UB on nlk->ngroups
e208cda5f10e netlink: Do not subscribe to non-existent groups
da970765b24c xen-netfront: wait xenbus state change when load module manually
7309441887f6 tcp_bbr: fix bw probing to raise in-flight data for very small BDPs
7f36a065963a NET: stmmac: align DMA stuff to largest cache line length
e071e2fdf45e net: mdio-mux: bcm-iproc: fix wrong getter and setter pair
ccdbe7e2374a net: lan78xx: fix rx handling before first packet is send
112e80ac8285 net: fix amd-xgbe flow-control issue
11b694387ab4 net: ena: Fix use of uninitialized DMA address bits field
1494a3a70ce0 ipv4: remove BUG_ON() from fib_compute_spec_dst
20556dc7f239 net: dsa: qca8k: Allow overwriting CPU port setting
2eda475b0849 net: dsa: qca8k: Add QCA8334 binding documentation
1fbc97b32b7e net: dsa: qca8k: Enable RXMAC when bringing up a port
62310e69f1ae net: dsa: qca8k: Force CPU port to its highest bandwidth
a61b3378b847 RDMA/uverbs: Protect from attempts to create flows on unsupported QP
b8e9dd160ca3 usb: gadget: udc: renesas_usb3: should remove debugfs
6aaaca7b81e4 ovl: Sync upper dirty data when syncing overlayfs
21b5b5e80bcf PCI: xgene: Remove leftover pci_scan_child_bus() call
011626d61a43 PCI: pciehp: Assume NoCompl+ for Thunderbolt ports
f547aa20b4f6 ext4: fix check to prevent initializing reserved inodes
dc1b4b710fbe ext4: check for allocation block validity with block group locked
cdcbe750acd6 ext4: fix inline data updates with checksums enabled
961f9feb4332 squashfs: be more careful about metadata corruption
af41fd042fc1 random: mix rdrand with entropy sent in from userspace
b8088c524ae2 block: reset bi_iter.bi_done after splitting bio
cc5d7097ba8f blkdev: __blkdev_direct_IO_simple: fix leak in error case
2258351cf086 block: bio_iov_iter_get_pages: fix size of last iovec
2488689fe468 drm/dp/mst: Fix off-by-one typo when dump payload table
2aa0e652bce1 drm/atomic-helper: Drop plane->fb references only for drm_atomic_helper_shutdown()
20f01a1b7b6d drm: Add DP PSR2 sink enable bit
a2fdb85a15eb ASoC: topology: Add missing clock gating parameter when parsing hw_configs
b754906cd9c9 ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()
e1d4f1e2856e media: si470x: fix __be16 annotations
98121d665d93 media: atomisp: compat32: fix __user annotations
a5ed99bc6f59 scsi: cxlflash: Avoid clobbering context control register value
bb7cccb01c84 scsi: cxlflash: Synchronize reset and remove ops
07b2a0d00183 scsi: megaraid_sas: Increase timeout by 1 sec for non-RAID fastpath IOs
0b45eb5a340d scsi: scsi_dh: replace too broad "TP9" string with the exact models
fb2b60e27a16 regulator: Don't return or expect -errno from of_map_mode()
4886bf00337f media: omap3isp: fix unbalanced dma_iommu_mapping
09740f513e3f crypto: authenc - don't leak pointers to authenc keys
a07fc8dd2bd4 crypto: authencesn - don't leak pointers to authenc keys
f17d397bfed4 usb: hub: Don't wait for connect state at resume for powered-off ports
d136b7ab24b8 microblaze: Fix simpleImage format generation
6cfd0d3c627f soc: imx: gpcv2: Do not pass static memory as platform data
62079c8371aa serial: core: Make sure compiler barfs for 16-byte earlycon names
41e1f1feee06 staging: lustre: ldlm: free resource when ldlm_lock_create() fails.
e906355a7f96 staging: lustre: llite: correct removexattr detection
fea5a0d87816 staging: vchiq_core: Fix missing semaphore release in error case
06d6d1ad241d audit: allow not equal op for audit by executable
e7cb8f11f6e2 rsi: fix nommu_map_sg overflow kernel panic
0be8aa812cef rsi: Fix 'invalid vdd' warning in mmc
e660508795d6 ipconfig: Correctly initialise ic_nameservers
18a48a7a4418 drm/gma500: fix psb_intel_lvds_mode_valid()'s return type
75d1087174d2 igb: Fix queue selection on MAC filters on i210
c7ab132d7e3d arm64: defconfig: Enable Rockchip io-domain driver
2ee4fbcd27f9 nvme: lightnvm: add granby support
503f22cf7b2a memory: tegra: Apply interrupts mask per SoC
9746d3696de9 memory: tegra: Do not handle spurious interrupts
c06f5a018f71 delayacct: Use raw_spinlocks
da2b62c740de stop_machine: Use raw spinlocks
4531135811a5 backlight: pwm_bl: Don't use GPIOF_* with gpiod_get_direction
232703c9091f dt-bindings: net: meson-dwmac: new compatible name for AXG SoC
c3b540c06954 net: hns3: Fixes the out of bounds access in hclge_map_tqp
17b26041363f spi: meson-spicc: Fix error handling in meson_spicc_probe()
c9e5888ec8ae dt-bindings: pinctrl: meson: add support for the Meson8m2 SoC
d6ce4f1bf79a mmc: pwrseq: Use kmalloc_array instead of stack VLA
f0b0debbb49d mmc: dw_mmc: update actual clock for mmc debugfs
ab76f866c8f0 ALSA: hda/ca0132: fix build failure when a local macro is defined
c6f9830cfb47 drm/atomic: Handling the case when setting old crtc for plane
cf0061396910 media: siano: get rid of __le32/__le16 cast warnings
4bbf1ce3a1e3 f2fs: avoid fsync() failure caused by EAGAIN in writepage()
15239633dc55 bpf: fix references to free_bpf_prog_info() in comments
b62ed0bbbd63 thermal: exynos: fix setting rising_threshold for Exynos5433
66eb9942673a staging: lustre: o2iblnd: Fix FastReg map/unmap for MLX5
52a21fcafa71 staging: lustre: o2iblnd: fix race at kiblnd_connect_peer
de3da42dc775 scsi: qedf: Set the UNLOADING flag when removing a vport
ad1562ae8135 scsi: hisi_sas: config ATA de-reset as an constrained command for v3 hw
13e4e358b94c scsi: megaraid: silence a static checker bug
ca588ff3e7d6 scsi: 3w-xxxx: fix a missing-check bug
a0e86c016bb4 scsi: 3w-9xxx: fix a missing-check bug
112f47373e36 bnxt_en: Check unsupported speeds in bnxt_update_link() on PF only.
c9b5d1519c24 perf: fix invalid bit in diagnostic entry
d5d8223d7c67 s390/cpum_sf: Add data entry sizes to sampling trailer entry
af5e8846a5e9 brcmfmac: Add support for bcm43364 wireless chipset
59d9b120600d mtd: rawnand: fsl_ifc: fix FSL NAND driver to read all ONFI parameter pages
d49f8498042a media: saa7164: Fix driver name in debug output
f3766ad7d325 media: media-device: fix ioctl function types
ce222fb1256b ACPI / LPSS: Only call pwm_add_table() for Bay Trail PWM if PMIC HRV is 2
885d2128ab7f libata: Fix command retry decision
adf9ceabfc16 media: rcar_jpu: Add missing clk_disable_unprepare() on error in jpu_open()
240bc678f726 net: phy: phylink: Release link GPIO
fa57e8d54494 dma-iommu: Fix compilation when !CONFIG_IOMMU_DMA
deb1feaad03a tty: Fix data race in tty_insert_flip_string_fixed_flag
731b918a624c i40e: free the skb after clearing the bitlock
6fdc5235693b nvmem: properly handle returned value nvmem_reg_read
901366594729 ARM: dts: sh73a0: Add missing interrupt-affinity to PMU node
9c552c4e262f ARM: dts: emev2: Add missing interrupt-affinity to PMU node
b565e4e9dd09 ARM: dts: stih407-pinctrl: Fix complain about IRQ_TYPE_NONE usage
d7ed9da96a8a EDAC, altera: Fix ARM64 build warning
d0eca5d32b11 HID: i2c-hid: check if device is there before really probing
83eef34c65f1 powerpc/embedded6xx/hlwd-pic: Prevent interrupts from being handled by Starlet
b42848b2a819 drm/amdgpu: Remove VRAM from shared bo domains.
14bedc05ab2d drm/radeon: fix mode_valid's return type
3ee32f73fc72 arm64: dts: renesas: salvator-common: use audio-graph-card for Sound
d85073283aa7 HID: hid-plantronics: Re-resend Update to map button for PTT products
6a43d5a3ca6c arm64: cmpwait: Clear event register before arming exclusive monitor
62a87c8759f2 media: atomisp: ov2680: don't declare unused vars
25436aa5c184 ALSA: usb-audio: Apply rate limit to warning messages in URB complete callback
d239ee35ddb2 net: ethernet: ti: cpsw-phy-sel: check bus_find_device() ret value
0bd08027bd19 media: smiapp: fix timeout checking in smiapp_read_nvm
41b16e6ec6a8 ixgbevf: fix MAC address changes through ixgbevf_set_mac()
7627ecfc4902 md: fix NULL dereference of mddev->pers in remove_and_add_spares()
1b3433cfa222 md/raid1: add error handling of read error from FailFast device
6192b115c58b regulator: pfuze100: add .is_enable() for pfuze100_swb_regulator_ops
9b56c4151ac2 ALSA: emu10k1: Rate-limit error messages about page errors
9f25b548732c rtc: tps65910: fix possible race condition
8f5e7596fe3a rtc: vr41xx: fix possible race condition
aca6728fa1ed rtc: tps6586x: fix possible race condition
192591ade6ec Bluetooth: btusb: add ID for LiteOn 04ca:301a
33775b07426b drm/nouveau/fifo/gk104-: poll for runlist update completion
fdb5207dc1f1 scsi: zfcp: assert that the ERP lock is held when tracing a recovery trigger
b095b5888eab scsi: ufs: fix exception event handling
c9f744135ad7 scsi: ufs: ufshcd: fix possible unclocked register access
63c7e58dab1e fscrypt: use unbound workqueue for decryption
1d6908ce90b5 net: hns3: Fix the missing client list node initialization
625d1e783375 spi: Add missing pm_runtime_put_noidle() after failed get
d0a963cf845c drivers/perf: arm-ccn: don't log to dmesg in event_init
cffbdb7702ba ima: based on policy verify firmware signatures (pre-allocated buffer)
945e6ce33d80 mwifiex: correct histogram data with appropriate index
a30ff89c34b8 net: dsa: qca8k: Add support for QCA8334 switch
082900a6d567 PCI: pciehp: Request control of native hotplug only if supported
39da0cf774db bpf: powerpc64: pad function address loads with NOPs
cf957ba7c6e8 pinctrl: at91-pio4: add missing of_node_put
210807e92b49 powerpc/8xx: fix invalid register expression in head_8xx.S
56a58a5395ab spi: sh-msiof: Fix setting SIRMDR1.SYNCAC to match SITMDR1.SYNCAC
7eda31872980 powerpc: Add __printf verification to prom_printf
566be4969b83 powerpc/powermac: Mark variable x as unused
d26f8af1a126 powerpc/powermac: Add missing prototype for note_bootable_part()
ee8c480702a6 powerpc/chrp/time: Make some functions static, add missing header include
c0ff32b7e852 powerpc/32: Add a missing include header
935674605cf8 ath: Add regulatory mapping for Bahamas
936058197fbb ath: Add regulatory mapping for Bermuda
c4b93c91bb63 ath: Add regulatory mapping for Serbia
aafbcce424ec ath: Add regulatory mapping for Tanzania
5e895c9cb8ca ath: Add regulatory mapping for Uganda
3c51226005d9 ath: Add regulatory mapping for APL2_FCCA
cdd106451c6a ath: Add regulatory mapping for APL13_WORLD
f198926d6a40 ath: Add regulatory mapping for ETSI8_WORLD
be1c9763cbc7 ath: Add regulatory mapping for FCC3_ETSIC
1afb8720b694 nvme-pci: Fix AER reset handling
4bb1acf80c7f nvme-rdma: stop admin queue before freeing it
2040b0d8c9c0 PCI: Prevent sysfs disable of device while driver is attached
d93663a78783 PM / wakeup: Make s2idle_lock a RAW_SPINLOCK
652b94b72696 x86/microcode: Make the late update update_lock a raw lock for RT
2737a4adec5a btrfs: qgroup: Finish rescan when hit the last leaf of extent tree
31371d2dad49 btrfs: add barriers to btrfs_sync_log before log_commit_wait wakeups
3bf165384e82 Btrfs: don't BUG_ON() in btrfs_truncate_inode_items()
ef61d940cd96 Btrfs: don't return ino to ino cache if inode item removal fails
9aecdc961e6a media: videobuf2-core: don't call memop 'finish' when queueing
b7ffc03574f8 media: tw686x: Fix incorrect vb2_mem_ops GFP flags
1a95962bf210 net: hns3: Fixes the init of the VALID BD info in the descriptor
6f8688bf299b wlcore: sdio: check for valid platform device data before suspend
852feed35dcd mwifiex: handle race during mwifiex_usb_disconnect
6648fdc71138 mfd: cros_ec: Fail early if we cannot identify the EC
3d4837733945 ASoC: dpcm: fix BE dai not hw_free and shutdown
5650a9be9635 Bluetooth: btusb: Add a new Realtek 8723DE ID 2ff8:b011
678e64c63217 Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning
73425f6ad6eb iwlwifi: pcie: fix race in Rx buffer allocator
59b837d5927c btrfs: balance dirty metadata pages in btrfs_finish_ordered_io
233cba023484 PCI: Fix devm_pci_alloc_host_bridge() memory leak
f559bb20c1ae selftests: intel_pstate: return Kselftest Skip code for skipped tests
4312c2df0b7b selftests: memfd: return Kselftest Skip code for skipped tests
9c8f3af66282 selftests/intel_pstate: Improve test, minor fixes
596a9bfe8190 perf/x86/intel/uncore: Correct fixed counter index check for NHM
71b1bf6e9753 perf/x86/intel/uncore: Correct fixed counter index check in generic code
38c8c0a9709d usbip: dynamically allocate idev by nports found in sysfs
bc30588b8e08 usbip: usbip_detach: Fix memory, udev context and udev leak
63019044fb89 block, bfq: remove wrong lock in bfq_requests_merged
67226fb52c23 f2fs: fix race in between GC and atomic open
ad8d61efc9b7 f2fs: fix to detect failure of dquot_initialize
c92d09e35d2d f2fs: Fix deadlock in shutdown ioctl
4f979af7b0ad f2fs: fix to wait page writeback during revoking atomic write
de13b2ac741f f2fs: fix to don't trigger writeback during recovery
f3f029197738 f2fs: fix error path of move_data_page
122031c29202 disable loading f2fs module on PAGE_SIZE > 4KB
1339e2b8eaea pnfs: Don't release the sequence slot until we've processed layoutget on open
20fc8b34c195 netfilter: nf_tables: check msg_type before nft_trans_set(trans)
4f5fd8a1ae16 lightnvm: pblk: warn in case of corrupted write buffer
929e1a3906e1 RDMA/mad: Convert BUG_ONs to error flows
a23e1da9773b powerpc/64s: Fix compiler store ordering to SLB shadow area
0aceed2d7ec1 hvc_opal: don't set tb_ticks_per_usec in udbg_init_opal_common()
bc0b4615cc97 powerpc/eeh: Fix use-after-release of EEH driver
04cda3ac3312 powerpc/64s: Add barrier_nospec
47b356145017 powerpc/lib: Adjust .balign inside string functions for PPC32
e27dad1eb1ac infiniband: fix a possible use-after-free bug
848f260301d0 e1000e: Ignore TSYNCRXCTL when getting I219 clock attributes
4c717e335ae1 ceph: fix alignment of rasize
cdad03c1f21e bpf, arm32: fix inconsistent naming about emit_a32_lsr_{r64,i64}
8dcf2dbf65ef printk: drop in_nmi check from printk_safe_flush_on_panic()
2f6a38b131ab watchdog: da9063: Fix updating timeout value
d90c9b07cb32 irqchip/ls-scfg-msi: Map MSIs in the iommu
ff60eda50453 netfilter: ipset: List timing out entries with "timeout 1" instead of zero
52f072f580e4 netfilter: ipset: forbid family for hash:mac sets
a47ece2b17c2 perf tools: Fix pmu events parsing rule
6a929b97b777 rtc: ensure rtc_set_alarm fails when alarms are not supported
191d00f8c872 mm/slub.c: add __printf verification to slab_err()
b9d1724cf618 mm: vmalloc: avoid racy handling of debugobjects in vunmap
9e1a1fc0cd9b mm: /proc/pid/pagemap: hide swap entries from unprivileged users
9691035cbf72 kernel/hung_task.c: show all hung tasks before panic
827faa4eb566 vfio/type1: Fix task tracking for QEMU vCPU hotplug
8f38152f2ae2 vfio/mdev: Check globally for duplicate devices
ca014df110e9 vfio: platform: Fix reset module leak in error path
5a47fe3efd4d nfsd: fix potential use-after-free in nfsd4_decode_getdeviceinfo
baad2bf44770 NFSv4.1: Fix the client behaviour on NFS4ERR_SEQ_FALSE_RETRY
42b1df406a29 ALSA: fm801: add error handling for snd_ctl_add
40ff9a54dd9b ALSA: emu10k1: add error handling for snd_ctl_add
44a78f7d1757 skip LAYOUTRETURN if layout is invalid
0a84c912f575 hv_netvsc: fix network namespace issues with VF support
51b694070738 xen/netfront: raise max number of slots in xennet_get_responses()
a45f5ee6850b kcov: ensure irq code sees a valid area
73990abb1a04 mlxsw: spectrum_switchdev: Fix port_vlan refcounting
c1550e014135 arm64: fix vmemmap BUILD_BUG_ON() triggering on !vmemmap setups
4681e8820f99 tracing: Quiet gcc warning about maybe unused link variable
86428ec165ee tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure
f957456878eb kthread, tracing: Don't expose half-written comm when creating kthreads
10419b0c16d4 tracing: Fix possible double free in event_enable_trigger_func()
9158a7debe53 tracing: Fix double free of event_trigger_data
a2f85c02810f delayacct: fix crash in delayacct_blkio_end() after delayacct init failure
8eead4f5dea9 kvm, mm: account shadow page tables to kmemcg
ca6427facd96 Input: elan_i2c - add another ACPI ID for Lenovo Ideapad 330-15AST
e0e385e2126e Input: i8042 - add Lenovo LaVie Z to the i8042 reset list
b4667635de2e Input: elan_i2c - add ACPI ID for lenovo ideapad 330
c09032b71fc6 spi: spi-s3c64xx: Fix system resume support
e581f7c590cc drivers/infiniband/ulp/srpt/ib_srpt.c: fix build with gcc-4.4.4
1e8bb2e9c9df IB/srpt: Fix an out-of-bounds stack access in srpt_zerolength_write()
d02c9c8bfef1 drivers/infiniband/core/verbs.c: fix build with gcc-4.4.4
3af618717e71 RDMA/core: Avoid that ib_drain_qp() triggers an out-of-bounds stack access
c0b86d269bf0 i2c: core: decrease reference count of device node in i2c_unregister_device
2d5fc7ffa84b fork: unconditionally clear stack on fork
53208e12faa5 Linux 4.14.59
e94f784fddd5 turn off -Wattribute-alias
08382d3a1be2 can: m_can.c: fix setup of CCCR register: clear CCCR NISO bit before checking can.ctrlmode
a55d3d73d457 can: peak_canfd: fix firmware < v3.3.0: limit allocation to 32-bit DMA addr only
60454a9715df can: xilinx_can: fix RX overflow interrupt not being enabled
19c756e01b09 can: xilinx_can: fix incorrect clear of non-processed interrupts
189c7890f33b can: xilinx_can: keep only 1-2 frames in TX FIFO to fix TX accounting
96bf3257c866 can: xilinx_can: fix device dropping off bus on RX overrun
c5846b2fd57b can: xilinx_can: fix recovery from error states not being propagated
f820de2a08b6 can: xilinx_can: fix power management handling
464a3f9139f4 can: xilinx_can: fix RX loop if RXNEMP is asserted without RXOK
55cb8f40c8d7 driver core: Partially revert "driver core: correct device's shutdown order"
5421694d8cd7 usb: gadget: f_fs: Only return delayed status when len is 0
68fc92a0f391 usb: dwc2: Fix DMA alignment to start at allocated boundary
ac3f65c6b635 usb: core: handle hub C_PORT_OVER_CURRENT condition
e089c305af49 usb: cdc_acm: Add quirk for Castles VEGA3000
ab9489c4db89 staging: speakup: fix wraparound in uaccess length check
22e3d3178b18 tcp: add tcp_ooo_try_coalesce() helper
ec645ae62309 tcp: call tcp_drop() from tcp_data_queue_ofo()
6285a74a536f tcp: detect malicious patterns in tcp_collapse_ofo_queue()
81e6b01d1c10 tcp: avoid collapses in tcp_prune_queue() if possible
f3a5ba6310e1 tcp: free batches of packets in tcp_prune_ofo_queue()
ae70b6153197 tcp: do not delay ACK in DCTCP upon CE status change
78636179f6e6 tcp: do not cancel delay-AcK on DCTCP special ACK
f7f24b369383 tcp: helpers to send special DCTCP ack
68c9bdfc8b42 tcp: fix dctcp delayed ACK schedule
68974d0b9c86 vxlan: fix default fdb entry netlink notify ordering during netdev create
bb0335aacfdd vxlan: make netlink notify in vxlan_fdb_destroy optional
1c345a529258 vxlan: add new fdb alloc and create helpers
23557c5d34b9 rtnetlink: add rtnl_link_state check in rtnl_configure_link
464e2326a7f5 sock: fix sg page frag coalescing in sk_alloc_sg
50b464d33964 net: phy: consider PHY_IGNORE_INTERRUPT in phy_start_aneg_priv
46f9e1d0bd4e multicast: do not restore deleted record source filter mode to new one
6d5b7d68f45b net/ipv6: Fix linklocal to global address with VRF
047af2d8ced3 net/mlx5e: Fix quota counting in aRFS expire flow
c83cd44202b5 net/mlx5e: Don't allow aRFS for encapsulated packets
291d99ac4dc2 net/mlx5: Adjust clock overflow work period
f208fbad98fd net: skb_segment() should not return NULL
6e92f04a4fef net/mlx4_core: Save the qpn from the input modifier in RST2INIT wrapper
df20f746d68b ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull
c2ce657fd68c ip: hash fragments consistently
f1fb27fc256c bonding: set default miimon value for non-arp modes if not set
7e454c18b76f drm/nouveau: Set DRIVER_ATOMIC cap earlier to fix debugfs
d0bd2c70ffcb drm/nouveau/drm/nouveau: Fix runtime PM leak in nv50_disp_atomic_commit()
58113603a4ea KVM: PPC: Check if IOMMU page is contained in the pinned physical page
14500f14e0b6 xen/PVH: Set up GS segment for stack canary
de019e7857fb MIPS: Fix off-by-one in pci_resource_to_user()
4c686d73bc3e MIPS: ath79: fix register address in ath79_ddr_wb_flush()
4168a8422364 Revert "cifs: Fix slab-out-of-bounds in send_set_info() on SMB2 ACE setting"
f952480a8fc1 Linux 4.14.58
3fcc143edcdd xhci: Fix perceived dead host due to runtime suspend race with event handler
ff42682f21d7 powerpc/powernv: Fix save/restore of SPRG3 on entry/exit from stop (idle)
ea8a50e5f829 cxl_getfile(): fix double-iput() on alloc_file() failures
b12c7d0847e2 alpha: fix osf_wait4() breakage
78cdeb665fb1 net: usb: asix: replace mii_nway_restart in resume path
bbf9b1a46420 ipv6: make DAD fail with enhanced DAD when nonce length differs
7c14cf21867c net: systemport: Fix CRC forwarding check for SYSTEMPORT Lite
65851c6b6d6e net/mlx4_en: Don't reuse RX page when XDP is set
7e7fefde7dec hv_netvsc: Fix napi reschedule while receive completion is busy
c7daaa272dda tg3: Add higher cpu clock for 5762.
c84c7d8383c2 qmi_wwan: add support for Quectel EG91
294dc77bb75e ptp: fix missing break in switch
811ad4b366a6 net: phy: fix flag masking in __set_phy_supported
78382d78bb4a net/ipv4: Set oif in fib_compute_spec_dst
829f4fd66354 skbuff: Unconditionally copy pfmemalloc in __skb_clone()
6403b54a4f7e net: Don't copy pfmemalloc flag in __copy_skb_header()
cc0ab64759c8 net: diag: Don't double-free TCP_NEW_SYN_RECV sockets in tcp_abort
cfb876dc3042 lib/rhashtable: consider param->min_size when setting initial table size
9f7276ce825b ipv6: ila: select CONFIG_DST_CACHE
a5d33d38bd37 ipv6: fix useless rol32 call on hash
0348dcd98af3 ipv4: Return EINVAL when ping_group_range sysctl doesn't map to user ns
c8347d91cfd7 gen_stats: Fix netlink stats dumping in the presence of padding
dd1363ca743e drm/nouveau: Avoid looping through fake MST connectors
22c4488c8649 drm/nouveau: Use drm_connector_list_iter_* for iterating connectors
387362c3ed80 drm/i915: Fix hotplug irq ack on i965/g4x
d21fb63010c4 stop_machine: Disable preemption when waking two stopper threads
9a2e4a01ded2 vfio/spapr: Use IOMMU pageshift rather than pagesize
a5b8eae53672 vfio/pci: Fix potential Spectre v1
dfc328156dde cpufreq: intel_pstate: Register when ACPI PCCH is present
70ef1db1f21d mm/huge_memory.c: fix data loss when splitting a file pmd
be2657752e9e mm: memcg: fix use after free in mem_cgroup_iter()
95c58105bd97 ARC: mm: allow mprotect to make stack mappings executable
3c732b3ab3a5 ARC: configs: Remove CONFIG_INITRAMFS_SOURCE from defconfigs
13e5197d7ef6 ARC: Fix CONFIG_SWAP
edb5e3eeb14a ARCv2: [plat-hsdk]: Save accl reg pair by default
a82d4478337a ALSA: hda: add mute led support for HP ProBook 455 G5
feefc072d10d ALSA: hda/realtek - Add Panasonic CF-SZ6 headset jack quirk
5d251646ab15 ALSA: rawmidi: Change resized buffers atomically
321089a0aa35 fat: fix memory allocation failure handling of match_strdup()
1450a7c5da03 x86/MCE: Remove min interval polling limitation
aa49e48232ee x86/events/intel/ds: Fix bts_interrupt_threshold alignment
b4108288eab8 x86/apm: Don't access __preempt_count with zeroed fs
3a46a033bfa8 KVM/Eventfd: Avoid crash when assign and deassign specific eventfd in parallel.
763ccb4d1980 scsi: sd_zbc: Fix variable type and bogus comment
ecc160ece609 Linux 4.14.57
779128d80cb0 string: drop __must_check from strscpy() and restore strscpy() usages in cgroup
96fd60c8160c arm64: KVM: Add ARCH_WORKAROUND_2 discovery through ARCH_FEATURES_FUNC_ID
1b749f8a2416 arm64: KVM: Handle guest's ARCH_WORKAROUND_2 requests
805357aa65bb arm64: KVM: Add ARCH_WORKAROUND_2 support for guests
0592871918f0 arm64: KVM: Add HYP per-cpu accessors
b769d86ea9d4 arm64: ssbd: Add prctl interface for per-thread mitigation
e7d02797288f arm64: ssbd: Introduce thread flag to control userspace mitigation
c5c89bb4deb8 arm64: ssbd: Restore mitigation status on CPU resume
02e26bd9ad58 arm64: ssbd: Skip apply_ssbd if not using dynamic mitigation
8d6907af4583 arm64: ssbd: Add global mitigation state accessor
45808ab2f924 arm64: Add 'ssbd' command-line option
837c87c233c1 arm64: Add ARCH_WORKAROUND_2 probing
1bffd4869011 arm64: Add per-cpu infrastructure to call ARCH_WORKAROUND_2
5ad09d2abb5a arm64: Call ARCH_WORKAROUND_2 on transitions between EL0 and EL1
1de2719134b5 arm/arm64: smccc: Add SMCCC-specific return codes
2cdc2e62a6ac KVM: arm64: Avoid storing the vcpu pointer on the stack
dca7815605af KVM: arm/arm64: Do not use kern_hyp_va() with kvm_vgic_global_state
e77175fafa7d arm64: alternatives: Add dynamic patching feature
286950e0831b KVM: arm64: Stop save/restoring host tpidr_el1 on VHE
0dac9f10d952 arm64: alternatives: use tpidr_el2 on VHE hosts
6256b86e8519 KVM: arm64: Change hyp_panic()s dependency on tpidr_el2
8ad56472d67c KVM: arm/arm64: Convert kvm_host_cpu_state to a static per-cpu allocation
ed812b882599 KVM: arm64: Store vcpu on the stack during __guest_enter()
115df2a7c5ba net/nfc: Avoid stalls when nfc_alloc_send_skb() returned NULL.
a4b57440d971 rds: avoid unenecessary cong_update in loop transport
1bbe05e27af1 bdi: Fix another oops in wb_workfn()
28c74ff85efd netfilter: ipv6: nf_defrag: drop skb dst before queueing
b124e97f3ef5 nsh: set mac len based on inner packet
00235ab80007 autofs: fix slab out of bounds read in getname_kernel()
30a7a7b04f8b tls: Stricter error checking in zerocopy sendmsg path
d9bb71d76c07 KEYS: DNS: fix parsing multiple options
cba5008502f2 reiserfs: fix buffer overflow with long warning messages
766a7ad6639b netfilter: ebtables: reject non-bridge targets
b5199c61e95c PCI: hv: Disable/enable IRQs rather than BH in hv_compose_msi_msg()
aa6be396714c block: do not use interruptible wait anywhere
f1059632a4fc mtd: rawnand: denali_dt: set clk_x_rate to 200 MHz unconditionally
c4bfed85bae8 crypto: af_alg - Initialize sg_num_bytes in error code path
16b3ae12337e clocksource: Initialize cs->wd_list
a406abeb7416 media: rc: oops in ir_timer_keyup after device unplug
67f7c68a9085 xhci: Fix USB3 NULL pointer dereference at logical disconnect.
2be27d444f61 net: lan78xx: Fix race in tx pending skb size calculation
12c0949a0745 rtlwifi: rtl8821ae: fix firmware is not ready to run
ee8d2e719c1e rtlwifi: Fix kernel Oops "Fw download fail!!"
3caea5150c15 net: cxgb3_main: fix potential Spectre v1
d8530e891edd VSOCK: fix loopback on big-endian systems
7eba6537c3d1 vhost_net: validate sock before trying to put its fd
2dc4696ee6d9 tcp: prevent bogus FRTO undos with non-SACK flows
3373d6d056d7 tcp: fix Fast Open key endianness
4f5f7bce308e strparser: Remove early eaten to fix full tcp receive buffer stall
32761addd300 stmmac: fix DMA channel hang in half-duplex mode
5e90946baa57 r8152: napi hangup fix after disconnect
d8c1603d0bb4 qmi_wwan: add support for the Dell Wireless 5821e module
dd537828bf73 qed: Limit msix vectors in kdump kernel to the minimum required count.
023a2043bc8a qed: Fix use of incorrect size in memcpy call.
4c2849931b23 qed: Fix setting of incorrect eswitch mode.
d725fde81ffc qede: Adverstise software timestamp caps when PHC is not available.
35e324ebeee0 net/tcp: Fix socket lookups with SO_BINDTODEVICE
b3c66b54d8fe net: sungem: fix rx checksum support
b36f997add36 net_sched: blackhole: tell upper qdisc about dropped packets
5e6b4b9b28b7 net/packet: fix use-after-free
ddbbd3e05743 net: mvneta: fix the Rx desc DMA address in the Rx path
7ae129dd6778 net/mlx5: Fix wrong size allocation for QoS ETC TC regitster
46ff2bc7aeb1 net/mlx5: Fix required capability for manipulating MPFS
8b7b5f76693c net/mlx5: Fix incorrect raw command length parsing
075b50381248 net/mlx5: Fix command interface race in polling mode
c3994f4f8bda net/mlx5: E-Switch, Avoid setup attempt if not being e-switch manager
b216867c02ac net/mlx5e: Don't attempt to dereference the ppriv struct if not being eswitch manager
1d8dda4444fa net/mlx5e: Avoid dealing with vport representors if not being e-switch manager
f389c17b8dc5 net: macb: Fix ptp time adjustment for large negative delta
b364a914c499 net: fix use-after-free in GRO with ESP
fb6b14663d56 net: dccp: switch rx_tstamp_last_feedback to monotonic clock
a3225a836e56 net: dccp: avoid crash in ccid3_hc_rx_send_feedback()
a2e53d69f685 ixgbe: split XDP_TX tail and XDP_REDIRECT map flushing
f5a42d63f0d4 ipvlan: fix IFLA_MTU ignored on NEWLINK
d10c0baaae3f ipv6: sr: fix passing wrong flags to crypto_alloc_shash()
e34e92d8b689 hv_netvsc: split sub-channel setup into async and sync
43c9207d0296 atm: zatm: Fix potential Spectre v1
f93d65939a4a atm: Preserve value of skb->truesize when accounting to vcc
c62e2f087af1 alx: take rtnl before calling __alx_open from resume
03bb9187754e crypto: crypto4xx - fix crypto4xx_build_pdr, crypto4xx_build_sdr leak
996a6a393b3f crypto: crypto4xx - remove bad list_del
dc3782a3e9c6 PCI: exynos: Fix a potential init_clk_resources NULL pointer dereference
b1c3ce0cfff2 bcm63xx_enet: do not write to random DMA channel on BCM6345
b913a05ab75e bcm63xx_enet: correct clock usage
1ccab2bf726e ocfs2: ip_alloc_sem should be taken in ocfs2_get_block()
c59a8f13f36b ocfs2: subsystem.su_mutex is required while accessing the item->ci_parent
f5778c2d657e xprtrdma: Fix corner cases when handling device removal
1083a7e8130c cpufreq / CPPC: Set platform specific transition_delay_us
61a9f6b7fe0c Btrfs: fix duplicate extents after fsync of file with prealloc extents
edefb935700c x86/paravirt: Make native_save_fl() extern inline
92e50158fc0a x86/asm: Add _ASM_ARG* constants for argument registers to <asm/asm.h>
779145a6f6ec compiler-gcc.h: Add __attribute__((gnu_inline)) to all inline declarations
cff26c95b24c Linux 4.14.56
eab3a3412215 f2fs: give message and set need_fsck given broken node id
d2c18ad18cc7 loop: remember whether sysfs_create_group() was done
e8484443c9db RDMA/ucm: Mark UCM interface as BROKEN
140eae92cf70 PM / hibernate: Fix oops at snapshot_write()
6f9f5797fc7d loop: add recursion validation to LOOP_CHANGE_FD
348b32aa3a37 netfilter: x_tables: initialise match/target check parameter struct
e5ee20c65b34 netfilter: nf_queue: augment nfqa_cfg_policy
0032322689bb uprobes/x86: Remove incorrect WARN_ON() in uprobe_init_insn()
19f39eff68b4 crypto: x86/salsa20 - remove x86 salsa20 implementations
2a017ea2ea14 nvme-pci: Remap CMB SQ entries on every controller reset
54ca2776fcca xen: setup pv irq ops vector earlier
f47f1f976745 iw_cxgb4: correctly enforce the max reg_mr depth
33beaca902a6 i2c: tegra: Fix NACK error handling
ac5270d4bd46 IB/hfi1: Fix incorrect mixing of ERR_PTR and NULL return values
e61f8cb63ede tools build: fix # escaping in .cmd files for future Make
d8148f732748 arm64: neon: Fix function may_use_simd() return error status
324881805629 kbuild: delete INSTALL_FW_PATH from kbuild documentation
36244e3a60cf tracing: Reorder display of TGID to be after PID
81ebc9decd16 mm: do not bug_on on incorrect length in __mm_populate()
ff62981880d1 fs, elf: make sure to page align bss in load_elf_library
e6f011384c92 fs/proc/task_mmu.c: fix Locked field in /proc/pid/smaps*
684a2d8ed53f mm: do not drop unused pages when userfaultd is running
f329f46764b1 ALSA: hda - Handle pm failure during hotplug
11c6be539e1a ALSA: hda/realtek - two more lenovo models need fixup of MIC_LOCATION
e58114824fa6 scsi: megaraid_sas: fix selection of reply queue
c3aa570dd539 scsi: megaraid_sas: Create separate functions to allocate ctrl memory
fda0eab89ccf scsi: megaraid_sas: replace is_ventura with adapter_type checks
90229163fa6c scsi: megaraid_sas: replace instance->ctrl_context checks with instance->adapter_type
d7e6dcdaa3ea scsi: megaraid_sas: use adapter_type for all gen controllers
ef86f3a72adb genirq/affinity: assign vectors to all possible CPUs
298243a5fb64 Fix up non-directory creation in SGID directories
a6d26649fda0 devpts: resolve devpts bind-mounts
cd360be6488c devpts: hoist out check for DEVPTS_SUPER_MAGIC
7499390b8ba5 xhci: xhci-mem: off by one in xhci_stream_id_to_ring()
55f51e5b4cff usb: quirks: add delay quirks for Corsair Strafe
82b9cb4d3f06 USB: serial: mos7840: fix status-register error handling
90f2a76ccd37 USB: yurex: fix out-of-bounds uaccess in read handler
f24b02c3a081 USB: serial: keyspan_pda: fix modem-status error handling
7aa69d8f50be USB: serial: cp210x: add another USB ID for Qivicon ZigBee stick
7ce4add980f5 USB: serial: ch341: fix type promotion bug in ch341_control_in()
1fb3563fac7e ahci: Disable LPM on Lenovo 50 series laptops with a too old BIOS
1e39eb1bb1c0 vmw_balloon: fix inflation with batching
33b9257a64fe ata: Fix ZBC_OUT all bit handling
aae31a169efb ata: Fix ZBC_OUT command block check
a3bb42c1bc6c staging: r8822be: Fix RTL8822be can't find any wireless AP
e5bb39faedd7 staging: rtl8723bs: Prevent an underflow in rtw_check_beacon_data().
908bfe10dd14 ibmasm: don't write out of bounds in read handler
ccb242ec5020 mmc: dw_mmc: fix card threshold control configuration
2c9fa8ff7045 mmc: sdhci-esdhc-imx: allow 1.8V modes without 100/200MHz pinctrl states
6fce06b68b44 MIPS: Fix ioremap() RAM check
0818c44b8df7 MIPS: Use async IPIs for arch_trigger_cpumask_backtrace()
14ab9902422c MIPS: Call dump_stack() from show_regs()
77f738e84293 ASoC: mediatek: preallocate pages use platform device
99ebaf4f43dd media: rc: mce_kbd decoder: fix stuck keys
1e92e813554a Linux 4.14.55
b3ef356a096e Revert mm/vmstat.c: fix vmstat_update() preemption BUG
7cf346dfdea5 sched, tracing: Fix trace_sched_pi_setprio() for deboosting
32199c810655 staging: comedi: quatech_daqp_cs: fix no-op loop daqp_ao_insn_write()
6d2b458d3d14 netfilter: nf_log: don't hold nf_log_mutex during user access
ac6bfe418e04 mtd: cfi_cmdset_0002: Change erase functions to check chip good only
b76d8aa04240 mtd: cfi_cmdset_0002: Change erase functions to retry for error
eb638a002274 mtd: cfi_cmdset_0002: Change definition naming to retry write operation
74ec37d03a12 dm: prevent DAX mounts if not supported
0605fa6daa66 dm: set QUEUE_FLAG_DAX accordingly in dm_table_set_restrictions()
3729e5561e1e dax: check for QUEUE_FLAG_DAX in bdev_dax_supported()
8214347c260b dax: change bdev_dax_supported() to support boolean returns
a19385766b4f fs: allow per-device dax status checking for filesystems
5941026fc7a5 mtd: rawnand: mxc: set spare area size register explicitly
c4097c64d03a media: cx25840: Use subdev host data for PLL override
e82885490a61 Kbuild: fix # escaping in .cmd files for future Make
3bb6397ba643 Revert "dpaa_eth: fix error in dpaa_remove()"
42dc2a7bb72e f2fs: truncate preallocated blocks in error case
a2c7493c7f31 media: vb2: core: Finish buffers at the end of the stream
b16a6af97461 mm: hwpoison: disable memory error handling on 1GB hugepage
07a1c2d1131b irq/core: Fix boot crash when the irqaffinity= boot parameter is passed on CPUMASK_OFFSTACK=y kernels(v1)
50b4d984f55e HID: debug: check length before copy_to_user()
c1d21fe74c25 HID: hiddev: fix potential Spectre v1
702027291bf5 HID: i2c-hid: Fix "incomplete report" noise
c894755d1bc8 block: cope with WRITE ZEROES failing in blkdev_issue_zeroout()
3e3f1310c606 block: factor out __blkdev_issue_zero_pages()
fba3230595cb ext4: check superblock mapped prior to committing
54bf664ae4fa ext4: add more mount time checks of the superblock
c24aab6d8664 ext4: add more inode number paranoia checks
02945e49dc20 ext4: avoid running out of journal credits when appending to an inline file
8a9ef17c0dc9 ext4: never move the system.data xattr out of the inode body
deb465ec750b ext4: clear i_data in ext4_inode_info when removing inline data
64804502d0e9 ext4: include the illegal physical block in the bad map ext4_error msg
d69a9df614fc ext4: verify the depth of extent tree in ext4_find_extent()
44a4bc970bfa ext4: only look at the bg_flags field if it is valid
ac48bb9bc0a3 ext4: always check block group bounds in ext4_init_block_bitmap()
ac93c718365a ext4: make sure bitmaps and the inode table don't overlap with bg descriptors
3150e8913b95 ext4: always verify the magic number in xattr blocks
0dc148230f38 ext4: add corruption check in ext4_xattr_set_entry()
0321e68838d7 jbd2: don't mark block as modified if the handle is out of credits
b541f470d4bd drm/udl: fix display corruption of the last line
3cb81bce2191 drm: Use kvzalloc for allocating blob property memory
748144f35514 cifs: Fix slab-out-of-bounds in send_set_info() on SMB2 ACE setting
28cada984c0e cifs: Fix infinite loop when using hard mount option
f5f485d888d5 cifs: Fix memory leak in smb2_set_ea()
ff533735af1d cifs: Fix use after free of a mid_q_entry
5d8ddc819c84 vfio: Use get_user_pages_longterm correctly
0ce6c4646371 drbd: fix access after free
2b6eff5923ce s390: Correct register corruption in critical section cleanup
e6cf7e687285 scsi: target: Fix truncated PR-in ReadKeys response
6e51bfa95086 scsi: sg: mitigate read/write abuse
54f1da1ff034 tracing: Fix missing return symbol in function_graph output
48b019a51ab8 mm: hugetlb: yield when prepping struct pages
6fe74fb8af89 userfaultfd: hugetlbfs: fix userfaultfd_huge_must_wait() pte access
5893f4c3fb78 Linux 4.14.54
88b01cac4add net: dsa: b53: Add BCM5389 support
28b64cc7a846 net/sonic: Use dma_mapping_error()
4888ced6b749 platform/x86: asus-wmi: Fix NULL pointer dereference
0d5e04e239ad sched/core: Require cpu_active() in select_task_rq(), for user tasks
e4c55e0e6a75 sched/core: Fix rules for running on online && !active CPUs
93b84462eadf fs: clear writeback errors in inode_init_always
ae14c044587e perf bpf: Fix NULL return handling in bpf__prepare_load()
be5af6bec31a perf test: "Session topology" dumps core on s390
d689ad5c91af net: qmi_wwan: Add Netgear Aircard 779S
d20dcd2f1135 atm: zatm: fix memcmp casting
3ee6bd9411a6 iwlwifi: pcie: compare with number of IRQs requested for, not number of CPUs
4abab5dca723 ipvs: fix buffer overflow with sync daemon and service
27aa533f24e9 netfilter: nft_limit: fix packet ratelimiting
510e1e8020a8 s390/dasd: use blk_mq_rq_from_pdu for per request data
db73501ebc3a netfilter: ebtables: handle string from userspace with care
e36bc9930d85 afs: Fix directory permissions check
4cf1fbcdef7f xfrm6: avoid potential infinite loop in _decode_session6()
693d06dffb43 mtd: rawnand: fix return value check for bad block status
0ed70f206449 ARM: dts: imx6q: Use correct SDMA script for SPI5 core
259cc05cce43 netfilter: nf_tables: use WARN_ON_ONCE instead of BUG_ON in nft_do_chain()
5acd64888e02 netfilter: ip6t_rpfilter: provide input interface for route lookup
3f8e85fbbaa5 netfilter: don't set F_IFACE on ipv6 fib lookups
2fc45ef96287 md: remove special meaning of ->quiesce(.., 2)
ce57466d323b md: allow metadata update while suspending.
7c435e224530 md: use mddev_suspend/resume instead of ->quiesce()
feabea216559 md: move suspend_hi/lo handling into core md code
cc091f3fbbdb md: don't call bitmap_create() while array is quiesced.
e44e4cf3a8db md: always hold reconfig_mutex when calling mddev_suspend()
b8d8cde449fd netfilter: nf_tables: fix NULL-ptr in nf_tables_dump_obj()
44956f98fd8b netfilter: nf_tables: add missing netlink attrs to policies
082711fa3178 netfilter: nf_tables: fix memory leak on error exit return
174757e28b7b netfilter: nf_tables: increase nft_counters_enabled in nft_chain_stats_replace()
d3a9b8a51181 netfilter: nf_tables: disable preemption in nft_update_chain_stats()
491b1a866e4a netfilter: nft_meta: fix wrong value dereference in nft_meta_set_eval
2b93cb2861de netfilter: nf_tables: bogus EBUSY in chain deletions
4ae6a7afae53 netfilter: nf_tables: don't assume chain stats are set when jumplabel is set
365e73e07fba netfilter: nft_compat: fix handling of large matchinfo size
ea200cdd6056 netfilter: nft_compat: prepare for indirect info storage
1ea5ed0cadca netfilter: nf_tables: nft_compat: fix refcount leak on xt module
1d795d1241d3 drm/i915: Enable provoking vertex fix on Gen9 systems.
78e7000fe63f drm/amdgpu: Refactor amdgpu_vram_mgr_bo_invisible_size helper
a1bf87cfb6ea drm/amdgpu: Use kvmalloc_array for allocating VRAM manager nodes array
af597bb61370 drm/atmel-hlcdc: check stride values in the first plane
7d0ed747bc56 drm/qxl: Call qxl_bo_unref outside atomic context
dd19ea36f596 drm/amdgpu: fix the missed vcn fw version report
40e2064b8fc7 drm/amdgpu: Add APU support in vi_set_vce_clocks
ce686c42476e drm/amdgpu: Add APU support in vi_set_uvd_clocks
b141de45e2dc vt: prevent leaking uninitialized data to userspace via /dev/vcs*
b124a1c182fa serdev: fix memleak on module unload
3ff8e558ba7b serial: 8250_pci: Remove stalled entries in blacklist
2a7a8556b3b4 staging: android: ion: Return an ERR_PTR in ion_map_kernel
c034d161fa63 n_tty: Access echo_* variables carefully.
d105fb8c8894 n_tty: Fix stall at n_tty_receive_char_special().
716382f1c1ea xhci: Fix kernel oops in trace_xhci_free_virt_device
0a7db82ed9cc usb: typec: ucsi: Fix for incorrect status data issue
47adbb26373f usb: typec: ucsi: acpi: Workaround for cache mode issue
f2e9a38558d8 acpi: Add helper for deactivating memory region
447294efb995 usb: dwc2: fix the incorrect bitmaps for the ports of multi_tt hub
e80add5223dd USB: serial: cp210x: add Silicon Labs IDs for Windows Update
15e449969537 USB: serial: cp210x: add CESINEL device ids
874f2a7d412e usb: cdc_acm: Add quirk for Uniden UBC125 scanner
fa745a1bd983 Linux 4.14.53
4798e96b7646 xhci: Fix use-after-free in xhci_free_virt_device
0b19825ffa28 dm thin: handle running out of data space vs concurrent discard
fb4d8744a8f9 dm zoned: avoid triggering reclaim from inside dmz_map()
0cfb151b9352 x86/efi: Fix efi_call_phys_epilog() with CONFIG_X86_5LEVEL=y
251141340fd8 block: Fix cloning of requests with a special payload
29413e068b2b block: Fix transfer when chunk sectors exceeds max
804a0db743e0 slub: fix failure when we delete and create a slab cache
cd41a8fac35a ALSA: hda/realtek - Fix the problem of two front mics on more machines
c75f047560cb ALSA: hda/realtek - Add a quirk for FSC ESPRIMO U9210
59bcd69457c7 ALSA: hda/realtek - Fix pop noise on Lenovo P50 & co
69f96e9b570a ALSA: timer: Fix UBSAN warning at SNDRV_TIMER_IOCTL_NEXT_DEVICE ioctl
3d1de95138fb Input: elantech - fix V4 report decoding for module with middle key
524a0c6f2efd Input: elantech - enable middle button of touchpads on ThinkPad P52
ade767642cc7 Input: elan_i2c_smbus - fix more potential stack buffer overflows
8fa052853d48 Input: xpad - fix GPD Win 2 controller name
1b241aa840df udf: Detect incorrect directory size
d08dfdeaf49d xen: Remove unnecessary BUG_ON from __unbind_from_irq()
fff76ff5e2b0 mm: fix devmem_is_allowed() for sub-page System RAM intersections
6f23028480c4 mm/ksm.c: ignore STABLE_FLAG of rmap_item->address in rmap_walk_ksm()
76022230aa64 rbd: flush rbd_dev->watch_dwork after watch is unregistered
3c718460f5a3 pwm: lpss: platform: Save/restore the ctrl register over a suspend/resume
24ab6e6858e7 Input: elan_i2c - add ELAN0618 (Lenovo v330 15IKB) ACPI ID
a7f3c0abac1d ACPI / LPSS: Add missing prv_offset setting for byt/cht PWM devices
9aa818d42bf5 video: uvesafb: Fix integer overflow in allocation
fb7fecb4d90f NFSv4: Fix a typo in nfs41_sequence_process
63715ead82c5 NFSv4: Revert commit 5f83d86cf531d ("NFSv4.x: Fix wraparound issues..")
c92d800fc9c4 NFSv4: Fix possible 1-byte stack overflow in nfs_idmap_read_and_verify_message
89864c2e7506 nfsd: restrict rd_maxcount to svc_max_payload in nfsd_encode_readdir
c508ed236c8b media: dvb_frontend: fix locking issues at dvb_frontend_get_event()
2c40fa51428b media: cx231xx: Add support for AverMedia DVD EZMaker 7
06b846486668 media: v4l2-compat-ioctl32: prevent go past max size
b28f53169c0f media: vsp1: Release buffers for each video node
3564366d5509 perf/x86/intel/uncore: Add event constraint for BDX PCU
5cb6105d2211 perf vendor events: Add Goldmont Plus V1 event file
c3382e70a043 perf intel-pt: Fix packet decoding of CYC packets
4e7b3632eafa perf intel-pt: Fix "Unexpected indirect branch" error
65a163984abe perf intel-pt: Fix MTC timing after overflow
e1587f178eb1 perf intel-pt: Fix decoding to accept CBR between FUP and corresponding TIP
9e9db211cfb9 perf intel-pt: Fix sync_switch INTEL_PT_SS_NOT_TRACING
5009bd5b9321 perf tools: Fix symbol and object code resolution for vdso32 and vdsox32
f810961e06c6 arm: dts: mt7623: fix invalid memory node being generated
18be8bd3aceb mfd: intel-lpss: Fix Intel Cannon Lake LPSS I2C input clock
f79c97198b55 mfd: intel-lpss: Program REMAP register in PIO mode
779d5f71c232 backlight: tps65217_bl: Fix Device Tree node lookup
f893fca0a4b5 backlight: max8925_bl: Fix Device Tree node lookup
3db7c40093f6 backlight: as3711_bl: Fix Device Tree node lookup
b7261fc5f574 UBIFS: Fix potential integer overflow in allocation
a23cf10d9abb ubi: fastmap: Correctly handle interrupted erasures in EBA
b24d90f4d66d ubi: fastmap: Cancel work upon detach
db04f92b6580 rpmsg: smd: do not use mananged resources for endpoints and channels
dfeb333b590c md: fix two problems with setting the "re-add" device state.
88896a963b4e rtc: sun6i: Fix bit_idx value for clk_register_gate
b90f3eccf8aa clk: at91: PLL recalc_rate() now using cached MUL and DIV values
a98f1946ea58 linvdimm, pmem: Preserve read-only setting for pmem devices
a64be479ef08 scsi: zfcp: fix missing REC trigger trace on enqueue without ERP thread
beadcfcca257 scsi: zfcp: fix missing REC trigger trace for all objects in ERP_FAILED
60ed2673986f scsi: zfcp: fix missing REC trigger trace on terminate_rport_io for ERP_FAILED
071f23266c30 scsi: zfcp: fix missing REC trigger trace on terminate_rport_io early return
3d0d31e512f2 scsi: zfcp: fix misleading REC trigger trace where erp_action setup failed
941e8bee351e scsi: zfcp: fix missing SCSI trace for retry of abort / scsi_eh TMF
74da693a03ce scsi: zfcp: fix missing SCSI trace for result of eh_host_reset_handler
9db2ad79b8f0 scsi: qla2xxx: Mask off Scope bits in retry delay
9224583a5ee2 scsi: qla2xxx: Fix setting lower transfer speed if GPSC fails
2829829c3e61 scsi: hpsa: disable device during shutdown
2d329968a883 mm: fix __gup_device_huge vs unmap
5d6ad5a03067 iio: sca3000: Fix an error handling path in 'sca3000_probe()'
d55209eeb121 iio: adc: ad7791: remove sample freq sysfs attributes
6101eea47bf3 Btrfs: fix return value on rename exchange failure
af20e4eccc2d X.509: unpack RSA signatureValue field from BIT STRING
7dfc81992a3e irqchip/gic-v3-its: Don't bind LPI to unavailable NUMA node
88c4318d3633 time: Make sure jiffies_to_msecs() preserves non-zero time periods
0fe95015fb93 MIPS: io: Add barrier after register read in inX()
93e1297f9edc cpufreq: intel_pstate: Fix scaling max/min limits with Turbo 3.0
55be2e6f50ac pinctrl: devicetree: Fix pctldev pointer overwrite
7cc7ae5ce018 pinctrl: samsung: Correct EINTG banks order
9e838b2e5a3c auxdisplay: fix broken menu
226ffbf6135c PCI: pciehp: Clear Presence Detect and Data Link Layer Status Changed on resume
fc0096bceae9 PCI: Add ACS quirk for Intel 300 series
78923ba96779 PCI: Add ACS quirk for Intel 7th & 8th Gen mobile
e4a424c550b6 PCI: hv: Make sure the bus domain is really unique
43f6a09c8c5b MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe erratum
c375d0bd6684 mtd: cfi_cmdset_0002: Avoid walking all chips when unlocking.
fbbde9343c3e mtd: cfi_cmdset_0002: Fix unlocking requests crossing a chip boudary
2f11a0c8c23a mtd: cfi_cmdset_0002: fix SEGV unlocking multiple chips
80349943d56c mtd: cfi_cmdset_0002: Use right chip in do_ppb_xxlock()
746c1362c434 mtd: cfi_cmdset_0002: Change write buffer to check correct value
d097e5b5a1bc xprtrdma: Return -ENOBUFS when no pages are available
786c8d79f34f RDMA/mlx4: Discard unknown SQP work requests
a33699925122 IB/hfi1: Fix user context tail allocation for DMA_RTAIL
964705c4a691 IB/hfi1: Optimize kthread pointer locking when queuing CQ entries
2bd28cba43bd IB/hfi1: Reorder incorrect send context disable
9e81f9a2cef1 IB/hfi1: Fix fault injection init/exit issues
c32951862c1a IB/isert: fix T10-pi check mask setting
7d4aaca8d093 IB/isert: Fix for lib/dma_debug check_sync warning
c06f8c2173b2 IB/mlx5: Fetch soft WQE's on fatal error state
96fb9b88385f IB/core: Make testing MR flags for writability a static inline function
1c82abc1b26a IB/mlx4: Mark user MR as writable if actual virtual memory is writable
49e1083214c6 IB/{hfi1, qib}: Add handling of kernel restart
e884ed82995a IB/qib: Fix DMA api warning with debug kernel
c41cb9cb5611 tpm: fix race condition in tpm_common_write()
1bf1a5e21798 tpm: fix use after free in tpm2_load_context()
1ed6871464b8 of: platform: stop accessing invalid dev in of_platform_device_destroy
6ba51909693c of: unittest: for strings, account for trailing \0 in property length field
4910cc250b4d of: overlay: validate offset from property fixups
728ea2302acc ARM64: dts: meson: disable sd-uhs modes on the libretech-cc
64df84dcf1e4 arm64: mm: Ensure writes to swapper are ordered wrt subsequent cache maintenance
ee6ae5ac75ab arm64: kpti: Use early_param for kpti= command-line option
cdfa28c29ad4 arm64: Fix syscall restarting around signal suppressed by tracer
14ca7d344e27 ARM: dts: socfpga: Fix NAND controller node compatible for Arria10
ae6647c78ff8 ARM: dts: socfpga: Fix NAND controller clock supply
3482130d8d1e ARM: dts: socfpga: Fix NAND controller node compatible
3db24d2e192f ARM: dts: Fix SPI node for Arria10
eda170a9fe51 ARM: 8764/1: kgdb: fix NUMREGBYTES so that gdb_regs[] is the correct size
c9debbd1a5b8 cxl: Disable prefault_mode in Radix mode
971a55574b47 soc: rockchip: power-domain: Fix wrong value when power up pd with writemask
56fbab60aa47 powerpc/fadump: Unregister fadump on kexec down path.
3b185e667b52 cpuidle: powernv: Fix promotion from snooze if next state disabled
a5d49dfb20c9 powerpc/powernv/cpuidle: Init all present cpus for deep states
134e70c22eb0 powerpc/powernv: copy/paste - Mask SO bit in CR
0e8bb91c6dd6 powerpc/powernv/ioda2: Remove redundant free of TCE pages
919c9b8187bc powerpc/ptrace: Fix enforcement of DAWR constraints
1ab9092356a1 powerpc/perf: Fix memory allocation for core-imc based on num_possible_cpus()
c12d24161611 powerpc/ptrace: Fix setting 512B aligned breakpoints with PTRACE_SET_DEBUGREG
5fefd9a5d97a powerpc/mm/hash: Add missing isync prior to kernel stack SLB switch
69829f749a43 fuse: fix control dir setup and teardown
3a37d85a90da fuse: don't keep dead fuse_conn at fuse_fill_super().
2f7bf369b5f8 fuse: atomic_o_trunc should truncate pagecache
02832578eb9d fuse: fix congested state leak on aborted connections
a47c3c48769a printk: fix possible reuse of va_list variable
affd84024cbe Bluetooth: hci_qca: Avoid missing rampatch failure with userspace fw loader
3ffecef63d09 ipmi:bt: Set the timeout before doing a capabilities check
26e03f8dcd34 branch-check: fix long->int truncation when profiling branches
5eff5dbf3108 mips: ftrace: fix static function graph tracing
5f7a15af646d ftrace/selftest: Have the reset_trigger code be a bit more careful
ea0ac01f68aa lib/vsprintf: Remove atomic-unsafe support for %pCr
9fcc267de242 clk: renesas: cpg-mssr: Stop using printk format %pCr
0cf93821e34d thermal: bcm2835: Stop using printk format %pCr
b2291a435c29 ASoC: cirrus: i2s: Fix {TX|RX}LinCtrlData setup
b5e8118779e5 ASoC: cirrus: i2s: Fix LRCLK configuration
7a1d79de77f5 ASoC: cs35l35: Add use_single_rw to regmap config
040fecfd714a ASoC: dapm: delete dapm_kcontrol_data paths list before freeing it
4e0ce7053a12 1wire: family module autoload fails because of upper/lower case mismatch.
3c22218ed869 usb: do not reset if a low-speed or full-speed device timed out
8b03376580c9 PM / OPP: Update voltage in case freq == old_freq
ba0be5973f9e PM / core: Fix supplier device runtime PM usage counter imbalance
b7ac0389770a PM / Domains: Fix error path during attach in genpd
8ae5d476a3b7 signal/xtensa: Consistenly use SIGBUS in do_unaligned_user
980899da5dc9 serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding version
60711b27c5f5 m68k/mac: Fix SWIM memory resource end address
da9ad89c72d5 m68k/mm: Adjust VM area to be unmapped by gap size for __iounmap()
ab693cc665ca x86: Call fixup_exception() before notify_die() in math_error()
64d44661e220 x86/mce: Do not overwrite MCi_STATUS in mce_no_way_out()
5b8e086891b0 x86/mce: Fix incorrect "Machine check from unknown source" message
d292f33b7494 x86/mce: Check for alternate indication of machine check recovery on Skylake
1d1dd2011adc x86/mce: Improve error message when kernel cannot recover
dbb37d98b93d x86/xen: Add call of speculative_store_bypass_ht_init() to PV paths
3ce79716a9ff x86/spectre_v1: Disable compiler optimizations over array_index_mask_nospec()
a26899e0baa4 Linux 4.14.52
1d26c112959f mm, page_alloc: do not break __GFP_THISNODE by zonelist reset
250edf9580f7 fs/binfmt_misc.c: do not allow offset overflow
7446344baafb vhost: fix info leak due to uninitialized memory
d37c95f52911 HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
ab17de60ceaa HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation
e3e6bd6a1476 orangefs: report attributes_mask and attributes for statx
f7e4328c3700 orangefs: set i_size on new symlink
b8511dbff263 iwlwifi: fw: harden page loading code
2d58a9ac892a x86/intel_rdt: Enable CMT and MBM on new Skylake stepping
e6ef46cb8f01 w1: mxc_w1: Enable clock before calling clk_get_rate() on it
0667483adeee libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk
27c0f1e5d94d libata: zpodd: small read overflow in eject_tray()
1404d2e5dd36 cpufreq: governors: Fix long idle detection logic in load calculation
c3c77b5db393 cpufreq: Fix new policy initialization during limits updates via sysfs
67b46304b92b bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
ba502bf2be45 blk-mq: reinit q->tag_set_list entry only after grace period
00946218ffe3 nbd: use bd_set_size when updating disk size
a477d00557f5 nbd: update size when connected
edee2e826640 nbd: fix nbd device deletion
ffb179cfbcf6 cifs: For SMB2 security informaion query, check for minimum sized security descriptor instead of sizeof FileAllInformation class
2a8737336dbd CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 adds a check for session expiry
ae62f35def75 smb3: on reconnect set PreviousSessionId field
dcde75924f25 smb3: fix various xid leaks
e0b510a4170e x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()
c5c00990f75d ALSA: hda: add dock and led support for HP ProBook 640 G4
e6c9fd8cf7d0 ALSA: hda: add dock and led support for HP EliteBook 830 G5
a3eb20df0e23 ALSA: hda - Handle kzalloc() failure in snd_hda_attach_pcm_stream()
03701e42cc19 ALSA: hda/conexant - Add fixup for HP Z2 G4 workstation
ff7eb857eeca ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
b1cf23c2c8db btrfs: scrub: Don't use inode pages for device replace
4cb8942042bd btrfs: return error value if create_io_em failed in cow_file_range
5f7e3b5b96f8 Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()
55d29ff48222 Btrfs: fix clone vs chattr NODATASUM race
c81a6be9da6d driver core: Don't ignore class_dir_create_and_add() failure.
f3233cb2485c ext4: fix fencepost error in check for inode count overflow during resize
21542545990c ext4: correctly handle a zero-length xattr with a non-zero e_value_offs
02d45ec6e770 ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()
e81d371dac30 ext4: do not allow external inodes for inline data
bd713edfc85d ext4: update mtime in ext4_punch_hole even if no blocks are released
f70af46a52b3 ext4: fix hole length detection in ext4_ind_map_blocks()
84f4d2c6dabe NFSv4.1: Fix up replays of interrupted requests
5e8a5c30546f tls: fix use-after-free in tls_push_record
244c10f9bfa3 hv_netvsc: Fix a network regression after ifdown/ifup
5320e035d7bb net: in virtio_net_hdr only add VLAN_HLEN to csum_start if payload holds vlan
2e5d3168821d udp: fix rx queue len reported by diag and proc interface
91717ffc9057 socket: close race condition between sock_close() and sockfs_setattr()
39f4ae01c1d6 tcp: verify the checksum of the first data segment in a new connection
81d159444da5 net/sched: act_simple: fix parsing of TCA_DEF_DATA
73c0eab8d215 net: dsa: add error handling for pskb_trim_rcsum
6bcc27abfa62 ipv6: allow PMTU exceptions to local routes
6e48ee025dc9 cdc_ncm: avoid padding beyond end of skb
584b975af0d2 bonding: re-evaluate force_primary when the primary slave name changes
33445c07cd45 Linux 4.14.51
40c809774c69 tcp: do not overshoot window_clamp in tcp_rcv_space_adjust()
7ab8fc065fff Btrfs: make raid6 rebuild retry more
6bf89b7c6b31 Btrfs: fix scrub to repair raid6 corruption
db5f02cc70a8 Revert "Btrfs: fix scrub to repair raid6 corruption"
5e4b5b7194d3 ARM: kexec: fix kdump register saving on panic()
bb7a554ae745 ARM: 8758/1: decompressor: restore r1 and r2 just before jumping to the kernel
c7d7e3f62dbe ARM: 8753/1: decompressor: add a missing parameter to the addruart macro
823e02ea7be5 efi/libstub/arm64: Handle randomized TEXT_OFFSET
3f5c7add0d0f parisc: Move setup_profiling_timer() out of init section
588977742078 sched/deadline: Make the grub_reclaim() function static
fb49d19ed9da sched/debug: Move the print_rt_rq() and print_dl_rq() declarations to kernel/sched/sched.h
96ef5c441494 drm/dumb-buffers: Integer overflow in drm_mode_create_ioctl()
77a60e752ec8 locking/percpu-rwsem: Annotate rwsem ownership transfer by setting RWSEM_OWNER_UNKNOWN
b3f84e48786d locking/rwsem: Add a new RWSEM_ANONYMOUSLY_OWNED flag
c5746752bdbe clk: imx6ull: use OSC clock during AXI rate change
0c5dfa51caf7 ARM: davinci: board-dm646x-evm: set VPIF capture card name
eb6b0d6987fc ARM: davinci: board-dm646x-evm: pass correct I2C adapter id for VPIF
ae7418dd09f9 ARM: davinci: dm646x: fix timer interrupt generation
daf6bdb29d55 i2c: viperboard: return message count on master_xfer success
cbfe697cdba9 i2c: pmcmsp: fix error return from master_xfer
0c1885743a9b i2c: pmcmsp: return message count on master_xfer success
7416dd78ad9a ARM: keystone: fix platform_domain_notifier array overrun
a187b9c72d0c usb: musb: fix remote wakeup racing with suspend
634b9e0aabd9 afs: Fix the non-encryption of calls
a92a28636157 mtd: Fix comparison in map_word_andequal()
9b9ac282bad9 x86/pkeys/selftests: Add a test for pkey 0
b1f192a9e0cd x86/pkeys/selftests: Save off 'prot' for allocations
cdfdffcaa8f9 x86/pkeys/selftests: Fix pointer math
2dd0e5d62a6b x86/pkeys/selftests: Fix pkey exhaustion test off-by-one
63bdea73bd52 x86/pkeys/selftests: Add PROT_EXEC test
1fcd226878b3 x86/pkeys/selftests: Factor out "instruction page"
777d513aaaf6 x86/pkeys/selftests: Allow faults on unknown keys
9545530701c9 x86/pkeys/selftests: Remove dead debugging code, fix dprint_in_signal
8b9f3a7404d7 x86/pkeys/selftests: Stop using assert()
477c024fb33a x86/pkeys/selftests: Give better unexpected fault error messages
4824a6473b85 x86/selftests: Add mov_to_ss test
c25b160c8da6 x86/mpx/selftests: Adjust the self-test to fresh distros that export the MPX ABI
2361f1f4fff2 x86/pkeys/selftests: Adjust the self-test to fresh distros that export the pkeys ABI
847f0cacf21e objtool, kprobes/x86: Sync the latest <asm/insn.h> header with tools/objtool/arch/x86/include/asm/insn.h
5aaee3e9ef32 uprobes/x86: Prohibit probing on MOV SS instruction
ba202cd5a1f0 kprobes/x86: Prohibit probing on exception masking instructions
12ddc2639e31 ocfs2: take inode cluster lock before moving reflinked inode from orphan dir
553495752c82 proc/kcore: don't bounds check against address 0
20e557fb26ca init: fix false positives in W+X checking
86900754306e net sched actions: fix invalid pointer dereferencing if skbedit flags missing
55e95f9ad712 ixgbe: return error on unsupported SFP module when resetting
33d1c29e935e x86: Delay skip of emulated hypercall instruction
ce44a4d5db63 KVM: Extend MAX_IRQ_ROUTES to 4096 for all archs
29475c404b56 rxrpc: Fix the min security level for kernel calls
b2abd2b98afc rxrpc: Fix error reception on AF_INET6 sockets
b5b3188098b3 qede: Fix gfp flags sent to rdma event node allocation
6618d064baca qed: Fix l2 initializations over iWARP personality
dc5af7b0de98 tipc: eliminate KMSAN uninit-value in strcmp complaint
6ca2fa569d65 agp: uninorth: make two functions static
8223298c5075 cifs: smb2ops: Fix listxattr() when there are no EAs
fcc0315abc95 arm64: Add MIDR encoding for NVIDIA CPUs
56068475a7f0 can: dev: increase bus-off message severity
4dc2437cdd6b net: aquantia: driver should correctly declare vlan_features bits
a951cf4da896 x86/xen: Reset VCPU0 info pointer after shared_info remap
ba29f3738e86 mac80211: use timeout from the AddBA response instead of the request
e4bd54eb87c8 ARM: dts: cygnus: fix irq type for arm global timer
36166445a922 driver core: add __printf verification to __ata_ehi_pushv_desc
bc707b2d950b drm/omap: handle alloc failures in omap_connector
771f573cc158 drm/omap: check return value from soc_device_match
a490d0570df2 drm/omap: fix possible NULL ref issue in tiler_reserve_2d
9631f32b61dc drm/omap: fix uninitialized ret variable
ca3c09a74945 drm/omap: silence unititialized variable warning
6ad69952d50d mac80211: Adjust SAE authentication timeout
46d6ee12fa9d tee: check shm references are consistent in offset/size
d40e177f29ab sh: fix build failure for J2 cpu with SMP disabled
0742396317a0 sched/core: Introduce set_special_state()
a614eaa465f7 spi: bcm2835aux: ensure interrupts are enabled for shared handler
373a625cb3c4 RDMA/cma: Do not query GID during QP state transition to RTR
3c54e919bd4f IB/hfi1: Fix memory leak in exception path in get_irq_affinity()
77662d35b8c5 IB/hfi1 Use correct type for num_user_context
194feed06bce smc: fix sendpage() call
9c0f528f6bf0 ARM: OMAP1: ams-delta: fix deferred_fiq handler
ac5e86401fea nvme: Set integrity flag for user passthrough commands
b19122a48f01 nvme: fix potential memory leak in option parsing
665d3c7f1e50 iommu/vt-d: fix shift-out-of-bounds in bug checking
d98905c00c4c arm64: tegra: Make BCM89610 PHY interrupt as active low
61ca60932d52 kthread, sched/wait: Fix kthread_parkme() wait-loop
e7a65e899d52 stop_machine, sched: Fix migrate_swap() vs. active_balance() deadlock
a814d1101042 parisc: drivers.c: Fix section mismatches
609377d79e75 bpf, x64: fix memleak when not converging after image
666776d5f45d scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts
09e12b91d12c hexagon: export csum_partial_copy_nocheck
8794fff6f4d9 hexagon: add memset_io() helper
960fe000b1d3 Input: atmel_mxt_ts - fix the firmware update
f8d7147cb60f ARM: dts: logicpd-som-lv: Fix Audio Mute
8c4511032ac1 ARM: dts: logicpd-som-lv: Fix WL127x Startup Issues
691f0a6b3b09 ARM: OMAP2+: powerdomain: use raw_smp_processor_id() for trace
061a560f3293 dt-bindings: panel: lvds: Fix path to display timing bindings
b1ac1ca7352d ARM: davinci: board-dm355-evm: fix broken networking
034a9e9b235e ARM: davinci: board-omapl138-hawk: fix GPIO numbers for MMC/SD lookup
0bf4a2db2964 ARM: davinci: board-da850-evm: fix GPIO lookup for MMC/SD
38ffd4d581ff ARM: davinci: board-da830-evm: fix GPIO lookup for MMC/SD
13e4a2083d2b IB/core: Make ib_mad_client_id atomic
5cb0ba254fee <linux/stringhash.h>: fix end_name_hash() for 64bit long
3fbbdb44cead IB/rxe: avoid double kfree_skb
b4f6e28c801a IB/rxe: add RXE_START_MASK for rxe_opcode IB_OPCODE_RC_SEND_ONLY_INV
d2be557eef15 RDMA/iwpm: fix memory leak on map_info
019ce25a4ee0 RDMA/cma: Fix use after destroy access to net namespace for IPoIB
84f66378da20 IB/uverbs: Fix validating mandatory attributes
fb019834bf8e IB: make INFINIBAND_ADDR_TRANS configurable
b8500e6e8eb5 ib_srp: depend on INFINIBAND_ADDR_TRANS
08088b8a0793 ib_srpt: depend on INFINIBAND_ADDR_TRANS
4e2b7d1687c4 nvmet-rdma: depend on INFINIBAND_ADDR_TRANS
8e6dba9166ed nvme: depend on INFINIBAND_ADDR_TRANS
5d33c9d0fbd8 tipc: fix bug in function tipc_nl_node_dump_monitor
f1e5bbe86ec1 i2c: sprd: Fix the i2c count issue
201dc1345bfe i2c: sprd: Prevent i2c accesses after suspend is called
40d526e67212 bpf: fix uninitialized variable in bpf tools
09daf2df8db8 x86/cpu/intel: Add missing TLB cpuid values
75b0436b24d6 ata: ahci: mvebu: override ahci_stop_engine for mvebu AHCI
48c0bf9af161 libahci: Allow drivers to override stop_engine
81d27c6ed637 KVM: arm/arm64: vgic: fix possible spectre-v1 in vgic_mmio_read_apr()
e3d1002e14ce arm64: fix possible spectre-v1 in ptrace_hbp_get_event()
06beec871640 blk-mq: fix sysfs inflight counter
11ac08bd73eb HID: intel-ish-hid: use put_device() instead of kfree()
d803d94a3fcd rpmsg: added MODULE_ALIAS for rpmsg_char
bb7894391aad remoteproc: qcom: Fix potential device node leaks
af22d1b7705a perf/x86/intel: Don't enable freeze-on-smi for PerfMon V1
3958294c661e rds: ib: Fix missing call to rds_ib_dev_put in rds_ib_setup_qp
9079946f612b selftests: ftrace: Add a testcase for multiple actions on trigger
27e13b330dd2 HID: wacom: Release device resource data obtained by devres_alloc()
2f3ca3908fc0 HID: lenovo: Add support for IBM/Lenovo Scrollpoint mice
e6ec885f5f4c arm64: ptrace: remove addr_limit manipulation
ef0fa5e6f52b net: ethtool: Add missing kernel doc for FEC parameters
b1d0907c6fed thermal: int3403_thermal: Fix NULL pointer deref on module load / probe
56dfe52e04a2 drm/amdkfd: fix clock counter retrieval for node without GPU
73ea96beb771 ACPI / watchdog: Prefer iTCO_wdt on Lenovo Z50-70
00a85086e51f ARM: dts: da850: fix W=1 warnings with pinmux node
9148e21d7624 net: phy: marvell: clear wol event before setting it
b0471926ceb5 powerpc/powernv/memtrace: Let the arch hotunplug code flush cache
a4fa9189d608 dt-bindings: meson-uart: DT fix s/clocks-names/clock-names/
71c8e7432a2e ACPI / PM: Blacklist Low Power S0 Idle _DSM for ThinkPad X1 Tablet(2016)
d3bd4954286b usb: typec: ucsi: fix tracepoint related build error
6d2707f26892 mm: memcg: add __GFP_NOWARN in __memcg_schedule_kmem_cache_create()
cd2cc6d13170 kexec_file: do not add extra alignment to efi memmap
d497efd805fe proc: revalidate kernel thread inodes to root:root
a20600762300 mm, pagemap: fix swap offset value for PMD migration entry
6385f2da8b3b scsi: isci: Fix infinite loop in while loop
12f9bb1a273e scsi: storvsc: Set up correct queue depth values for IDE devices
fc0d99fde0d2 parisc: time: Convert read_persistent_clock() to read_persistent_clock64()
6bf379f26a54 vfs: Undo an overly zealous MS_RDONLY -> SB_RDONLY conversion
bd595dbfcbd6 net: hns: Avoid action name truncation
ea7246c25892 blkcg: init root blkcg_gq under lock
b6126afd64d0 drm/msm: don't deref error pointer in the msm_fbdev_create error path
5151a0c8d730 drm/msm/dsi: use correct enum in dsi_get_cmd_fmt
be04f7301d8d drm/msm: Fix possible null dereference on failure of get_pages()
625b5b8c76d4 ASoC: msm8916-wcd-analog: use threaded context for mbhc events
705fd605237b netfilter: nf_tables: fix out-of-bounds in nft_chain_commit_update
d11b04c34894 netfilter: nf_tables: NAT chain and extensions require NF_TABLES
348288a2699c scsi: target: fix crash with iscsi target and dvd
4fb7926bba58 scsi: megaraid_sas: Do not log an error if FW successfully initializes.
af2cc1d2e75c scsi: iscsi: respond to netlink with unicast when appropriate
3f64c0c502ef tipc: fix infinite loop when dumping link monitor summary
9d5e2d69705f blkcg: don't hold blkcg lock when deactivating policy
c5b6316c3f51 spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()
5f4bf078e779 ASoC: topology: Check widget kcontrols before deref.
ff3080bab10d xen: xenbus_dev_frontend: Really return response string
d5cf1ed8d3ae ASoC: topology: Fix bugs of freeing soc topology
bd8acfd77dd3 PCI: kirin: Fix reset gpio name
150efd30c3a0 soc: bcm2835: Make !RASPBERRYPI_FIRMWARE dummies return failure
305043739272 soc: bcm: raspberrypi-power: Fix use of __packed
d066fd9d7e9b eCryptfs: don't pass up plaintext names when using filename encryption
3f54483edea2 ASoC: rt5514: Add the missing register in the readable table
9d33f89c40e9 clk: honor CLK_MUX_ROUND_CLOSEST in generic clk mux
dccf9862a7f5 dt-bindings: dmaengine: rcar-dmac: document R8A77965 support
20d681359337 dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF
20d3d7fa75b2 dt-bindings: pinctrl: sunxi: Fix reference to driver
5eeb26c58c0a doc: Add vendor prefix for Kieback & Peter GmbH
3ca7dddaa13f spi: sh-msiof: Fix bit field overflow writes to TSCR/RSCR
b3ccb8a77ed1 MIPS: dts: Boston: Fix PCI bus dtc warnings:
ba041775a9a8 isofs: fix potential memory leak in mount option parsing
d27cd5cb9b38 s390/smsgiucv: disable SMSG on module unload
e7b720ef94d8 MIPS: io: Add barrier after register read in readX()
dc94ac5fc410 fsnotify: fix ignore mask logic in send_to_group()
025e42a5e7a3 perf report: Fix switching to another perf.data file
7bb0c4bd79ab nfp: ignore signals when communicating with management FW
d96da2acac5d MIPS: io: Prevent compiler reordering writeX()
df5524e5483b x86: Add check for APIC access address for vmentry of L2 guests
9b78e9ddc47a KVM: X86: fix incorrect reference of trace_kvm_pi_irte_update
176ebf4df971 Input: synaptics-rmi4 - fix an unchecked out of memory error path
65783949c813 clocksource/drivers/imx-tpm: Correct some registers operation flow
cda6fd4d9382 Linux 4.14.50
87883c89b405 crypto: omap-sham - fix memleak
efc67e746b27 crypto: vmx - Remove overly verbose printk from AES XTS init
1bc36d12a6ed crypto: vmx - Remove overly verbose printk from AES init routines
b9705796e44b crypto: cavium - Limit result reading attempts
072e8b1f58d5 crypto: cavium - Fix fallout from CONFIG_VMAP_STACK
4854c879107c crypto: caam - fix size of RSA prime factor q
f535e1c3b394 crypto: caam/qi - fix IV DMA mapping and updating
9ed3135cab14 crypto: caam - fix IV DMA mapping and updating
635ac89ea764 crypto: caam - fix DMA mapping dir for generated IV
ed0a79561189 crypto: caam - strip input zeros from RSA input buffer
3c42aa03cd6a Input: elan_i2c - add ELAN0612 (Lenovo v330 14IKB) ACPI ID
c4168f192057 Input: goodix - add new ACPI id for GPD Win 2 touch screen
53e4b19fcd0c kvm: x86: use correct privilege level for sgdt/sidt/fxsave/fxrstor access
739ac8f4a516 tty: pl011: Avoid spuriously stuck-off interrupts
5ee296fde55e vmw_balloon: fixing double free when batching mode is off
a64ff0bea051 serial: 8250: omap: Fix idling of clocks for unused uarts
804f09011069 serial: samsung: fix maxburst parameter for DMA transactions
db30b8eb960a tty/serial: atmel: use port->name as name in request_irq()
95b8204b4491 serial: sh-sci: Stop using printk format %pCr
d6a9e699a3c2 usb: gadget: udc: renesas_usb3: disable the controller's irqs for reconnecting
262af4fe6dff usb: gadget: function: printer: avoid wrong list handling in printer_write()
874cb201d511 phy: qcom-qusb2: Fix crash if nvmem cell not specified
cb6b5869658b Input: xpad - add GPD Win 2 Controller USB IDs
5c2e9e9bf444 usb-storage: Add compatibility quirk flags for G-Technologies G-Drive
c839680e8cbf usb-storage: Add support for FL_ALWAYS_SYNC flag in the UAS driver
f31eb7298ba4 usbip: vhci_sysfs: fix potential Spectre v1
1caeb5022449 NFC: pn533: don't send USB data off of the stack
f1769a9ba4bf staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy
bd2742e83660 KVM: x86: pass kvm_vcpu to kvm_read_guest_virt and kvm_write_guest_virt_system
b1bd9caf5e98 kvm: nVMX: Enforce cpl=0 for VMX instructions
3d2f03393267 KVM: x86: introduce linear_{read,write}_system
9791d9d7e2ac KVM: X86: Fix reserved bits check for MOV to CR3
c7a372ddc3db gpio: No NULL owner
7d970250cb8d af_key: Always verify length of provided sadb_key
1cbd5ece0527 blkdev_report_zones_ioctl(): Use vmalloc() to allocate large buffers
d02ae00ab6d0 netfilter: nf_tables: fix NULL pointer dereference on nft_ct_helper_obj_dump()
70d7bbd9b504 Linux 4.14.49
2abd4c3ed20d drm: set FMODE_UNSIGNED_OFFSET for drm files
3fe4b0cf9383 PCI: hv: Do not wait forever on a device that has disappeared
dd4be396b8c5 cls_flower: Fix incorrect idr release when failing to modify rule
c931c9aee2f3 rtnetlink: validate attributes in do_setlink()
fa11d992533b virtio-net: fix leaking page for gso packet during mergeable XDP
2b8b2b26c378 net/mlx5e: When RXFCS is set, add FCS data into checksum calculation
155cd575588b virtio-net: correctly check num_buf during err path
e2d47fa107f9 tun: Fix NULL pointer dereference in XDP redirect
43153f090165 net/mlx4: Fix irq-unsafe spinlock usage
31c1e078e3ca virtio-net: correctly transmit XDP buff after linearizing
0dbd822f6440 net-sysfs: Fix memory leak in XPS configuration
900679988fdf net: phy: broadcom: Fix auxiliary control register reads
8d80a839c179 ipv6: sr: fix memory OOB access in seg6_do_srh_encap/inline
c5e1541ef6fe vrf: check the original netdevice for generating redirect
6d431f6e6880 vhost: synchronize IOTLB message with dev cleanup
f2bb94069f3e team: use netdev_features_t instead of u32
60473d7034ee sctp: not allow transport timeout value less than HZ/5 for hb_timer
0a3608662ff6 qed: Fix mask for physical address in ILT entry
0d751192afde packet: fix reserve calculation
1c2c7767e876 net: usb: cdc_mbim: add flag FLAG_SEND_ZLP
8acb0708ab6d net: phy: broadcom: Fix bcm_write_exp()
c85df6eb6e86 net/packet: refine check for priv area size
95159ad9635a net: metrics: add proper netlink validation
341c03313a9a net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy
be1f1827a89a netdev-FAQ: clarify DaveM's position for stable backports
c6fae49a447c kcm: Fix use-after-free caused by clonned sockets
ebe79f9cf44f isdn: eicon: fix a missing-check bug
3f8f52c5f200 ipv6: omit traffic class when calculating flow hash
ff33a32949c8 ipv4: remove warning in ip_recv_error
f1409a73b6f4 ipmr: properly check rhltable_init() return value
f200de49dff8 ip6_tunnel: remove magic mtu value 0xFFF8
989986db8f66 ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds
cbf561634db3 enic: set DMA mask to 47 bit
0d2eb422fe35 dccp: don't free ccid2_hc_tx_sock struct in dccp_disconnect()
d591263c7947 bnx2x: use the right constant
128f0d700569 be2net: Fix error detection logic for BE3
d58cf41924e8 kconfig: Avoid format overflow warning from GCC 8.1
058dd233b559 btrfs: define SUPER_FLAG_METADUMP_V2
af760b568ef1 mmap: relax file size limit for regular files
16d7ceb04b55 mmap: introduce sane default mmap limits
7cb10a4ce724 scsi: sd_zbc: Avoid that resetting a zone fails sporadically
1110636ed2d9 scsi: sd_zbc: Fix potential memory leak
2c6025ebc7fd Linux 4.14.48
1dd9566d9542 powerpc/mm/slice: Fix hugepage allocation at hint address on 8xx
399e039634a4 powerpc/mm/slice: Enhance for supporting PPC32
b8b23e8926b3 powerpc/mm/slice: create header files dedicated to slices
e14db4feb035 powerpc/mm/slice: Remove intermediate bitmap copy
c95c5f419e57 drm/i915: Disable LVDS on Radiant P845
72571f26757e drm/i915/lvds: Move acpi lid notification registration to registration phase
ffedc7ade784 drm/psr: Fix missed entry in PSR setup time table.
5890358c60e5 intel_th: Use correct device when freeing buffers
792be048cf9c Revert "rt2800: use TXOP_BACKOFF for probe frames"
a7027b7d698e mm/huge_memory.c: __split_huge_page() use atomic ClearPageDirty()
4a1b66bcec03 IB/core: Fix error code for invalid GID entry
bdf1daba5f62 hwtracing: stm: fix build error on some arches
1f8c4ed2dba5 stm class: Use vmalloc for the master map
a70f19b29560 scsi: scsi_transport_srp: Fix shost to rport translation
8a6576219da8 MIPS: prctl: Disallow FRE without FR with PR_SET_FP_MODE requests
f7a36d7ac838 MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRs
ed5bd13bec35 MIPS: lantiq: gphy: Drop reboot/remove reset asserts
6d67a723ef37 iio: adc: select buffer for at91-sama5d2_adc
838f25e3d9f2 iio:kfifo_buf: check for uint overflow
30ab9366f763 iio:buffer: make length types match kfifo types
d30819abd1c4 iio: ad7793: implement IIO_CHAN_INFO_SAMP_FREQ
a6f81fcb2c39 tcp: avoid integer overflows in tcp_rcv_space_adjust()
96b086a7bfe5 kbuild: clang: disable unused variable warnings only when constant
9b6eda5797b1 platform/chrome: cros_ec_lpc: remove redundant pointer request
a81920c73eb0 ASoC: Intel: sst: remove redundant variable dma_dev_name
bcc9c6f03201 rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c
8524af02d132 drm/amd/powerplay: Fix enum mismatch
074e30a3fc09 dma-buf: remove redundant initialization of sg_table
5a92c6e3e2f3 drm/i915: Always sanity check engine state upon idling
151b144bc602 kbuild: clang: remove crufty HOSTCFLAGS
bc342bc02954 cfg80211: further limit wiphy names to 64 bytes
9808c97d3cb4 selinux: KASAN: slab-out-of-bounds in xattr_getsecurity
c6a95f37d3a0 tracing: Make the snapshot trigger work with instances
8441a0014a29 tracing: Fix crash when freeing instances with event triggers
2be683020be4 Input: elan_i2c_smbus - fix corrupted stack
9a85abc79483 Input: synaptics - add Lenovo 80 series ids to SMBus
9c707c93e179 Input: synaptics - add Intertouch support on X1 Carbon 6th and X280
af504c5a88b3 Input: synaptics - Lenovo Thinkpad X1 Carbon G5 (2017) with Elantech trackpoints should use RMI
88859f6cc5c4 Input: synaptics - Lenovo Carbon X1 Gen5 (2017) devices should use RMI
d1db300b8ffc xfs: detect agfl count corruption and reset agfl
d9a59eac3fd6 xfs: convert XFS_AGFL_SIZE to a helper function
54978daa9dc5 PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
085fc1967b56 Revert "pinctrl: msm: Use dynamic GPIO numbering"
4cbe6caa4c6c x86/MCE/AMD: Cache SMCA MISC block addresses
5df3a1b9f87b x86/mce/AMD: Carve out SMCA get_block_address() code
6bcf3b066c69 objtool: Fix "noreturn" detection for recursive sibling calls
806a730c0b0b objtool: Detect RIP-relative switch table references, part 2
afb5e5c8a125 objtool: Detect RIP-relative switch table references
2c26d5784e71 objtool: Support GCC 8 switch tables
1bea53df12c4 objtool: Support GCC 8's cold subfunctions
b968dd7650c8 mm: fix the NULL mapping case in __isolate_lru_page()
6a19487d5a93 fix io_destroy()/aio_complete() race
(From OE-Core rev: a08dac36a04e7fa1c14c9a770cabe1a0d9386b1a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's -stable updates to 4.12 that comprise the
following changes:
f4fd7580487d Linux 4.12.28
d15dfc7d192f net: mvneta: eliminate wrong call to handle rx descriptor error
c7a79cbd2b44 net: mvneta: use proper rxq_number in loop on rx queues
f65f1aed2ef2 net: mvneta: clear interface link status on port disable
402f4ea26693 tcp: add tcp_ooo_try_coalesce() helper
035eddf502ef tcp: call tcp_drop() from tcp_data_queue_ofo()
c224a5920d55 tcp: detect malicious patterns in tcp_collapse_ofo_queue()
7c5d21c36cec tcp: avoid collapses in tcp_prune_queue() if possible
f999a5cfc3eb tcp: free batches of packets in tcp_prune_ofo_queue()
3471d76b1128 net: add rb_to_skb() and other rb tree helpers
fcd212157f50 libnvdimm, pfn: fix start_pad handling for aligned namespaces
d90d61722843 libnvdimm, dax: fix 1GB-aligned namespaces vs physical misalignment
df6a2110169e drm/sun4i: Fix error path handling
d2d90272068d drm/i915: Flush pending GTT writes before unbinding
55e3ba836aee powerpc/perf: Dereference BHRB entries safely
32c5b092ac7e clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
a472f9b5c546 pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
32f9f01a1b49 spi: a3700: Fix clk prescaling for coefficient over 15
39e2376e2774 spi: xilinx: Detect stall with Unknown commands
104bf43e4653 Revert "parisc: Re-enable interrupts early"
2c6a864363b5 parisc: Hide Diva-built-in serial aux and graphics card
4e92abc4d371 parisc: Align os_hpmc_size on word boundary
8df2ad333664 ALSA: usb-audio: Add native DSD support for Esoteric D-05X
2d7184d7f8b1 ALSA: rawmidi: Avoid racy info ioctl via ctl device
425708ccc413 mfd: twl6040: Fix child-node lookup
d99aacab316b mfd: twl4030-audio: Fix sibling-node lookup
cd2ca561cdd7 mfd: cros ec: spi: Don't send first message too soon
f5d153b69e6a crypto: mcryptd - protect the per-CPU queue with a lock
01b2634b17f4 acpi, nfit: fix health event notification
1170a37d5339 ACPI: APEI / ERST: Fix missing error handling in erst_reader()
0cf5d1f5ce10 bpf: fix incorrect sign extension in check_alu_op()
39cc58874bfc bpf, sparc: fix usage of wrong reg for load_skb_regs after call
8c570303798e bpf, ppc64: do not reload skb pointers in non-skb context
05bd23b36b88 bpf, s390x: do not reload skb pointers in non-skb context
da92e092ffa7 platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
ab3980511fa0 thermal/drivers/hisi: Fix multiple alarm interrupts firing
ed7ec377cb05 thermal/drivers/hisi: Simplify the temperature/step computation
b4322338048d thermal/drivers/hisi: Fix kernel panic on alarm interrupt
e9b4b6019cc2 thermal/drivers/hisi: Fix missing interrupt enablement
01f1870f5aa8 IB/opa_vnic: Properly return the total MACs in UC MAC list
59522364dab2 IB/opa_vnic: Properly clear Mac Table Digest
84cf0ea1cb2a cpuidle: fix broadcast control when broadcast can not be entered
fdb28a72dafa rtc: set the alarm to the next expiring timer
245a952509f6 tcp: fix under-evaluated ssthresh in TCP Vegas
ebe28298b759 clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
c31c122f7744 staging: greybus: light: Release memory obtained by kasprintf
7900ee86e495 net: ipv6: send NS for DAD when link operationally up
0c8d7ea9c7db ibmvnic: Set state UP
eb3237c59a98 fm10k: ensure we process SM mbx when processing VF mbx
a076534d71b3 vfio/pci: Virtualize Maximum Payload Size
0e8c3cf3f83e i40e: fix client notify of VF reset
2e3bad157461 scsi: lpfc: PLOGI failures during NPIV testing
022e3fe9ac98 scsi: lpfc: Fix secure firmware updates
9e7341570bf9 fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
af88451b2676 ASoC: codecs: msm8916-wcd-analog: fix module autoload
2fc38deb5bed ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
4529e660bc83 tracing: Exclude 'generic fields' from histograms
3485fd44f243 PCI/AER: Report non-fatal errors only to the affected endpoint
64e367610786 Bluetooth: BT_HCIUART now depends on SERIAL_DEV_BUS
47663fe61367 Bluetooth: hci_uart_set_flow_control: Fix NULL deref when using serdev
58adf4fe65f8 md: always set THREAD_WAKEUP and wake up wqueue if thread existed
e9f7be0e550e block,bfq: Disable writeback throttling
c09fcc304541 IB/rxe: put the pool on allocation failure
392f4c00adca IB/rxe: check for allocation failure on elem
179099ba0d69 ixgbe: fix use of uninitialized padding
e2e131da3b6b i40e: use the safe hash table iterator when deleting mac filters
757ad831c703 igb: check memory allocation failure
e156a3afb676 PM / OPP: Move error message to debug level
9bd17b3b4bb6 PCI: Create SR-IOV virtfn/physfn links before attaching driver
54da833e63b0 scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
929cc7c94e3b scsi: cxgb4i: fix Tx skb leak
84aa72a81de3 PCI: Avoid bus reset if bridge itself is broken
3932edaebc65 net: phy: at803x: Change error to EINVAL for invalid MAC
e9bd07539e3f rtc: pl031: make interrupt optional
9f77ab2f562c crypto: lrw - Fix an error handling path in 'create()'
59e5a2e7eec9 crypto: crypto4xx - increase context and scatter ring buffer elements
13c0df6a379d clk: sunxi-ng: sun5i: Fix bit offset of audio PLL post-divider
68e13e506d6e clk: sunxi-ng: nm: Check if requested rate is supported by fractional clock
3996734fc715 drm: Add retries for lspcon mode detection
77190a6d2d57 backlight: pwm_bl: Fix overflow condition
d3b4b8043ff7 optee: fix invalid of_node_put() in optee_driver_init()
752218b19686 posix-timer: Properly check sigevent->sigev_notify
16c39a33a5c6 ACPI / APEI: adjust a local variable type in ghes_ioremap_pfn_irq()
ba0b2e6cbb82 Linux 4.12.27
feea4d492d73 usb: musb: da8xx: fix babble condition handling
6d8d83c4ec67 ath10k: fix build errors with !CONFIG_PM
00e875f83a3c ath9k: fix tx99 potential info leak
01cf18e17476 lightnvm: pblk: fix min size for page mempool
4413575d48be lightnvm: pblk: initialize debug stat counter
87135620a06a lightnvm: pblk: fix changing GC group list for a line
3b1abf7d20f6 icmp: don't fail on fragment reassembly time exceeded
4be8ae2da97b IB/ipoib: Fix lockdep issue found on ipoib_ib_dev_heavy_flush
7d284754ed54 IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
634b3e0fefd7 RDMA/cma: Avoid triggering undefined behavior
f9f24086ba42 macvlan: Only deliver one copy of the frame to the macvlan interface
aba3745fc9b0 udf: Avoid overflow when session starts at large offset
4a9bf3983ef9 md-cluster: fix wrong condition check in raid1_write_request
e08da1a3d9d5 raid5-ppl: check recovery_offset when performing ppl recovery
a6b9b60622b0 scsi: bfa: integer overflow in debugfs
a6adc19ff5a4 scsi: sd: change allow_restart to bool in sysfs interface
d23a6641b217 scsi: sd: change manage_start_stop to bool in sysfs interface
be59ef05ed52 rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
9257df5ece69 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
5d0d0b750520 IB/core: Fix calculation of maximum RoCE MTU
950215a22a7a scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
40dd3da9911d raid5: Set R5_Expanded on parity devices as well as data.
d63147f7712f pinctrl: adi2: Fix Kconfig build problem
b25a34c20291 dev/dax: fix uninitialized variable build warning
3b928d69ed7c tty fix oops when rmmod 8250
6fd73bd5acc5 ipv4: ipv4_default_advmss() should use route mtu
e8552a24db2a soc: mediatek: pwrap: fix compiler errors
023499e5fff8 powerpc/xmon: Check before calling xive functions
7092b9c569ee powerpc/perf/hv-24x7: Fix incorrect comparison in memord
d85bb8676f60 serdev: ttyport: enforce tty-driver open() requirement
dcc2d9b7db19 mfd: mxs-lradc: Fix error handling in mxs_lradc_probe()
d7630ac47698 scsi: hpsa: destroy sas transport properties before scsi_host
a2133c918746 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
37686080a0c8 PCI: Detach driver before procfs & sysfs teardown on device remove
585eb66776b7 RDMA/cxgb4: Declare stag as __be32
06a21042a540 xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
98da748f2c95 xfs: fix log block underflow during recovery cycle verification
9aaebfb38490 l2tp: cleanup l2tp_tunnel_delete calls
4fd806e81bcb nvme: use kref_get_unless_zero in nvme_find_get_ns
377d9449f868 platform/x86: hp_accel: Add quirk for HP ProBook 440 G4
89e9f0fce2a4 liquidio: fix kernel panic in VF driver
85aad298ecc2 samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1
767f9da42096 ARM64: dts: meson-gxbb-odroidc2: fix usb1 power supply
65743dd02181 mtd: spi-nor: stm32-quadspi: Fix uninitialized error return code
0501313aa697 btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
563e097ec448 btrfs: avoid null pointer dereference on fs_info when calling btrfs_crit
3faadbbe68b1 btrfs: undo writable superblocke when sprouting fails
7028f26c6034 btrfs: Explicitly handle btrfs_update_root failure
3f0a4dfc8eb9 Bluetooth: hci_ldisc: Fix another race when closing the tty.
abb921b20fa0 Ib/hfi1: Return actual operational VLs in port info query
879b18ebb8f4 bcache: fix wrong cache_misses statistics
744eb7bd3386 bcache: explicitly destroy mutex while exiting
653aad5c1702 media: usbtv: fix brightness and contrast controls
c4d5c7940953 GFS2: Take inode off order_write list when setting jdata flag
2e510357e1a6 scsi: scsi_debug: write_same: fix error report
56c755841ee6 misc: pci_endpoint_test: Avoid triggering a BUG()
b55d52393e28 misc: pci_endpoint_test: Fix failure path return values in probe
aeac8e4c0c15 thermal/drivers/step_wise: Fix temperature regulation misbehavior
aaca414203c4 ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
0587e5a36d00 ppp: Destroy the mutex when cleanup
4a7735ca4455 clk: tegra: Fix cclk_lp divisor register
0006385aadd0 clk: tegra: Use readl_relaxed_poll_timeout_atomic() in tegra210_clock_init()
6ae2754d991b blk-mq-sched: dispatch from scheduler IFF progress is made in ->dispatch
ec4585cdc959 clk: hi6220: mark clock cs_atb_syspll as critical
f203d6193f5c clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
c9ce9a4d1734 clk: imx: imx7d: Fix parent clock for OCRAM_CLK
5f200f317929 clk: mediatek: add the option for determining PLL source clock
6f7955a0aa2a crypto: tcrypt - fix buffer lengths in test_aead_speed()
40734099baaa xfs: truncate pagecache before writeback in xfs_setattr_size()
165b974bd72a iommu/amd: Limit the IOVA page range to the specified addresses
a2e1fcc04fb6 badblocks: fix wrong return value in badblocks_set if badblocks are disabled
75920b77b802 target/file: Do not return error for UNMAP if length is zero
ca73c042292d target:fix condition return in core_pr_dump_initiator_port()
8e2ee3f5ff33 iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
f1ae60da96df target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
d5adfbee09dc target/iscsi: Detect conn_cmd_list corruption early
edd7fdf83184 platform/x86: intel_punit_ipc: Fix resource ioremap warning
da2aa58cb07b powerpc/pseries/vio: Dispose of virq mapping on vdevice unregister
2ae1d60028ab powerpc/ipic: Fix status get and status clear
1d0cfd6df447 powerpc/opal: Fix EBUSY bug in acquiring tokens
88189efa7ee7 netfilter: ipvs: Fix inappropriate output of procfs
39254860365c iommu/mediatek: Fix driver name
c82f9ea385ab PCI: dwc: Fix enumeration end when reaching root subordinate
5dad0dfd17df PCI: Do not allocate more buses than available in parent
4a917030981d powerpc: Don't preempt_disable() in show_cpuinfo()
0bc0d339ff6c powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
7842177fdc43 PCI/PME: Handle invalid data when reading Root Status
301c44edb5a1 dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
2761bc37b1c2 ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
c42830902147 PM / s2idle: Clear the events_check_enabled flag
9c70ec2c413d scsi: aacraid: address UBSAN warning regression
3819c3c756b0 scsi: aacraid: use timespec64 instead of timeval
e262d43729be rtc: pcf8563: fix output clock rate
3ecf1bdeb61e video: fbdev: au1200fb: Return an error code if a memory allocation fails
d56242baba22 video: fbdev: au1200fb: Release some resources if a memory allocation fails
3b53b4e4c0ab video: udlfb: Fix read EDID timeout
f50c8ab6dc0d fbdev: controlfb: Add missing modes to fix out of bounds access
bfbfacb318cd sfc: don't warn on successful change of MAC
ae058bf77e63 HID: cp2112: fix broken gpio_direction_input callback
91590951dec1 ext4: fix crash when a directory's i_size is too small
4fae0491c35c ext4: fix fdatasync(2) after fallocate(2) operation
df19eb58d7be dmaengine: dmatest: fix container_of member in dmatest_callback
100cb4506fb4 dmaengine: dmatest: move callback wait queue to thread context
4d873e954ac0 eeprom: at24: change nvmem stride to 1
b90737b239b0 iw_cxgb4: only insert drain cqes if wq is flushed
6b1f48a27656 dm: fix various targets to dm_register_target after module __init resources created
26c2e6fc10f1 scsi: core: Fix a scsi_show_rq() NULL pointer dereference
04039227baf7 nfsd: auth: Fix gid sorting when rootsquash enabled
143fdc512ac6 NFS: Fix unstable write completion
7482c56f758c NFS: Use an atomic_long_t to count the number of commits
3ef4a32040bf nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests
4a70dd38f444 xhci: Don't add a virt_dev to the devs array before it's fully allocated
fa7944fd5601 usb: xhci: fix TDS for MTK xHCI1.1
80aa2eb9b51b ceph: drop negative child dentries before try pruning inode's alias
b9db0ab47687 mmc: core: apply NO_CMD23 quirk to some specific cards
ff1b82c5314c usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
cea2ad71f37b usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
1e5edda8ccd3 usbip: fix stub_rx: get_pipe() to validate endpoint number
3ac1e4089c48 USB: core: prevent malicious bNumInterfaces overflow
2479ee21bf60 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
b3fd05a19818 tracing: Allocate mask_str buffer dynamically
5eb37713e296 kernel: make groups_sort calling a responsibility group_info allocators
d87a616735d8 cifs: fix NULL deref in SMB2_read
d22121ce1210 crypto: rsa - fix buffer overread when stripping leading zeroes
0ad02bd37731 mfd: fsl-imx25: Clean up irq settings during removal
(From OE-Core rev: 408daaa6d0fb2147a541b0f14d73b362bd848d3c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the preempt-rt BSP definition for qemuarm64 to allow -rt testing
on this ARCH.
(From OE-Core rev: 320f77b6648b9289ce1170a46a956cf8752bf63a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the re-working of kernel fragments and status output cleanup the
visibility for BSP level errors was dropped/removed.
The audit phase can detect errors, redefinition and invalid
configuration fragments. We control the visibility of these reports via
the existing KCONF_BSP_AUDIT_LEVEL variable.
By default, errors and invalid configuration values will be displayed as
a warning. If redefinition values are to be shown the audit level must
be raised above the deafult value of '2'. We inhibit these by default,
since there are many valid reasons why a BSP will change a default /
base config .. and showing them offers no value to the BSP user.
(From OE-Core rev: 4933b686b0f75d6841630917a2d90832df41cac7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of os.utils.getstatusoutput() with direct subprocess
calls. Pass a modified environment and working directory where necessary
to bypass the need to execute in a shell.
(From OE-Core rev: 21de5cc43cfedc703e5bc0515507a6dae36afb74)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling the bpf feature for the standard kernel configurations
by default. Systemd (and other) userspace applications are looking
for BPF more often, and we get warnings such as this:
[ 12.810554] systemd[1]: File
/lib/systemd/system/systemd-journald.service:36 configures an IP
firewall (IPAddressDeny=any), but the local system does not support
BPF/cgroup based firewalling.
The configs don't add much overhead to the kernel, so we enable them
by default.
(From OE-Core rev: 2f43139e7e0db2522c88b41875c32949f66ca1e8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove SUMMARY_${PN} and DESCRIPTION_${PN}, which duplicate the
default SUMMARY and DESCRIPTION.
(From OE-Core rev: f668491275ac0ba30366652b6747f87776e92120)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define variable SSTATE_PRUNE_OBSOLETEWORKDIR with '?=' in sstate.bbclass,
then it could be overwritten by user configuration.
(From OE-Core rev: 22af59c9bfec31b31027ebd2a4da162f481aa6b5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The below test hangs infinitely
$ ./run-ptest
Actually it stuck at test-gatt unit test and
the detailed test output as below:
$ unit/test-gatt -p /robustness/unkown-request -d
/robustness/unkown-request - init
/robustness/unkown-request - setup
/robustness/unkown-request - setup complete
/robustness/unkown-request - run
GATT: < 02 17 00 ...
bt_gatt_server:MTU exchange complete, with MTU: 23
GATT: > 03 00 02 ...
PDU: = 03 00 02 ...
GATT: < bf 00
Considering the /robustness/unkown-request test
actually does no action, update to raw_pdu() to
fix the hang issue.
(From OE-Core rev: b6801f95800bf37f4b960123ba649322fc5cd5d3)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The devshell.bbclass set var-SHELL to var-DEVSHELL, and terminal.bbclass
initial var-SHELL with `bash'. Keep sync with it, use var-SHELL rather
than hardcoded `/bin/sh' as the shebang of wrapper script.
On Ubuntu host, default shell is dash (/bin/sh -> dash), even though
we assign var-SHELL with `/bin/bash', the wrapper script is still dashism.
(From OE-Core rev: 27e2ede65f1193e49f9483b08a55495d88740a65)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes issues mainly seen when mounting eMMC devices:
The wildcard /sys/block/${DEVBASE}/${DEVBASE}*1 matches both "mmcblk0p1"
and "mmcblk0boot1" for example, and this results in syntax errors. Fix this
by searching for a "partition" file instead, which only exists for real
partitions and not 'fakes' like the eMMC extra's.
When mount fails, the mountpoint file is left behind, causing later attempts
at auto-mounting it to fail. If mount fails, remove the mountpoint, leaving
the system in the state as it was before the mount attempt.
(From OE-Core rev: 8645c0419456c1bd3ae15a9a7dd2b2e9a960eaf4)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While multiple hardlinks of binary located in different dirs,
there are also multiple hardlinks of separated debug info file
with the same binary name in same debug dirs. But in each dir,
only one debug file with original name works. Because all of
binary hardlinks have one `.gnu_debuglink' which is added in
`splitdebuginfo'. It caused gdb could not find debugging
symbols.
[Before the patch]
$ find .
./usr/bin/foo
./usr/bin/foo-hd1
./usr/bin/.debug
./usr/bin/.debug/foo
./usr/bin/.debug/foo-hd1
./usr/libexec/foo-hd2
./usr/libexec/.debug
./usr/libexec/.debug/foo-hd2
$ readelf --debug-dump usr/libexec/foo-hd2
Contents of the .gnu_debuglink section:
Separate debug info file: foo
$ gdb usr/libexec/foo-hd2
Reading symbols from usr/libexec/foo-hd2...(no debugging symbols found)...done.
[Before the patch]
[Apply the patch]
$ find .
./usr/bin/foo
./usr/bin/foo-hd1
./usr/bin/.debug
./usr/bin/.debug/foo
./usr/libexec/foo-hd2
./usr/libexec/.debug
./usr/libexec/.debug/foo
$ gdb usr/libexec/foo-hd2
Reading symbols from usr/libexec/foo-hd2...Reading symbols from usr/libexec/.debug/foo...done.
[Apply the patch]
(From OE-Core rev: d4eaf42f7708f8d3a31a04d958bd7420dd7dd6b9)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In finalize() we save event handlers, register the ones relevant to the
recipe being finalised, trigger events, and then restore the handlers so
that one recipe's custom handlers (actually implemented within a class
inherited by the recipe) do not affect other recipes. However, if an
exception occurs during parsing, the saved handlers were not being
restored. Use a try...finally block to ensure that the handlers are
always restored.
This issue became apparent since in OpenEmbedded-Core we have recently
introduced a find_intercepts() handler for the
bb.event.RecipePreFinalise event in image-postinst-intercepts.bbclass
that images and old-style SDK recipes will end up inheriting. So far it
doesn't seem that the the error has manifested itself in normal builds,
but when parsing OE-Core recipes in the OE layer index it has:
core-image-rt-* image recipes were parsed which in the default
configuration raise SkipRecipe. The next non-image recipe that is parsed
will trigger a real exception, because the find_intercepts() handler is
still registered and gets fired, but in the context of the new recipe
the POSTINST_INTERCEPTS_PATHS variable is not set, and the code in
find_intercepts() is written with the reasonable assumption that that
isn't possible given that the class itself sets a default, and thus it
fails.
(Bitbake rev: e5f1f8fa201774e0c3c554d59b277baa2128708f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following statement was accidently removed. Add it back.
values['ml'] = ['']
This patch fixes the following error.
Exception: KeyError: 'ml'
(From OE-Core rev: 0791c4d39edbedaa493a9fc6aa6e7415f14980bb)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update /sbin to $base_sbindir to fix the
below warning when usrmerge enabled in
DISTRO_FEATURES.
WARNING: mingetty-1.08-r3 do_package: mingetty: NOT adding alternative provide /usr/sbin/getty: /usr/sbin/mingetty does not exist
WARNING: mingetty-1.08-r3 do_package: QA Issue: mingetty: Files/directories were installed but not shipped in any package:
/sbin
/usr/sbin
(From OE-Core rev: 35b92053c5bc0f4ae4b92ca75456535ff78797a2)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update /lib to $nonarch_base_libdir to fix
the below error when usrmerge enabled in
DISTRO_FEATURES.
ERROR: mdadm-4.0-r0 do_package_qa: QA Issue: mdadm package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]
(From OE-Core rev: 4b2c86ff0031effd4cfdb477f67bc213d39ae0fd)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The actual dependency on native Python and is handled by inheriting
python3native
(From OE-Core rev: 115a6dea664c9b18fd19b79659029afb52b1a660)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a script which can be run on new autobuilder workers to check all needed configuration
is present. Designed to be run in a repo where bitbake/oe-core are already present.
This means when we add new autobuilder workers, we can quickly test whether all the needed
funcationality to support the standard yocto project autobuilder (ie. the standard
OE-Core tests) are present.
It uses images prebuilt in a previous release to cut build/testing time.
(From OE-Core rev: c9dd81fe9c88d8d9881686e60c17e6fab4b230f1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh avoid-check-user-break-cc.patch to fix fuzz warning.
(From OE-Core rev: 6d9ab12ac113f0f33289200ca3c9df24d9fc1cc2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
skipIfInDataVar will skip a test if a value is in a certain variable.
(From OE-Core rev: 10b935c713748346aea6c36c2f41e0ae6c320821)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The name string is too small to contain normal full path names and causes
the following failure.
"ftest06 2 TFAIL : ftest06.c:223: Can't chdir(): errno=ENOENT(2): No such file or directory"
(From OE-Core rev: 24faf8b9bbee82033d5f636f254e59b8d3d31ea5)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the relative_symlinks class converts any absolute symlinks
in ${D} into relative symlinks automatically, it's a little clearer
to create relative symlinks directly where possible.
(From OE-Core rev: 959b4d30b5b11e4a098654b0d4469bbdf01b3812)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls.
(From OE-Core rev: f1a1b31add242380490023c2ee7eec1b4fbcd85b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls.
(From OE-Core rev: 2a06abb258768504a3ad97f61c987709227d7109)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't use subprocess.check_output() or subprocess.call() here since the one
who invokes runcmd() needs handle CmdError() exception (error out or ignore
it).
(From OE-Core rev: c3e7739987d804f7865428442479d5bece5ff2dd)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls.
(From OE-Core rev: 90c730a898f11adb2ecd377cdd913af83123bcb7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patch has duplicate split calls and one needs to be removed
to avoid failures
(From OE-Core rev: 02c8d048cbab38a48f698504d0f5e912d3d24a36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_multilib_datastore() should be able to handle the original datastore
correctly now so rely upon this rather than custom coding.
(From OE-Core rev: 2ae85af480066e252fca01f3005ecac2ff37a8d4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have library functions to handle multilib variables/datastores, lets
use them so we have good common functions.
(From OE-Core rev: 774219567987956fb7bbb50e64eb6cebef1efe5b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the original datastore returned by this function doesn't
always work as the tune isn't set back to the original. Fix it
to work like all_multilib_tune_list() in utils.bbclass and correct
the data returned.
(From OE-Core rev: 4e1dc858fbf671ef27089a2b9bcdc965fe19d698)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if a tune isn't specified in the table, the loader defaults for the
architecture are used which may or may not match our path specification. This
leads to general confusion.
Change the code to use the linuxloader class which works of architecture, not
tune.
This still isn't perfect as n32/x32 aren't covered but its an improvement
to listing all tunes here.
(From OE-Core rev: 46a6da24b51426bedd9af8a2d63b2992b9d3fa5a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We could do with one decent general purpose python function to query the
path to the dynamic loader. Convert the shell code into python.
Also correct baremetal to return "None", not musl loaders.
(From OE-Core rev: 73fab4ede12d8ae31be72b5cb4ab29d7ef7dae17)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does the same thing, but is more efficient in case st_nlinks
is (already) 1.
Depends on bitbake commit 7ae93cf40ab91965147055100432961436bce46c .
(From OE-Core rev: a09f8e32044c8daec2d2fb3ff0e830c21402df6e)
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does the same thing, but is more efficient in case st_nlinks
is (already) 1.
Depends on bitbake commit 7ae93cf40ab91965147055100432961436bce46c .
(From OE-Core rev: 38180b5c1044be13458fb927ad1babae61e4c51f)
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need this for the new break_hardlinks helper function.
(From OE-Core rev: d6ccefd347bf31acf8d31996d796717acb4da74f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In spite of a comment suggesting otherwise, os._exit() does not flush
buffered output from file descriptors before exiting the process like
os.exit() does. This means that any un-flushed output is lost in the
daemon process, in particular the traceback from any thrown exceptions,
making debugging exceptions in the daemon quite difficult.
The solution is to flush stdout and stderr before exiting.
(Bitbake rev: fcc8e1ff53696f78dd64b4ee32f3c433b7a47df0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use == instead of = when comparing task outcome to OUTCOME_FAILED.
Prior to this fix the recipe template would cause a TemplateSyntaxError
exception.
(Bitbake rev: a53ffec4ed3d0f9221bca398e20e8f480fb2b325)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove existing files before overwriting them
Archive should extract only the latest same-named entry.
Extracted regular file should not be writtent into existing block
device (or any other one).
https://rt.cpan.org/Ticket/Display.html?id=125523
Affects perl <= 5.26.2
(From OE-Core rev: 037b205e89ae4c7d638a5c15d64f60e16facbaa2)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
double64_init: Check psf->sf.channels against upper bound
This prevents division by zero later in the code.
While the trivial case to catch this (i.e. sf.channels < 1) has already
been covered, a crafted file may report a number of channels that is
so high (i.e. > INT_MAX/sizeof(double)) that it "somehow" gets
miscalculated to zero (if this makes sense) in the determination of the
blockwidth. Since we only support a limited number of channels anyway,
make sure to check here as well.
CVE-2017-14634
Closes: #318
Affects libsndfile1 = 1.0.28
(From OE-Core rev: eee93149a49274dc3deed7d89754ee4bda240575)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sfe_copy_data_fp: check value of "max" variable for being normal
and check elements of the data[] array for being finite.
Both checks use functions provided by the <math.h> header as declared
by the C99 standard.
Fixes#317
CVE-2017-14245
CVE-2017-14246
Affects libsndfile1 = 1.0.28
(From OE-Core rev: ad842a3a0e6ef78fb9449362753ae3592c775192)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By including PACKAGECONFIG options, the recipe takes responsibility
for defining the default state of these options. Although the recipe
currently aligns with the gnutls defaults (ie both disabled) tracking
new gnutls releases will be a maintenance effort. Unless there's a
clear reason to do otherwise, it seems safer to leave the choice of
which SSL/TLS versions to enable by default up to the gnutls
developers.
(From OE-Core rev: 4c1d03eb226aa838622852b70a87260ab1ac9d91)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From gnutls 3.5.8 onwards, the code in configure.ac has been passing
"basename $i" to sed, rather than "echo $i". Since the full ${srcdir}
path is not being processed, there's no risk of unexpected matches.
478179316b
(From OE-Core rev: bce938174d1207685c67c40e341a36ab1158e6eb)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge the two tests together as having them separate is pointless
* Test that ldd runs correctly
* Add in a dependency on the "ldd" package being installed instead of
the sdk tools feature
(From OE-Core rev: 80db456387fb63ee74d53a9719ab3997432f4c80)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
(From OE-Core rev: 2588c2aae11b7b480022dc11575295fdc792bf3f)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The -config script can now be disabled from configure.
Drop backported patch now merged.
(From OE-Core rev: f2c1d7109014ef9d804c3a6967b96143834ff7bd)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perl distribution "XML-Parser" relies for configuration
on the tooling of Devel::CheckLib - which is not aware of
sysroot locations nor of reasonable compiler/link definitions
from outside.
This causes
ERROR: libxml-parser-perl-2.44-r0 do_package_qa: QA Issue: package libxml-parser-perl contains bad RPATH ${BUILDDIR}/tmp/work/core2-64-poky-linux/libxml-parser-perl/2.44-r0/recipe-sysroot/usr/lib in file ${BUILDDIR}/tmp/work/core2-64-poky-linux/libxml-parser-perl/2.44-r0/packages-split/libxml-parser-perl/usr/lib/perl/vendor_perl/5.24.4/auto/XML/Parser/Expat/Expat.so
package libxml-parser-perl contains bad RPATH ${BUILDDIR}/tmp/work/core2-64-poky-linux/libxml-parser-perl/2.44-r0/recipe-sysroot/usr/lib in file ${BUILDDIR}/tmp/work/core2-64-poky-linux/libxml-parser-perl/2.44-r0/packages-split/libxml-parser-perl/usr/lib/perl/vendor_perl/5.24.4/auto/XML/Parser/Expat/Expat.so [rpaths]
ERROR: libxml-parser-perl-2.44-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: libxml-parser-perl-2.44-r0 do_package_qa: Function failed: do_package_qa
It's strongly encouraged to the maintainer @toddr to rework the
toolchain for up to date environments.
[RP: Added fix for nativesdk RPATH issues too]
(From OE-Core rev: b103bb9426c0e5e3ef0fe0c34274ad3a06af8b6a)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The modern the time, the improvements in ExtUtils::MakeMaker.
Nowadays, .packlist and perllocal.pod aren't touched anymore when appropriate
flags set during configure stage. Controlling the flags globally avoids
dual-life recipes need share patching.
Further: remove prepending ${PERL_ARCHLIB} in PERL5LIB - it's wrong (search
order is site_lib, vendor_lib, core) - and ${PERL_ARCHLIB} contains core
libpath only ...
(From OE-Core rev: 2e61533e7c1b1cfd49dc771e907207f11a15c44f)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The crypto API for AEAD ciphers changed in recent kernels, so that
associated data is now part of both source and destination scatter
gathers. The source, destination and associated data buffers need
to be stiched accordingly for the operations to succeed.
(From OE-Core rev: 76da04571b8cb2241b3f46dec4935ff299639b7d)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This removes some extra spaces.
(From OE-Core rev: 146ebbc71183e432905b17a127162aba0b464b50)
Signed-off-by: Alexander Hedges <ahedges@ethz.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years updated
(From OE-Core rev: 2c245d0ddc230360be949b96fb123698541753ac)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: updated address of Free Software Foundation
(From OE-Core rev: 9aa8061f2e9f1e66b4ef4d63ae2932bf0c6a2c41)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It helps to find/use native tools under ${STAGING_BINDIR_NATIVE}/*-native.
Solving below error:
$ oe-run-native python3-native python3
Running bitbake -e python3-native
Error: Unable to find 'python3' in .../tmp/work/x86_64-linux/python3-native/3.5.5-r1.0/recipe-sysroot-native/usr/bin:.../tmp/work/x86_64-linux/python3-native/3.5.5-r1.0/recipe-sysroot-native/bin:.../tmp/work/x86_64-linux/python3-native/3.5.5-r1.0/recipe-sysroot-native/usr/sbin:.../tmp/work/x86_64-linux/python3-native/3.5.5-r1.0/recipe-sysroot-native/sbin
Error: Have you run 'bitbake python3-native -caddto_recipe_sysroot'?
-- snip --
After this change we have native python3 to be found:
$ oe-run-native python3-native python3
Running bitbake -e python3-native
Python 3.5.5 (default, Aug 8 2018, 17:45:49)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
-- snip --
[YOCTO #12889]
(From OE-Core rev: a3e9b2224b31cfd836519d0b609f8064adb67cca)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our eSDK is expected to provide traditional SDK's functionality. But
for cmake, it could not function well in eSDK.
This problem is discovered by the assimp.py test case. The error message
is as below.
testsdkext/tmp/sysroots/x86_64/usr/lib/libz.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
The problem is about cmake-native being unable to find the correct lib.
nativesdk-cmake has solved this problem. So make use of the solution to
solve the eSDK problem.
(From OE-Core rev: c0561e930e688890eb5feb4521b2de196137227a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its a pain to have to wait until oe-selftest finishes to see the
failures for example.
(From OE-Core rev: 4c499a1b10a0c2647b6a753b8f9cd934ae4ad0da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Periodically we'd see:
NOTE: core-image-sato-1.0-r0 do_testsdk: ======================================================================
NOTE: core-image-sato-1.0-r0 do_testsdk: ERROR: broken-runner
NOTE: core-image-sato-1.0-r0 do_testsdk: ----------------------------------------------------------------------
NOTE: core-image-sato-1.0-r0 do_testsdk: testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/lib/oeqa/core/utils/concurrencytest.py", line 122, in _run_test
test.run(process_result)
File "/usr/lib/python3.6/site-packages/subunit/__init__.py", line 1194, in run
protocol = TestProtocolServer(result, self._passthrough, self._forward)
File "/usr/lib/python3.6/site-packages/subunit/__init__.py", line 514, in __init__
stream = stream.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'
which seems to occur if a result arrives before all the runner threads
have started. The runner's result handling changes sys.stdout to a buffer
temporarily which can be seen in other threads and it can sometimes fail.
Since the tests are running in a separate process we don't need this buffer
handling in the concurrent case so only set when not parallelising. The
concurrent class handle setting buffer mode internally.
(From OE-Core rev: e2c66aa0f74d19fbc7e56af1fb440ad6473d3a8e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, error output such as that in the teardown can be lost
and processes may recieve signals they're not expecting causing other
strange errors.
(From OE-Core rev: 1e3f44737a15feb3128ba7fc0dbe896dd8782e07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been an opt-in for so long, some distributions e.g.
poky-lsb uses it by default however, since most of linux
distros have started to default to these settings for security
enhancements, time has come for OE to make it default too
(From meta-yocto rev: 81bf1019c8601da952242fbcc827e0bef1ff25d7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is in default distro config now
(From meta-yocto rev: c85fa6a397d7ed97779ce347d4013cd1ea99d53f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since `6146b8c glibc: Disable crypt support in glibc' in oe-core,
python2/3 could not find symbol crypt which caused import crypt failed.
[snip]
>>> import crypt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.5/crypt.py", line 3, in <module>
import _crypt
ImportError: /usr/lib64/python3.5/lib-dynload/_crypt.cpython-35m-x86_64-linux-gnu.so: undefined symbol: crypt
[snip]
Add virtual/crypt to DEPENDS, and python's build system (setup.py)
will search libcrypt.so in recipe-sysroot and add `-lcrypt' if it
exists.
(From OE-Core rev: d2a929d932900f753af1a06a8cb98d953369e3b4)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remove the indirect dependcy of autoconf-archive-native via
SSTATE_EXCLUDEDEPS_SYSROOT to avoid not needed .m4 installed
into sysroot, which may cause compile problem.
(From OE-Core rev: d23156460e2b8f6684bd3005d7fa09b2c73e522e)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running this test case, we will see the following error.
AttributeError: type object 'BuildAssimp' has no attribute 'project'
assimp.py test case does not make use of SDKBuildProject, so remove
the import statement and the tearDownClass.
(From OE-Core rev: ca0a40a852abed981d54503ef2d86708471c821e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LLVM_TARGETS_TO_BUILD is needed to represent HOST_ARCH for
builds and target specific additions should use class-target
override
(From OE-Core rev: 5e6e08512e130951e66376ea43e4e6a98941b950)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Import from meta-oe layer
- This is useful for many packages where CR-LF
needs to be adjusted, many recipes depend on it
e.g. meta-multimedia libebml and so on.
- Add myself as maintainer for now
(From OE-Core rev: d8c075d9ac8792726be162da02f2325cbb3aeaaa)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use CPPFLAGS instead of CFLAGS since there is C++ compiler being used for somefiles
Fixes
gdb/gdbserver/../../../gdb-8.1.1/gdb/gdbserver/../common/common-utils.c:419: undefined reference to `rpl_stat'
| collect2: error: ld returned 1 exit status
| make[4]: *** [Makefile:414: libinproctrace.so] Error 1
(From OE-Core rev: d6806b449ba8b44fd74dfb05c65b9233b6f3ace5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* to avoid confusion with "type" command in shell
(From OE-Core rev: 8d454ea754c96561257b1cc011fa638ceaa771db)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* some people don't like the ${MACHINE} in the symlink, because now the DEPLOYDIR already
contains ${MACHINE} subdirectory, add KERNEL_ARTIFACT_LINK_NAME variable to change it
in one place without the need to list all variables for various artifacts
(From OE-Core rev: 416b58d84f1124212f114198d2fcb1f3a9bbd223)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* for consistency with other artifacts variables, include only the version string, not the actual name or extension
* changing .tgz to something else in the MODULE_TARBALL_NAME variable only wouldn't make much sense
because then kernel.bbclass still calls "tar -cvzf" to create it
(From OE-Core rev: 43bd7f39157da49f7fb0c2d6d9751059471c8d53)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* for consistency with IMAGE_NAME and IMAGE_LINK_NAME
and to avoid confusion with IMAGE_BASENAME (which is the
actual name of the artifact, e.g. PN while KERNEL_IMAGE_BASE_NAME
was only the version suffix)
(From OE-Core rev: f952c8e08b4798aa0f8bf764cfd70bda0eae9b8b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use the same naming scheme for fitImage files like all other deployed artifacts
* remove unnecessary cd to DEPLOYDIR
* remove unnecessary cd to B
(From OE-Core rev: fd69f8b2d7dd950cee9e820ef91ea90521c95ace)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this makes it easier to use different version string than DATETIME, e.g. set from jenkins job
while keeping the suffix consistent across all artifacts stored in DEPLOYDIR
(From OE-Core rev: 1245935b9bf32e0321d8ff12492983ba8506190a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The testdata.json is being written to DEPLOY_DIR_IMAGE directly,
thus bypassing sstate, which results in an ever growing list
of files.
Write them to IMGDEPLOYDIR instead, so as to benefit from the
automatic management via sstate.
(From OE-Core rev: 1f7399a5e5d12b7ca3faf399a70c1613d522c28d)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Test in SDK was failing to execute:
$ autoreconf --install --force
due to missing perl modules. Add the needed perl modules
for target build:
perl-module-bytes
perl-module-thread-queue
perl-module-threads
Duplicate the perl module dependencies for SDK as well.
Now autoreconf runs with a trivial example.
(From OE-Core rev: 71764105510e2a98150f63aae0ada1600ad33041)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Automatically select one kernel type image based on a predefined
precedence list if there are multi kernel images installed.
(From OE-Core rev: d1d80566681d4cdc00aa3d4b5e4bcf5edb7132b7)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to specify a custom extlinux.conf via something like:
bootloader --configfile="extlinux.conf"
(From OE-Core rev: 33f85c8bf80d70f00eeccd9ab3dfa417c0fc7df1)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd start the weston.service, the script "weston-start" will
check if the dir "XDG_RUNTIME_DIR" (usually is /run/user/0) exits and
create it. Then weston will create a socket file "wayland-0" for communications
with clients in this dir.
If systemd is built with enabling "pam" feature, the login will call "run-user-0.mount"
to mount tmpfs at the dir "/run/user/0", then the socket file "wayland-0" will be
missing since it is created in the old "/run/user/0".
So add "PAMName=login" to let weston.service call login first, once tmpfs is mounted at
"/run/user/0", then call weston-start to create a socket file in it.
(From OE-Core rev: 3cb303ffee8610d41c9a0745d366556c24066bc3)
Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The aarch64 build issue in the afalg engine appears to have been
fixed upstream since openssl 1.1.0g:
a0c262644e
(From OE-Core rev: 3184de7f57c05f32682d0c00baf797074b137422)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A single version of the openssl.sh environment-setup script is
currently shared by both the openssl 1.0 and 1.1 recipes. The libdir
path in the script needs to be tweaked for openssl 1.1.
(From OE-Core rev: 950f89a5eb98edbd734247b4141e18e635ef4f91)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl 1.0 recipe puts the libdir symlink to /etc/ssl/openssl.cnf
in the base openssl package (along with the libdir symlinks to
/etc/ssl/certs and /etc/ssl/private). Keep the openssl 1.1 recipe
aligned with that approach until there's a clear reason to do
something else. For more background, see comments in the following
thread:
http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135176.html
(From OE-Core rev: 480335803928c95e7948f8c949127ccb5cbc7dbe)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl 1.1 recipe doesn't have a PACKAGECONFIG option for perl,
so the RDEPENDS for openssl-misc shouldn't be conditional on it.
(From OE-Core rev: 6c6c3809b9db3a08eefabe06d3f35cee5f400d92)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting and comment tweaks only, no functional changes.
(From OE-Core rev: 06da559b5becee1b5fcc2263f6edd95f6d305fc2)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to comments in Configurations/10-main.conf, the linux-elf
target is "... to be used on older Linux machines where gcc doesn't
understand -m32 and -m64".
The linux-x86 target appears to be the newer replacement (currently
the only difference between the two is that linux-x86 adds -m32 to
cflags).
(From OE-Core rev: 9e9d0045caa62f3dba2760460de4e6eac38b4628)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge duplicates + minor reformatting (no functional changes).
Note that the openssl 1.1 recipe still needs to be updated to handle
MIPS Release 6 ISA targets (e.g. linux-mipsisa32r6, etc).
(From OE-Core rev: bdc9e773c240716c2e2a60ca5d4313cfaa6188b1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Update checksum for copyright year changes
Update to the latest stable version
(From OE-Core rev: 30d0e8e895813bc422d60bd00076a7f16035feeb)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libunistring is one such library which many autotooled packages
mistake to use from build system if its installed on it. This
is specifically toxic when build host arch is same as target arch
since we only see the problem during runtime but thankfully OE
has build time QA which warns about it.
QA Issue: libidn2: The compile log indicates that host include and/or library paths were used.
Using --with-libunistring-prefix nudges the autoconf system for the
component to first look into target sysroot before going on to search
on the build host
(From OE-Core rev: 9a4ea4ff856e2379888ea5cdcc0e761956e1f53b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
llvm-config is a tool on similar veins as pkg-config but provides a lot
more information and packages which use llvm e.g. mesa use this tool to
poke for llvm related informaiton e.g. version, libpath, includepaths
to name a few, this has few challanges in cross build environments where
llvm-config is supposed to be build for buildhost but provide information
about target llvm which is addressed by building native llvm-config along
with target llvm build, but this is frowned upon by OE build system since
it detects that host paths are being used so we have to build it as part
of llvm-native but then it means install paths for llvm and llvm-native
are different and wrong paths get reported when llvm-config is used.
This is solved by providing YOCTO_ALTERNATE_EXE_PATH variable to let
llvm-config use that path instead of self-relative path to report back
Second problem is when building multi-lib packages base_libdir is different
for target packages but native llvm-config does not know about it so
it reports non-multilibbed paths as libdir and packages can not find
llvm in sysroot. This is fixed by adding another environment variable
YOCTO_ALTERNATE_MULTILIB_NAME which can be set from recipes to set
proper multilib path
(From OE-Core rev: 865eb1c1400e60d09c8f413504123fdfc116a71b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Import from meta-oe layer
- This is useful for many packages where CR-LF
needs to be adjusted, many recipes depend on it
e.g. meta-multimedia libebml and so on.
(From OE-Core rev: bd4a02d8d3cfb476a2da0f4616605c92604266c0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If not defined, llvm build system tries to build one
which then confuses the OE QA system since its building
native tool and target packages in same package build
moreover it is not required since we already have it via
llvm-native
Fixes
ERROR: llvm-6.0-r0 do_package_qa: QA Issue: llvm: The compile log indicates that host include and/or library paths were used.
(From OE-Core rev: 7153a17166d9a94fd0ddc36d597a0140979d58ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Original approach to add -no-<pie> flags cause link time behavior changes
where packages start to lose the -fPIC -DPIC in compiler cmdline and this
list keeps growing as we build more and more packages,
Instead lets just remove the options we dont need from SECURITY_CFLAGS
this makes it more robust and less intrusive
This also means we do not need to re-add pic options as we started to do
for affected packages
(From OE-Core rev: 1520f5a345fd03d46f33f0efaf76191e96344bec)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Here is the primary driving enhancement:
* Bug 12785 - Support Project Specific configuration for external
tools (e.g. ISS, Eclipse)
- Isolated project-specific configuration page (full Toaster context
hidden)
- Support for new project, reconfigure existing project, and import
existing command line project
- Ability to define variables (e.g. image recipe) and pass them back
to external GUI
- Ability to execute the cloning phase, so that external GUI receive
a buildable project
- Ability to call back to the external GUI when updates are completed
and ready
- Compatibility of above projects with the normal full Toaster interface
- Ability to pass to a 'complete' or 'cancel' web page so that the
external GUI can immediately stop that Toaster instance, and not
leave dangling servers nor edit sessions open
Here are the supporting enhancements, where at least the
back end is implemented:
* Bug 12821 - Make Toaster conf changes compatible with command line usage
* Bug 12822 - Support importing user changes to conf files into Toaster
* Bug 12823 - Support importing user build directories into Toaster
* Bug 12824 - Scan imported layers for content so that they are
immediately available
* Bug 12825 - show layer clone item in progress bar
Here are defects fixed:
* Bug 12817 - builddelete.py requires explicit 'add_arguments'
* Bug 12818 - Remove orphaned imported layers when project is deleted
* Bug 12826 - fix imported layer management
* Bug 12819 - build using selected bitbake env, not Toaster's env
* Bug 12820 - Toaster randomizes the layer order in toaster_bblayers.conf
[YOCTO #12785]
(Bitbake rev: 985d6cec290bdd80998a63483561a73c75d82d65)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing kernel-devsrc package starts with a full copy of the kernel
source and then starts to strip out elements that are not required.
This results in extra time (I/O) and extra space being taken up in the
final package. The main purpose of the kernel-devsrc package has been to
build modules against the running kernel, not to include a full copy of
the source code for re-building the kernel. The end result was a
600M kernel-devsrc package.
This restructuring of the package uses an approach similar to other
distros, where the kernel-devsrc package is for building against the
running kernel and uses a curated set of copied infrastructure, versus
a mass copy of the entire kernel.
The differences in this approach versus other is largely due to the
architecture support and the split build/source directory of the
kernel.
The result is a kernel-devsrc package of about 10M, which is capable
of running "make scripts" and compiling kernel modules against the
running kernel.
Along with the changes to the copying of the infrascture, we also
have the following changes:
- a better/more explicit listing of dependencies for on-target
builds of "make scripts" or "make modules_prepare"
- The kernel source is installed into /lib/modules/<version>/build
and a symlink created from /usr/src/kernel to the new location.
This aligns with the standard location for module support
code
- There is also a symlink from /lib/modules/<version>/source -> build
to reserve a spot for a new package that is simply the kernel
source. That package is not part of this update.
(From OE-Core rev: 007ef1f468110b2698a27ea9a6d43fed5a0a9fc2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the following patch:
"disable-graphviz.patch" to fix this warning:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.htmlhttps://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
checking file configure.ac
checking file libvaladoc/Makefile.am
checking file libvaladoc/html/basicdoclet.vala
checking file libvaladoc/html/htmlmarkupwriter.vala
Hunk #1 succeeded at 51 with fuzz 1 (offset 8 lines).
(From OE-Core rev: dfbbff39cfd413510abbd60930232a9c6b35d765)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On other distros like ubuntu/centos, libnss-db usually provides:
- The libraries
- The Makefile to create database
(in /var/db for centos, /var/lib/misc/ for ubuntu)
- The makedb command (it's in glibc-common for centos7)
What we had is:
- The libraries are in glibc-extra-nss
- The Makefile is removed
- The makedb command is in glibc-utils (lack of dependency)
So when glibc-extra-nss is installed but glibc-utils is not,
we see error like:
nscd[165]: 165 checking for monitored file `/var/db/group.db': No such file or directory
nscd[165]: 165 checking for monitored file `/var/db/passwd.db': No such file or directory
And there is not an easy way to create these databases.
To fix the issue:
- Re-package the libraries into libnss-db
- Don't remove the Makefile and add it in libnss-db
- Add RDEPENDS for libnss-db on glibc-utils
- Provide a shell script, makedbs.sh, to generate the db files.
This is to avoid dependency on 'make'.
Notes:
1. For external toolchain, an extra package 'libnss-db' need to be provided
If replacing glibc from core.
2. I've check the git history of nss/db-Makefile, the last two functionality
fix is as below.
- fix non-portable `echo -n` usage -- Date: Thu Aug 6 04:14:20 2015 -0400
- Fix db makefile rule for group.db -- Date: Fri Nov 11 14:43:36 2011 +0100
So I think this file is stable enough. And using makedbs.sh which is crafted according
to that file is not likely to cause maintanence problem.
(From OE-Core rev: 13cf502fce8956f95fdc8ac0c7a37d741223bcc9)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. So far, only qemux86[-64] support hw breakpoint, no matter whether or
not with kvm.
qemuppc: The oe-core configuration uses a PPC G4 system as the
default cpu but qemu doesn't simulate the hw breakpoint register for G4.
qemuarm: The arch more than v7 supports hw breakpoint, however arm use
v5 as default.
qemuarm64: We temporarily drop qemuarm64 for the moment. Normally it
will print debug info once, but endlessly when we trigger the break
point. Now it is hard to located the issue, but we will confirm it
later.
qemumips*: Kernel dosen't support hw bp for mips.
2. Syslog maybe not started, so we use dmesg to confirm.
3. Running 'ls' to trigger the hardware breakpoint test.
(From OE-Core rev: 176e50fb177dc40e439700d5f3f838dd7eaaa427)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The debug info can not be written to trace buffer immediately
by thread. So we should sleep some seconds.
(From OE-Core rev: 5ccf8150b4c65f2feac16cc2881188f14d9e5390)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable profile guided optimization (pgo) for python3. Enabling pgo in
python is generally as simple as invoking the target profile-opt which:
- builds python binaries with profile instrumentation enabled,
- runs a specific profile task using that python to get the profile
data and,
- feeds the compiler with this profile data and rebuilds python.
This change invokes qemu-user for the second step of running a profile
task using target python. Depending on how long profile task takes to
run, this might add a significant time to compilation (which would be
true for native builds too). The default profile task can be changed by
the users depending on what makes sense for their use case (or can be
left empty). In case qemu-user isn't supported, profile task won't be run.
(From OE-Core rev: 05a2a53f9cc7e75b4a3838ab9368cadf0f15ba1b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2017-14160, CVE-2018-10393 (same as 14160), and CVE-2018-10392.
These fixes should be in libvorbis 1.3.7.
(From OE-Core rev: 45ff20f325a51fe0ed12d58160c08e04781ce341)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid adding bison-native to the sysroot without a specific
dependency in the recipe. This means indirect dependencies
(e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
dependency incidentally. This improves determinism and avoids build
failures when people switch to external toolchains.
Based on an idea by Richard Purdie:
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146324.html
(From OE-Core rev: b7edc20cc2dd82989bd9561f860cb25478a40f69)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #12791]
The one which actually saves the data is data_list.data.d.d_buf, so check it
before free rawdata_base.
This can fix a segmentation fault when prelink libqb_1.0.3:
prelink: /usr/lib/libqb.so.0.18.2: Symbol section index outside of section numbers
The segmentation fault happens when prelink call elf_end().
Fixed:
MACHINE="qemux86-64"
IMAGE_INSTALL_append = " libqb" #libqp is from meta-openembedded
$ bitbake core-image-minimal
Segmention fault
(From OE-Core rev: 560154e8525dce4beb8199ffc0d7c964da9d665a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #12791]
According to struct elf32_hd, the e_shnum is section header number, and the
index is e_shstrndx, not e_shnum.
This can fix segmention fault when handle libqb.so.0.18.2 from libqb_1.0.3.
It fails to handle libqb.so.0.18.2 and get errors:
Symbol section index outside of section numbers
Then segmentation fault, this is because the e_shnum is 34, while e_shstrndx is
27 (it would be 33 when no errors), I've checked several elf files to confirm
that the ones after e_shstrndx is NULL, so use e_shstrndx should be correct.
Fixed:
MACHINE="qemux86-64"
IMAGE_INSTALL_append = " libqb" #libqp is from meta-openembedded
$ bitbake core-image-minimal
Segmention fault
(From OE-Core rev: b7c291ee6532cba845ee6bfbbaa21076a2b2cbe5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the assembler reports that the input and output are the same, report the
file names involved, in order to help debugging. Also do not equate two files
are the same if the have the same inode value but reside on different file
systems.
(From OE-Core rev: 83cb0938b90bab9ba727f883b8955b0b40d49a01)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bb.utils.copyfile is called in a few places with identical src and dst
in order to create an st_nlinks==1 version of the file. That that even
works relies on an implementation detail of copyfile (namely, that it
creates a temporary file and then does a rename). Moreover, it's a waste
of time if the file already has st_nlinks==1.
So create a helper that optimizes away the copy in the st_nlinks==1
case. Of course, this helper relies on the same implementation detail,
but that's now contained within bb.utils itself.
To test that we do at least sometimes hit the no-copy path, I tested
locally with
if sstat[stat.ST_NLINK] == 1:
+ bb.note("Woohoo, 2*%d bytes I/O avoided" % sstat[stat.ST_SIZE])
return True
(and the obvious places in oe-core patched), and the do_package log files
are indeed filled with woohoo notes.
(Bitbake rev: 7ae93cf40ab91965147055100432961436bce46c)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class sets POSTINST_INTERCEPTS and POSTINST_INTERCEPTS_CHECKSUMS,
to allow us to pull intercepts from BBPATH. This is kept as a separate
class, as it's needed by both image construction and sdk construction,
the latter to support meta-toolchain & similar recipes.
(From OE-Core rev: 7a2044df4ae8d80cf25a6bfd9b71978ffefbfa33)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- if POSTINST_INTERCEPTS is set, use the listed intercept files, or
- if POSTINST_INTERCEPTS_PATH is set, load from the listed paths, or
- if POSTINST_INTERCEPTS_DIR is set, load from it (for compatibility), or
- load from ${COREBASE}/meta/postinst-intercepts
(From OE-Core rev: 9ba2f2b1df277b2b881f68166d9cd1c19db66e23)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using re.compile() is around six times faster than recompiling the regexp
each time so maintain a cache.
(From OE-Core rev: 41eb382737706e245f2b7104e313c8dfaa370945)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the newly introduced SSTATE_EXCLUDEDEPS_SYSROOT for specifying
the base-passwd|shadow-sysroot recipes to be excluded from a recipe sysroot.
(From OE-Core rev: 68e502e9063a88532fe0154f152ba408f0091900)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the newly introduced SSTATE_EXCLUDEDEPS_SYSROOT for specifying
the *-initial recipes to be excluded from a recipe sysroot.
(From OE-Core rev: 6706bad52f9311ea79c534ee90014c3216992999)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, a dependency on any -native recipe will pull in
all dependencies of that -native recipe in the recipe
sysroot. This behaviour might not always be wanted, e.g.
when that -native recipe depends on build-tools that are
not relevant for the current recipe.
This change adds a SSTATE_EXCLUDEDEPS_SYSROOT variable,
which will be evaluated for such recursive dependencies to
be excluded. The idea is similar to
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146324.html
except that the list is not hard-coded anymore.
SSTATE_EXCLUDEDEPS_SYSROOT is evaluated as two regular
expressions of recipe and dependency to ignore, e.g. in
the above flex-native / bison-native use-case, one would
specify
SSTATE_EXCLUDEDEPS_SYSROOT = ".*->(flex|bison)-native"
in layer.conf.
The existing special handling of "-initial" as well as
"base-passwd" and "shadow-sysroot" could also be
streamlined:
SSTATE_EXCLUDEDEPS_SYSROOT += "\
.*->.*-initial.* \
.*(base-passwd|shadow-sysroot)->.* \
"
Another anticipated user is meta-java, where certain newer
JDKs can only be bootstrapped (built) using older JDKs,
but it doesn't make much sense to copy all those older
JDKs and their own build tools (ant, etc.) into the
sysroot of recipes wanting to be built using the newer JDK
(only), e.g.:
SSTATE_EXCLUDEDEPS_SYSROOT += "\
openjdk-8-native->(ant-native|attr-native|coreutils-native|icedtea7-native|libxslt-native|make-native|openssl-native|zip-native|unzip-native) \
"
(From OE-Core rev: 92c5131a2feae2036c71a36c18bb9175bb2856dc)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes issues related out of range R_PPC_REL24
e.g.
/usr/lib/xorg/modules/input/libinput_drv.so: /usr/lib/libinput.so.10: R_PPC_REL24 relocation at 0x0e8602c4 for symbol `libevdev_has_event_code' out of range
(From OE-Core rev: 48c8d13a9bdcacb64a330074588f7c6bb5cae90d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages have hard-coded path to /etc/ssl location.
Create a symlinks to correct location.
(From OE-Core rev: 87ae1f2de1b033172560e3c89caa06bd9e10d071)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Marko Peter <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main idea is to have libssl and libcrypto in separate packages.
This saves space if only single library is needed and also some recipes
(in other layers) depend on these library packages.
Together with this other packages like in 1.0.x were created.
The only difference is that openssl 1.1 has additional package openssl-bin.
Add missing dependency to perl for openssl-bin pkg, c_rehash requires it.
(From OE-Core rev: b729cae26de23ac6df10cbf74bab0105580cc43d)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Marko Peter <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch original c_rehash script with Debian patch instead
of overriding it with own version.
Error output from c_reshah without patching:
Unknown regexp modifier "/b" at ./c_rehash line 15, at end of line
Unknown regexp modifier "/W" at ./c_rehash line 28, at end of line
Unknown regexp modifier "/3" at ./c_rehash line 28, at end of line
Unknown regexp modifier "/2" at ./c_rehash line 28, at end of line
No such class installdir at ./c_rehash line 63, near "Prefix our
installdir"
(Might be a runaway multi-line // string starting on line 28)
syntax error at ./c_rehash line 63, near "Prefix our installdir"
Can't redeclare "my" in "my" at ./c_rehash line 68, near ""
Execution of ./c_rehash aborted due to compilation errors.
(From OE-Core rev: f8a826f497073533a3e4c390255ae197d65d6ef3)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Marko Peter <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SERIAL_CONSOLE was already deprecated in 2013, yet still some
machine configuration files were using it. This patch replaces
it with SERIAL_CONSOLES, which is the successor.
The default value in systemd-serialgetty.bb can also be safely
transitioned from SERIAL_CONSOLE to SERIAL_CONSOLES, as this
recipe already uses SERIAL_CONSOLES within do_install().
The documentation seems to be already up do date.
beaglebone-yocto.conf in the bsp-guide already uses
SERIAL_CONSOLES. The ref-manual redirects from SERIAL_CONSOLE
to SERIAL_CONSOLES.
[YOCTO #12653]
(From meta-yocto rev: a0c5332aefe75cf314e78284f578b17c51b8ab27)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable downloading of the vulnerability DB in do_check_cves() task.
When invoked in this task, cve-check-tool attempts re-download of the CVE DB
if the latter is older than certain threshold. While reasonable for a
stand-alone CVE checker, this behavior can cause errors in parallel builds
if the build time is longer than this threshold:
* Other tasks might be using the DB.
* Several packages can start the download of the same file at the same time.
This check is not really needed, as the DB has been downloaded by
cve_check_tool:do_populate_cve_db() which is a prerequisite of any do_build().
The DB will be at most (threshold + build_time) old.
(From OE-Core rev: 125789b6ee6d47ab84192230f63971c4e22418ba)
Signed-off-by: Konstantin Shemyak <konstantin.shemyak@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To handle the case where ${COREBASE} isn't the git directory, avoid
erroring out when the git command fails. If we don't have a timestamp
after this, fall back to the timestamp from conf/bitbake.conf.
(From OE-Core rev: 97b439469a45a089431ca9c31893288c855045f4)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-gpgme fails package_qa when setting PACKAGE_DEBUG_SPLIT_STYLE
= "debug-with-srcpkg".
ERROR: nativesdk-gpgme-1.10.0-r0 do_package_qa: QA Issue: non debug package contains .debug directory: nativesdk-python3-gpg path /work/x86_64-nativesdk-oesdk-linux/nativesdk-gpgme/1.10.0-r0/packages-split/nativesdk-python3-gpg/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/python3.5/site-packages/gpg/.debug/_gpgme.cpython-35m-x86_64-linux-gnu.so [debug-files]
This turns out to be because the automatic moving of the -dbg package to
the beginning of the package list is disabled in that case, so the
python3-gpg packages that the recipe prepends to PACKAGES ends up before
the -dbg package.
It's not clear why the "and not split_source_package" was added when
debug-with-srcpkg was introduced. Presumably the intention was to
prevent the -dbg package to end up before the -src package, which we of
course need to. But at the same time, we still need -dbg packages to end
up before all other packages.
Using list.insert(0, ...) also means that if there happens to more than
one -dbg package, their relative ordering gets inverted in the new list.
This tries to fix these issues by sorting the packages by (priority,
original position), where priority is 10 for -src, 30 for -dbg and 50
for everything else. That guarantees that packages of the same "type"
preserve their relative ordering, while also ensuring that -dbg always
preceed other packages. This scheme is also quite extensible, and,
should the need arise, one could even expose the priorities as a knob
the recipe author could use to ensure specific orderings of packages
instead of the somewhat fragile and coarse-grained method of "prepend or
append, and ensure you do that in a proper order".
Probably the autodebug condition needs to stay, but I think the
split_source_package condition in the preceding elif should be removed,
so that that logic applies to all packages called -src, not just the one
we might have created a few lines above.
(From OE-Core rev: 805edbc7dc9ceae00d991f9b4e185bbbe1d3ba45)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gbm is checked in configure.ac:
AC_ARG_ENABLE(drm-compositor, [ --enable-drm-compositor],,
enable_drm_compositor=yes)
AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes)
if test x$enable_drm_compositor = xyes; then
AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor])
PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0])
PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2],
[AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])],
[AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])])
fi
(From OE-Core rev: 73e9a5fc3234acda561f26cb915f4b636982ad63)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We got an error when building setools in meta-selinux:
setools/policyrep/qpol_wrap.c:1819:23:
error: cast between incompatible function types from 'PyObject * (*)(PyObject *)'
{aka 'struct _object * (*)(struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)'
{aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Werror=cast-function-type]
{(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
This is a swig issue. See: https://github.com/swig/swig/issues/1259
Backport a patch from upstream to fix it.
(From OE-Core rev: f0f8ee668de34ad30ca16f5300966a3470018940)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By leveraging the distro boot command feature in the u-boot, we can
compose the corresponding extlinux.conf when creating the wic image,
and let u-boot boot the kernel automatically. For more detail about
the u-boot distro boot command feature, please see doc/README.distro
in u-boot source files.
(From OE-Core rev: bdf8ae540af12ecc9ad60efd3651b0f71d12d3bd)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to add some u-boot specific config file. Before doing this,
we need know what files will be installed into this partition. So
move the codes about parsing the IMAGE_BOOT_FILES into
do_configure_partition(). No function change.
(From OE-Core rev: 3203037471c761f635d1f1c512cb623ff6977a41)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We choose to pass the source parameters to the source plugins' hooks
via a local variable srcparams_dict. So the Partition.sourceparams_dict
is not used by anyone and seems pretty confused. So drop it.
(From OE-Core rev: d7130a7d0e61021f71fec1d7ae7d37ebb27f0e03)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add definitions to the locale table for riscv architecture.
(From OE-Core rev: 624f6fd50da764cde71eb24e40742a48fa65d13c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section on the siteinfo.bbclass file had a paragraph indicating
base.bbclass included siteinfo.class. This is not true since
2010. I removed the paragraph.
(From yocto-docs rev: 5d39220baddc9db5c1182cea8447e5c4a2e42bd8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Final edits to this section. The procedure is more complete now.
(From yocto-docs rev: 5dcc32917c360e32475851b2b580d3d8bc988d7e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original link was to a deprecated site.
(From yocto-docs rev: 067094d10a8d02d0873deb87508377e896e4f3c7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The documentation of available names for TEST_TARGET has been
updated to match the convention of using the class names of
controllers.
This commit was modified some to make it work. Fixed some
formatting errors and isolated and changed missed instances.
(From yocto-docs rev: 1bec1dc38cdd1746ce6dd539f9c3e5665d12ab8e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Performed some edits to bring things in line for the "build host"
terminology.
(From yocto-docs rev: 4fedbdac437691b8a0f8d56931fcaad461c7463a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The title needs to use the terminology "Build Host" to be consistent
with the manual set. I updated the title and the many links into that
section.
(From yocto-docs rev: 930030433e58e6180ee4f95e559d079c3899defc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some terminology changes to be consistent with the
"build host" term.
(From yocto-docs rev: 8e00f6453cbc470c7572f2c18e23e44ce18a7336)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed the "Preparing the Build Host" section to consistently use
the terminolgy "build host".
(From yocto-docs rev: 6199dde0611b4f077dfb2ad1ebdcc1414c4a081a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fix involved a few other manuals.
(From yocto-docs rev: d2659951a458a8db773e8c1b2b86a7b109d667fa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found several areas that needed improvement. Made these
modifications.
(From yocto-docs rev: e2125363d39b9a54a371fc737cc9b55d66c9be59)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took out an occurrence of PACKAGE_WRITE_DEPENDS
(From yocto-docs rev: f7b2c7c08f3f504e14943a01e7fc0a73c96e9636)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some re-writes for clearity.
(From yocto-docs rev: a68619a2ba8b7877cde6c9ef7dbb726adc75b0cd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On second thought, the list I turned into a bullet list from the
previous commit was a bit hasty. That list is order dependent.
Reverted the list.
(From yocto-docs rev: 9ea640ffea2a2c9827f18070a5b287453c8653e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list appears to be not a numbered list. Fixed that. Also, provided
better wording around "exposing" the sstate-cache.
(From yocto-docs rev: 15c65db41c9e6eddf7d12e138f6c63755e845beb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Step 1 of the "Providing Updates to the Extensible SDK After Installation"
section really did not do much for the reader regarding setting up a
HTTP or HTTPS directory. I added more detail on how to generally do
that.
(From yocto-docs rev: ff250cea239668db5fe26aa912942c0d142833fa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made some suggestions on how and where to edit the SDK_TITLE
variable.
(From yocto-docs rev: 4a4393e00c7108eefaaeaa3951a75524589bf360)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added more detail to this section.
(From yocto-docs rev: 15beb33eadd03391a1af0c9bad0620cefad2a0e2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided more detail and a cross-reference into the SDK manual
where you can change the title through the variable.
(From yocto-docs rev: 9617fa70caef48328455a02d5260e536fac19c53)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable is the default installation directory for the
Extensible SDK. By default, it is "poky_sdk". You can override
this variable so it needed to be documented. The ideal place to
override it is in the distribution configuration file.
(From yocto-docs rev: 67eca50fa973073ce6e7975ab66b89b9706c25c0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are two sections that deal with this topic. One is from the
standpoint of a user using a 3rd party published and installed
extensible SDK ("Applying Updates to an Installed Extensible SDK").
The other is from the standpoint of a person providing Extensible
SDKs for consumption ("Providing Updates to the Extensible SDK
After Installation"). These sections needed some closer examination
regarding fully describing what was going on. I provided some
re-writes to both.
(From yocto-docs rev: 1c60b13b5f1813d6e3688e1efce32b7f31422e86)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The title for the section on how to effect changes to an installed
extensible SDK is better suited as "Providing Updates to the
Extensible SDK AFter Installation."
(From yocto-docs rev: 2120ba194abada1769be28ae2737ac12a16adebc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In "Providing Updates After Installing the Extensible SDK" section,
Step 1 had a bit of a grammar error. Not technically, but it
could have been written better. I fixed that.
(From yocto-docs rev: 20f1cad5a813697afd99837699bf52a6586893bb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added more information on how this is done. Still could use a bit
of detail on how you actually do it.
(From yocto-docs rev: 007bbe40fd11a5f880adf7ad8137d1535f08c815)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided some real detail on this variable. It was woefully brief.
(From yocto-docs rev: 4282fabddc81bf4c0fbd0a641ec4f1e9754660c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a cross-reference to the "DISTRO_NAME" variable as it is
the long version of the distribution name.
(From yocto-docs rev: bb5638409faadb9c6a5fbca729e4e6b8a220433d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated this section with clearer text.
(From yocto-docs rev: 433388ff37297d905c465a5f05d93953dfe062c5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made improvements to this section and tied the variables together
for the explanation.
(From yocto-docs rev: de882b81ed8525dee5e10f247cc6f5c8f15e0f72)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wording did not match that of similar SDK variables.
(From yocto-docs rev: 696eb9ff0b89222dc696adc0bd28247c0a0c731a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put in a cross-reference to the section in the sdk-manual where it
talks about customizing the configuration of the extensible SDK.
(From yocto-docs rev: 062db19dd56cc1827ebd7614eb8a54660421df62)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added information on the class in which the default is set. Also,
put in a reference for more information on customizing the
extensible SDK configuration.
(From yocto-docs rev: a0145996aeac1bb45fea9f613789b00327f92d1e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enhanced this description by indicating the class that it is set in
and by including a pointer back into the sdk-manual where filters
are described for extending the extensible SDK.
(From yocto-docs rev: 355b05366aadc337ec3337c0a3c918a23027923b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more detail including the class that sets the default variables
for exclusion and the list of actual variables that are excluded by
default.
(From yocto-docs rev: f24287851998d554575c6aaf9dcc50d198931e48)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This figure had changed. I updated the file and folder hierarchy.
Also fixed some wording.
(From yocto-docs rev: 359292397781f9f5eac2fb693d89ec286ddf9940)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure was incorrect for the installed file and folder hierarchy
for a standard SDK. I updated it. This figure goes in both the sdk-manual
and the mega-manual.
(From yocto-docs rev: a0dc11ce74bba0a18f385d9800f93524340ed033)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Verified a good example and updated the text to match that example.
(From yocto-docs rev: 053467557ef22ce37762222a2997ff9c10be87e8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value of SDKMACHINE must match the architecture of the machine
on which the SDK installer is being built if you are building an
installer for an extensible SDK. I added a note to this effect.
(From yocto-docs rev: ffdd9a9d00cccf270b5aa236279e6eeea0ff47ed)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Opening a file in binary mode and iterating it seems like the simple solution
but will still break on newlines, which for binary files isn't really useful as
the size of the chunks could be huge or tiny.
Instead, let's be a bit more clever: we'll be MD5ing lots of files, but we don't
want to fill up memory: use mmap() to open the file and read the file in 8k
blocks.
(Bitbake rev: a0ac8d67f1471a0c611d691b856fede67efb53f6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a heap allocated string to set arg_ifname, since a stack allocated
one would be lost after the function returns. (This last one broke the
case where an interface name was suffixed with a dot, such as in
`resolvconf -a tap0.dhcp`.)
(From OE-Core rev: 48775d2f02d6d4024403796b81d6398f3028b965)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Simon Ausserlechner <simon.ausserlechner@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package for the firmware required by the Marvell 8997 chipset when
connected over USB.
(From OE-Core rev: 650a33d88abfa42936b61465d2a4d42da53d4018)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it more suitable to work with, e.g., devtool. It also
prepares for the update to 0.47.0 when the first patch will no longer be
needed (as it is a backport).
(From OE-Core rev: e1297f9a951b1dbafd0e211be63b348f06b1f3cd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let pkgconfig figure out headers and libraries instead of manually
forcing waf to do it.
(From OE-Core rev: 283026adda7c184e213dacd7f4e42678c304866a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PCMCIA is pretty rare these days, so now that the recipe is in meta-oe we can
remove it from oe-core.
(From OE-Core rev: 0f8dcb9c717201c4b1edf4fa55880b432bfb7723)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
See https://bugs.freedesktop.org/show_bug.cgi?id=35268
mesa should infact stop using __attribute__((tls_model("initial-exec")))
until then we disale TLS in glx for musl
The problem could happen even on glibc if static TLS sizes are large enough
which would mean that additional space the glibc leaves for such rogue libraries
get consumed and then same problems show up there as well
Fixes errors seen in xorg logs e.g.
(EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: Error relocating /usr/lib/libGL.so.1: _ITM_deregisterTMCloneTable: initial-exec TLS resolves to dynamic definition in /usr/lib/libGL.so.1
enable readonly text segment on x86 for musl
(From OE-Core rev: f3a59540d0d1f7ab42ba7cb5ff1a26ac3a8a9f68)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sparseness test was sometimes working and sometimes failing depending
on whether sstate was valid. This adds an explict test of sstate
to the test for both hardlinking and sparseness. Tweak the test name to
cover the fact its tests sparseness too.
(From OE-Core rev: fe5b37c07b6d07c350516ab6bf849d6d86a84004)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Files when restored from sstate were missing their sparseness. Fix up various
functions to preserve this and make things more deterministic.
(From OE-Core rev: 055402e5504f041c346571e243c7cf0894955cad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parsing all the recipes is annoying when trying to re-execute oe-selftest
and also unnecessary as its really just a sanity check. When the tests were
originally being developed the guard was useful but less so now.
Replace it with bitbake -e which is fast and checks the basic configuration
is valid.
(From OE-Core rev: acec5180b8d2731002979179e08439b615631e70)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you build qemux86 and then generic86, the latter will
remove all of the former from deploy and workdir. This is because
qemux86 is i586, genericx86 is i686 and the architctures are compatible
therefore the sstate 'cleaup' code kicks in.
There was a valid reason for this to ensure i586 packages didn't get into
an i686 rootfs for example. With the rootfs creation being filtered now, this
is no longer necessary.
Instead, save out a list of stamps which a give machine has ever seen in
a given build and only clean up these things if they're no longer
"reachable".
In particular this means the autobuilder should no longer spend a load of time
deleting files when switching MACHINE, improving build times.
(From OE-Core rev: 5634f2fb1740732056d2c1a22717184ef94405bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to rpm, use copies of the ipk/deb directories for rootfs construction.
This means the image creation code can no longer "see" recipes wich aren't in its
dependency chain which is good for a variety of reasons including determinism,
incompatible recipe (e.g. systemd/sysvinit) package conflicts and locking
performance.
(From OE-Core rev: c7c5f4065c102fde4e11d138fb0b6e25bffe0379)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is generic, tweak the variable names and move out the rpm specific
directory name to make it truly generic and reusable for deb/ipk.
(From OE-Core rev: dba876639b1fb8ea3ccb182c91e19966c4052115)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale code uses the archive location in two places, ensure both are
corrected to use the environment variable which avoids nasty build
failures when archiving locales in images.
(From OE-Core rev: 3ab1249a2ac92a0fcb008e92cc9ee272441408f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor the locale archive function from the SDK to also make it work during
general image creation. This reduces the size of the locales from 900MB to 220MB
in core-image-lsb-sdk.
The exception handling around subprocess was dropped as the standard subprocess
exception printing is better handled than the catchall exception.
(From OE-Core rev: 8ffd93bdb09b0a4a84b27dafcd684c6abba392ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new element to the hardlink test to check we also preseve file
sparseness during the packing process. This should ensure we don't regress this
issue again.
(From OE-Core rev: 0a4e6974b49bf68c4a4098d339b5d655e202a3fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
screen uses crypt() so add the missing DEPENDS triggered by glibc 2.28.
(From OE-Core rev: 77ca6be2bcac35a54546b0b468a4d68e8cc8b894)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc needs make >= 4 yet some of our build workers have older versions of
make. Add a make-native dependency to work around this until all our supported
distros have a recent version of make.
(From OE-Core rev: 0cd89e4af625941f8ab8c033f72f900a2979b304)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop packaging libcrypt from 2.28+ onwards
We have independent crypt implementation coming from libxcrypt
(From OE-Core rev: 6146b8c4216daf56a69f4e3531861302df6a63a2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virtual/crypt for musl will come from libc itself
(From OE-Core rev: e0ed7d74e61294a986f72a531b23f7e67922de29)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configure tests crypt() existence with:
dnl We test for crypt() specially. On Linux (and others?) it resides in libcrypt
dnl but we don't want link all binaries to -lcrypt, just dropbear server.
dnl OS X doesn't need -lcrypt
AC_CHECK_FUNC(crypt, found_crypt_func=here)
AC_CHECK_LIB(crypt, crypt,
[
CRYPTLIB="-lcrypt"
found_crypt_func=here
])
AC_SUBST(CRYPTLIB)
if test "t$found_crypt_func" = there; then
AC_DEFINE(HAVE_CRYPT, 1, [crypt() function])
fi
but that silently fails with glibc-2.28 and a bit later do_compile fails with;
http://errors.yoctoproject.org/Errors/Details/185895/
../dropbear-2018.76/sysoptions.h:237:3: error: #error "DROPBEAR_SVR_PASSWORD_AUTH requires `crypt()'."
#error "DROPBEAR_SVR_PASSWORD_AUTH requires `crypt()'."
^~~~~
Add dependency on virtual/crypt so that do_configure detects it correctly.
(From OE-Core rev: d04703aef55e01c59329fc54660724e053f3f66c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I'm not using glide, so I'm not going to fix it proplerly,
it was just bothering me in world builds
* this is reproducible only with ptest in DISTRO_FEATUREs (for aarch64
issue) and included security_flags.inc, more specifically with the PIE
flags, so alternative work around is:
SECURITY_CFLAGS_pn-glide = "${SECURITY_NOPIE_CFLAGS}"
(From OE-Core rev: a6295bc505df635ab3b66100d4ee7567c49f907e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I'm not using go or go-dep, so I'm not going to fix it proplerly,
it was just bothering me in world builds
* this is reproducible only with ptest in DISTRO_FEATUREs (for aarch64
issue) and included security_flags.inc, more specifically with the PIE
flags, so alternative work around is:
SECURITY_CFLAGS_pn-go = "${SECURITY_NOPIE_CFLAGS}"
SECURITY_CFLAGS_pn-go-dep = "${SECURITY_NOPIE_CFLAGS}"
(From OE-Core rev: b689c72ad2dc84b8bb55ecbf72d95701707b9bb3)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case something goes tragically wrong, catch a request to checksum / and
refuse.
(Bitbake rev: e7cd4c86ef8a2c2bbf068e84c83fdc9e052b6e3d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We assume that LIC_FILES_CHKSUM is a file: URI but don't actually verify this,
which can lead to problems if you have a URI that resolves to a path of / as
Bitbake will then dutifully checksum / recursively.
[ YOCTO #12883 ]
(From OE-Core rev: e2b8a3d5a10868f9c0dec8d7b9f5f89fdd100fc8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bzip.org domain expired and is now a holding site for adverts, so we can't
trust a tarball that appears on that site (luckily we have source checksums to
detect this).
For now, point SRC_URI at the tarball in the Yocto Project source mirror, but
set HOMEPAGE and UPSTREAM_CHECK_URI to the sourceware.org/bzip2/ page which
apparently will be resurrected as the new canonical home page.
(From OE-Core rev: 9e291d9923efc988abe8689c64bafbb29da06339)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to preserve sparse files when building the system, add the option
to tar to ensure we do this when copying files.
(From OE-Core rev: d86da5ae386a8129a966a53901de160823f4d250)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SafeConfigParser class has been renamed to ConfigParser in Python
3.2+ see
http://bugs.python.org/issue10627
This alias will be removed in future versions.So we can use
ConfigParser directly instead.
(From OE-Core rev: 3c05c8fff779bd190b31fa8aa16b7a1b24420a60)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A missing src directory from a broken kernel recipe resulted
only in a warning:
WARNING: copyfile: stat of /home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch failed ([Errno 2] No such file or directory: '/home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch')
and the build failed horribly.
With this change it's an error which can not be missed:
ERROR: perf-1.0-r9 do_configure: Path does not exist: /home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch. Maybe PERF_SRC does not match the kernel version.
ERROR: perf-1.0-r9 do_configure: Function failed: copy_perf_source_from_kernel
ERROR: Logfile of failure stored in: /home/builder/src/tmp-glibc/work/target-linux/perf/1.0-r9/temp/log.do_configure.21083
NOTE: recipe perf-1.0-r9: task do_configure: Failed
ERROR: Task (/home/builder/src/poky/meta/recipes-kernel/perf/perf.bb:do_configure) failed with exit code '1'
To get get perf compiling from a custom kernel, a perf.bbappend can be
created which defines PERF_SRC as list of files and directories needed
from kernel source tree to compile perf. This varies between kernel
versions.
(From OE-Core rev: c392dabefc431dbfb31d6a1465c75ba9cc765804)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The log entry in results is altered to remove 'target_logs'. This
causes wrong log location in output.
e.g.
AssertionError: 1 != 0 : Log: /path/to/image/1.0-r0/postinstall.log
But when user wants to check the log, the user will find the log is
not present. The actual log file is /path/to/image/1.0-r0/target_logs/postinstall.log.
So fix to use the correct log location.
(From OE-Core rev: df3a2e21648d6b649ebda7e6032afbd63c939f2b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make man-db rdepend on base-passwd to ensure that base-passwd is
installed before man-db at rootfs time. This is to avoid the following
warning at rootfs time.
warning: user man does not exist - using root
(From OE-Core rev: 95162276b169b84d61eaa73416cf0838a0a8a8bd)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add volatile configuraiton file for man-db so that in sysvinit systems
we don't get failure when running `mandb'. The error message is like
below.
mandb: can't create index cache /var/cache/man/579: No such file or
directory
[YOCTO #12872]
(From OE-Core rev: 2c480b363ae80dcc55ec0228f8af0311e023fbf4)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop the nspr-config scripts conflicting in a multilib case.
(From OE-Core rev: b13fa9bf966bb6f132e82b94bf1ecf4b2e095dbe)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error: Transaction check error:
file /usr/include/event2/event-config.h conflicts between attempted installs of libevent-dev-2.1.8-r0.skylake_64 and lib32-libevent-dev-2.1.8-r0.x86
The conflict is the size macro definition between 32bit and 64bit
such as:
< #define EVENT__SIZEOF_LONG 8
> #define EVENT__SIZEOF_LONG 4
< #define EVENT__SIZEOF_PTHREAD_T 8
> #define EVENT__SIZEOF_PTHREAD_T 4
(From OE-Core rev: 49f979b13f1bc6ece0f343d41421aba43f8d9e21)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current handling of resize is incorrect. Using `resize > /dev/null
2>&1 && resize > /dev/null' will cause the second resize command to not
execute because 'resize > /dev/null 2>&1' will fail for resize utility
from busybox.
What we really should do is just to check whether ${bindir}/resize
is executable and execute it if so. Using '-x' is sufficient.
(From OE-Core rev: 41688279cba3a5afc4fdc65fd245b9bb6ada695e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move init related configs to init.cfg.
These config items do not make much sense unless busybox is selected
as the init manager. They should belong to init.cfg.
(From OE-Core rev: 4af10fe67a31368163bb5d468ee2c5a85ce0fff3)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix nullptr deref with XPath logic ops
If the XPath stack is corrupted, for example by a misbehaving extension
function, the "and" and "or" XPath operators could dereference NULL
pointers. Check that the XPath stack isn't empty and optimize the
logic operators slightly.
CVE: CVE-2018-14404
(From OE-Core rev: 69315177732a1d260a3315fe8c4c4c44653ae0c8)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If multilib scripts handle more than one file per package, the variable
ALTERNATIVE_${PN} will be overwritten and there will be only one symbol
link file. Append to the variable to avoid this.
(From OE-Core rev: f474a7ed02acaffe5d0fcc67e06dde17fc8e4d0e)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoids producing different build results in different timezones.
Uses UTC with SOURCE_DATE_EPOCH.
(From OE-Core rev: b159cb615feb7f27f8d2afc71f547742bb19cde0)
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The devtool-source class moves all local files specified in SRC_URI to
an oe-local-files directory. When using devtool and a recipe space kernel-meta,
devtool modify throws an error because the paths the kernel-yocto class
is looking for feature directories in, don't include the oe-local-files
directory which devtool is using.
This patch checks for feature directories in oe-local-files,
and if present, adds that path to include directives.
[YOCTO #12855]
(From OE-Core rev: 4eceae7e3e6dab935e2cf49b75148139192fc6e7)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using a recipe space kernel-meta, scc files are added through
SRC_URI, but they may include corresponding kernel fragments or patches
that are not necessarily in SRC_URI.
For bitbake, this is not a problem because the kernel-yocto class adds
the path where the .scc file was found to includes which consequentially
makes the .cfg, .patch file available to the kernel build.
However, when using devtool, only files specified in SRC_URI are copied
to oe-local-files in devtool's workspace. So if the cfg/patch file is not in
SRC_URI, it won't be copied, causing a kernel build failure when trying
to find it.
This fix parses local .scc files in SRC_URI, copies the corresponding
.cfg/.patch file to devtool's workdir, and also adds it to local_files
so it is available when doing a devtool build for the kernel.
[YOCTO #12858]
v2: also supporting patch not in SRC_URI
v3: fix spacing issues
(From OE-Core rev: 5dffd5403664dfcc9e8e42fd3581d5cb70823d7e)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a system without ccache, f you:
INHERIT += "ccache"
bitbake libtool-cross
<remove INHERIT>
bitbake apmd
then it fails due to being unable to find ccache. The references to ccache are
coded into libtool-cross but the sstate checksum doesn't reflect this due to the
way the class is coded (output should be the same regardless).
The simplest solution is to remove references to ccache from the libtool script.
The output then works regardless of whether ccache is present or not. The
libtool-cross script is only used in a handful of cases (most of the time its
dynamically generated by autoconf) so any performance issue is minor.
(From OE-Core rev: ed550a49d2114c56e5bc033ecd0e83073d2d4067)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the generic whitelist entry with entries for the three specific
'problem' cases in OE-Core. This means the general DEPLOY_DIR_IMAGE entry
doesn't mask problems for others as was recently encoutered by users
reported on irc. In the whitelisted cases they occur only in multilib builds
and the files are identical.
(From OE-Core rev: 05f6042a40bb772f7ce8d6819c5b2937d8c9808d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OETestDepends doesn't work with parallelism and in this case we don't
really need this dependency, it would just short out some tests quickly
in the rare case the esdk environment was broken.
Currently this is masking tests which is a much worse problem and we
can't make OETestDepends work reliably with parallelism so drop the
dependencies.
(From OE-Core rev: b3b1e1881240b8e2a32dd5c1dc3b7387f0819576)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting CMAKE_SYSROOT in the toolchain file allows CMake to correctly
remove user-provided system include directories pointing to
<sysroot>/usr/include. The mentioned projects failed with "stdlib.h:
No such file or directory #include_next <stdlib.h>".
(From OE-Core rev: cb42802f2fe1760f894a435b07286bca3a220364)
Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Raphael Freudiger <raphael.freudiger@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perlpath.pl script is used to patch the #! lines in all perl
scripts in the utils directory. However, as these scripts are run via
e.g. "perl foo.pl", they don't actually rely on the #! path to be
correct (which can be confirmed by the observation that the path is
currently being set to ${STAGING_BINDIR_NATIVE}/perl, which doesn't
exist).
(From OE-Core rev: ba88fe46d47846042518a5a1017d782ba548202c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SERIAL_CONSOLE was already deprecated in 2013, yet still some
machine configuration files were using it. This patch replaces
it with SERIAL_CONSOLES, which is the successor.
The default value in systemd-serialgetty.bb can also be safely
transitioned from SERIAL_CONSOLE to SERIAL_CONSOLES, as this
recipe already uses SERIAL_CONSOLES within do_install().
The documentation seems to be already up do date.
beaglebone-yocto.conf in the bsp-guide already uses
SERIAL_CONSOLES. The ref-manual redirects from SERIAL_CONSOLE
to SERIAL_CONSOLES.
[YOCTO #12653]
(From OE-Core rev: e5bde3d466869df9fce559e49842ac245153d045)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building with `clang -target bpf` using the
multilib_header, a recursion was unavoidable because
bits/wordsize.h would #include itself, still lacking
a definition for __MHWORDSIZE or __WORDSIZE.
(From OE-Core rev: 70b41b3c335a80b4ac243f468f22331d261299db)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As reported by ChenQi, leaving bits/wordsize.h out of being
multilibbed introduced a problem in building the SDK for
arm64:
Error: Transaction check error:
file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.27-r0.armv7vet2hf_vfp and libc6-dev-2.27-r0.aarch64
This effectively reverts commit a74c77d6.
(From OE-Core rev: 90ad502bf8faa233e25cf297c1eeefcb0367aea3)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* let manpages.bbclass to enable manpages PACKAGECONFIG based on
api-documentation DISTRO_FEATURES
PACKAGECONFIG_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages','', d)}"
* it's true that building man-pages without manpages being enabled
doesn't make much sense, but it's included through couple
packagegroups:
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb: man-pages \
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb: man-pages \
or in world even for people who might not be interested
in man-pages
(From OE-Core rev: dc13bf30b54855f1db07b415fa4395f7e0bfc4db)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Prefer collections.abc (new in Python 3.3) over collections for abstract base classes
- In Python 3.8, the abstract base classes in collections.abc will no longer be exposed in
the regular collections module. This will help create a clearer distinction between
the concrete classes and the abstract base classes."
- https://docs.python.org/3.7/whatsnew/3.7.html#deprecated
- see c66f9f8d39
(From OE-Core rev: e763151e1f7cfe9ea56de06f41769f8a3d74d219)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need target gettext to build, but nativesdk-gettext-dev (for nls.m4).
(From OE-Core rev: 0474326d79b7675dabe63f691733e8c6b24b2fb0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add x86_64-pep emulation support to the set enabled for x86_64 targets
to enable the linker to produce Portable Executables for EFI binaries.
Enables building the x86-64 EFI variant of the Xen hypervisor for
the OpenXT Project.
(From OE-Core rev: 3d493838f0284948a09693ad65656cb7afbb21cc)
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Executing strip action on kernel modules removes the signature.
Is not possible to strip and keep the signature, therefore avoid
strip signed kernel modules.
(From OE-Core rev: 4c47e5f171fa2603355e2f9183065ce8137a18c7)
Signed-off-by: Omar Ocampo <omar.ocampo.coronado@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is an oversight in the current hash validation API in that the
function can't know how many setscene tasks already completed. Rather
than trying to add additional parameters to the function, causing
incompatibilities, store the value in the datastore.
This is useful to allow build status reporting to the user for
figures on sstate reusage and build completion.
(Bitbake rev: ec037d3e49264037b81212f498d98e292ae7c334)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the user has no indication of how much sstate was already present
or that would be used by the build. This change adds some summary information
so that the user can see how much reuse is occurring. To fully work it
needs some extra information from a recent bitbake commit but this is
optional.
When combined with bitbake --dry-run this feature can be used to check
if sstate would be reused in a build.
[YOCTO #12749]
(From OE-Core rev: 596f76029ccb6f87c3b049552bd08f5034c41d9c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssl Configure script will only select standalone makedepend
(vs running "$CC -M") when building with gcc < 3.x or with an Apple
Xcode version which predates the switch to clang (in approx 2010?).
Neither of these cases are possible when building under OE, therefore
the dependency on makedepend-native can be dropped (ie align the
openssl 1.0 recipe with the 1.1 recipe, which has dropped the
makedepend-native dependency already).
(From OE-Core rev: 4c5bd69e5cb203c8a4c2f3716c941661c0afc830)
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>
Fixes
ERROR: libidn2-2.0.5-r0 do_package: QA Issue: libidn2: Files/directories were installed but not shipped in any packag
e:
/usr/lib/charset.alias
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or del
ete them within do_install.
(From OE-Core rev: 3f3899e9e68aae2d43cd41e2f0760ac9da6e86e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess
calls.
(From OE-Core rev: 2f44b9b5babf8c95340b141917c1142081f1e594)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were a lot of assumptions in the controller import
code of context.py which were not true anymore. These
assumptions reflected themselves by catching exceptions and
re-raising them with unhelpful error messages in other parts
of the code.
This commit does not fix the classes controller classes that
became broken after the refactor but at least it allows for
the exceptions to be thrown where the imports fail, thus
actually showing what exactly went wrong with the import.
An example of such an improvement is that before if the
controller class failed during it's init contructor the
controller would just be skipped and the task would just
complain it could not find the controller. Now for example,
if there is a NamerError due to a variable not being
declared, the user will get that report.
(From OE-Core rev: 719b0e88b875b067551067874778061f99b8c4b4)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with thumb and debug enabled libjpeg-turbo gets stuck forever
when building for qemuarm.
libjpeg-turbo gets stuck in:
libjpeg-turbo/1_1.5.3-r0/build$ arm-webos-linux-gnueabi-gcc -march=armv5te -mthumb -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security --sysroot=libjpeg-turbo/1_1.5.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../libjpeg-turbo-1.5.3 -Wall -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -c ../libjpeg-turbo-1.5.3/turbojpeg.c -fPIC -DPIC -o .libs/libturbojpeg_la-turbojpeg.o
when -mthumb, -fstack-protector-strong, -fno-omit-frame-pointer appear
together, removing one of them is enough for successful build.
similar to:
http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150654.html
but in this case the build gets stuck instead of failure
(From OE-Core rev: 70af5f22f7a52fb4cbe64486948bcb2425a56d9e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with thumb and debug enabled bash gets stuck forever when building for qemuarm.
bash/4.4.18-r0/build/builtins$ arm-webos-linux-gnueabi-gcc -march=armv5te -mthumb -fstack-protector-strong --sysroot=bash/4.4.18-r0/recipe-sysroot -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../bash-4.4.18 -I../../bash-4.4.18/include -I../../bash-4.4.18/lib -I../../bash-4.4.18/builtins -O -fno-omit-frame-pointer -g -DNON_INTERACTIVE_LOGIN_SHELLS read.c
when -mthumb, -fstack-protector-strong, -fno-omit-frame-pointer appear
together, removing one of them is enough for successful build.
similar to:
http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150654.html
but in this case the build gets stuck instead of failure
(From OE-Core rev: ae41e1f263d20d5d83b2a7ca95dc955840d793e1)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using syslog-ng as the syslog provider, oe_syslog test case fails
because it cannot find the syslog daemon. This is because it greps for
'syslogd' but syslog-ng's daemon is 'syslog-ng'. So fix it to check both
'syslogd' and 'syslog-ng'.
Also, when the test case fails, what I get is:
| AssertionError: 1 != 0 : No syslogd process; ps output:
<empty here>
This does not help user. The output is actually from the 'PS | GREP' command.
And when the 'PS | GREP' command fails, the output is always empty. So also fix
this problem. After the change, it looks like:
| AssertionError: False is not true : No syslog daemon process; ps output:
| PID USER VSZ STAT COMMAND
| 1 root 16476 S {systemd} /sbin/init
| 2 root 0 SW [kthreadd]
| 3 root 0 IW [kworker/0:0]
...
(From OE-Core rev: b180fbd9d93db1c6351e183fbc08fc81cdc240c0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using os.path.getmtime() will dereference symbolic links in an attempt
to get the last modified time. This can cause errors if the target
doesn't exist, or worse map to some absolute build host path which would
make a build not reproducible.
(From OE-Core rev: fae23c72288068f90e2f357a8abf1384850c02ed)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Distros which have glibc 2.28 on them otherwsise fail
to build due to some syscall mismatches
(From OE-Core rev: 990a9c944375146bb3f0208b30e8b7f50239cef5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has several fixes to get it building with glibc 2.28+
remove backported patch which is not needed now
(From OE-Core rev: f1dc6b5eebf455c46036e200c1eaff34ebd50db1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This bbclass implements the device tree compilation for user provided
device trees. In order to use this class, it should be inherited in a
BSP recipe which provides the sources. The default setup enables
inclusion of kernel device tree sources (though can be disabled by the
recipe by overriding DT_INCLUDE or KERNEL_INCLUDE).
This provides an additional mechanism for BSPs to provide device trees
and device tree overlays for their target machines. Whilst still
enabling access to the kernel device trees for base SoC includes and
headers.
This approach to providing device trees has benefits for certain use
cases over patching the device trees into the kernel source.
* device trees are separated from kernel source, allows for selection of
kernel and or kernel versions without needing to explicitly patch the
kernel (or appending to the kernel recipes).
* providing device trees from separate sources, from the layer,
generated by the recipe or other recipes.
This class also implements some additional features that are not
available in the kernel-devicetree flow. This includes population of
device tree blobs into the sysroot which allows for other recipes to
consume built dtbs (e.g. U-Boot with EXT_DTB compilation), device tree
overlay compilation and customizing DTC compilation args (boot
cpu/padding/etc.).
(From OE-Core rev: 3874c3859c3515fc8440fa9e776a02ad6ff3135c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Acked-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1.Upgrade icu from 61.1 to 62.1.
2.0001-i18n-Drop-include-xlocale.h.patch has been merged.
(From OE-Core rev: 8be6cfb97ea8d5a7938c1ccbf8218a7bfa5e86a2)
Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The second test is designed only to run after the first so we may as
well merge these together into one.
Also, use DEPLOY_DIR_IMAGE rather than constructing paths by hand. Drop
the misleading comment which was likely due to the original code reading
DEPLOY_DIR_IMAGE before setting MACHINE. Only read the variable once
which reduces bitbake -e calls.
Merge the setup/build functions into the main test as there is no other
use of them.
Also ensure the main second test pieces aren't masked out by a missing
file without showing test failures.
(From meta-yocto rev: 1b46e2c1acd2c0cd557740220bbc3ccb77dae127)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build target won't cause the package task to run if things were already
built and in sstate. Ensure we run the package task explicitly to ensure
the test works as intended.
(From OE-Core rev: be20eb4f4ad77d9444028ca9632b74d5866d96b8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This causes regression on build machines where libunistring is installed
on host. It is also because gnuts is using non standard AC macro called
AC_LIB_HAVE_LINKFLAGS to detect this library and it confusing cross builds.
This reverts commit 60fef4940de7f0440f1216eb2ea0ea683b3e8fdd.
(From OE-Core rev: d8d32b5a58eea161711e3539c4530682de551ede)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When net-tools is built and the local patches haven't been applied, then
`quilt pop -a` will climb parent directories attempting to find a
{patches/.pc} directory; if this succeeds then we end up popping off
some completely unrelated patches from a parent directory.
Ensure that we do have a local patches directory and then turn off the
directory climbing so that we avoid this problem.
(From OE-Core rev: 61522645a1ccc8342706960efe90896001e94a8b)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleans up the packaging by moving libasound.so.2 back into the alsa-lib
package which was previously empty.
Previously, it was difficult to create an image that had libasound.so.2,
then create an SDK from that image that had the proper development
files, because the only way to get libasound.so.2 was to do:
IMAGE_INSTALL += "libasound"
This however caused a problem because all of the development files that
would be desired in the SDK were located in alsa-lib-dev, which wouldn't
be included because alsa-lib wasn't included, and it was impossible to
include alsa-lib because it was an empty package that was culled.
(From OE-Core rev: c2fc6f87f8bbf4bc28f9adc45f116b2a692ea804)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix the license, as this is GPLv2+ not just v2.
(From OE-Core rev: c372bb230640e76af13795433adc76f506e12cc6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new SDK testcase that builds assimp, a project that uses cmake.
Using TARGET_ARCH and TARGET_OS which is now exported into the environment,
check that the generated binaries match the ELF headers we expect.
(From OE-Core rev: b4acfa11b35b47c86d2d83d7b0693284a8dc7495)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's useful for the SDK to know exactly what TARGET_ARCH and TARGET_OS are,
specifically for SDK QA.
(From OE-Core rev: 0b5f1b0430efac8129bca330370d8818ea93bb39)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CMake, in it's infinite wisdom, when searching for libraries (using
find_library) will look inside the libraries PREFIX/lib, PREFIX/lib32, and
PREFIX/lib64. In a multilib SDK more than one of these will exist (potentially
all three) and obviously for a given build configuration only one of those is
valid. This search path is hard-coded deep inside CMake but by setting
CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX we can bypass it and set an explicit
lib<SUFFIX> to use.
Do this by writing ${baselib} into the environment file, and then stripping
"lib" from this to obtain the suffix in the cmake-specific environment script,
which is then read in the CMake toolchain.
(From OE-Core rev: 47160a8c51310f2b40cabf4c1910b5df6e0a15d6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error appeared at boot.
systemd-tmpfiles[115]: [/usr/lib/tmpfiles.d/man-db.conf:1] Unknown user '1w'
By default cache owner is enabled and defaults to 'man'. Users could
supply '--enable-cache-owner=[ARG]' to change the default cache owner.
Using '--disable-cache-owner' leaves the ownership of system-wide
cache files unconstrained, and users will allowed to modify them.
We'd better keep the default behavior, just like other distros do.
I can guess that we used '--disable-cache-owner' to bypass the following
error at do_install.
| chown: invalid user: ‘man:man’
The 'man' user is provided by base-passwd recipe, so add it to DEPENDS.
(From OE-Core rev: 7080df4b6bc50440eed600e81f2c6fa76a80623d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change lsupdates.py to use the new layerindexlib module to load the data from
the public layer index. It still does all of the manual parsing. This
is intended to be a stop gap until the toaster can use the module itself to
manage the data.
Everything else is functionally equivalent to the prior version.
(Bitbake rev: 8e482342c652e298b5f5ea58eda72c5eb14ce2bd)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Display changes:
The output will now include references to the layers that the user already
has on their system. It does this by querying the cooker derived index.
The code that enables this behavior is labeled as 'TODO' currently. As
part of the work we need to make a final determination if this is the
desired output.
Also changed the default branch to no longer define itself as 'master'.
When the user does NOT set a branch, the default is now the
'LAYERSERIES_CORENAMES', and if that doesn't exist 'master'. This is
subtly different in behavior, but more consistent with user expectations.
(Bitbake rev: 478c4b5489943f756ae03d6b6d3b5d665cedbce0)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The layer index module is expected to be used by various parts of the system
in order to access a layerindex-web (such as layers.openembedded.org) and
perform basic processing on the information, such as dependency scanning.
Along with the layerindex implementation are associated tests. The tests
properly honor BB_SKIP_NETTESTS='yes' to prevent test failures.
Tests Implemented:
- Branch, LayerItem, LayerBranch, LayerDependency, Recipe, Machine and
Distro objects
- LayerIndex setup using the layers.openembedded.org restapi
- LayerIndex storing and retrieving from a file
- LayerIndex verify dependency resolution ordering
- LayerIndex setup using simulated cooker data
(Bitbake rev: fd0ee6c10dbb5592731e56f4c592fe687682a3e6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a layer is added it needs to be in a list, otherwise the system will
error such as:
Specified layer directory / doesn't contain a conf/layer.conf file
Additionally, instead of calling the add layer function over and over, it
is better to add all of the new content in one command. Otherwise the
order is important as the system now checks if the layer can be added. For
instance, trying to add meta-python:
Layer Required by Git repository Subdirectory
===================================================================================================================
meta-python - git://git.openembedded.org/meta-openembedded meta-python
meta-oe meta-python git://git.openembedded.org/meta-openembedded meta-oe
openembedded-core meta-python git://git.openembedded.org/openembedded-core meta
Adding layer "meta-python" (.../oe-core/meta-openembedded/meta-python) to conf/bblayers.conf
ERROR: Layer 'meta-python' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
The system would try to add meta-python before the dependent meta-oe. Adding
them both at the same time resolves this issue.
(Bitbake rev: 8aeaabf13db645f33495e00b82117327e153d70a)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that kernel-modules are not included in x86-base.inc because of
changes done for YOCTO #12384, add them to RRECOMMENDS explicitly for
genericx86*.
(From meta-yocto rev: 0b78254b373c23f2c1a2bf7db0108a350266ab85)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemumips,qemumips64 and x86 based machines include kernel-modules by
default. Remove the kernel modules from RRECOMMENDS to make it consistent
across the machines.
Tested using core-image-sato on qemumips, qemumips64, qemux86 and
qemux86-64
[YOCTO #12383]
(From OE-Core rev: 1c4d9f46d5d94ea15d0c0d68c412ec05b9f51820)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot attempts to build a Python library called pylibfdt. By default,
u-boot would attempt to use the build host's Python interpreter, which
causes numerous problems, not least of which is that it fails if the
host doesn't have the Python development package installed (complaining
about not being able to find Python.h)
Rectify this situation by including the proper build time dependencies
for pylibfdt and passing the proper arguments to make.
[YOCTO #12867]
(From OE-Core rev: 3b0b16300b351878790729d6270cd113bca73eff)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of both classes using ${PYTHON_PN} (which is set by python-dir and
python3-dir), hardcode the right values so that it is possible to inherit both
pythonnative and python3native at the same time.
If both are inherited then both native Pythons are available, but the last to be
inherited will be the one to set PYTHON.
(From OE-Core rev: 96ccdadb8473daa3c9c2e1cb42fbdff1edd270d6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the configure fails then we don't really want to see hundreds of lines of
test output (this would be similar to dumping out autoconf's config.log). The
error includes the path of the full log if further debugging is required.
(From OE-Core rev: 09917f582aa1a7b752fa96303e06f9f4712a1d86)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Openssl 1.1 requires perl in order to build (just as openssl 1.0
does). The missing dependency has gone unnoticed up to now since
hostperl-runtime-native is included in ASSUME_PROVIDED.
(From OE-Core rev: ed5f8bb582453e7d8a1636ad1463380076209bd2)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Images that rely on dhcp being used won't have network setup properly
otherwise.
Fixes [YOCTO #12804]
(From OE-Core rev: fb4dd04f65ea78890c1102424765056d93e6ca65)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license file changes from README to README.rst, and the lines which
contains license info is from 1 to 20. The license is still Apache-2.0.
(From OE-Core rev: ef60510204013957d3aea3108ccd5fee72825293)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pam_wheel PAM module is used to enforce the so-called wheel group.
By default it permits root access to the system if the applicant user is
a member of the wheel group.
Add PACKAGECONFIG to enable pam_wheel module for sudo.
(From OE-Core rev: 7a46ca79b18527a56de470fcaaf95c870c097cf6)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
for core-image-minimal image, missing these two dependency
will cause below warning and error:
warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
./test/icu_parse_test.xml generated an error
(From OE-Core rev: 848031cf0b89b752c6fedcb63fc6938642a87fd8)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When adding multiple layers in a chain of commands, reparsing all recipes
each time can be painfully slow. Instead just parse the base configuration
which gives some confidence things worked out correctly without as much
overhead.
(Bitbake rev: cfd1302031f3cca96300a0e445a47b1614ecd00c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds the capability for tasks from different
multiconfigs to depend on one another.
These dependencies can be enabled using the following format:
task[mcdepends] = "multiconfig:FROM-MC:TO-MC:PN:task-to-depend-on"
For the sake of simplicity consider the following example:
Assuming we have set up multiconfig builds, one for qemux86 and one for
qemuarm, named x86 and arm respectively.
Adding the following line to an image recipe (core-image-sato):
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"
Would state that core-image-sato:do_image from x86 will depend on
core-image-minimal:do_rootfs from arm so it can be executed.
This patch makes modifications to:
- cooker: To glue both multiconfigs in one place and make sure
the dependencies can be provided.
- taskdata: To parse and add a new kind of dependency (mcdepends) to
the taskdata object.
- runqueue: To differentiate tasks from different multiconfigs,
add the specified dependencies to the corresponding tasks, and
create a working runqueue that contains tasks from both multiconfigs.
- siggen: To avoid looking for tasks from different multiconfigs on
objects where they dont belong.
The taskdata objects are still not aware of the concept of multiconfig,
so each object doesnt know which multiconfig its building, hence why
the mcdepends are added to all taskdata objects equally (we really
dont expect many of these), but the actual dependencies are added only
to the required tasks by the runqueue.
(Bitbake rev: da8cb8633504bdc815bdcefc538340b9bce5065d)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove upstreamed patches:
1. 0001-Fix-build-on-x86.patch
2. 0001-Support-installing-demos-support-out-of-tree-builds.patch
Updated the following patch:
1. 0001-Don-t-build-demos-with-questionably-licensed-data.patch
Update subcomponents gli and glm based on the new structure of
repository.
License-Update: Update in location of file. No change in checksum
(From OE-Core rev: c9e12bc8872710ca7f788d3709c42425872fd033)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the patch:
demos-Don-t-build-tri-or-cube.patch
License-Update: Updates in copyright information.
(From OE-Core rev: 4f6652e9b8a4fad7d650e1f88aa830fd7f88ea49)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the util-linux_2.32.bb recipe explicitely disables fallocate
for nativesdk triggering build warnings:
WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux:
alternative target (sdk/usr/bin/fallocate or sdk/usr/bin/fallocate.util-linux)
does not exist, skipping...
WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux: NOT adding
alternative provide sdk/usr/bin/fallocate: sdk/usr/bin/fallocate.util-linux
does not exist
WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux: alt_link ==
alt_target: sdk/usr/bin/fallocate == sdk/usr/bin/fallocate
(From OE-Core rev: 469ab3c7f129b90e9dd5e6427b5b617b9dedde47)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch enables multiconfig dependencies (mcdepends) to be used on
recipes using the following format:
task[mcdepends] = "multiconfig:FROM-MC:TO-MC:PN:task-to-depend-on"
For the sake of simplicity consider the following example:
Assuming we have set up multiconfig builds, one for qemux86 and one for
qemuarm, named x86 and arm respectively.
Adding the following line to an image recipe (core-image-sato):
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"
Would state that core-image-sato:do_image from x86 will depend on
core-image-minimal:do_rootfs from arm so it can be executed.
This patch makes modifications to bitbake.conf to enable mcdepends, and
to sstatesig and staging.bbclass to avoid conflicts between packages from
different multiconfigs.
[YOCTO #10681]
(From OE-Core rev: f71bfe833c657244d2fd07b3b71e86081d7d1c04)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
C++ applications that contain a specfic use of std::pair with tempates
cause the build to require many gigabytes of RAM to build.
This is a fix that was applied to the upstream GCC 7 branch.
Change-Id: I213f96d1d6332e2dce5765482ff3413f1abd7ff8
(From OE-Core rev: 51a09ba2729a840a9f2f87b68c7f50a3e6ac0d04)
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building on ppc64le hosts that have GCC 8 (such as Ubuntu 18.10)
the GCC build bootstrap fails.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162
This is a fix that was applied to the upstream GCC 7 branch.
Change-Id: I7796d2a999ec420805dd1c6cf0a1ecba1de5a897
(From OE-Core rev: c17f5e7e954487ad3e97e26c3e0d31443d658d5a)
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the devtool tests make changes to files under meta/ -
legitimately since we want these tests to be working with real recipes
and associated files. Unfortunately with the new oe-selftest
parallelisation this can break other tests if files go missing at the
wrong time (among other scenarios). To avoid this issue, simply take a
copy of the core repository and use that for these tests. (We copy the
entire repository since changing the path of meta/ influences COREBASE
and thus we need to have things like scripts/ alongside as well).
(From OE-Core rev: 2457cd57b4195924ef127f497efa2f34f411e660)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If kdump.service is set to run on boot and dump-capture kernel isn't
placed in /dev/root, kdump.service will fail to load the kernel,
since other partitions are not mounted yet. Starting kdump.service
after basic.target guarantees dump-capture kernel can be loaded in
this situation.
(From OE-Core rev: ac9a54fc617ff5f1eb75fa8500187c5ed3effe46)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use SYSTEMD_BUS_TIMEOUT to set default timeout to 240s to avoid
timeout problem on slow qemu machines.
(From OE-Core rev: a5b1dcabdd84915eb0527be4e7bd64ab46860d9d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport 0001-sd-bus-make-BUS_DEFAULT_TIMEOUT-configurable.patch
which allows setting dbus calls timeout via SYSTEMD_BUS_TIMEOUT
environment variable.
This is needed as we are meeting timeout failures from the oeqa
runtime test case systemd.py.
(From OE-Core rev: caa4fa5e6ce7d50bdcd04e199d61401b3e8b9ff7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error from systemd-udevd is not harmful. It's just
because our qemu targets are using eth0.
Error changing net interface name 'eth0' to 'enp0s3': Device or resource busy
Note that systemd is using a different network interface naming scheme
from traditional ethX naming scheme. To make this error message go away,
we could symlink /etc/udev/rules.d/80-net-setup-link.rules to /dev/null
to recover traditional naming scheme. But I'm not sure if this will
cause regression in user experience for systemd users of OE.
So just ignore this error message so that parselogs.py test case does not
fail.
(From OE-Core rev: f1735fed088ddda6517fa4ff6fbd6ef683b14878)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. For test_syslog_running, we should not restrict it to run for
only busybox-syslog and sysklogd. So extend it to all syslog
providers in oe-core and meta-openembedded.
2. For test_syslog_startup_config, fix to make it depend on the
existence of busybox-syslog. The previous condition "!sysklogd
&& busybox" is incorrect, because busybox may be compiled without
syslog support, and sysklogd and busybox-syslog conflict with
each other.
(From OE-Core rev: 119c22342d446e4f638b8d4c81480ebc7b444245)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We keep breaking the preservation of hardlinks during the packaging process.
Add a selftest which tests this to try and prevent this breaking again.
(From OE-Core rev: 751fc7802f57a836a0be5fc6a8d5fdf8b1769c39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent changes broke the preservation of hardlinks during processing due to a missing index.
Fix this, reducing the size of the git recipe packages in particular (it contains many hardlinks).
(From OE-Core rev: 28eeada955762f38ccbd1d26c53768364dbd1a5e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this patch /usr/bin/libtoolize is different for each multilib
since their host-triplets are different, despite there being no difference in
the functionality of libtoolize itself.
This change just patches out the problematic line since its just a comment for the user
in help text. Ugly but solves the problem. This fixes issues where libtool and
libXX-libtool couldn't be installed into the same system.
(From OE-Core rev: f70040fd3ca3508d33ed24c749c0b8095b020dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst the package managers handle multilib ELF binaries well, they don't
handle scripts in the *bindir directories well. This adds support for
marking these up so that they can be handled using update-alternatives.
Its done this way so that non-multilib systems don't see any changes and
there is standardisation amongst the multilibs on how the alternatives are
named and prioritiesd. The priotitisation code needs to be added but this
change means there is somewhere to add it.
Recipe needs to set MULTILIB_SCRIPTS in the form <pkgname>:<scriptname>, e.g.
MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/file1 ${PN}:${base_bindir}/file2"
to indicate which script files to process from which packages.
libtool is used a as a reference to stop the libtool scripts conflicting
in a multilib case and allows the kernel-devsrc change to be merged.
(From OE-Core rev: 18e837433d07cfdce4019c13f682c6676425a2ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a callback that lets you modify or remove items in addition to the
current scheme where you can only add or remove. This enables you to for
example replace a layer with a temporary copy (which is what we will use
this for first in OE's oe-selftest).
(Bitbake rev: bfedb4e85a84e817dbe5d8694b8f8fcdd6f2f22a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Squash whitespace in CC_INFO to avoid recipe whitespace changes to
CFLAG affecting the final openssl binaries (the value of CC_INFO gets
embedded in libcrypto, via buildinf.h).
(From OE-Core rev: 2227c51896d4399daac9d85f40d7510b7c8ae03f)
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>
Creating the openssl manpages, which happens as part of do_install(),
can take a significant amount of time (e.g. ~50 seconds on a quad
core laptop). Provide a PACKAGECONFIG option to allow creation of the
manpages to be skipped completely if not required and inherit the
manpages class to automatically control the PACKAGECONFIG option
(based on the "api-documentation" distro feature).
(From OE-Core rev: 1ddca1872f64c566fd812a6ec44f2d4e4d84f58f)
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>
The fact that the darwin support only appears to consider x86 (and
not x86_64) suggests that it's not maintained or tested. In general
oe-core doesn't support building on darwin.
(From OE-Core rev: 9c7f37bb1345c38211acd137c00b9d07f92601a7)
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>
Previously (when EXTRA_OEMAKE contained -e) exporting these variables
over-rode default values in the top-level openssl Makefile. However,
since -e was removed from EXTRA_OEMAKE as part of:
http://git.openembedded.org/openembedded-core/commit/?id=537a404cfbb811fcb526cdb5f2e059257de6ef13
exporting these variables does nothing. The comment from that commit
that only AR is affected by removing -e wasn't correct, but the
effects of letting the openssl Makefile also control AS, EX_LIBS and
DIRS seem to be either benign or beneficial.
Since without -e make ignores DIRS from the environment and always
runs for all subdirs (including "test"), adding "test" to DIRS and
calling "make depend" again from do_compile_ptest() can be dropped.
(From OE-Core rev: b3e81e3cf86dd8736b62a6b88d6a6dbe518c9e5e)
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>
This patch adds a second line to the -help output of the CA.pl script
(which lists almost the same command line options as the line above
it but in a slightly different order). Although it's tagged as a
Debian backport, there's no patch like it in recent Debian patch sets
for openssl 1.0.2.
(From OE-Core rev: 9b3af406747a3d565d12d948400d44fb12ab0d96)
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>
rm_work if enabled leads to some tests failing that rely on artifacts
being present. Check if rm_work.bbclass is included and show an error
and exit if it is.
Fixes [YOCTO #12694]
(From OE-Core rev: dde7e2f590834aa8034f1371954f9b4fbc7a60b7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
ERROR: glibc-locale-2.27-r0 do_package_qa: QA Issue: glibc-locale: /glibc-binary-localedata-hy-am/usr/lib/locale/hy_AM/LC_MEASUREMENT.tmp is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
(From OE-Core rev: 06d831d12fe2a2366480c79f4c018942937b753a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By splitting the iptables modules into separate packages it is
possible to pick and choose the modules to install and thereby reduce
the total size of the installed modules.
Backwards compatibility is maintained by adding a recommendation of
iptables-modules, which is a meta package that depends on all the
generated packages.
(From OE-Core rev: 2e99caca64704d1ec51f4f65048d945e5ff1384f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the following patch applied in upstream webkitgtk
...
commit 1a55d8c685b3e5b4dbeda202009e7527aa59eadd
Author: simon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Nov 23 22:20:09 2017 +0000
FELighting cleanup and optimization
https://bugs.webkit.org/show_bug.cgi?id=179933
...
It missed to tweak `paintingData.lightVector' which caused
PaintingData' has no member named 'lightVector' on ARM_NEON
(beaglebone)
(From OE-Core rev: 39b75d73aa5fce178c1577b0a5dfb8a694eff31d)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For distutils3, any setup.py invoking will cause setup_requires
argument to trigger a code fetching. Since the following commit
applied in oe-core, code fetching occurs during do_confugire
before the do_compile.
...
b805cef distutils: clean the build tree in do_configure
...
Refer what do_compile did, add var-NO_FETCH_BUILD to do_configure.
Sync with distutils3, add do_configure to distutils also.
[YOCTO #12084]
(From OE-Core rev: 9d556092fcc6f04c487afd126d52935bac133165)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- It is required by oeqa, add it so that we can add nativesdk-python3-subunit
to buildtools-tarball.
- The original one is python-subunit_1.1.0.bb which is from meta-openstack
layer, I divided it into python-subunit.inc and python3-subunit_1.1.0.bb
and extended to nativesdk.
(From OE-Core rev: f55d5a8022dda18f3e9aa4138dc1961d9ef979c4)
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>
- It is required by oeqa, add it so that we can add nativesdk-python3-testtools
to buildtools-tarball.
- The original one is python-testtools_2.3.0.bb which is from meta-openstack
layer, I divided it into python-testtools.inc and python3-testtools_2.2.0.bb,
and extended to nativesdk.
(From OE-Core rev: 50864df5b0eb3d1704e8fe75c06e957af0b41c38)
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>
- The python3-testtools RDEPENDS on it.
- It is from meta-python, I extended it to nativesdk.
(From OE-Core rev: 4cc30de57dd70571005a1f31f9465d745c92aad2)
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>
- The python3-testtools RDEPENDS on it.
- The original one is python-extras_1.0.0.bb which is from meta-openstack
layer, I divided it into python-extras.inc and python3-extras_1.0.0.bb, and
extended to nativesdk.
(From OE-Core rev: 0176e798364689774bed4ac4bd0e345c32ea3078)
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>
The testtools or subunit is not part of python's standard library, so check them
before use.
Fixed when they are not installed on host:
$ bitbake core-image-minimal -ctestsdk
Exception: ImportError: No module named 'testtools'
Now it can run with a warning:
WARNING: core-image-minimal-1.0-r0 do_testsdk: Failed to import testtools or subunit, the testcases will run serially
(From OE-Core rev: ae53461608c4e71533378369b3f623b4c9002e39)
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>
This was packaged originally to perform QA tests on binaries (text relocations
and RPATHs), but we perform those tests at build-time now.
(From OE-Core rev: d1c56454b2d374f96c810f684a15dbefebead067)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are intended to search for bad RPATHs and text relocations, but we
do these tests at buildtime and as pax-utils is never installed in any default
images the tests are never executed.
(From OE-Core rev: ff81b58d5f322ea4a24c1b9ed40377c742459149)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The last user of this was the sato theme, removed in 2016.
(From OE-Core rev: 6df1f6cf05e21dad1646803a411e52ff85e33435)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing uses this in oe-core or meta-oe, so drop it.
(From OE-Core rev: 69b0305ea5a263837fb57ede3133bee6e2f74a93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core or meta-oe links to this now, so the recipe can finally be
removed.
(From OE-Core rev: be9d9b7d6f5917b63660fe5561078851d4a42a9c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no need to depend on the compatibility library libusb-compat, as CUPS
links directly to libusb1.
(From OE-Core rev: feead64ac6df31d9b9499b232631aeb0edad3af0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to 010.
usbutils uses libusb1 not the older libusb-compat library.
Refresh (and submit upstream) the bashism removal for usb-devices.
Fix LICENSE as lsusb.py is GPLv2 or v3, and set per-package LICENSE fields as
appropriate. The actual license texts are missing from the 010 tarball (fixed
in git) so point at the SPDX statements in the source files instead.
Remove FILES_${PN}-dev as usbutils.pc doesn't exist anymore.
Remove lsusb.py hashbang change as this doesn't cause any problems now
(installed hashbang is /usr/bin/env python3).
Remove spurious zlib build dependency that isn't required.
Remove spurious RDEPENDS_${PN}-ptest, which doesn't exist.
(From OE-Core rev: 889a86d8c044c0a9c6064a542f25e7fecef48234)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Large zip files can cause unzip to crash, take a patch from Fedora to fix it.
(From OE-Core rev: a001833b7c7a0a6eef88e053fe65e2a0c91ca7bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update-rc.d repository is now on git.yoctoproject.org, and has merged all of
the patches we were carrying.
(From OE-Core rev: 531e363db08711b5390af16f5491ca8a71a0610c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This project is dead (upstream website doesn't respond anymore) and can mostly
be replaced with the uuid.h in util-linux.
(From OE-Core rev: e187e3da4b72bc667c8badfb5f2de01717d5ea09)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added back in the meta-luv days[1] presumably under the impression that
it needs ossp-uuid but in reality we rename ossp-uuid's library and uuid.h comes
from util-linux.
[1] e08817342b
(From OE-Core rev: 2a2da0fb7b42c92864f39dcdaf949a5c34ef4eda)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that oe-core has libidn2 we can enable it by default in target curl builds.
(From OE-Core rev: aae20d0277feb768ca290492ccfad30962bb8706)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnutls only works with libidn2, so update the build dependency.
(From OE-Core rev: d2397d1fbe97eb92ff9aeb03155f98e24e95c97d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libidn 1.x is deprecated, add the parallel-installable libidn2.
(From OE-Core rev: 2a747138a2945dc12e6f35b2cf64d0e2aad7094f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patches are removed because problems have been fixed in this version.
0001-shadow-CVE-2017-12424
fix-installation-failure-with-subids-disabled.patch
usermod-fix-compilation-failure-with-subids-disabled.patch
CVE-2017-2616.patch
check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch
0001-Do-not-read-login.defs-before-doing-chroot.patch
The following patches are rebased.
0001-Disable-use-of-syslog-for-sysroot.patch
0001-useradd-copy-extended-attributes-of-home.patch
0001-useradd.c-create-parent-directories-when-necessary.patch
allow-for-setting-password-in-clear-text.patch
(From OE-Core rev: 79dd22729d5b8a2f2cf4294ff6b261c9d6ecd977)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum for src/ls.c is changed but the license remains
the same. The change is only about year change.
Remove 0001-Unset-need_charset_alias-when-building-for-musl.patch as the
target this patches modifies no long exists.
(From OE-Core rev: c3f67a19f9393540443bf14b2dbde151d5d01b3d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If targeting a X11 or Wayland session the user will want user-session
enabled. To target both of these just enable user-session all the time.
(From OE-Core rev: 6440e89770878d73c3467a30322f87eb29bdaa6d)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this allows to work around some of the issues with file-rdeps
* e.g. in my case I have /usr/lib/libmali.so.0.1 which according to rpmdeps
provides only following libmali*
libmali.so(LIBMALI_1.0)
libmali.so.0.1
but many users of this link with libmali.so directly and according to
rpmdeps require libmali.so which causes file-rdeps for a lot of
recipes
* I was using simple work around to just set:
RPROVIDES_${PN} = "libmali.so libGLESv2.so libEGL.so"
but that doesn't work well with multilib, because the value gets
expanded with MLPREFIX and
RPROVIDES_${PN} = "lib32-libmali.so lib32-libGLESv2.so lib32-libEGL.so"
doesn't help at all.
[YOCTO #9217] Many unsolveable QA warnings from build-deps and file-rdeps
(From OE-Core rev: 01b9810ff1cea53ae321f6fbe760b83573ed78c0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While native building, there is a parallel failure
[snip]
|: && mkdir -p doc && ./pre-inst-env /usr/bin/env perl
../automake-1.16.1/doc/help2man --output=doc/aclocal-1.16.1
aclocal-1.16
|help2man: can't get `--help' info from aclocal-1.16
|Try `--no-discard-stderr' if option outputs to stderr
Makefile:3693: recipe for target 'doc/aclocal-1.16.1' failed
[snip]
Correct Makefile rule to fix the issue
(From OE-Core rev: ef4907f311e3ddedfa3eb8a111cc1d146c19851a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code was using Wic instead of WicTestCase for image_is_ready and
native_sysroot which was confusing some tests. Fix image_is_ready.
For native_sysroot, convert the only user to just run the call itself
as there is no point in executing this for all the other tests which
don't use the value.
Whilst here, move _get_image_env_path to the base class alongside
its parent variabe and fix it to use WicTestCase.
(From OE-Core rev: 3e83364ed7031d53f281216214b04c7acace844a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variable is PACKAGE_WRITE_DEPS as seen in the default below the
comment.
(From OE-Core rev: 364449251ffe4ff2c11acaa258edcec244c38818)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-selftest -r <invalid test name>
currently triggers a traceback. Ensure this doesn't happen and the user gets a
sensible error message.
(From OE-Core rev: f2042bf3638ed4edfb167e7f7d4be6da60997ead)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #12493]
Fixed:
- qemu started with pid 10000
- qemu exited unexpectedly
- The pid 10000 is re-used by another different process.
The is_alive() returned True in such a case because both qemu_pidfile and
/proc/10000 exist, but it's another process, this patch fixed the problem.
(From OE-Core rev: 78033af85698b4e112ae78e3140b241b1b3c06a3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once another header #includes <bits/wordsize.h>, there is a
potential recursion going on because the
multilib_header_wrapper.h #includes <bits/wordsize.h> again!
This should not happen because an __arm__ (32-bits) or an
__aarch64__ (64-bits) environment guarantees that we will
be getting the correct definition, but when building against
a different target (like BPF), recursion is what happens.
This can be seen, for instance, when building eBPF programs
from the kernel with `clang -target bpf', such as the ones
located in linux/tools/testing/selftests/bpf/.
(From OE-Core rev: a74c77d6168101e88c3a3bce7130f4f52cfab95d)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix inconsistent indent (and also make the openssl 1.1 recipe more
consistent and consistent with the openssl 1.0 recipe).
(From OE-Core rev: 69844643aa1b829c27f144db634c8223c18c783f)
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>
Currently target builds call make twice as part of do_compile(). It
appears to be an accidental side effect of needing to only pass
CC_INFO on the make command line for target builds, since CC_INFO is
only referenced by the reproducible build patches.
(From OE-Core rev: 6c4942b5c771876ad0e62e56923f59cc71776157)
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>
Since openssl isn't an autotools recipe, defining cryptodev-linux
related config options via PACKAGECONFIG hasn't worked correctly
since PACKAGECONFIG_CONFARGS stopped being automatically appended to
EXTRA_OECONF in 2016:
http://git.openembedded.org/openembedded-core/commit/?id=c98fb5f5129e71829ffab4449b3d28082bc95ab4
The issue appears to have been hidden as the flags are also hardcoded
in CFLAG - and therefore always enabled, regardless of the state of
the PACKAGECONFIG option. Fix by passing both EXTRA_OECONF and
PACKAGECONFIG_CONFARGS when running the openssl Configure script.
Although the openssl 1.1 recipe doesn't contain any PACKAGECONFIG
options yet, pre-emptively make the same fix there too.
Also only enable cryptodev-linux by default for target builds (based
on the historical comments in the recipe, that seems to have been the
original intention).
(From OE-Core rev: 6fee11b04b979a5b3237902d947db7118cafca2b)
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>
Make clear distinction between local variables and bitbake variables.
(From OE-Core rev: d1e441db511faf9c170733c01ded8c56faac9ab6)
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>
Drop redundant setting of S to its default value, fix inconsistent
indent and re-order variables to align more closely to the OE
style-guide.
(From OE-Core rev: c36637a0304551bf2736bb15796947d9aaf00076)
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>
The openssl10.inc include file only has one user, so we can improve
maintainability by merging the include file into the recipe which
uses it.
(From OE-Core rev: f5568740d5ff72090c3ca894ddfdc3078169da25)
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>
* Add packageconfigs for gl, libde265, lcms2, openh264, tinyalsa, ttml,
webrtc, webrtcdsp
* Remove unnecessary gstglconfig.h line, since that file is no longer
part of -bad (it is in -base now)
* Update EXTRA_OECONF flags, since new plugins got added to -bad
* Add ttml to the default packageconfigs since its dependencies are
all in oe-core
(From OE-Core rev: e0f2a1f3e7f8eb6ce0d98fbc43acd8a4da641866)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* There is no twolame recipe in oe-core or in meta-openembedded, so
disable it
* Reorder the packageconfigs alphabetically
(From OE-Core rev: b2c5fe9bf9432e9a72be73c22e4db1af90a20b01)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add patches for gbm, libpng, libjpeg to conditionally enable/disable
them in the configure script
* Reorder the packageconfigs alphabetically
(From OE-Core rev: 6e915c47b9626e706e6d0e96399d46ea28f318c6)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Leaving -Wcross out of the bbnote version of the autoreconf command
seems to be a long standing inconsistency (dating back to the very
first commit in oe-core) but there's no obvious reason to do so.
(From OE-Core rev: 40644b2b33db6332293543bb39e8d4da07cf8c54)
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>
The 'system services' packagegroup depends on a number of packages which are not
system services, so remove them from the list.
(From OE-Core rev: 308e402a710dd7e6bb521517dde11a2e2b5fda22)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi support on arm is enabled as below
commit:
commit 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7
Author: Kristian Amlie <kristian.amlie@northern.tech>
Date: Tue Jul 10 16:07:12 2018 +0200
grub-efi: Provide target architecture for 32-bit ARM.
* But it fails on arm as below:
| grub-mkimage: error: cannot open `./grub-core//serial.mod': No such file or directory.
Set GRUBPLATFORM_arm = "efi" to fix the above error
(From OE-Core rev: 6ad431974d96aec29d12079be8b94c479b91c446)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These symbols appear in dynsyms of libsystemd.so and musl loader
doesnt like it
Error relocating /mnt/a/oe/build/tmp/work/i586-bec-linux-musl/avahi/0.7-r0/recipe-sysroot//lib/libsystemd.so.0: __start_BUS_ERROR_MAP: symbol not found
Error relocating /mnt/a/oe/build/tmp/work/i586-bec-linux-musl/avahi/0.7-r0/recipe-sysroot//lib/libsystemd.so.0: __stop_BUS_ERROR_MAP: symbol not found
[YOCTO #12577]
(From OE-Core rev: a13d3314cd4ddc812c3ac2904c8f563f7462878a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Observed failure in SystemTap v3.3 unit testing, It was tracked down
to unintialized memory access in dwflpp::function_entrypc method.
Upstream-Status: Backport
(From OE-Core rev: 7e465c75e317718ed81a76a6c3e487668e7db1ab)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemtap from 3.2 to 3.3: Removed all backported patches.
Removed "remove quotes around -I include" pending patch since 3.3
got similar fix already. Resolved merge conflict in and
regenerated monitor-option.patch patch.
(From OE-Core rev: d8a60b324c340bf88e2e8650f4771030490709c5)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
${base_prefix} is set in bitbake.conf to empty. This makes lsb_release
always install under /bin which is a problem if usrmerge is in
DISTRO_FEATURES, because it needs to be installed under /usr/bin.
By using ${root_prefix} instead, we fix the usrmerge install path and
the following QA warning goes away while keeping the non-usrmerge path
identical.
WARNING: lsb-5.0-r0 do_package: QA Issue: lsb: Files/directories were
installed but not shipped in any package:
/bin
/bin/lsb_release
Please set FILES such that these items are packaged. Alternatively
if they are unneeded, avoid installing them or delete them within do_install.
lsb: 2 installed and not shipped files. [installed-vs-shipped]
Also if usrmerge is defined don't try to create the lib64 symlink
because base-files handles it to avoid the do_rootfs error
Collected errors:
* check_data_file_clashes: Package lsb wants to install file
tmp-glibc/work/x64-nilrt-linux/test-image/1.0-r0/rootfs/lib64
But that file is already provided by package * base-files
(From OE-Core rev: 852c9498ae365bc8c149b5e6df0c8667bd885c79)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* no changes in the content of previously existing packages
* include some silly commands I've used to "parse" WHENCE file to
generate these, some manual changes are still needed, like separating
cypress licensed files, removing duplicates when 2 files are included
in the same package (bcm4356-pcie is exception because sdio and pcie
files have different license).
(From OE-Core rev: 20532131201a39eb6415cdf34fb1f8b837e52436)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Fix build path issue of .pyc files:
Supply "--root" directory to the "install" command.
- Fix build path issue of c++ object files:
Use relative dir to include header string_ref.
- Fix build path issue of c library generated by distutils:
Add OE's CFLAGS which contains `-fdebug-prefix-map' options
to setup.py
[YOCTO #12528]
(From OE-Core rev: 806a8626c3fb5020666152b295f12541f5f61ffd)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When trying to delete something from an ext partition using debugfs, we
don't show any error to the user when that operation fails.
Change this behavior to show the error generated by debugfs. Also,
fallback to use rmdir in case we are trying to delete a directory. However,
unlike mdeltree that is used for a FAT partition, there's no easy way to
delete a non empty directory. Show an error instead when that happens so
user can take appropriate action.
(From OE-Core rev: a405383e63c35d7b56108f192ca74755b122a639)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it possible to add extra options to the logrotate
application (via ${LOGROTATE_OPTIONS}), and it allows the Persistent
option in logrotate.timer to be configured via
${LOGROTATE_SYSTEMD_TIMER_PERSISTENT}.
It also changes the sed expressions to allow for
${LOGROTATE_SYSTEMD_TIMER_BASIS} to contain commas without having to
prefix them with backslahes, e.g.:
LOGROTATE_SYSTEMD_TIMER_BASIS = "*-*-* *:00,30:00"
(From OE-Core rev: ca3f2f6b49edee7052ef941228dc477d9060bdd9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: change license checksums to check the License files themselves (BSD3 and GPL2),
and the tool-to-license file (LICENSE). Changes to LICENSE will now be
detected.
Backport a patch to fix the build with musl.
Drop upstreamed patch.
Update libidn build-dependency to libidn2.
Patch in an install target and use that to install binaries, to avoid upstream
adding binaries that we don't ship. Also ship all binaries that are installed.
(From OE-Core rev: d227122d929330ff71a550689aaedc5d8299d859)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to pass --without-libunistring-prefix, and it looks a lot like we're
trying to disable it.
(From OE-Core rev: 60fef4940de7f0440f1216eb2ea0ea683b3e8fdd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the existence of "command" in itself is not guaranteed, using it
to determine if other executables exist is moot. Instead just run the
executables and let the shell determine if they exist. By piping stderr
to /dev/null we avoid unnecessary warnings in case they do not exist.
(From OE-Core rev: ba8510deb73e07f17be051fa15a91731ec10382f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since unify var-DISTUTILS_INSTALL_ARGS in distutils and setuptools,
- The local DISTUTILS_INSTALL_ARGS assignment is obsolete;
- The site.py is not be generated any more;
- The layout is in a standard pip dir (such as /usr/lib/python3.5/site-
packages/pip rather than /lib/python3.5/site-packages/pip-10.0.1-
py3.5.egg/pip), the pth file is not required;
`#!/usr/bin/env python3' is already used, do not manually sed.
[YOCTO #8446]
(From OE-Core rev: 5797631dc7a68e10c848ef06dd9eed011bc06e34)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Unify var-DISTUTILS_INSTALL_ARGS in distutils and setuptools
- Supply "--root" directory to the "install" command, and use
it as a prefix to strip off the purported filename encoded
in bytecode files. (It strips build path prefix from .pyc files)
[YOCTO #8446]
[YOCTO #12084]
(From OE-Core rev: 21f0c5a50e00ac34975d79fd48f08730d8f19b15)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of mushing two paths together and hoping that the slashes line up
correctly, use os.path.join.
(From OE-Core rev: ed0413babaf10ccf729472f603bbe32d84ba1931)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As with the Python test, this can be both better and faster. No need to copy a
file, just run a one-liner.
(From OE-Core rev: c6eef46747fe58bb2310be4f06d2fa9b67901d72)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since v0.7 avahi uses /run/avahi-daemon/socket.
libnss searches in $(localstatedir)/run/avahi-daemon/.
Set localstatedir to / to fix mdns resolving.
(From OE-Core rev: 4feb586ba9fa0255d8f83bc1bec11f697dc26a33)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warn method is deprecated. We should use the documented warning instead.
Quoting from the python's official doc:
"""
Note: There is an obsolete method warn which is functionally identical to warning.
As warn is deprecated, please do not use it - use warning instead.
"""
(From OE-Core rev: f467fd277eb77336097cfc0f5f329bdc8d0f70cb)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe doesn't use the variables, and autotools inherits this already.
(From OE-Core rev: 270fc40c9365a2ad968203ecc0c985f53b574bee)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The --libcurl command line option causes curl to generate C source
code which, when compiled and linked with libcurl, creates a binary
which behaves in the same way as curl when run with the other options
passed on the curl command line.
https://curl.haxx.se/docs/manpage.html#--libcurl
It's a development tool and not generally useful on the target,
especially if the target doesn't contain a toolchain etc.
(From OE-Core rev: a1cda48761f70b5989bb8b9c91d71c0b3a03466e)
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>
If a python recipe is using setuptools and the setup_requires argument, where
setuptools will use easy_install to fetch the module if it isn't
present.
The build failed on a machine where a proxy was required, but succeeded on a
machine which had direct access to the internet
Add var-NO_FETCH_BUILD, and set it in distutils_do_compile which does not
allow to fetch code from internet during do_compile.
Example result:
...
ERROR: Do not try to fetch `pytest-runner1' for building. Please add its native recipe to DEPENDS.
Traceback (most recent call last):
File "setup.py", line 56, in <module>
...
The improvement is flexible for test_requirements argument (used at
`setup.py test'), where use easy_install also.
[YOCTO #12084]
(From OE-Core rev: 57414f4a1c549e6faaa110e6e95ff601b05b7361)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously cmake-dev held some files which should be in cmake.
- cmake.m4 should be in installed in cmake so it can be used out of the box
- nativesdk-specific OEToolchainConfig.cmake file used to be in cmake, but the
change of default packaging rules move it into cmake-dev. This recipe is the
exception and it should be moved back.
Add the extra paths to cmake, and clear FILES for cmake-dev to ensure nothing
else slips in.
(From OE-Core rev: a6ce79b87d3db57033a3d1710cb3292366a0a8f7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch the location in cmake where the toolchain file is loaded
to use the (new) OE_CMAKE_TOOLCHAIN_FILE variable to select a default
toolchain if no toolchain has been specified. The cmake alias is
removed.
The alternatives:
- shell alias fails when cmake is called indirectly (ex: a makefile
managing several projects which calls cmake for some of them)
because aliases are not inherited
- wrapper script that unconditionally adds "-D..." breaks cmake's
build tests and many other things as it causes cmake to believe it
should be configuring things when it should not be. For example,
`cmake -DCMAKE_TOOLCHAIN_FILE=... --build .` does not work (note
that this also breaks people directly using `cmake --build .` with
the current alias).
(From OE-Core rev: da60be3768e7183794d63548166d107dbd0a4973)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version adds nativesdk-libnss-nis to resolve glibc symbol issues
We need this to avoid symbol mismatch issues for binaries that use this
on newer systems which then won't run on older ones where it isn't present.
(From OE-Core rev: 98c7ab9cf32765d604c35dc69bc7bd90e94fc8f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the bitbake-cookerdaemon.log is placed into cwd. This seems like a
bad idea, we can place it in the build directory alongside the lockfile that
represents the server instead.
(Bitbake rev: 1620dbc48ffb2a882371cf9174a7b12648befc8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix a related test's error message to match what it does.
(From OE-Core rev: 662be652ed39f32c3c7bee6539a9e91af191557e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Placing the layer in meta means the directory is in an unclean state
which may influence other tests. Use our build directory instead
since we 'own' that. This helps keep oe-selftest parallelisation
clean.
(From OE-Core rev: f2d32bdf3f27a9ef62fe3abb7fdd2e04ab84b5f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code pokes into do_deploy manifests from do_image_complete when the
do_image_complete task may or may not depend upon the do_deploy tasks in question.
Often it gets lucky, sometimes it results in build failures.
To fix this, split the functionality to its own task which can have the correct
task dependencies. This means the data in BB_TASKDEPDATA is definitive, the other
code can be dropped, as can the IMAGE_EXTRATYPES do_populate_lic dependencies
from image.bbclass.
This fixes bugs which show up as:
NOTE: recipe linux-yocto-4.14.48+gitAUTOINC+d64aec9793_97c8063d2d-r0: task do_deploy: Started
ERROR: core-image-minimal-1.0-r0 do_image_complete: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:write_deploy_manifest(d)
0003:
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 33, function: write_deploy_manifest
0029: 'w+').write(output)
0030:}
0031:
0032:python write_deploy_manifest() {
*** 0033: license_deployed_manifest(d)
0034:}
0035:
0036:python license_create_manifest() {
0037: import oe.packagedata
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 191, function: license_deployed_manifest
0187: # It is necessary to mark this will be used for image manifest
0188: man_dic[dep]["IMAGE_MANIFEST"] = True
0189: man_dic[dep]["PN"] = dep
0190: man_dic[dep]["FILES"] = \
*** 0191: " ".join(get_deployed_files(dep_dic[dep]))
0192: with open(os.path.join(lic_dir, dep, "recipeinfo"), "r") as f:
0193: for line in f.readlines():
0194: key,val = line.split(": ", 1)
0195: man_dic[dep][key] = val[:-1]
File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/classes/license.bbclass', lineno: 289, function: get_deployed_files
0285: """
0286:
0287: dep_files = []
0288: excluded_files = []
*** 0289: with open(man_file, "r") as manifest:
0290: all_files = manifest.read()
0291: for f in all_files.splitlines():
0292: if ((not (os.path.islink(f) or os.path.isdir(f))) and
0293: not os.path.basename(f) in excluded_files):
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build-st-730/tmp/sstate-control/manifest-qemux86_64-linux-yocto.deploy'
ERROR: core-image-minimal-1.0-r0 do_image_complete: Function failed: write_deploy_manifest
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build-st-730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_complete.50537
NOTE: recipe core-image-minimal-1.0-r0: task do_image_complete: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/recipes-core/images/core-image-minimal.bb:do_image_complete) failed with exit code '1'
NOTE: recipe linux-yocto-4.14.48+gitAUTOINC+d64aec9793_97c8063d2d-r0: task do_deploy: Succeeded
(From OE-Core rev: b54cdaea7844ee3bf0c39eb97cc7c4c17ed5818c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means the image code is only included in image recipes through
the IMAGE_CLASSES variable.
This sets things up to allow us to fix image deploy dependency problems.
(From OE-Core rev: fd44b8b4b2484f2d35c7a0e749e7dc316d601989)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 'sub' in one function just confuses things, standardise and fix
formatting of the parameters too.
(From OE-Core rev: a740c638148ed7236c49eed55ae9a15b94e55b9f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runCmd handles checking exit 0 internally unless specified otherwise and its
error messages are much more useful including the failed command output.
Clean up the unneeded 0 exit code checks in the wic tests.
(From OE-Core rev: 394f7d4efe80e390e2c9b0be5e6d10954395a82b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this can fail with a message like 127 != 0 which is unhelpful.
If we remove the ignore_status=False, the debugging from runCmd is much
more helpful printing status.output.
Also remove the now unneeded exit code check.
(From OE-Core rev: 1aa7471b11aedc68de5116c461fe73152e3985fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 6671a4d980c8bef8f402780a308f6c43a25044aa.
This breaks uninative tarball since the call of relocate_sdk.py from uninative.bbclass
wasn't updated to account for this change. It isn't clear what value that code could
pass in and this isn't simple to fix so revert until a better fix can be found
that doesn't break uninative.
(From OE-Core rev: b247392b4ced57cfe694656032f6a6723740a9e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need this to avoid symbol mismatch issues for binaries that use this
on newer systems which then won't run on older ones where it isn't present.
(From OE-Core rev: 39c1719a32ed5567e3bf2df5c4f9068d0f5a9400)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we're not reporting the related fields (as of openembedded-core
8658b3677b9f7cb70806061c41570c709086ef05) we shouldn't expect to see
PR reported here since it's not monitored by buildhistory-diff. However,
with a bit of messing about we can check for the exact output that we
should now see as a result of the test changing PR to go backwards.
(From OE-Core rev: f9c233908e6ada208d7abfdfe3ff98c6b278f405)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After this replacement, the parent exception handling works so we don't
need subprocess wrapping with bb.error in the underlying functions.
The underlying contexts also have better module handling so the imports
can be cleaned up.
(From OE-Core rev: aa8260adf53139d776a2affe6118d28b295c1fab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls. The
call is just a wraper to the subprocess call of the same name and requires
the caller to handle exceptions themselves. We usually do this badly, failing
to show the output or the command or the return code.
Its much safer to rely on a call like subprocess.check_output() instead.
This also makes it easier to spot and remove cases where shell=True isn't
needed in a later cleanup.
(From OE-Core rev: 9f058857fb692f1251deb43bcaa7ed0120140093)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the compression of sstate objects is single threaded. In the case
of ltp, this takes around 33s. If we add pigz into the list of non-fatal
HOSTTOOLS and then use if it available when building the sstate object,
this time drops to around 6s.
Since pigz is now widely available this is an optimisation we should
utilise.
(From OE-Core rev: 2de56aa0792ec93445130d801936a8ea643fad27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the calls to is_elf (which calls file) to happen in parallel
allowing a speedup of do_package and do_populate_sysroot for native
recipes.
(From OE-Core rev: bbe0d3e26484f3f347262d40a8a9d415ce21fb43)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are probably further cleanups needed here but this at least removes
the major code duplication between these two similar funcitons, keeping the
kernel module ".ko" extension check for efficiency to avoid opening and
reading file contents in the general case.
(From OE-Core rev: 7ad0c0d6ab12bebeac097fc0f5210c876dcfe9be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a bit more invasive to add parallelism to but
allows the shlibs analysis to happen in multiple threads. In order
to return values correctly/safely the data types needed tweaking
to avoid lists and use immutable objects.
(From OE-Core rev: b5788fb1f795f2f35d1788d8311e12984ffb2122)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust the code so that the splitting of debug symbols from files happens
in parallel. To to this we need to move some path handling code into the
main function and pass more parameters in.
(From OE-Core rev: 9f0c2ed5d44a16e8268ac521236c4752f930f26a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need any functionality from the shell here, its just extra fork
overhead. Therefore remove it and use subprocess directly.
(From OE-Core rev: bcc03ea19e103f6aa93bada2f49fcc5cc7bc0790)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The command for running dwarfsrcfiles is simple and does not need a subshell
for each execution. By expanding out this function to use check_output()
from subprocess and a list of arguments, the shell overhead can be dropped.
For recipes with lots of files this gives a significant saving.
(From OE-Core rev: 6334129dfbe266602fab70ce445641053a05be6c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code had broken exception handling due to the use of a
"traceback" variable as well as an import. Use the new library code
for this instead which reduces code duplication and has fixed/improved
exception handling.
The chdir code can be dropped since any directory changes are in other
processes now so there is no need for it here and the code no longer
changes directory.
(From OE-Core rev: bcd47389f4b1fc69d2bb4da01933bfa1fdcae092)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I think this lock dates from before we had sstate for do_packagedata.
Since WORKDIR is recipe specific and we write into WORKDIR, we no longer need
any write locks in the do_packagedata code itself, its handled by the sstate
task lock for the final copy in at the end. The final write lock can be simply
removed.
The only time we need read locking is when actually reading data from the
shared directory. We can therefore reduce the window the lock is held
significantly as well, hence improving the speed of packagedata tasks running
in parallel.
(From OE-Core rev: f7106cdf2190d9ec59132a1cb2bb431d653cd9c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current methods of spawning processes for parallel execution have
issues around collection of results or exceptions.
Take the code from package_ipk/deb, make it generic, add a results
collection mechanism, fix the exception handling and for it into a
standard library function.
Also add a test case which tests both the success and failure modes
of operation to stop this functionality regressiing again.
In particular, compared to multiprocess_exec, this fork off the parent
approach means we can pass in the datastore and functions work in the
same scope as the parent. This removes some of the complexities
found trying to scale multiprocess_exec to wider use.
(From OE-Core rev: 88f0c214e593a45566df5131bda4c946f5ccc8c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been printing a deprecation warning for a while, now remove it
in favour of wic's efi functionality.
(From OE-Core rev: 1f279cf1ad2f0a20495780b210a987416650f40f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New version adds support for command line options
(-e and -- command) which can be used for launching
programs or running commands through matchbox-terminal.
(From OE-Core rev: e33ca806d34facad035fa387b17f56918648d80b)
Signed-off-by: Devarsh Thakkar <devarsht@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch removes hardcodes added to relocate_sdk.py
during SDK build, making it flexible and reusable.
Now default SDK path is passed to the script as
parameter rather then harcoded inside it.
This allows to reuse this script for multiple
relocations, and adds possibility to relocate
SDK multiple times
(From OE-Core rev: 6671a4d980c8bef8f402780a308f6c43a25044aa)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo won't always be in the native sysroot for a recipe, so we
shouldn't be complaining if it isn't there.
(From OE-Core rev: 11efc94742088ec6fbf2a86000e98286b0b529ef)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you pass quoted arguments to oe-run-native, they need to be passed
as-is to the underlying tool. Putting quotes around $@ ensures each
argument is quoted individually.
(From OE-Core rev: a8758653500a2458cd91bf1aa5eb666ad2b45df4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License changed due to copyright dates being added.
(From OE-Core rev: 079df0021b0819f4b88e20ac8f3350a0f153c6bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-canonicalize_file_name-is-specific-to-glibc.patch as upstream has
integrated musl support.
(From OE-Core rev: 4c243b71a0a05acc3b2a8bd327a8c97dcc08d3c5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Relicensed to just GPLv3+, update LICENSE and checksums.
The build dependency for flex should be flex-native.
libmath.h is missing from the tarball (it was present in 1.06) and the
generation rules are not cross-friendly, so delete the rules and copy in a
pre-generated libmath.h.
Remove fix-segment-fault.patch as the fixes are now upstream.
Add PACKAGECONFIG for readline and libedit, defaulting to readline.
(From OE-Core rev: 9862849ba883c110e4d2c57c39ab2c58e9b2d216)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages containing shared libraries might be registered
as shlib providers when they shouldn't (for example, the lib is for
their private use and must not generate any dependency).
EXCLUDE_FROM_SHLIBS is targeted at that, but it could be set
for entire recipe only.
This patch allows to set list of packages that are not candidates
for shlib providers.
Variable EXCLUDE_PACKAGES_FROM_SHLIBS is used, e.g.:
EXCLUDE_PACKAGES_FROM_SHLIBS = "glibc-ptest glibc-mtest"
Cc: Andrii Bordunov <aborduno@cisco.com>
(From OE-Core rev: 43be374a6deceeaf105794f034957c65bb6bec72)
Signed-off-by: Oleksii Konoplitskyi <okonopli@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd-boot to 239.
The following patch is removed due to recent fix about meson's cpu family
mapping and validation.
0001-Also-check-i386-i586-and-i686-for-ia32.patch
(From OE-Core rev: ff0b682b807959521c85716296de7a1d26d7d18f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade systemd to 239.
1. Patch Changes
* Rebased Patches
0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch
0006-Make-root-s-home-directory-configurable.patch
0027-remove-nobody-user-group-checking.patch
0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0013-add-fallback-parse_printf_format-implementation.patch
0014-src-basic-missing.h-check-for-missing-strndupa.patch
0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch
0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch
0017-Include-netinet-if_ether.h.patch
0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch
0022-don-t-use-glibc-specific-qsort_r.patch
0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
0026-Use-uintmax_t-for-handling-rlim_t.patch
0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch
0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch
0001-core-device.c-Change-the-default-device-timeout-to-2.patch
0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
* Dropped Patches and Reasons
0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
This patch is dropped because the problem has been fixed by
binutils upstream. And this workaround could be dropped.
https://sourceware.org/bugzilla/show_bug.cgi?id=18548
0007-Revert-rules-remove-firmware-loading-rules.patch
0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch
These two patches are dropped because they are for kernel < 3.7.
But the current minimal requirement of kernel to build systemd
is as below.
REQUIREMENTS:
Linux kernel >= 3.13
Linux kernel >= 4.2 for unified cgroup hierarchy support
So these two patches no long make any sense.
Also remove non-exist firmware-path option
0009-remove-duplicate-include-uchar.h.patch
0010-check-for-uchar.h-in-meson.build.patch
These two patches are dropped because musl has implemented
uchar.h. See commit below from musl repo.
"""
ab9672ae73248f51e30f4553c4b8878525e46383
implement uchar.h (C11 UTF-16/32 conversion) interfaces
"""
0018-check-for-missing-canonicalize_file_name.patch
The above patch is dropped because current systemd does not need
canonicalize_file_name.
0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch
The above patch is dropped because utmp makes no sense in musl.
Check code below from musl.
include/utmp.h:#define _PATH_UTMP "/dev/null/utmp"
And utmp PACKAGECONFIG has been explicitly disabled for musl.
So we don't need this patch.
0032-memfd.patch
0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch
libmount.patch
0034-Fix-format-truncation-compile-failure-by-typecasting.patch
The above patches are dropped because they are backported patches.
And current systemd has contained these patches.
0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch
The above patch is dropped because it has been merged and is now
in new version.
* Newly Added Patch
0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch
This patch is added to fix build for musl.
0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
This patch is added to fix the following error which caused system
unable to boot up.
systemd-udevd.service: Failed to adjust OOM setting: Invalid argument
dbus.service: Failed to adjust OOM setting: Invalid argument
0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
This patch is added to fix segment fault error on musl systems.
0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
This patch is backported to solve a race condition between
user-runtime-dir@xxx.service stop and user deletion.
2. PACKAGECONFIG and Dependency Changes
* Add a new PACKAGECONFIG item 'gshadow'. Enable it by default for glibc
but disable it by default for musl. This is because musl does not provide
gshadow.h.
* Add a new PACKAGECONFIG item 'portabled'. Default to disable it because
it's still experimental, according to the announcement letter.
"""
Currently, the support is still experimental, but this is expected to
change soon. Reflecting this experimental state, the "portablectl" binary
is not installed into /usr/bin yet.
"""
* Change 'kmod' from a hard dependency to a PACKAGECONFIG item. Default
to enable it.
* Change 'acl' from a hard dependency to a PACKAGECONFIG item. Default
to enable it.
* Remove 'readline' from DEPENDS. systemd does not need it.
* Remove 'libcgroup' from DEPENDS. The dependency on libcgroup has been
removed from systemd a long time ago. We now remove this unnecessary
dependency from DEPENDS.
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created as symlinks
at do_install. So there's no need to use update-alternatives mechanism
anymore to create the symlinks now. In addtion, I don't think we now
support multiple init systems at one running system, so there's really
no need to use update-alternatives mechanism here.
Also update the FILES_${PN} to include these files to avoid QA issue.
(From OE-Core rev: 597f4645faf61486eb1d2ab73f3d974460ab9466)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
armv7+ used thumb2 ISA and it compiles fine with thumb2
issues are only when using thumb1 ISA
(From OE-Core rev: c0ef8a91f671f30acd92e2734144f7ddf1acda53)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Add PACKAGECONFIG option for brotli (disable by default)
- Add PACKAGECONFIG option for built-in manpages (disabled by
default). Embedding a copy of the manpages within the curl binary
adds approx 60k of gzipped data and duplicates the contents of the
curl-doc package.
- Add PACKAGECONFIG option for verbose error messages (enabled by
default)
- Disable legacy NTLM http authentication via delegation to the
external winbind ntlm_auth helper (which isn't going to work
without a runtime dependency on samba).
(From OE-Core rev: 0bf3637a07228576d78cf4c71de92781ec143d7f)
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>
In native builds we attempt to turn off i18n but this doesn't work in Meson
yet[1] but as the gettext class reduces dependencies in native builds we need to
add gettext-native to DEPENDS explicitly.
[1] https://github.com/mesonbuild/meson/issues/821
(From OE-Core rev: 964ea8bfc455f6017dc834104d96b8f5aa40a5bc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wayland and egl both are on then it enables the wayland
plugin which actually fails to build because its not finding wayland-protocol
xml templates in proper location which is recipe sysroot since
we are cross compiling
Fixes build errors e.g.
make[4]: *** No rule to make target `//usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml', needed by `drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h'. Stop.
make[4]: *** Waiting for unfinished jobs....
(From OE-Core rev: ff4762e94faa095abd7175810d1053fdd361058f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In python3, passing a unicode object to hashlib will result in an
exception that encourages you to encode it first.
(From OE-Core rev: b06a44f1081ea422a365e80bc79b2aeb2783d23f)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The same functionality already exists within bitbake, so avoid
duplicating.
(From OE-Core rev: 978f5a8f16bf5942aad73d761df2a00aeb36339d)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path variable is used in an error message a few lines later, but was
never defined.
(From OE-Core rev: 863ff90b788f66241860e27e1fd3a791b00984cc)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string.replace function is removed in python3. Instead, the str
method "replace" should be used instead.
(From OE-Core rev: 8538aabf62d866f36764b4b136ee8575308df690)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- fix CVE-2018-6797, CVE-2018-6798, CVE-2018-6913
- remove patches, which are now included in update
- refresh patches
(From OE-Core rev: c0dac0d600e81054104f7b377f7c266aa83df371)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Linux,8 bits of the return code and 8 bits of the number of
the killing signal are mixed into a single value on the exit code,
so the exit status offset should be 8. But the autoconf checker
can not determine it while cross compiling, and then it is set to
the default value 0, which will cause generating the wrong exit
code if program exit with an error code.
(From OE-Core rev: e2dea46607a24620d6d2c250efc9b2e95bfd5ad8)
Signed-off-by: Rui Wang <rui.wang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add RDEPEND of gsettings-desktop-schemas to fix below error:
Error: GLib-GIO-ERROR: Settings schema 'org.gnome.desktop.background'
is not installed
This depend was setted in gnome-desktop before, but dropped when we
drop gnome-desktop after upgrade epiphany to 3.28.1.1.
(From OE-Core rev: e81db90870ee373c12849bb41e619a3ac6068d6d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the same reasons as the runtime Python test, clean up the SDK test.
Also port from Python 2 to Python 3, as that's what is supported now.
(From OE-Core rev: bead742a3ffc0a53162fb0c36610d74a1422e7b3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this is three test cases:
1) test_python_exists. Fail if python3 isn't in PATH.
2) test_python_stdout. Run a Python script and check the output is as expected
3) test_python_testfile. Check that a file test_python_stdout wrote to exists.
(1) should be a setup and skip the test module if it isn't present.
(2) and (3) should be merged, there's no point copying over a two line Python
file, and the test doesn't verify that the file doesn't exist in the first
place.
Rewrite the test to check that Python is present in a class setup so the entire
test is skipped if it isn't and do some simple rot13 to verify that bytecode is
being executed correctly.
(From OE-Core rev: a35be5f32b4fe70b18ac1e2eccfd94558cecfbba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HTTP is in general more reliable so use that in the SRC_URI.
(From OE-Core rev: 4f3378e0763a94a5daac7169f498177fc6ef4e75)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gtk-play example assumes that GTK's GL support always works if it is
compiled in and first tries to use gtkglsink element which leads to
problems if there are errors while instantiating GL context at a much
later stage. This failure isn't detected and there is no fallback at
this point.
gtkglsink works on wayland though using poky defaults with gtk+3 since
the gdk backend does support egl with wayland but it doesn't with x11.
Disable the gtk plugin to ensure gtk-play just moves on when gtkglsink
isn't present. This was the default when gtk was part of -plugins-bad
before upgrade to 1.14.0.
Fixes [YOCTO #12832]
(From OE-Core rev: cf321fa1f96be789e1e7c8704175f88fb5857576)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Bump VA-API version to 1.2.0
* Add support for hevc range extension decoding
* Add support for fast intra prediction in HEVC FEI
* Add 10/12-bit YUV render target formats
* Add fourcc code for Y210/Y216/Y410/Y416/RGB565/BGR565
* Add VA_STATUS_ERROR_NOT_ENOUGH_BUFFER
* Add VA_SURFACE_ATTRIB_USAGE_HINT_EXPORT
* Improve documentation
Tested with Intel vaapi driver. There is support for meson available but
its not being packaged as part of release tarball yet.
(From OE-Core rev: d61d417750d4eadf5a00760e9859cb4c3b233cdc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to do native- and nativesdk-specific DEPENDS as the
BBCLASSEXTENDs handles those renames for us.
There's no need to have a subset of RDEPENDS for class-native as all with the
new manifest the python-native PROVIDES are complete.
(From OE-Core rev: 3e3c5cc579482041f0233e3e03ace736b62fb364)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An over-ride replaces the original value regardless of whether or
not it's set up with +=. As replacing the original value seems to be
the intention here, drop the += to make it more explicit. Also some
minor recipe formatting tweaks.
(From OE-Core rev: bda531e65bb6cc9f654c333e2f71283eccd17f27)
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>
Instead of decoding every file we open as UTF-8 (with many errors as machine
code isn't UTF-8), convert the build path to the UTF-8 byte representation and
search for that instead.
(From OE-Core rev: ffb52d383bfe413cf31fef13663fe9937a146c76)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The version 5.33 introduced a regression bug for determining the DB file
type. Backport a patch from upstream to fix it.
Before apply the patch:
$ file aliases.db
aliases.db: created: Thu Jan 1 00:38:24 1970, modified: Thu Jan 1 00:00:00 1970
After apply the patch:
$ file aliases.db
aliases.db: Berkeley DB (Btree, version 9, native byte-order)
(From OE-Core rev: 99e50d9e53ab23fc643c46378fa8c36190995335)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we just divide up the free space by the number of partitions
that need to be re-sized. This leads to problems when a user has
explicitly specified a subset of partitions (but not all) that need
to re-sized along with the sizes. As an example, for an image with 3
partitions, if we use:
wic write image.wic /dev/sdb --expand 1:10G
This would lead to paritions 2 and 3 each being re-sized to one thirds
of the free space instead of half.
Change the behavior to use up all the free space.
(From OE-Core rev: a88f1b5d88dbc5fb28be24b9787d73b9e0cdf183)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The UEFI spec implies that GPT partitions should be assumed to be on a 2048
sector boundary (for a 512 byte sector) and the current logic just
divides the free sectors available by the number of partitions that need
re-sizing, which may or may not align and the final result might
overshoot the limits imposed after alignment.
Since we are expanding already aligned partitions, just divide up the
free space in multiples of 2048. Also use the exec_cmd wrapper instead
of the subprocess call directly.
Fixes [YOCTO #12840]
(From OE-Core rev: 5eef63f5afdfbab8e30748cb1bf42bf2e6524759)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need the texture float patches anymore, as the relevant patents have
expired so this defaults to on now.
(From OE-Core rev: db86b271c98dd50c641374ab6806b47a40ed134b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All values written out to pkgdata are escaped (see write_if_exists() in
package.bbclass). In practice there tend not to be characters that need
escaping except in the scriptlets (pkg_preinst, pkg_postinst, pkg_prerm
and pkg_postrm) where currently we still see the escape codes in the
corresponding files within buildhistory (e.g. \n and \t) and thus also
in the output of buildhistory-diff, hindering proper diffing of changes.
To fix this, when we read values from pkgdata and write them out to
buildhistory, we need to interpret the escape codes by doing the exact
reverse of what we do in package.bbclass.
(From OE-Core rev: c258379181a438cb01728d223b3d05e0ab205941)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The FILELIST field of the package info file in the buildhistory
repository is a space-separated list of all of the files in the package.
If a name of a file packaged by a recipe contains a space character then
of course the result was that we didn't handle its name properly. To fix
that, use quotes around any filename containing spaces and at the other
end use these quotes to extract the proper entries.
Fixes [YOCTO #12742].
(From OE-Core rev: 801b705957dc683030d11393f43407d0b3506b6a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original idea here was that changes to certain fields might be able
to be explained if there was a change to another field, for example if
RDEPENDS changed it might be because DEPENDS changed. Thus we were
printing this kind of thing out with each change. Unfortunately in
practice this turned out to be noisy and not particularly useful, so we
might as well remove it.
Fixes [YOCTO #7336].
(From OE-Core rev: 8658b3677b9f7cb70806061c41570c709086ef05)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building lttng-modules with linux-yocto-dev will cause do_compile
failure:
lttng-modules/2.10.6-r0/lttng-modules-2.10.6/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_btrfs_reserve_extent'
void trace_##_name(_proto);
^~~~~~
The following commit from latest mainline kernel changes some btrfs
functions' prototype.
3dca5c942dac60164e6a6e89172f25b86af07ce7
"btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event class"
This patch backports a commit from upstream to meet the above changes.
51ab0b1da29354375a19f865abcd233dd2178295
"Fix: btrfs: Remove unnecessary fs_info parameter"
(From OE-Core rev: c1daa5c0b89cdfab15d2fa093b021b2ce0937dad)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These platform specifc BSPs were removed from meta-intel and superseded by
intel-core* BSPs.
(From OE-Core rev: a6fd20fc57da3e1910e775f5994bd71bf79934ea)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the user mode flexibility about centrally overriding these
rather than needing to do it on a per recipe basis.
(From OE-Core rev: b0fb5bbd5f62857c32b2e071bcac841f856b1f1b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Checking if the dependency had any failure is unreliable, for example
if the underlying data doesn't get transferred and the list is empty,
success of the dependency is assumed.
Since we now have success data available, change the code to use it.
(From OE-Core rev: 4abba4c30d5a6163a968a119395a679e5e281ab4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses the new concurrenttest code to enable parallel test execution
if specified.
(From OE-Core rev: 07d19fb3adab7a8d83ba83d9a16395f70d7b7a47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This isn't present on modern distros by default and doesn't work with
testtools, needing multiple code paths in the code. Remove it in favour
of finding a better replacement for results collection/analysis.
(From OE-Core rev: 8001d933a8dc86004db014777f094d718086687d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't appear to be any reason we need this _results indirection
any more so remove it.
(From OE-Core rev: b618261811c48ff3b98eab1b340a8cd09ef183c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have several options for parallel processing in oeqa, parallel
execution of modules, threading and mulitple processes for the runners.
After much experimentation is appears the most scalable and least
invasive approach is multiple processes using concurrenttestsuite
from testtools. This means we can drop the current threading code
which is only used by the sdk test execution.
oeqa/decorator/depends: Remove threading code
Revert "oeqa/sdk: Enable usage of OEQA thread mode"
This reverts commit adc434c063.
Revert "oeqa/core/tests: Add tests of OEQA Threaded mode"
This reverts commit a4eef558c9.
Revert "oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode"
This reverts commit d3d4ba902d.
(From OE-Core rev: a98ab5e560e73b6988512fbae5cefe9e42ceed53)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows oe-selftest to take a -j option which specifies how much test
parallelisation to use. Currently this is "module" based with each module
being split and run in a separate build directory. Further splitting could
be done but this seems a good compromise between test setup and parallelism.
You need python-testtools and python-subunit installed to use this but only
when the -j option is specified.
See notes posted to the openedmbedded-architecture list for more details
about the design choices here.
Some of this functionality may make more sense in the oeqa core ultimately.
(From OE-Core rev: 326ababfd620ae5ea29bf486b9d68ba3d60cad30)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This improves test parallelism.
(From OE-Core rev: 26e04b23ba1b6942aa7c7df478d41dfe7b73e6e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only show the output in the failure case.
(From OE-Core rev: 324785a99e3f2449cb443233e7ce224598c02a3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows better parallelism between the different tests as currently
this block takes the longest time to execute. devtool tests are still
all grouped into the "devtool" module for ease of exection.
This also makes it easier to execute some subset of devtool tests for
testing devtool changes.
(From OE-Core rev: 75148c190dd4823947557e9a07f1722e817c1fea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently some tests run in buffer mode and some don't. Those that don't can
corrupt stdout/stderr. Switch to using buffer mode everywhere so we're consistent.
If there is useful output on stdout/stderr, it will be displayed if the test
fails.
(From OE-Core rev: 978548c0abde2cb94c2782538552f39bdf2bf630)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
AssertionError: Command 'wic create mkhybridiso --image-name core-image-minimal -o /var/tmp/wic.oe-selftest/' returned non-zero exit status 1:
ERROR: _exec_cmd: gzip -f -9 -c /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio > /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio.gz returned '1' instead of 0
output: gzip: /var/tmp/wic.oe-selftest/tmp.wic.drhn6edm/initrd.cpio: No such file or directory
This is because in a clean build directory, the initramfs may not be rebuilt.
Add a call to ensure it is built to avoid the error.
(From OE-Core rev: 2a80fa234d31992691a157425e8990db30158fd1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using /var/ leave wic open to races with other processes on the system, use
a subdir of builddir instead to avoid this.
(From OE-Core rev: e07ec908ce7f26143a7bdf0a07a1230c0fd6ac87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If dbus isn't build first the dbus dependency of dbus-wait can't be detected
through pkgconfig and the test fails:
AssertionError: {'DEPENDS': {'dbus'}} != {}
- {'DEPENDS': {'dbus'}}
+ {} : Some expected variables not found in recipe: {'DEPENDS': {'dbus'}}
Ensure dbus is built and present in the sysroot.
(From OE-Core rev: 28699b4257436fb6079eafe50ca8cab09a2fdd90)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main setUp function needs to be called and tests are meant to
define setUpLocal. For some reason this one didn't leading to errors
with recent code changes. Fix it.
(From OE-Core rev: aef07f09e224485539d8bc66ddac8bf394e4092a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code assumes if something isn't a failure of some
kind, it was a pass. When test case IDs weren't matching, this lead
to very confusing output where things would fail, then be listed as
passing.
This adds code to track successes, ensuring we don't end up in this
position again with unmatched entries being listed as UNKNOWN.
(From OE-Core rev: 4374c296d8963e4f6a1aa7bef7983ad0a1c2fcff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By having a consistent config for the test, a second reparse is avoided
and the test runs slightly faster.
(From OE-Core rev: a910d90dc18f9bc63142ccae2eeadc1feefc756b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If something goes wrong with the test, dep can be undefined. Avoid a
traceback for this and handle it more gracefully.
(From OE-Core rev: 0b74cb42aefe5c1b812fd155784e4c6581e26ce2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can directly compare the test case IDs rather than representations,
then if we're using subunit to split the tests, the comparisions still
work as intended.
(From OE-Core rev: 72e5f46f75454ba4c445c65c1cbc616a9e72fc6e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removing things straight from the live sstate directory is prone to issues
since other builds may be relying on the artefact presence.
Also, cleansstate is very slow on the huge sstate that the autobuilder has
on slow NFS drives. This may well be causing long buildtimes in oe-selftest
as the time taken to remove the artefact by be long.
(From meta-yocto rev: 1ed60bfb46569a8b8c29f24187390ba79686486a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python3-pygobject package to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 3c22f2080ece178b0cc68ae0b74310f81945ea52)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 96971531e0d17a05bfd2b14c95d366f9c499edf9)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the systemd-logind on xserver if the user set systemd as a
DISTRO_CONFIG. If a user is buildling Xorg with systemd then they most
likley want the systemd-logind PACKAGECONFIG set.
(From OE-Core rev: 358c237e2adf5449e33d99ebbdc12670f4bd465e)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we check if the rootfs.img size is greater than 4 GB and use
mcopy to copy it over to a hddimg, a FAT32 volume.
This results in problems when IMAGE_ROOTFS_SIZE is set to be exact 4 GB
(4294967296 bytes). mcopy uses the max offset/file size to be 4294967295
and as a result, it errors out without any warning to the user.
Change the 4 GB check to '-ge' to catch these cases. Since we allow
IMAGE_ROOTFS_SIZE to be in KBs, the maximum allowed is 4194303 KB. Also,
tweaked the error message to refer to wic too.
Fixes [YOCTO #12776]
(From OE-Core rev: 16956dacd4be2c64e5816ccb2b222b5b128838c9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of nfs-utils 2.2.1 libnfsidmap has been integrated and isn't an external
requirement anymore.
Also consolidate nfs-utils patches into a single directory.
(From OE-Core rev: 98e8146553c912e869c174674c53e96d8ff01e57)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use the same defaults as meson does, with few modifications based on
previous EXTRA_OEMESON
* move libpciaccess dependency to new intel PACKAGECONFIG
(From OE-Core rev: dc7d3b2ff79ae324b96a51ec1be557a432ed351d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whenever perf got rebuilt, I was consistently getting errors such as
| find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory
| find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory
| find: find: '[...]/perf/1.0-r9/perf-1.0/libtraceevent.a''[...]/perf/1.0-r9/perf-1.0/libtraceevent.a': No such file or directory: No such file or directory
|
[...]
| find: cannot delete '/mnt/xfs/devel/pil/yocto/tmp-glibc/work/wandboard-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/util/.pstack.o.cmd': No such file or directory
breaking the whole build. The root cause seems to be that the implicit
'make clean' done during do_configure ends up running in parallel, and
thus multiple find commands attempt to stat and/or delete the same
file.
A patch disabling parallelism for the clean target has been ack'ed
upstream (lkml.kernel.org/r/20180705134955.GB3686@krava), but it should
be harmless to pass JOBS=1 even with a fixed kernel. This can be removed
if and when all relevant -stable kernels have that patch.
(From OE-Core rev: bb58203b668df42fd08c2e5fa4a172cf63e37369)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix the issue with newer kernel-devicetree.bbclass as reported by RP in
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152594.html
with changes from
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152560.html
the bbclass no longer creates the dtb files prefixed with
KERNEL_IMAGETYPE_FOR_MAKE:
deploy/images/mpc8315e-rdb/uImage-mpc8315erdb.dtb
use the version less symlink:
-rw-r--r-- 2 bitbake bitbake 9.3K Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
lrwxrwxrwx 2 bitbake bitbake 84 Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb.dtb -> mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
lrwxrwxrwx 2 bitbake bitbake 84 Jul 9 13:30 deploy/images/mpc8315e-rdb/mpc8315erdb-mpc8315e-rdb.dtb -> mpc8315erdb--4.15.18+git0+45c256a5ca_0b32edc46d-r0.2-mpc8315e-rdb-20180709125726.dtb
(From meta-yocto rev: 1f8b8d266a3e8dbe7c447d074446c9f27526991e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should pass the build arguments to setup.py when doing a clean, because
sometimes the arguments are required for setup.py get started.
(From OE-Core rev: f9324af88a99eca28b160fa31aa4516fd397e44b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
$ runqemu qemumips64 core-image-minimal nographic qemuparams="-m 512"
...
[ 0.000000] Call Trace:
[ 0.000000] [<ffffffff801268c0>] clear_page+0x0/0x128
[ 0.000000] [<ffffffff80238158>] get_page_from_freelist+0xab8/0xc00
[ 0.000000] [<ffffffff80238964>] __alloc_pages_nodemask+0xdc/0xf68
[ 0.000000] [<ffffffff80239808>] __get_free_pages+0x18/0x70
[ 0.000000] [<ffffffff80122a4c>] setup_zero_pages+0x1c/0xb8
[ 0.000000] [<ffffffff80c7c998>] mem_init+0x54/0xa0
[ 0.000000] [<ffffffff80c74904>] start_kernel+0x204/0x4d8
[ 0.000000] [<ffffffff8091dfb0>] kernel_entry+0x0/0x40
[ 0.000000] Code: 02002025 1000f8d9 8e634d7c <34860f80> cc9e0000
cc9e0020 cc9e0040 cc9e0060 cc9e0080
[ 0.000000]
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
...
OE uses qemumips to simulate a Malta board by default.
As upstream qemu introduced:
https://git.qemu.org/?p=qemu.git;a=commit;h=94c2b6aff43cdfcfdfb552773a6b6b973a72ef0b
The Malta board can support up to 2GiB of RAM which should
be able to boot a Linux kernel built with CONFIG_HIGHMEM
enabled and passing "-m 2048" to QEMU and appending the
following kernel parameters:
...
mem=256M@0x0 mem=256M@0x90000000 mem=1536M@0x20000000
...
But the following commit in kernel broke above mem=X@Y setting
which added the memory as reserved memory area.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411
...
commit 73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411
Author: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Date: Wed Nov 23 14:43:49 2016 +0100
MIPS: fix mem=X@Y commandline processing
...
So remove `mem=*' to disable user-defined physical RAM map
which let kernel itself caculates memory ranges.
Author: Hongxu Jia <hongxu.jia@windriver.com>
[ Merge the two fixes for qemumips32 and qemumips64 into one patch,
and make it support all mips cases ]
(From OE-Core rev: 0220cb34a91658ecc3782ec1a4700dcb5ece37d8)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop redundant setting of S to its default value and re-order
variables to align more closely to the OE style-guide.
(From OE-Core rev: 4871481e66449dd2b054119b37d0baedb166b72c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this makes it easier to access these variables from some other bbclass
e.g. sdcard_image-rpi.bbclass in meta-raspberry where we need to know
how some files in deploy are named, but we cannot inherit kernel.bbclass
as it's used in image recipe not kernel recipe
* alternatively we can move these to bitbake.conf like similar image variables are:
meta/conf/bitbake.conf:IMAGE_BASENAME = "${PN}"
meta/conf/bitbake.conf:IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
meta/conf/bitbake.conf:IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
(From OE-Core rev: 7d0ef0eaa1bfe97015a774c26f5791622e7e8b12)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* use INITRAMFS_BASE_NAME and INITRAMFS_SYMLINK_NAME variables, like
other kernel artifacts are using
* use "${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" instead of
"${PV}-${PR}-${MACHINE}-${DATETIME}" to be consistent with other files
* allow to modify default symlink name with INITRAMFS_SYMLINK_NAME
instead of currently used:
initramfs_symlink_name=${type}-initramfs-${MACHINE}
(From OE-Core rev: 935b9d5a2bd12effad65f69a631ecff96b8bb553)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add 2 new variables:
KERNEL_DTB_BASE_NAME
KERNEL_DTB_SYMLINK_NAME
instead of reusing KERNEL_IMAGE_SYMLINK_NAME and than expecting that
default value ${MACHINE} was being used in e.g.:
DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
* install normal DTB files only once even if there is multiple entries
in KERNEL_IMAGETYPE_FOR_MAKE and don't prefix them with the type of
the kernel image, use the KERNEL_IMAGETYPE_FOR_MAKE as a prefix only
when installing them bundled with kernel or initramfs image.
* deploy the files from ${D}/${KERNEL_IMAGEDEST}/ instead of kernel
build directory, so that we don't need to call
DTB_PATH=`get_real_dtb_path_in_kernel "${DTB}"`
again in do_deploy
* create all links in do_deploy task, because default KERNEL_DTB_BASE_NAME
like KERNEL_IMAGE_BASE_NAME contains PKGR and PKGR is different in
do_install and do_deploy, because kernel.bbclass calls
meta/classes/kernel.bbclass:do_install[prefuncs] += "package_get_auto_pr"
meta/classes/kernel.bbclass:do_deploy[prefuncs] += "package_get_auto_pr"
* the filenames are a bit different, but with separate variable it
should be easier for other bbclasses which use these DTB files to
find them correctly, just use either the cannonical name
$dtb_base_name.$dtb_ext or $dtb_base_name-${KERNEL_DTB_SYMLINK_NAME}.$dtb_ext
because PKGR (and other PKG* variables) might be different in your
task and kernel.do_deploy task.
* fix DTB files being deployed with incorrect filenames when
KERNEL_IMAGE_SYMLINK_NAME isn't set to ${MACHINE}, e.g. instead of
the default:
-rw-r--r-- 2 bitbake bitbake 1.4K Nov 20 07:41 deploy/images/raspberrypi3-64/Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
lrwxrwxrwx 2 bitbake bitbake 64 Nov 20 07:41 deploy/images/raspberrypi3-64/Image-lirc-rpi.dtbo -> Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
lrwxrwxrwx 2 bitbake bitbake 64 Nov 20 07:41 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> Image-1-4.9.59+git0+e7976b2aff-r0.2-lirc-rpi-20171120043031.dtbo
I was getting:
-rw-r--r-- 2 bitbake bitbake 1348 Nov 20 10:28 deploy/images/raspberrypi3-64/Image-linux-raspberrypi-lirc-rpi.dtbo
lrwxrwxrwx 2 bitbake bitbake 37 Nov 20 10:28 deploy/images/raspberrypi3-64/Image-linux-raspberrypi-lirc-rpi-master-20171120102653.dtbo -> Image-linux-raspberrypi-lirc-rpi.dtbo
lrwxrwxrwx 2 bitbake bitbake 37 Nov 20 10:28 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> Image-linux-raspberrypi-lirc-rpi.dtbo
and e.g. sdcard_image-rpi.bbclass from meta-raspberrypi:
37e4e18f4a/classes/sdcard_image-rpi.bbclass
was failing in:
mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.dtb ::${DTB_BASE_NAME}.dtb
because ${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.dtb doesn't exist in my
build, due to
DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
not replacing whole "${KERNEL_IMAGE_SYMLINK_NAME}" (read ${MACHINE})
with just ${DTB_BASE_NAME}
* with this change applied the deploy dir looks like this:
-rw-r--r-- 2 bitbake bitbake 1.4K Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
lrwxrwxrwx 2 bitbake bitbake 74 Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi.dtbo -> lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
lrwxrwxrwx 2 bitbake bitbake 74 Nov 20 15:49 deploy/images/raspberrypi3-64/lirc-rpi-raspberrypi3-64.dtbo -> lirc-rpi-1-4.9.59+git0+e7976b2aff-r0.8-raspberrypi3-64-20171120154716.dtbo
and works correctly even with DISTRO using different naming scheme
* the sdcard_image-rpi.bbclass still needs to be modified, I've provided
updated version here:
https://github.com/agherzan/meta-raspberrypi/pull/159
* mpc8315e-rdb.conf MACHINE in meta-yocto-bsp also needs small fix:
https://lists.yoctoproject.org/pipermail/poky/2018-July/011436.html
(From OE-Core rev: 1860d9d3c62e2e94cd68a809385873ffd8270b6d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* just to make it more clear what is local shell variable and what is
replaced by bitbake from the metadata and also to prevent the variable
to be incorrectly expanded by bitbake if someone happens to define
e.g. DTB_BASE_NAME
(From OE-Core rev: 98b0f13f0650d970aac7441e7fcfc1089570785f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's -stable 4.12 release, which comprises
the following commits:
b0f63e84c132 Linux 4.12.26
61be5424616e usbnet: fix alignment for frames with no ethernet header
6d0519e75609 tipc: fix memory leak in tipc_accept_from_sock()
8560506d5b7a tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
5ceba73f1c24 tcp: remove buggy call to tcp_v6_restore_cb()
450a839e54a6 tcp/dccp: block bh before arming time_wait timer
872d246eaed9 stmmac: reset last TSO segment size after device open
74386d6ee7bf sit: update frag_off info
3df033244a42 s390/qeth: fix GSO throughput regression
b7bd0107008f s390/qeth: fix early exit from error path
7f02573318ba s390/qeth: build max size GSO skbs on L2 devices
3c8a527e0496 rds: Fix NULL pointer dereference in __rds_rdma_map
00c0600c0a35 net: remove hlist_nulls_add_tail_rcu()
193d9a02e802 net: realtek: r8169: implement set_link_ksettings()
8fb1c5e220ee net: qmi_wwan: add Quectel BG96 2c7c:0296
0c2ba29a13d9 net/packet: fix a race in packet_bind() and packet_notifier()
bb06331e9156 net: openvswitch: datapath: fix data type in queue_gso_packets
ea15a664c5b8 usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
7f11deffc177 ipmi: Stop timers before cleaning up the module
fb006a18929e fix kcm_clone()
ee82eaf439cc RDMA/cxgb4: Annotate r2 and stag as __be32
b71be191d4ed md: free unused memory after bitmap resize
6d24efc56915 dm raid: fix panic when attempting to force a raid to sync
490fc05683b4 blk-mq: Avoid that request queue removal can trigger list corruption
d9e8cb49aaf1 ide: ide-atapi: fix compile error with defining macro DEBUG
115978628b54 ipvlan: fix ipv6 outbound device
ee2ce344ee06 powerpc/powernv/idle: Round up latency and residency values
0fe4d3f9fb5b afs: Connect up the CB.ProbeUuid
94bdd552d7b1 IB/mlx5: Assign send CQ and recv CQ of UMR QP
aa02d85e4d08 IB/mlx4: Increase maximal message size under UD QP
dd955bcce383 bnxt_re: changing the ip address shouldn't affect new connections
a4b3e59bcb04 f2fs: fix to clear FI_NO_PREALLOC
78f9d39a2735 xfrm: Copy policy family in clone_policy
4577662b6010 atm: horizon: Fix irq release error
d7241b40fe6d kbuild: rpm-pkg: fix jobserver unavailable warning
bffb011d5446 mailbox: mailbox-test: don't rely on rx_buffer content to signal data ready
849ef7edfa4c clk: hi3660: fix incorrect uart3 clock freqency
d561354fe15d clk: uniphier: fix DAPLL2 clock rate of Pro5
eada5db0be6e clk: qcom: common: fix legacy board-clock registration
11ea07285eb4 geneve: fix fill_info when link down
4e0b53bd177a sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf
be7cba326d33 sctp: use the right sk after waking up from wait_buf sleep
2c485f6fa3be sctp: do not free asoc when it is already dead in sctp_sendmsg
6e2b427a32da slub: fix sysfs duplicate filename creation when slub_debug=O
e66ebbc23607 zsmalloc: calling zs_map_object() from irq is a bug
dc423eda615d sparc64/mm: set fields in deferred pages
956c73ca6664 block: wake up all tasks blocked in get_request()
1f35bda74d1a dt-bindings: usb: fix reg-property port-number range
412c76f0f9b8 sunrpc: Fix rpc_task_begin trace point
09f79313b317 NFS: Fix a typo in nfs_rename()
a550f7b43f63 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
80f443550f8f lib/genalloc.c: make the avail variable an atomic_long_t
1dfea0e03917 drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
4add25bf3dff route: update fnhe_expires for redirect when the fnhe exists
c53ad6cb2f86 route: also update fnhe_genid when updating a route cache
d09b814cd2aa gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
f9ef4cd05462 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
a95269b0e4e5 x86/mpx/selftests: Fix up weird arrays
76e5bd0ae30a coccinelle: fix parallel build with CHECK=scripts/coccicheck
59f2aa43a314 kbuild: pkg: use --transform option to prefix paths in tar
50ce05457e39 irqchip/qcom: Fix u32 comparison with value less than zero
e3fec500f619 ARM: avoid faulting on qemu
602f85aeefb7 crypto: talitos - fix ctr-aes-talitos
73e76cb0ca1f crypto: talitos - fix use of sg_link_tbl_len
f17fe30404de crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
f5fa317606b7 crypto: talitos - fix setkey to check key weakness
519619ec114a crypto: talitos - fix memory corruption on SEC2
e7984cca5abc crypto: talitos - fix AEAD test failures
64d05b5d1d86 bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
e14e213dfd51 bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
63efd55a2c6b bus: arm-ccn: Check memory allocation failure
fd30c25b5596 bus: arm-cci: Fix use of smp_processor_id() in preemptible context
d358187f050b media: dvb: i2c transfers over usb cannot be done from stack
2ae277ebe31f drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
0792a5a27074 drm/bridge: analogix dp: Fix runtime PM state in get_modes() callback
fdc899328ff3 kdb: Fix handling of kallsyms_symbol_next() return value
08f22e2251fd brcmfmac: change driver unbind order of the sdio function devices
f9a77013fa02 powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
9c6dfd696e5a KVM: s390: Fix skey emulation permission check
092937ce1aae s390: fix compat system call table
4f4b2e279816 s390: always save and restore all registers on context switch
8c54b7d880d4 smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
a2ec325c7d20 iommu/vt-d: Fix scatterlist offset handling
743ac71ece80 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
1df6e988ae39 ALSA: usb-audio: Add check return value for usb_string()
974394e57a05 ALSA: usb-audio: Fix out-of-bound error
f4753360efda ALSA: seq: Remove spurious WARN_ON() at timer check
478c2ed7ca1c ALSA: pcm: prevent UAF in snd_pcm_info
b12060cae8c2 btrfs: handle errors while updating refcounts in update_ref_for_cow
ecfc013c7f23 btrfs: fix missing error return in btrfs_drop_snapshot
45822ea3d1bf X.509: fix comparisons of ->pkey_algo
19057ced2699 X.509: reject invalid BIT STRING for subjectPublicKey
a3ad8e49bc26 KEYS: reject NULL restriction string when type is specified
7c2ccfe13faa KEYS: add missing permission check for request_key() destination
664879ff9aef ASN.1: check for error from ASN1_OP_END__ACT actions
4c0e7ec3072d ASN.1: fix out-of-bounds read when parsing indefinite length item
17a6f363daf9 efi/esrt: Use memunmap() instead of kfree() to free the remapping
8dd372dd8845 efi: Move some sysfs files to be read-only by root
97c6b857262f scsi: libsas: align sata_device's rps_resp on a cacheline
eb78a8b8f172 scsi: use dma_get_cache_alignment() as minimum DMA alignment
db4a32fa5cf2 scsi: dma-mapping: always provide dma_get_cache_alignment
1f55442d0992 isa: Prevent NULL dereference in isa_bus driver callbacks
93fdb7dc713e hv: kvp: Avoid reading past allocated blocks from KVP file
d745d533737a pinctrl: armada-37xx: Fix direction_output() callback behavior
ae6add36f3ce iio: adc: meson-saradc: fix the bit_idx of the adc_en clock
50c87ecdb250 iio: adc: cpcap: fix incorrect validation
657257ba13ae iio: health: max30102: Temperature should be in milli Celsius
3da92b4ab2cc virtio: release virtio index when fail to device_register
f6fe0d2777b2 can: peak/pcie_fd: fix potential bug in restarting tx queue
654babccd437 can: usb_8dev: cancel urb on -EPIPE and -EPROTO
bda1dccdda47 can: esd_usb2: cancel urb on -EPIPE and -EPROTO
9ff8eb7ef05b can: ems_usb: cancel urb on -EPIPE and -EPROTO
51e5de2b036b can: mcba_usb: cancel urb on -EPROTO
c94c94a367ef can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
c8474d8798ab can: kvaser_usb: ratelimit errors if incomplete messages are received
1936ba2b0b40 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
bc86162fa81a can: kvaser_usb: free buf in error paths
4a879f2d1636 can: ti_hecc: Fix napi poll return value for repoll
09b06e3f7b1d can: flexcan: fix VF610 state transition issue
f81db8e7d0cb can: peak/pci: fix potential bug when probe() fails
7b747f65c553 can: mcba_usb: fix device disconnect bug
0a3964b0a8d3 usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
d1c24d05d7ec serdev: ttyport: fix tty locking in close
541fbaaf6db7 serdev: ttyport: fix NULL-deref on hangup
a6d00d0df9e5 serdev: ttyport: add missing receive_buf sanity checks
b30e0bedb66b usb: gadget: udc: renesas_usb3: fix number of the pipes
(From OE-Core rev: 5fddf0226efc996f7eeba76f15e3335c9e60c2f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the -dev kernel to 4.18 in preparation for the next
release kernel.
(From OE-Core rev: 3d7da5d8083b38a9b08fc187a41f8b6691f19091)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Paul Gortmaker's v4.12.25 -stable queue, which comprises the
following commits:
e61748ef5db0 Linux 4.12.25
c34553e3e8af x86/bugs: Rename SSBD_NO to SSB_NO
4aa9e65a91b9 x86/bugs: Remove x86_spec_ctrl_set()
7283d22a40c4 x86/bugs: Expose x86_spec_ctrl_base directly
60fb8f1bbd46 x86/speculation: Rework speculative_store_bypass_update()
cc8a65725832 x86/cpufeatures: Disentangle SSBD enumeration
4cadf648f802 x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS
14476a34b4d0 x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP
e66dd0595eac x86/cpu: Make alternative_msr_write work for 32-bit code
32e38eda9958 x86/bugs: Fix the parameters alignment and missing void
5593194735ea x86/bugs: Make cpu_show_common() static
86e7eb199990 x86/bugs: Fix __ssb_select_mitigation() return type
4efd9170a722 Documentation/spec_ctrl: Do some minor cleanups
e074092d9d0a proc: Use underscores for SSBD in 'status'
f57b4be9a391 x86/bugs: Rename _RDS to _SSBD
f395cafed558 x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass
9599751872de seccomp: Move speculation migitation control to arch code
647fb2d84f05 seccomp: Add filter flag to opt-out of SSB mitigation
44d5a1d9fe07 seccomp: Use PR_SPEC_FORCE_DISABLE
9490e71c3074 prctl: Add force disable speculation
ad5b97fe1ab6 x86/bugs: Make boot modes __ro_after_init
cfc00a7877b6 seccomp: Enable speculation flaw mitigations
bc4bf81c64b0 proc: Provide details on speculation flaw mitigations
a41d2136a447 nospec: Allow getting/setting on non-current task
7e17279e72b9 x86/speculation: Add prctl for Speculative Store Bypass mitigation
eea6b1abc91e x86/process: Allow runtime control of Speculative Store Bypass
c8630c28cd28 prctl: Add speculation control prctls
ecefae5ca101 x86/speculation: Create spec-ctrl.h to avoid include hell
4bcdf54612aa x86/bugs/AMD: Add support to disable RDS on Fam[15,16,17]h if requested
6ce1317929a3 x86/bugs: Whitelist allowed SPEC_CTRL MSR values
cd5e5e6f2e39 x86/bugs/intel: Set proper CPU features and setup RDS
d97584229d85 x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation
793b7453cfc5 x86/cpufeatures: Add X86_FEATURE_RDS
c6c3cd47ccbb x86/bugs: Expose /sys/../spec_store_bypass
2d92a521bda7 x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bits
81865e325abe x86/bugs: Concentrate bug reporting into a separate function
45245a5b9dc4 x86/bugs: Concentrate bug detection into a separate function
05e82d536970 x86/nospec: Simplify alternative_msr_write()
effb0dfecfa2 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
89fffee9d555 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
76199d7beb0b x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
426210b00b02 x86/speculation: Use IBRS if available before calling into firmware
63904f8a6d41 x86/entry/64: Fix CR3 restore in paranoid_exit()
35cf6a9daf5f x86/cpu: Change type of x86_cache_size variable to unsigned int
7fded60b2cb7 x86/spectre: Fix an error message
343945a16727 x86/speculation: Add <asm/msr-index.h> dependency
eb0f059ee2de nospec: Move array_index_nospec() parameter checking into separate macro
31951a39de73 x86/speculation: Fix up array_index_nospec_mask() asm constraint
344711f16fec x86/entry/64: Remove the unused 'icebp' macro
d4324affaf05 x86/entry/64: Fix paranoid_entry() frame pointer warning
3cadbc9228b4 x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly
0d561147160c x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros
22c1269eefa9 x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases
ac897d25b1d3 x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro
226eea037fa6 x86/entry/64: Interleave XOR register clearing with PUSH instructions
120d889cac9f x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro
2d5eb3888f24 x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions
797a6f4444f1 x86/speculation: Clean up various Spectre related details
ff032faca431 KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap
1aaab2d1a1fd KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods
dd17c0f5a114 Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"
add7dd4f1f81 x86/speculation: Correct Speculation Control microcode blacklist again
358f03a9395f x86/speculation: Update Speculation Control microcode blacklist
0307861327c7 x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
a612b987b028 x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface
1b8b432f6dee x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface
513e4bbfc32c x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface
(From OE-Core rev: 400c1bd54c0191b96bccfe0d2755995bdfc04fc1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yocto Project reference board such as Minnowboard need IGB module to
enable ethernet networking. It need to bundle together with kernel when
use NFS boot without initramfs.
(From OE-Core rev: f1b97a29a1918d4ae81cf71b026d6f2b82dfeb96)
Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding a BSP definition to the kernel-cache, creating a tiny branch for
board specific patches and finally setting the machine compatibility in
the linux-yocto-tiny recipe.
This is only the BSP definition and kernel configuration side of things,
more changes are necessary for full tiny distro support on qemumarm.
(From OE-Core rev: 9e88c4923a337ca8279feaa773884a9c26a092f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If relayd is started after connection attempt from consumerd it will
leave the session in disconnected state and causes the following
inconvenience. This is covered by an upstream feature, see
https://bugs.lttng.org/issues/883. Before it's done, this patches
allows users to reconnect to relayd.
root@localhost:~# lttng enable-event --userspace --all
Error: Events: UST create channel failed (channel channel0, session trace_session)
root@localhost:~# lttng-relayd -b
Warning: No tracing group detected
root@localhost:~# lttng enable-event --userspace --all
Error: Events: UST create channel failed (channel channel0, session trace_session)
(From OE-Core rev: 6f0079a6c3cc8926423cff3a927a78dcecede90d)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-order variables to align more closely to the OE style-guide.
(From OE-Core rev: 5c9c61250bb23fd5fd1c18e243cab0d80573b749)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
The current usage functions correctly (it over-rides the default, ie
empty, value of EXTRA_OECONF and then PACKAGECONFIG derived options
are subsequently appended), however the += is unnecessary and can be
dropped.
(From OE-Core rev: e255d1aebd0e019f42c2110873ef4779bbbb5974)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
The current usage is incorrect and prevents the aarch64 and musl
specific config options from being active together.
(From OE-Core rev: 2a30a9ecab6465892698f7fc9d14a430d8a26f0c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When SDK is not installed in the default location, openssl will not be
able to find the the openssl.cnf config file:
"WARNING: can't open config file: XXXX/usr/lib/ssl/openssl.cnf"
To fix this, we need to provide the environment variable $OPENSSL_CONF
pointing to the correct config file location.
(From OE-Core rev: b3f148333515efdb746b78c57d62cfbf3321b21e)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
root login is disabled by default for openssh and we can
enable it through IMAGE_FEATURES 'debug-tweaks' or
'allow-empty-password', so change to the same default
behavior for dropbear.
(From OE-Core rev: d3e69fa2fef83015658aa5fa1442bab5a8c3edaa)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"allow root login" should not be bundled in ssh_allow_empty_password,
because some distro may want only one of "allow root login" and "allow
empty password", so split it out into ssh_allow_root_login and add new
imagefeature allow-root-login so they can be controlled separately,
debug-tweaks will still include both of them.
(From OE-Core rev: 1ab494f06a12548a902298afabd0a842161ef10d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is helpful when exclude a lot of layers. It uses python re, and
supports multiple patterns (separated by space).
(From OE-Core rev: b5170882feb0f3bc2dddc213b6d115dfa87b7cc1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CONFIG_KLOGD is not enabled, then the related service file should
not be installed, The error message is below:
Cannot add dependency job for unit busybox-klogd.service,
ignoring: Unit busybox-klogd.service failed to load:
No such file or directory.
So we should first check the configuration before we install these
service files.
(From OE-Core rev: c3cc402df996654bf6f838b1e79e16a8bdd6d4d7)
Signed-off-by: Yadi.hu <yadi.hu@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the example to more current information.
(From yocto-docs rev: 6952824473f820cbe6d02cba9523c023652f68e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python-distribute is obsolete and is now simply a PROVIDES of python-setuptools,
so use the right name.
The identical change for setuptools3.bbclass was done in 2015 in 8922e60.
(From OE-Core rev: 87e38f0306400609aeac92bc13fd6f41d61e6271)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson uses 'mips' for both big- and little-endian MIPS machines, so map mipsel
to mips.
(From OE-Core rev: 23734432a24da77aa838ad4bdcbcc294cde08348)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a CPU family isn't recognised the first step should be to verify the mapping.
Send the user to a wiki page explaining what to do, instead of directly to the
Meson bug tracker.
(From OE-Core rev: 6c1e880a2bf4799cf451ff20c7ab93c55a755751)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if we do a testsdkext task for the image, it would take
very long time to finish. The time is mostly spent fetching kernel
source via network.
We have done some configuration in auto.conf, trying to make use
of own-mirrors.bbclass to avoid fetching kernel via network.
However, the solution normally does not work. Below is some log
from log.do_fetch.
DEBUG: Fetcher failure: Unable to find file \
file:///path/to/downloads/git2_git.yoctoproject.org.linux-yocto.git.tar.gz \
anywhere.
The tar.gz file is not available. It is generated only if
BB_GENERATE_MIRROR_TARBALLS is set to "1". The default value of
BB_GENERATE_MIRROR_TARBALLS is "0", and according to the manual, users
need choose to set it to "1" only if they are trying to make a source
mirror. So generally, this var's value is "0".
Anyway, we do need to avoid fetching kernel source from network when
doing testsdkext. So set PREMIRRORS in auto.conf to achieve this.
After this change, the time reduces from 4209.131s to 1399.436s on
my local machine.
[YOCTO #12729]
(From OE-Core rev: fd18ddb0664f69d77681590774b0123251a98728)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor comment update and re-order variables to align more closely to
the OE style-guide.
(From OE-Core rev: 0b0c294ed3a9f901b9a6afaf984ff4958c327c0e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
In this case, the _darwin over-ride seems to be unmaintained. It was
added in early 2013 but has not been accounted for in subsequent
updates to the recipe and (from inspection) now appears to be broken.
Remove the _darwin over-ride rather than try to debug or fix it.
(From OE-Core rev: 74e87700f4eb8c96aa7db3c722dd122c7e6f4bd6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using += with an over-ride can be a source of confusion so try to
avoid the construct in core recipes.
In this case, the commit which added the over-ride seems to have been
buggy - the commit message mentions "add to SYSROOT_DIRS" rather than
a correct description of what the change actually did, ie "over-ride
SYSROOT_DIRS":
http://git.openembedded.org/openembedded-core/commit/?id=355e49e19abb3e729c82a6de46ada8da8a257f58
The commit also appears to have been unnecessary as ${sysconfdir} is
appended to SYSROOT_DIRS for -native recipes by default from within
staging.bbclass.
To workaround the bug introduced by the first commit, a subsequent
commit later added ${datadir}/ca-certificates to the over-ride value
(which would not normally be necessary as ${datadir} is included in
the default value of SYSROOT_DIRS - ie the value which was lost due
to being over-ridden):
http://git.openembedded.org/openembedded-core/commit/?id=09bb7718d74573be9a5db4d0737fb14126f6489c
Therefore the fix seem to be to remove the SYSROOT_DIRS over-ride
entirely - the default value of SYSROOT_DIRS set by staging.bbclass
includes both ${datadir} and ${sysconfdir} when building for -native.
(From OE-Core rev: c1f18efda0280644b4a4ce6f2988fb7ada71faf6)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent glibc change removed libnss-nis module from glibc and a new
recipe libnss-nis.bb was added.
After this change, we need to make sure nativesdk-libnss-nis is also
included in buildtools-tarball, otherwise, we may encounter the following
error when using 'tar' command from buildtools-tarball.
tar: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: \
symbol _nsl_default_nss version GLIBC_PRIVATE not defined \
in file libnsl.so.1 with link time reference
This error occured on my ubuntu16.04 host with 'nis' configured in
/etc/nssswitch.conf.
So add nativesdk-libnss-nis to buildtools-tarball to fix this problem.
(From OE-Core rev: f7c703dd43e112b6cd63c7512645a1d418569ad7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With PATCHTOOL=git patches the changes in the patch_task_postfunc
of the classes/patch. This works OK when the S dir is a Git repo
but doesn't if the source is a tarball.
The while condition in the patch_task_patch_prefunc must be
jailed into the WORKDIR. In the opposite, when you are executing
the recipe out of a Git subtree the function simply fails but when
your recipes are into a Git repo the patch_task_postfunc execute a
commit over your BSP local Git repo adding the changes in an
arbitrary Git repo found in the path from the SOURCE directory to
the '/'. This situation is highly probable in cases like ~home
directories under the control of a .git repo or Yocto BSP which
manage the meta layers as git submodules.
This patch fix the changes introduced in
classes/patch: when PATCHTOOL = "git" double-check the repository
commit: 86ab56b551
Author: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Tue Dec 5 14:36:58 2017 +1300
classes/patch: when PATCHTOOL = "git" double-check the repository
If a bug is present or the user has set PATCHTOOL = "git" on a source
tree that isn't git, if we try to perform git operations (such as
committing or changing branches) when extracting source, then we might
in fact be running those operations on the metadata repository if the
build directory is underneath, say, poky or OE-Core, and that could
make a mess. Check if the source tree is a git repository and refuse
to continue if it isn't.
(From OE-Core rev: db6ce9d8838b1f9064604654ab579da3e237f361)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates CMake to the current stable release and drop many
backported patches in the process.
(From OE-Core rev: d942ec4ff649782d22afe49fd48839dbbfedc871)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
base_do_configure() tries to do "make clean" if there is a Makefile present.
For most recipes using distutils there is not a Makefile, but we do know that
"setup.py clean" will work so call that instead.
(From OE-Core rev: b805cefb24566772a2beb5d02036266e45370913)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The distutils class is about to do a clean via "setup.py clean", but numpy
doesn't support this and errors.
(From OE-Core rev: 67ae24ddb2bebbf8b1c455b8968f8c69844afb9d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These binaries can be provided by busybox triggering a conflict in
do_rootfs so update-alternatives needs to know about them to properly
create the symlinks.
(From OE-Core rev: 147da8fe7458a38598845958cb358bb094eba57b)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch was fixed a
different way upstream so remove.
0007-dri-i965-Add-missing-time.h-include.patch is now accepted upstream so mark
as backport.
(From OE-Core rev: 8fb143fe69147c32e945e798662d78e606bfe0a0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed code for "${D}${exec_prefix}/lib/perl-native/perl" since there is no
such a directory now.
* Fixed perl related code.
(From OE-Core rev: 416a8c241aff0dca6b8b123e52cf8e2d40c74c8d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with bind 9.11.2+ when the build host has lmdb installed, bind configure looks into
host headers and wrongly interprets that it should be enabling lmdb
disable lmdb to fix
| configure: error: found lmdb include but not library.
(From OE-Core rev: 8c00b32211f25e38c1601ec8de47e6d4729dd49e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 2e7f3b2b9318d1e5395ad58131eafb873f614326.
It was breaking quite common use case that the dtb files are in
some subdirectory and then kernel build fails to build them.
As reported by khem:
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152578.html
me:
http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152579.html
on raspberrypi3 build:
make[3]: *** No rule to make target 'arch/arm/boot/dts/dwc2.dtbo'. Stop.
arch/arm/Makefile:345: recipe for target 'dwc2.dtbo' failed
make[2]: *** [dwc2.dtbo] Error 2
Makefile:146: recipe for target 'sub-make' failed
and trevor on the IRC:
20:35:49 < tlwoerner> the recent 2e7f3b2b9318d1e5395ad58131eafb873f614326 commit in oe-core seems to cause dragonboard-410c's kernel to fail to build
20:36:26 < tlwoerner> for the dragonboard-410c, KERNEL_DEVICETREE is set to "qcom/apq8016-sbc.dtb" but the build failure is:
20:36:37 < tlwoerner> *** No rule to make target 'arch/arm64/boot/dts/dts/qcom/apq8016-sbc.dtb'. Stop.
20:36:44 < tlwoerner> i.e. the "qcom/" is getting removed
20:37:08 < tlwoerner> oops!!
20:37:33 < tlwoerner> wrong copy&paste, the actual error is:
20:37:36 < tlwoerner> *** No rule to make target 'arch/arm64/boot/dts/apq8016-sbc.dtb'. Stop.
20:37:53 < tlwoerner> i.e., the "qcom/" is being stripped out
(From OE-Core rev: 0d725c76c113dec441a7319a6ee997e4ae8c4c88)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error message when starting core-image-weston is not
critical as long as the image could start up correctly. So extend
the common_errors list for parselog.py test case to ignore this
message.
logind: cannot setup systemd-logind helper (-61), using legacy fallback
[YOCTO #12835]
(From OE-Core rev: edc244b2f346ad2eb3c90664ec17c904b356b992)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
on the host side we are glibc based therefore some native and nativesdk
recipes might need this package even when we target musl based systems
(From OE-Core rev: c939255a88d367d19497184ed64b828f021e5ef4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed 001-configure-Allow-to-explicitly-disable-nfsidmap.patch,
the nfsidmap is enabled when --enable-nfsv4, so I added a
PACKAGECONFIG[nfsv4], and default is no since keyutils is not in oe-core by
default.
* Removed 0001-include-stdint.h-for-UINT16_MAX-definition.patch and
nfs-utils-1.2.3-sm-notify-res_init.patch since they are already in the
source.
* Taken two patches from git://git.alpinelinux.org/aports to fix build
with musl, and the nfs-utils-musl-res_querydomain.patch is for musl only.
(From OE-Core rev: 0b51ed606b2e7543b50dadae7c0822b0f0de77ef)
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>
It is better to return False for None. E.g. checking an undefined
variable returned d.getVar().
(From OE-Core rev: 3048e9fa0df6b1edf79bd1723e0fc022c3332af1)
Signed-off-by: Binghua Guan <freebendy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the PACKAGECONFIG for documentation as it now requires python3-sphinx which is not
provided in any existing recipe.
(From OE-Core rev: 32dded1bd2f6c5cf6437330830399b72f15096c4)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to the latest stable version
License-Update: Copyright year updated to include 2018
Remove the alignment patch that is included upstream
(From OE-Core rev: 855020053906478cea164ed254c08bedce48479d)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Update checksum for whitespace (CRLF) changes
Update to the latest stable version
(From OE-Core rev: 467321703315f6e50aa8bc0e28cfe56f86c5fab7)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-git was updated to the latest stable version
Tested on qemux86-64 using core-image-minimal
(From OE-Core rev: 6aa6f57c4d42d45ce1d3dbdca0e8f38ae31c0fbe)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the upgrade a large number of Upstream-Status tags were dropped, so add them
back. I'm taking the stand that copying a patch Debian is carrying doesn't
count as a backport.
Remove two Debian-specific patches (one for Hurd, one for kfreebsd) so
we're not carrying useless patches.
Remove two patches that are no longer applied.
(From OE-Core rev: b039b26958655aab496b588f4e41a5dea1bfaac1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I hit
update-alternatives: Error: not linking [...]/rootfs/sbin/fstrim to /bin/busybox.nosuid since [...]/rootfs/sbin/fstrim exists and is not a link
The solution seems to be to tell the alternatives system that util-linux
can also provide fstrim.
(From OE-Core rev: 7b317343a74bb0c31515b28879127972d50d1896)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go1.10.3 (released 2018/06/05) includes fixes to the go command, and
the crypto/tls, crypto/x509, and strings packages. In particular, it
adds minimal support to the go command for the vgo transition.
(From OE-Core rev: 37f288d783257cb9e6c035aaab1b661b1016b4c3)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go1.9.7 (released 2018/06/05) includes fixes to the go command, and
the crypto/x509, and strings packages. In particular, it adds minimal
support to the go command for the vgo transition.
(From OE-Core rev: 98d3ec92e8953304db51c73aff7a4e81b97f668c)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
RPM writes each package scriptlet (post-/preinstall) to
/var/tmp/rpm-tmp.XXXXXX --- a lot of files potentially gets created.
When debugging is enabled, these temporary scriptlet files aren't
cleaned up at all and after a while this results in the filesystem
resources are eaten up (like running out of available inodes).
Normally, the temporary files would have been written to the tmp
directory of the target sysroot (which we can easily clean up), but in
this tree, you can't necessarily run the scriptlets.
Fixes [YOCTO #12792]
(From OE-Core rev: ffb0ece83e74797f4c3da3866bb3d691c388a5e5)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are very old and there are better benchmarking systems available
now.
(From OE-Core rev: 516c1d5c2b2875ac103d4b5e8e482f852477dc8f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* The license file is changed to LICENSE.adoc, it is still GPLv3+.
* Removed Revert-Create-man-page-in-the-make-install-from-git-.patch, it was
used for fixing a build failure of no asciidoc, but now there is no such a
failure, so remove it.
* Refreshed 0002-dev.mk.in-fix-file-name-too-long.patch
(From OE-Core rev: b137af6c2dc3d6c21808ecc872fbebbac5f96295)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Rebased Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch
- Removed backport patch 0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch
- The LIC_FILES_CHKSUM changed because it updated the address, others are the same
(From OE-Core rev: 2577fbed729ddc8deb7a657dbaa695d5bd7ef20d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This platform is enabled by default but as we override the platform list doesn't
get enabled.
(From OE-Core rev: bff79adccf3b6d7e07abc965af96f9c1d499d309)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the patch to install tests as the Meson build allows this.
Drop the patch to disable cunit as this predates recipe-specific-sysroots and
isn't required anymore.
As Meson always builds the test suite (instead of building before running it),
add a patch to fix compilation with musl.
(From OE-Core rev: 8dcebad54ded4fa9b3455b674be37ad0b10190d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson has a defined list of known CPU families but these are not currently
validated, so mistakes in cross files or new architectures are not noticed.
Backport a patch from upstream which warns on unknown architectures, but tweak
it to fatally error instead. When we upgrade to Meson 0.47 the first half of
this patch can be dropped.
(From OE-Core rev: be194a459944dfcc41bae7315643a5d284683efc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Ensure that the PACKAGECONFIG arguments are always in EXTRA_OEMESON
- Log the arguments that are being passed in do_configure.
- Do verbose builds so the compile logs are useful for debugging build problems
(From OE-Core rev: 3112ff268d095a65ecb893dd6ca88a85b0f70446)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A name > 50 chars causes a 500 internal server error and should be warned
to the user but the code to do so currently doesn't work. Fix the logic.
(From OE-Core rev: 844f8d46f522a994dbff00245c4ffb07452577a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this code prints things like:
ERROR: OK
which is unhelpful at best. After this change it would print:
ERROR: HTTP Error 500
which at least gives us something to work on.
(From OE-Core rev: 06079240e4eb0a3e1f528f6c8d6f3ea20754afee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As well as setting RECIPE_SYSROOT we also need to set STAGING_DIR_HOST/TARGET.
(From OE-Core rev: 59a0a05235d80c86251cf45d7142bfc57f2e70d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, recipes can't find allarch data files like autoconf-archive.
(From OE-Core rev: 8ae70703f68853a8714a4fb8fa5d959b5e21a02d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LIC_FILES_CHKSUM changed do to updated year
removed:
dont-test-on-host.patch, no longer implemented
drop use-python3-and-fix-install-lib-path.patch, they added the ability to pass in lib dir loctions
drop bind-confgen-build-unix.o-once.patch, fix included in update
Refresh other patches:
add python3 flag for PACKAGECONFIG to pull in python
add new config option --with-eddsa=no (needs openssl support not released)
Python support is disaled by default now.
Acked-by: Martin Hundebøll <mnhu@prevas.dk>
(From OE-Core rev: c37207d0aca5ad1ec2b45813274931be458ee7ed)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
include several CVE fixes.
CVE: CVE-2018-5733
CVE: CVE-2018-5732
LIC_CHKSUM_FILE updated to SPFX format
https://kb.isc.org/article/AA-01571
remove several patches now included in update.
Shared libarary support is now enabled in configure+lt, use it
and revert to autotools-brokensep
Refresh patches
Aligns support with bind 9.11.x
Add libxml2 support to configure.ac+lt
(From OE-Core rev: 7cb42ae87ef929bf7e08c559f09dc224c6e3d314)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The normalize_dtb function was buggy because
it only converted from .dts suffix to .dtb
suffix if the user passed a full source path to
KERNEL_DEVICETREE containing the /dts/ path.
The problem is that if the user did that there
would be a warning.
On the othet hand if user just set the variable
KERNEL_DEVICETREE="file.dts" the bbclass translation
to the respective .dtb target did not occur and
make would fail saying it has no rule to make target
file.dts
This patch decouples the logic of having /dts/ in the
path from the target translation.
(From OE-Core rev: 2e7f3b2b9318d1e5395ad58131eafb873f614326)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade webkitgtk from 2.20.2 to 2.20.3.
* update context of 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
* remove detect-atomics-during-configure.patch that webkitgtk 2.20.3
contains the commit of better solution, see
https://bugs.webkit.org/show_bug.cgi?id=161900#c9
(From OE-Core rev: 069426b0a7a6848a9290cd2e8cdce941d7e3c08c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Update debian 0.170 patches and rebase them for 0.172;
- Drop 0001-Use-fallthrough-attribute.patch which was
accepted by upstream;
- Drop 0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch
which was backported from upstream;
(From OE-Core rev: dbbe9c1d1f822cf13a4c16b79bccf6bf5c4b91e4)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If UBOOT_DTB_BINARY is empty, then don't try inserting the U-Boot
signing keys into the DTB. In this configuration the keys are expected
to be already present in U-Boot's DTB.
(From OE-Core rev: a0d74767f7bd18c853df6b0be162363076d8f965)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a function much like shutil.which or bb.utils.which, retaining
shutil.which-like function semantics, bb.utils.which's support for
returning available candidates for signatures, and most importantly,
supports wildcards, returning only the first occurrance of each found
pathname in the search path.
(From OE-Core rev: ca276fe139129eec383d77768ba91b808c462b04)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file_name parameter passed to bb.parse.siggen.invalidate_task
should be a virtual file name instead of a real file name, or else you
will encounter a following error, for instance, when you run:
$ bitbake nativesdk-lzip -c unpack -f
the error arise:
| ERROR: An uncaught exception occurred in runqueue
| if file_name:
| > taintfn = d.stamp[file_name] + '.' + task + '.taint'
| else:
| KeyError: 'virtual:nativesdk:/opt/poky/meta/recipes-extended/lzip/lzip_1.19.bb'
when multilib builds are used on OE.
(Bitbake rev: da37bdad46e11e7ce93ba7a59d58757b769dc16b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE = "qemumips64"
MULTILIBS = "multilib:lib64 multilib:lib32"
DEFAULTTUNE = "mips64-n32"
DEFAULTTUNE_virtclass-multilib-lib64 = "mips64"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips32r2"
bitbake core-image-minimal -c populate_sdk
Results in gcc-cross-canadian-mips failing to build due to the use
of an incorrect sysroot, fix this. All nativesdk pieces should be in
the same sysroot (unprefixed).
(From OE-Core rev: ae48ee6627e6c1c4f1fcc4ead40edc968e64f7fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the fixes to other parts of multilib, it was found that the fixup code's
assumptions about the recipe sysroot were incorrect. We need to use the value
calculated earlier in the function.
It turns out there is a rather neat way to do this which cleans up the code
as an added bonus.
(From OE-Core rev: 2c1978fe1a5b72167c49010fbdd39a9e2eefdef8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're in a multilib context already and want a non-multilib context
this function returned incorrect values.
Try and retain optimisations for the common case not needing to request
a datastore but allow the different multilib/non-multilib combinations
to work too.
This fixes bugs where rootfs generation of a multilib image would
write into incorrect locations, or be unable to find sstate manifest
files due to incorrect data stores being used to expand data.
(From OE-Core rev: af7cd7823a8cc95c9f849498b2416cdb0d4d103e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is duplication in the code, we can clean this up
by extending the multilib variants list.
This code also currently fails its its called from an existing multilib
context since its assumes the data store passed in is the non-multilib
case. When building an image, say lib32-core-image-sato, this leads to
incorrect PATH values.
To fix this, we also request a data store for the "" variant allowing
this corner case to be fixed and for the function to correctly return
values for each multilib even when a multilib is already selected.
(From OE-Core rev: cc1c481560b81c223170230430308c7e2f08c812)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if you enable multilib, then build an image, the multilib
recipe sysroot is build in the wrong WORKDIR. If you then clean and
rebuild the image you see "file exists" errors.
This patch ensures the real WORKDIR is used consistently and then
cleans/rebuilds also work correctly.
(From OE-Core rev: c013ae59a158378d06ecf8eb123df0a10bf986b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently this function assumes that no multilib is applied and that
we're applying a multilib. This means if we're in multilib context
and want the non-multilib context we can't obtain it (and no other
function exists for this either).
Improve the function to allow this to be requested.
(From OE-Core rev: 295c5a3d19834a2fac255346d0a373449cfdd776)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a test that creates a layer, adds it to bblayers.conf, then ensure
that it appears properly in bitbake-layers show-layers.
(From OE-Core rev: 828462d2c39fe6f4d188b5eb129f7b2969e1ee18)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of commit 2c5c6e3ff we create multilib variants of intercept
hooks but we did not account for delay_to_first_boot variants.
This was covered up until commit a335e7867, but will now cause
an error.
(From OE-Core rev: 77f7c75481dceec36b7373f277c3bac811de9ef2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed package recommendations so that the license package of a
recipe is recommended for all packages of a recipe instead of for one
package given by the recipe name.
Pre-patch behaviour results in a missing recommendation when a recipe
does not have a package with the same name.
(From OE-Core rev: 07343ff6282dd18432ecee5d9b80ad1fb86217f1)
Signed-off-by: Alp Özmert <info@ib-oezmert.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user has set numa in their MACHINE_FEATURES we should enable
NUMA support in the kernel config.
(From OE-Core rev: e999816fec19750c4885e99930113bac21c225c0)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 920dc165abe2484c240b76f95123f5a28f48f9ce)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are going to let runtime test support kernel tests. Now we just add
kernel self-contained sample tests. And we plan to add overall kernel
tests in the future.
This patch is just add kernel samples test which contains about 13 tests
enabled by kernel-sample.scc. So it needs statement,
KERNEL_FEATURES_append += " features/kernel-sample/kernel-sample.scc" in
local.conf.
(From OE-Core rev: be6ef728fd36049ea3822a54909a995bdecf6dd0)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable kernel-sample features by default with the machine of qemu.
(From OE-Core rev: df7213e4799f9147560f61bbd466367ba02fd470)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Config file python3.5m-config conflicts between 32 and 64 bit packages.
Use update-alternatives to add base_libdir as suffix to avoid it.
[YOCTO #12511]
(From OE-Core rev: bbb5e55abd0e628a5b0dae90d5eace0a2483f1fc)
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there are spaces in the mount points of devices e.g.:
a partition mounted at "/run/media/My Root Partition-sda1",
the initrd fails to move such mount points over to the
corresponding directories at /media under the real root filesystem,
and the mount points would appear at the same location as they were
mounted on when detected by initrd, for example:
here: "/run/media/My Root Partition-sda1"
instead of here: "/media/My Root Partition-sda1"
This causes issues such as:
* The disks/partitions cannot be formated with any filesystem
using e.g. mkfs.ext4 or mke2fs in general. When tried to do so
by making sure the device is not mounted, it failed with
errors such as:
> /dev/sda1 is apparently in use by the system; will not make a
filesystem here!
> /dev/sda1: Device or resource busy while setting up superblock
* The read/write operations become extremely slow. e.g. Under testing,
it took approx. 2 hours just to copy 700 MB of data to the partition,
and it took more than 40 minutes to delete that data from it.
Same operations took under 5 minutes on a partition that had no
spaces in its mount point (or that was successfully moved to real
root by initrd and appeared under /media instead of /run/media).
This commit fixes such issues by quoting the arguments of failing mount
move commands and by parsing OCT or HEX encoded special characters
such as spaces to ASCII charecters in the mount points as kernel
populates the procfs like so.
(From OE-Core rev: 6f8f984ba363f764e83290b972ec31a90aad1603)
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The path to where the layer was being created was taken verbatim as the
name of the layer when generating the layer.conf and README files from
templates. This causes problems in the layer.conf file because it would
result in strangely named variables like
BBFILE_PATTERN_../my-layer = "..."
Instead of blindly taking the path, use the name of the last component
of the path as the layer name.
Additionally, rework the template files to use python format strings
with named parameters so that the same argument doesn't have to be
repeated multiple times.
[YOCTO #12808]
(From OE-Core rev: 01071c5d524a878d9de4814196cba2f15739796e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's an occasional build race from headers being generated in parallel with
other files which include the headers being compiled. Solve this by adding more
dependencies.
[ YOCTO #12815 ]
(From OE-Core rev: 177f4782e1ffca1eed3c9b102d910239a3dceea4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ccache and openssl don't get on:
| make[1]: Entering directory '/home/prj/yocto/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/openssl-1.0.2o/crypto'
| ccache: invalid option -- 'D'
Disable the use of ccache in the openssl recipe until someone root-causes this.
[ YOCTO #12810 ]
(From OE-Core rev: 8f9ceebb197dba10f2d08449de2dd64584de06bb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no reason to have that rootfs.img filesystem in the image:
it's not used for anything because both the EFI and legacy boot paths
use the /initrd which contains the same contents as the rootfs.img,
only compressed. It was probably forgotten in there :)
My iso went down from 224 to 94 mb.
Tested using UEFI/legacy boots on CD-roms, usb dongle and qemu VM's.
(From OE-Core rev: 4c784379524cb12807ef87a02ef1514ed45c1cc3)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's really good that OE supports multiple EFI_PROVIDERs and that
commit 9a1709278de87 ("wic: isoimage-isohybrid: use grub-efi from
deploy dir") makes re-use of the grub-efi built image, but we should
still respect the standard otherwise the ISO will not boot, so install
grub images as boot[x64|ia32].efi not ${PN}-boot[x64|ia32].efi.
(From OE-Core rev: 1608129692d92c239b5fb9244b649a32b9009254)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes from 0d8de4ce:
c2d4ba8 drm-legacy: fix poll for flip event, actually exit on user input
56c3917 formats: use weston's egl config matching logic, centralize format
aac3788 Rework default modifier handling
4f7cec0 Use weak functions to handle lack of gbm modifiers
98f31bf cube-tex: make use of modifiers
063ce5c gbm: fix fallback for drivers that don't support modifiers
9dcce71 add MSAA
Also refresh gbm_bo_map/_unmap patch.
(From OE-Core rev: 4cc150f31f84d1cbc82df7d7f8fe045a06a9859e)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds keep failing with a race over the generated header file, fix it!
[YOCTO #12828]
(From OE-Core rev: 3db0b1e798797013e3c553c1ce599191da2c3daa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: update COPYING file format
Drop 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch and
0002-Remove-funopen.patch since they are already fixed upstream.
Backport 0001-flopen-Add-missing-fcntl.h-include.patch to fix build with
musl.
(From OE-Core rev: 62981e79de16a2352744c4b275f0549b1dafd17a)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Add-P-prompt-into-Usage-info.patch since it is already fixed
upstream.
(From OE-Core rev: 02f8aff020762e77bf49587115f6b8fbc96296c9)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason the layer index is expanding HOSTTOOLS before BBINCLUDED is
set so recent changes break it. This adds in a simple workaround to stop it b
reaking allowing the index to function correctly again.
(From OE-Core rev: 40a904bf8bc1279c3da0893c003f740f1d2066c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup the recipes which had been removed from oe-core.
(From OE-Core rev: 2dfbff215f3567252fdfbd5704e6740a30ad41b4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move packaging rules for cmake -dev files from cmake.bbclass into
bitbake.conf to handle recipes (e.g. harfbuzz 1.8.1) which build with
autotools but also install cmake -dev files.
(From OE-Core rev: 543e39ad5e2baa0f1ece013a89483783e6b15dd9)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FIXES [YOCTO #12734]
Added a new variable description and created a new
section in the dev-manual.
(From yocto-docs rev: 854e641482171585c96ee5b9387b3e64146072b9)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated some links. Also, rewrote the note about the libraries.
It was inaccurate.
(From yocto-docs rev: a0fce0ed36f3d0668e2d211433e7d93fb8833319)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I corrected some wrong information. Provided the correct terminology
for the build host, and provided quotations for supplied values to
be in line with manual writing conventions.
(From yocto-docs rev: 420a7e96e7145dbef31d706cd257059619f71e12)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made several formatting changes for selections. These should
be using quotes and not being formatted in Courier.
(From yocto-docs rev: ec0a2d7e3cfd78fa4e508d5672f1c8265a3600a4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rendered a menu correctly instead of in formatting mode.
(From yocto-docs rev: 7c7da68171dfee037d02fa683c5cba047237fd52)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step that describes how Eclipse runs the Autotools is too
detailed and can run into problems as Autotools workflow changes.
I made it more general.
(From yocto-docs rev: 5d378a48f7237c620b7fc781b43ee86ea7522432)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to render fields and items from the dialog in normal
text, not in formatted text.
(From yocto-docs rev: 204750e3e2a2e777207d5f2044e38d5482254c46)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both Neon and Oxygen needed some changes for correct use of the
way we refer to menus and fields.
(From yocto-docs rev: 1cb20243194e61b925df6b0a3b136233f1da8a57)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Used correct formatting for menu items and items fromt the
dialog screens.
(From yocto-docs rev: 9f9d4d65036dc23d193961efb4ae3f236fc8935c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list in the "Configuring the Neon Eclipse Yocto Plug-In
section should be an ordered list and not a bulleted list.
(From yocto-docs rev: 87926b1fb62f3678bd328af3f018f1b17a982092)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided similar wordings in places in this section as were provided
in the parallel "oxygen" section.
(From yocto-docs rev: f4fd33d10363ab84f1f76d3e4bf115df45aef77c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to consolidate a couple steps here. When you add in the
location for the YP Plug-in, it auto-populates the options.
Updated the prose to reflect that.
(From yocto-docs rev: b16963844cd573e5f52289f8948b38a5d4a0f7f1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Configuring the Neon Eclipse IDE" section needed a bit more
information in the note. Telling the users that if some options
are already installed they will not appear in the list.
(From yocto-docs rev: fbee757f102ee51e4db9fb6bdfd516775de8b5e0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Steps indicated you had to be in a clean directory to unpack the
tarball. This is false. You can be in any directory and unpack the
file. Unpacking it puts all the files into a directory named
"eclipse".
(From yocto-docs rev: 3e2fc8d013b51c1a90a44cf32a6cd69e2ef80a22)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed this step to be more accurate.
(From yocto-docs rev: 1a5c25c57a8f5829a8c3302520661def856adb58)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was pointing to the Chapter 5 as if it were in a different
manual. The link worked but should have been pointing to the actual
section of the Eclipse flow overview. Fixed it.
(From yocto-docs rev: 4cc906bf383af837855f4c40fc107c77ff6d3ff9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since DISTRO_FEATURES was expanded in the comments, it created
task dependency to the full content of DISTRO_FEATURES, instead
of just the x11 used below. This prevented reuse of sstate-cache
when unrelated feature flags were changed.
(From OE-Core rev: a39830b77f567e2361f1ced49bfdce52591e220c)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although there may still be specific cases which can benefit from the
ARM instruction set, the Thumb2 instruction set is generally a better
default for armv7a class CPUs. Distros such as Debian and Fedora have
been targeting Thumb2 by default for some time.
Note that setting ARM_INSTRUCTION_SET has no effect unless
TUNE_FEATURES contains "thumb" (which is controlled by the "t" suffix
in DEFAULTTUNE, e.g. armv7vehf-neon -vs- armv7vethf-neon, etc) so out
of tree machine configs may need to update their DEFAULTTUNE to take
advantage of this change.
(From OE-Core rev: c88304a78e528596ca481cabe273749c286c352a)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package_qa_handle_error() returns True on non-fatal issues and False on
fatal issues. But the current usage has been to do
sane = package_qa_handle_error(...)
which would always reset sanity status to be that of the last issue
identified. This change the assignments to use the &= operator instead:
sane &= package_qa_handle_error(...)
As far as I can tell, this is not a real problem in practice, because
warnings of different levels (WARN_QA, ERROR_QA) does not seem to have
been mixed in a way that triggered this issue.
(From OE-Core rev: 21d015f6c9927598d64c48c925638619b25cf232)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a license file referenced from LIC_FILES_CHKSUM doesn't exist,
insane.bbclass would output an error message, but would continue the
build. This change makes this error fatal (as I suspect has been the
intention).
(From OE-Core rev: da29440633706fb7a346391d97894d6f2cbb0d01)
Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh 0014-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
to also define GLIBC_DYNAMIC_LINKER relative to SYSTEMLIBS_DIR on riscv.
(From OE-Core rev: 12e859dfb70f8aae40edfd88b143b6c771f4e1a6)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SOURCE_DATE_EPOCH is unset (in addition to the existing "0" behaviour)
parse out the top most commit timestamp from the kernel tree to use as the
timestamp.
(From OE-Core rev: 2f0dd67a5a8d4269f5155004d532d8fa972b3223)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When REPRODUCIBLE_TIMESTAMP_ROOTFS is unset and we want to parse one
from git, use COREBASE as the base for the git command so we have a
known repository which we're using. Without this the build may fail
if the current directory is not part of a git repository.
(From OE-Core rev: 1c2197f96d69547e10b74dc722d9a569d9a2b2b6)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the ARM SWP instruction may exist for ARMv6 and above, it's
not guaranteed to work, especially on SMP systems where it's use may
lead to instability at runtime, etc:
https://community.arm.com/processors/b/blog/posts/locks-swps-and-two-smoking-barriers
Keeping the optimisation for architecture levels which pre-date SMP
(ie <= ARMv5) may be safe, however other distros (Buildroot, Debian,
Fedora, etc) are not doing so and mutex contention is likely to be
less of an issue on uniprocessor systems anyway, so the benefits of
this micro optimisations are not clear. Since OE uses ARMv5 qemu as
a proxy for testing all 32bit ARM architecture levels, it's desirable
to keep the ARMv5 builds aligned with later ARM architecture levels
wherever possible.
(From OE-Core rev: 7aa94abac09be6beb7ce14a2b9a409e934465706)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Systemd mount configuration file must have a name that match the mount
point directory they control. So for instance, if a mount file contains
[Mount]
...
Where=/mnt/my-data
The file must be named `mnt-my\x2ddata.mount`, or systemd will refuse to
honour it.
If this config file contains an [Install] section, it will silently fail
because the unit file is not escaped properly when systemctl is called.
To fix that, make sure paths are escaped through `shlex.quote`.
(From OE-Core rev: bbd9524256461f1bcafd4103edd575e668de76f8)
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It allows to run program with some namespaces unshared from parent.
(From OE-Core rev: 68e0080a924654245f04cf92c2579abd9e5bc658)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
remove Fix-compilation-for-X32.patch as a solution simular is included in update.
notable changes:
The TLS 1.3 implementation was updated to Draft 28.
The CA certificates list was updated to version 2.24.
refresh patches
fix 32 bit build error nss bug: https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=1459739
(From OE-Core rev: 1ed072515f2a23de75ee56b86d8607c85b42605c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We get fuzz warnings when applying these patches and devtool
reports it
(From OE-Core rev: cb3c0343becc8bb2ebf4e9c12782c509a3d7754d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Entropy is needed earlier in the boot process in some cases, for example
connman can require it, and rgd doesn't require much, so move it earlier
in the boot process, 03 for sysvinit, and before sysinit for systemd.
(From OE-Core rev: 31c9b42aaeef3ad66e05e51b8209e87f2a22f091)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added as the recipe didn't inherit systemd, but it does inherit
systemd now.
(From OE-Core rev: c70b70f045a5ccf62b19060f3438b38d9914e9a2)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this, the package clutters up the root of /usr/share/doc.
(From OE-Core rev: af4f0d44acef328245dfe1bd102bb5e61293ee2d)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can fail for target, not just native.
(From OE-Core rev: 747c7dc8702d2241475894876d06a2f1f2b29fed)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than trying to construct a string by quoting the files in an
error-prone way, parse $EDITOR to pass a list to subprocess rather than
a string.
(From OE-Core rev: c9fdf3d046606a0becb2e6b566a481c483b9021a)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an automated test to exercise that fetching a git: recipe...
1) works over git without mirrors
2) fails without git connectivity or mirrors
3) works without git connectivity but with a mirror
(2) is done by setting GIT_PROXY_COMMAND to 'false' which should break any git
network operations.
[ YOCTO #12805 ]
(From OE-Core rev: 13269dfbbc62faef32595343dc78250fdb2a2946)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following error messages appear now and then at boot time.
avahi-daemon/chroot.c: open() failed: No such file or directory
Failed to open /etc/resolv.conf: Invalid argument
The problem is about /etc/resolv.conf. In Yocto's systemd based
systems, it's a symlink to /etc/resolv-conf.systemd which in turn
is a symlink to /run/systemd/resolve/resolv.conf. The systemd-resolved
service handles creation of /run/systemd/resolve/resolv.conf file.
So if avahi-daemon is started before systemd-resolved, the error messages
appear.
Fix this problem by making avahi-daemon start after systemd-resolved.
(From OE-Core rev: 647db1d9eb65b225ffbb6953f796232026bfa935)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch does nothing but reorganizing codes.
avahi.inc is shared by avahi and avahi-ui recipes. Move common things
into it, and move uncommon things out of it.
(From OE-Core rev: 75529d384bfeaf52befccb892cf41f22dc02668b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream commit 61f32bff6130a44d077886d38cff89ad161bf177 included in
the release v229 removed the use of the group:
commit 61f32bff6130a44d077886d38cff89ad161bf177
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Feb 1 12:09:34 2016 +0100
tmpfiles: drop /run/lock/lockdev
Hardly any software uses that any more, and better locking mechanisms like
flock() have been available for many years.
Also drop the corresponding "lock" group from sysusers.d/basic.conf.in, as
nothing else is using this.
[...]
diff --git a/sysusers.d/basic.conf.in b/sysusers.d/basic.conf.in
index 823d6cb20..b2dc5ebd4 100644
--- a/sysusers.d/basic.conf.in
+++ b/sysusers.d/basic.conf.in
@@ -19,7 +19,6 @@ g wheel - - -
# Access to certain kernel and userspace facilities
g kmem - - -
-g lock - - -
g tty @TTY_GID@ - -
g utmp - - -
[...]
The upstream documentation doc/UIDS-GIDS.md says that basic.conf.in is "the
precise list of the currently defined groups":
## Special `systemd` GIDs
`systemd` defines no special UIDs beyond what Linux already defines (see
above). However, it does define some special group/GID assignments, which are
primarily used for `systemd-udevd`'s device management. The precise list of the
currently defined groups is found in this `sysusers.d` snippet:
[basic.conf](https://raw.githubusercontent.com/systemd/systemd/master/sysusers.d/basic.conf.in)
It's strongly recommended that downstream distributions include these groups in
their default group databases.
Removing the creation of the group also avoids the need to define a GID
for it when using static ids.
(From OE-Core rev: da3659155cd1825a4a8d3d7c5288b4273714de15)
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
popt is a library, so it makes no sense for this to be in a "command line"
packagegroup.
(From OE-Core rev: 4af90876914e5f2ccc5b7f833cd43c239c2dac55)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recipe that doesn't configure, doesn't compile, and just ships a single shell
script certainly does not need to build depend on popt and glib-2.0.
(From OE-Core rev: 8a771f22980f766b71f3ea0825568fc5c669e444)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alioth is dead and the minicom project on Salsa (the replacement for Alioth)
doesn't actually have any files in, so just use the Debian mirror instead.
(From OE-Core rev: b0338efcdabeec79c568c74b6888d7d523e8e9dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a Debian snapshot mirror from 2018 (specifically, 10th March, the date 9.4
was released) to DEBIAN_MIRRORS.
(From OE-Core rev: f3f394913b4e4a7c601ad1158faaf8b9d493e1c7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alioth is dead so we can't use it for SRC_URI anymore. There is a shadow
repository on GitHub which is the new upstream, but for some reason it is
missing the 4.2.1 tag and tarball that we use. Also 4.2.1 was never uploaded
into Debian itself, so we can't use their mirror network either.
For now point SRC_URI at the Yocto Project source mirror and set
UPSTREAM_CHECK_URI so that we get nagged to upgrade to 4.6.
(From OE-Core rev: b3e246fef166030f327b5a852718ea907ada1759)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous host of chrpath, Alioth, is dead. chrpath hasn't yet moved to
Salsa, so download the tarball from the Debian mirrors.
(From OE-Core rev: a8a2c5ec891286a1e7fd5ebdd33565f9ae3965c2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated package to version 3.79.
The original FTP server, alioth.debian.org has been permanently taken
down by the Debian Project and replaced with salsa.debian.org.
Source: https://wiki.debian.org/Alioth
Also added HOMEPAGE, and BUGTRACKER.
[ tweak URL to work with checkpkg - RB ]
(From OE-Core rev: ee48cb68e5d91ba108cccdabce003233290ba816)
Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perf is superior in most ways and is preferred.
(From OE-Core rev: bcdaa93dc70411da8876364ae67d0bf2456a3611)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum changed due to updation in documentation. There
are no changes in the license terms.
(From OE-Core rev: e8dfe9799e473e0ba911a0670aa23e8e8d700223)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the kernel for v4.14 and v4.15 to include a workaround of
the Ethernet malfunction on edgerouter board when building with gcc8.
(From meta-yocto rev: a503919e72fad9556ab0f51a78b92ef3e0075e97)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently mpc8315e-rdb.conf comes after local.conf during parsing. We should
give local.conf a chance to overwrite the kernel provider assignment, like
other BSPs.
(From meta-yocto rev: c5c70afb0306d96ae63d7a67d658524ed6d91e88)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If uri_find contain parameters then original URI parameters should
be checked against parameters from uri_find instead of parameters
from uri_replace.
(Bitbake rev: 8efa7826a61501589afa33eb698c0ab3a622bf2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is especially needed when defaulting to hard-float ABI
Fixes errors e.g.
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
Fixes [YOCTO #12795]
(From OE-Core rev: 85981cbbf0ce48a6d82bc39248afa9540ca858d8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Exception: TypeError: boolean accepts a string, not '<class 'bool'>
is a bit annoying if you pass in True/False. Tweak the function
to make it forgive that situation.
(From OE-Core rev: 147f5a665fe5073027d92e4acac631f15f08f79f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The testimage changes break the autobuilder. The plan is to revert these hacks
but due to various changes happening with the autobuilder, we need these for now
to keep things working until we can move to the new autobuilder codebase.
(From OE-Core rev: 309a02931779f32d1139cc1169a039cbe4638706)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both busybox and coreutils provide mktemp, and the only difference between those
(and standalone mktemp) is that coreutils supports --suffix.
Also mktemp.org has disappeared, so it's fair to assume that the standalone
mktemp (last released in 2010) is dead.
(From OE-Core rev: 59a825ca1e08a7e47fcbc807606103d463280e6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
the '-delete' action no longer complains about disappeared files
when the '-ignore_readdir_race' option is given, too. That action
will also returns true in such a case now.
(From OE-Core rev: f0808ee03a244be1fb485e0046983a05193b23b6)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License changed since licenses for the bundled linenoise and lz4 codebases
were added. We don't build either of them. Add MIT since utf8proc is MIT
licensed.
Configure to use the internal utf8proc codebase since we have no copy of that in
OE-Core, nor any need to add one.
Add a dependency on lz4 which is now required rather than using the internal
codebase within subversion.
Drop a patch merged upstream.
(From OE-Core rev: 5bb47984af79fe2e8c3ba5bc6895741131f03bcd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The TEST_IMAGE interface has never particularly worked and image testing currently
gets configured manually.
This reworks the interface to better serve the needs of its users, replacing it
with TESTIMAGE_AUTO.
This does away with the need for the separate class due to better bitbake APIs for
changing tasks.
TESTIMAGE_AUTO will automatically boot under qemu any image that is built. It
also adds in dependencies so that any SDK for which testing is requested will
automatically be built first.
The code in bitbake.conf was error prone (e.g. testsdk wasn't considered), this
improves it to standardise on IMAGE_CLASSES as the standard configuration mechanism.
(From OE-Core rev: b34d44f3dfea8254826a46701a4fe3769a900434)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logic can be improved and the historical NOISO/NOHDD variables
moved into the class and out of common code.
The variables are also then removed in favour of directly controlling
the behaviour from IMAGE_FSTYPES in line with all the other image types.
(From OE-Core rev: a052caed563a09a01f5a3ea1f0477f379c05bee0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Right now the code handling class inherits is spread all over and
its hard to get an idea of what is happening overall. Combine all
the code together to make it clearer. There shoould be no functionality
changes.
(From OE-Core rev: 9b6cda7ff443eebfc5a5a8c9442c93a881807dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current looping structure is confusing, simplify it a bit
to improve readability. Should be no functionality changes.
(From OE-Core rev: 498065b51b205b43d7dae1008014eba85a8f138c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is a little obtuse, add more comments about what its
doing and why. Also combine some of the statements where possible
to improve clarity.
(From OE-Core rev: 3e0c22e9bd9757cd458a073a3f043a48184d7bab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once, there were do_setscene tasks but this hasn't been the case for years,
drop the old code.
(From OE-Core rev: b13a691f1cfc0d68a0f94c343fa3a1b987dbe117)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a reworked version of the issue which 5479654eea
attempted to fix.
"""
Each time I build my image after the first, I end up with a
do_image_complete_setscene stamp file with an extra _setscene appended to
the name. Eventually, the filenames end up being so long that mv complains
and the build fails.
It looks like this behaviour was introduced when the special handling was
added for do_image_complete in 2ff9d40dc88d43567472218cf3d3faf414398c71.
"""
Instead of the original approach which broke do_package_setscene, add
an entry to explictly stop the stacking _setscene pieces on do_image_complete.
It's not straightforward to just move *do_image_complete* after the
*_setscene* pattern because do_image_complete stamps would then match
do_image*.
(From OE-Core rev: 0f4e734e0ef40076351ed7ff795aac36197e4949)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this fixes the do_image_complete_setscene append problem, it creates a
new problem since the code can no longer reach the *do_package_setscene.*
code block below it. This breaks builds as per [YOCTO #12765]. Revert this
change in search of a better fix.
This reverts commit 5479654eea.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
always_include_xorg_server.h.patch is merged upstream, so drop it.
disable-x11-dri3.patch was purely to solve determinism issues with the shared sysroot, which
we don't have anymore.
Also remove redundant tarball checksums as this recipe fetches from git.
(From OE-Core rev: a40c5dcdd3f5b05d1a1bb348753a1d9101ef5152)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were shipping the Debian fork of the original code, but that has disappeared
now that Alioth is down. The driver didn't provide anything better than the
kernel and xserver's modesetting driver, so remove it.
(From OE-Core rev: 0e0b5e8abff3b0c30676bcfb76c60388ad2cfafe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This driver is dead upstream and doesn't appear to provide any advantage over
upstream kernel drivers and xserver's modesetting support.
(From OE-Core rev: 61611dec98e5b13e95bb42500d6b261cdb95feb1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
You can now limit on a task-specific basis the number of threads
a task will use. This is useful for machines that have high
numbers of cores and need to be rate-limited due to various
resource constraints.
(Bitbake rev: 4937ed392fdc4442dd91f644f329dda29f27242c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In runqemu-ifup, ip command is used to add TAP; in runqemu-ifdown,
we should do the reversed logic, using ip command to delete TAP, to
make sure TAP is cleaned up by ourselves.
I can see that in runqemu-ifdown script, 'tunctl -d' and 'iptables'
commands are used to deal with TAP, but these two commands cannot
make sure that the TAP is cleaned up.
runqemu-ifup uses 'ip' to set up TAP, we really need to do the opposite
in runqemu-ifdown.
(From OE-Core rev: 322e41de7f4fb21315bf75f1038314c31ac4754b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add SIGTERM handler so that runqemu could clean things up correctly
when receving such signal.
This problem was originally observed when running testimage. On
some hosts, after running testimage task, the user has to manually
operate on the tap interface (e.g. `sudo ip link del tap0') in order
for the next runqemu command to launch successfully.
The problem is about runqemu, SIGTERM and network manager on the host.
In testimage task, the runqemu process will receive SIGTERM. In such
situation, its cleanup() function is not run, resulting in tap interface
not cleaned up. On some hosts, the network manager will bring down the
tap interface automatically, thus this problem. I saw this problem on
Fedora21.
I think we'd better just clean up the tap interface ourselves.
So this patch adds to runqemu a SIGTERM handler, in which the actual
qemu process is terminated and other things cleaned up.
(From OE-Core rev: 02709d4709c56f9b9095e3555da35b659b03a8a3)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Derive the value for template layer.conf from core layer and add
dependendency on it too.
Fixes [YOCTO #12767]
(From OE-Core rev: 461c305078c40fca8b5382e393e3e8513d4abfa4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously a warning was printed regardless of context and nature
of the failure, and because it was only a warning, it was mostly ignored.
Now, the following is considered when a failure happens:
1) whether we are installing packages into a target image, or populating
a SDK with host or target packages.
2) whether the failure was due to qemu not supporting the target machine.
Accordingly, warnings, notes, and failures are printed, and postponing
to first boot happens if possible.
(From OE-Core rev: a335e78672b1e1ae3ea6427f6a805218e513bb52)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variants are needed in particular when executing postinst_intercepts as
those may require running binaries built for different architectures and
against different sets of library paths, when multilib is in use (or nativesdk host
packages are installed), so a single global variant of the script was not working.
I do understand expanding PATH and DEPENDS in this manner is hackish, however
every other approach I could think of is worse.
(From OE-Core rev: 2f31eecc40ea4d0865aa28d65a0ba7d5a629393a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously only one global variant of the script was created,
which caused numerous issues:
1) multilib was not properly supported due to multilib variants each
needing their own version of the qemu binary and library paths to be set
2) nativesdk was not properly supported for the same reason
This patch also moves setting LD_LIBRARY_PATH directly into the
recipe, as passing it down from other recipes did not work when
said recipes were allarch, and adjusts calls to qemuwrapper from
postinst-intercepts, so that its correct variant is selected.
Also, the various qemu fallbacks in qemuwrapper script are all removed,
as they are no longer necessary.
(From OE-Core rev: d10fd6ae3fe46290c6e3a5250878966d9f12ca3f)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, there would be a failure at image creation time; avoid
that by postponing to first boot explicitly.
(From OE-Core rev: f3247720dc4b1c49e8fad734e20b17ba55843b97)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has the following benefits:
- consistent with how the other caches are created into target rootfs
- only runs once per package manager transaction, instead of once per every immodule package
- correctly postpones to first boot if qemu is not working; from postinst itself
this would've required special arrangements to avoid what is now a do_rootfs failure.
(From OE-Core rev: cca3c084b6c9bf600d7306e3fe12c4f236b78656)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Originally these ARM specific EXTRA_OECONF options were applied to
both gcc for the target and gcc-cross. That lead to a compromise
being made: gcc on the target was configured to default to an ARM
architecture which was at least compatible with the target (but not
necessarily an exact match) and gcc-cross was configured default to
armv7a for both armv7a and armv7ve (to avoid gcc-cross rebuilds when
switching between the two).
However, when these ARM specific EXTRA_OECONF options were moved from
gcc-configure-common.inc into gcc-target.inc (ie they were made to
apply only to gcc on the target) the compromise no longer needed to
be made.
http://git.openembedded.org/openembedded-core/commit/?id=851937dde81de2a9ef54c5f19a78fb12fb82afd4
(From OE-Core rev: 3c368282741e9de1f96988e127b86a6a01b6a26f)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gobject-introspection hard-codes the install path in the search path
for the typelib repository, pretty much the same way glib behaves for
the gio modules directory. Like for glib, this causes problems when
gobject-introspection-native is restored from sstate with a different
build directory.
Based on the glib fix by Ross Burton <ross.burton@intel.com>.
(From OE-Core rev: e4cee788056133ce0a49bc96e54399bdd7825aa3)
Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If package management is present opkg/dpkg will bring the original
copy of the postinsts scripts with the metadata and will be able to
handle postinsts just fine. In fact, it is preferred to let package
management handle the postinsts scripts in this case since it will
keep the package managers database up-to-date too. The run-postinsts
scripts will make sure the package manager gets invoked instead of
the scripts directly.
Note: Before commit 5aae19959a44 ("rootfs.py: Change logic to
unistall packages") rootfs.py did not install /etc/$pm-postinsts
too. It is not clear whether that change was intentionally or just
a bug. This commit fixes/reverts that aspect of the commit.
(From OE-Core rev: 4b571c59e3e6bd8b22a63f547a95757aeba5b638)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Start opkg/dpkg as soon as the respective package managers status
file is present, no matter whether /etc/$pm-postinsts exists. This
decouples the implicit link between postinsts scripts in /etc and
the package manager: Currently the package manager is only started
if those scripts are present, although the package manager does not
use those scripts at all! Package managers install their own set of
postinst scripts.
The behavior when using rpm packages stays the same.
Note that using the package managers capability to execute postinst
scripts is preferred for good reasons: It makes sure that the
package managers database reflects that the packages have been
completely installed and configured.
This change allows to drop installation of the postinsts scripts
when package management is present. This will be done in a separate
change.
Note: Before commit 5aae19959a44 ("rootfs.py: Change logic to
unistall packages") rootfs.py did not install /etc/$pm-postinsts
when package management is installed! The change caused YOCTO #8235
which lead to the behavior change of run-postinsts in first place.
(From OE-Core rev: 1af421fcf05457223bf271f3951599b6c150cdff)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenEmbedded has a built-in mechanism to run postinst scripts offline
at build time or, if necessary, on first boot (delayed execution). If
the latter is the case and systemd is in use, two services end up
doing the same thing:
- opkg-configure.service starts "opkg configure" directly.
- run-postinsts.service starts "/usr/sbin/run-postinsts" which runs
postinst scripts stored in /etc/ipk-postinsts/ or "opkg configure"
if package management is installed.
Since the run-postinsts.service is also used in cases where no
package management is in use, it is the primary means of handling
postinsts.
Get rid of the opkg-configure.service to avoid duplicate opkg
configure execution.
(From OE-Core rev: 23dcf7ea3af84721fac126a2b2f0f100f7266368)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that the tests are packaged and can be executed
when ptest is enabled. Also, remove build host specific references
from Makefile.
(From OE-Core rev: d283b0eb909c78b020794ba78e7ec64c3fbee86f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test cases assume that rpm-doc is built out, as it says it its
comment. This is not always true. And it sometimes results in
following error.
| cls.tc.target.copyTo(test_file, dst)
| UnboundLocalError: local variable 'test_file' referenced before assignment
Change to use base-passwd-doc, as this package is more likely to be
built out than rpm-doc.
(From OE-Core rev: 2e23543b48921182307065c1fa9e8b9d7fbb3cdc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the following patch:
0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
(From OE-Core rev: 4032fd3ae640da8076617403152a30841507db4f)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The checksum value is only calculated if the uninative class is
inherited, so check for inherit before adding it to local.conf
(From OE-Core rev: 3b5b832589d943700b273e3a4d83561be0c47f36)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Indentation using a mix of whitespaces and tabs has been unified in
favor of tabs.
(From OE-Core rev: 3827f1aa4a2bb433e445802c48e32f72932950e6)
Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the format "tar.xz" is included in the IMAGE_TYPES bitbake variable
as defined in meta/classes/image_types.bbclass, it should also be
possible to extract a rootfs that has been built using that format.
(From OE-Core rev: f813ca7b085c7ddf76a34932e2b3f5bc3372b239)
Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
default-versions.inc is included by defaultsetup.conf which in bitbake.conf
is included after local/machine/distro.conf.
If these are hard assignments distros can's overwrite them.
(From OE-Core rev: b9fb89fb7189e631b615868d567e1eab504ee3c2)
Signed-off-by: Stefan Stanacar <sstncr@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The audit package specifies the following:
UPDATERCPN = "auditd"
However because it is not multilibized, the value "auditd" is used to
search for the package to add the post install script too. In the mutlilib
alternate abi case, that package does not exist. It ends up assigning
the post install script to the lib32-audit-lic package, which
subsequently failes to execute the script due to the initscript it is
trying to turn on is not installed.
(From OE-Core rev: ce99653e1af50d9e8f070ca6ae810908c4c138c6)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a bug in Meson[1] where it find_program("foo") will fail if foo is
defined in the cross file as a list.
This is causing the Meson build of libdrm to fail, but for this instance we can
work around the problem by only using lists in the cross file if there are
arguments, and just using a string if there are not.
[1] https://github.com/mesonbuild/meson/issues/3737
(From OE-Core rev: 7fd8bc469c2caacc1c2021bd0aa83dd6da7fe1e7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The services and timers are not useful if a repo is not configured.
In OE, we default to have no repo configured. So we default to disable
these units.
The problem was found by the test_systemd_failed runtime test case.
dnf-makecache.service is found to fail. This is due to lack of repo.
Note that as this service is started by the dnf-makecache.timer, it's
possible that test_systemd_failed passes in case the timer is not started
yet.
(From OE-Core rev: c017f5528d1ae6316c9434ffd8702665bfe069f9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following message from watchdog is not an error.
"error retry time-out = 60 seconds"
Checking watchdog's source codes, we have:
src/watchdog.c: log_message(LOG_INFO, "error retry time-out = %d seconds", retry_timeout);
It's clear this is an info message, so parselogs should ignore it.
(From OE-Core rev: c90dff78310ab1517555c4df39b3e2d2f59ff06d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current init script is installed from source with redhat style.
It does not get configuration from /etc/default/watchdog. We should use
debian style init script.
Write our own script just like what wd_keepalive does.
Also, in the init script, we check the existence of /dev/watchdog to
determine whether to start the daemon or not.
(From OE-Core rev: a31f8dd34e8ea34dfb087ed464575aa390ece09b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to make sure logs are not lost. As long as there's no
strong and vaild reason, we should make daemons start after syslog.
As a side effect, we could check the logs to see if there are
some potential problem. In OE, the 'parselogs' test case could
do it automatically.
(From OE-Core rev: 41e4d728ef92586e2714fa0c136b838c3fda051e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd has internal support for watchdog. See the RuntimeWatchdogSec
in /etc/systemd/system.conf.
We'd better just disable this service by default. If users want to use
watchdog, consider using the systemd one.
(From OE-Core rev: 183c9125e78ae1035894600a66b4ea1fa6a3a532)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch modifies watchdog.conf file. But this file is deliberately
deleted in do_install. The current mechanism in OE is to use another
recipe watchdog-conf to handle watchdog configuration. So the patch
is really useless.
(From OE-Core rev: 80638247143b15a5643f9fcc116d7bc7dcbf3496)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the following line to common_errors list.
Failed to read /var/lib/nfs/statd/state: Success
This message is not harmful, it does not result in rpc.statd starting
failure.
(From OE-Core rev: 0f2c39149941d95fa979ec675f9dc25655886e2c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
And use bitbake variables for install paths to fix nativesdk-openssh
compilation.
(From OE-Core rev: 70470dfa88338cae06670195bb7009cb13098ac2)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When generating the extended SDK, there is a copy step where this class
goes through the layers and other stuff that have been copied to
generate the SDK. The corebase; ie. the folder that contains the core
layer 'meta' is treated in a special way. Unfortunately in our tree, we
have:
sources/meta/meta
| `- core layer
`------- corebase
In populate_sdk_ext's copy_buildsystem, the heuristic to determine which
element of the list returned by copy_bitbake_and_layers is corebase is
fooled by such layout.
In copy_bitbake_and_layers, corebase is already handled specifically and
reliably, so we should let that function tell us which folder is
corebase instead of trying to determine it.
To do so, change the return type of copy_bitbake_and_layers to a tuple
that contains (corebase, copied_layers). It also simplifies the code on
the caller side.
(From OE-Core rev: 5368bc5d0d3606198b93e877bcafcd77bb5f4fd1)
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's only one user of rsync.inc (meta-gplv2 has its own copy), so
merge the .inc file into the rsync recipe.
(From OE-Core rev: 4e42ad44f1df510a527d199b6ec41541f8939654)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An earlier version of a change was merged from S. Lockwood-Childs
<sjl@vctlabs.com> which made the CFLAGS consistent across native,
nativesdk and target cases. This syncs with a later verison of the
patch to remove duplicate CFLAGS settings and simplify the recipe.
(From OE-Core rev: 604777acfc54d285f315b622bd147ed02d55d6fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When generating overlay DTB configuration sections, U-Boot doesn't want
the kernel specified again as we already have that in our base DTB. Add
support for this to allow bootm to process overlay configuration sections.
(From OE-Core rev: c0db9776beb4f519079a554a733353c368739dcf)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce UBOOT_DTB_LOADADDRESS and UBOOT_DTBO_LOADADDRESS so that you
can set where U-Boot loads full and overlay DTBs. This is required when
using bootm's overlay support to construct the final DTB.
(From OE-Core rev: 05d2230db1d7379494814407fc0d79d7e755d89e)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On high core machines, in do_fetch, it is possible to DDoS your own machine.
A method to limit any arbitrary task type to a certain number of simultaneous
threads is needed. (Similar to how BB_NUMBER_THREADS works in the general
case.) The format of this new limitation is:
do_fetch[number_threads] = "2"
This should be set globally. If it is set in individual recipes it could
result in unpredictable behavior.
Note: a value for number_threads > BB_NUMBER_THREADS will have no effect.
(Bitbake rev: 055865047c63b9c3b213b47a1884924ce0adeda0)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The RunQueueStats:taskCompleted and RunQueueStats:taskSkipped can take
multiple arguments. However, nowehere in bitbake are multiple arguments used.
Change this to match the behavior of the other APIs where it needs to be
called once for each task.
Additionally, these two functions were usually called in tandem, however in
the wrong order. It really doesn't matter as there is no specific preemption
point between the calls. But the taskSkipped should be called first to
increment the 'active' count, and then taskCompleted called to decrement it.
(Bitbake rev: 26d5ea9bb892bd6a2e1fd29a9023e0b0644edc16)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is quite some variation between the fetchers in terms
of how they determine the subdirectory within DL_DIR and the base
fetch command to run. Some rely on variables being set externally
(e.g. from bitbake.conf in oe-core), some respect these external
variables but provide fallback defaults and some use only hardcoded
internal values. Try to unify the approach used across the various
fetchers.
(Bitbake rev: efd5e35af4b08501c67e8b30f30d9457f6fdf610)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
alsa-tools is actually a collection of 20 separate tools, each with their own
configure scripts. The dependencies are varied, old, and estoric (FLTK, GTK+ 1, 2,
and 3, PyGTK 2, Qt3).
Instead of maintaining patches to try and pick a subset that builds, use
PACKAGECONFIG and some magic to build what the user requests.
By default we build all the tools which have no dependencies, and the tools
which need GTK+ 2 or GTK+ 3 if the relevant DISTRO_FEATURES are enabled.
Add a patch to fix the build of ld10k1 with musl.
The ncurses build dependency doesn't seem to be checked for, so remove that.
(From OE-Core rev: 83c9405df5748744ef673ac8757bb89d7050ad8d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously sshd_check_keys would create a full set of all possible
sshd host keys, even if sshd_config has been set to only enable
certain key types.
Update sshd_check_keys to only create keys which have been enabled in
sshd_config (with a fallback to creating a full set of key types if
no HostKey options are defined, as before).
(From OE-Core rev: 2303d795ae96f1a60caf145a0ddf100e89c4b5b0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The openssh sshd init script contains a mix of indent styles, mostly
inherited from the Debian script from which it is derived. Leave the
indent from Debian as-is, but for lines which are OE specific (e.g.
where Debian's log_daemon_msg helper has been replaced with echo)
make the indent consistent with surrounding lines.
(From OE-Core rev: 68fb7d3b06887e0db3eef0ab231ced37cfa4894c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "ssh-keygen" package no longer seems to be provided by any recipe
in oe-core or meta-oe, so there's no clear reason for the
openssh-keygen package to conflict with it.
(From OE-Core rev: 0c5567847edba6b5ab24ae505d16375397cf4b40)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Openssh takes care of enabling large-file support automatically via
the AC_SYS_LARGEFILE in the configure.ac, so additional help from the
recipe is not required.
Even if it were once required, defining __FILE_OFFSET_BITS (ie with
double leading underscores) looks like a typo and probably never had
any effect anyway?
(From OE-Core rev: 37b1a7bada267b89094ce0c3eb81b1de9f04df8e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When include conf/distro/include/security_flags.inc, NOPIE flags are
still required for mips64 target builds. Otherwise it fails to build
packages such as glide which inherit go.bbclass:
| .../tmp-glibc/work/mips64-wrs-linux/glide/0.13.1-r0/recipe-sysroot-native/usr/bin/mips64-wrs-linux/../../libexec/mips64-wrs-linux/
| gcc/mips64-wrs-linux/7.3.0/ld: .../tmp-glibc/work/mips64-wrs-linux/glide/0.13.1-r0/go-tmp/go-link-518447869/go.o:
| relocation r_mips_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC`
Use override 'mipsarch' to set SECURITY_CFLAGS for both mips and mips64.
(From OE-Core rev: 98b24e9268dc444356ce8bd9ddfec6adcce5e02a)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apply patch from Taras Kondratiuk <takondra@cisco.com> to gcc 8.x too.
Normal gcc-cross has build-id feature enabled by default, so most of
target binaries has build-id. But libc (glibc, musl) doesn't have
build-id, because it is built with gcc-cross-initial.
Build-id is a useful feature, so enable it for gcc-cross-initial too.
(From OE-Core rev: f24308c95853bec5cfc9f0794b111c6afecbe768)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Normal gcc-cross has build-id feature enabled by default, so most of
target binaries has build-id. But libc (glibc, musl) doesn't have
build-id, because it is built with gcc-cross-initial.
Build-id is a useful feature, so enable it for gcc-cross-initial too.
(From OE-Core rev: ba69701dac785a220feffd6118718b1c9e733548)
Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch isn't needed for musl or glibc, so drop it.
(From OE-Core rev: 46275ed3de30e6095b0d7ef71aad842e5ea9fe30)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
b'Your entry can be found here: http://<snip>'
Now looks like:
Your entry can be found here: http://<snip>
(From OE-Core rev: 4510973fe12a61c21e12b46b8315c56f91eff5b7)
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>
Andrej has kindly stepped up as the busybox maintainer.
(From OE-Core rev: 9102319b85ed097fc63c0b56e3b9242be28ec5ab)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SystemD 237 implements a stricted PIDfile handling that breaks several
daemons [1].
Change the way we start xinetd, mimicing other distros [2].
Fixes:
root@qt5122:~# journalctl -u xinetd
-- Logs begin at Fri 2018-05-25 14:33:29 UTC, end at Mon 2018-06-11 07:33:08 UTC. --
May 25 14:33:31 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd...
May 25 14:33:31 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid
Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating.
Jun 11 07:27:24 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'.
Jun 11 07:27:24 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.
Jun 11 07:31:38 qt5122 systemd[1]: Starting Xinetd A Powerful Replacement For Inetd...
Jun 11 07:31:38 qt5122 systemd[1]: xinetd.service: Permission denied while opening PID file or unsafe symlink chain: /var/run/xinetd.pid
Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Start operation timed out. Terminating.
Jun 11 07:33:08 qt5122 systemd[1]: xinetd.service: Failed with result 'timeout'.
Jun 11 07:33:08 qt5122 systemd[1]: Failed to start Xinetd A Powerful Replacement For Inetd.
[1]: https://github.com/systemd/systemd/issues/8085
[2]: e490406367
(From OE-Core rev: eea25f03e4c46cfe0d05df46f8f50e1389179c80)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add version field in recipe name for example recipe created by
bitbake-layers.
Fixes [YOCTO #12767]
(From OE-Core rev: c62f6b9643d31b465ea0e919882e411a5ed35c56)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, we ought to use console="${console},${baudrate}" as
console bootparam as commonly it is left to be passed with the
bootargs.
(From OE-Core rev: 2ce3534b2011cf5516780c9fd7e00bd107619adc)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Inherit manpages to update manual file index caches after installation
for man-pages.
(From OE-Core rev: 72e5e124e565c5a72771c7325a783011aedcab96)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package installs manual files, it should update manual index cache
after its installation. Add package 'man-db' to RDEPENDS which contains
command 'mandb' to update the cache. And do the update in the post
install scripts.
(From OE-Core rev: 078900f2416202b677471b10b69c8defb0f14c8d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu doesn't use autotools, so don't inherit it and just call 'make install'
directly.
No need to alter makefiles anymore, as they appear to respect CFLAGS now.
Remove a chmod of beginend_funcs.sh (a file we patched in, and removed,
many years ago).
(From OE-Core rev: b52a9d108d72ebdf93f2dc51aa6f26ccc890d451)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wayland has moved to GitLab with the result that /releases/ no longer returns a
directory listing, so the upgrade detection doesn't work.
The upgrade detection can scan releases.html just as well, so tell it to look
there.
(From OE-Core rev: 8befb09eb28bb6d8884d2052cd63c2c319eceed1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The handling of the environment setup was moved to the post-relocate
script handler, and so is no longer necessary in the setup script
(From OE-Core rev: 710b93a24df6372abd6d7aa0ede8750cf4bf88b4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd by default sets the system time at boot to the date of its NEWS
file. It provides the option to change that at build time, and some
projects need to come up at a particular date if no RTC is present.
Provide the option to set the time at boot to the epoch instead of the
date of the NEWS file.
(From OE-Core rev: bf1847cd369fe72b8f8e04e2661bb7d2d3524ea2)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of patching Module::Build, maybe Module::Build::Tiny and all other
similar tools, use the official way to tell them which is the target perl
on target.
(From OE-Core rev: f3925216b06ff7fbe21989210f8eb11e16be6631)
(From OE-Core rev: 306435507c4790ec44f30cd3c7fa7d340b441ec4)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These packages use hand-grown makefiles which don't handle cleans as they can
invoke /usr/bin/gmake directly which may not exist. Until new upstream releases
are made (which have ported to automake) set CLEANBROKEN to work around this.
[ YOCTO #12775 ]
(From OE-Core rev: eb924bc684f92fc2d806715872667f241e54b365)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gresource-tool has optional support for using libelf to extract resources from
ELF files, so add a PACKAGECONFIG in case someone wants this.
(From OE-Core rev: 93f08a036343d4df1aefe9793a7a9ab5b296f5b5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should be RCONFLICTS_${PN} instead of RCONFLICTS_${PN}-syslog.
There's no ${PN}-syslog package.
(From OE-Core rev: 840d04182bc71ae3f6f562f668b9900c5625e1aa)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set .file section explicitly for .S files to avoid
the linker introduces the host path in symbols for
object files whose source file is .S
Otherwise, there is a host path in the symbols as
below:
$ readelf --wide --symbols /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38ed/libboost_context.so.1.67.0
42: 0000000000000000 0 FILE LOCAL DEFAULT ABS /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38ed/asm/make_x86_64_sysv_elf_gas.o
[YOCTO #12708]
(From OE-Core rev: 5d785dadf2bd35f4ae7304ab927fda10368377ce)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable use of pread() and enable column metadata API for nativesdk builds.
This brings nativesdk in line with target and native builds.
(From OE-Core rev: 7c8b85e1c3d852975cd5961a297aa939bf4c7fe7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change "fix hostname conflict with other packages" moved the
hostname util to the list of base_bindir_progs, so do_install_append()
now expects hostname to have been built.
coreutils do_install_append() is shared between target and nativesdk
builds (though not used by native build, see comment) so hostname should
be enabled to build on both of them.
(From OE-Core rev: 57f1f5708306a6121b1172c5163c6566d5bcb89c)
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since ltp contains x86-64 assembler which uses the
frame-pointer register, it will trigger below error
when build ltp with -fno-omit-frame-pointer on
x86-64.
| cve-2015-3290.c: In function 'child_thread':
| cve-2015-3290.c:416:1: error: bp cannot be used in asm here
And there is also some comment as below in the source
file ltp/20180515-r0/git/testcases/cve/cve-2015-3290.c
* Build with -O2. Don't use -fno-omit-frame-pointer.
So explicitly set -fomit-frame-pointer on x86-64 for
compiler to fix the above build error.
(From OE-Core rev: 3084ff86d61b54011e0647ee17cbba521bafc9df)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds the posibility to build using TCLIBC=newlib.
It allows users to build baremetal applications with the use of a
C library.
Newlib is a lightweight C library meant to be used on embedded systems,
it is meant to be easily portable for new platforms and to provide
basic functionality on them, by design, it provides stubs for some of
these core functions declared as weak, so they can be built correctly
and then linked against some other library which provides specifics
about the platform being used if need be, libgloss takes care of these
in some cases, but it can also be extended, this patch also allows the
user to easily add other libraries to it by adding them to
NEWLIB_EXTENDED for this specific reason.
(From OE-Core rev: 9f0570351a7b0877aa50efff5fe9a9ef368cb38f)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch adds makes it possible to build elf for powerpc by adding
this combination to the elf headers machine dictionary, this can be
useful when trying to build baremetal applications where the TARGET_OS=elf
(From OE-Core rev: 6f7ef4f6049fa8f2a8e17abfcf53ccbc22394088)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newlib is a C library that is intended to be used on embedded systems.
It is a conglomeration of several library parts, all under free software
licenses that make them easily usable on embedded products.
Newlib provides a C library alternative that can run on baremetal, mainly
for resource constrained devices.
Libgloss is the BSP part of the C library, which can be easily modified
to port for new hardware platforms.
(From OE-Core rev: fe490ff829440b94124317759d856e2e2daf5047)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes issues with fontforge-native.
(From OE-Core rev: cec85a6fcadc24fd266fa34631cb095e0a773c1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step describes the installation process and the intial launch
process. No information exists for describing how you launch
Oxygen from outside the install process. I added a note that
tells where the "eclipse" binary is installed and an example
line to invoke it.
(From yocto-docs rev: dc59410caf18e36497d70ea3c877b4f82f620e2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided better instructions and accounted for the fact that it
is just this workflow here that is assuming the need for a
YP-built image.
(From yocto-docs rev: a05091768c914817ed262b15d39e7c9b54a5b863)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the "Workflow Using Eclipse" section head to not match so
closely the "Working With Eclipse" section heading. TOC appeared
funny.
Also, updated the step 1 to be more accurate regarding the real
need of having a YP build host and where to go to get information
on setting it up.
(From yocto-docs rev: 1cbca098a2f793bd86b6f73d3d35ce79bdf639f0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found several items that were slightly off after working through the
procedure. Updates to bring it into line with reality.
(From yocto-docs rev: 0f34afe3c37dedda28a1a5714703787a5dfe649d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expanded this section to contain a figure of the flow and an
example that showcases the ways to override and use SDK
environment and Makefile variables.
(From yocto-docs rev: 834c059c1df4e8328248ea86fa23ca9a397351fa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile-Based Projects section was expanded to add a useful
example and figure. Added this figure to the sdk-manual and
mega-manual figures folders.
Updated the Makefile to include the new figure as part of the
tar files for each manual.
(From yocto-docs rev: 6261cb55b6393e0d5dce91cdb7c8e6e83849ec0c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autotools is simpler now as it uses "autoreconf" to one-step a bunch
of the existing tools such as aclocal and autoconf. I updated the
figure to reflect the simpler flow and also the steps that accompany
the figure.
(From yocto-docs rev: 380cb1bb89003229befb4715e875586c798d6735)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I wrote the section to include a flow diagram using "make" and
provided a working example highlighting how to override environment
variables.
(From yocto-docs rev: 00e8e09a51a1f0305317f38975a9d7695c92bdb5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two changes here. One was a note to the "make" step of the
Autotools-based section. I cross-referenced the Makefile section
for information on how SDK installation environment variables
are respected and or overridden when using make variables.
Also, fixed the quotation syntax of the four environment variable
examples used in the "Makefile-Based Projects" section.
(From yocto-docs rev: 5bd4e056496ff3478e213ccd9e49adfe1fac67ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New figure for the section on Autotools workflow. The figure
goes in the folders for both the sdk-manual and the
mega-manual.
Updated the Makefile to include the new figure in the tarball
when creating both manuals.
(From yocto-docs rev: ccb2c4b9ebd0b0aaa55b5790eb6a916701e10af4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Did a re-write of this section with better explanations.
I also pulled the bit about passing parameters to the
configure script into the step that talks about that.
(From yocto-docs rev: 79432ba0eb0cc2f6bdb3410fbf99f227fb666b2c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The line used to be "AC_PROG_INSTALL". I did some digging and can't
really figure out why the example is not following the standard
"helloworld" stuff out there all over the internet. So, I have the
user create a configure.in file as follows now:
AC_INIT(hello,0.1)
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_CONFIG_FILES(makefile)
AC_OUTPUT
The original was as follows:
AC_INIT(HELLO,0.1)
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
(From yocto-docs rev: ed86d61178f86df3248b34d52602121c39bd56b5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was going to a spot from which another link was suggested.
Too many redirections for the reader. Linked to the original place
instead.
(From yocto-docs rev: 9fc383a99ae0a7ff8cae761c0c31b27030f765cf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Formatting used for the "configure" script created using the
"autoconf" command in the example.
(From yocto-docs rev: dd55ceb2c19f9e013c13e776acf7201c25501ff7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Autotools example called for a "configure.in" file as part
of the "hello-world" example. When working through the example,
a warning occurs saying that the file needs to be "configure.ac".
I changed the example.
(From yocto-docs rev: 7f677e3bbf0331228ed5aed1ace7c55d523d3121)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to reference a couple terms for first use: "cross-development
toolchain" and "OpenEmbedded build system".
(From yocto-docs rev: 2370c3508574efe05e768f4515fec5b17f0ca177)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the output to reflect the real command's output. Updated
prose to match (mostly) that used in the similar extensible SDK
sections.
(From yocto-docs rev: fb6c8895f2afda0c43bbaa49870c425e25841ec4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed some poor writing in this section.
(From yocto-docs rev: 5709c2c2c1c37166ec5df1193b58ff82bb10b4c3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a grammar error and made a few other corrections.
(From yocto-docs rev: 369a22ffe3780fd00514344f1b3b8a944305e320)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a cross-reference to the term "build host". Corrected
a subject/verb grammar error.
(From yocto-docs rev: 8763e333867d0039315f0ca0aa96fdadea676783)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was poorly organized with a mile long sentence as
the opener. Fixed it.
(From yocto-docs rev: c7624244e40c807d1c3cea80d2eced3cd9948019)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a few sentences up by providing clearer text.
(From yocto-docs rev: e81984d73c05f2d722bc082a100d01c3cc0173ab)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a cross-reference link to the term "bulid host" and removed
the redundant word "system".
(From yocto-docs rev: 205d6fb6030cecb02301ec9cdc92ac908d250160)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed some prose in various places.
(From yocto-docs rev: f754969eff4c314d9f4c489cca2b3c2f8fd87fff)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates to prose for better understanding.
(From yocto-docs rev: 44a07560845c973a0da4c27969c740d3d712d323)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated various prose for better understanding.
(From yocto-docs rev: ddbd66d7732bbc8b4940c660f8a8c941a5cc4ea2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Poor writing left over in here. Updated some of the prose.
(From yocto-docs rev: 8f71cd997c86610dd62780f74f39dad811098540)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corrected some prose to be clearer.
(From yocto-docs rev: c73f3d486fab555e6c6ac3dd1f5fbaf4d531ab29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took out the $TMPDIR part for the output and left more generically
as "Build Output".
(From yocto-docs rev: 4b0375e3293d67e4b5be433cd6c468532fee5a30)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more detail at the top for how the local recipe interacts
with the Upstream Source.
(From yocto-docs rev: c1d49a7c00c458b55396c0efc7a329acd870be6c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor edits from the read-through.
(From yocto-docs rev: d165438d3d02f3154fc59197d75ab1cb6a285320)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more detail on how the upstream source or files from
srctree are located.
(From yocto-docs rev: 5eff4b1b68c232071814969b6367188352639f17)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.14 and 4.15 for edgerouter/beaglebone
to fix gcc8 build issues.
(From meta-yocto rev: c5e07b460cf9477181d2dcde8ea93daeeacc9a2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump to the latest stable kernel for 4.12, 4.14 and 4.15.
(From meta-yocto rev: eb025ae398c0042ddc7be75e4ebdeb1fb1344c03)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making the following commit available to fix mips gcc8 build issues:
commit e25dbfe95302eeaa1a03a828d05c09479574488a
Author: Kevin Hao <kexin.hao@windriver.com>
Date: Mon Jun 11 18:17:54 2018 +0800
MIPS: Use '+=" instead of '=' to avoid the CFLAGS override
We used the CFLAGS_xxx to workaround the gcc 8 build warnings
for some specific file. But CFLAGS_xxx is also used with '=' in
other places of this Makefile. This override the gcc 8 workaround,
so replace all the '=' with '+=" to fix this issue.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 8ab5b439ea82ac775494a0ce7a6f3615b61c94be)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following upstream commit to fix gcc regression:
crypto: aes-generic - fix aes-generic regression on powerpc
commit 6e36719fbe90213fbba9f50093fa2d4d69b0e93c upstream
My last bugfix added -Os on the command line, which unfortunately
caused a build regression on powerpc in some configurations.
I've done some more analysis of the original problem and found
slightly different workaround that avoids this regression and also
results in better performance on gcc-7.0: -fcode-hoisting is an
optimization step that got added in gcc-7 and that for all gcc-7 versions causes
worse performance.
This disables -fcode-hoisting on all compilers that understand the
option. For gcc-7.1 and 7.2 I found the same performance as my previous
patch (using -Os), in gcc-7.0 it was even better. On gcc-8 I could see
no change in performance from this patch. In theory, code hoisting
should not be able make things better for the AES cipher, so leaving it
disabled for gcc-8 only serves to simplify the Makefile
change.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Link: https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg30418.html
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83356
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83651
Fixes: 148b974deea9 ("crypto: aes-generic - build with -Os on gcc-7+")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(From OE-Core rev: 69e2b2ce2f499058d48a3b35febc757247e9df69)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will solve the mcpu/march conflicts we get when -mcpu=cortex-a7
is passed on cmdline since it will become incompatible with default
ifuncs in libatomic which is using armv7-a
(From OE-Core rev: 015b0d8ed6aa766e8cc96d10218ac86a28728bf9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable for v4.14, which comprises the following
commits:
2c6025ebc7fd Linux 4.14.48
1dd9566d9542 powerpc/mm/slice: Fix hugepage allocation at hint address on 8xx
399e039634a4 powerpc/mm/slice: Enhance for supporting PPC32
b8b23e8926b3 powerpc/mm/slice: create header files dedicated to slices
e14db4feb035 powerpc/mm/slice: Remove intermediate bitmap copy
c95c5f419e57 drm/i915: Disable LVDS on Radiant P845
72571f26757e drm/i915/lvds: Move acpi lid notification registration to registration phase
ffedc7ade784 drm/psr: Fix missed entry in PSR setup time table.
5890358c60e5 intel_th: Use correct device when freeing buffers
792be048cf9c Revert "rt2800: use TXOP_BACKOFF for probe frames"
a7027b7d698e mm/huge_memory.c: __split_huge_page() use atomic ClearPageDirty()
4a1b66bcec03 IB/core: Fix error code for invalid GID entry
bdf1daba5f62 hwtracing: stm: fix build error on some arches
1f8c4ed2dba5 stm class: Use vmalloc for the master map
a70f19b29560 scsi: scsi_transport_srp: Fix shost to rport translation
8a6576219da8 MIPS: prctl: Disallow FRE without FR with PR_SET_FP_MODE requests
f7a36d7ac838 MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRs
ed5bd13bec35 MIPS: lantiq: gphy: Drop reboot/remove reset asserts
6d67a723ef37 iio: adc: select buffer for at91-sama5d2_adc
838f25e3d9f2 iio:kfifo_buf: check for uint overflow
30ab9366f763 iio:buffer: make length types match kfifo types
d30819abd1c4 iio: ad7793: implement IIO_CHAN_INFO_SAMP_FREQ
a6f81fcb2c39 tcp: avoid integer overflows in tcp_rcv_space_adjust()
96b086a7bfe5 kbuild: clang: disable unused variable warnings only when constant
9b6eda5797b1 platform/chrome: cros_ec_lpc: remove redundant pointer request
a81920c73eb0 ASoC: Intel: sst: remove redundant variable dma_dev_name
bcc9c6f03201 rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c
8524af02d132 drm/amd/powerplay: Fix enum mismatch
074e30a3fc09 dma-buf: remove redundant initialization of sg_table
5a92c6e3e2f3 drm/i915: Always sanity check engine state upon idling
151b144bc602 kbuild: clang: remove crufty HOSTCFLAGS
bc342bc02954 cfg80211: further limit wiphy names to 64 bytes
9808c97d3cb4 selinux: KASAN: slab-out-of-bounds in xattr_getsecurity
c6a95f37d3a0 tracing: Make the snapshot trigger work with instances
8441a0014a29 tracing: Fix crash when freeing instances with event triggers
2be683020be4 Input: elan_i2c_smbus - fix corrupted stack
9a85abc79483 Input: synaptics - add Lenovo 80 series ids to SMBus
9c707c93e179 Input: synaptics - add Intertouch support on X1 Carbon 6th and X280
af504c5a88b3 Input: synaptics - Lenovo Thinkpad X1 Carbon G5 (2017) with Elantech trackpoints should use RMI
88859f6cc5c4 Input: synaptics - Lenovo Carbon X1 Gen5 (2017) devices should use RMI
d1db300b8ffc xfs: detect agfl count corruption and reset agfl
d9a59eac3fd6 xfs: convert XFS_AGFL_SIZE to a helper function
54978daa9dc5 PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
085fc1967b56 Revert "pinctrl: msm: Use dynamic GPIO numbering"
4cbe6caa4c6c x86/MCE/AMD: Cache SMCA MISC block addresses
5df3a1b9f87b x86/mce/AMD: Carve out SMCA get_block_address() code
6bcf3b066c69 objtool: Fix "noreturn" detection for recursive sibling calls
806a730c0b0b objtool: Detect RIP-relative switch table references, part 2
afb5e5c8a125 objtool: Detect RIP-relative switch table references
2c26d5784e71 objtool: Support GCC 8 switch tables
1bea53df12c4 objtool: Support GCC 8's cold subfunctions
b968dd7650c8 mm: fix the NULL mapping case in __isolate_lru_page()
6a19487d5a93 fix io_destroy()/aio_complete() race
57a3ca783596 Linux 4.14.47
3e496be2038a Revert "vti4: Don't override MTU passed on link creation via IFLA_MTU"
bf4367d790c5 Linux 4.14.46
48aaff1bcde7 Revert "perf record: Fix crash in pipe mode"
ec39812d2117 tools: sync up .h files with the repective arch and uapi .h files
c0f1d9bfd913 perf tools: Add trace/beauty/generated/ into .gitignore
2c2b15bb0e88 Linux 4.14.45
cd95b6e70712 drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful
829484eb3e00 kdb: make "mdr" command repeat
39958037723a pinctrl: mcp23s08: spi: Fix regmap debugfs entries
bd36ea57d6d5 pinctrl: msm: Use dynamic GPIO numbering
bd1a6e338c1b regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'
36016bab698b ARM: dts: porter: Fix HDMI output routing
105479a0278c ARM: dts: imx7d: cl-som-imx7: fix pinctrl_enet
0b7761ec49e4 i40e: Add delay after EMP reset for firmware to recover
be5f9b150b64 regmap: Correct comparison in regmap_cached
253aa8296a5e ARM: dts: at91: tse850: use the correct compatible for the eeprom
ffc1f3ac180c drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen2
e5b5d9be211e drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen3
ce7da8b88f6a netlabel: If PF_INET6, check sk_buff ip header version
b9cd90c15ea7 selftests/net: fixes psock_fanout eBPF test case
6ce500756288 perf tests: Fix dwarf unwind for stripped binaries
dac66c47df6c perf report: Fix memory corruption in --branch-history mode --branch-history
fb872eb1131d perf tests: Use arch__compare_symbol_names to compare symbols
da5329644ad6 perf report: Fix wrong jump arrow
4489f688fc3b perf test: Fix test case inet_pton to accept inlines.
39478b7590d0 x86/apic: Set up through-local-APIC mode on the boot CPU if 'noapic' specified
4c27990631f1 drm/rockchip: Respect page offset for PRIME mmap calls
8755c4061ea9 MIPS: Octeon: Fix logging messages with spurious periods after newlines
f0cf2575cd47 dpaa_eth: fix pause capability advertisement logic
80300e879f9e pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment for SSI pins group
46d8696c613b rcu: Call touch_nmi_watchdog() while printing stall warnings
162af93fa251 net: stmmac: call correct function in stmmac_mac_config_rx_queues_routing()
4a856adf2823 audit: return on memory error to avoid null pointer dereference
a548ba4de32e PCMCIA / PM: Avoid noirq suspend aborts during suspend-to-idle
7d5ab9bf4f34 ARM: dts: bcm283x: Fix pin function of JTAG pins
c10dc67e720b ARM: dts: bcm283x: Fix probing of bcm2835-i2s
13b520688d2c power: supply: ltc2941-battery-gauge: Fix temperature units
72662ff1cf85 sh_eth: fix TSU init on SH7734/R8A7740
83e698e4684a ixgbe: prevent ptp_rx_hang from running when in FILTER_ALL mode
504583768092 udf: Provide saner default for invalid uid / gid
cb808972d770 PCI: Add function 1 DMA alias quirk for Marvell 88SE9220
5197a9786fee dpaa_eth: fix SG mapping
602234ea4466 cpufreq: Reorder cpufreq_online() error code path
8a6be5403774 net: stmmac: ensure that the MSS desc is the last desc to set the own bit
a3d4c34cdea9 net: stmmac: ensure that the device has released ownership before reading data
957094fcc06f drm/amdgpu: adjust timeout for ib_ring_tests(v2)
230d616f58a9 drm/amdgpu: disable GFX ring and disable PQ wptr in hw_fini
de9054cdc8d0 ARM: dts: dra71-evm: Correct evm_sd regulator max voltage
ee6f703020ab drm: omapdrm: dss: Move initialization code from component bind to probe
909474cd384c dmaengine: qcom: bam_dma: get num-channels and num-ees from dt
7efeaf6d5193 vfio-ccw: fence off transport mode
fe2fc07d2a31 pinctrl: artpec6: dt: add missing pin group uart5nocts
72678f7a2922 pinctrl: devicetree: Fix dt_to_map_one_config handling of hogs
39c655c5edfe hwrng: stm32 - add reset during probe
259cdaff0e91 watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe()
87337cb5663c enic: enable rq before updating rq descriptors
b3b26307208e dmaengine: rcar-dmac: Check the done lists in rcar_dmac_chan_get_residue()
e41de468a6f4 dmaengine: pl330: fix a race condition in case of threaded irqs
a64948842d00 block: null_blk: fix 'Invalid parameters' when loading module
f0078d2068b2 tools: hv: fix compiler warnings about major/target_fname
f85634b7b6d0 drm/bridge: sii902x: Retry status read after DDI I2C
3b64e1cf6b92 phy: qcom-qmp: Fix phy pipe clock gating
10626a0c2027 ALSA: vmaster: Propagate slave error
b1ebc21c146b phy: rockchip-emmc: retry calpad busy trimming
1fadfed83913 x86/devicetree: Fix device IRQ settings in DT
5e54596b33f6 x86/devicetree: Initialize device tree before using it
c78e4a47bc4d gfs2: Fix fallocate chunk size
c1dab7872b32 soc: qcom: wcnss_ctrl: Fix increment in NV upload
0a3b66b55a95 arm64: dts: qcom: Fix SPI5 config on MSM8996
b9e852513fca perf/x86/intel: Fix event update for auto-reload
359769ca6d16 perf/x86/intel: Fix large period handling on Broadwell CPUs
ecaa7bd342ad efi/arm*: Only register page tables when they exist
e6e5de32470b cdrom: do not call check_disk_change() inside cdrom_open()
017f2ee20675 perf/x86/intel: Properly save/restore the PMU state in the NMI handler
8f8ebc0ba07c hwmon: (pmbus/adm1275) Accept negative page register values
afcbcb432e84 hwmon: (pmbus/max8688) Accept negative page register values
127b06ef520d drm/panel: simple: Fix the bus format for the Ontat panel
ede5dd7822c6 perf/core: Fix perf_output_read_group()
8ba9b0300c18 max17042: propagate of_node to power supply device
ed6244e8b280 perf/core: Fix installing cgroup events on CPU
82e93a83598b f2fs: fix to check extent cache in f2fs_drop_extent_tree
fc8cf0e7aa37 f2fs: fix to clear CP_TRIMMED_FLAG
393e472db4c8 f2fs: fix to set KEEP_SIZE bit in f2fs_zero_range
d71b8b0d37da cxl: Check if PSL data-cache is available before issue flush request
bf3a501c1dc0 powerpc/powernv/npu: Fix deadlock in mmio_invalidate()
dc81e7182747 powerpc: Add missing prototype for arch_irq_work_raise()
903c66e35fb7 drm/meson: Fix an un-handled error path in 'meson_drv_bind_master()'
b4d7f0dae8c1 drm/meson: Fix some error handling paths in 'meson_drv_bind_master()'
6eaf0dd1d9d5 ipmi_ssif: Fix kernel panic at msg_done_handler
b5c7dedc8426 watchdog: aspeed: Fix translation of reset mode to ctrl register
e2906fc86978 watchdog: dw: RMW the control register
e2b3fa0ce98f PCI: Restore config space on runtime resume despite being unbound
12c663e4f8e4 MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset
2a0bc4ad7c63 net/smc: pay attention to MAX_ORDER for CQ entries
289e6fa33b0b spi: bcm-qspi: fIX some error handling paths
1fae5e92788c regulator: gpio: Fix some error handling paths in 'gpio_regulator_probe()'
9fe2e97e6f2d coresight: Use %px to print pcsr instead of %p
12b29e1cfe6a drm/amdkfd: add missing include of mm.h
739c8e70889a IB/core: Honor port_num while resolving GID for IB link layer
7166fb174758 perf stat: Fix core dump when flag T is used
8cde08971b41 perf top: Fix top.call-graph config option reading
25b69a422b59 KVM: lapic: stop advertising DIRECTED_EOI when in-kernel IOAPIC is in use
982f8f14e704 i2c: mv64xxx: Apply errata delay only in standard mode
8d1b1e7902af cxgb4: Fix queue free path of ULD drivers
1d1646c408f6 ACPICA: acpi: acpica: fix acpi operand cache leak in nseval.c
c827ed01821d ACPICA: Fix memory leak on unusual memory leak
bf9b263b3e75 ACPICA: Events: add a return on failure from acpi_hw_register_read
601ae35b3f19 dt-bindings: add device tree binding for Allwinner H6 main CCU
35a4f782b521 remoteproc: imx_rproc: Fix an error handling path in 'imx_rproc_probe()'
4a092479bb4f bcache: quit dc->writeback_thread when BCACHE_DEV_DETACHING is set
590e13a68177 zorro: Set up z->dev.dma_mask for the DMA API
5e8f4ec7899b IB/mlx5: Set the default active rate and width to QDR and 4X
4a8b1c46af58 cpufreq: cppc_cpufreq: Fix cppc_cpufreq_init() failure path
f69b52965de0 iommu/mediatek: Fix protect memory setting
8c8f0b1f597d drm/vmwgfx: Unpin the screen object backup buffer when not used
791a1ef7df36 ext4: don't complain about incorrect features when probing
1891e0bb60b4 arm: dts: socfpga: fix GIC PPI warning
b5fb65c559ec virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS
a54e06d490a1 watchdog: aspeed: Allow configuring for alternate boot
cd2399b49de4 ima: Fallback to the builtin hash algorithm
bc72e4fcc12a ima: Fix Kconfig to select TPM 2.0 CRB interface
d7b13824c390 cxgb4: Setup FW queues before registering netdev
aa5a781f59fb ath9k: fix crash in spectral scan
085ec7d554c1 nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME Z370-A
7e5487b3990d ath10k: Fix kernel panic while using worker (ath10k_sta_rc_update_wk)
5db7e1bb6a13 watchdog: davinci_wdt: fix error handling in davinci_wdt_probe()
fc7bcbb94027 net/mlx5: Protect from command bit overflow
d018d551e7b2 selftests: Print the test we're running to /dev/kmsg
faace30e6e6a tools/thermal: tmon: fix for segfault
b652092f8e99 rsi: fix kernel panic observed on 64bit machine
31dbd9cfcb23 powerpc/perf: Fix kernel address leak via sampling registers
6a0a9f0ab8a9 powerpc/perf: Prevent kernel address leak to userspace via BHRB buffer
68a38cedff76 hwmon: (nct6775) Fix writing pwmX_mode
dbce9e41161c parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode
f37519543460 iwlwifi: mvm: check if mac80211_queue is valid in iwl_mvm_disable_txq
6a020bb3c620 m68k: set dma and coherent masks for platform FEC ethernets
80fceaf3f16a intel_th: Use correct method of finding hub
1366b31d1829 iommu/amd: Take into account that alloc_dev_data() may return NULL
6bc2bf6023dd ath10k: advertize beacon_int_min_gcd
9c222c497ba2 ieee802154: ca8210: fix uninitialised data read
c3a2a8782059 powerpc/mpic: Check if cpu_possible() in mpic_physmask()
fc2de796926b ACPI: acpi_pad: Fix memory leak in power saving threads
d023498fef35 drivers: macintosh: rack-meter: really fix bogus memsets
8effa2182d02 xen/acpi: off by one in read_acpi_id()
637b9b187f4e rxrpc: Don't treat call aborts as conn aborts
4a9fabcd3440 rxrpc: Fix Tx ring annotation after initial Tx failure
204bfcda8244 btrfs: qgroup: Fix root item corruption when multiple same source snapshots are created with quota enabled
de00d5729482 btrfs: fix lockdep splat in btrfs_alloc_subvolume_writers
92efba91a792 Btrfs: fix copy_items() return value when logging an inode
d7255626a082 btrfs: tests/qgroup: Fix wrong tree backref level
27a913cc9177 powerpc/64s: sreset panic if there is no debugger or crash dump handlers
305f25c1ed53 net: bgmac: Correctly annotate register space
435290f7a40a net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
4a6cd791d6c1 sparc64: Make atomic_xchg() an inline function rather than a macro.
22f1bde5d1bf fscache: Fix hanging wait on page discarded by writeback
6d03ff166926 lan78xx: Connect phy early
80b8f3da4912 KVM: VMX: raise internal error for exception during invalid protected mode state
fd97bbca67fc x86/mm: Fix bogus warning during EFI bootup, use boot_cpu_has() instead of this_cpu_has() in build_cr3_noflush()
3aeaeecda057 sched/rt: Fix rq->clock_update_flags < RQCF_ACT_SKIP warning
be6a5ad51a53 powerpc/64s/idle: Fix restore of AMOR on POWER9 after deep sleep
839c27f71376 ocfs2/dlm: don't handle migrate lockres if already in shutdown
9ebe297713af IB/rxe: Fix for oops in rxe_register_device on ppc64le arch
370b3353f4f8 btrfs: Fix possible softlock on single core machines
acfd8e886566 Btrfs: fix NULL pointer dereference in log_dir_items
afef64b10877 Btrfs: bail out on error during replay_dir_deletes
5ade3c9618f6 mm: thp: fix potential clearing to referenced flag in page_idle_clear_pte_refs_one()
8d700626fb57 mm: fix races between address_space dereference and free in page_evicatable
763111d9f337 mm/ksm: fix interaction with THP
378a1e49f9d1 ibmvnic: Zero used TX descriptor counter on reset
d04e5e72dfe9 dp83640: Ensure against premature access to PHY registers after reset
4be06bc0916d perf clang: Add support for recent clang versions
ee7c28b280b8 perf tools: Fix perf builds with clang support
6689a4c7b9ed powerpc/fscr: Enable interrupts earlier before calling get_user()
96fdc64d8eda cpufreq: CPPC: Initialize shared perf capabilities of CPUs
8bff7ca99fda Force log to disk before reading the AGF during a fstrim
28143fe3e3e2 sr: get/drop reference to device in revalidate and check_events
3a0de65acdd9 z3fold: fix memory leak
2ab7738102ad swap: divide-by-zero when zero length swap file on ssd
9c9844d9c9d0 fs/proc/proc_sysctl.c: fix potential page fault while unregistering sysctl table
59bdc587231c x86/mm: Do not forbid _PAGE_RW before init for __ro_after_init
c1af6891982e x86/pgtable: Don't set huge PUD/PMD on non-leaf entries
c527ab91f021 Btrfs: fix loss of prealloc extents past i_size after fsync log replay
f2924e32dcf2 Btrfs: clean up resources during umount after trans is aborted
1908ca222b36 nvme: don't send keep-alives to the discovery controller
145b7e06de33 firmware: dmi_scan: Fix UUID length safety check
d9179b4aa407 sh: fix debug trap failure to process signals before return to user
4ee9130f6423 net: mvneta: fix enable of all initialized RXQs
206199412bae vlan: Fix vlan insertion for packets without ethernet header
34a9a036350f net: Fix untag for vlan packets without ethernet header
235ca6a0330d qede: Do not drop rx-checksum invalidated packets.
78c986bf85b7 hv_netvsc: enable multicast if necessary
28bbb0d963e0 mm/kmemleak.c: wait for scan completion before disabling free
08e9dbd5184e mm/vmstat.c: fix vmstat_update() preemption BUG
d2a5d00dcd85 mm/page_owner: fix recursion bug after changing skip entries
da9ec481d66d mm, slab: memcg_link the SLAB's kmem_cache
0bbd8e2593ad qede: Fix barrier usage after tx doorbell write.
38a85f8214e2 builddeb: Fix header package regarding dtc source links
5b5f4fd97d8f llc: properly handle dev_queue_xmit() return value
25801736ca48 x86/alternatives: Fixup alternative_call_2
06956ca1aab3 perf/x86/intel: Fix linear IP of PEBS real_ip on Haswell and later CPUs
5b3b9ce272a6 net/mlx5: Make eswitch support to depend on switchdev
07af604f00a5 net: dsa: mt7530: fix module autoloading for OF platform drivers
77c18f7ea417 bonding: fix the err path for dev hwaddr sync in bond_enslave
6da5c98d65f0 net: qmi_wwan: add BroadMobi BM806U 2020:2033
e78be20d1122 lan78xx: Set ASD in MAC_CR when EEE is enabled.
373304e44fa9 ARM: 8748/1: mm: Define vdso_start, vdso_end as array
cbecd7187cdf batman-adv: fix packet loss for broadcasted DHCP packets to a server
110a7c19d9d1 batman-adv: fix multicast-via-unicast transmission with AP isolation
bbeb1a42dc58 drm/amdkfd: Fix scratch memory with HWS enabled
629b3a66d5ca selftests: ftrace: Add a testcase for probepoint
04905c21ad69 selftests: ftrace: Add a testcase for string type with kprobe_event
f7ed525fcb56 selftests: ftrace: Add probe event argument syntax testcase
58be6253b003 xfrm: Fix transport mode skb control buffer usage.
49f4a8c52eeb mm, thp: do not cause memcg oom for thp
6ca473201d70 mm/mempolicy.c: avoid use uninitialized preferred_node
5498a2b5795f drm/ast: Fixed 1280x800 Display Issue
c269eb77dc22 net: dsa: Fix functional dsa-loop dependency on FIXED_PHY
bf922554682b net/sched: fix idr leak in the error path of tcf_skbmod_init()
91314c273170 net/sched: fix idr leak in the error path of __tcf_ipt_init()
01a80839635d net/sched: fix idr leak in the error path of tcp_pedit_init()
97689fea3c80 net/sched: fix idr leak in the error path of tcf_act_police_init()
154040a5a869 net/sched: fix idr leak in the error path of tcf_simp_init()
29e36c3099fc net/sched: fix idr leak on the error path of tcf_bpf_init()
f8d93c59c78c RDMA/qedr: Fix QP state initialization race
8ed753eee9bd RDMA/qedr: Fix rc initialization on CNQ allocation failure
90b87707f0f7 RDMA/qedr: fix QP's ack timeout configuration
7245e2d1790b RDMA/ucma: Correct option size check using optlen
405544d5f864 kbuild: make scripts/adjust_autoksyms.sh robust against timestamp races
0839b0ce6eb6 brcmfmac: Fix check for ISO3166 code
4ff78587dea6 perf/cgroup: Fix child event counting bug
92ab37923634 drm/tegra: Shutdown on driver unbind
3a297d091edb iwlwifi: mvm: fix array out of bounds reference
7867e6d82fc9 iwlwifi: mvm: make sure internal station has a valid id
1001e8ec25db iwlwifi: mvm: clear tx queue id when unreserving aggregation queue
4eaa2618051a iwlwifi: mvm: Increase session protection time after CS
b57f0fe6e38b vti6: Fix dev->max_mtu setting
5815901c29c2 vti4: Don't override MTU passed on link creation via IFLA_MTU
34b6ba622ac4 ip_tunnel: Clamp MTU to bounds on new link
e675b292c282 vti4: Don't count header length twice on tunnel setup
87e07eff2772 batman-adv: Fix skbuff rcsum on packet reroute
f31f64b2d253 net/sched: fix NULL dereference in the error path of tcf_sample_init()
6b4a3d4e63f1 batman-adv: fix header size check in batadv_dbg_arp()
99ba9a972870 vlan: Fix out of order vlan headers with reorder header off
01a68a265ef5 net: Fix vlan untag for bridge and vlan_dev with reorder_hdr off
000fe789aa76 iwlwifi: mvm: fix error checking for multi/broadcast sta
ac2b8f5e361f iwlwifi: mvm: Correctly set IGTK for AP
85e5ae55652e iwlwifi: mvm: set the correct tid when we flush the MCAST sta
404cbeb36ef7 xfrm: fix rcu_read_unlock usage in xfrm_local_error
942138f356aa drm/nouveau/bl: fix backlight regression
872398068503 drm/imx: move arming of the vblank event to atomic_flush
418c85ea458a gpu: ipu-v3: prg: avoid possible array underflow
05c401183c2f KVM: arm/arm64: vgic: Add missing irq_lock to vgic_mmio_read_pending
6ef5b2e5241a sunvnet: does not support GSO for sctp
8387fbac8e18 ipv4: lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtu
7c84e5e9c62c workqueue: use put_device() instead of kfree()
845c2de95786 bnxt_en: Check valid VNIC ID in bnxt_hwrm_vnic_set_tpa().
27eebf0800cf can: m_can: select pinctrl state in each suspend/resume function
27fe367cdde0 can: m_can: change comparison to bitshift when dealing with a mask
533f5f847dfd netfilter: ebtables: fix erroneous reject of last rule
2299285fb181 dmaengine: mv_xor_v2: Fix clock resource by adding a register clock
e2d9442dfe84 lib/test_kmod.c: fix limit check on number of test devices created
21ccc62ec725 selftests/vm/run_vmtests: adjust hugetlb size according to nr_cpus
bad682e26d6a arm64: Relax ARM_SMCCC_ARCH_WORKAROUND_1 discovery
341029c2024b ARM: davinci: fix the GPIO lookup for omapl138-hawk
b7f1129a2c77 hv_netvsc: fix locking during VF setup
b37bc05f44c6 hv_netvsc: fix locking for rx_mode
9241c4f47205 hv_netvsc: fix filter flags
e7f2b054916f xen: xenbus: use put_device() instead of kfree()
9238d1fa3ee6 xen-blkfront: move negotiate_mq to cover all cases of new VBDs
b2709f786741 cxgb4: do not set needs_free_netdev for mgmt dev's
ba5b9b64e883 IB/core: Fix possible crash to access NULL netdev
7ae100c41393 net: smsc911x: Fix unload crash when link is up
a2b2d6ae5a3f net: qcom/emac: Use proper free methods during TX
c6ce72d59cab qed: Free RoCE ILT Memory on rmmod qedr
7538ab34136d fsl/fman: avoid sleeping in atomic context while adding an address
ccf92117d49d fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().
175e365a6662 IB/mlx5: Fix an error code in __mlx5_ib_modify_qp()
5759427a0ca8 IB/mlx4: Include GID type when deleting GIDs from HW table under RoCE
9636bbd409ba IB/mlx4: Fix corruption of RoCEv2 IPv4 GIDs
7b10604ddf51 RDMA/qedr: Fix iWARP write and send with immediate
40fe662649be RDMA/qedr: Fix kernel panic when running fio over NFSoRDMA
87bcb00aa934 ia64/err-inject: Use get_user_pages_fast()
d98ba4f4567d e1000e: allocate ring descriptors with dma_zalloc_coherent
d1355ae4c345 e1000e: Fix check_for_link return value with autoneg off
f766148e47d7 perf record: Fix crash in pipe mode
8997115bf791 ARM: dts: rockchip: Add missing #sound-dai-cells on rk3288
a0cc3c18d34c hv_netvsc: propagate rx filters to VF
ed85935eeafb hv_netvsc: filter multicast/broadcast
c039c53d1952 hv_netvsc: use napi_schedule_irqoff
5f8156fd34cf batman-adv: Fix multicast packet loss with a single WANT_ALL_IPV4/6 flag
73ecd80bca2b watchdog: sbsa: use 32-bit read for WCV
49995a2931bb watchdog: f71808e_wdt: Fix magic close handling
266675ab52db rds: Incorrect reference counting in TCP socket creation
2b6e7f2ff81a iwlwifi: mvm: Correctly set the tid for mcast queue
3f2eb4ded1ec iwlwifi: mvm: Direct multicast frames to the correct station
ef3dfb138159 iwlwifi: mvm: fix "failed to remove key" message
3a0bbca21ca5 iwlwifi: avoid collecting firmware dump if not loaded
233d80617248 iwlwifi: mvm: fix assert 0x2B00 on older FWs
6f970847f0e9 iwlwifi: mvm: Fix channel switch for count 0 and 1
d6bcdf0b14d8 iwlwifi: mvm: fix TX of CCMP 256
d9ed3aed6d83 net: ethtool: don't ignore return from driver get_fecparam method
f03cd5862f55 selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable
2b103dee283f nvme: pci: pass max vectors as num_possible_cpus() to pci_alloc_irq_vectors
d68e66060488 nvme-pci: Fix EEH failure on ppc
3c84b5aaf7a5 block: display the correct diskname for bio
07d3fb191b5a ceph: fix potential memory leak in init_caches()
010f5ccbf4c4 Btrfs: fix log replay failure after linking special file and fsync
9925eea3225e Btrfs: send, fix issuing write op when processing hole in no data mode
b114296692b0 btrfs: use kvzalloc to allocate btrfs_fs_info
acb162b9cdb6 drm/sun4i: Fix dclk_set_phase
cd2dee1ea6d5 arm64: dts: rockchip: Fix rk3399-gru-* s2r (pinctrl hogs, wifi reset)
5877f41cf8c8 xfrm: Fix ESN sequence number handling for IPsec GSO packets.
30310d407715 drm/amd/amdgpu: Correct VRAM width for APUs with GMC9
5b71573794b0 xen/pirq: fix error path cleanup when binding MSIs
62ee80d3b45b RDMA/bnxt_re: Fix the ib_reg failure cleanup
2bce0d98b9d9 RDMA/bnxt_re: Fix incorrect DB offset calculation
466199b440d9 RDMA/bnxt_re: Unconditionly fence non wire memory operations
b73bc820c4d1 IB/mlx: Set slid to zero in Ethernet completion struct
2a71d94e4f6b ipvs: remove IPS_NAT_MASK check to fix passive FTP
738310e1dbc9 ARC: setup cpu possible mask according to possible-cpus dts property
f7f78191c910 ARC: mcip: update MCIP debug mask when the new cpu came online
50de7f4347cf ARC: mcip: halt GFRC counter when ARC cores halt
e44fe4d2a81b spectrum: Reference count VLAN entries
5a8392f2dc13 mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast
47a8c89258e5 mlxsw: core: Fix flex keys scratchpad offset conflict
953a64ca3353 net/smc: use link_id of server in confirm link reply
e0a5a0f4749f nvmet: fix PSDT field check in command format
c6885fb45d4e net/tcp/illinois: replace broken algorithm reference link
bb19a6a9b598 gianfar: Fix Rx byte accounting for ndev stats
10c7390ee340 clocksource/drivers/mips-gic-timer: Use correct shift count to extract data
f97c2bf56bb7 powerpc/boot: Fix random libfdt related build errors
9bbedb9742f3 ARM: dts: bcm283x: Fix unit address of local_intc
c43ff936255b ARM: dts: NSP: Fix amount of RAM on BCM958625HR
615bf75c4690 nbd: fix return value in error handling path
d2e2e20bbdd3 sit: fix IFLA_MTU ignored on NEWLINK
2b0fbc2fcd2f ip6_tunnel: fix IFLA_MTU ignored on NEWLINK
29764acd50d3 ip_gre: fix IFLA_MTU ignored on NEWLINK
f07b6505f474 bcache: fix kcrashes with fio in RAID5 backend dev
421c15e803de dmaengine: rcar-dmac: fix max_chunk_size for R-Car Gen3
3c08f8140a9a virtio-gpu: fix ioctl and expose the fixed status to userspace.
8b156a0a49c9 r8152: fix tx packets accounting
9c3e4e41c206 selftests/futex: Fix line continuation in Makefile
784858e73805 qrtr: add MODULE_ALIAS macro to smd
0129ee813ef7 ARM: orion5x: Revert commit 4904dbda41c8.
3ecb681ccf6b xen/pvcalls: fix null pointer dereference on map->sock
6c88c93898ca ceph: fix dentry leak when failing to init debugfs
e080e814deb1 libceph, ceph: avoid memory leak when specifying same option several times
682def914242 clocksource/drivers/fsl_ftm_timer: Fix error return checking
44cb7ed6e5e2 nvme-pci: Fix nvme queue cleanup if IRQ setup fails
588078bb272e batman-adv: Fix netlink dumping of BLA backbones
f03c64fbdd9b batman-adv: Fix netlink dumping of BLA claims
f08cabec0696 batman-adv: Ignore invalid batadv_v_gw during netlink send
8b7e379faf15 batman-adv: Ignore invalid batadv_iv_gw during netlink send
dd20ff0d079d netfilter: ebtables: convert BUG_ONs to WARN_ONs
84fc57f472f9 netfilter: ipt_CLUSTERIP: put config instead of freeing it
596816fabe42 netfilter: ipt_CLUSTERIP: put config struct if we can't increment ct refcount
ff8c6751ecf3 batman-adv: invalidate checksum on fragment reassembly
ee7a88fc775e batman-adv: fix packet checksum in receive path
879a73b10a93 md/raid1: fix NULL pointer dereference
0a4c60471d13 md: fix a potential deadlock of raid5/raid10 reshape
2565b271aed0 fs: dcache: Use READ_ONCE when accessing i_dir_seq
3623c1f37efa fs: dcache: Avoid livelock between d_alloc_parallel and __d_add
ed49851ce15c ARM: dts: imx6dl: Include correct dtsi file for Engicam i.CoreM6 DualLite/Solo RQS
5f95541a0db5 kvm: fix warning for CONFIG_HAVE_KVM_EVENTFD builds
1fe15ab15935 KVM: nVMX: Don't halt vcpu when L1 is injecting events to L2
ce8bdc7aabf9 macvlan: fix use-after-free in macvlan_common_newlink()
a383f44e7a34 arm64: fix unwind_frame() for filtered out fn for function graph tracing
3d82155f8547 mac80211: drop frames with unexpected DS bits from fast-rx to slow path
dff5da4724bb x86/topology: Update the 'cpu cores' field in /proc/cpuinfo correctly across CPU hotplug operations
95e8297ab206 locking/xchg/alpha: Fix xchg() and cmpxchg() memory ordering bugs
4ba4273e7218 x86/intel_rdt: Fix incorrect returned value when creating rdgroup sub-directory in resctrl file system
09897fcbd42a integrity/security: fix digsig.c build error with header file
0b9f26e97f2b regulatory: add NUL to request alpha2
c254a86a333c smsc75xx: fix smsc75xx_set_features()
cc4a2d71cff3 ARM: OMAP: Fix dmtimer init for omap1
90c9ae5943c3 nfs: system crashes after NFS4ERR_MOVED recovery
4b0a3b9a511d arm64: dts: cavium: fix PCI bus dtc warnings
e47c1bf99a14 PKCS#7: fix direct verification of SignerInfo signature
a72612a1c39d selftests/bpf/test_maps: exit child process without error in ENOMEM case
dac5d3a100c6 s390/cio: clear timer when terminating driver I/O
c5b1b2e2185d s390/cio: fix return code after missing interrupt
5df337455c5a s390/cio: fix ccw_device_start_timeout API
aa6eeca7bcd7 powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access
e1bb3673ae9d soc: imx: gpc: de-register power domains only if initialized
e65cd9a20343 seccomp: add a selftest for get_metadata
32e139dfb684 selftests/memfd: add run_fuse_test.sh to TEST_FILES
305eb32d45f0 bug.h: work around GCC PR82365 in BUG()
14488f25339e kernel/relay.c: limit kmalloc size to KMALLOC_MAX_SIZE
cf15cd63000b virtio_net: fix XDP code path in receive_small()
0e498db68095 md: raid5: avoid string overflow warning
ca353544670d locking/xchg/alpha: Add unconditional memory barrier to cmpxchg()
badacb781dce net/mlx5e: Return error if prio is specified when offloading eswitch vlan push
2e9f41ace36b ibmvnic: Check for NULL skb's in NAPI poll routine
775cc792bb08 RDMA/bnxt_re: Fix system crash during load/unload
c0935f1ef990 RDMA/bnxt_re: Unpin SQ and RQ memory if QP create fails
c5c0632b9c7b arm64: perf: correct PMUVer probing
33b3f7b5af5d drm/meson: fix vsync buffer update
2c6a5cc09b46 drm/exynos: fix comparison to bitshift when dealing with a mask
3f925cc2d399 drm/exynos: g2d: use monotonic timestamps
c5db4c271ca5 md raid10: fix NULL deference in handle_write_completed()
3ed913b61e6a gpu: ipu-v3: prg: fix device node leak in ipu_prg_lookup_by_phandle
9ccb1d53c6ac gpu: ipu-v3: pre: fix device node leak in ipu_pre_lookup_by_phandle
8dcb7ddb2c83 mac80211: Fix sending ADDBA response for an ongoing session
707c81727baa mac80211: Do not disconnect on invalid operating class
f6bfc88f14cc cfg80211: clear wep keys after disconnection
a7f126b2e1ad mac80211: fix calling sleeping function in atomic context
99d4fe95e4f6 mac80211: fix a possible leak of station stats
f49e3a9acc52 mac80211: round IEEE80211_TX_STATUS_HEADROOM up to multiple of 4
020c32a91ee0 xfrm: do not call rcu_read_unlock when afinfo is NULL in xfrm_get_tos
d0d9330fa2a3 s390/dasd: fix handling of internal requests
e08f86697835 md: fix md_write_start() deadlock w/o metadata devices
ca4363bf7cb8 MD: Free bioset when md_run fails
f146c6e6506f rxrpc: Work around usercopy check
54881db3251a NFC: llcp: Limit size of SDP URI
e5ea0a89bf7b iwlwifi: mvm: always init rs with 20mhz bandwidth rates
6e752ba6436b iwlwifi: mvm: fix IBSS for devices that support station type API
8c1cc43e745d iwlwifi: mvm: fix security bug in PN checking
1510627c63b7 ARM: dts: rockchip: Fix DWMMC clocks
23b738ce746a arm64: dts: rockchip: Fix DWMMC clocks
357b528e6b70 IB/uverbs: Fix unbalanced unlock on error path for rdma_explicit_destroy
5b0622bfe637 IB/uverbs: Fix possible oops with duplicate ioctl attributes
cdd37f48d6a0 IB/uverbs: Fix method merging in uverbs_ioctl_merge
44ef222ad099 xhci: workaround for AMD Promontory disabled ports wakeup
94203f213c19 tls: retrun the correct IV in getsockopt
cec7d77a1db8 ibmvnic: Clean RX pool buffers during device close
322d7195572d ibmvnic: Free RX socket buffer in case of adapter error
4431066edd13 ibmvnic: Wait until reset is complete to set carrier on
ddca5c776fff ARM: OMAP1: clock: Fix debugfs_create_*() usage
d615dddc6e0c ARM: OMAP2+: Fix sar_base inititalization for HS omaps
c22e3886fc65 ARM: OMAP3: Fix prm wake interrupt for resume
7ffe100ce67c ARM: OMAP2+: timer: fix a kmemleak caused in omap_get_timer_dt
b2f5d98f3300 selftests: memfd: add config fragment for fuse
b9ddf39dd579 selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m
a666ad4bbcfb selftest/vDSO: fix O=
198e26a0efef selftests: sync: missing CFLAGS while compiling
4adc95c5a020 libata: Fix compile warning with ATA_DEBUG enabled
afe088b034b4 arm64: dts: rockchip: correct ep-gpios for rk3399-sapphire
fa4cf9010ed6 arm64: dts: rockchip: fix rock64 gmac2io stability issues
6fc72fd1565b ptr_ring: prevent integer overflow when calculating size
052eb2d6dc61 ARC: Fix malformed ARC_EMUL_UNALIGNED default
0f097096b77a mac80211: mesh: fix wrong mesh TTL offset calculation
49e30752177f MIPS: generic: Fix machine compatible matching
3084902aa9fd powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit
b90a6bddc8af powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()
1618f211f96e powerpc/pseries: Restore default security feature flags on setup
f092a180128e powerpc: Move default security feature flags
a28ff26d5e44 powerpc/pseries: Fix clearing of security feature flags
046e9adae42a powerpc/64s: Wire up cpu_show_spectre_v2()
6e77feadbfbc powerpc/64s: Wire up cpu_show_spectre_v1()
7a62b0f64804 powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()
3bf1695bbb24 powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()
d71a3e0a2d0a powerpc/64s: Enhance the information in cpu_show_meltdown()
ae8afdf604d3 powerpc/64s: Move cpu_show_meltdown()
f2fdeebd8537 powerpc/powernv: Set or clear security feature flags
9ba774cc0f75 powerpc/pseries: Set or clear security feature flags
e2ba26dba530 powerpc: Add security feature flags for Spectre/Meltdown
4c5463a5a374 powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags
d1cb5ff450d3 powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration
123f6d5ccaa2 powerpc/rfi-flush: Differentiate enabled and patched flush types
6af06dcdea08 powerpc/rfi-flush: Always enable fallback flush on pseries
d744f8457f2f powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again
5412a9d91d65 powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code
bf434b31bad6 powerpc/powernv: Support firmware disable of RFI flush
dff1a7e6c3ae powerpc/pseries: Support firmware disable of RFI flush
2245d95d9f7a powerpc/64s: Improve RFI L1-D cache flush fallback
421e1fadb0b0 x86/kvm: fix LAPIC timer drift when guest uses periodic mode
b3ce16455c4b kvm: x86: IA32_ARCH_CAPABILITIES is always supported
e765fd97e0c2 KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed
16c463a4ecfa KVM: s390: vsie: fix < 8k check for the itdba
9c5eee605677 KVM/VMX: Expose SSBD properly to guests
058dfcf9c24f kernel/sys.c: fix potential Spectre v1 issue
1da530fe155d kasan: fix memory hotplug during boot
b052960484fd kasan: free allocated shadow memory on MEM_CANCEL_ONLINE
9c7821c67a71 mm/kasan: don't vfree() nonexistent vm_area
afdc490b36b0 ipc/shm: fix shmat() nil address after round-down when remapping
67dd0bad8189 Revert "ipc/shm: Fix shmat mmap nil-page protection"
0472f94cef2e idr: fix invalid ptr dereference on item delete
2a039b93679f sr: pass down correctly sized SCSI sense buffer
a59bd819576d IB/umem: Use the correct mm during ib_umem_release
7a5b3b91f858 IB/hfi1: Use after free race condition in send context error path
df07f2718440 powerpc/64s: Clear PCR on boot
92169a015bdd arm64: lse: Add early clobbers to some input/output asm operands
760e4d7e89a5 drm/vmwgfx: Fix 32-bit VMW_PORT_HB_[IN|OUT] macros
a0f8cbce7b57 xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent
4182f5a075f1 libata: blacklist Micron 500IT SSD with MU01 firmware
21712abb8ba2 libata: Blacklist some Sandisk SSDs for NCQ
f2a3c8bb4d10 mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus
4da8f20a992c mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE register
ebedf0b29047 mmc: sdhci-iproc: remove hard coded mmc cap 1.8v
f440ea85d429 do d_instantiate/unlock_new_inode combinations safely
ba3fbb7afde9 ALSA: timer: Fix pause event notification
fbcede36bbfd aio: fix io_destroy(2) vs. lookup_ioctx() race
b9659ff375cb fs: don't scan the inode cache before SB_BORN is set
1e5edf32e44d affs_lookup(): close a race with affs_remove_link()
2871a701329c KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable"
bba75a0ccdb5 MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs
769fc447cced MIPS: ptrace: Expose FIR register through FP regset
368b70857dd7 MIPS: c-r4k: Fix data corruption related to cache coherence
102b97d6241d Linux 4.14.44
6b73dfbd3cfc rtc: goldfish: Add missing MODULE_LICENSE
6f34e436509e rtc: rp5c01: fix possible race condition
78227b671e0d rtc: tx4939: avoid unintended sign extension on a 24 bit shift
459aa4904ab2 rtc: m41t80: fix race conditions
6266010c3895 rtc: rk808: fix possible race condition
6c1c17116484 rtc: hctosys: Ensure system time doesn't overflow time_t
731d965a587c rtc: snvs: Fix usage of snvs_rtc_enable
8293e6238e03 serial: altera: ensure port->regshift is honored consistently
e10bbc220e1a serial: 8250: Don't service RX FIFO if interrupts are disabled
1c447ea13703 serial: arc_uart: Fix out-of-bounds access through DT alias
db69a1a58844 serial: fsl_lpuart: Fix out-of-bounds access through DT alias
24182ff06635 serial: imx: Fix out-of-bounds access through serial port index
5f53807e751e serial: mxs-auart: Fix out-of-bounds access through serial port index
491e61fe3c53 serial: samsung: Fix out-of-bounds access through serial port index
eb81dd52b425 serial: sh-sci: Fix out-of-bounds access through DT alias
d1e7f966521d serial: xuartps: Fix out-of-bounds access through DT alias
604e648e8bf0 media: cx25821: prevent out-of-bounds read on array card
9b7c44c43946 media: vivid: fix incorrect capabilities for radio
8cfcd5bbb723 media: vb2: Fix videobuf2 to map correct area
81173a58638f media: i2c: adv748x: fix HDMI field heights
93c72937a26b media: v4l: vsp1: Fix display stalls when requesting too many inputs
d600eadf7d80 media: em28xx: Add Hauppauge SoloHD/DualHD bulk models
d62c8d80f84f media: lgdt3306a: Fix a double kfree on i2c device remove
53ba3526baad media: s3c-camif: fix out-of-bounds array access
5ebcb4612748 media: cx23885: Set subdev host data to clk_freq pointer
24858b9c030a media: cx23885: Override 888 ImpactVCBe crystal frequency
1c94830eeea5 media: ov5645: add missing of_node_put() in error path
cc4b4af51c13 media: Don't let tvp5150_get_vbi() go out of vbi_ram_default array
07999bccf2e0 media: dmxdev: fix error code for invalid ioctls
7bc147610d1e clk: samsung: exynos3250: Fix PLL rates
3fabe01cdf75 clk: samsung: exynos5250: Fix PLL rates
90e14be44331 clk: samsung: exynos5433: Fix PLL rates
256499854098 clk: samsung: exynos5260: Fix PLL rates
8f4eef93e1ab clk: samsung: exynos7: Fix PLL rates
264530c6ad12 clk: samsung: s3c2410: Fix PLL rates
573dda18a809 clk: rockchip: Prevent calculating mmc phase if clock rate is zero
04adc8209a9a clk: tegra: Fix pll_u rate configuration
99f29b5c1cc4 clk: hisilicon: mark wdt_mux_p[] as const
2dc1d1a8715e clk: Don't show the incorrect clock phase
a225a3ba3213 clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228
9311d0b6b466 ASoC: samsung: i2s: Ensure the RCLK rate is properly determined
27cbb1df79c5 ASoC: topology: create TLV data for dapm widgets
fbeec965b8d1 ASoC: samsung: odroid: Fix 32000 sample rate handling
b3bbda7bad73 ASoC: rockchip: rk3288-hdmi-analog: Select needed codecs
98ffb5cf47e4 ASoC: hdmi-codec: Fix module unloading caused kernel crash
48e835f89769 scsi: lpfc: Fix frequency of Release WQE CQEs
8fd4131a9fcc scsi: lpfc: Fix soft lockup in lpfc worker thread during LIP testing
d5d331cdfcb2 scsi: lpfc: Fix issue_lip if link is disabled
a9bcbce385ed scsi: mvsas: fix wrong endianness of sgpio api
5e315f31faef scsi: core: Make SCSI Status CONDITION MET equivalent to GOOD
3de235c7753b scsi: aacraid: Insure command thread is not recursively stopped
10859964e0e1 scsi: iscsi_tcp: set BDI_CAP_STABLE_WRITES when data digest enabled
b1a706fdb5a8 scsi: sd: Keep disk read-only when re-reading partition
2bb6b7decff0 scsi: mpt3sas: Do not mark fw_event workqueue as WQ_MEM_RECLAIM
fbc801716092 scsi: qedi: Fix kernel crash during port toggle
dc6cb0cb91d5 scsi: qla4xxx: skip error recovery in case of register disconnect.
b24fd4cd9491 scsi: aacraid: fix shutdown crash when init fails
942cb7bd774a scsi: qedi: Fix truncation of CHAP name and secret
a9eb1e1031a0 scsi: storvsc: Increase cmd_per_lun for higher speed devices
1ad71103e12e scsi: qla2xxx: Avoid triggering undefined behavior in qla2x00_mbx_completion()
62d16de3109f scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo()
0bf213d90bb2 scsi: sym53c8xx_2: iterator underflow in sym_getsync()
a1ac3da8431a scsi: bnx2fc: Fix check in SCSI completion handler for timed out request
af9930622461 scsi: ufs: Enable quirk to ignore sending WRITE_SAME command
b0ef004e86cf scsi: qla2xxx: Fix memory corruption during hba reset test
59ad4bb71714 scsi: mpt3sas: fix an out of bound write
2b2a92910c19 crypto: inside-secure - fix the invalidation step during cra_exit
c787fb6bdac2 crypto: sunxi-ss - Add MODULE_ALIAS to sun4i-ss
d03a0a61dc82 crypto: inside-secure - fix the extra cache computation
6df26587d22d crypto: inside-secure - fix the cache_len computation
a04b30fd74a1 crypto: inside-secure - do not process request if no command was issued
41b6f0ffb3ac crypto: ccp - don't disable interrupts while setting up debugfs
223ba92a8059 crypto: atmel-aes - fix the keys zeroing on errors
173c55493b81 crypto: inside-secure - wait for the request to complete if in the backlog
43624647a97c staging: lustre: lmv: correctly iput lmo_root
281bb7920cc0 staging: ks7010: Use constants from ieee80211_eid instead of literal ints.
d5ae597ed13d staging: rtl8192u: return -ENOMEM on failed allocation of priv->oldaddr
20b9506df1b4 staging: fsl-dpaa2/eth: Fix incorrect casts
ff8eb22e5bb8 staging: lustre: fix bug in osc_enter_cache_try
bf30d26981a8 staging: bcm2835-audio: Release resources on module_exit()
0fe68f20e09f xhci: Show what USB release number the xHC supports from protocol capablity
0249054e4bfd Bluetooth: btusb: Add device ID for RTL8822BE
e4504b80e012 media: em28xx: USB bulk packet size fix
f5f6bff50f36 media: lgdt3306a: Fix module count mismatch on usb unplug
f3f3442027b5 usb: gadget: composite: fix incorrect handling of OS desc requests
9170c1411eca usb: gadget: udc: change comparison to bitshift when dealing with a mask
b80114337d31 usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS
dd5541c7a60d usb: gadget: ffs: Execute copy_to_user() with USER_DS set
7f48c9ddca72 usb: gadget: ffs: Let setup() return USB_GADGET_DELAYED_STATUS
11cb14a19679 usb: dwc2: host: Fix transaction errors in host mode
51250a9357d8 usb: dwc2: hcd: Fix host channel halt flow
db81323e6a5d usb: dwc2: Fix interval type issue
39280c27031b xhci: zero usb device slot_id member when disabling and freeing a xhci slot
55aaef4bd8a0 usb: dwc3: Makefile: fix link error on randconfig
834329c4ad4c usb: dwc3: Update DWC_usb31 GTXFIFOSIZ reg fields
7fb2d2f1b04d usb: dwc3: Add SoftReset PHY synchonization delay
81ba08e69fe2 ALSA: usb-audio: Add native DSD support for Luxman DA-06
d711223606e8 Bluetooth: btusb: Add USB ID 7392:a611 for Edimax EW-7611ULB
89509cdb713f net-usb: add qmi_wwan if on lte modem wistron neweb d18q1
58249157c6ad net/usb/qmi_wwan.c: Add USB id for lt4120 modem
ce04fbcdb39a USB: OHCI: Fix NULL dereference in HCDs using HCD_LOCAL_MEM
e5c8a6d499a1 usb: host: xhci-plat: revert "usb: host: xhci-plat: enable clk in resume timing"
38ed02d85840 ARM: dts: imx7d-sdb: Fix regulator-usb-otg2-vbus node name
5788084ba3cd net: usbnet: fix potential deadlock on 32bit hosts
f7b3f33c79b7 usb: cdc_acm: prevent race at write to acm while system resumes
ee4ed01d4b5c usb: dwc2: Fix dwc2_hsotg_core_init_disconnected()
a3fcccd4a7ef usb: gadget: fsl_udc_core: fix ep valid checks
36d66139a351 usb: gadget: core: Fix use-after-free of usb_request
aefc5ce2342a usb: dwc3: omap: don't miss events during suspend/resume
e8f101ec20c0 usb: dwc3: Undo PHY init if soft reset fails
0cc948e8ddb5 usb: gadget: f_uac2: fix bFirstInterface in composite gadget
0ff6b2cac941 x86/kexec: Avoid double free_page() upon do_kexec_load() failure
f119414a8f8d hfsplus: stop workqueue when fill_super() failed
9f2c35864ad6 cfg80211: limit wiphy names to 128 bytes
360964411d57 loop: fix LOOP_GET_STATUS lock imbalance
c18270ac9f84 loop: don't call into filesystem while holding lo_ctl_mutex
3c017b9fede9 scsi: zfcp: fix infinite iteration on ERP ready list
d827bea2d18c scsi: sg: allocate with __GFP_ZERO in sg_build_indirect()
58442874542f scsi: libsas: defer ata device eh commands to libata
c1a35f5ddf36 s390: use expoline thunks in the BPF JIT
457b944b61e6 s390: extend expoline to BC instructions
a206c82f9bc9 s390: move spectre sysfs attribute code
2a146a9b3240 s390/kernel: use expoline for indirect branches
f1bd3b99607b s390/ftrace: use expoline for indirect branches
0d201ff077a8 s390/lib: use expoline for indirect branches
d7aa3f13e146 s390/crc32-vx: use expoline for indirect branches
e3ad546e6094 s390: move expoline assembler macros to a header
9a38169fb602 s390: add assembler macros for CPU alternatives
131ff238b859 ext2: fix a block leak
ea5ffcd46716 sparc: vio: use put_device() instead of kfree()
c98b38c5ede4 hv_netvsc: Fix net device attach on older Windows hosts
c7da51021c8d hv_netvsc: Ensure correct teardown message sequence order
c5345b11680f hv_netvsc: Split netvsc_revoke_buf() and netvsc_teardown_gpadl()
d8c3e04d3913 hv_netvsc: Use Windows version instead of NVSP version on GPAD teardown
be9c798d0d13 hv_netvsc: common detach logic
905f85c289d7 hv_netvsc: change GPAD teardown order on older versions
9c6439c7b168 hv_netvsc: use RCU to fix concurrent rx and queue changes
1f3ef8a7a3c6 hv_netvsc: disable NAPI before channel close
f9aab25e3326 hv_netvsc: defer queue selection to VF
0ac663c5674a hv_netvsc: fix race in napi poll when rescheduling
99e06589bd5d hv_netvsc: cancel subchannel setup before halting device
0ed8945b3aa6 hv_netvsc: fix error unwind handling if vmbus_open fails
4857dca4dd65 hv_netvsc: only wake transmit queue if link is up
0395570f81fe hv_netvsc: avoid retry on send during shutdown
36a9609cef4a hv_netvsc: Use the num_online_cpus() for channel limit
4c5fef778957 hv_netvsc: empty current transmit aggregation if flow blocked
41f24dbef177 hv_netvsc: preserve hw_features on mtu/channels/ringparam changes
284a58c02eeb hv_netvsc: netvsc_teardown_gpadl() split
6296e73e459d hv_netvsc: Set tx_table to equal weight after subchannels open
ef1c5903cd2a hv_netvsc: Add initialization of tx_table in netvsc_device_add()
b3a303352e51 hv_netvsc: Rename tx_send_table to tx_table
5acc4d1e8fe2 hv_netvsc: Rename ind_table to rx_table
836f8472f1bd hv_netvsc: Fix the real number of queues of non-vRSS cases
099612827aa3 vmxnet3: use DMA memory barriers where required
74327eda43d0 vmxnet3: set the DMA mask before the first DMA map operation
c89d534301a0 tcp: purge write queue in tcp_connect_init()
edabcd0f12ae sock_diag: fix use-after-free read in __sk_free
01a658c1b9d4 packet: in packet_snd start writing at link layer allocation
c02756173e65 net: test tailroom before appending to linear skb
2cedbdda01fe net/smc: check for missing nlattrs in SMC_PNETID messages
8ffa5f978394 net: sched: red: avoid hashing NULL child
53b2dbbee18d net/sched: fix refcnt leak in the error path of tcf_vlan_init()
5ff45c86e90a net/mlx4_core: Fix error handling in mlx4_init_port_info.
047df46d6cef net: Fix a bug in removing queues from XPS map
1dff08485b9e Linux 4.14.43
92a3c944d6d5 x86/bugs: Rename SSBD_NO to SSB_NO
e8837f0a000f KVM: SVM: Implement VIRT_SPEC_CTRL support for SSBD
3f44c1a3c293 x86/speculation, KVM: Implement support for VIRT_SPEC_CTRL/LS_CFG
71179d5dcbb9 x86/bugs: Rework spec_ctrl base and mask logic
d13f068b94a1 x86/bugs: Remove x86_spec_ctrl_set()
987f49474b06 x86/bugs: Expose x86_spec_ctrl_base directly
6befd3a735e0 x86/bugs: Unify x86_spec_ctrl_{set_guest,restore_host}
3e6ab4ca1345 x86/speculation: Rework speculative_store_bypass_update()
8e1c285a050c x86/speculation: Add virtualized speculative store bypass disable support
72f46c229ac2 x86/bugs, KVM: Extend speculation control for VIRT_SPEC_CTRL
b213ab46cde4 x86/speculation: Handle HT correctly on AMD
7f1efb5e74e3 x86/cpufeatures: Add FEATURE_ZEN
bbc0d1c33566 x86/cpufeatures: Disentangle SSBD enumeration
8e0836d1413b x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS
b1d1984f3898 x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP
b1a6028c2374 KVM: SVM: Move spec control call after restore of GS
bd2059282934 x86/cpu: Make alternative_msr_write work for 32-bit code
5a53a5fefb73 x86/bugs: Fix the parameters alignment and missing void
f69c4dd36766 x86/bugs: Make cpu_show_common() static
4fbc01632e77 x86/bugs: Fix __ssb_select_mitigation() return type
8dc742f930cc Documentation/spec_ctrl: Do some minor cleanups
43c47eb2a274 proc: Use underscores for SSBD in 'status'
89ba80e61a39 x86/bugs: Rename _RDS to _SSBD
0f18f44ce076 x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass
61dfdc12ff35 seccomp: Move speculation migitation control to arch code
9939db75cd5b seccomp: Add filter flag to opt-out of SSB mitigation
d829fcceb8f5 seccomp: Use PR_SPEC_FORCE_DISABLE
20d036a2e223 prctl: Add force disable speculation
c024722ffecd x86/bugs: Make boot modes __ro_after_init
87895ae1e9b2 seccomp: Enable speculation flaw mitigations
dd88d569eeff proc: Provide details on speculation flaw mitigations
7d1254a1489c nospec: Allow getting/setting on non-current task
d8553911627a x86/speculation: Add prctl for Speculative Store Bypass mitigation
704609d39680 x86/process: Allow runtime control of Speculative Store Bypass
33f6a06810cb prctl: Add speculation control prctls
81c3c2b5917a x86/speculation: Create spec-ctrl.h to avoid include hell
97224b3da698 x86/KVM/VMX: Expose SPEC_CTRL Bit(2) to the guest
716bfae3b3f4 x86/bugs/AMD: Add support to disable RDS on Fam[15,16,17]h if requested
fa2f1c65246d x86/bugs: Whitelist allowed SPEC_CTRL MSR values
128e69909f7c x86/bugs/intel: Set proper CPU features and setup RDS
65f747a6b108 x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation
832b579e1e83 x86/cpufeatures: Add X86_FEATURE_RDS
c6dc89dd04e3 x86/bugs: Expose /sys/../spec_store_bypass
94ae9d262843 x86/bugs, KVM: Support the combination of guest and host IBRS
7c9b4959cda4 x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bits
3ce1634f6165 x86/bugs: Concentrate bug reporting into a separate function
69dc73805969 x86/bugs: Concentrate bug detection into a separate function
8410540f5aaf x86/nospec: Simplify alternative_msr_write()
671c9a69f426 btrfs: fix reading stale metadata blocks after degraded raid1 mounts
7ea5cff55c45 btrfs: Fix delalloc inodes invalidation during transaction abort
0d670384af3c btrfs: Split btrfs_del_delalloc_inode into 2 functions
1d16f615bb7d btrfs: fix crash when trying to resume balance without the resume flag
f9b02febeabf btrfs: property: Set incompat flag if lzo/zstd compression is set
de1f96cc4a30 Btrfs: send, fix invalid access to commit roots due to concurrent snapshotting
59bbb5ca4d95 Btrfs: fix xattr loss after power failure
ca477b42aeaa ARM: 8772/1: kprobes: Prohibit kprobes on get_user functions
bd4aeb75dab5 ARM: 8770/1: kprobes: Prohibit probing on optimized_callback
14b4cfb5ab54 ARM: 8769/1: kprobes: Fix to use get_kprobe_ctlblk after irq-disabed
6986750cb57c tick/broadcast: Use for_each_cpu() specially on UP kernels
a697b90ef09e x86/mm: Drop TS_COMPAT on 64-bit exec() syscall
5f3ca3928e08 ARM: 8771/1: kprobes: Prohibit kprobes on do_undefinstr
e5cefe3570a0 efi: Avoid potential crashes, fix the 'struct efi_pci_io_protocol_32' definition for mixed mode
83a39c0e4adb x86/pkeys: Do not special case protection key 0
359b8ff3281c x86/pkeys: Override pkey when moving away from PROT_EXEC
a6565fdd90cb s390: remove indirect branch from do_softirq_own_stack
ce2e68b3c260 s390/qdio: don't release memory in qdio_setup_irq()
56130d932232 s390/cpum_sf: ensure sample frequency of perf event attributes is non-zero
c568bdf37b6e s390/qdio: fix access to uninitialized qdio_q fields
e2266ea100ea drm/i915/gen9: Add WaClearHIZ_WM_CHICKEN3 for bxt and glk
fc170bda2283 mm: don't allow deferred pages with NEED_PER_CPU_KM
572e2385ae35 radix tree: fix multi-order iteration race
f6c0f020ee5b lib/test_bitmap.c: fix bitmap optimisation tests to report errors correctly
5b86f020a789 drm: Match sysfs name in link removal to link creation
094595ce5701 powerpc/powernv: Fix NVRAM sleep in invalid context when crashing
f4f05f62d3d1 i2c: designware: fix poll-after-enable regression
f9882808e355 netfilter: nf_socket: Fix out of bounds access in nf_sk_lookup_slow_v{4,6}
d233f8d5bdd3 netfilter: nf_tables: can't fail after linking rule into active rule list
321bc88ec098 netfilter: nf_tables: free set name in error path
bca7faea5410 tee: shm: fix use-after-free via temporarily dropped reference
9a19a93bddb3 tracing/x86/xen: Remove zero data size trace events trace_xen_mmu_flush_tlb{_all}
d2dee2253be8 vfio: ccw: fix cleanup if cp_prefetch fails
92ce74164efa powerpc: Don't preempt_disable() in show_cpuinfo()
27ea98a4c50c KVM: arm/arm64: VGIC/ITS: protect kvm_read_guest() calls with SRCU lock
b6f6d8bfe779 KVM: arm/arm64: VGIC/ITS save/restore: protect kvm_read_guest() calls
b7f0fc1f0615 spi: bcm-qspi: Always read and set BSPI_MAST_N_BOOT_CTRL
d18c3d2304de spi: bcm-qspi: Avoid setting MSPI_CDRAM_PCS for spi-nor master
45804b0e3cb3 spi: pxa2xx: Allow 64-bit DMA
50c0e85887bf ALSA: control: fix a redundant-copy issue
6283fcc9b93a ALSA: hda: Add Lenovo C50 All in one to the power_save blacklist
13fe9058ed09 ALSA: usb: mixer: volume quirk for CM102-A+/102S+
e842726eccf3 usbip: usbip_host: fix bad unlock balance during stub_probe()
ec0c93951ecb usbip: usbip_host: fix NULL-ptr deref and use-after-free errors
5cd4dd77782e usbip: usbip_host: run rebind from exit when module is removed
cf3bcc3231ad usbip: usbip_host: delete device from busid_table after rebind
a3d5f6ecba99 usbip: usbip_host: refine probe and disconnect debug msgs to be useful
d88700f79448 Linux 4.14.42
5c9a9508de30 proc: do not access cmdline nor environ from file-backed areas
7a4eda600d77 l2tp: revert "l2tp: fix missing print session offset info"
036bbd584b0b xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM)
b0e5b437ecfd btrfs: Take trans lock before access running trans in check_delayed_ref
d2d85f8d2249 xfrm: Use __skb_queue_tail in xfrm_trans_queue
73cda9030380 scsi: aacraid: Correct hba_send to include iu_type
59afc1841b70 udp: fix SO_BINDTODEVICE
8151fe6861a0 nsh: fix infinite loop
66fefcabae5e net/mlx5e: Allow offloading ipv4 header re-write for icmp
cb9e5a0817f4 ipv6: fix uninit-value in ip6_multipath_l3_keys()
19bf346ca705 hv_netvsc: set master device
6ecec17f71f5 net/mlx5: Avoid cleaning flow steering table twice during error flow
eac1ab609be0 net/mlx5e: TX, Use correct counter in dma_map error flow
b047794cc36c net: sched: fix error path in tcf_proto_create() when modules are not configured
f6294114ade4 bonding: send learning packets for vlans on slave
2eca993ddc83 bonding: do not allow rlb updates to invalid mac
f754c9c88045 tg3: Fix vunmap() BUG_ON() triggered from tg3_free_consistent().
413d2627692d tcp: ignore Fast Open on repair mode
3cfe95a0eb02 tcp_bbr: fix to zero idle_restart only upon S/ACKed data
bf2f3bae31a2 sctp: use the old asoc when making the cookie-ack chunk in dupcook_d
4dce9afc2d35 sctp: remove sctp_chunk_put from fail_mark err path in sctp_ulpevent_make_rcvmsg
d3d4d69d9bbd sctp: handle two v4 addrs comparison in sctp_inet6_cmp_addr
f6c962d27d1a sctp: fix the issue that the cookie-ack with auth can't get processed
3b54f1fd8770 sctp: delay the authentication for the duplicated cookie-echo chunk
30ffa967adc3 rds: do not leak kernel memory to user land
2753ebb4e96c r8169: fix powering up RTL8168h
2bb66a711cc8 qmi_wwan: do not steal interfaces from class drivers
c1ce5f359066 openvswitch: Don't swap table in nlattr_set() after OVS_ATTR_NESTED is found
8e1b8e327903 net/tls: Fix connection stall on partial tls record
3ac0f3e0b823 net/tls: Don't recursively call push_record during tls_write_space callbacks
78ac65e8e940 net: support compat 64-bit time in {s,g}etsockopt
b2a4d52fae0d net_sched: fq: take care of throttled flows before reuse
6a5b0444e703 net sched actions: fix refcnt leak in skbmod
1abd8c5fea11 net/mlx5: E-Switch, Include VF RDMA stats in vport statistics
57e0a9f2174e net/mlx5e: Err if asked to offload TC match on frag being first
edc0c15f6f61 net/mlx4_en: Verify coalescing parameters are in range
2213a18303a2 net/mlx4_en: Fix an error handling path in 'mlx4_en_init_netdev()'
6b10014800ce net: ethernet: ti: cpsw: fix packet leaking in dual_mac mode
1029fb466b44 net: ethernet: sun: niu set correct packet size in skb
1e22ffab52c0 llc: better deal with too small mtu
a7aea8e27359 ipv4: fix memory leaks in udp_sendmsg, ping_v4_sendmsg
c751af522989 ipv4: fix fnhe usage by non-cached routes
91c2d70192c7 dccp: fix tasklet usage
2c13a91e0fc5 bridge: check iface upper dev when setting master via ioctl
ece94a76618e 8139too: Use disable_irq_nosync() in rtl8139_poll_controller()
3f07ecbec151 Linux 4.14.41
e8bbbd11e637 KVM: x86: remove APIC Timer periodic/oneshot spikes
5138dd0db530 KVM: PPC: Book3S HV: Fix handling of large pages in radix page fault handler
82e91e07e654 perf/x86: Fix possible Spectre-v1 indexing for x86_pmu::event_map()
7093d5d0caa7 perf/core: Fix possible Spectre-v1 indexing for ->aux_pages[]
6467123872a1 perf/x86/msr: Fix possible Spectre-v1 indexing in the MSR driver
4e4bb64df800 perf/x86/cstate: Fix possible Spectre-v1 indexing for pkg_msr
df2c71fb5c04 perf/x86: Fix possible Spectre-v1 indexing for hw_perf_event cache_*
bd05324cdd3a tracing/uprobe_event: Fix strncpy corner case
bb0b090d836a sched/autogroup: Fix possible Spectre-v1 indexing for sched_prio_to_weight[]
f2a42c6bca67 smb3: directory sync should not return an error
57e2ce8bbace nvme: add quirk to force medium priority for SQ creation
db433f83a81f thermal: exynos: Propagate error value from tmu_read()
33df2f8a8c87 thermal: exynos: Reading temperature makes sense only when TMU is turned on
4aa9ef8a29ad Bluetooth: btusb: Only check needs_reset_resume DMI table for QCA rome chipsets
4fcd0333b21e Bluetooth: btusb: Add Dell XPS 13 9360 to btusb_needs_reset_resume_table
9ddc1d27a913 Revert "Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174"
99e9acc27033 cpufreq: schedutil: Avoid using invalid next_freq
64a03d3b240f PCI / PM: Check device_may_wakeup() in pci_enable_wake()
89d5c4eb8105 PCI / PM: Always check PME wakeup capability for runtime wakeup support
e2023117b877 atm: zatm: Fix potential Spectre v1
cc21a603273c net: atm: Fix potential Spectre v1
87aa17ca56b9 drm/atomic: Clean private obj old_state/new_state in drm_atomic_state_default_clear()
969d4595f4a8 drm/atomic: Clean old_state/new_state in drm_atomic_state_default_clear()
34a21b17abd6 drm/nouveau: Fix deadlock in nv50_mstm_register_connector()
b2e01797216d drm/i915: Fix drm:intel_enable_lvds ERROR message in kernel log
2b2b00374a54 drm/vc4: Fix scaling of uni-planar formats
d2901e247b10 can: hi311x: Work around TX complete interrupt erratum
ad25cf42f4c7 can: hi311x: Acquire SPI lock on ->do_get_berr_counter
d0ca84d74f9f can: kvaser_usb: Increase correct stats counter in kvaser_usb_rx_can_msg()
4636b4e25112 ceph: fix rsize/wsize capping in ceph_direct_read_write()
2270dfcc4b12 mm, oom: fix concurrent munlock and oom reaper unmap, v3
8ee7dabb311d mm: sections are not offlined during memory hotremove
21fb6d8bc504 z3fold: fix reclaim lock-ups
899997129276 tracing: Fix regex_match_front() to not over compare the test string
586d02c1479f dm integrity: use kvfree for kvmalloc'd memory
3b93fff8f452 libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs
d1d5c31fc3a5 rfkill: gpio: fix memory leak in probe error path
a7ea57b025b1 gpio: fix error path in lineevent_create
28534d29479d gpio: fix aspeed_gpio unmask irq
0f40bb84e25e gpioib: do not free unrequested descriptors
ef7c4825fe5f compat: fix 4-byte infoleak via uninitialized struct field
50ed0188af8d arm64: Add work around for Arm Cortex-A55 Erratum 1024718
ca0ecba3ddf3 KVM: PPC: Book3S HV: Fix VRMA initialization with 2MB or 1GB memory backing
f768d0f981e6 KVM: PPC: Book3S HV: Fix guest time accounting with VIRT_CPU_ACCOUNTING_GEN
c51eb7379dfa KVM: PPC: Book3S HV: Fix trap number return from __kvmppc_vcore_entry
683b4520d07e bdi: Fix oops in wb_workfn()
6b5a99167a79 bdi: wake up concurrent wb_shutdown() callers.
8c12bd91b597 tcp: fix TCP_REPAIR_QUEUE bound checking
108cd022c59b perf: Remove superfluous allocation error check
17ffa29c3556 memcg: fix per_node_info cleanup
ac91ff2a5f12 inetpeer: fix uninit-value in inet_getpeer
566804864cd9 soreuseport: initialise timewait reuseport field
154ff3e04015 ipv4: fix uninit-value in ip_route_output_key_hash_rcu()
09e45996b3e7 dccp: initialize ireq->ir_mark
f9327803193a net: fix uninit-value in __hw_addr_add_ex()
5652aed1de29 net: initialize skb->peeked when cloning
ced9763b911d net: fix rtnh_ok()
bf2ecb934603 netlink: fix uninit-value in netlink_sendmsg
1b6d0db7ed22 crypto: af_alg - fix possible uninit-value in alg_bind()
19042316b9e1 kcm: Call strp_stop before strp_done in kcm_attach
725f5ae1a695 netfilter: ebtables: don't attempt to allocate 0-sized compat array
88c43b469db5 ipvs: fix rtnl_lock lockups caused by start_sync_thread
(From OE-Core rev: 625ab268d598b13b822ffc1cabb6d3452068b29a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a fragment to the various kernels to support QA testing
of samples.
(From OE-Core rev: 98f78e3e3d65085c000bdfcf890ea498520c0075)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kern-tools commit:
tools/merge_config.sh: add CR after each fragment
If a fragment file doesn't contain a CR at the end, two config
options may be merged on the same line in the result file, leading to
misconfiguration.
This patch adds a CR after each fragment to ensure that config
options are well separated in the result file.
Bug-AGL: SPEC-1475
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: c36727f2cad6c2d51aff8da6e2acd5642afe9848)
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recent kernels (i.e. 4.17+) the configuration phase of the kernel
will check for capabilities/options of the compiler for CVE and other
mitigation support.
For a general kernel, we want to ensure that CC is fully defined when
the config targets are invoked (so the proper compiler will be checked).
For linux-yocto, we also need to specify the compiler/tools dependencies
for the configme task since it executes before configure and hence the
main kernel build DEPENDS will not always be in the sysroot before it
executes. Without those dependencies the kernel will be incorrectly
configured (i.e. bison is missing) or the configuration will fail the
mitigation tests.
[YOCTO #12757]
(From OE-Core rev: ff1bdd75d50f0ebac3d599e461685ace29559a82)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 6e36719fbe9 [crypto: aes-generic - fix aes-generic regression on
powerpc] addresses a build regression by 4.14-stable. So we cherry pick
it onto our branches while it works through the -stable process.
(From OE-Core rev: 01a4a4e24a2b61229be32f8852b2d5bc28c5689c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating v4.15 to the final korg -stable for the v4.15 series. It comprises
the following commits:
a8ec862fd39d Linux 4.15.18
c4f45cf301e6 ovl: set lower layer st_dev only if setting lower st_ino
9def916c750d rtl8187: Fix NULL pointer dereference in priv->conf_mutex
7a2a6d71eed4 Bluetooth: hci_bcm: Treat Interrupt ACPI resources as always being active-low
154b354f3171 Bluetooth: Fix connection if directed advertising and privacy is used
4eb2f39266ac getname_kernel() needs to make sure that ->name != ->iname in long case
84f086ee4e6a mm/gup_benchmark: handle gup failures
7e255357ef66 get_user_pages_fast(): return -EFAULT on access_ok failure
4d03a2e6b9b6 s390/compat: fix setup_frame32
e025da42c8e6 s390/ipl: ensure loadparm valid flag is set
0d4e77fe0659 s390/qdio: don't merge ERROR output buffers
f3eae28761c3 s390/qdio: don't retry EQBS after CCQ 96
4f2217cbe648 nfit: fix region registration vs block-data-window ranges
3adc135469c8 block/loop: fix deadlock after loop_set_status
9d8a3dc99219 apparmor: fix resource audit messages when auditing peer
93d36bc65698 apparmor: fix display of .ns_name for containers
5f7dc7d33ed3 apparmor: fix logging of the existence test for signals
b88779931388 scsi: qla2xxx: Fix small memory leak in qla2x00_probe_one on probe failure
e4e64ce3fbc4 nfsd: fix incorrect umasks
f6b213293ed9 hugetlbfs: fix bug in pgoff overflow checking
004f2df3ae48 xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling
ff37d99aebb3 ovl: fix lookup with middle layer opaque dir and absolute path redirects
645840a17612 blk-mq: don't keep offline CPUs mapped to hctx 0
01e12511b9e9 blk-mq: order getting budget and driver tag
3e0b25015e05 lib: fix stall in __bitmap_parselist()
a8ce442c67ff nvme: Skip checking heads without namespaces
c5f1f15ab5f1 block: Change a rcu_read_{lock,unlock}_sched() pair into rcu_read_{lock,unlock}()
54e869fce691 f2fs: fix heap mode to reset it back
418a68e55acb sunrpc: remove incorrect HMAC request initialization
1ff02d3465dc x86/apic: Fix signedness bug in APIC ID validity checks
84ad0b9e121f ath9k: Protect queue draining by rcu_read_lock()
70146f28e419 hwmon: (ina2xx) Fix access to uninitialized mutex
717b489baaf0 x86/mce/AMD: Get address from already initialized block
ab0ed342375f perf/core: Fix use-after-free in uprobe_perf_close()
aa9cf90591f8 KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode
02c74a999d69 PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
b5f7ba13889a PCI: hv: Serialize the present and eject work items
4d12fdda9978 Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
ed7308bce0a2 parisc: Fix HPMC handler by increasing size to multiple of 16 bytes
2cad1487248d parisc: Fix out of array access in match_pci_device()
351b3d90c18d ipmi: Fix some error cleanup issues
9bb8f59e6ba0 media: v4l: vsp1: Fix header display list status check in continuous mode
2276552990c4 media: v4l2-compat-ioctl32: don't oops on overlay
44f9357a588e lan78xx: Correctly indicate invalid OTP
a6f8bdd9b583 vhost: Fix vhost_copy_to_user()
5c877c58589f ip_gre: clear feature flags when incompatible o_flags are set
a818b1e8182e l2tp: fix race in duplicate tunnel detection
186fab54f609 l2tp: fix races in tunnel creation
d6b25a259ef9 vhost: fix vhost_vq_access_ok() log check
f76f647e536b slip: Check if rstate is initialized before uncompressing
89a990000cd5 rds: MP-RDS may use an invalid c_path
14fb3c646653 cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN
17da5b1d0a46 netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
7b3f3fa2bdeb drm/i915/edp: Do not do link training fallback or prune modes on EDP
b22a1fa1b34f Linux 4.15.17
9e6ee870ad5a net/mlx4_core: Fix memory leak while delete slave's resources
94f1b8485ce3 vhost_net: add missing lock nesting notation
a17ab0a5c81c team: move dev_mc_sync after master_upper_dev_link in team_port_add
0f9e7b328bff route: check sysctl_fib_multipath_use_neigh earlier than hash
13ed54d5252e vhost: validate log when IOTLB is enabled
2030a5c0ab13 net/mlx5e: Fix traffic being dropped on VF representor
2b9260fb6f35 net/mlx4_en: Fix mixed PFC and Global pause user control requests
e2b83b778065 strparser: Fix sign of err codes
73a697b3ef62 net/sched: fix NULL dereference on the error path of tcf_skbmod_init()
39eab2e79f81 net/sched: fix NULL dereference in the error path of tunnel_key_init()
d6bda9865d4c net/mlx5e: Sync netdev vxlan ports at open
75744bdbce5f net/mlx5e: Don't override vport admin link state in switchdev mode
5dfa4fb5cd26 ipv6: sr: fix seg6 encap performances with TSO enabled
d0f3ccf5293c nfp: use full 40 bits of the NSP buffer address
9d49e497222c net/sched: fix NULL dereference in the error path of tcf_sample_init()
e95cdaee3d7d net/mlx5e: Fix memory usage issues in offloading TC flows
07c70edfbefd net/mlx5e: Avoid using the ipv6 stub in the TC offload neigh update path
5075e98fb92f net/sched: fix NULL dereference in the error path of tcf_vlan_init()
a61bf7ba7f9f net_sched: fix a missing idr_remove() in u32_delete_key()
8c09a81ed1b9 net/mlx5e: Set EQE based as default TX interrupt moderation mode
34eb1263d97f vti6: better validate user provided tunnel names
4fba1a669a9a ip6_tunnel: better validate user provided tunnel names
efcc90fcf90a ip6_gre: better validate user provided tunnel names
c64153772333 ipv6: sit: better validate user provided tunnel names
bc4718fcee7c ip_tunnel: better validate user provided tunnel names
764975439e8b net: fool proof dev_valid_name()
b9c36c30ccac bonding: process the err returned by dev_set_allmulti properly in bond_enslave
1999253e11b6 bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
4021b1a4ef73 bonding: fix the err path for dev hwaddr sync in bond_enslave
088d65ddf9c5 vrf: Fix use after free and double free in vrf_finish_output
51c6ba0d8d71 vlan: also check phy_driver ts_info for vlan's real device
25d45c0fd16c vhost: correctly remove wait queue during poll failure
3407271beb99 sky2: Increase D3 delay to sky2 stops working after suspend
7e72ce101da8 sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6
9db59791e2b7 sctp: do not leak kernel memory to user space
cb2b72372ab2 r8169: fix setting driver_data after register_netdev
3b1c6b30170e pptp: remove a buggy dst release in pptp_connect()
db714a1ff359 net/sched: fix NULL dereference in the error path of tcf_bpf_init()
c7aea3ee65f1 net sched actions: fix dumping which requires several messages to user space
ae4d4eb29e54 net/mlx5e: Verify coalescing parameters in range
7102de5aef56 netlink: make sure nladdr has correct size in netlink_connect()
bbf5fab136f6 net/ipv6: Increment OUTxxx counters after netfilter hook
e3b4bc07821c net/ipv6: Fix route leaking between VRFs
202f1915fa1d net: fix possible out-of-bound read in skb_network_protocol()
7dd65ec55e31 net: dsa: Discard frames from unused ports
14fed02e94a8 lan78xx: Crash in lan78xx_writ_reg (Workqueue: events lan78xx_deferred_multicast_write)
dad8b0244bac ipv6: the entire IPv6 header chain must fit the first fragment
30d032b72d06 arp: fix arp_filter on l3slave devices
fea978223b59 x86/microcode: Fix CPU synchronization routine
32bfd224e9d6 x86/microcode: Attempt late loading only when new microcode is present
8e1161f94614 x86/microcode: Synchronize late microcode loading
7bc523cc535e x86/microcode: Request microcode on the BSP
194ed6edd93f x86/microcode/intel: Look into the patch cache first
399c019ea77c x86/microcode: Do not upload microcode if CPUs are offline
1089ac9dda39 x86/microcode/intel: Writeback and invalidate caches before updating microcode
1c1f5b2cd2cf x86/microcode/intel: Check microcode revision before updating sibling threads
abb00ec05909 x86/microcode: Get rid of struct apply_microcode_ctx
5cea945c5a3b x86/CPU: Check CPU feature bits after microcode upgrade
1a6150b2bad3 x86/CPU: Add a microcode loader callback
e280980606e7 x86/microcode: Propagate return value from updating functions
d3839c26e68d drm/i915/cnp: Properly handle VBT ddc pin out of bounds.
1710c3baec14 drm/i915/cnp: Ignore VBT request for know invalid DDC pin.
87ef4d6fc6b0 thermal: int3400_thermal: fix error handling in int3400_thermal_probe()
452aecd060f2 tcmu: release blocks for partially setup cmds
46279ed31169 perf tools: Fix copyfile_offset update of output offset
feb5c349feb5 crypto: aes-generic - build with -Os on gcc-7+
50dbed12aaa7 mtd: mtd_oobtest: Handle bitflips during reads
dad8f5220c5d Input: goodix - disable IRQs while suspended
d7c122fd723f ibmvnic: Don't handle RX interrupts when not up.
82c353ad3da1 sdhci: Advertise 2.0v supply on SDIO host controller
55a0ef8d9d71 x86/gart: Exclude GART aperture from vmcore
6a68ef47bea6 gpio: thunderx: fix error return code in thunderx_gpio_probe()
27fac1611fdd RDMA/cma: Fix rdma_cm path querying for RoCE
ce87afbbada6 scsi: megaraid_sas: unload flag should be set after scsi_remove_host is called
458419bb8429 scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map
edde080c5e33 PM / domains: Don't skip driver's ->suspend|resume_noirq() callbacks
3018e3d5171e cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages
b2320552d1f5 drm/amd/powerplay: fix memory leakage when reload (v2)
70557b7f58db i40evf: don't rely on netif_running() outside rtnl_lock()
6e80af54604d Bluetooth: hci_bcm: Make shutdown and device wake GPIO optional
d8d843fe374b Bluetooth: hci_bcm: Validate IRQ before using it
e34b75c7db20 Bluetooth: hci_bcm: Mandate presence of shutdown and device wake GPIO
3ca4e49e9be7 uio_hv_generic: check that host supports monitor page
f0e9997e06a5 EDAC, mv64x60: Fix an error handling path
7018cb0149d1 serdev: Fix serdev_uevent failure on ACPI enumerated serdev-controllers
3af99e83a278 block, bfq: put async queues for root bfq groups too
a551b16c4903 tty: n_gsm: Allow ADM response in addition to UA for control dlci
13ba69ddf542 blk-mq: fix kernel oops in blk_mq_tag_idle()
1aa0564aae9e net/mlx5e: IPoIB, Use correct timestamp in child receive flow
d4beec7ede2a scsi: libsas: initialize sas_phy status according to response of DISCOVER
a8e93148d4e6 scsi: libsas: fix error when getting phy events
c16490ba27bb scsi: libsas: fix memory leak in sas_smp_get_phy_events()
614361530f03 net: Fix netdev_WARN_ONCE macro
088ebc83060e scsi: libsas: Use dynamic alloced work to avoid sas event lost
eead4cd85fe3 bcache: segregate flash only volume write streams
9390f52f68a8 bcache: stop writeback thread after detaching
18303da51818 bcache: ret IOERR when read meets metadata error
2300dbc6d1f3 net: hns3: fix for changing MTU
dfa20d9d7fa9 net: hns3: Fix an error macro definition of HNS3_TQP_STAT
f55dc2a4c18d net: hns3: Fix a loop index error of tqp statistics query
4434e6f5820f net: hns3: Fix an error of total drop packet statistics
c8de98d55dc4 net/mlx5: Fix race for multiple RoCE enable
717df1176636 wl1251: check return from call to wl1251_acx_arp_ip_filter
eb49779a13d9 rt2x00: do not pause queue unconditionally on error path
14d7f455a4da power: supply: axp288_charger: Properly stop work on probe-error / remove
c9ec5c8ac418 ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
b00f942fef90 staging: lustre: disable preempt while sampling processor id.
731edfbaf9e5 perf report: Fix a no annotate browser displayed issue
4c4f48c3e5d7 tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented
0a592432e6e9 nvme_fcloop: fix abort race condition
513f897ed6e5 nvme_fcloop: disassocate local port structs
9d0b9e874ecf pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts
ab0ba11b94b5 nvme-fabrics: don't check for non-NULL module in nvmf_register_transport
2c624d6fede9 nvme-fabrics: protect against module unload during create_ctrl
3d4d30ecc250 backlight: tdo24m: Fix the SPI CS between transfers
3f9ae3bb4dca blk-mq: fix race between updating nr_hw_queues and switching io sched
f86fd0585e8e blk-mq: avoid to map CPU into stale hw queue
5be1bc32b82d IB/rdmavt: Allocate CQ memory on the correct node
a5a2a6bd5d4a powernv-cpufreq: Add helper to extract pstate from PMSR
618d78622811 arm64: asid: Do not replace active_asids if already 0
a257594a30d3 gpio: label descriptors using the device name
b2b11aebe49e crypto: crypto4xx - perform aead icv check in the driver
56d3fab6bc64 vfb: fix video mode and line_length being set when loaded
7f12c3f9eec6 mac80211: Fix setting TX power on monitor interfaces
110909d7a0c9 ACPI: EC: Fix debugfs_create_*() usage
03e965ebd983 irqchip/gic-v3: Fix the driver probe() fail due to disabled GICC entry
c97d465daddd irqchip/ompic: fix return value check in ompic_of_init()
f885f0701f6d scsi: mpt3sas: Proper handling of set/clear of "ATA command pending" flag.
f212235717ed scsi: libiscsi: Allow sd_shutdown on bad transport
f4fecf24ae66 RDMA/hns: Update the usage of sr_max and rr_max field
311b60b294b4 spi: sh-msiof: Fix timeout failures for TX-only DMA transfers
902dae240b4a IB/ipoib: Fix for notify send CQ failure messages
3ca14535c781 drm/msm: Fix NULL deref in adreno_load_gpu
70a6a6877a88 ASoC: Intel: cht_bsw_rt5645: Analog Mic support
df85cc29794a ASoC: Intel: Skylake: Disable clock gating during firmware and library download
4577c7f85eda media: videobuf2-core: don't go out of the buffer range
a8d3eea33c25 clk: sunxi-ng: a83t: Add M divider to TCON1 clock
e0870e5401ee f2fs: fix lock dependency in between dio_rwsem & i_mmap_sem
bde6301dbf14 hwmon: (ina2xx) Make calibration register value fixed
2bddcdd33e3a RDMA/cma: Mark end of CMA ID messages
7f0880203e52 thermal/drivers/hisi: Remove bogus const from function return type
a696e385ac75 selftests/net: fix bugs in address and port initialization
abf63e3cb1a8 net_sch: red: Fix the new offload indication
ffc544a91a0f gpiolib: don't dereference a desc before validation
ebc5545383f7 PM / devfreq: Fix potential NULL pointer dereference in governor_store
34e1b76c57d0 clk: divider: fix incorrect usage of container_of
5218e11fbd2f watchdog: dw_wdt: add stop watchdog operation
3a0289a45385 VFS: close race between getcwd() and d_move()
827fe75987f1 IB/mlx5: Report inner RSS capability
b644c41acce1 net/mlx4_en: Change default QoS settings
965736ee654d ACPI / video: Default lcd_only to true on Win8-ready and newer machines
ce6b782c6f38 rds; Reset rs->rs_bound_addr in rds_add_bound() failure path
e78a6e9aee5b l2tp: fix missing print session offset info
d8ffa7dfceb5 net: hns3: add Asym Pause support to phy default features
353900b83514 net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg
4edd8be70f11 net: hns3: free the ring_data structrue when change tqps
295c02ce3322 perf evsel: Enable ignore_missing_thread for pid option
88d7e9f141c3 perf evsel: Fix swap for samples with raw data
9ab8894f195d perf probe: Add warning message if there is unexpected event name
ef0fa7a1ec6e perf probe: Find versioned symbols from map
2dffefdf975a thermal: power_allocator: fix one race condition issue for thermal_instances list
4dfb698be2a5 ipv6: Reinject IPv6 packets if IPsec policy matches after SNAT
542f2cc70fe6 Bluetooth: Add a new 04ca:3015 QCA_ROME device
7ee903fb3a1b ARM: dts: ls1021a: add "fsl,ls1021a-esdhc" compatible string to esdhc node
9f8a75a2299e clk: meson: mpll: use 64-bit maths in params_from_rate
be7835d54626 i40iw: Validate correct IRD/ORD connection parameters
551ace11e153 i40iw: Correct Q1/XF object count equation
c2f3d4bf8e4b i40iw: Fix sequence number for the first partial FPDU
49859d3c5536 Linux 4.15.16
b36c97615b98 Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
f4c360885236 Revert "cpufreq: Fix governor module removal race"
2dae6069c488 Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
0dd269e2a25b Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
657fda9505c8 Fix slab name "biovec-(1<<(21-12))"
8282afd8abee net: hns: Fix ethtool private flags
84c68b621e90 ARM: dts: DRA76-EVM: Set powerhold property for tps65917
3d07d9f2eebb vt: change SGR 21 to follow the standards
48eaa5be295c Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
fd50992f99c2 Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
ec46704f08e8 Input: ALPS - fix TrackStick detection on Thinkpad L570 and Latitude 7370
9abdc666b793 Revert "base: arch_topology: fix section mismatch build warnings"
f1fcba111d9e staging: comedi: ni_mio_common: ack ai fifo error interrupts.
21f07630e75f Btrfs: fix unexpected cow in run_delalloc_nocow
e847da275f04 crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
860783c283c8 crypto: arm,arm64 - Fix random regeneration of S_shipped
493601f76734 crypto: ccp - return an actual key size from RSA max_size callback
7abca04ef3a0 crypto: caam - Fix null dereference at error path
48b9d82caba8 crypto: ahash - Fix early termination in hash walk
4010d75d2eb4 crypto: talitos - fix IPsec cipher in length
05c93fe33f94 crypto: testmgr - Fix incorrect values in PKCS#1 test vector
c3c97a9f2f52 crypto: inside-secure - fix clock management
7bc247d1fd68 crypto: talitos - don't persistently map req_ctx->hw_context and req_ctx->buf
27036ade0732 crypto: lrw - Free rctx->ext with kzfree
5afddba2aaae parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
39fd6d094397 media: usbtv: prevent double free in error case
9b664c6a9f68 /dev/mem: Avoid overwriting "err" in read_mem()
3cde7e2ccec6 mei: remove dev_err message on an unsupported ioctl
29361c257631 serial: 8250: Add Nuvoton NPCM UART
ffed9ae46844 USB: serial: cp210x: add ELDAT Easywave RX09 id
b8541b3dc59c USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
6693f178c9ab USB: serial: ftdi_sio: add RT Systems VX-8 cable
b5abde6ca2d2 bitmap: fix memset optimization on big-endian systems
7b2dcf7cc456 drm/i915/dp: Write to SET_POWER dpcd to enable MST hub.
886125faf5d1 Bluetooth: Fix missing encryption refresh on Security Request
8f723a276a4d phy: qcom-ufs: add MODULE_LICENSE tag
a192706b71fa netfilter: x_tables: add and use xt_check_proc_name
7ab7e3e2a0d4 netfilter: drop template ct when conntrack is skipped.
c16c62bb4d9f l2tp: fix races with ipv4-mapped ipv6 addresses
dd19573992b5 netfilter: bridge: ebt_among: add more missing match size checks
8f4ed22f6b5e netfilter: x_tables: make allocation less aggressive
5bb3f4acc8aa percpu: add __GFP_NORETRY semantics to the percpu balancing path
c7f2bd1850a8 xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
94f84ba56f3d net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
e13d781171fb ipv6: fix possible deadlock in rt6_age_examine_exception()
b2bf2cb68880 RDMA/ucma: Introduce safer rdma_addr_size() variants
f55b41ce03a7 RDMA/ucma: Check that device exists prior to accessing it
c0cbbca14176 RDMA/ucma: Check that device is connected prior to access it
c88aaa5ab28a RDMA/rdma_cm: Fix use after free race with process_one_req
5eb56dd0ba03 RDMA/ucma: Ensure that CM_ID exists prior to access it
0b17ac3f080d RDMA/ucma: Fix use-after-free access in ucma_close
a6474d6ef156 RDMA/ucma: Check AF family prior resolving address
7df65ad1d45a xfrm_user: uncoditionally validate esn replay attribute struct
abb971a27ed5 partitions/msdos: Unable to mount UFS 44bsd partitions
cc842a34bfb2 powerpc/64s: Fix i-side SLB miss bad address handler saving nonvolatile GPRs
f8e68e8f8db5 powerpc/64s: Fix lost pending interrupt due to race causing lost update to irq_happened
5c0b4a907396 powerpc/mm: Workaround Nest MMU bug with TLB invalidations
d657375f3616 powerpc/mm: Add tracking of the number of coprocessors using a context
b61312ebb1c9 i2c: i2c-stm32f7: fix no check on returned setup
19254443adf9 ipc/shm.c: add split function to shm_vm_ops
f2fb59601631 ceph: only dirty ITER_IOVEC pages for direct read
9b5b7c382e11 perf/hwbp: Simplify the perf-hwbp code, fix documentation
a408b211f579 x86/platform/uv/BAU: Add APIC idt entry
740aa1579526 ALSA: pcm: potential uninitialized return values
4321a749661b ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
5891c83b01ad ALSA: usb-audio: Add native DSD support for TEAC UD-301
6aa2e5ddc3cd mtd: nand: atmel: Fix get_sectorsize() function
e80deb59802c mtd: jedec_probe: Fix crash in jedec_read_mfr()
26692e9a0aaf ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
acc7f0201fc3 ARM: dts: sun6i: a31s: bpi-m2: improve pmic properties
955901702381 ARM: 8746/1: vfp: Go back to clearing vfp_current_hw_state[]
37496fe93169 ARM: OMAP: Fix SRAM W+X mapping
ae0a11b2bd33 Linux 4.15.15
ab58638491e1 team: Fix double free in error path
a21aaaf921ab skbuff: Fix not waking applications when errors are enqueued
0a5c5886c3b4 qede: Fix qedr link update
71aa561fa21b net: systemport: Rewrite __bcm_sysport_tx_reclaim()
347de2ecf61b net: Only honor ifindex in IP_PKTINFO if non-0
ffa24344d004 netlink: avoid a double skb free in genlmsg_mcast()
b471f6727288 net/iucv: Free memory obtained by kzalloc
24f6021c26ef net: fec: Fix unbalanced PM runtime calls
fbc1ee88e866 net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface
41d133c01d20 net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
8e903f508390 l2tp: do not accept arbitrary sockets
f1c344162052 ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
5df0f40809d4 dccp: check sk for closed state in dccp_sendmsg()
01a82ba817fc dpaa_eth: remove duplicate increment of the tx_errors counter
8e84c72fe1b7 dpaa_eth: increment the RX dropped counter when needed
d50884855ed0 dpaa_eth: remove duplicate initialization
e9b0efd5940c dpaa_eth: fix error in dpaa_remove()
5b10a404419f soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
2a00d08da9ff s390/qeth: on channel error, reject further cmd requests
e992c8b81cd0 s390/qeth: lock read device while queueing next buffer
4b6cd4820c66 s390/qeth: when thread completes, wake up all waiters
657a7148bd4b s390/qeth: free netdevice when removing a card
aac53ed860ee net: Fix hlist corruptions in inet_evict_bucket()
5eb1b63557d8 net: use skb_to_full_sk() in skb_update_prio()
7d7d04a6e6d5 ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
a69b268ae27d sch_netem: fix skb leak in netem_enqueue()
b6b64dea97e0 kcm: lock lower socket in kcm_attach
b1bb7e6aa293 test_rhashtable: add test case for rhltable with duplicate objects
93589a0ae7e7 rhashtable: Fix rhlist duplicates insertion
8b24af17d5fc ppp: avoid loop in xmit recursion detection code
a1209e98ff49 net sched actions: return explicit error when tunnel_key mode is not specified
37c446138df8 ipv6: Reflect MTU changes on PMTU of exceptions for MTU-less routes
9401d455a739 net: phy: Tell caller result of phy_change()
33dcdffc31e5 mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
af1ba7e5e0cd ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state
68e01f404461 ipv6: sr: fix NULL pointer dereference when setting encap source address
7340d647447f ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
812cb9e2340d net: ipv6: keep sk status consistent after datagram connect failure
f09036d3d61c macvlan: filter out unsupported feature flags
2076d28a639e devlink: Remove redundant free on error path
9c94855066d3 net: phy: relax error checking when creating sysfs link netdev->phydev
956c93369149 sysfs: symlink: export sysfs_create_link_nowarn()
986468a18f78 qed: Fix non TCP packets should be dropped on iWARP ll2 connection
960058fe1963 tcp: purge write queue upon aborting the connection
10849a12c052 qed: Fix MPA unalign flow in case header is split across two packets.
cce2b12ee5af openvswitch: meter: fix the incorrect calculation of max delta_t
1759a5455f7d net: dsa: Fix dsa_is_user_port() test inversion
0ba3b3aac901 Linux 4.15.14
9c5ee9934c90 bpf, x64: increase number of passes
18a9e4d888d6 bpf: skip unnecessary capability check
700082a54165 kbuild: disable clang's default use of -fmerge-all-constants
c7674a71bc38 staging: android: ion: Zero CMA allocated memory
e8689b8bbae9 iio: imu: st_lsm6dsx: introduce conf_lock mutex
0757dce21913 iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot()
b7a6e26b331d iio: ABI: Fix name of timestamp sysfs file
b844443b8e89 perf/x86/intel/uncore: Fix multi-domain PCI CHA enumeration bug on Skylake servers
190e67640d20 perf/x86/intel: Don't accidentally clear high bits in bdw_limit_period()
a002966e849b trace/bpf: remove helper bpf_perf_prog_read_value from tracepoint type programs
e623ff1aceff perf/core: Fix ctx_event_type in ctx_resched()
f736f6560e04 perf stat: Fix CVS output format for non-supported counters
b42e3e521999 perf/x86/intel/uncore: Fix Skylake UPI event format
7d4e27d30070 hwmon: (k10temp) Add temperature offset for Ryzen 1900X
1a0d6102cd02 hwmon: (k10temp) Only apply temperature offset if result is positive
591b6ad1ddbc x86/boot/64: Verify alignment of the LOAD segment
b3d1a5bc0e47 x86/build/64: Force the linker to use 2MB page size
8c42170a40fb kvm/x86: fix icebp instruction handling
ab26ea17a6dc posix-timers: Protect posix clock array access against speculation
cd7abf600406 x86/efi: Free efi_pgd with free_pages()
279ebed98bb2 x86/vsyscall/64: Use proper accessor to update P4D entry
1e4ed1727e2a selftests/x86/ptrace_syscall: Fix for yet more glibc interference
69a71b6b418c x86/entry/64: Don't use IST entry for #BP stack
64c98ba6ddb5 tty: vt: fix up tabstops properly
dfde88160d7b can: cc770: Fix use after free in cc770_tx_interrupt()
89fc6c01aae9 can: cc770: Fix queue stall & dropped RTR reply
f543d85120e1 can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
f29397c91e05 can: ifi: Check core revision upon probe
717885b66fb8 can: ifi: Repair the error handling
4f39b4fd443c can: peak/pcie_fd: remove useless code when interface starts
054317e751c7 can: peak/pcie_fd: fix echo_skb is occupied! bug
9a6730ae707b staging: ncpfs: memory corruption in ncp_read_kernel()
7b6f657ad598 mtd: nand: fsl_ifc: Read ECCSTAT0 and ECCSTAT1 registers for IFC 2.0
7cc7ee831a35 mtd: nand: fsl_ifc: Fix eccstat array overflow for IFC ver >= 2.0.0
1d65c538a1e1 mtd: nand: fsl_ifc: Fix nand waitfunc return value
a49c7c336348 mtdchar: fix usage of mtd_ooblayout_ecc()
9b474cd0749d tracing: probeevent: Fix to support minus offset from symbol
d2e051d5d636 rtlwifi: rtl8723be: Fix loss of signal
8c210a84ed36 brcmfmac: fix P2P_DEVICE ethernet address generation
6b7ece4accf1 libnvdimm, {btt, blk}: do integrity setup before add_disk()
0cb158fadfd5 ACPI / watchdog: Fix off-by-one error at resource assignment
b0b2d4f74b72 acpi, numa: fix pxm to online numa node associations
517f745e5e64 module: propagate error in modules_open()
c8f7955b5493 mm/vmscan: wake up flushers for legacy cgroups too
01592437b0ec drm: udl: Properly check framebuffer mmap offsets
1554edbbb723 drm: Reject getfb for multi-plane framebuffers
f6b53a429e65 drm/amd/display: Add one to EDID's audio channel count when passing to DC
fa81f6281879 drm/amd/display: We shouldn't set format_default on plane as atomic driver
19f2fd88d999 drm/radeon: Don't turn off DP sink when disconnected
5001c04d08bb drm/vmwgfx: Fix a destoy-while-held mutex problem.
b7c3cc858b02 drm/vmwgfx: Fix black screen and device errors when running without fbdev
f981611c4ae3 Revert "mm: page_alloc: skip over regions of invalid pfns where possible"
d3d155da63b9 mm/shmem: do not wait for lock_page() in shmem_unused_huge_shrink()
29c11d86b74f mm/thp: do not wait for lock_page() in deferred_split_scan()
babe10f62b6b mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
63da3be586bb x86/mm: implement free pmd/pte page interfaces
0454e2fad930 mm/vmalloc: add interfaces to free unmapped page table
6104f7df1e22 h8300: remove extraneous __BIG_ENDIAN definition
e0fdb5385c4b hugetlbfs: check for pgoff value overflow
2800f9c188c7 media: tegra-cec: reset rx_buf_cnt when start bit detected
0f44e9da465e nfsd: remove blocked locks on client teardown
401c02d7c9b5 cgroup: fix rule checking for threaded mode switching
6823e0efcb01 sched, cgroup: Don't reject lower cpu.max on ancestors
aa0832d01611 libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
85fd780b26aa libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
a3121f28e584 libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
a51206d6a1c3 libata: Enable queued TRIM for Samsung SSD 860
2cd5b672744b libata: disable LPM for Crucial BX100 SSD 500GB drive
3c23829899da libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
0f849a36c2c3 libata: don't try to pass through NCQ commands to non-NCQ devices
25af1a9219d6 libata: remove WARN() for DMA or PIO command without data
b679d0e7d685 libata: fix length validation of ATAPI-relayed SCSI commands
7ec32f585fef Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174
a7f0ce743bfe Bluetooth: btusb: Add Dell OptiPlex 3060 to btusb_needs_reset_resume_table
ee1195515988 Bluetooth: btusb: Remove Yoga 920 from the btusb_needs_reset_resume_table
6c927e37a857 pinctrl: samsung: Validate alias coming from DT
98bb0e40fa7f Drivers: hv: vmbus: Fix ring buffer signaling
8fe98b2177a9 RDMA/mlx5: Fix crash while accessing garbage pointer and freed memory
808176cd9eeb clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops
c3c66b380218 clk: bcm2835: Protect sections updating shared registers
318078995410 clk: bcm2835: Fix ana->maskX definitions
cb5cfed66ebc lockdep: fix fs_reclaim warning
b5f2a5c3c09c ahci: Add PCI-id for the Highpoint Rocketraid 644L card
23a6254a4ddf PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
5b863a4deb8b mmc: dw_mmc: fix falling from idmac to PIO mode when dw_mci_reset occurs
8049c2c413da mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
b4a2de90aeb6 mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for 32-bit systems
40888f31f9cf mmc: block: fix updating ext_csd caches on ioctl call
836b7527a839 mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
1e0ca4f53915 mmc: core: Fix tracepoint print of blk_addr and blksz
b49428a00020 ALSA: hda/realtek - Always immediately update mute LED with pin VREF
291bebca94a0 ALSA: hda/realtek - Fix Dell headset Mic can't record
953434bdd33e ALSA: hda/realtek - Fix speaker no sound after system resume
1082b81751dd ALSA: hda - Force polling mode on CFL for fixing codec communication
33cc51d03b60 ALSA: aloop: Fix access to not-yet-ready substream via cable
66ef51a5c402 ALSA: aloop: Sync stale timer before release
771782b6fb94 ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
32e6d1ee98ab iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
e1db7d19c6fa iio: st_pressure: st_accel: pass correct platform data to init
805a995cb8a3 iio: chemical: ccs811: Corrected firmware boot/application mode transition
f047d3d7f86d MIPS: lantiq: ase: Enable MFD_SYSCON
ea8cbb7cc71b MIPS: lantiq: Enable AHB Bus for USB
6b26df694632 MIPS: lantiq: Fix Danube USB clock
2dcbf520510c MIPS: ralink: Fix booting on MT7621
fb43da3ac012 MIPS: ralink: Remove ralink_halt()
(From OE-Core rev: 7dd52d9e39109d8b24227163857595f17be16f4d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases for 4.14, which comprise the
following commits:
fc72a4171174 Linux 4.14.40
27f29dbceb3c tracing: Fix bad use of igrab in trace_uprobe.c
d86aaca9cea2 irqchip/qcom: Fix check for spurious interrupts
bd2088d1d77a platform/x86: asus-wireless: Fix NULL pointer dereference
87fa7da673b4 usb: musb: trace: fix NULL pointer dereference in musb_g_tx()
303e99bde8dc usb: musb: host: fix potential NULL pointer dereference
ec6de93fab50 USB: serial: option: adding support for ublox R410M
3f0c247910d0 USB: serial: option: reimplement interface masking
0e548f5abae9 USB: Accept bulk endpoints with 1024-byte maxpacket
425a02545d5e usb: dwc3: gadget: Fix list_del corruption in dwc3_ep_dequeue
0cc49bb627ad USB: serial: visor: handle potential invalid device configuration
0799a0ea96e4 errseq: Always report a writeback error once
b4f6e858433e test_firmware: fix setting old custom fw path back on exit, second try
43b3ba6ece54 drm/bridge: vga-dac: Fix edid memory leak
df9703e7e72a drm/vmwgfx: Fix a buffer object leak
758f3340b803 iw_cxgb4: Atomically flush per QP HW CQEs
d7683a5c8c94 IB/hfi1: Fix NULL pointer dereference when invalid num_vls is used
79181a45aa9a IB/hfi1: Fix loss of BECN with AHG
7f185bc79bb9 IB/hfi1: Fix handling of FECN marked multicast packet
b5ebbbc72671 IB/mlx5: Use unlimited rate when static rate is not supported
a27293f2f6e1 NET: usb: qmi_wwan: add support for ublox R410M PID 0x90b2
14ad51557092 RDMA/mlx5: Protect from shift operand overflow
be855252ebce RDMA/mlx5: Fix multiple NULL-ptr deref errors in rereg_mr flow
3ae1bf368135 RDMA/ucma: Allow resolving address w/o specifying source address
38a65e753503 RDMA/cxgb4: release hw resources on device removal
bd9ca962eeb0 xfs: prevent creating negative-sized file via INSERT_RANGE
b68c7af0b2e7 rtlwifi: cleanup 8723be ant_sel definition
fcd835be6c17 rtlwifi: btcoex: Add power_on_setting routine
10579ed39e20 Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook Pro
894937021946 Input: leds - fix out of bound access
2c698f7b169a scsi: target: Fix fortify_panic kernel exception
f4438b15755e tracepoint: Do not warn on ENOMEM
bd0e2aec5686 ALSA: aloop: Add missing cable lock to ctl API callbacks
4e3460ae33c6 ALSA: aloop: Mark paused device as inactive
9581fff37b1a ALSA: dice: fix kernel NULL pointer dereference due to invalid calculation for array index
dfe7f043bcfc ALSA: seq: Fix races at MIDI encoding in snd_virmidi_output_trigger()
e5e9a770cec2 ALSA: pcm: Check PCM state at xfern compat ioctl
5f6e6d063ac1 ALSA: hda - Fix incorrect usage of IS_REACHABLE()
c1e76c30079d USB: serial: option: Add support for Quectel EP06
c8a622ed9e53 ACPI / button: make module loadable when booted in non-ACPI mode
63d9df9eb7a5 crypto: talitos - fix IPsec cipher in length
e9caf1e1d5d4 percpu: include linux/sched.h for cond_resched()
6a3c946b205f net: don't call update_pmtu unconditionally
3a928a262c1c geneve: update skb dst pmtu on tx path
7d6240f0fb85 Linux 4.14.39
7fddff51f245 powerpc/eeh: Fix race with driver un/bind
e5a290c4ff77 arm/arm64: KVM: Add PSCI version selection API
a2066aa76a7a tick/sched: Do not mess with an enqueued hrtimer
922e5129eb01 x86/microcode: Do not exit early from __reload_late()
7c6bcaac737f x86/microcode/intel: Save microcode patch unconditionally
b319531024d9 x86/smpboot: Don't use mwait_play_dead() on AMD systems
ce911a5b1fea x86/ipc: Fix x32 version of shmid64_ds and msqid64_ds
8e99c881e497 tools/lib/subcmd/pager.c: do not alias select() params
d1f1f7771a6a objtool, perf: Fix GCC 8 -Wrestrict error
bf1d7023c901 drm/i915: Enable display WA#1183 from its correct spot
559121f5a165 drm/amdgpu: set COMPUTE_PGM_RSRC1 for SGPR/VGPR clearing shaders
79340bda01ab rtc: opal: Fix OPAL RTC driver OPAL_BUSY loops
20b0f757da3b cpufreq: powernv: Fix hardlockup due to synchronous smp_call in timer interrupt
3a5465d0b61d earlycon: Use a pointer table to fix __earlycon_table stride
9922fd0c681f fpga-manager: altera-ps-spi: preserve nCONFIG state
7563d6f2be58 libceph: validate con->state at the top of try_write()
c2bc3eb5599f libceph: reschedule a tick in finish_hunting()
76f7b52b5bf0 libceph: un-backoff on tick when we have a authenticated session
b02bbcce8ea3 ASoC: fsl_esai: Fix divisor calculation failure at lower ratio
674d38ea1850 crypto: drbg - set freed buffers to NULL
a32a944a60c8 powerpc/powernv/npu: Do a PID GPU TLB flush when invalidating a large address range
f2acc8dc0644 powerpc/mm: Flush cache on memory hot(un)plug
5a5ea3401799 KVM: arm/arm64: Close VMID generation race
0ddb53a67cbd ARM: socfpga_defconfig: Remove QSPI Sector 4K size force
f671ee8de31a ARM: amba: Don't read past the end of sysfs "driver_override" buffer
23abff7b984f ARM: amba: Fix race condition with driver_override
bcd73c772ec1 ARM: amba: Make driver_override output consistent with other buses
1a6e0a900bce PCI: aardvark: Fix PCIe Max Read Request Size setting
6b3751e249ff PCI: aardvark: Use ISR1 instead of ISR0 interrupt in legacy irq mode
f0ae21a86eb5 PCI: aardvark: Set PIO_ADDR_LS correctly in advk_pcie_rd_conf()
e90b89088a10 PCI: aardvark: Fix logic in advk_pcie_{rd,wr}_conf()
fd0485e2cc7b ANDROID: binder: prevent transactions into own process.
bddabeb71f3f vfio: ccw: process ssch with interrupts disabled
be10336a9072 bfq-iosched: ensure to clear bic/bfqq pointers when preparing request
b23b4174275d scsi: sd: Defer spinning up drive while SANITIZE is in progress
a5f4276787d6 kobject: don't use WARN for registration failures
6840b774dc4d mtd: rawnand: tango: Fix struct clk memory leak
f69cd2d30a80 mtd: cfi: cmdset_0002: Do not allow read/write to suspend erase block.
204e0761846b mtd: cfi: cmdset_0001: Workaround Micron Erase suspend bug.
1de1ad0c2c42 mtd: cfi: cmdset_0001: Do not allow read/write to suspend erase block.
6c677c5968aa mtd: spi-nor: cadence-quadspi: Fix page fault kernel panic
3d4612bf62c8 ALSA: hda/realtek - change the location for one of two front mics
53c4197a2d7e ALSA: hda/realtek - Update ALC255 depop optimize
c9df23efe5cc ALSA: hda/realtek - Add some fixes for ALC233
d680a34d82b6 ALSA: hda: Hardening for potential Spectre v1
bda3aba8c0a1 ALSA: seq: oss: Hardening for potential Spectre v1
4a52a2127240 ALSA: seq: oss: Fix unbalanced use lock for synth MIDI device
30ddc329d562 ALSA: core: Report audio_tstamp in snd_pcm_sync_ptr
00e0495d8327 ALSA: pcm: Return negative delays from SNDRV_PCM_IOCTL_DELAY.
6ab1a94d17db ALSA: control: Hardening for potential Spectre v1
9d57d45965dd ALSA: rme9652: Hardening for potential Spectre v1
f8616ffbb78d ALSA: hdspm: Hardening for potential Spectre v1
8f1705268fd2 ALSA: asihpi: Hardening for potential Spectre v1
b67a05364e5d ALSA: opl3: Hardening for potential Spectre v1
19baecfc1105 ALSA: hda - Skip jack and others for non-existing PCM streams
d03fbe62e173 ALSA: dice: fix error path to destroy initialized stream data
ba9c9886a40d ALSA: dice: fix OUI for TC group
545906124041 tty: Use __GFP_NOFAIL for tty_ldisc_get()
877f418171af tty: Avoid possible error pointer dereference at tty_ldisc_restore().
6a50af86a62b tty: n_gsm: Fix DLCI handling for ADM mode if debug & 2 is not set
6ba9a47d1fc5 tty: n_gsm: Fix long delays with control frame timeouts in ADM mode
4854b9665c81 tty: Don't call panic() at tty_ldisc_init()
c0ed8ece4ef3 drm/virtio: fix vq wait_event condition
998d43ce034b virtio_console: reset on out of memory
e9287108acce virtio_console: move removal code
75fc6f2d39bf virtio_console: drop custom control queue cleanup
6b1c41a0f718 virtio_console: free buffers after reset
4217a339b37d virtio_console: don't tie bufs to a vq
7ae93ff136a0 virtio: add ability to iterate over vqs
cf7405f67543 ALSA: usb-audio: Skip broken EU on Dell dock USB-audio
e6d2055ba32f USB: Increment wakeup count on remote wakeup.
c59dc4d13519 usb: core: Add quirk for HP v222w 16GB Mini
333909311d70 usb: typec: ucsi: Increase command completion timeout value
f310eb70657e USB: serial: cp210x: add ID for NI USB serial console
747120e77100 USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster
8f30aa32b716 USB: serial: simple: add libtransistor console
0b932b1ca9da xhci: Fix USB ports for Dell Inspiron 5775
64abd2428e54 Revert "xhci: plat: Register shutdown for xhci_plat"
b792b1f7d01c usbip: vhci_hcd: check rhport before using in vhci_hub_control()
4abe5b775a16 usbip: vhci_hcd: Fix usb device and sockfd leaks
944edaf13dee usbip: usbip_host: fix to hold parent lock for device_attach() calls
470bf16ae1ab usbip: usbip_event: fix to not print kernel pointer address
76dbabb38a18 random: rate limit unseeded randomness warnings
ffc5b50a2b53 random: fix possible sleeping allocation from irq context
812b51a63000 random: set up the NUMA crng instances after the CRNG is fully initialized
ae0db58dabe5 ext4: fix bitmap position validation
b39430ea0687 ext4: add validity checks for bitmap block numbers
55cc3bb0a6c7 ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs
4a3674acbf8b ext4: set h_journal if there is a failure starting a reserved handle
1a538cb0879d ext4: prevent right-shifting extents beyond EXT_MAX_BLOCKS
a87463f7420c Linux 4.14.38
3e4915873cff ACPI / video: Only default only_lcd to true on Win8-ready _desktops_
c371fe019001 s390/uprobes: implement arch_uretprobe_is_alive()
5dad51054d8a s390/dasd: fix IO error for newly defined devices
3b5c2e1d163a s390/cio: update chpid descriptor after resource accessibility event
a75bf6f71744 tracing: Fix missing tab for hwlat_detector print format
d82923c017de block/swim: Fix IO error at end of medium
06dc2e919593 block/swim: Fix array bounds check
8c37ac3c04e7 block/swim: Select appropriate drive on device open
cdb0d5fa2528 block/swim: Rename macros to avoid inconsistent inverted logic
f359e87feb88 block/swim: Remove extra put_disk() call from error path
b7100feb26d2 block/swim: Don't log an error message for an invalid ioctl
0dd9146a2291 block/swim: Check drive type
43f8a4f2c8b2 m68k/mac: Don't remap SWIM MMIO region
75b98294e09a fsnotify: Fix fsnotify_mark_connector race
68c09d548bfc cdrom: information leak in cdrom_ioctl_media_changed()
f4df47e36ac0 scsi: mptsas: Disable WRITE SAME
77df079be9b4 commoncap: Handle memory allocation failure.
540e7b5be492 Revert "mm/hmm: fix header file if/else/endif maze"
a252b9732243 arm64: dts: rockchip: remove vdd_log from rk3399-puma
fcc347bc1e34 microblaze: Setup dependencies for ASM optimized lib functions
5787b55b5019 s390: correct module section names for expoline code revert
f836b34fb056 s390: correct nospec auto detection init order
fce1bf054f0b s390: add sysfs attributes for spectre
68cb884e1228 s390: report spectre mitigation via syslog
719b84c9aec2 s390: add automatic detection of the spectre defense
ea1bbd53f055 s390: move nobp parameter functions to nospec-branch.c
6cdc4b21d219 s390/entry.S: fix spurious zeroing of r0
74a93ae5c328 s390: do not bypass BPENTER for interrupt system calls
6288e169a25e s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)
1d966a6aded3 KVM: s390: force bp isolation for VSIE
b609eb65f315 s390: introduce execute-trampolines for branches
0bd4c47c2026 s390: run user space and KVM guests with modified branch prediction
43cccd87c184 s390: add options to change branch prediction behaviour for the kernel
c257f81b6d45 s390/alternative: use a copy of the facility bit mask
2ae89b86a77f s390: add optimized array_index_mask_nospec
2ae8b68382ce s390: scrub registers on kernel entry and KVM exit
ea5566fecd03 KVM: s390: wire up bpb feature
37e79747128b s390: enable CPU alternatives unconditionally
b44533a06fd8 s390: introduce CPU alternatives
55c80adf0d0e virtio_net: fix adding vids on big-endian
d86aacaaf9d2 virtio_net: split out ctrl buffer
16c36a2c7632 net: ethernet: ti: cpsw: fix tx vlan priority mapping
7814c479de7a llc: fix NULL pointer deref for SOCK_ZAPPED
543a60112f01 llc: hold llc_sap before release_sock()
4c2c574cf6ed net: sched: ife: check on metadata length
388f3d9708fc net: sched: ife: handle malformed tlv length
75020d6319ee tcp: clear tp->packets_out when purging write queue
da499024f6fe net: sched: ife: signal not finding metaid
2f781ebfb08f strparser: Fix incorrect strp->need_bytes value.
109feb04c851 amd-xgbe: Only use the SFP supported transceiver signals
9a66123182a6 strparser: Do not call mod_delayed_work with a timeout of LONG_MAX
346ba2f22107 amd-xgbe: Improve KR auto-negotiation and training
29b623b60549 sctp: do not check port in sctp_inet6_cmp_addr
f42036e8051e amd-xgbe: Add pre/post auto-negotiation phy hooks
dd997151740f vlan: Fix reading memory beyond skb->tail in skb_vlan_tagged_multi
88b7895e7c6d pppoe: check sockaddr length in pppoe_connect()
ed2ba25f6d50 tipc: add policy for TIPC_NLA_NET_ADDR
6da813d79cfa packet: fix bitfield update race
70a615d7daa0 team: fix netconsole setup over team
07cb0b54d7d9 net/smc: fix shutdown in state SMC_LISTEN
7b4f4d759c8e team: avoid adding twice the same option to the event list
012e5e5b6991 net: fix deadlock while clearing neighbor proxy table
d5387e66388f tcp: md5: reject TCP_MD5SIG or TCP_MD5SIG_EXT on established sockets
7c2352520e51 net: af_packet: fix race in PACKET_{R|T}X_RING
b76d3f3309cf tcp: don't read out-of-bounds opsize
cb225e80c9a3 llc: delete timers synchronously in llc_sk_free()
15efa783286c net: validate attribute sizes in neigh_dump_table()
dbf57fd1e05e l2tp: check sockaddr length in pppol2tp_connect()
c7a936b1dd0f KEYS: DNS: limit the length of option strings
a370d8a3aaf2 ipv6: sr: fix NULL pointer dereference in seg6_do_srh_encap()- v4 pkts
8d34c6773459 ipv6: add RTA_TABLE and RTA_PREFSRC to rtm_ipv6_policy
e0286ea0846c bonding: do not set slave_dev npinfo before slave_enable_netpoll in bond_enslave
5f50186dd810 Revert "ath10k: send (re)assoc peer command when NSS changed"
781eeb7af2bd tpm: add retry logic
f6891ec29c59 tpm: tpm-interface: fix tpm_transmit/_cmd kdoc
ac5881b7814d tpm: cmd_ready command can be issued only after granting locality
3b38734ed9fe i40e: Fix attach VF to VM issue
00c54b354411 drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs
94c0308279ec Revert "pinctrl: intel: Initialize GPIO properly when used through irqchip"
753be7e83bb8 Linux 4.14.37
f606893fbbc6 mac80211_hwsim: fix use-after-free bug in hwsim_exit_net
679833ea1822 Revert "KVM: X86: Fix SMRAM accessing even if VM is shutdown"
75dceb6872b3 RDMA/mlx5: Fix NULL dereference while accessing XRC_TGT QPs
01e71c218219 perf: Return proper values for user stack errors
66038084560d perf: Fix sample_max_stack maximum check
5bcf16944454 netfilter: x_tables: limit allocation requests for blob rule heads
764f2162d97a netfilter: compat: reject huge allocation requests
8d92d5336539 netfilter: compat: prepare xt_compat_init_offsets to return errors
82b68ecde5d0 netfilter: x_tables: add counters allocation wrapper
fab0b3ce67a5 netfilter: x_tables: cap allocations at 512 mbyte
89f3232c394e alarmtimer: Init nanosleep alarm timer on stack
76cd54fa70ce RDMA/core: Reduce poll batch for direct cq polling
de16dfcc510d irqchip/gic-v3: Change pr_debug message to pr_devel
4032cd4fd3ae cpumask: Make for_each_cpu_wrap() available on UP as well
c834b955d3f0 irqchip/gic-v3: Ignore disabled ITS nodes
2d8d8d23c485 perf test: Fix test trace+probe_libc_inet_pton.sh for s390x
74cd9414788c powerpc/powernv: IMC fix out of bounds memory access at shutdown
c74e004c6273 locking/qspinlock: Ensure node->count is updated before initialising node
5350cb0111d2 x86/platform/UV: Fix GAM Range Table entries less than 1GB
288b373264c5 powerpc/mm/hash64: Zero PGD pages on allocation
f4d6e4598a29 vfs/proc/kcore, x86/mm/kcore: Fix SMAP fault when dumping vsyscall user page
c064b7c1d203 PM / wakeirq: Fix unbalanced IRQ enable for wakeirq
afa0ce071488 ACPI / EC: Restore polling during noirq suspend/resume phases
85bd5c686fe9 bpf: fix rlimit in reuseport net selftest
ee5fe4bdcf2a net: stmmac: discard disabled flags in interrupt status register
26bebd5a7865 SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible context
f58e4ecb9b2e KVM: PPC: Book3S HV: Fix handling of secondary HPTEG in HPT resizing code
d6b00490a04d tools/libbpf: handle issues with bpf ELF objects containing .eh_frames
327aac8ccbc5 net: Extra '_get' in declaration of arch_get_platform_mac_address
0b1fa241dd86 svcrdma: Fix Read chunk round-up
e781fff7b78f rxrpc: Don't put crypto buffers on the stack
c5ce9e5b57cc selftests/ftrace: Add some missing glob checks
ae9c78af577f cpufreq: intel_pstate: Enable HWP during system resume on CPU0
c4c9fd55899f bcache: return attach error when no cache set exist
4c8e0270dc7a bcache: fix for data collapse after re-attaching an attached device
311e31419b72 bcache: fix for allocator and register thread race
f89edd17aff4 bcache: properly set task state in bch_writeback_thread()
05921c492fdb cifs: silence compiler warnings showing up with gcc-8.0.0
4b95781cb6f3 PM / domains: Fix up domain-idle-states OF parsing
05e52e5bd103 proc: fix /proc/*/map_files lookup
4ec317a41d80 arm64: spinlock: Fix theoretical trylock() A-B-A with LSE atomics
693b9589c297 RDS: IB: Fix null pointer issue
a8e7a4e24374 bpf: sockmap, fix leaking maps with attached but not detached progs
05c062c3685e xen/grant-table: Use put_page instead of free_page
70f3461c23ff xen-netfront: Fix race between device setup and open
2f79b5e52d46 perf evsel: Fix period/freq terms setup
b1f9f9fb3f99 MIPS: Generic: Support GIC in EIC mode
76e3ea2f9563 perf record: Fix period option handling
f938c2acc829 MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS
3e01c16d8751 bpf: fix selftests/bpf test_kmod.sh failure when CONFIG_BPF_JIT_ALWAYS_ON=y
74abca65f1e4 ACPI / scan: Use acpi_bus_get_status() to initialize ACPI_TYPE_DEVICE devs
f920e914801c ACPI / bus: Do not call _STA on battery devices with unmet dependencies
51939996acde ACPI: processor_perflib: Do not send _PPC change notification if not ready
573cb560b4ed firmware: dmi_scan: Fix handling of empty DMI strings
ee06ed9ba518 x86/dumpstack: Avoid uninitlized variable
423505471f5e x86/power: Fix swsusp_arch_resume prototype
074372c8124c netfilter: ipv6: nf_defrag: Kill frag queue on RFC2460 failure
2cd5100363b7 s390/eadm: fix CONFIG_BLOCK include dependency
eb41efa13865 drm/nouveau/pmu/fuc: don't use movw directly anymore
fd370b8e65e3 IB/core: Map iWarp AH type to undefined in rdma_ah_find_type
f63bb02694f0 IB/ipoib: Fix for potential no-carrier state
8f96d408a954 IB/hfi1: Fix for potential refcount leak in hfi1_open_file()
5ceae7690f0d IB/hfi1: Re-order IRQ cleanup to address driver cleanup race
73027d80d67e blk-mq: fix discard merge with scheduler attached
6eddea4ba5cc openvswitch: Remove padding from packet before L3+ conntrack processing
3b1d9626fc58 mm/fadvise: discard partial page if endbyte is also EOF
1f9c87e25158 mm: pin address_space before dereferencing it while isolating an LRU page
8054b87fccd4 mm: thp: use down_read_trylock() in khugepaged to avoid long block
6acb8818eff4 sparc64: update pmdp_invalidate() to return old pmd value
78185a93d42d asm-generic: provide generic_pmdp_establish()
305e56756da7 mm/mempolicy: add nodes_empty check in SYSC_migrate_pages
6cab60ac6a0a mm/mempolicy: fix the check of nodemask from user
a7fbc7f3134a ocfs2: return error when we attempt to access a dirty bh in jbd2
a66174eb4a14 ocfs2/acl: use 'ip_xattr_sem' to protect getting extended attribute
66aaeed2796e ocfs2: return -EROFS to mount.ocfs2 if inode block is invalid
710b5124aac6 fs/dax.c: release PMD lock even when there is no PMD support in DAX
cc0600dae30f x86/kvm/vmx: do not use vm-exit instruction length for fast MMIO when running nested
d757c3a9cf4a kvm: Map PFN-type memory regions as writable (if possible)
a6a25002e6d8 tcp_nv: fix potential integer overflow in tcpnv_acked
ad10785a706e netfilter: x_tables: fix pointer leaks to userspace
2b7cc93682ac x86/hyperv: Check for required priviliges in hyperv_init()
cdf635a66c5b gianfar: prevent integer wrapping in the rx handler
67fa8bfff771 ntb_transport: Fix bug with max_mw_size parameter
d810c548157f RDMA/mlx5: Avoid memory leak in case of XRCD dealloc failure
0bddd43ac200 powerpc/numa: Ensure nodes initialized for hotplug
0caebc381032 powerpc/numa: Use ibm,max-associativity-domains to discover possible nodes
b086dd2d79d9 samples/bpf: Partially fixes the bpf.o build
64e5e46cdd8b i40e: fix reported mask for ntuple filters
1ec85fe4e259 i40e: program fragmented IPv4 filter input set
7addb3e4ad3d ixgbe: don't set RXDCTL.RLPML for 82599
27eb641f2368 jffs2: Fix use-after-free bug in jffs2_iget()'s error handling path
19b3638ce460 RDMA/uverbs: Use an unambiguous errno for method not supported
827aab45cb16 crypto: artpec6 - remove select on non-existing CRYPTO_SHA384
592ea370bf1c device property: Define type of PROPERTY_ENRTY_*() macros
c5fda2b8610b tty: serial: exar: Relocate sleep wake-up handling
519a7119527c x86/hyperv: Stop suppressing X86_FEATURE_PCID
9a1dda252663 fm10k: fix "failed to kill vid" message for VF
0e7a0c139cbf igb: Clear TXSTMP when ptp_tx_work() is timeout
187bf28199d8 igb: Allow to remove administratively set MAC on VFs
048af64fd48f ASoC: rockchip: Use dummy_dai for rt5514 dsp dailink
f25ba4f6be4a blk-mq-debugfs: don't allow write on attributes with seq_operations set
a42ebbdae0a5 KVM: s390: vsie: use READ_ONCE to access some SCB fields
48d441324a58 platform/x86: thinkpad_acpi: suppress warning about palm detection
b9d78055c6ae i40evf: ignore link up if not running
09f6d65db13b i40evf: Don't schedule reset_task when device is being removed
7c7ae4ed2fcd bpf: test_maps: cleanup sockmaps when test ends
c6c6e38aeff2 block: Set BIO_TRACE_COMPLETION on new bio during split
f2e73df302f3 nfp: fix error return code in nfp_pci_probe()
8591958413bf HID: roccat: prevent an out of bounds read in kovaplus_profile_activated()
6a5505da41fa Input: stmfts - set IRQ_NOAUTOEN to the irq flag
8afed2798e50 scsi: fas216: fix sense buffer initialization
800fda575b11 scsi: devinfo: fix format of the device list
a09881cfb713 f2fs: avoid hungtask when GC encrypted block if io_bits is set
889177d172d3 RDMA/cma: Check existence of netdevice during port validation
48b8839d91a4 Btrfs: raid56: fix race between merge_bio and rbio_orig_end_io
ebe064401f07 Btrfs: fix unexpected EEXIST from btrfs_get_extent
c231cec825a9 btrfs: fail mount when sb flag is not in BTRFS_SUPER_FLAG_SUPP
d91bb7c6988b Btrfs: fix scrub to repair raid6 corruption
db6d651eccde btrfs: Fix out of bounds access in btrfs_search_slot
a4909c8518f7 Btrfs: set plug for fsync
fb5d97a19fc3 ipmi/powernv: Fix error return code in ipmi_powernv_probe()
afadc440a1cc mac80211_hwsim: fix possible memory leak in hwsim_new_radio_nl()
18004e6f26ec kconfig: Fix expr_free() E_NOT leak
0f511f3dda8c kconfig: Fix automatic menu creation mem leak
8bf116b258c2 kconfig: Don't leak main menus during parsing
9f2df99f9eb0 watchdog: sp5100_tco: Fix watchdog disable bit
ebf5ffca1bf2 PCI: Add dummy pci_irqd_intx_xlate() for CONFIG_PCI=n build
c212c855a09d MIPS: Fix clean of vmlinuz.{32,ecoff,bin,srec}
81fbb7e26ea1 nfs: Do not convert nfs_idmap_cache_timeout to jiffies
35ceddc59cd4 IB/cq: Don't force IB_POLL_DIRECT poll context for ib_process_cq_direct
58bc0fd8434d spi: a3700: Clear DATA_OUT when performing a read
5bb5b9c68192 net: stmmac: dwmac-meson8b: propagate rate changes to the parent clock
5bfa11c96192 net: stmmac: dwmac-meson8b: fix setting the RGMII TX clock on Meson8b
2a71a742f09b ubifs: Fix uninitialized variable in search_dh_cookie()
a1dfcb01e374 blk-mq: turn WARN_ON in __blk_mq_run_hw_queue into printk
2e102fe86ede dm mpath: return DM_MAPIO_REQUEUE on blk-mq rq allocation failure
223ed638e937 dm thin: fix documentation relative to low water mark threshold
e9c8a5fa078c iommu/vt-d: Use domain instead of cache fetching
6ec6bd8ec2e3 powerpc: System reset avoid interleaving oops using die synchronisation
bc5fddf315f8 iommu/exynos: Don't unconditionally steal bus ops
77d17d0e8934 perf record: Fix failed memory allocation for get_cpuid_str
1fe5e88c389a tools lib traceevent: Fix get_field_str() for dynamic strings
4e63115b6b9d perf callchain: Fix attr.sample_max_stack setting
448bcd67b4c5 tools lib traceevent: Simplify pointer print logic and fix %pF
0eda4d03ef4c perf unwind: Do not look just at the global callchain_param.record_mode
f3a7d11834f3 scsi: qla2xxx: Fix warning in qla2x00_async_iocb_timeout()
f3ce194cae63 i40iw: Zero-out consumer key on allocate stag for FMR
b3b2ca24d9f7 i40iw: Free IEQ resources
0d5ef8956c84 Input: synaptics - reset the ABS_X/Y fuzz after initializing MT axes
0d9a46ae3204 libbpf: Makefile set specified permission mode
d925c3087422 Input: psmouse - fix Synaptics detection when protocol is disabled
03fdc4ef7a67 PCI: Add function 1 DMA alias quirk for Marvell 9128
c45ab4fb384c selftest: ftrace: Fix to pick text symbols for kprobes
342d9092a501 xprtrdma: Fix backchannel allocation of extra rpcrdma_reps
79f2ced39657 platform/x86: dell-laptop: Filter out spurious keyboard backlight change events
80bd91ab9ad8 KVM: s390: use created_vcpus in more places
a5a8ca753c0c tracing/hrtimer: Fix tracing bugs by taking all clock bases and modes into account
e0a1cec3db0a netfilter: ipv6: nf_defrag: Pass on packets to stack per RFC2460
ddf09f2a0896 KVM: PPC: Book3S HV: Enable migration of decrementer register
b7b27e19e374 RDMA/core: Clarify rdma_ah_find_type
8e40eae185f8 kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl
3f3017fa1540 ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read()
d3222cfc0b58 ALSA: hda - Use IS_REACHABLE() for dependency on input
4e7284b34c78 ACPI / LPSS: Do not instiate platform_dev for devs without MMIO resources
7a420b5d95a5 NFSv4: always set NFS_LOCK_LOST when a lock is lost.
239c948e3266 x86/tsc: Allow TSC calibration without PIT
4a5d70332d57 firewire-ohci: work around oversized DMA reads on JMicron controllers
1f52b0c64215 usb: musb: Fix external abort in musb_remove on omap2430
de4c4914cce2 usb: musb: call pm_runtime_{get,put}_sync before reading vbus registers
43de32cdf0f4 usb: musb: fix enumeration after resume
829239740c12 drm/i915/bxt, glk: Increase PCODE timeouts during CDCLK freq changing
5c825627d4e5 drm/i915: Fix LSPCON TMDS output buffer enabling from low-power state
6312eff3c70e drm/i915: Do no use kfree() to free a kmem_cache_alloc() return value
8e0489cf4d09 drm/i915/audio: Fix audio detection issue on GLK
c53f225fd792 drm/i915/gvt: throw error on unhandled vfio ioctls
325abf3db041 drm/vc4: Fix memory leak during BO teardown
08641a24d4e7 x86/tsc: Prevent 32bit truncation in calc_hpet_ref()
c6aaaaa4d62a clocksource/imx-tpm: Correct -ETIME return condition check
b8d4055372b5 x86/acpi: Prevent X2APIC id 0xffffffff from being accounted
f6edc45e21c3 btrfs: fix unaligned access in readdir
240a52868485 cifs: do not allow creating sockets except with SMB1 posix exensions
d6949f48093c Linux 4.14.36
7c9b87a78a17 writeback: safer lock nesting
071ff203d962 media: staging: lirc_zilog: incorrect reference counting
e7a08ffb2d89 Revert "media: lirc_zilog: driver only sends LIRCCODE"
8caa4c5fde76 iwlwifi: add a bunch of new 9000 PCI IDs
0c61952c3d19 iwlwifi: add shared clock PHY config flag for some devices
30593709f80d net: dsa: Discard frames from unused ports
90a32d1f0ec9 mm/filemap.c: fix NULL pointer in page_cache_tree_insert()
5e7575c6690a autofs: mount point create should honour passed in mode
d4d49cb1c20a Don't leak MNT_INTERNAL away from internal mounts
085125572a45 rpc_pipefs: fix double-dput()
0bb4a6f2ff1a orangefs_kill_sb(): deal with allocation failures
bb5def77d0a1 hypfs_kill_super(): deal with failed allocations
c780ac96e120 jffs2_kill_sb(): deal with failed allocations
22ec5ee71086 drm/i915: Correctly handle limited range YCbCr data on VLV/CHV
4bddb1209a6d mmc: sdhci-pci: Only do AMD tuning for HS200
28f46dee49d3 fanotify: fix logic of events on child
a2a9d0190f99 udf: Fix leak of UTF-16 surrogates into encoded strings
f86815184c47 powerpc/lib: Fix off-by-one in alternate feature patching
ce3b0b0589a8 powerpc/xive: Fix trying to "push" an already active pool VP
49a52f7d9274 powerpc/eeh: Fix enabling bridge MMIO windows
a5f6e787b9b0 MIPS: memset.S: Fix clobber of v1 in last_fixup
6da34ca1ca3e MIPS: memset.S: Fix return of __clear_user from Lpartial_fixup
7b34760dc682 MIPS: memset.S: EVA & fault support for small_memset
23f5562852b9 MIPS: uaccess: Add micromips clobbers to bzero invocation
1da964d421da HID: wacom: bluetooth: send exit report for recent Bluetooth devices
0e159a9e1823 HID: hidraw: Fix crash on HIDIOCGFEATURE with a destroyed device
27840bc4ebb2 HID: input: fix battery level reporting on BT mice
90936d903c2f random: add new ioctl RNDRESEEDCRNG
d152fcc17314 random: crng_reseed() should lock the crng instance that it is modifying
7b6b1f3a1923 random: use a different mixing algorithm for add_device_randomness()
6e513bc20ca6 random: fix crng_ready() test
8036cdaa1b13 ALSA: hda/realtek - adjust the location of one mic
adc02ac60919 ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags
11e9bed2b971 ALSA: hda - New VIA controller suppor no-snoop path
fcf38cf55e28 ALSA: rawmidi: Fix missing input substream checks in compat ioctls
43b3e7915edd ALSA: line6: Use correct endpoint type for midi output
bdc6f4c3db08 drm/radeon: Fix PCIe lane width calculation
110b72d9351f drm/radeon: add PX quirk for Asus K73TK
791469d6b882 drm/rockchip: Clear all interrupts before requesting the IRQ
f188464e3d54 drm/amdgpu/si: implement get/set pcie_lanes asic callback
f056e3339741 drm/amdgpu: Fix PCIe lane width calculation
57e56826611a drm/amdgpu/sdma: fix mask in emit_pipeline_sync
c73d9e350085 drm/amdgpu: Fix always_valid bos multiple LRU insertions.
674b6963cec2 drm/amdgpu: Add an ATPX quirk for hybrid laptop
312d02879f9f ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation
157113cb7c89 ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls
048747b04842 ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams
bd889a82fb01 ALSA: pcm: Avoid potential races between OSS ioctls and read/write
4d2ea307ffa1 ALSA: pcm: Use ERESTARTSYS instead of EINTR in OSS emulation
2ccdea040e81 vfio/pci: Virtualize Maximum Read Request Size
23a63d96e015 watchdog: f71808e_wdt: Fix WD_EN register read
28fe0fba29f2 dt-bindings: clock: mediatek: add binding for fixed-factor clock axisel_d4
ecb67e92d42e thermal: imx: Fix race condition in imx_thermal_probe()
c9b200ce2be5 pwm: rcar: Fix a condition to prevent mismatch value setting to duty
ff18ffb1f81d clk: bcm2835: De-assert/assert PLL reset signal when appropriate
dc7a428ae26f clk: mediatek: fix PWM clock source by adding a fixed-factor clock
d8b6fdbe513d clk: fix false-positive Wmaybe-uninitialized warning
37d8947c0b07 clk: mvebu: armada-38x: add support for missing clocks
f13b4a61989f PCI: Mark Broadcom HT1100 and HT2000 Root Port Extended Tags as broken
4b684fbbc58e mmc: tmio: Fix error handling when issuing CMD23
e5e2841e20ff mmc: jz4740: Fix race condition in IRQ mask update
180d28f824ce iommu/vt-d: Fix a potential memory leak
5a999c2bef68 um: Use POSIX ucontext_t instead of struct ucontext
f57f3f346d05 um: Compile with modern headers
dc0f00327452 ring-buffer: Check if memory is available before allocation
4171ea2471a1 nfit: skip region registration for incomplete control regions
5520091356b0 nfit, address-range-scrub: fix scrub in-progress reporting
b68b77c935dd libnvdimm, namespace: use a safe lookup for dimm device name
45980ba59916 libnvdimm, dimm: fix dpa reservation vs uninitialized label area
a43d8e0ee79d tpm: self test failure should not cause suspend to fail
c1edd3b19f30 cxl: Fix possible deadlock when processing page faults from cxllib
156b45ed2207 dmaengine: at_xdmac: fix rare residue corruption
e99ca1ee070d IB/srp: Fix completion vector assignment algorithm
fe71b03e6983 IB/srp: Fix srp_abort()
0bb5579128e6 ALSA: pcm: Fix UAF at PCM release via PCM timer access
d3b14a66e14b RDMA/rxe: Fix an out-of-bounds read
28ce82e3c8b1 RDMA/mlx5: Protect from NULL pointer derefence
b140d9468870 RDMA/ucma: Don't allow setting RDMA_OPTION_IB_PATH without an RDMA device
79fbd052ea63 dm crypt: limit the number of allocated pages
e7793f2a2ac8 ext4: add extra checks to ext4_xattr_block_get()
9703952178f1 ext4: add bounds checking to ext4_xattr_find_entry()
598e04ae2fc4 ext4: move call to ext4_error() into ext4_xattr_check_block()
b2623d816656 ext4: don't allow r/w mounts if metadata blocks overlap the superblock
26dbb30c58ff ext4: always initialize the crc32c checksum driver
8e0e94683f84 ext4: fail ext4_iget for root directory if unallocated
a57eb14b740e ext4: limit xattr size to INT_MAX
5058b70d2118 ext4: protect i_disksize update by i_data_sem in direct write path
bd499f553849 ext4: don't update checksum of new initialized bitmaps
73297f13a003 ext4: pass -ESHUTDOWN code to jbd2 layer
09439481998a ext4: eliminate sleep from shutdown ioctl
7ebcea259682 ext4: shutdown should not prevent get_write_access
867175f94485 jbd2: if the journal is aborted then don't allow update of the log tail
6151a5a45fc4 block: use 32-bit blk_status_t on Alpha
7044bf9ef6c8 extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO
b0afd9d1cb5a random: use a tighter cap in credit_entropy_bits_safe()
439e8b2dcab1 irqchip/gic: Take lock when updating irq type
283637785763 thunderbolt: Prevent crash when ICM firmware is not running
5ae695df59e1 thunderbolt: Resume control channel after hibernation image is created
7a4a66c504fb thunderbolt: Serialize PCIe tunnel creation with PCI rescan
6f40f6ee22b9 thunderbolt: Wait a bit longer for ICM to authenticate the active NVM
73b969f6a920 ASoC: topology: Fix kcontrol name string handling
7e23ef535073 ASoC: ssm2602: Replace reg_default_raw with reg_default
1b3d2e7a3409 soc: mediatek: fix the mistaken pointer accessed when subdomains are added
3f306336cdee HID: core: Fix size as type u32
f671ac7a5317 HID: Fix hid_report_len usage
25b6ee378dc4 powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops
7c854f2e1ff0 powerpc/powernv: define a standard delay for OPAL_BUSY type retry loops
a55d2c9d42f9 powerpc/kexec_file: Fix error code when trying to load kdump kernel
fa99a3470e91 powerpc/kprobes: Fix call trace due to incorrect preempt count
3df05fcf8911 powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently
1699bd03742d powerpc/64: Call H_REGISTER_PROC_TBL when running as a HPT guest on POWER9
f4eff13a2780 powerpc/64s: Fix dt_cpu_ftrs to have restore_cpu clear unwanted LPCR bits
c3baeca67d85 powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write()
693b03f9b185 CIFS: fix sha512 check in cifs_crypto_secmech_release
7a55d160b730 CIFS: add sha512 secmech
0910e2804f2e CIFS: refactor crypto shash/sdesc allocation&free
fd5cc02cbef9 i2c: i801: Restore configuration at shutdown
44ff2389a840 i2c: i801: Save register SMBSLVCMD value only once
d6b3a5c87d45 HID: i2c-hid: fix size check and type usage
70dbed63a96d smb3: Fix root directory when server returns inode number of zero
bf895b2a637d fix smb3-encryption breakage when CONFIG_DEBUG_SG=y
fdbd79540520 cifs: fix memory leak in SMB2_open()
59d3a952e4f3 usb: dwc3: gadget: never call ->complete() from ->ep_queue()
093dcb929c8e usb: dwc3: pci: Properly cleanup resource
30e9a1cddc4d usb: dwc3: prevent setting PRTCAP to OTG from debugfs
f7f9187a110e USB:fix USB3 devices behind USB3 hubs not resuming at hibernate thaw
96dc465173a1 USB: gadget: f_midi: fixing a possible double-free in f_midi
a2b540651d8c ACPI / hotplug / PCI: Check presence of slot itself in get_slot_status()
d6e98387b2e9 ACPI / video: Add quirk to force acpi-video backlight on Samsung 670Z5E
3dac1fe2719d regmap: Fix reversed bounds check in regmap_raw_write()
666d1084c13d xen-netfront: Fix hang on device removal
e7b00dc28275 x86/xen: Delay get_cpu_cap until stack canary is established
fcd054c733cf media: vsp1: Fix BRx conditional path in WPF
2fb28b075f80 media: vivid: check if the cec_adapter is valid
9864a1ef8679 media: atomisp_fops.c: disable atomisp_compat_ioctl32
9629964f032c spi: Fix unregistration of controller with fixed SPI bus number
e4ff723039dc spi: Fix scatterlist elements size in spi_map_buf
faddb17685f9 spi: atmel: init FIFOs before spi enable
38866e866121 ARM: dts: at91: sama5d4: fix pinctrl compatible string
c57b7e1a150e ARM: dts: exynos: Fix IOMMU support for GScaler devices on Exynos5250
838ea3802e9d ARM: dts: at91: at91sam9g25: fix mux-mask pinctrl property
958d6e41888f arm: dts: mt7623: fix USB initialization fails on bananapi-r2
2106cd34635e ARM: EXYNOS: Fix coupled CPU idle freeze on Exynos4210
326e61ce9761 ARM: dts: da850-lego-ev3: Fix battery voltage gpio
8f1a2803e4c2 KVM: arm/arm64: vgic-its: Fix potential overrun in vgic_copy_lpi_list
8fdbba69cb34 ARM64: dts: meson: reduce odroid-c2 eMMC maximum rate
7732495c599c usb: gadget: udc: core: update usb_ep_queue() documentation
aea6c0b4aee8 phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS
334d8f201ef5 usb: musb: gadget: misplaced out of bounds check
20eaa393fcd3 mm, slab: reschedule cache_reap() on the same CPU
703eee654360 ipc/shm: fix use-after-free of shm file via remap_file_pages()
c25ef6220fac resource: fix integer overflow at reallocation
f659e7e79f52 fs/reiserfs/journal.c: add missing resierfs_warning() arg
6337067b2ab6 task_struct: only use anon struct under randstruct plugin
28cb085f1598 mm/hmm: hmm_pfns_bad() was accessing wrong struct
963722d031e5 mm/hmm: fix header file if/else/endif maze
e84e6914ccb4 mm/ksm.c: fix inconsistent accounting of zero pages
577b4eb23811 ubi: Reject MLC NAND
7ade852714de ubi: Fix error for write access
bf3fbf54a9ae ubi: fastmap: Don't flush fastmap work on detach
09844df06087 ubifs: Check ubifs_wbuf_sync() return code
f1e90bf95e55 cpufreq: CPPC: Use transition_delay_us depending transition_latency
9427a4aecf23 tty: make n_tty_read() always abort if hangup is in progress
672f07d8274b Linux 4.14.35
9a0a509839f3 nfsd: fix incorrect umasks
61534984904e hugetlbfs: fix bug in pgoff overflow checking
0319ce67b793 xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling
80f509d4919d ovl: fix lookup with middle layer opaque dir and absolute path redirects
5ee935daaaeb blk-mq: don't keep offline CPUs mapped to hctx 0
a333a284fff2 lib: fix stall in __bitmap_parselist()
f9e66750d4bd f2fs: fix heap mode to reset it back
e4fa275b8fdd sunrpc: remove incorrect HMAC request initialization
3d06535693a3 ath9k: Protect queue draining by rcu_read_lock()
aa3bfa29fcd5 hwmon: (ina2xx) Fix access to uninitialized mutex
360ecf51864e x86/mce/AMD: Get address from already initialized block
c81968e93aca x86/mce/AMD, EDAC/mce_amd: Enumerate Reserved SMCA bank type
0ee4f31673af x86/mce/AMD: Pass the bank number to smca_get_bank_type()
99971efd7d9a x86/MCE: Report only DRAM ECC as memory errors on AMD systems
a2813b4cfe3b rtl8187: Fix NULL pointer dereference in priv->conf_mutex
9e483bc229f5 Bluetooth: hci_bcm: Treat Interrupt ACPI resources as always being active-low
f58ef38ef1a8 Bluetooth: Fix connection if directed advertising and privacy is used
c3efeaa3b154 getname_kernel() needs to make sure that ->name != ->iname in long case
adea72f0e570 get_user_pages_fast(): return -EFAULT on access_ok failure
3da5723b4f05 s390/ipl: ensure loadparm valid flag is set
c6c8e42071dc s390/qdio: don't merge ERROR output buffers
b6366b15a267 s390/qdio: don't retry EQBS after CCQ 96
3a6771e2fb32 nfit: fix region registration vs block-data-window ranges
51a9580d67a2 block/loop: fix deadlock after loop_set_status
54b990ede4c3 apparmor: fix resource audit messages when auditing peer
a0358f605283 apparmor: fix display of .ns_name for containers
1d0d8beb35cd apparmor: fix logging of the existence test for signals
b18daa09fefe scsi: qla2xxx: Fix small memory leak in qla2x00_probe_one on probe failure
0ed20e4b52af x86/MCE/AMD: Define a function to get SMCA bank type
8e52e2f41c43 radeon: hide pointless #warning when compile testing
6f22be4ba787 perf/core: Fix use-after-free in uprobe_perf_close()
674e18de7bde perf intel-pt: Fix timestamp following overflow
4039579fca38 perf intel-pt: Fix error recovery from missing TIP packet
0733facf3be9 perf intel-pt: Fix sync_switch
ff295906bd9b perf intel-pt: Fix overlap detection to identify consecutive buffers correctly
42b53a13ecac KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode
5661d43b03c5 PCI: hv: Serialize the present and eject work items
a160105b5503 Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
abd9fd4a3b04 parisc: Fix HPMC handler by increasing size to multiple of 16 bytes
08be2c1b6bb6 parisc: Fix out of array access in match_pci_device()
4d167edf0f6a media: v4l: vsp1: Fix header display list status check in continuous mode
e7a4d7c2fe38 media: v4l2-compat-ioctl32: don't oops on overlay
c0e0cd653e6a lan78xx: Correctly indicate invalid OTP
2ea541eb4064 vhost: Fix vhost_copy_to_user()
e240ffd5a3be vhost: fix vhost_vq_access_ok() log check
381ebff25898 slip: Check if rstate is initialized before uncompressing
427b8a146973 rds: MP-RDS may use an invalid c_path
856d5d075a92 cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN
073e82701bc0 netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
ffebeb0d7c37 Linux 4.14.34
fdae5b620566 net/mlx4_core: Fix memory leak while delete slave's resources
9fdeb33e1913 vhost_net: add missing lock nesting notation
8c316b625705 team: move dev_mc_sync after master_upper_dev_link in team_port_add
233ba28e1862 route: check sysctl_fib_multipath_use_neigh earlier than hash
2f8aa659d4c0 vhost: validate log when IOTLB is enabled
72b880f43990 net/mlx5e: Fix traffic being dropped on VF representor
9408bceb0649 net/mlx4_en: Fix mixed PFC and Global pause user control requests
477c73abf26a strparser: Fix sign of err codes
1c71bfe84deb net/sched: fix NULL dereference on the error path of tcf_skbmod_init()
a19024a3f343 net/sched: fix NULL dereference in the error path of tunnel_key_init()
e096c8bf4fb8 net/mlx5e: Sync netdev vxlan ports at open
baab1f0c4885 net/mlx5e: Don't override vport admin link state in switchdev mode
1ec7966ab7db ipv6: sr: fix seg6 encap performances with TSO enabled
e52a45bb392f nfp: use full 40 bits of the NSP buffer address
ddf79878f1e0 net/mlx5e: Fix memory usage issues in offloading TC flows
9282181c1cc5 net/mlx5e: Avoid using the ipv6 stub in the TC offload neigh update path
b9c6ddda3805 vti6: better validate user provided tunnel names
109dce20c6ed ip6_tunnel: better validate user provided tunnel names
72363c63b070 ip6_gre: better validate user provided tunnel names
a7309cad9c2e ipv6: sit: better validate user provided tunnel names
6816295fe958 ip_tunnel: better validate user provided tunnel names
048a64fbc229 net: fool proof dev_valid_name()
77b9fc371d4d bonding: process the err returned by dev_set_allmulti properly in bond_enslave
22ab1f8751fa bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
d7e7ab42581e bonding: fix the err path for dev hwaddr sync in bond_enslave
65c42a2d475d vrf: Fix use after free and double free in vrf_finish_output
09cb8267add5 vlan: also check phy_driver ts_info for vlan's real device
4f288c97b5c5 vhost: correctly remove wait queue during poll failure
c5fc4dc51cb0 sky2: Increase D3 delay to sky2 stops working after suspend
3fdd43709d70 sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6
3f80d01bbd87 sctp: do not leak kernel memory to user space
c17f6594abfa r8169: fix setting driver_data after register_netdev
a7c8900c1fc2 pptp: remove a buggy dst release in pptp_connect()
21563c4df30e net/sched: fix NULL dereference in the error path of tcf_bpf_init()
cd19a9b12ab4 net sched actions: fix dumping which requires several messages to user space
787b940625ca netlink: make sure nladdr has correct size in netlink_connect()
7948bc92791b net/ipv6: Increment OUTxxx counters after netfilter hook
d1b820bd98a1 net/ipv6: Fix route leaking between VRFs
589a3f305185 net: fix possible out-of-bound read in skb_network_protocol()
629eeaaccb23 lan78xx: Crash in lan78xx_writ_reg (Workqueue: events lan78xx_deferred_multicast_write)
52f0a5ff60e4 ipv6: the entire IPv6 header chain must fit the first fragment
cdd74d6ac80e arp: fix arp_filter on l3slave devices
8413a3a63d37 x86/microcode: Fix CPU synchronization routine
c81d7069dcd6 x86/microcode: Attempt late loading only when new microcode is present
b0b1ac38e018 x86/microcode: Synchronize late microcode loading
509df2b865f1 x86/microcode: Request microcode on the BSP
d2725848230d x86/microcode/intel: Look into the patch cache first
e87c2b553a35 x86/microcode: Do not upload microcode if CPUs are offline
1707112c82fa x86/microcode/intel: Writeback and invalidate caches before updating microcode
170f8ec16c22 x86/microcode/intel: Check microcode revision before updating sibling threads
22cc8816d013 x86/microcode: Get rid of struct apply_microcode_ctx
35da0d504a98 x86/CPU: Check CPU feature bits after microcode upgrade
00ba4bcf4b92 x86/CPU: Add a microcode loader callback
962e6b2d1665 x86/microcode: Propagate return value from updating functions
b6a11be5c433 crypto: arm64/aes-ce-cipher - move assembler code to .S file
f1b46925f59e objtool: Add Clang support
5dff63583f0d thermal: int3400_thermal: fix error handling in int3400_thermal_probe()
bc166ca4234c tcmu: release blocks for partially setup cmds
6a88a999c45d perf tools: Fix copyfile_offset update of output offset
7cae67e31292 crypto: aes-generic - build with -Os on gcc-7+
3847b9e016df mtd: mtd_oobtest: Handle bitflips during reads
88f6f0490f8c Input: goodix - disable IRQs while suspended
c427d7e44a32 ibmvnic: Don't handle RX interrupts when not up.
62eaf7e149a5 sdhci: Advertise 2.0v supply on SDIO host controller
997901406c0a x86/gart: Exclude GART aperture from vmcore
4aafb8cdcc11 gpio: thunderx: fix error return code in thunderx_gpio_probe()
cfafed12f459 RDMA/cma: Fix rdma_cm path querying for RoCE
15dfb9baba2c scsi: megaraid_sas: unload flag should be set after scsi_remove_host is called
70077054384d scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map
b432f980596c cxgb4vf: Fix SGE FL buffer initialization logic for 64K pages
d017aeb58a3e i40evf: don't rely on netif_running() outside rtnl_lock()
d96a094c987f uio_hv_generic: check that host supports monitor page
28b35f9aa0c0 EDAC, mv64x60: Fix an error handling path
effbffc91da3 block, bfq: put async queues for root bfq groups too
4ed8692bb2d6 tty: n_gsm: Allow ADM response in addition to UA for control dlci
8976d64b2f0f blk-mq: fix kernel oops in blk_mq_tag_idle()
b728b7e24fbc scsi: libsas: initialize sas_phy status according to response of DISCOVER
f890a23603e3 scsi: libsas: fix error when getting phy events
8644d14c3240 scsi: libsas: fix memory leak in sas_smp_get_phy_events()
fad9bcb1176b bcache: segregate flash only volume write streams
ef60904109f4 bcache: stop writeback thread after detaching
71468ce63dc9 bcache: ret IOERR when read meets metadata error
b20482cebfb2 net: hns3: fix for changing MTU
be6a161e1302 net: hns3: Fix an error macro definition of HNS3_TQP_STAT
611abba6eb68 net: hns3: Fix a loop index error of tqp statistics query
5669ec0b9588 net: hns3: Fix an error of total drop packet statistics
35a9ebd920aa net/mlx5: Fix race for multiple RoCE enable
46d19334ca40 wl1251: check return from call to wl1251_acx_arp_ip_filter
f722a6a61179 rt2x00: do not pause queue unconditionally on error path
1530dcc90331 power: supply: axp288_charger: Properly stop work on probe-error / remove
87b9099cf141 ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
89deb4ad015b staging: lustre: disable preempt while sampling processor id.
01ff15fcf466 perf report: Fix a no annotate browser displayed issue
3b3fb4be7ca1 tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented
f0504bf54b4d nvme_fcloop: fix abort race condition
39ede1fd200f nvme_fcloop: disassocate local port structs
5391891c0a46 pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts
dd3e1a4e769e backlight: tdo24m: Fix the SPI CS between transfers
fb1ef85d5885 blk-mq: fix race between updating nr_hw_queues and switching io sched
eaa077800ff6 blk-mq: avoid to map CPU into stale hw queue
cf4c90693651 IB/rdmavt: Allocate CQ memory on the correct node
da5e12ab599a powernv-cpufreq: Add helper to extract pstate from PMSR
1f1e5ca1c737 gpio: label descriptors using the device name
e985dcf4fa1b vfb: fix video mode and line_length being set when loaded
bb23fbd8fb06 mac80211: Fix setting TX power on monitor interfaces
74f5124bc3ff ACPI: EC: Fix debugfs_create_*() usage
04568f4df228 irqchip/gic-v3: Fix the driver probe() fail due to disabled GICC entry
b5d2cafbe359 scsi: mpt3sas: Proper handling of set/clear of "ATA command pending" flag.
3807b6fec674 scsi: libiscsi: Allow sd_shutdown on bad transport
978c2812b805 spi: sh-msiof: Fix timeout failures for TX-only DMA transfers
1d65600e9722 ASoC: Intel: cht_bsw_rt5645: Analog Mic support
522371c28210 ASoC: Intel: Skylake: Disable clock gating during firmware and library download
543d317db8be media: videobuf2-core: don't go out of the buffer range
6e7b07606bfe clk: sunxi-ng: a83t: Add M divider to TCON1 clock
bd4a96921d8b hwmon: (ina2xx) Make calibration register value fixed
ddc09c522035 RDMA/cma: Mark end of CMA ID messages
7743aa143055 selftests/net: fix bugs in address and port initialization
b72d39b1da82 PM / devfreq: Fix potential NULL pointer dereference in governor_store
e6bc3a4b0c23 clk: divider: fix incorrect usage of container_of
1cf98fd005f5 watchdog: dw_wdt: add stop watchdog operation
db470ce8c6ee VFS: close race between getcwd() and d_move()
87a25a385832 net/mlx4_en: Change default QoS settings
378259c7d0a2 ACPI / video: Default lcd_only to true on Win8-ready and newer machines
ea620e414bde rds; Reset rs->rs_bound_addr in rds_add_bound() failure path
ab4ac0fc4712 l2tp: fix missing print session offset info
fcb762cb4b5c net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg
f7b0ea2245a0 net: hns3: free the ring_data structrue when change tqps
93b8f4a2302b perf evsel: Enable ignore_missing_thread for pid option
d606bac136ec perf probe: Add warning message if there is unexpected event name
3efc86f667fc perf probe: Find versioned symbols from map
ea40afb5c379 thermal: power_allocator: fix one race condition issue for thermal_instances list
fd78be4b37cc ipv6: Reinject IPv6 packets if IPsec policy matches after SNAT
78728d84f338 Bluetooth: Add a new 04ca:3015 QCA_ROME device
2e9a8b6a7d52 ARM: dts: ls1021a: add "fsl,ls1021a-esdhc" compatible string to esdhc node
800ffac10754 clk: meson: mpll: use 64-bit maths in params_from_rate
fbd4d9046a1a i40iw: Validate correct IRD/ORD connection parameters
c5cd3cc217a9 i40iw: Correct Q1/XF object count equation
0bc82eae1256 i40iw: Fix sequence number for the first partial FPDU
b867b7a7e590 Linux 4.14.33
6bc3a54e06c6 Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
cfbed9b55636 Revert "cpufreq: Fix governor module removal race"
a99aaeccdefd Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
118118eb3818 Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
92e3d3f67d79 Fix slab name "biovec-(1<<(21-12))"
b31397c9b945 net: hns: Fix ethtool private flags
9b47e99ac970 ARM: dts: DRA76-EVM: Set powerhold property for tps65917
52dcf4a6afbc vt: change SGR 21 to follow the standards
8ac678a4b363 Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
4043155add40 Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
ac72f0080c1a Input: ALPS - fix TrackStick detection on Thinkpad L570 and Latitude 7370
0d3f8c0217f9 Revert "base: arch_topology: fix section mismatch build warnings"
a59779368b33 staging: comedi: ni_mio_common: ack ai fifo error interrupts.
4be89529c013 Btrfs: fix unexpected cow in run_delalloc_nocow
62532640c8e1 crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
b5a888390998 crypto: arm,arm64 - Fix random regeneration of S_shipped
ee54953ecd47 crypto: ccp - return an actual key size from RSA max_size callback
056f3bd2399b crypto: caam - Fix null dereference at error path
c3657fd0c15f crypto: ahash - Fix early termination in hash walk
ad35fdc00a7c crypto: testmgr - Fix incorrect values in PKCS#1 test vector
41e960b042fc crypto: inside-secure - fix clock management
77827f3d63d0 crypto: lrw - Free rctx->ext with kzfree
3c6096ca8e49 parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
1f17d5033fe3 media: usbtv: prevent double free in error case
5f834dd24bae /dev/mem: Avoid overwriting "err" in read_mem()
66a65ca5b8fd mei: remove dev_err message on an unsupported ioctl
cbf733ca587c serial: 8250: Add Nuvoton NPCM UART
c0aed3667b3d USB: serial: cp210x: add ELDAT Easywave RX09 id
f4d01432eeda USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
e1e87ebd5b79 USB: serial: ftdi_sio: add RT Systems VX-8 cable
ac5a36bb6957 bitmap: fix memset optimization on big-endian systems
52a0c9a14f52 usb: dwc2: Improve gadget state disconnection handling
87a97ab15e44 Bluetooth: Fix missing encryption refresh on Security Request
cf88ae752cd3 phy: qcom-ufs: add MODULE_LICENSE tag
839a4c3b4a48 netfilter: x_tables: add and use xt_check_proc_name
2a55ad7440e6 netfilter: drop template ct when conntrack is skipped.
b0850604cc5d l2tp: fix races with ipv4-mapped ipv6 addresses
bbfbc396f076 netfilter: bridge: ebt_among: add more missing match size checks
546ade704a98 netfilter: x_tables: make allocation less aggressive
72682b162dae percpu: add __GFP_NORETRY semantics to the percpu balancing path
dffe655ddb48 xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
a6232ffa2a02 net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
b0d95e686f45 RDMA/ucma: Introduce safer rdma_addr_size() variants
4fbf77d7a9fe RDMA/ucma: Check that device exists prior to accessing it
4dba68fd1dfe RDMA/ucma: Check that device is connected prior to access it
6c2c0da62b5d RDMA/rdma_cm: Fix use after free race with process_one_req
4cd0242812a9 RDMA/ucma: Ensure that CM_ID exists prior to access it
ac895355571a RDMA/ucma: Fix use-after-free access in ucma_close
123f9f8981d2 RDMA/ucma: Check AF family prior resolving address
25fd02ea40db xfrm_user: uncoditionally validate esn replay attribute struct
ac2cb9f3de88 partitions/msdos: Unable to mount UFS 44bsd partitions
0726ba0491ca powerpc/64s: Fix i-side SLB miss bad address handler saving nonvolatile GPRs
4c6d2518e1fe powerpc/64s: Fix lost pending interrupt due to race causing lost update to irq_happened
834a06e59896 i2c: i2c-stm32f7: fix no check on returned setup
f025072cbfe3 ipc/shm.c: add split function to shm_vm_ops
f00a344718dd ceph: only dirty ITER_IOVEC pages for direct read
ca04476df8fd perf/hwbp: Simplify the perf-hwbp code, fix documentation
b276b3465531 x86/platform/uv/BAU: Add APIC idt entry
58eaa556bd0a ALSA: pcm: potential uninitialized return values
17c9ea37cb60 ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
ba0b1c7761b4 ALSA: usb-audio: Add native DSD support for TEAC UD-301
be0fdc488672 mtd: nand: atmel: Fix get_sectorsize() function
e9eddb705648 mtd: jedec_probe: Fix crash in jedec_read_mfr()
67356ab6e6a9 ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
46e10c38af0c ARM: dts: sun6i: a31s: bpi-m2: improve pmic properties
d377d3d041b7 ARM: 8746/1: vfp: Go back to clearing vfp_current_hw_state[]
a4941a5fbcf0 ARM: OMAP: Fix SRAM W+X mapping
9a2e216d9e89 Linux 4.14.32
bba757a2c128 s390/qeth: on channel error, reject further cmd requests
e52456422017 s390/qeth: lock read device while queueing next buffer
dd5ec7314030 s390/qeth: when thread completes, wake up all waiters
b469bdd0f511 s390/qeth: free netdevice when removing a card
299902b581ea dpaa_eth: remove duplicate increment of the tx_errors counter
5bf75fca4367 dpaa_eth: increment the RX dropped counter when needed
dde9b6a83797 dpaa_eth: remove duplicate initialization
5bbb99d2fde0 dpaa_eth: fix error in dpaa_remove()
29cd9c2d1f42 soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
43d8f3c5d3ad team: Fix double free in error path
329f4710f89c skbuff: Fix not waking applications when errors are enqueued
e90e9771d9a3 qede: Fix qedr link update
c6841b478e6b net: systemport: Rewrite __bcm_sysport_tx_reclaim()
474aa5149753 net: Only honor ifindex in IP_PKTINFO if non-0
06d3f43d52bb netlink: avoid a double skb free in genlmsg_mcast()
2980f37b6111 net/iucv: Free memory obtained by kzalloc
a14b791d9863 net: fec: Fix unbalanced PM runtime calls
9cdb0f25fbb4 net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface
89142a0e0b70 net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
2d5b0ed04c5a l2tp: do not accept arbitrary sockets
18c647456ac9 ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
91d27e0c3025 dccp: check sk for closed state in dccp_sendmsg()
946b9671ac02 net: Fix hlist corruptions in inet_evict_bucket()
4ff5078b0396 net: use skb_to_full_sk() in skb_update_prio()
f6cdb675ca0a ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
f77ff13a06c1 sch_netem: fix skb leak in netem_enqueue()
515bc34124f3 kcm: lock lower socket in kcm_attach
07cf9d303c7c rhashtable: Fix rhlist duplicates insertion
090da7ced80b ppp: avoid loop in xmit recursion detection code
28b488f7cb3a net sched actions: return explicit error when tunnel_key mode is not specified
2274d77c3675 net: phy: Tell caller result of phy_change()
42cf2a1e5ac4 mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
dbad5abd2b16 ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state
cb4963b49426 ipv6: sr: fix NULL pointer dereference when setting encap source address
5defa8c9269a ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
a8f02befc87d net: ipv6: keep sk status consistent after datagram connect failure
82fb817863e3 macvlan: filter out unsupported feature flags
b51eb57dac9c devlink: Remove redundant free on error path
67a1dc567567 net: phy: relax error checking when creating sysfs link netdev->phydev
223c54244252 sysfs: symlink: export sysfs_create_link_nowarn()
497166d63780 qed: Fix non TCP packets should be dropped on iWARP ll2 connection
e44c1733059c tcp: purge write queue upon aborting the connection
dbbf2d1e4077 tcp: reset sk_send_head in tcp_write_queue_purge
9861e6647c85 Linux 4.14.31
7514cd2f6d21 bpf, x64: increase number of passes
b4e02202a0ba bpf: skip unnecessary capability check
3e1130970ec3 kbuild: disable clang's default use of -fmerge-all-constants
3fdc6f0d1484 x86/pkeys/selftests: Rename 'si_pkey' to 'siginfo_pkey'
d6e6e57e6045 usb: xhci: Fix potential memory leak in xhci_disable_slot()
4208d820ed23 usb: xhci: Disable slot even when virt-dev is null
213b332c71a9 staging: lustre: ptlrpc: kfree used instead of kvfree
26023c977975 staging: android: ion: Zero CMA allocated memory
af00a24c9ea2 iio: imu: st_lsm6dsx: fix endianness in st_lsm6dsx_read_oneshot()
c7d20ac820ad iio: ABI: Fix name of timestamp sysfs file
294a6268bf16 perf/x86/intel/uncore: Fix multi-domain PCI CHA enumeration bug on Skylake servers
59dbc2a44921 perf/x86/intel: Don't accidentally clear high bits in bdw_limit_period()
227e2f91f0c9 perf/core: Fix ctx_event_type in ctx_resched()
b69902a42097 perf stat: Fix CVS output format for non-supported counters
d244e5897c1f perf/x86/intel/uncore: Fix Skylake UPI event format
5fb252cad61f drm/syncobj: Stop reusing the same struct file for all syncobj -> fd
a9b385a59b1f x86/boot/64: Verify alignment of the LOAD segment
faf470583a57 x86/build/64: Force the linker to use 2MB page size
06b281015054 kvm/x86: fix icebp instruction handling
f7fbe38cc55b posix-timers: Protect posix clock array access against speculation
b08952bbc171 x86/efi: Free efi_pgd with free_pages()
373ccbd6eb03 x86/vsyscall/64: Use proper accessor to update P4D entry
852d9679a778 selftests/x86/ptrace_syscall: Fix for yet more glibc interference
5a29ce2b9880 x86/entry/64: Don't use IST entry for #BP stack
3832d40ef22e tty: vt: fix up tabstops properly
5c955c3cfb58 can: cc770: Fix use after free in cc770_tx_interrupt()
63affa180c7d can: cc770: Fix queue stall & dropped RTR reply
b3ab7e3dee87 can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
18f29aa5b55d can: ifi: Check core revision upon probe
8a731531d08f can: ifi: Repair the error handling
e7dc75584302 can: peak/pcie_fd: remove useless code when interface starts
74f08b1e0de8 can: peak/pcie_fd: fix echo_skb is occupied! bug
2a2b9ef30926 staging: ncpfs: memory corruption in ncp_read_kernel()
3f3a6707770a mtd: nand: fsl_ifc: Read ECCSTAT0 and ECCSTAT1 registers for IFC 2.0
1aa0e4115330 mtd: nand: fsl_ifc: Fix eccstat array overflow for IFC ver >= 2.0.0
91ff3795b188 mtd: nand: fsl_ifc: Fix nand waitfunc return value
84f7a040cf04 mtdchar: fix usage of mtd_ooblayout_ecc()
70001527f446 tracing: probeevent: Fix to support minus offset from symbol
1a697e6ef91b rtlwifi: rtl8723be: Fix loss of signal
7964c00a4a7e brcmfmac: fix P2P_DEVICE ethernet address generation
865a0221c7e2 libnvdimm, {btt, blk}: do integrity setup before add_disk()
7fbddfb00176 ACPI / watchdog: Fix off-by-one error at resource assignment
8f860adbb3d8 acpi, numa: fix pxm to online numa node associations
b8b8151806ff mm/vmscan: wake up flushers for legacy cgroups too
c8deec718121 drm: udl: Properly check framebuffer mmap offsets
fc1142a8ca2d drm: Reject getfb for multi-plane framebuffers
b53d42b4ab92 drm/radeon: Don't turn off DP sink when disconnected
19246741a6df drm/vmwgfx: Fix a destoy-while-held mutex problem.
4be50a9fe670 drm/vmwgfx: Fix black screen and device errors when running without fbdev
99b6ead444cf Revert "mm: page_alloc: skip over regions of invalid pfns where possible"
f5dad0409a72 mm/shmem: do not wait for lock_page() in shmem_unused_huge_shrink()
b6b6783c8097 mm/thp: do not wait for lock_page() in deferred_split_scan()
8b8b5c4f7f3a mm/khugepaged.c: convert VM_BUG_ON() to collapse fail
5bbd932ff58f x86/mm: implement free pmd/pte page interfaces
acdb4981644c mm/vmalloc: add interfaces to free unmapped page table
04d47fc40367 h8300: remove extraneous __BIG_ENDIAN definition
1e8628443ede hugetlbfs: check for pgoff value overflow
797bfd05d404 nfsd: remove blocked locks on client teardown
aa0533f4f7b2 cgroup: fix rule checking for threaded mode switching
2b4bb9f3869b libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
65ab5809b48d libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
596d0a8e7c77 libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
01b6d6839a28 libata: Enable queued TRIM for Samsung SSD 860
603f0168c1ef libata: disable LPM for Crucial BX100 SSD 500GB drive
3962dd60a67b libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
5e67e65d21d0 libata: don't try to pass through NCQ commands to non-NCQ devices
cd47a2ccc602 libata: remove WARN() for DMA or PIO command without data
8745d2063d28 libata: fix length validation of ATAPI-relayed SCSI commands
15a4417cc652 Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174
cd3141c02404 Bluetooth: btusb: Add Dell OptiPlex 3060 to btusb_needs_reset_resume_table
3a64bcc3e67a Bluetooth: btusb: Remove Yoga 920 from the btusb_needs_reset_resume_table
b64ffeecfbdd pinctrl: samsung: Validate alias coming from DT
a1da0548a932 Drivers: hv: vmbus: Fix ring buffer signaling
8f59abbdeb9d RDMA/mlx5: Fix crash while accessing garbage pointer and freed memory
9efd9903f561 clk: sunxi-ng: a31: Fix CLK_OUT_* clock ops
55306d632ab8 clk: bcm2835: Protect sections updating shared registers
2eb67f85d55b clk: bcm2835: Fix ana->maskX definitions
ef006d43bc61 lockdep: fix fs_reclaim warning
a05b610534a9 ahci: Add PCI-id for the Highpoint Rocketraid 644L card
8f5f582cabd7 PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
aa26895af31b mmc: dw_mmc: fix falling from idmac to PIO mode when dw_mci_reset occurs
a592984e03e6 mmc: dw_mmc: exynos: fix the suspend/resume issue for exynos5433
23a8825aea65 mmc: dw_mmc: Fix the DTO/CTO timeout overflow calculation for 32-bit systems
72439a30c096 mmc: block: fix updating ext_csd caches on ioctl call
39254113845c mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
fcc71c97a384 mmc: core: Fix tracepoint print of blk_addr and blksz
856da5e097e0 ALSA: hda/realtek - Always immediately update mute LED with pin VREF
7a42d11ab86e ALSA: hda/realtek - Fix Dell headset Mic can't record
dc9d942e45c0 ALSA: hda/realtek - Fix speaker no sound after system resume
8d49f5625eda ALSA: hda - Force polling mode on CFL for fixing codec communication
88079d335aac ALSA: aloop: Fix access to not-yet-ready substream via cable
1fcbcfff716f ALSA: aloop: Sync stale timer before release
3aa7360be333 ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
2b706310e520 iio: adc: meson-saradc: unlock on error in meson_sar_adc_lock()
d1138478e071 iio: st_pressure: st_accel: pass correct platform data to init
f81b0e627b67 iio: chemical: ccs811: Corrected firmware boot/application mode transition
ea26b66f10cb MIPS: lantiq: ase: Enable MFD_SYSCON
124532fc3c28 MIPS: lantiq: Enable AHB Bus for USB
8b23936074d9 MIPS: lantiq: Fix Danube USB clock
e73ac1875971 MIPS: ralink: Fix booting on MT7621
fb45c56ebd0f MIPS: ralink: Remove ralink_halt()
de8cdc557231 Linux 4.14.30
5019b23699f4 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
957435b566c9 kbuild: fix linker feature test macros when cross compiling with Clang
e82496fbe3a0 RDMA/ucma: Don't allow join attempts for unsupported AF family
ce3e82c0630f RDMA/ucma: Fix access to non-initialized CM_ID object
712b442c68c2 clk: migrate the count of orphaned clocks at init
02db484a0583 RDMA/core: Do not use invalid destination in determining port reuse
8b0c4a2e04f7 serial: 8250_pci: Don't fail on multiport card class
00fb52a3828d IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
cf1eb16eef13 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
3748694f1b91 scsi: mpt3sas: wait for and flush running commands on shutdown/unload
9d72b2696e0a scsi: mpt3sas: fix oops in error handlers after shutdown/unload
0493d72ee4d6 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e618ff1ac59c crypto: artpec6 - set correct iv size for gcm(aes)
53555c8fc8a2 clk: si5351: Rename internal plls to avoid name collisions
fa97cdb4c71e clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
9e9d9b1a3dbf clk: Don't touch hardware when reparenting during registration
24c92f975cb2 clk: at91: pmc: Wait for clocks when resuming
14d920fc4579 nfsd4: permit layoutget of executable-only files
1de82078a0c0 ARM: dts: aspeed-evb: Add unit name to memory node
e434a6eaed8c RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
7b7e076f8cad scsi: lpfc: Fix issues connecting with nvme initiator
1626beb0b5d8 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
6f4649f3bef8 soc: qcom: smsm: fix child-node lookup
f1f225794a41 ip_gre: fix potential memory leak in erspan_rcv
9cd6c84e9377 ip_gre: fix error path when erspan_rcv failed
e6cfc525163e ip6_vti: adjust vti mtu according to mtu of lower device
f2b32ce1ccef iommu/vt-d: clean up pr_irq if request_threaded_irq fails
915bd53d68f6 pinctrl: rockchip: enable clock when reading pin direction register
130e535210ba pinctrl: Really force states during suspend/resume
06299bd0cf73 media: davinci: fix a debug printk
fea718819c69 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
e1645629785b PCI: endpoint: Fix find_first_zero_bit() usage
194b5ce11968 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
d67d7bf8f12d coresight: Fix disabling of CoreSight TPIU
f16a65befe74 pty: cancel pty slave port buf's work in tty_release
728e120d1786 drm/omap: DMM: Check for DMM readiness after successful transaction commit
9967208b4f6c mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
83a2960ff6d1 omapdrm: panel: fix compatible vendor string for td028ttec1
f7eda23c2990 vgacon: Set VGA struct resource types
58668d153baf iser-target: avoid reinitializing rdma contexts for isert commands
a3e4b8fe6479 IB/umem: Fix use of npages/nmap fields
251695a39f05 RDMA/cma: Use correct size when writing netlink stats
a4ac7cb593ad IB/ipoib: Avoid memory leak if the SA returns a different DGID
9766562956fd rtc: ac100: Fix multiple race conditions
badf37254bc7 media: s5p-mfc: Fix lock contention - request_firmware() once
639dab36edbd sfp: fix non-detection of PHY
1a6610de8c1b sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1b485793ce84 net: phy: meson-gxl: check phy_write return value
ea60e54b22aa /dev/mem: Add bounce buffer for copy-out
79a49fcc0768 mmc: block: fix logical error to avoid memory leak
9dd93e524955 mmc: avoid removing non-removable hosts during suspend
c1326c691f4d drm/tilcdc: ensure nonatomic iowrite64 is not used
e2a6f2967f67 dmaengine: zynqmp_dma: Fix race condition in the probe
f4a0f85594ba platform/chrome: Use proper protocol transfer function
71233e2541a4 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
08b810901020 watchdog: Fix potential kref imbalance when opening watchdog
008029510ac8 cros_ec: fix nul-termination for firmware build info
79c3f5cf466d serial: 8250_dw: Disable clock on error
f1be26620373 tty: goldfish: Enable 'earlycon' only if built-in
5ff0741646fd qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
a9a14b17f72c media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
057ee30417e5 ath10k: handling qos at STA side based on AP WMM enable/disable
824f8613ea62 media: bt8xx: Fix err 'bt878_probe()'
2159db50a572 rtlwifi: always initialize variables given to RT_TRACE()
9f180c6db58e rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
9854881c225a spi: sh-msiof: Avoid writing to registers from spi_master.setup()
6467b3e25447 hv_netvsc: Fix the TX/RX buffer default sizes
8dc11c413557 hv_netvsc: Fix the receive buffer size limit
e53e85d5082c RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
4df82a41e819 drm/msm: fix leak in failed get_pages
b3cff08483d0 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
b453f9d8c55e cpufreq: longhaul: Revert transition_delay_us to 200 ms
e59e19dc4086 Bluetooth: btqcomsmd: Fix skb double free corruption
5b58533858e3 Bluetooth: hci_qca: Avoid setup failure on missing rampatch
23081c335df9 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
23e73e2ab4d2 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
(From OE-Core rev: 6ddaf2e408fa733214a5ff9a5b9ef171304f02a5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu now builds with libsdl2, so update the local.conf.sample to reflect this.
(From meta-yocto rev: 5e187b5b3dc69f0e8e5a2956e7fe997e62cb48c9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the submodules' histories have been fetched during the
do_fetch() phase, the mechanics used to clone the workdir copy
of the repo haven't been transferring the actual .git/modules
directory from the repo fetched into downloads/ during the
fetch task.
Fix that, and for good measure also explicitly tell Git to avoid
hitting the network during do_unpack() of the submodules.
[YOCTO #12739]
(Bitbake rev: 11b6a5d5c1b1bb0ce0c5bb3983610d13a3e8f84a)
Signed-off-by: Matt Hoosier <matt.hoosier@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent patches were applied which removed a function which set the xx
variable. This means xx can be uninitalised and prerm functions can fail.
This adjusts the patch to ensure the xx value isn't used in such a way.
(From OE-Core rev: 23f15c63777020f5d43b070a1eb2bcf246c19ff8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test works by excluding curl-dev which curl-staticdev depends upon.
When static libraries aren't disabled, this leads to an odd looking test
failure.
Simply exclude curl-staticdev as well in case its enabled to make sure
the test always works.
(From OE-Core rev: 0a77f4b680332a692abf0231e397fab44c59bde3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The freedesktop.org.xml data and the update-mime-database tool are both GPLv2 as
per COPYING, so change LICENSE to GPLv2.
test-mime-magic.c is LGPLv2+ but we don't install that so isn't relevant.
(From OE-Core rev: 4ca838097c43755e19f8ffc66436f9ad773fcd39)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following patches have made it to upstream:
* 0001-configure-Fix-default-value-of-without-numa-switch-i.patch
* 0001-configure-add-knob-to-control-numa-support.patch
* 0003-Add-knob-to-control-tirpc-support.patch
* 0010-replace-__BEGIN_DECLS-and-__END_DECLS.patch
* 0040-safe_macros-make-is_fuse-return-zero-if-fs_type-is-N.patch
These patches have been refreshed in order to apply cleanly
and without any fuzz:
* 0004-build-Add-option-to-select-libc-implementation.patch
* 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
* 0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch
* 0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
* 0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
This next patch was added to the set of patches that make LTP
build with musl:
* 0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch
(From OE-Core rev: 331b08516b9b15b9d50d6cade3c9a676bdcefef2)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, we can't build meson into SDKs because we don't autogenerate
the required meson.cross file.
Enable this by using the post-relocate hooks and generating a
meson.cross file based on the SDK environment passed into the
post-relocate hook.
(From OE-Core rev: aabb846b165fec218024a7a57f3c9fdaa2514179)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patches to enable meson to handle being wrapped with a shell script. This
will enable us to do so for supporting the SDK, which requires us to setup env
vars and point to a meson.cross file inside the SDK.
These patches are all merged upstream, so we can drop them soon.
(From OE-Core rev: f80567874c8c30e43d39599dd73dd4a67eff8103)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's useful for the post-relocate scripts to be able to see the SDK
environment, for example to see the values of CC, CXX etc. in order to
dynamically generate toolchain files.
To enable this, source the SDK environment script prior to calling the
relocate scripts.
(From OE-Core rev: adcf69ee3310171580c28e141fec6997b1f06da4)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if a post-relocate script fails, it fails silently. We should
be louder about this, as it likely indicates a broken SDK.
Print a message if a post-relocate script fails.
(From OE-Core rev: 369b5f3f98f8455c79731621cc669ad1948e2022)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, we look only for scripts matching *.sh, which means we can't
write post-relocate scripts in other languages.
Expand this to allow any type of script.
(From OE-Core rev: 5569a6ec6d3c4358719350cac88afa69a76097a8)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A function is uses a mix of spaces and tabs. The rest of the file
uses tabs, so switch to tabs uniformly.
(From OE-Core rev: 693daaac7399a5a7665cd3bcbc915ff93db36db5)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The origins of the patch date back to early 2005 (prior to the start
of git history in oe-core) to fix a hardcoded limit on the maximum
size of remote host keys:
http://familiar.handhelds.narkive.com/b1VGg2bI/problem-w-dropbear-ssh
The hardcoded limit was fixed upstream in dropbear 0.47:
736f370dce
The patch has therefore been obsolete since then. It went unnoticed
until now as the patch has continued to apply - it modifies a value
which is not used.
(From OE-Core rev: 17072ffc1e765edd45bc1174378fb666185e5643)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: 1d4f8b0b3f30f27b19fc91638d8d00e9545c1270)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: 08c9db07560b85dc24f27e2aa1542b17101751e5)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As I will be leaving Intel, this address will no longer be valid,
so swap it for my personal one for now.
(From OE-Core rev: ea58ff101e28dfda3410de66d775df3d8a1e5a96)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default we now build our own libSDL, so don't ship libsdl in the self-hosted group.
(From OE-Core rev: 992c7023ad42e493f80d2ff4a035944f81140896)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdl1 since qemu-2.12.0 depends on x11 in DISTRO_FEATURES, switch to sdl2
(From OE-Core rev: b90aaf0ca1bd82cca2f13164407881c53f15739c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop "fdt sdl" listed twice in PACKAGECONFIG
* keep all 3 disabled by default
* spice, usbredir recipes will eventually be in meta-networking layer
(you can use jansa/spice branch from meta-openembedded-contrib repository)
* virglrenderer recipe will eventually be in oe-core layer
(you can use jansa/qemu branch from openembedded-core-contrib repository)
(From OE-Core rev: ebb6ef1dbc7e03a4b7030b3056bd0fa59fdd047b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* drop patches which are now included upstream
* revert "linux-user: fix mmap/munmap/mprotect/mremap/shma" which is
causing
0010-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch
to stop working and qemu-i386 hanging during gobject-introspection in
webkitgtk when building for qemux86 with musl
(From OE-Core rev: e9d6e09bb51a857ce248f45124548d338a350ba1)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support for variables suffixed with package names, e.g., PKGV_foo, was
removed in commit 3d2c87c4, which broke support for recipes that set
other versions on their packages than what is in ${PV}.
(From OE-Core rev: 38f8284212370999e1e7b0f6559f7cd786e80d1a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, when dropbear was started via its init script, relocation
of DROPBEAR_RSAKEY_DIR to support read-only rootfs was handled at
run time from within the init script.
Update the init script to take advantage of the read-only rootfs
config setup by read_only_rootfs_hook() and therefore be consistent
with startup under systemd (where relocation of DROPBEAR_RSAKEY_DIR
is handled by the read_only_rootfs_hook() at build time).
(From OE-Core rev: 4990f87b2f6a8b30c8d1c767636e7f5527f595ba)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the maximum number of open file descriptors is much greater than the
usual 1024 (for example inside a Docker container), the performance
drops significantly.
This was reported upstream in:
https://bugzilla.redhat.com/show_bug.cgi?id=1537564
which resulted in:
https://github.com/rpm-software-management/rpm/pull/444
The pull request above has now been integrated and this commit contains
a backport of its three patches, which together change the behavior of
rpm so that its performance is now independent of the maximum number of
open file descriptors.
(From OE-Core rev: 7feed9ccfc4e656c6264f07e13d7e9ef69bdfb06)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 6f1822e5f1eaafd8bc46e999de730c1fcca77f3a.
This patch only solved a part of the problem.
(From OE-Core rev: 78c4eb6ea4230a4f9199aa3fa7b84d2aea465b95)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- fix multiple lzma segmentation faults
- patch includes multiple fixing commits
- test-cases have been removed due to binary data
(From OE-Core rev: e865e5056235a9b4e3911d4c734a3ffa71bb9e62)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running testimage task for core-image-sato-sdk, the following
error appeared.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 at position 0: invalid start byte
Checking the codes, I found it's caused by setting a 1024 limit for the
read method of the StreamReader object.
Comments from the manual:
"""
The chars argument indicates the number of decoded code points or bytes to
return. The read() method will never return more data than requested, but
it might return less, if there is not enough available.
"""
When running `systemctl status --full' on target, this error occurs.
This patch increase the bytes limit to 4096 to fix the error.
(From OE-Core rev: f1fad60ae3be4450aca6058d5665fb10a9148b44)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testimage-auto is expected to run testimage task's codes automatically.
But in fact, it's currently missing some codes, including testimage_sanity
and create_rpm_index.
This leads to the problem of unexpected runtime failure of test_dnf_makecache.
The error message is as below.
RESULTS - dnf.DnfRepoTest.test_dnf_makecache - Testcase 1744: ERROR
This error is caused by the fact that create_rpm_index is not executed
before running the tests.
There's no reason why such codes should not be in testimage_main, so
move them into it.
(From OE-Core rev: fa7ba486ded13907f63f9300f66350ba2835a3f7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A list of tools are added to HOSTTOOLS depending on if we inherit
testimage or not. Unfortunately, if we use TEST_IMAGE variable to
automate the test, these tools are not added to HOSTTOOLS.
Modify the condition to also check TEST_IMAGE to fix the above problem.
Also, change to use if...else... instead of list index for such setting.
(From OE-Core rev: 263f8ad612674b0b47cd980212556332c17cb370)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_file_connman should be executed only when 'lib32-connman' is
installed and 'connman' is not installed.
When lib32-connman and connman are both installed, the /usr/sbin/connmand
could be from connman or lib32-connman, depending on the installation
order. What we want to check is the connmand command from lib32-connman,
so we need to make sure that connman is not there to cause chaos.
(From OE-Core rev: bc6839394c06bb695b92b2183337e7381da1e86c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1) The test cases use 'readelf' command to do the check. This command
is from binutils. So skip the test if the needed binutils package is
not installed.
The related error message in log.do_testimage is like below.
Output: sh: readelf: not found
2) The test case tests /lib/libc.so.6 from lib32-libc6. So skip the test
if lib32-libc6 is not installed.
The related error message in log.do_testimage is like below.
Output: readelf: Error: 'lib/libc.so.6': No such file
(From OE-Core rev: eae929a5c224f5c3468d6a0466d1bbb3f678a5a1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case should only run when rpm package is installed.
So skip it if rpm package is not installed. This fixes:
RESULTS - rpm.RpmBasicTest.test_rpm_help - Testcase 1059: FAILED
(From OE-Core rev: bb909a60c04248d015d988e4454f0a11b1c287da)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The var might not be set, resulting in unexpected error.
RESULTS - multilib.MultilibTest.test_check_multilib_libc - Testcase 1593: ERROR
The above error is due to MULTILIBS being not set, which is the default
for OE. This patch fixes this problem.
Also, the debugging message in skipIfNotInDataVar is currently confusing.
Instead of
DEBUG: Checking if 'MULTILIBS' value is in 'multilib:lib32' to run the test
it should be
DEBUG: Checking if 'MULTILIBS' value contains 'multilib:lib32' to run the test
This patch also fixes it.
(From OE-Core rev: 3f5c678664a2bba43d99508779dc2ce227cf52a2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having 'auto' in TEST_SUITES will also run the 'dnf' test cases,
so also check it to determine whether to create rpm index or not.
This is to fix the following error when TEST_SUITES = "auto".
RESULTS - dnf.DnfRepoTest.test_dnf_makecache - Testcase 1744: ERROR
(From OE-Core rev: c1f4177848d25a9121f2a85da655ee414cd424b1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is to test the behaviour of PACKAGE_FEED_URIS is correct or not.
If it's not even set, it makes no sense to do such test. So skip this
test if PACKAGE_FEED_URIS is not set.
(From OE-Core rev: 37e3d9d91cc0c8d0dac48463a888c692f4648f66)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use 'cls' instead of 'obj' to better reflect that registerDecorator
actually serves as a class decorator.
(From OE-Core rev: e06e4c859e8be5225d80806a2ebe175f0b152fe1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OETestFilter is a subclass of OETestDecorator. It wants to make
use of @abstractmethod decorator. But such decorator requires
metaclass to be ABCMeta to have effect. So add it now to achieve
the designed behaviour.
Comments from python's manual:
"""
Using this decorator requires that the class's metaclass is ABCMeta
or is derived from it.
"""
(From OE-Core rev: 28c4fafb2322ea8c37bcd7710f22f46ef552a902)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current behaviour of TEST_SUITES is very confusing.
setting: TEST_SUITES = ""
result: Execute all test cases.
setting: TEST_SUITES = "some_case_not_exist"
result: Error out with 'Empty test suite' message.
The expected behaviour of TEST_SUITES should be:
1. when 'auto' is in it, execute as many test cases as possible
2. when no valid test case is specified, error out and give user message
The first one is implemented by a previous patch.
The second one is fixed in this patch.
Also add debug message to show test cases to be executed. This is
for easier debugging.
(From OE-Core rev: 909568821fbad8a6a7034b10a2dc349a210fdfc6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In previous OEQA, having 'auto' in TEST_SUITES results in executing
as many test cases as possible.
This behaviour is broken for now. From the codes in core/loader.py,
I can see that it tries to use another keyword 'all'. But in fact,
it does not work.
I've checked the current manual. The manual says using 'auto'.
Below is the current information in manual.
"""
Alternatively, you can provide the "auto" option to have all applicable
tests run against the image.
TEST_SUITES_append = " auto"
"""
So we should restore this behaviour. This patch does so.
Also, output warning message is some module is named as 'auto', as this
is a reserved keyword.
(From OE-Core rev: a65460a063a958cc887c756db5f7ab18e3f5a8c1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that we're able to use the initrd value specified in the wks
file when using grub-efi bootloader with bootimg-efi wic plugin.
Fixes [YOCTO #12689]
(From OE-Core rev: f1d5bb1f21e11714357aff4ae7e52421e3756c5a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of showing that command 'None' was found, show the name of
actual command that wasn't found on the host machine or at the native
sysroot path provided by user.
(From OE-Core rev: 3157ebb131e01e74689b1f87a35278350f315e7d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, $HOME/.local is being added into sys.path in the Python SDK
causing subtle host contamination. Suppress this by exporting
PYTHONNOUSERSITE = "1" as documented in PEP 370.
This issue occurred in the past for python*-native and was fixed
similarly in OE-core commit 8fe9fb4d5a61dcbcb3fc5b9ee0234cc135af873f
("python*native.bbclass: suppress user site dirs").
(From OE-Core rev: 0dc36439cb9fe1cea50bed59da6302f78372a30b)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The native override is specified in two different places, so let's move
it into a function to reduce code duplication.
(From OE-Core rev: c455ec4a12d4966524da9436722476aa2d428765)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let this be dictated by the module parameter value being set by qemu
machine configuration.
(From OE-Core rev: c40b241e8d40c8bc1c9e6065b12e260662f5bba4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When runqemu is invoked with an image type (wic, hddimg etc) as a parameter,
the kernel value and command line parameters from qemuboot.conf
are ignored and not passed to qemu cmdline.
As an example, when using:
$ runqemu wic kvm
It results in no network interface and video mode warnings when qemu is up because
the -kernel and -append options were not passed.
Change qemu conf to use qemux86-directdisk.wks that supplies the kernel parameters
that are appended to the bootloader configuration when generating qemu wic
images instead of relying on qemuboot.conf.
Fixes [YOCTO #12224]
(From OE-Core rev: 3b79d9a78816d2eb70fe54ca6cd086d94c115f05)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We ship the open posix test suite already but it isn't compiled.
Let's build it and make it ready to use on the device.
(From OE-Core rev: 79b22a2539b7dec762523ca544e27b9cce7ee81e)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, ASNEEDED was appended to TARGET_LDFLAGS from
as-needed.inc via tcmode-default.inc and so may not have been enabled
for external toolchain builds or other configurations which over-ride
TCMODE (ie builds which do not include tcmode-default.inc).
Include ASNEEDED in TARGET_LDFLAGS directly from bitbake.conf to
ensure that the optimisation is applied to all builds (and for
consistency with the way that TARGET_LINK_HASH_STYLE is handled).
(From OE-Core rev: 996bcb143cb8755cadb986e084b5f24e3ffdb03b)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Re-apply change, which was previously merged and then reverted to
avoid conflicts with a distcc version update.
(From OE-Core rev: d902a5f72b8a3b3f74e7716cc967fa53f8751b68)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Usually, the debugfs' (-dbg.tar.*) work follow is:
1) Install regular rootfs to dir_foo
2) Install debugfs (-dbg.tar.*) to the same dir_foo
So we need to allow installing the debugfs on top of the rootfs.
(From OE-Core rev: c54147b286d72d7c4f8ca55a5a62f5d27bd5364a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After installing an image from an iso, booting the system using
the legacy boots makes the grub prompt wait for an enter.
This is not desirable since many of this devices are embedded
devices that should start by them self without user entry.
(From OE-Core rev: f6d85426e48d458d0835d4fd3314ce53ab92bd38)
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package for rtl8168 firmware which is required by Realtek
Ethernet Controller.
(From OE-Core rev: e5315d5d820cb1b164c75a0cab3804f6c69b5ba9)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when powerpc64:
$ bitbake <image> -ctestsdk
[snip]
checking whether printf supports %p... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
test_cvs (oeqa.sdk.buildcvs.BuildCvsTest) ... FAIL
[snip]
The cvs_cv_func_printf_ptr is already in powerpc32-linux.
(From OE-Core rev: cbba73baf94cd0ee99d010abab79140cd5e4b99e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running bitbake command with Python 3.6.5 always result in
import error causing by the change of distutils module.
This patch replaces the method to search executable in PATH by
"/usr/bin/env <command>".
(Bitbake rev: bd9a1b063633af2936ba1dd87b19202424900151)
Signed-off-by: Tzu Hsiang Lin <t9360341@ntut.org.tw>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing the SDK to a non-default path, running "rpm --showrc" from the
sdk will produce the following error:
error: Unable to open /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory.
Fix this by adding wrappers that dynamically export the RPM_CONFIGDIR,
RPM_ETCCONFIGDIR and MAGIC environment variables, pointing to the proper
sdk locations.
(From OE-Core rev: 760103cdaed3e820888d8984ec0b76cfc831d534)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix below errors while pam is enabled on target:
root@qemux86:~# newusers
newusers: PAM: Authentication failure
root@qemux86:~# chpasswd
chpasswd: PAM: Authentication failure
The configs copied from "chgpasswd" which command works with pam.
(From OE-Core rev: f6efc1dbd1f3a0f68ee731ff2b5a5d798ecf2cf8)
Signed-off-by: Hu <yadi.hu@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Correct the command location in ptest scripts such as
update the line "#!/bin/awk -f" to "#!/usr/bin/awk -f" in the
file /usr/lib64/gawk/ptest/test/fcall_exit2.awk belongs
to package gawk-ptest and the line "#!/usr/local/bin/gawk -f"
to "#!/usr/bin/gawk -f" in the file
/usr/lib64/gawk/ptest/test/fnarydel.awk
(From OE-Core rev: 66aa9f1424202a583acd168182ae13ea68e2ab15)
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When 'opengl' is not set in DISTRO_FEATURES, ${libdir}/pkgconfig is an
empty directory and cause installed-vs-shipped error.
(From OE-Core rev: 9e373fec2013c5b2f9297e8f88317628ba9b7dce)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update shadow to change ownership of /var/spool/mail from root:root to
root:mail and permission from 0755 to 0775 just as in most popular
distributions such as fedora and debian(It also set setgid bit in debian
but we don't need it).
(From OE-Core rev: b3ab5fe359c38cdd5cd86cb8ffe076d7a2baac18)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf is failing to build for me since this oe-core commit:
commit 9b38c824961fc9dce51bda95c25dac91a69fc64f
Author: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue Apr 24 11:33:47 2018 +0800
perf: make a copy of kernel source to perf workdir
the problem is that perf sources in kernel older than 4.8 (in my case
4.4) are depending on the "global" include headers outside tools
directory, e.g. swab.h in:
kernel-source/tools$ git grep swab.h
perf/MANIFEST:include/linux/swab.h
perf/MANIFEST:include/uapi/linux/swab.h
perf/util/include/asm/byteorder.h:#include "../../../../include/uapi/linux/swab.h"
this was resolved in 4.8 with:
commit 7e3f36411342a54f1981fa97b43550b8406a3d69
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Mon Jul 18 17:42:16 2016 -0300
perf tools: Remove tools/perf/util/include/asm/byteorder.h
Not used anymore. This also stops include linux/swab.h directly
from the kernel sources, remove that reference from the MANIFEST.
and few more changes to make tools/include more complete and standalone:
tools/include in 4.15:
asm asm-generic linux tools trace uapi
tools/include in 4.4:
asm asm-generic linux tools
but copying the include header even for kernels which don't really
need it doesn't add big overhead, so just copy include to perf sources
for all kernels.
(From OE-Core rev: 19fb2d11a8bb3c6dfdd5edc1b9155d642dc0f5e0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
i2cget, i2cset, i2cdump and i2cdetect may also be provided by Busybox
when CONFIG_I2CGET, CONFIG_I2CSET, CONFIG_I2CDUMP and CONFIG_I2CDETECT
are enabled respectively.
Busybox has a priority of 50.
Prior to the patch building core-image-minimal with
IMAGE_INSTALL_append = " busybox"
IMAGE_INSTALL_append = " i2c-tools"
in local.conf produced the warnings
WARNING: core-image-minimal-1.0-r0 do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target.
WARNING: core-image-minimal-1.0-r0 do_rootfs: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.
Details of the failure are in /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
WARNING: core-image-minimal-1.0-r0 do_rootfs: [log_check] core-image-minimal: found 1 warning message in the logfile:
[log_check] WARNING: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
where log.do_rootfs contained
update-alternatives: Error: not linking /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/usr/sbin/i2cget to /bin/busybox.nosuid since /path/to/poky/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/usr/sbin/i2cget exists and is not a link
and similarly for i2cset, i2cdump and i2cdetect when a workspace layer
created by devtool contained
cat workspace/appends/busybox_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://i2c.cfg"
and
cat workspace/appends/busybox/i2c.cfg
CONFIG_I2CGET=y
CONFIG_I2CSET=y
CONFIG_I2CDETECT=y
CONFIG_I2CDUMP=y
(From OE-Core rev: 391f0fb76c286734cc9be57b825efe02b6999faf)
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was undocumented, and it's better to just always enable
full debug output, as this allows immediate generation of logs
with full diagnostics when things go not as expected.
Also, change the output of dnf from note to debug level; this
does not affect what is written to log file, but does reduce the
verbosity of bitbake -v.
(From OE-Core rev: 9128fd1396729a71b4832a597cf070c2be922d63)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed patch.
Add a patch to correctly set LDFLAGS for one of the libraries and Python bindings.
Add dependencies to build Python bindings
(directly inheriting setuptools3 class does not work,
as the build is Makefile-managed) and a snippet to install them.
Also add a patch to allow specifying where they are installed
(to avoid hardcoded /usr/lib default).
(From OE-Core rev: a2b9834ec9b817e32772ddc27bc6b55fab33670c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we have local.conf included before qemu.inc, and ${DISTRO}.conf
after qemu.inc. They both possibly specify their expected kernel providers.
To let other config files override it in real use, this commit changes
kernel provider assignment to ??= .
(From OE-Core rev: 07e06abeb6b7ae5047c4b70818cd8873302e4940)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dropped 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch,
because an equivalent patch is included in the new release.
License-Update: FSF address updated
(From OE-Core rev: 35076031c76089b9acec9d256ac2b4345f9f918b)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Daniel Stone (3):
drm/atomic: Refuse to add invalid objects to requests
headers: Sync with drm-next
headers: Update README
Dylan Baker (1):
meson: don't use compiler.has_header
Emil Velikov (1):
Revert "libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64"
Eric Engestrom (13):
freedreno: add missing symbols to symbol-check
meson: use pkg-config to detect libatomic_ops
meson: make it easy to add headers to check
meson: detect alloca.h
meson,configure: always define HAVE_OPEN_MEMSTREAM
meson,configure: always define HAVE_VISIBILITY
meson,configure: always define UDEV
meson: replace `if(compiles) have=true` with `have=compiles`
meson,configure: include config.h automatically
meson: drop unneeded dependency to libudev
meson: move line to allow using `config` earlier
meson: drop unnecessary variable
xf86drmMode: merge successive mutually-exclusive #ifs
Gowtham Tammana (1):
omap: add Android build support
Inki Dae (1):
tests: fix memory leak issue
James Zhu (1):
tests/amdgpu: add vce mv tests support and sets
John Stultz (3):
libdrm: intel/Android.mk: Filter libdrm_intel library requirements on x86/x86_64
libdrm: Use readdir instead of readdir_r to avoid build warnings
libdrm: gralloc_handle.h: Fix build issue with Android
Marek Olšák (1):
Revert "amdgpu:support 16 ibs per submit for PAL/SRIOV"
Matt Atwood (1):
Intel: Add a Kaby Lake PCI ID
Michel Dänzer (1):
amdgpu: Deinitialize vamgr_high{,_32}
Paulo Zanoni (1):
intel: add support for ICL 11
Qiang Yu (1):
amdgpu:support 16 ibs per submit for PAL/SRIOV
Rex Zhu (1):
headers: sync up amdgpu_drm.h with drm-next
Rob Clark (2):
freedreno: add fd_pipe refcounting
bump version for release
Rodrigo Vivi (1):
intel/intel_chipset.h: Sync Cannonlake IDs.
Sabre Shao (1):
drm/amdgpu: Remove IB count checking
Satyajit (1):
libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export
Seung-Woo Kim (1):
tests/exynos: remove dead condition
Stefan Schake (1):
android: Add missing include exports
Tomasz Figa (1):
intel: Do not use libpciaccess on Android
Xiaojie Yuan (1):
amdgpu: enlarge the maximum number of cards supported
(From OE-Core rev: 805c362871b1a03fbee941b628f2e8aca0f4bb51)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor release primary fixes are
* get it building with gcc8
* Fixes for riscv64
drop local gcc8 support patch which is not needed now
(From OE-Core rev: b02ac5dd2dc27fe742cb7f20a12090eda3190c84)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wireless-tools have been obsolete and superseded by iw for a very long time.
I've checked that images continue to boot and the graphical connman frontend
is still able to list wireless networks; there is no evidence that
wireless-tools are needed by anything.
[YOCTO #12727]
(From OE-Core rev: f1978b7e1d68bd7813ae048ff9a37716618a473c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to include Paul Gortmaker's latest round of stable updates, which
comprise the following commits:
dc2f71a08d7a Linux 4.12.24
4cab262afa69 iio: adc: ti-ads1015: add 10% to conversion wait time
89f573e6f136 tools include: Do not use poison with C++
d4f418739d68 kprobes/x86: Disable preemption in ftrace-based jprobes
28861253362b perf test attr: Fix ignored test case result
12c60baac963 staging: fsl-mc/dpio: Fix incorrect comparison
43e1cab01765 serial: imx: Update cached mctrl value when changing RTS
6122e955f082 usbip: tools: Install all headers needed for libusbip development
c1fce3e6296c serial: sh-sci: suppress warning for ports without dma channels
444cfc461e20 sysrq : fix Show Regs call trace on ARM
0040e82b1a65 usb: xhci: Return error when host is dead in xhci_disable_slot()
e1667a3749da staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path
7e22cbc6bd55 usb: mtu3: fix error return code in ssusb_gadget_init()
c528464afcea EDAC, sb_edac: Fix missing break in switch
e207a0c6a285 clocksource/drivers/arm_arch_timer: Validate CNTFRQ after enabling frame
c3c5783f9303 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
ca7b446eff2f PCI: dra7xx: Create functional dependency between PCIe and PHY
7897f75fc207 usb: phy: tahvo: fix error handling in tahvo_usb_probe()
c240911c41c3 mmc: sdhci-msm: fix issue with power irq
97227123b5f0 mmc: tmio: check mmc_regulator_get_supply return value
05ce425fa841 spi: spi-axi: fix potential use-after-free after deregistration
42f90afc67e4 spi: sh-msiof: Fix DMA transfer size check
c652d0d523bf staging: rtl8188eu: avoid a null dereference on pmlmepriv
3dc08560ab63 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
d57c00699295 m68k: fix ColdFire node shift size calculation
df74b0c1e0b4 staging: greybus: loopback: Fix iteration count on async path
96be1d656724 x86/entry/64: Don't use IST entry for #BP stack (part #2)
8e3f9a001776 selftests/x86/ldt_get: Add a few additional tests for limits
0d0517d16bc5 s390/pci: do not require AIS facility
778bf06a0661 PM / Domains: Fix genpd to deal with drivers returning 1 from ->prepare()
bd4084ce13d2 s390: vfio-ccw: Do not attempt to free no-op, test and tic cda.
fd6fe520a496 ima: fix hash algorithm initialization
83cd72f27843 usb: host: fix incorrect updating of offset
4ab295bc9cdf USB: usbfs: Filter flags passed in from user space
d8ce9fecf049 USB: Fix off by one in type-specific length check of BOS SSP capability
dc9843bd9e72 USB: core: Add type-specific length check of BOS descriptors
ab95f86f0fac usb: xhci: fix panic in xhci_free_virt_devices_depth_first
c1b551b8718a xhci: Don't show incorrect WARN message about events for empty rings
8412154c096c USB: ulpi: fix bus-node lookup
10d2d61bff44 usb: hub: Cycle HUB power when initialization fails
da44857edd20 powerpc/kprobes: Fix call trace due to incorrect preempt count
67482fcb1f0a powerpc/kprobes: Disable preemption before invoking probe handler for optprobes
6f745a984365 powerpc/jprobes: Disable preemption when triggered through ftrace
3fefceeaca8e USB: serial: usb_debug: add new USB device id
9c971e7d3a9f USB: serial: option: add Quectel BG96 id
cc01c484eee9 serial: 8250_pci: Add Amazon PCI serial device ID
d16393b7a9d8 usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
7a0ac9cc347c uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
52c2b20403f0 s390/runtime instrumentation: simplify task exit handling
04dd38b88979 drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
f363e7cdb4f6 drm/fsl-dcu: avoid disabling pixel clock twice on suspend
2845e7d136c8 drm/i915: Prevent zero length "index" write
79413d6f2f6f drm/i915: Don't try indexed reads to alternate slave addresses
f5cc8d6842e6 drm/i915/gvt: Correct ADDR_4K/2M/1G_MASK definition
1fab446c5b5a drm/i915: Fix false-positive assert_rpm_wakelock_held in i915_pmic_bus_access_notifier v2
708262ebbebc md: forbid a RAID5 from having both a bitmap and a journal.
40219fc4a45b e1000e: fix the use of magic numbers for buffer overrun issue
9bbd7fc437e0 include/linux/compiler-clang.h: handle randomizable anonymous structs
13782a203fb8 drm/amd/pp: fix typecast error in powerplay.
dd1ab1b7a09e drm/ttm: once more fix ttm_buffer_object_transfer
1e1df0b0eb71 drm/hisilicon: Ensure LDI regs are properly configured.
e10ca648a294 drm/panel: simple: Add missing panel_simple_unprepare() calls
28fb6325953c drm/radeon: fix atombios on big endian
0f7ff143e866 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
00debaff36fb drm/amdgpu: Remove check which is not valid for certain VBIOS
53543b5a5062 drm/amdgpu: Properly allocate VM invalidate eng v2
6095ee5e76ed drm/amdgpu: correct reference clock value on vega10
8544b664f20e Revert "drm/radeon: dont switch vt on suspend"
3b28b8cd6364 nvme-pci: add quirk for delay before CHK RDY for WDC SN200
2c1ae94e88ee hwmon: (jc42) optionally try to disable the SMBUS timeout
8fcaaeed325c bcache: recover data from backing when data is clean
027fe49240fa bcache: only permit to recovery read error when cache device is clean
3746f4374ee2 bcache: Fix building error on MIPS
72ea117f664e cxl: Check if vphb exists before iterating over AFU devices
8ee52dd3b01a i2c: i801: Fix Failed to allocate irq -2147483648 error
ab7ae0720406 eeprom: at24: check at24_read/write arguments
1025c12d637b eeprom: at24: correctly set the size for at24mac402
32aba2ddc564 eeprom: at24: fix reading from 24MAC402/24MAC602
ec5216d0e845 mmc: core: prepend 0x to OCR entry in sysfs
a64429e1d089 mmc: core: prepend 0x to pre_eol_info entry in sysfs
32f6d6221e55 mmc: core: Do not leave the block driver in a suspended state
fa455ca7acc6 arm64: module-plts: factor out PLT generation code for ftrace
d9c2c353dc61 s390: revert ELF_ET_DYN_BASE base changes
5c10828c07be lockd: lost rollback of set_grace_period() in lockd_down_net()
91ed144855d5 crypto: skcipher - Fix skcipher_walk_aead_common
0ff5af74c047 nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
b187299249a2 nfsd: Fix another OPEN stateid race
2e36e8a92541 nfsd: Fix stateid races between OPEN and CLOSE
237c8c16013d btrfs: clear space cache inode generation always
e6eedfd1ca3f mm/hugetlb: fix NULL-pointer dereference on 5-level paging machine
b19cd2bae194 autofs: revert "autofs: take more care to not update last_used on path walk"
9c0369beda80 device-dax: implement ->split() to catch invalid munmap attempts
0d73cfed1391 platform/x86: hp-wmi: Fix tablet mode detection for convertibles
(From OE-Core rev: 5f5603c33368d7b0143aeb77a95bed90bb92cb51)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the -dev kernel to v4.17+. We also tweak the License checksum
in the -dev kernel since SPDX headers have been inserted upstream and
that has changed the hash value.
(From OE-Core rev: 851734af3ddf19c92e7c82c321adf9da988746b5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable updates from Paul Gortmake that comprise the following
commits:
6e83f40c507e Linux 4.12.23
55e376304f1b e1000e: fix buffer overrun while the I219 is processing DMA transactions
3882bb678dd8 e1000e: Fix return value test
167170375055 e1000e: Fix error path in link detection
47722947f954 ARM64: dts: meson-gxl: Add alternate ARM Trusted Firmware reserved memory zone
1dbaaa42b464 media: v4l2-ctrl: Fix flags field on Control events
c7c9d8c465d7 [media] cx231xx-cards: fix NULL-deref on missing association descriptor
6ee1ead888a3 media: rc: check for integer overflow
6f70063599b3 media: Don't do DMA on stack for firmware upload in the AS102 driver
ef4c54828c1d powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary
d308f45eb9e7 powerpc/64s/hash: Fix fork() with 512TB process address space
61c9dab21d03 powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case allocation
40744bdf965e powerpc/64s/hash: Fix 512T hint detection to use >= 128T
c5866bd94f03 powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case allocation
49e9f537eb43 powerpc/signal: Properly handle return value from uprobe_deny_signal()
fb991189ca1f parisc: Fix validity check of pointer size argument in new CAS implementation
ae519d5e90b9 ixgbe: Fix skb list corruption on Power systems
2a827971bc99 fm10k: Use smp_rmb rather than read_barrier_depends
b1222f423f70 i40evf: Use smp_rmb rather than read_barrier_depends
61d3820d1146 ixgbevf: Use smp_rmb rather than read_barrier_depends
8c40cc266d42 igbvf: Use smp_rmb rather than read_barrier_depends
d05a14e4483e igb: Use smp_rmb rather than read_barrier_depends
9062b3d8fadd i40e: Use smp_rmb rather than read_barrier_depends
bb0ddf274e82 spi-nor: intel-spi: Fix broken software sequencing codes
11604df811a9 IB/srp: Avoid that a cable pull can trigger a kernel crash
7a2f561b9470 IB/hfi1: Fix incorrect available receive user context count
305382ae2297 IB/cm: Fix memory corruption in handling CM request
9792edc692f1 IB/CM: Create appropriate path records when handling CM request
0624d71dcd6f IB/srpt: Do not accept invalid initiator port names
ff4035fcfb4d svcrdma: Preserve CB send buffer across retransmits
f18fd397f0c1 libnvdimm, namespace: make 'resource' attribute only readable by root
91d9aa084602 libnvdimm, region : make 'resource' attribute only readable by root
ea9427658840 libnvdimm, namespace: fix label initialization to use valid seq numbers
c0bcae085da8 libnvdimm, pfn: make 'resource' attribute only readable by root
aa91e16e2756 libnvdimm, dimm: clear 'locked' status on successful DIMM enable
eca24c2a944d clk: ti: dra7-atl-clock: fix child-node lookups
104ab8491706 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
a6579fafe2b9 dax: fix general protection fault in dax_alloc_inode
b4f77dd3db27 dax: fix PMD faults on zero-length files
12b2a43aa1b0 lockd: double unregister of inetaddr notifiers
f2fa2903113c irqchip/gic-v3: Fix ppi-partitions lookup
c08ddb437ddb genirq: Track whether the trigger type has been set
fc12863e2ba3 raid1: prevent freeze_array/wait_all_barriers deadlock
3c56a460c8bf block: Fix a race between blk_cleanup_queue() and timeout handling
1e28e345115e p54: don't unregister leds when they are not initialized
937209dd49f8 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush sequence
73d36ccc25ad mtd: nand: mtk: fix infinite ECC decode IRQ issue
886c51dad821 mtd: nand: Fix writing mtdoops to nand flash.
684797376fd0 mtd: nand: omap2: Fix subpage write
b58d7cba2730 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
8412e7db941c target: Fix quiese during transport_write_pending_qf endless loop
7c302f595f4b target: Fix caw_sem leak in transport_generic_request_failure
cc36f84ff1f0 target: Fix QUEUE_FULL + SCSI task attribute handling
41411af9e8ad target: fix null pointer regression in core_tmr_drain_tmr_list
8734ebeb8106 iscsi-target: Fix non-immediate TMR reference leak
2e2bc1186a08 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
6de2abbd4c31 scsi: lpfc: Fix oops if nvmet_fc_register_targetport fails
2000b870234f scsi: lpfc: Fix FCP hba_wqidx assignment
01f0e334995a scsi: lpfc: Fix crash receiving ELS while detaching driver
020ccb98ef75 scsi: lpfc: fix pci hot plug crash in list_add call
9b58a782f5a4 scsi: lpfc: fix pci hot plug crash in timer management routines
e316d92e10ac scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics()
f98e27e575f1 net/9p: Switch to wait_event_killable()
8be417a79efc fs/9p: Compare qid.path in v9fs_test_inode
2e349fe9c2bb fix a page leak in vhost_scsi_iov_to_sgl() error recovery
c0697b079ae5 mfd: lpc_ich: Avoton/Rangeley uses SPI_BYT method
2ace5971b1c1 ASoC: sun8i-codec: Set the BCLK divider
c7316d6679de ASoC: sun8i-codec: Fix left and right channels inversion
2eb91e439cdf ASoC: sun8i-codec: Invert Master / Slave condition
0a116d482fa8 ALSA: hda/realtek - Fix ALC700 family no sound issue
1505048e3ff8 ALSA: hda: Fix too short HDMI/DP chmap reporting
1a1f798bfb30 ALSA: timer: Remove kernel warning at compat ioctl error paths
1051d7755bda ALSA: usb-audio: Add sanity checks in v2 clock parsers
199cd7823763 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
cf7d9d2b53dc ALSA: usb-audio: Add sanity checks to FE parser
aba17bf44d13 ALSA: pcm: update tstamp only if audio_tstamp changed
29259072ec04 ext4: prevent data corruption with journaling + DAX
97da4f9039cb ext4: prevent data corruption with inline data + DAX
5ddf166442c3 ext4: fix interaction between i_size, fallocate, and delalloc after a crash
9ed0b612fb77 ata: fixes kernel crash while tracing ata_eh_link_autopsy event
9d238de93426 fsnotify: fix pinning group in fsnotify_prepare_user_wait()
5b981d854914 fsnotify: pin both inode and vfsmount mark
91b0d40827a2 fsnotify: clean up fsnotify_prepare/finish_user_wait()
99a127e4a587 md/bitmap: revert a patch
b11cb870192e Bluetooth: btqcomsmd: Add support for BD address setup
cd4c4ed7d2a0 md: don't check MD_SB_CHANGE_CLEAN in md_allow_write
96e829f152c7 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
7d43a23c6689 rtlwifi: rtl8192ee: Fix memory leak when loading firmware
ef7cb0278073 nfsd: deal with revoked delegations appropriately
b6996af90c58 NFS: revalidate "." etc correctly on "open".
76d4c8adb264 NFS: Avoid RCU usage in tracepoints
78e607a16574 nfs: Fix ugly referral attributes
43f950f570f7 NFS: Revert "NFS: Move the flock open mode check into nfs_flock()"
52e54c5dc1d3 NFS: Fix typo in nomigration mount option
930ac0de39d5 isofs: fix timestamps beyond 2027
70fb63a15260 fanotify: fix fsnotify_prepare_user_wait() failure
568131ebc640 bcache: check ca->alloc_thread initialized before wake up it
4739cc25fe6a libceph: don't WARN() if user tries to add invalid key
f5e35be74237 eCryptfs: use after free in ecryptfs_release_messaging()
8fa715eede18 fscrypt: lock mutex before checking for bounce page pool
e880aa103552 nilfs2: fix race condition that causes file system corruption
0eb9f2d0c80d autofs: fix careless error in recent commit
7724ca25f299 autofs: don't fail mount for transient error
020cd1b07344 rt2x00usb: mark device removed when get ENOENT usb error
728ec449a62c MIPS: math-emu: Fix final emulation phase for certain instructions
e67e9e160afb MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
b7fc80471672 MIPS: Fix an n32 core file generation regset support regression
695a30121f31 MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry
649b942f5f21 dm: discard support requires all targets in a table support discards
9a77250fe32f dm: fix race between dm_get_from_kobject() and __dm_destroy()
0f222c2c6239 MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver
badd13d39a0d dm: allocate struct mapped_device with kvzalloc
1ea71c17d132 ovl: Put upperdentry if ovl_check_origin() fails
20f908eac772 dm bufio: fix integer overflow when limiting maximum cache size
21e0f5780760 dm mpath: remove annoying message of 'blk_get_request() returned -11'
84370754991c dm crypt: allow unaligned bv_offset
c27aa7e405c2 dm cache: fix race condition in the writeback mode overwrite_bio optimisation
463a9e155dab dm integrity: allow unaligned bv_offset
fa7ebbb65fac ALSA: hda: Add Raven PCI ID
571d0222e808 PCI: Apply Cavium ThunderX ACS quirk to more Root Ports
86602f1c5aac PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF
fc037283c8a7 PCI/ASPM: Use correct capability pointer to program LTR_L1.2_THRESHOLD
f56bf6a0bd36 PCI/ASPM: Account for downstream device's Port Common_Mode_Restore_Time
03a249b08df1 PM / OPP: Add missing of_node_put(np)
2c1211c2edc9 nbd: don't start req until after the dead connection logic
01d54a192605 nbd: wait uninterruptible for the dead timeout
7bc2c995f8db net: mvneta: fix handling of the Tx descriptor counter
504d2a22b3af MIPS: ralink: Fix typo in mt7628 pinmux function
2f51d995b2b7 MIPS: ralink: Fix MT7628 pinmux
55cc724a945f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
884c853ff37b ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
c6a032594344 arm64: Implement arch-specific pte_access_permitted()
8420a2afdea5 x86/entry/64: Fix entry_SYSCALL_64_after_hwframe() IRQ tracing
95f53ae99256 lib/mpi: call cond_resched() from mpi_powm() loop
a5d620687584 sched: Make resched_cpu() unconditional
188ec06978ac serdev: fix registration of second slave
9a6630779ac1 cpufreq: schedutil: Reset cached_raw_freq when not in sync with next_freq
12da4fd9af22 ACPI / EC: Fix regression related to triggering source of EC event handling
1925155cbaf8 s390/disassembler: correct disassembly lines alignment
3bbfc892e348 s390/disassembler: increase show_code buffer size
f2dd6d7f4453 s390/disassembler: add missing end marker for e7 table
e4d2498802cf s390/guarded storage: fix possible memory corruption
c1de5b04dff3 s390/runtime instrumention: fix possible memory corruption
1156f0d1e7b9 s390/noexec: execute kexec datamover without DAT
893ce3be12b7 s390: fix transactional execution control register handling
e883dcdf2291 lguest: disable it vs. removing it.
40bda3ef7bfd x86/entry/64: Don't use IST entry for #BP stack
7414e2e34e6f kvm/x86: fix icebp instruction handling
32ec5903cbbe perf/hwbp: Simplify the perf-hwbp code, fix documentation
cc46dc546e06 media: usbtv: prevent double free in error case
ffe911e1acac ALSA: seq: Make ioctls race-free
(From OE-Core rev: cd10e3be03a5c7c8c0e376c3e35fcba6d064a6db)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker released another 4.12-stable that comprises the following
changes:
23dcfbfbca0a Linux 4.12.22
d4879ce5efb7 arm64: Kill PSCI_GET_VERSION as a variant-2 workaround
77915e1a7544 arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
b06fbedb6e14 arm/arm64: smccc: Implement SMCCC v1.1 inline primitive
1f400b388a20 arm/arm64: smccc: Make function identifiers an unsigned quantity
f5d3afa3aecc firmware/psci: Expose SMCCC version through psci_ops
4c69d3a66e60 firmware/psci: Expose PSCI conduit
cfec930a45f8 arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
9e9697733818 arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
2a8574eb6e3f arm/arm64: KVM: Turn kvm_psci_version into a static inline
2c79f828dfed arm64: KVM: Make PSCI_VERSION a fast path
042626a87234 arm/arm64: KVM: Advertise SMCCC v1.1
48a9e563e528 arm/arm64: KVM: Implement PSCI 1.0 support
28283de68052 arm/arm64: KVM: Add smccc accessors to PSCI code
33d47367626b arm/arm64: KVM: Add PSCI_VERSION helper
82ca1dcebf95 arm/arm64: KVM: Consolidate the PSCI include files
efb7c6b5b7f9 arm64: KVM: Increment PC after handling an SMC trap
b720b7837ed8 arm64: Branch predictor hardening for Cavium ThunderX2
6f2750c7a1c9 arm64: Implement branch predictor hardening for Falkor
b56fa11959a7 arm64: Implement branch predictor hardening for affected Cortex-A CPUs
5eb80f970c49 arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75
cf45e77d8106 arm64: entry: Apply BP hardening for suspicious interrupts from EL0
e9c2f25bf62d arm64: entry: Apply BP hardening for high-priority synchronous exceptions
b4f51ebd0fc3 arm64: KVM: Use per-CPU vector when BP hardening is enabled
e8f7c5ba8c70 arm64: Move BP hardening to check_and_switch_context
e2c124fa14e1 arm64: Add skeleton to harden the branch predictor against aliasing attacks
ddd305f0fdf8 arm64: Move post_ttbr_update_workaround to C code
204d987e7143 drivers/firmware: Expose psci_get_version through psci_ops structure
8880e6380d91 arm64: cpufeature: Pass capability structure to ->enable callback
48017c15187b arm64: Run enable method for errata work arounds on late CPUs
cf64258fb122 arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early
7d550f8cb119 arm64: futex: Mask __user pointers prior to dereference
b9d01590df34 arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user
1b74ca827ed3 arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user
41b08b7c365b arm64: uaccess: Prevent speculative use of the current addr_limit
1736debe11ef arm64: entry: Ensure branch through syscall table is bounded under speculation
84e4780beea5 arm64: Use pointer masking to limit uaccess speculation
d77d4c9aa433 arm64: Make USER_DS an inclusive limit
b96ab81a6468 arm64: Implement array_index_mask_nospec()
21eb21937d8e arm64: barrier: Add CSDB macros to control data-value prediction
da1217a79997 arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives
c20b48f5b7a3 arm64: entry: Reword comment about post_ttbr_update_workaround
15d4d37f7709 arm64: Force KPTI to be disabled on Cavium ThunderX
3489abd67e33 arm64: kpti: Add ->enable callback to remap swapper using nG mappings
b154d9be8c6f arm64: mm: Permit transitioning from Global to Non-Global without BBM
1610bb019302 arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0()
250a3a64585f arm64: Turn on KPTI only on CPUs that need it
32da2aa26b97 arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs
93d290bbe8f1 arm64: kpti: Fix the interaction between ASID switching and software PAN
923618230c12 arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR
51218390beb6 arm64: capabilities: Handle duplicate entries for a capability
630cf7161fca arm64: Take into account ID_AA64PFR0_EL1.CSV3
4b7ebe5c3644 arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry
e09f32469091 arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0
8202169d678a arm64: use RET instruction for exiting the trampoline
414d9eabda3d arm64: kaslr: Put kernel vectors address in separate data page
fce92f180168 arm64: entry: Add fake CPU feature for unmapping the kernel at EL0
83584a583bff arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks
4732b98b6400 arm64: cpu_errata: Add Kryo to Falkor 1003 errata
85dacaa58475 arm64: erratum: Work around Falkor erratum #E1003 in trampoline code
bb0fa2f9cece arm64: entry: Hook up entry trampoline to exception vectors
df7f7308d5f0 arm64: entry: Explicitly pass exception level to kernel_ventry macro
14bcc912ca7e arm64: mm: Map entry trampoline into trampoline and kernel page tables
c30f47afaa64 arm64: entry: Add exception trampoline page for exceptions from EL0
21b891bf770f arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
09e8df92ba8e arm64: mm: Add arm64_kernel_unmapped_at_el0 helper
6832da386e60 arm64: mm: Allocate ASIDs in pairs
bfd2ff25b585 arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN
1e4477930e5e arm64: mm: Rename post_ttbr0_update_workaround
1e1890551573 arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003
0223b2589432 arm64: mm: Move ASID from TTBR0 to TTBR1
9fe82f4ebdc3 arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN
199f832ebf00 arm64: mm: Use non-global mappings for kernel space
e9b0e14af7e3 arm64: move TASK_* definitions to <asm/processor.h>
cab5207f57fd brd: remove unused brd_mutex
7522521435a4 arm/syscalls: Optimize address limit check
797f169015c5 Revert "arm/syscalls: Check address limit on user-mode return"
3056c8f5be3a syscalls: Use CHECK_DATA_CORRUPTION for addr_limit_user_check
74116ef5625a arm64: add VMAP_STACK overflow detection
0d82fd80a2d1 arm64: add on_accessible_stack()
c38502bc1472 arm64: add basic VMAP_STACK support
c3a53247c1ff arm64: use an irq stack pointer
73dcb6d84040 arm64: assembler: allow adr_this_cpu to use the stack pointer
344a8e142697 arm64: factor out entry stack manipulation
59c4a6fb5606 efi/arm64: add EFI_KIMG_ALIGN
1a5300c6063f arm64: move SEGMENT_ALIGN to <asm/memory.h>
3969d302c52f arm64: clean up irq stack definitions
f030f0edba48 arm64: clean up THREAD_* definitions
1f3c78245a4a arm64: factor out PAGE_* and CONT_* definitions
8a5bc40e0c93 arm64: kernel: remove {THREAD,IRQ_STACK}_START_SP
deba543af0b8 fork: allow arch-override of VMAP stack alignment
774f64ce7b0f arm64: remove __die()'s stack dump
7342855775d5 arm64: unwind: remove sp from struct stackframe
553dbcbcff1d arm64: unwind: reference pt_regs via embedded stack frame
926b0fe43412 arm64: unwind: disregard frame.sp when validating frame pointer
da32ad8b5c11 arm64: unwind: avoid percpu indirection for irq stack
eac4e8ecdd77 arm64: move non-entry code out of .entry.text
b341e176374e arm64: consistently use bl for C exception entry
3cdad1f0b9d0 arm64: Add ASM_BUG()
01ace65c9150 arm64/vdso: Support mremap() for vDSO
8050b6ba63cb arm64: Handle trapped DC CVAP
0ee09d69dc93 arm64: Expose DC CVAP to userspace
704046e3e554 arm64: Convert __inval_cache_range() to area-based
b40935f19c73 arm64: mm: Fix set_memory_valid() declaration
29530b5b549e arm64: Abstract syscallno manipulation
f9f1c9d7d767 arm64: syscallno is secretly an int, make it official
ab69949ffe23 x86/tracing: Build tracepoints only when they are used
03793940e25c x86/tracing: Disentangle pagefault and resched IPI tracing key
2822852ed8a5 x86/idt: Clean up the i386 low level entry macros
d5654eb18f73 x86/idt: Remove the tracing IDT completely
0d38071a05e7 x86/smp: Use static key for reschedule interrupt tracing
4ef6e0f37891 x86/smp: Remove pointless duplicated interrupt code
40b216cec86d x86/mce: Remove duplicated tracing interrupt code
03f41cf538fd x86/irqwork: Get rid of duplicated tracing interrupt code
418b9a493901 x86/apic: Remove the duplicated tracing versions of interrupts
5be95f8dfffe x86/irq: Get rid of duplicated trace_x86_platform_ipi() code
bd936c5d828a x86/apic: Remove the duplicated tracing version of local_timer_interrupt()
f4971407abbb x86/traps: Simplify pagefault tracing logic
2f436623b2c3 x86/tracing: Introduce a static key for exception tracing
4395735bf0a9 arm64/syscalls: Check address limit on user-mode return
3e1d12839e05 arm/syscalls: Check address limit on user-mode return
649cd48799ef x86/syscalls: Check address limit on user-mode return
8fe35f321cd3 audit: fix memleak in auditd_send_unicast_skb.
4b1e889a4dd0 arm64: ptrace: Flush user-RW TLS reg to thread_struct before reading
75a382c72d50 arm64: Add dump_backtrace() in show_regs
(From OE-Core rev: 9edeb4733e4a49d11febadc0e282c68c05e39575)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to skip this testcase when gettext is not available. Otherwise,
we will have the following error at configure.
error: possibly undefined macro: AM_NLS
(From OE-Core rev: ccc10e95c9fcdabcf4ae5e6f9cc34c1d632b4654)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One of the uses of externalsrc is to enable iterative editing and
rebuilding of source files during development. In such situations,
disabling Automake dependency tracking can lead to sources not being
rebuilt even though files they depend on have been modified.
(From OE-Core rev: af2f802d5b59203a887982af83252565b8078085)
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>
autotools.bbclass adds --disable-dependency-tracking to the configure
command line by default, so there's no need for individual recipes to
do so.
Also make some minor recipe formatting cleanups.
(From OE-Core rev: 2f0f9b7f0b209798a74ee7fc8eafde5a109364b9)
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>
autotools.bbclass adds --disable-dependency-tracking to the configure
command line by default, so there's no need for individual recipes to
do so.
(From OE-Core rev: 14910c5a215f434b2df47ca38902192f04f6b38a)
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>
Replace the previous (incomplete) workaround with better solution
backported from upstream.
(From OE-Core rev: b038a6e418d723a0a413219e9882cdd7f3804625)
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>
* update to version 3.3
* Remove 0001-zeroconf-Include-fcntl.h.patch since it's
included in v3.3
* Add update-distcc-symlinks into FILES.
(From OE-Core rev: dea59aab5d785d4f892cc26a8ea06eb4a6c554b3)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* Correct upstream SRC_URI and SRCREV to v3.3
* Correct default to fix starting distccd service failed
It caused by upstream commit:
920e8b922a
...
commit 920e8b922addea8c54e68cc29c1416753f532f78
Author: Shawn Landden <slandden@gmail.com>
Date: Mon Feb 26 11:29:14 2018 -0800
daemon: warn when masquerade is not setup
...
Add option --make-me-a-botnet to disable the warning.
* Use localhost to replace 192.168.7.0/24 which is inappropriate for runqemu slirp.
[YOCTO #12741]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had to update the figure to use "Upstream Source" labels and
fix a wrong "devtool edit-recipe" command. That new figure went into
both figures folders for the sdk-manual and mega-manual areas.
Provideds some cleaner wording.
(From yocto-docs rev: 6225d04dd0551a840d929b752225064a222962bc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the way we handle the list of exported variables resulting
from running the *.sh installation script. Rather than list them
all out (they were getting to be quite numerous), I am referencing a
few as examples and recommending the user look at the actual *.sh file
if they would like to examine the entire list.
(From yocto-docs rev: ce2c1491f4f0991cad5f8d4a220a102adb024624)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some Minor edits to this section. Also, a scrub of the list of variables
exported when running the install script. The list is out of date and
is missing many variables. I noted these in comments for now and will
add them in later.
(From yocto-docs rev: 739a2ca42ee798625492ddb51a32ad09f80aa960)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The text had not been updated to include the many architectures
now supported in the Index of Releases toolchain directories.
I added the list of architectures.
Renamed the section to a more appropriate section heading.
Verified the example and put in the latest output.
(From yocto-docs rev: a567f5101d230ef1fa4428e9c6905e9e23bd5855)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12628]
The syntax for MACHINE_EXTRA_RRECOMMENDS was off in the machine.conf
example. I have removed that leading space, which should not have
been there. This matches the actual file in poky now.
(From yocto-docs rev: 11e38c4c2b23f9a8ae9a0655a07af1a5682c24b8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter only had the stuff about submitting a defect against
YP and making a change to YP. I moved that information into the
common tasks chapter as it is "how-to" information. Removal of this
chapter alse required that the mega-manual.xml file be updated to
not include the chapter.
(From yocto-docs rev: 4421b1585c21a6f7862525ba972f7e765626066e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Renamed to "Speeding Up a Build" and moved out of the setting up
chapter to the common tasks chapter. Fixed a couple links in the
ref-manual.
(From yocto-docs rev: c53fddd353230c8ef1abc21c7a2d2b1f492f034a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now organized under the parent "Building" section in
the common tasks chapter.
(From yocto-docs rev: bc1bc9965cda547e45ff09a1c9e77be5e8c0a3d9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now organized inside the parent "Building" section
in the common tasks chapter.
(From yocto-docs rev: 71be83e1ebfd2ad8606bddf852a4c06ab7d7c53d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section is now part of the building parent section. I have moved
it there in the common tasks chapter.
(From yocto-docs rev: a9fccb1bca8e18169d93416c7a6e17723bcf01c7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section now belongs under the parent "building" section in the
common tasks chapter.
(From yocto-docs rev: dad6029b9b45fd6ec564894ba101991fd8a2162e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a "building" topic. I moved it beneath the new parent
"building" section.
(From yocto-docs rev: 0426f0dd6871c8063476945b93743ffc5cfc0856)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I had a section on building an image up in chapter that talks about
getting set up to use YP. I moved the build section to a new parent
section that will hold topics on building various things. I renamed
the section to "Building a Simple Image". I had to fix several links
in the sdk-manual, overview-manual, and dev-manual.
(From yocto-docs rev: c119fc7c6148e7b08acad374fe2981842e9462a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed to "Locating Yocto Project Source Files". I am moving the
sections on cloning repositories out from under this section.
(From yocto-docs rev: 3889aadab9b603097b6cc5b7afb9d0066021106c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Setting Up the Development Host to Use the Yocto Project" title
changed to "Preparing the Build Host". Fixed links in a lot of
other manual.
(From yocto-docs rev: 00e487e01a0e2a16f5b8d786b3124cbe5115b38b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was in the chapter on the open source development
environment. It is better suited to be in a newly named chapter
"Setting Up to Use the Yocto Project". I have moved it.
(From yocto-docs rev: 028f8f7a1b93a023a99ffadb01b0da699b4081c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The chapter was not the best given the new nature of the manual. I added
better introductory wording.
(From yocto-docs rev: cb4695575c0105e0cd5e50c2132e98553babe147)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section on licensing in the overview-manual was really "how-to"
information. I moved this to a new section in the dev-manual for
"working with licenses". I fixed some references in the ref-manual and
in the bsp-guide as well.
(From yocto-docs rev: f150a1ea2da900aae88fc5fa60f4115cc213ba2d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12517]
Added some qualifying information for how to generate a list of tap
devices to enable runtime tests on QEMU.
(From yocto-docs rev: 4359a355944f6cf4ec1e14ecbedc690ef37ff743)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Wayland and Weston topic moved from the overview-manual to
the dev-manual. The topic was really a "how-to" topic and not
a concepts topic.
(From yocto-docs rev: b0f20a67c99590c48d595f4e572339bb5b6b83b3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Wayland and Weston topic moved from the overview-manual to the
dev-manual. The lone link to this topic was in the ref-images
chapter. I updated the link.
(From yocto-docs rev: 6c335f8d3618e3285f91fe20aea33a1c1f1c0ddf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two sections at the end of the shared state concepts section
in the overview-manual are really task sections. I took those
and created a couple new sections in the dev-manual to house
those topics.
(From yocto-docs rev: 86382e7873d796f44554c8e04d3bd8091d350f51)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed "OpenEmbedded" in the string "OpenEmbedded build system."
(From yocto-docs rev: d44b370b0fb993c32c9dfe3515188fa9e7ff2437)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the line with "stamp-extra-info" flag to the example from
the deploy.bbclass. This line was missing or it had been added
since the original writing of this section.
(From yocto-docs rev: 50f5482c2132235962d4ab48d0d7263628df1728)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I made some small edits to this section.
(From yocto-docs rev: a2cc355c1bdfbf10f86f8d4994cc81dfb12d8f87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that 2.5 has released, I replaced the ENTITY variable used for
the moving month and year with the actual release month and year
(i.e. May 2018).
(From yocto-docs rev: 2d6e8ddce4fce0c405d2aea69cea2a5b262410f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more realistic information on how this variable is set.
(From yocto-docs rev: 47e6cb7d00eeb8001c4a53c13600feb5ef4d4660)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the descriptions for the SDK_HOST_MANIFEST and
SDK_TARGET_MANIFEST variables.
(From yocto-docs rev: 212d6c5b3290016431604e67dfb27a1408ac0463)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the manifest files to the figure and the associated variables.
Also added the test files.
(From yocto-docs rev: cfba55462d1c37ef2ff6454890da64a40f9c3607)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I needed to add some italic formatting for variable type strings.
(From yocto-docs rev: afc6d2d10081f9e9d940075c03b3e704b37cf13b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated with a few minor wording changes. Tried to get a little
more active from some of the passive wording.
(From yocto-docs rev: 7dcd8117e3ea40d4b3c1ee5c3b1ea3c2bd29893a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The note about the TAR backend not working was changed to soften
the warning. It has "limited functionality" rather than
"broken".
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
General improvements to both sections.
(From yocto-docs rev: 977fdeaf1258613c3dfc41d78c8125fdba9b2a24)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure for image generation of the BitBake process
needed some enhancing.
(From yocto-docs rev: fc978663a7962d1515d4f47abe8ae522b9e24ce1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The image needed a little bit of clean up.
(From yocto-docs rev: d4fb680be194b7f9b192e06f0081a09504649633)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite included the "do_populate_sysroot" task and a bunch of
STAGING_DIR_* variables.
(From yocto-docs rev: 53484d4982a41f83ac9355aada46526b5d05f64a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
More changes to the "analysis-for-package-splitting.png" figure.
I needed to work in "do_populate_sysroot" task and several
STAGING_DIR_* variables.
(From yocto-docs rev: fcb88024a7dfff1b6cca49770f67bf4c1f548362)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The stage of the BitBake workflow is really "Configuration, Compilation,
and Staging". I updated the title to be such.
(From yocto-docs rev: 4aab6d001119aa8c52e09ef0f6f66694719add29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable plays a much smaller role since recipe-specific
sysroots were implemented. I have rewritten the description to say
that STAGING_DIR helps construct the recipe-sysroots directory.
(From yocto-docs rev: c1ad18abe67111738efc18725c4f7706b55738cb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure had the wrong hierarchy for the "image", "recipe-sysroot",
and "recipe-sysroot-native" folders. Moved out a level.
(From yocto-docs rev: e1f45b666b1cd589cee9c9ae6dba01467b991ef9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a reference to the STAGING_DIR_HOST variable, which is part of the
default directory used as the shared, global-state directory holding
data generated during the packaging process.
(From yocto-docs rev: d68dcec327e96f1da0879681dcde43d4f1769af0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needed some verbiage tweaks. Nothing major. Just a
few modifications to help clarify some areas.
(From yocto-docs rev: 9deabf424387fd1441882ce8cf28ea69421ea237)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "configuration-compile-autoreconfig.png" figure was badly
out of date. It was not showing the two sysroot directories
and did not use the $BPN variable. I have updated the figure
and placed in both the overview-manual/figures area and the
mega-manual/figures area.
(From yocto-docs rev: dba3b2b65f18870229dcb3dbcb8fadc099165894)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-oredered the four options to be alphabetical.
(From yocto-docs rev: 7976ee05c935fd6c24abea99f71436003656cc73)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added some key references to the patching areas of discussion across
the manual set.
(From yocto-docs rev: f198529b3072a4a03fd368ea307e8e004c46a344)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file:// protocol is primarily used for digging out patch files that
are local with the metadata (layer). I put a link in the paragraph that
is talking about them to the "Patching" section in the overview-manual.
(From yocto-docs rev: 18a7b4b81d192fb2cfd96763de4cfabd61c3a0ea)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mentioned the role of SRC_URI earlier in the description as it is key.
Replaced "some_recipe" with "some_package" as the emphisis is not on
the recipe at that point in the example.
(From yocto-docs rev: f7f86941fdf866a693386335374f835078db3ddf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added detail for the step one. Clearer.
(From yocto-docs rev: ef95d547180ce53fade7a3764f8d362422472c7a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I found this section a bit loosely worded and could result in
confusion to a user ramping up with YP. I have done an extensive
rewrite focusing on exact wordings.
(From yocto-docs rev: af64c07d259e06fb13572fc224636ed240037b57)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added more content to this task description to help describe how
patching is performed and how the task uses the "apply" parameter
that can be provided with the SRC_URI variable.
(From yocto-docs rev: 6717a3326b0005f6a57be4cc026693b7cd9e8d08)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section presents a deep dive into the patching phase of the
build process. I removed the vague "apply=yes" reference and added
more references for the reader to read and learn about patching.
The bit about the SRC_URI parameters (i.e. "apply") is going to be
covered in the do_patch documentation since that is the task that
handles that stuff.
(From yocto-docs rev: 5a2c98543ccc9ed24d16bb9442b674532940c0da)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a new feature (task) to the list of available features you
can use with the variable. The "task" feature saves output file
signatures for sstate tasks.
(From yocto-docs rev: 0669580ce40c46f0b5f8204a6b00e11f725a383c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The paragraph at the end of the section about the file
hierarchies is better cast as a note.
(From yocto-docs rev: 4e8a33be61ea1ea5db12fc5fc97832393213fb5d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure had a bad "PN" variable being used in the "S" directory.
This needed to be changed to "BPN".
(From yocto-docs rev: beafc55eb3646ecb96929e44538de952207f0b76)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The figure was incorrect. Replaced the PN variable with BPN for
the "S" directory.
(From yocto-docs rev: 440edcdae932a83b6c32b51e85d97178a77b4bed)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I scrubbed through this section and provided much better
explanations of the inside workings of BitBake fetching source
with building recipes. During that, I fixed an error where
the PN variable was being used rather than the BPN variable.
(From yocto-docs rev: 5765987259ac46f140e099d8e1da2ab33f006d36)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a more complete and clear description.
(From yocto-docs rev: 65505debfb82536e7e2d4ff7e5bc14c6af1a7cf6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a link to the BUILD_ARCH variable. The variable is part
of the glossary but for some reason there was no link to it.
I also added a note for a link to the SDK_ARCH variable, which
was described inline. By convention, I do not like to link to
variables inline as the underlining used to indicate a link messes
with with underscore characters that are usually a part of a
varible's name.
(From yocto-docs rev: a2f487141375ee7ce226eece85424e709ddc67a3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed some wordings to accomodate reviewer feedback.
(From yocto-docs rev: 6de69db7ae5bbbe5e6e7f0b5f6b9b1326f3f5f6a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section had a new bullet added for talking about one instance
of Toaster web server to track and capture multiple command-line
builds.
Also, provided better wording surrounding shutting down Toaster.
(From yocto-docs rev: 9dbe242bf90860afabc9ab218992d2b81aaf8896)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As suggested in a recent mail thread by Martin Jansa, there are cases in
which QEMU under KVM will crash because of CPU feature incompatibilities
between compiled binaries and the host CPU under which qemu is run.
Although this is hard to fully escape, we should document the issue to
help people work around it. I have taked Martin's suggested patch
and did some rewording for the new section.
(From yocto-docs rev: 6c625fcf631a82529bc58ec8fb0c18dbe13188d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step for getting toaster to create the database schema,
default data, and gather the statically-served files changed.
I updated with the proper steps.
(From yocto-docs rev: 2c3f7ac7f9419c32147be860897984d391a0e930)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The links to the DATABASES, SECRET_KEY, and STATIC_ROOT
were bad. They were pointing to old dated software. I updated the
links.
Also, added a couple new sections. One is how to start a
Toaster environment without its web server. The other is how
to start a Toaster environment without a build server.
(From yocto-docs rev: afe2708014600c0a86c649f6533dd1f6317fe742)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This month and date is always jumping around. I decided to add a
variable so that I only need to to update that when a release date
changes.
signed-off by: Scott Rifenark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the layer-input.png and source-input.png figures.
Had to trim them so they were tighter in the figure. Also,
updated some context in the source-input.png figures.
(From yocto-docs rev: cad644af48b0a1cb2baeb8d2649b9aa7ccbdeda5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Metadata, Machine Configuratrion, and Policy Configuration"
section discusses the three types of layers fed into the OpenEmbedded
build system workflow figure. I updated the figures and text
supporting this discussion. The figure had to be moved to the
mega-manual/figures folder also.
(From yocto-docs rev: 39dd671333f7b3df616920aab08e01c926deca1c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No need to escape out quote characters in a .sed file. Also, using
the @ character is cleaner.
(From yocto-docs rev: f87ca83a6faf5b772d719cd03d6fa0a9b21174bb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was pretty out of date. I have updated many areas
of the text.
(From yocto-docs rev: 640cdc7fb9d4f93c86b907d631e4f90b261d5ea1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bblayers.conf example files were out of date. Updated them.
(From yocto-docs rev: fd5d75604a3ad66e56c421634f349dce3e38f609)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image was out of date. I updated it.
(From yocto-docs rev: feb287a72201363c43607508d2e8f1da3993f93f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I removed the less than pretty build process figure and swapped
in the more aesthetically pleasing one. Also, am refering to
the figure as the "general workflow figure".
(From yocto-docs rev: 093f1337131bc658d6afd1b56fb3661a76751aad)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
That figure is no longer used in the manual set. The newer,
more aesthetically pleasing one is.
(From yocto-docs rev: 853567672533777aa5d9baa3969d08673a8dd71f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version of the figure was not as cool looking as the other
version, which is preferred. I have removed it.
(From yocto-docs rev: ed0346b00ee6b47d90efedd1dd69e4a92a42afe9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section was really sparse for being in the concepts chapter of
this manual. I added some more text to it.
(From yocto-docs rev: 9369ba5292126957f89f8b96e06bc2492825c54b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the "Metadata (Recipes)" title to simply "Recipes".
It is less confusing since the term "Metadata" is in general recipes,
classes, and configurations. Provdided a few small edits elsewhere
in the section.
(From yocto-docs rev: 566b54f58ca7859bf860f25e433bff4b429c2507)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The term "OpenEmbedded build system" was being introduced with just a
link. Apparently, that is not enough for marketing. I added a
clause with some more information about it.
(From yocto-docs rev: e7a3a581d44e21976c3f6fe19330e19af1ae0773)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section titled "Development Concepts" is really mis-titled.
It is more about the OpenEmbedded Build System. So, I renamed the
section "OpenEmbedded Build System Concepts." There were a couple
links all within the overview-manual. No other place in the YP
doc set linked to that heading.
(From yocto-docs rev: 889eaf3373a80ca0978ee79ecd2ff26aefb9025b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Softened the opening paragraph so it was not introducing any special
terms right off the bat. Renamed the section on the hardware layer
to configuring the build for specific hardware. Put in a link to
"build host" and used that term throughout.
(From yocto-docs rev: a324cb2f9c499dc8d68d1d87265930c308cbebb7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Challenges" section, the bullet item about YP's steep
learning curve referenced the "what I wish I'd Known" and
"Transitioning to a Custom Environment for Systems Development"
docs. I added links to these.
(From yocto-docs rev: 627042de38495f79d512c6b98c46193b1de0db47)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "License Manifest" bullet needed a link to the License
stuff in the dev-manual.
(From yocto-docs rev: 6350d68a6c1c5432fd833930437b4e5fe502033b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bullet "Releases According to a Strict Schedule" bullet
mentions the release cycle. I added a link to that section.
(From yocto-docs rev: c206c31d20aabe657863fc05274e2d533cdf7252)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a link into the concepts area for sstate.
(From yocto-docs rev: ac395452c3a2f34fb9775c77051b526e39fd9b4c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "Widely Adopted Across the Industry" bullet item did not
have good links to the YP home page. Added them in.
(From yocto-docs rev: 8695f3e2bcc2a0d37dd8e6b113639628bffdf4b2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file was stretching beyond the rendered display window such
that part of the Yocto Logo was missing. Also had to place the
updated .PNG file in the mega-manual/figures folder.
(From yocto-docs rev: 5b73c54fcb2c3f60aee2ff7dc19c4aad102aa505)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed wording to be clear about how PACKAGE_ARCH is being set
when based on the Freescale MACHINE_SUBARCH variable.
(From yocto-docs rev: 76c4ad514e44755f1d4dcec61bb0a74c1b77243e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a section on adding a machine layer. Used Altera as an
example. Also, added a section on creating a general layer.
(From yocto-docs rev: fc36f006bd483a5c26d2b79a18431d16ec27dc00)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the section that talks about building an image for multiple
machines, there was a bullet item on managing granular level
packaging. It had an old example that used the "daisy" release
that showed how to share packages and re-use binaries. I replaced
the example with a discussion of Freescale's "fsl-dynamic-packagearch"
class, which does this type of sharing.
(From yocto-docs rev: ddc224d6d1fe172292dfd0a17f743a1e0a4cabe6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The method for accessing the YP Release Notes for YP 2.5 forward
is to go to the "DOWNLOADS" page of the main YP website and then
click on the "RELEASE INFORMATION" button. No longer does a user
need a simple URL. I updated the two spots in manual where this
information existed for accessing Release Notes.
(From yocto-docs rev: 1e171d3add1048fb81c5a05a11c8ddbaf88e0ecd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ENTITY was used in two places. I have updated those areas to
give the user new instructions to reach the Release Notes. As of
YP 2.5, we do not have a simple URL that can be used for the
Release Notes. The user must go to the "DOWNLOADS" page of the
main YP website and click the "RELEASE INFORMATION" button.
(From yocto-docs rev: 1c7cdd328baad9a317f4f4f9554999d80d1eb24c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the first example in the section telling how to build out
a Wic image. I could not get the example to run so I used Stephano's
output.
(From yocto-docs rev: 6b4595215d6c24e3efb89288a7547f79ca3e59b7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a link to the YP implementation of Bugzilla. Added a final
paragraph noting the Bugzilla website if you want general information
on Bugzilla.
(From yocto-docs rev: 78c99c8f42edfee377431cacc10b9ccd4b25c4cf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was not going to the top of the chapter.
(From yocto-docs rev: 52da20604a54d16645b4bb4e5e9efa748a00d2f5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed redundant link to CFLAGS in the TARGET_CFLAGS variable
description.
Removed redundant link to CPPFLAGS in the TARGET_CPPFLAGS
variable description.
(From yocto-docs rev: aa95485d44f92b831cd111dbc5bf75526d239db4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The wording to two links (one a variable and one a section in a
different manual) was ambiguous. I added phrasing to remove that
issue.
(From yocto-docs rev: 3b70b4287ca8b2583e0ef559125f1531a2bb6a67)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the link to WORKDIR to begin with. Also, removed the
<filename> formatting that was within the example, which is buried
in a <literallayout> tag set. Doing that screws up the formatting.
(From yocto-docs rev: 0d13dabaa13e5426da35b5d8147f51efa349b5bb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "class" as a modifier after refering to the "populate_sdk_base"
class.
Removed link to the TMPDIR variable in an in-line example.
(From yocto-docs rev: 7733a4464ba2893a2363f47996f48587a86eaa82)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several redundant links and wordings in this description.
(From yocto-docs rev: bb9dd8ab6ef9cad387cdddada4f2be093551e38a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A migration item had taken the original section for the target of
the link out. I had not changed it.
(From yocto-docs rev: 10cfaee50455bf10450540f1b381d33f9babf985)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two instances where links were going into the kernel-dev manual
but the manual title was not being used in the text. Added it.
(From yocto-docs rev: 1922f8c79d1667db1fc9b5fe57030302469ca09c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was to a chapter in the existing manual. I do not
include the manual title when that is the case.
(From yocto-docs rev: 1b7c65b4a2dde3f5d069cb5edc75728492639870)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was going to TARGET_PREFIX.
(From yocto-docs rev: 424e8ea3168ab2e910919e6f70fc0b16332ca4f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I replaced the "<" and ">" constructs with the tags
<replaceable> and </replaceable>. This is the preferred formatting
for user-supplied values.
(From yocto-docs rev: 1fc32486483c545671ffb2142b553da75dbe54fe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the BBMASK variable, a link to Python documentation was
going to a specific 2.6 release. That release was probably the
most recent when the BBMASK variable was initially documented.
Python has many releases now (e.g. 3.6.5). I re-worded the
description to be more generic and sent the user to the general
Python release area. They can pick a release from that URL.
(From yocto-docs rev: 154aedf79625f37997bec18dba933c514072708e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the first link to the BB_DISKMON_WARNINTERVAL variable.
The variable was linked later in the text. No need to link
the output version of the variable... clunky looking.
(From yocto-docs rev: ec6cfc85ba2f1e2fc763b6b7c918a21cec00e203)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed wording so I could reference the proper name of the
LABELS variable.
(From yocto-docs rev: 05e5f287bde8219d1f8125d71fd48a36a422009a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The actual title of the sdk-manual does not include the word
"Manual". So, the reference to the book should terminate with the
word "manual" in lower case.
(From yocto-docs rev: 41bc85776f0b172fc243b6e5a5ca13b72e8399e5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link was just going to the top of the section. I added an ID tag
to the actual host-user-contaminated test within that insane.bbclass
description. Now, the user is linked right to that test.
(From yocto-docs rev: b1e5b5a1876e211a8c57bfa727fa9031cfe5e0ac)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The focus of the discussion here is on the DEPLOYDIR variable.
Having the link to the variable DEPLOY_DIR adds clutter to it all.
Removed that link.
(From yocto-docs rev: 8561c70fcff88adc82c7c5998d2539d40b314888)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Took out stange parenthetical construct and the links to the B and
S variables. Links were redundant. The construct was weird.
(From yocto-docs rev: 9cd2bf116bd89288a93944359a4809e68fa61f7b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A "naked" reference to the bsp-guide was split across two lines
in the *.xml file. This splitting causes the link to not be
processed correctly by the mega-manual.sed script. I joined the
two lines to fix the link.
(From yocto-docs rev: e31b4d2210b5c246f3e822fbe8950a625e08ca98)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing this conventional part of the reference contextual diatribe.
(From yocto-docs rev: 5468ebf21bc9166de35e9b7016eef06ed586e5c3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to get back to a standard of using an actual link for only
the first occurrence of a variable in any given section.
(From yocto-docs rev: 68d80a5dd8481f938892473c4671a9c436e80c8f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the migration section, an older name for the bitbake-user-manual
was being used in the text for a cross-reference. I replaced it
with the current and correct name.
(From yocto-docs rev: 3f466b59a3138984cceae12ac58c84ec3cda4432)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the migration section, an older flavor of the title to the
sdk-manual was being used. This of course was not processed
correctly by the mega-manual.sed script. I fixed the title so
it is now processed correctly.
(From yocto-docs rev: 1f9fa699bb14f96a7c9ccab314a7d72e6a93dda6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The terms.xml chapter had a link to the toaster-manual where the
string to the manual was not matching the string used in the
mega-manual.sed file. Consequently, the link was not being processed
correctly. This type of link should not be a link in the mega-manual
because the target is to the manual in general. Fixed the string
of the toaster-manual to match what is being used in the mega-manual.
(From yocto-docs rev: 44042847db10b15f8694199162ad96dea44d21bc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The areas were found scrubbing the mega-manual. These were minor
fixes.
(From yocto-docs rev: aaa460be3f4a446c091d66a17ca6c010f335ccc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using the "/cgit/cgit.cgi/" string as part of the link to
the source repos, which uses the ENTITY "&YOCTO_GIT_URL;". That
ENTITY is all that is necessary to get the link to work. I removed
the other stuff.
(From yocto-docs rev: f9a63c2cc824ef05230f614e933d178469890e97)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Fixed the name of the "do_compile" task so that it was not
referenced as "do_compile()".
2. Fixed a link to the Source Repositories so that the link
used the ENTITY for the YP Git area and not a full-blown
hard-coded path.
(From yocto-docs rev: 4b8d0e61f3f3017954d36ed196a08fb0a04909dc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "end" part of "linkend" was missing.
(From yocto-docs rev: 9411033faa6f71a52080c2f35a2af2f725399c7b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link to the old kernel-manual in the reference manual.
This manual is not used. I changed the link to use the proper
ENTITY value and also removed the old one from poky.ent.
(From yocto-docs rev: f1377989ab4a85827f5aaab9b19c4fb3c10567ca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link going to the "kernel-manual" manual, which is no
longer used. Changed to "kernel-dev". This was a fix so that
I was using the proper ENTITY in the poky.ent file.
(From yocto-docs rev: 787ee10c7764ffd6adfbd8ddb304ac686bf3e95f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link was going to the right place but had an old chapter title
name.
(From yocto-docs rev: 57a5d25180429a97d47678c0782198623bc06eef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found several instances of this being referred to as the
"OpenEmbedded Metadata Index". Changed to "OpenEmbedded Layer
Index".
(From yocto-docs rev: 60fb601be324a350cd4d51b199915e6b72e2f9b0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had "Toaster Manual" in the cross-reference so it was not resolving
correctly when processed by mega-manual.sed.
(From yocto-docs rev: c99ce4a706df55e97388b45620ed2a503cb8312d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nobody provided a figure for me for this section, which would
have been nice. So, I have generalized the text to work
without that detail.
(From yocto-docs rev: 7570167196c26c9eb08e97d1350a715bff37c75f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using the ENTITY with "cgit/cgi"/ appended to the end.
The appended part is not necessary. Removed it.
(From yocto-docs rev: 64593694d62c99cbe2897804c04fea24110ee861)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using the "@" character to de-specialize the "/" character.
This change makes the file more readable.
(From yocto-docs rev: d15c9ce6cc365768677cdd40a8859bb96aad7dc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found some mangled links in various spots that were causing the
mega-manual.sed file issues.
(From yocto-docs rev: 405a92f934bf7e209f3b8a543e63a1b4c693af29)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this file was accidentally dropped during all the manual
reording operations. I have restored it.
(From yocto-docs rev: 5c1244f18ede1af0a540687cfb5d9071fbb3c1c0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor wordings based on Stephano's feedback.
(From yocto-docs rev: 4aa7aa0e9c7d8e554771743ecabdf0e64f3884e0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This involved changing the root manual folder from
"getting-started" to "overview-manual".
Also, every link using the ENTITY "YOCTO_DOCS_GS_URL" was
changed to "YOCTO_DOCS_OM_URL". Most manuals had several
occurrences of these links.
The makefile needed updating to process the new manual
and not process the old "getting-started" manual.
(From yocto-docs rev: 1abf64e56e9096258038ae37b787a81bf786bb3b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the script to process the overview-manual strings
found in the mega-manual. These changed due to the folder
chaning from "getting-started" to "overview-manual".
Additionally, I discovered a single occurrence of a linked
reference to the mega-manual that was in the mega-manual.
This is not ideal. That link needs to be a link in the
ref-manual where it originates. However, the link in the
mega-manual should not link to itself. That link needed
processing just like all top-level book links in the
mega-manual. The link should be removed. I added a single
substitution operation at the end of the file to handle this
lone case within the mega-manual.
(From yocto-docs rev: 57ebdb1cb10a4df0d69316d1f116d7804199ae90)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variabe for the "getting-started" manual goes away and is
replaced by this one for the new "overview-manual."
(From yocto-docs rev: 45fc9beac6db4c40c3660fc9e54cc11e9c1f96c4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a link to a deprecated "overview" manual. Replaced it with
the proper ENTITY to the getting-started manual.
Removed the ENTITY to the old "overview" manual.
(From yocto-docs rev: 891e4902052743833c422e6a557c93de42ed892d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Throughout the documentation, the manual "Getting Started With
Yocto Project" was used. The manual now is called "Yocto Project
Overview and Concepts Manual".
(From yocto-docs rev: f47d10029487420cbeb292f680084b63be0ec7e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The concepts-manual is going away for 2.5. I have fixed all the
links across the YP documentation set that were cross-referencing
into the concepts-manual so they now cross-reference into the
getting-started manual, where that concepts chapter will live
post 2.4x.
(From yocto-docs rev: e9145e9e7fef882a13c982d34514a94f864b3c12)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No longer part of set from 2.5 on.
(From yocto-docs rev: edf059871a201179e8dab90746eb7e9eece65eb9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not need these chapters any longer. The manual is going away
and these chapters were organizational for the book and do not
provide any new information for the getting-started.
(From yocto-docs rev: 47e64fbee86960009968478099e9399f673bda9d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
these chapters were sucked into the getting-started manual but
now are no longer even needed there. The chapters are
organizational for the old concepts-manual and provide nothing
for the getting-started.
(From yocto-docs rev: dd97d06039e3fd6bcbbccafa99f4d29ce041ae70)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This chapter in now in the getting-started manual.
(From yocto-docs rev: 206c4e2117cc3b404c81ac66f391cee68db4a1c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manual will not exist. I deleted the two lines that process
links in the mega-manual for the concepts-manual
(From yocto-docs rev: 49530e16b19b8f24782c15fe7daf68e0e0444e39)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The two chapters have been integrated into the current
getting-started manual. Concepts manual is no longer in
existence.
(From yocto-docs rev: f8ee299901acb61d0e638ce9e36f30c5924f36d4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the YOCTO_DOCS_CM_URL from the mix of things. The manual
will not exist.
(From yocto-docs rev: d97df11478566654d95f02b6fe61eaa0068afb5f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manual will not see existance. I put the list of .png files
from this manual into the existing getting-started manual as that is
where the topics will now go.
(From yocto-docs rev: 22c2de06baf96120cbc830540e818599ce0ac07b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed all the references to the top-level of the old
concepts-manual. These references are references that do not
have a "#" target. They just reference the manual in general.
(From yocto-docs rev: 5b33f3c119807532aa6feb2d010c9c9f780a26d8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The concepts-manual is going away for 2.5. It is being sucked back
into the getting-started from where it came after originally being
moved out of the ref-manual. I have moved all the figures from the
concepts-manual to the figures folder of the getting-started
manual.
(From yocto-docs rev: 6a95ab558964f2833d6b214791be94cb87305926)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link to the appendix was referencing Appendix C instead of
Appendix D.
(From yocto-docs rev: b8b4ffe14f74ef0a76289258ae17a3843363397d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The step in the general Eclipse IDE workflow has a step that tells
the user to "Create and Build Your Application." I had a sentence
in that step that suggested if you were not using Eclipse to follow
some sort of procedure. The whole idea of this flow is to be
working within Eclipse. I removed that sentence.
(From yocto-docs rev: 83c35e9bb7190464af840822f5dd66d84e15ec64)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list headings were not conforming to the capitalization rules
for lists used in the YP manual set, which is significant words
are capitalized in a bolded item of a bulletted or numbered list.
(From yocto-docs rev: af60763b7daccb6af22b4761f6b8370ea1956714)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some minor updates here. Mainly, bring a list into conformance
for use of capitalization in the bolded item heads.
(From yocto-docs rev: a9c9bb36caa146b0ff8338cb1fad850d75a64997)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the various fields for what goes into the name of one
of these *.sh files pulled from the download sites.
(From yocto-docs rev: 4b326ae834d50607062c2f29c27fccd496489eb6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The note was written such that it appears some performance tools
were just recently deprecated with this release of the Eclipse
Yocto Project plug-in. This is not the case. I updated the
note wording to simply state that those tools are deprecated
with the plug-in.
(From yocto-docs rev: 4e8aa076ec009c71d7ceeda5c64a617e1c2696fb)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made sure that each first occurrence in a chapter used the
"tm" mark.
(From yocto-docs rev: b7b21441b5fc009b8161902a10cfe1863d87b8a8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added wording to note that the rootfs might be compressed
depending on the IMAGE_FSTYPES setting, which would have to
actually do compression. Also, fixed examples of "do_image_type"
and "do_image_ext4" so that there is no "[depends]" as part
of the example.
(From yocto-docs rev: 18ecdc6dd8722212c94000950841a4c06d3e48aa)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some inconsistencies in the links to the concepts-manual existed.
I fixed these throughout the YP manual set.
(From yocto-docs rev: ad7f840bb6f4a5248ef455b98ce9b35197e07e1a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was inconsistent use when referencing the getting-started
manual. The manual's name does not include the word
"Manual". So, I cleaned this up across the manual set and
also in the mega-manual.sed file, which was incorrectly
processing the links to that manual that do not target a
specific section.
(From yocto-docs rev: 0f5321416f7ec50cb6c96cccb7c87ef191a25367)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found a few links that were not using the correct wording when
referencing a section to the dev-manual. Also, fixed one link
that was assuming a section outside the dev-manual when the
link was to a section inside the dev-manual.
(From yocto-docs rev: 7a577b135e1a01d6a9924ba89733e46d029c6cca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The escaping of the double quote characters is not necessary
in the mega-manual.sed file, which processes the links in that
large HTML document. I have removed them.
Authored-by: Aurelio Jargas <aurelio@aurelio.net>
(From yocto-docs rev: 640a52c74750b9148116171cfa8a2cca388f6d7c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Throughout the manual set, I made sure that "OpenEmbedded-Core"
and "OE-Core" appear with the hyphens.
(From yocto-docs rev: 1f570df3eccb74b9e2e60af94c0e0dd48e1489e9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using "OpenEmbedded-Core" rather than "OpenEmbedded Core" in the
text. The term as also fixed to reflect this change. Also,
use of the phrase "OpenEmbedded-Core project" or "OE-Core project"
is not desirable. Changing project to version.
(From yocto-docs rev: ec226fcd92847c96ea2e11d34513b597a35c9825)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original QS (yocto-project-qs) has been retired for the YP
sumo (2.5) release. The manual has been replaced with the
brief, two-page quick build document (brief-yoctoprojectqs).
I needed to create a new title figure for the manual to include
as part of the mega-manual (bypqs-title.png). The figure was
added to the figures folder of both the bried-yoctoprojectqs
and mega-manual book folders. I also removed the old
ypqs-title.png file that was used for the original QS.
Updated the stylesheet doc for the brief build to include a
style using the new title .PNG file.
Updated the mega-manual.xml file to include the brief doc and
exclude the original QS.
(From yocto-docs rev: aadec4a70fa89e4dcd233c337d8971c8353ee26d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated section IDs for the new Using Eclipse Neon
Appendix and Chapter 5 Working Within Eclipse (Oxygen).
Changed one link found in reference manual.
(From yocto-docs rev: d767007cf4151127063d1992a4e11e90437ae2da)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original Yocto Project Quick Start is being retired for the
YP 2.5 release (sumo). I have purged all the various references
from the YP manual set and replaced them with references to the
appropriate doc. The references were mainly into the YP
dev-manual for setting up the host or for building an image.
There were a few references into the new "Yocto Project Quick
Build" document for overviewing manual-type references.
(From yocto-docs rev: 11c0ab693962f16f87f1e21f33dd5c6ca6a6f895)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This information was merged into the BitBake User Manual.
(From yocto-docs rev: eb68d4429aed652e4ca10c1ab55d3a815d453d6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For conserving disk space during builds, I added a new section
that tells how to add "rm_work" to your local.conf file.
This information was part of the original YP Quick Start
and was not carried forward into the new brief build
document.
(From yocto-docs rev: 719d70587d908390a134559472d57ce7fced6aae)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the title to "Yocto Project Quick Build" from "My First
Yocto Project Build", which sound a bit too much like "My first
little Pony."
(From yocto-docs rev: c797590d3cd341a9c492c7af49a927e1d241184e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latter has been deprecated.
(From yocto-docs rev: 1f0f423f89d7727aace64b2cfe0b11b0a4bbc7e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the discussion on this variable in the BeagleBone
example. Took out an older "Xloader" term.
Also, fixed a link to the u-boot.inc file.
(From yocto-docs rev: 5a41c6e7ed6ee6432f7f2c15642f5f98460a1a83)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tip box shows how to ure the mirrors for the most recent
release and the most recent release minus one. I set these
up to use variables rather than hardcoded releases.
(From yocto-docs rev: ad47deb8ac1fc074ed3fdf3627609ac3ab38e92b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Useful for providing the release version of the current
release minus one.
(From yocto-docs rev: c5970a4c52a333156336a564ae488b808a73a880)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a bullet item to the Getting Started manual in the
"Where to Go Next" section.
(From yocto-docs rev: ce4edc521d19b3c8025e950061cc962ca88fa29e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I did some re-wording to account for when the user does a web
search for a manual and the search returns an ancient version
of the manual. Many times the user is oblivious of this fact
and is trying to use a version of the docs that don't come close
to matching the version of the YP.
(From yocto-docs rev: 1cbe06cefda2b35584a8365564e01888d229d0b3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created detailed example using the BeagleBone BSP.
(From yocto-docs rev: 7701dc2bd94ae7ee3e4aee37ac97174ad445d286)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a final paragraph that provides some cross-referencing to
the sections that describe how to use Wic and to the Wic
reference chapter.
Also, shortened the DOC info line.
(From yocto-docs rev: 4ba5d0119caa3696187537f5b4cc9c64ca00e205)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a link to the "getty" term.
(From yocto-docs rev: d21fe1ea33353e15c135af7fc302ffe636310541)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added minor edits to clarify that we are talking about an
image type.
(From yocto-docs rev: 14c906aa539d127c88d71d7fb3e628fc225cbd52)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the explanation of the layer.conf file. I am going
to use this section as the definitive section that explains
the layer.conf file.
(From yocto-docs rev: 4c70c7467f0ca5cf2346ef8d10bde437b971d2d2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added information to the list of variables used in the
layer.conf file to specify LAYERSERIES_COMPAT.
(From yocto-docs rev: c41ff41e75b654d5d7df8c2a1e83ba5525490285)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For step 3 on creating the layer, I put in wording to make sure
the user does not create a layer in the cloned poky directory.
(From yocto-docs rev: 1a0d1d0c0cdfa77c6df005d0294d11a02ca3770c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Best practices dictate that the use not create a layer in the
poky repo. So, I updated the example to move the user to a
top-level directory first and then create the layer.
(From yocto-docs rev: 81ab8b0f393f90785880aec7685c4c431cb7ad87)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Created a new variable description in the glossary. This
variable is used in the layer.conf file and needed to be
documented.
(From yocto-docs rev: 5c514c0e90ca920bdf183b1f9449a06b906235ca)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many examples in the YP set use the latest release code name
as part of a list and then the "minus-1" code name is literally
typed in. I think it is time to have a couple ENTITY variables
in poky.ent that will fill in the last release for these examples.
(From yocto-docs rev: 7421d6a0ae85503b205537f08cfd23e28747d835)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #12417]
Deleted the appendix.xml file.
Updated the mega manual .xml file to not include
the Mars appendix file.
Updated the sdk-manual.xml file to not include the
Mars appendix file.
(From yocto-docs rev: e7752c3db1aec8d5143e78aab44ec5afaaaf9c76)
Signed-off-by: Kristi Rifenbark <kristi@buzzcollectivemarketing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the context variable to NULL when evaluating EXSLT functions.
Fixes potential use-after-free errors or memory leaks.
Fixes bug 792580
(From OE-Core rev: a997bcd3f985b65141f9b7a497581da2fd7afc10)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGECONFIG 'gtk' is enabled by default for gstreamer1.0-plugins-good
and it makes gstreamer1.0-plugins-good depends on package gtk+3 which
requires any distro feature in ${GTK3DISTROFEATURES}. When none distro
feature is enabled from ${GTK3DISTROFEATURES}, it causes error:
| ERROR: Nothing PROVIDES 'gtk+3' (but .../meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.14.0.bb
| DEPENDS on or otherwise requires it)
| gtk+3 was skipped: one of '['x11', 'wayland']' needs to be in DISTRO_FEATURES
So enable PACKAGECONFIG gtk conditionally for gstreamer1.0-plugins-good.
(From OE-Core rev: a36c1e514d43854b22da75a2ec4c8069a6eaab27)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package name exists in runtime-rprovides, lookup-recipe and
package-info would finish after printing information about that
package even if more packages were specified.
(From OE-Core rev: 32c2a2ddb1614f978f511dfccb6cc3e9398df841)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if KERNEL_IMAGETYPES contains both vmlinux and vmlinux.gz,
KERNEL_IMAGETYPE_FOR_MAKE will end up containing two copies of
vmlinux, which will result in two calls to "make vmlinux" from
kernel_do_compile().
Avoid duplicating vmlinux in KERNEL_IMAGETYPE_FOR_MAKE plus some
minor non-functional updates to formatting and comments.
(From OE-Core rev: 80455a0b6cce6d12a5b32194d0cad2e4c7f71599)
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>
ICECC_PATH wasn't being preserved in the environment when it was
reinitialized. This prevented toolchain installs from being able to use
icecream by setting ICECC_PATH when icecc isn't in $PATH
(From OE-Core rev: c245ab9bee536c7b6af026a5eda02ae0695567b3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building on a host OS other than a recent version of Linux is not
recommended or supported. Drop the historical _build-${BUILD_OS}
over-ride to avoid giving the impression that other host OS's might
be supported.
(From OE-Core rev: 428fc39356cb77830de9e0d3f1dbd00f5868290a)
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>
Fix long standing quirk, _forcevariable is documented as being the
highest priority over-ride.
(From OE-Core rev: b3598b8f1ed1cdc7849e1e4f30d618e87e1bf582)
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>
diffstat checks variable CC. If options '-I', '-U' or '-D' is included
in CC, variable CC will be wrongly filtered and only such as
'mips64-wrsmllibn32-linux-gnun32-gcc' left. It shows warning message
during configure:
| checking $CC variable...broken
| configure: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options
Disable such check for OE.
(From OE-Core rev: c330036e1e6151246b736f88f7412e9e4ac38d5f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libsdl isn't a key part of the Sato desktop, remove it and let it be installed
by dependencies if required.
(From OE-Core rev: e54b641a8de962b7df861f0ee7490e6da4ddebe9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These dependencies are in the x11 PACKAGECONFIG and will magically transform for
nativesdk builds.
(From OE-Core rev: 5e55efce4f7ecb3fcb219a15dcbc031f0f233cb1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove instrospection related tweaks as dbus-glib no longer needs
this xml file.
Remove the installation of session.conf. This file is installed into
recipe-sysroot-native directory, which makes no sense.
(From OE-Core rev: a75114195b7a49a1e76099cc09b941f6247d8a46)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't seem to be a clear reason to have two separate
variables to hold whitelisted GPLv3 recipes. Both variables are
treated the same, so adding a recipe to LGPLv2_WHITELIST_GPL-3.0 is
already equivalent to adding it to WHITELIST_GPL-3.0.
Anyone needing to whitelist a GPLv3 recipe should now just use
WHITELIST_GPL-3.0.
(From OE-Core rev: d4dea76fbe9765d489e3e522a9d2c22049610c7b)
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>
If package management has been disabled then we've already removed all the
state, and running 'dnf clean all' again will simply recreate a lot of the
files.
(From OE-Core rev: 4524068ad2248b37fb08a24828d018e2f7e6a761)
(From OE-Core rev: f23332dc6a0c5b49246b4d17ec4e6fcad0cb7d47)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If package management is disabled we remove the state and configuration for the
package manager after the rootfs has been populated. This list wasn't complete
and the DNF/RPM configuration files were left behind.
As we've added files to the list (and not just directories), expand the
backup/restore package management state code to handle this.
(From OE-Core rev: c8a6422457b4d29e6afd1e193b8b921287472137)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For mirrors or premirrors defined like: "http://.*/.* http://somewhere.org"
fetching ends with errors because function fetch2/__init__.py:encodeurl()
creates url like "http://somewhere.orgsomefile.tar.gz".
It happens because function fetch2/__init__.py:decodeurl()
for url "http://somewhere.org" returns
['http', 'somewhere.org', '', '', '', {}]
and then in function fetch2/__init__.py:uri_replace()
variable result_decode will be
['http', 'somewhere.org', 'somefile.tar.gz', '', '', {}]
(because of line: result_decoded[loc] = os.path.join(result_decoded[loc], basename))
for which encodeurl returns "http://somewhere.orgsomefile.tar.gz".
In addition for mirror "http://.*/.* http://somewhere.org/"
everything works fine.
(Bitbake rev: d822ae24ef5485e550804cbd9130ebd73b2aa48e)
Signed-off-by: Jakub Dębski <jdebski@enigma.com.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating a local git repo clone currently results in multiple calls
to self._contains_ref(), some of which appear to be redundant and can
be eliminated by minor tweaks to the logic in download().
Also drop redundant calls to os.path.exists(ud.clonedir) before
self.need_update(), since need_update() includes its own built-in
check for the existance of ud.clonedir.
(Bitbake rev: 61b0df5523afc8f805043f3adc9c106690e6f133)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We cleaned up the metadata so this can be enabled again.
(From OE-Core rev: 9611485bba03ef77ff31121e3b1da7cd57990c3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This repository is infrequently updated and doesn't really release, so just
watch for new commits.
(From OE-Core rev: 77237b92895806de1586fc5395a03669201a411b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packages like fontforge-native fail with mysterious errors like
| ../../git/inc/gwwiconv.h:44:21: error: conflicting types for ‘gww_iconv_close’
| #define iconv_close gww_iconv_close
| ^~~~~~~~~~~~~~~
| ../../git/inc/gwwiconv.h:37:13: note: previous declaration of ‘gww_iconv_close’ was here
| extern void gww_iconv_close( gww_iconv_t cd);
| ^~~~~~~~~~~~~~~
The reason behind this is that a check for iconv fails during native
configure run, the check fails because the autoconf test to check for iconv
pokes for these gconv's in test runs before declaring iconv support successful.
Therefore when uninative is active the package fails to build but when
uninative is inactive all works fine. this patch fixes that
(From OE-Core rev: b4f5ed7a8bb2f76ab4a50b3f0073a9d18a51923e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the contract lib which implements contract
programming (a.k.a., Design by Contract or DbC) [1]
for the C++ programming language.
(From OE-Core rev: 53756087222a12646c4e63dba5c91df16c873111)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade sudo to 1.8.23.
The license checksum changes but the actual license does not.
The /var/run/sudo directory has changed to /run/sudo, change
do_install_append according to avoid error.
(From OE-Core rev: abd809670ea4048551d20c11da95203536250001)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
matchbox-panel enables the battery plugin only if the
acpi/apm machine features are enabled,
so enable the battery applet in the session script
under the same conditions.
This avoids the 'Failed to load applet "battery"' warning at runtime,
in case these machine features are not defined.
(From OE-Core rev: 34b5d507d62ef501fe771bd38cf45d25785dbc90)
Signed-off-by: Eran Matityahu <eran.m@variscite.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As seen in GCC's gcc/config/aarch64/aarch64.c, -fPIC with large
code model is unsupported. This fixes the "sorry, unimplemented"
errors when building with compilers defaulting to -fPIC.
(From OE-Core rev: d0971200ffe226ade76273ff73be4fa5511a2baa)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _virtclass-XXX over-rides are problematic in that they are higher
priority than _forcevariable, which is documented as being the
highest priority over-ride.
Since they are now obsolete (replaced by _class-native and
_class-nativesdk) drop them entirely rather than try to fix their
priority.
(From OE-Core rev: c5aa33ac483618bc23fbaccb0a18853186f9155d)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: f3d223304e52b9be946e5bd849075147147cbbb3)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: d3653e8525e048d9968b949dbff5304c1fd94480)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: b7b63b2681a1de0ecb0e09612913370cb9934d38)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: a4c29153c7ffef024b31e7e3a197a09758a7beb4)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: 5e7d337fd538325e5f69de5b409eb8e36bb5e007)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: c4ceaaea207e15bafd4261c33fd20fdf66d50c7d)
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>
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).
(From OE-Core rev: 6c08a062c151c2d2562016434f6f2125f2959fa6)
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>
Some backported patches fix multiple CVEs and list the corresponding
identifiers on multiple lines, rather than on a single line.
cve-check.bbclass yields false positive warnings when CVE IDs are
presented on multiple lines because re.search() returns only
the first match.
An example of this behavior may be found when running do_cve_check() on
the wpa-supplicant recipe while in the rocko branch. Only CVE-2017-13077
is reported to be patched by commit de57fd8, despite the patch including
fixes for a total of 9 CVEs.
This is resolved by iterating over all regular expression matches,
rather than just the first.
(From OE-Core rev: 8fb70ce2df66fc8404395ecbe66a75d0038f22dd)
Signed-off-by: Jon Szymaniak <jon.szymaniak.foss@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
compression.ca is down, so use the Milestone page on Launchpad as that is also
where we download the tarball from.
(From OE-Core rev: d669fbd183e03952e1900535328f16185248fc1f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc8 is detecting string truncations when swig is
used in other packages
(From OE-Core rev: 828ae03da4468b4c672f71e1b4cac9b8fff73d2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Check 19 lines of gpg-error.h.in only, more lines are not representing license text
Drop upstreamed patch
(From OE-Core rev: 9d26c595f648a8375ac92c2923b1cce3a1217c53)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting staging_libdir to libdir caused unnecessary rebuilds of
go-native when switching from a multilib build to a non-multilib
build. Switch to libdir_native because it doesn't change based on
target configuration.
(From OE-Core rev: af1ba0dfc904c78e3e030b9d81806f8269e66c56)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: FSF address updated in hdsploader/COPYING and ld10k1/COPYING.LIB
Fix built with clang along the way
Package python dependent tools into a separate package
(From OE-Core rev: 2a39c8529332c4ea0f8edcac7cfdfb410ca3fb5b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installing xz and busybox together may cause conflicts for xz, xzcat,
unxz, and their lzma variants. In the default configuration, xzcat is
silently replaced with a symlink to busybox. If busybox is compiled with
CONFIG_XZ=y, its postinst fails during do_rootfs.
Using update-alternatives to xz handles these conflicts properly.
(From OE-Core rev: e48cd8423562d4b03bdf55ba04873b7582f12452)
Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of e2fsprogs provided tune2fs, mke2fs and mkfs.ext2
commands with corresponding BusyBox provided applets in case both
packages are installed to same rootfs, by adding these commands to
update-alternatives scope
(From OE-Core rev: 81dc858a24cc5b5dc547356eb22f00dde9801b6f)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
Changes for version 1.74 - 2018-04-22
avoid 'uninitialized' warning in URI::File when host has no domain name set (PR#53, thanks Shoichi Kaji!)
(From OE-Core rev: 346afbee122a3e0642d552cd5b762e6f0b5a7957)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
North Korea switches back to +09 on 2018-05-05.
The main format uses negative DST again, for Ireland etc.
'make tarballs' now also builds a rearguard tarball.
New 's' and 'd' suffixes in SAVE columns of Rule and Zone lines.
Changes to past and future time stamps
North Korea switches back from +0830 to +09 on 2018-05-05.
(Thanks to Kang Seonghoon, Arthur David Olson, Seo Sanghyeon,
and Tim Parenti.)
Bring back the negative-DST changes of 2018a, except be more
compatible with data parsers that do not support negative DST.
Also, this now affects historical time stamps in Namibia and the
former Czechoslovakia, not just Ireland. The main format now uses
negative DST to model time stamps in Europe/Dublin (from 1971 on),
Europe/Prague (1946/7), and Africa/Windhoek (1994/2017). This
does not affect UT offsets, only time zone abbreviations and the
tm_isdst flag. Also, this does not affect rearguard or vanguard
formats; effectively the main format now uses vanguard instead of
rearguard format. Data parsers that do not support negative DST
can still use data from the rearguard tarball described below
(From OE-Core rev: f717eeff2d4823163cb72fb79101220cc48b3286)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to build procedure
The command 'make tarballs' now also builds the tarball
tzdataVERSION-rearguard.tar.gz, which is like tzdataVERSION.tar.gz
except that it uses rearguard format intended for trailing-edge
data parsers.
Changes to data format and to code
The SAVE column of Rule and Zone lines can now have an 's' or 'd'
suffix, which specifies whether the adjusted time is standard time
or daylight saving time. If no suffix is given, daylight saving
time is used if and only if the SAVE column is nonzero; this is
the longstanding behavior. Although this new feature is not used
in tzdata, it could be used to specify the legal time in Namibia
1994-2017, as opposed to the popular time (see below).
Changes to past time stamps
From 1994 through 2017 Namibia observed DST in winter, not summer.
That is, it used negative DST, as Ireland still does. This change
does not affect UTC offsets; it affects only the tm_isdst flag and
the abbreviation used during summer, which is now CAT, not WAST.
Although (as noted by Michael Deckers) summer and winter time were
both simply called "standard time" in Namibian law, in common
practice winter time was considered to be DST (as noted by Stephen
Colebourne). The full effect of this change is only in vanguard
format; in rearguard and main format, the tm_isdst flag is still
zero in winter and nonzero in summer.
In 1946/7 Czechoslovakia also observed negative DST in winter.
The full effect of this change is only in vanguard format; in
rearguard and main formats, it is modeled as plain GMT without
daylight saving. Also, the dates of some 1944/5 DST transitions
in Czechoslovakia have been changed.
(From OE-Core rev: aeb3d295581908ca9a9d8f1705f70b49b2de32e3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead, first check if we need to do anything at all during first boot,
and if so, either postpone to first boot via pkg_postinst_ontarget()
when running on host, or run the necessary setup code when running on target.
(From OE-Core rev: 16df1717c3813ba773e0dfa2d1db471816d8b99b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that downloading file from updateserver fails. In
this case, we should error out instead of continue.
We have users reporting unexpected behavior of 'devtool sdk-update'.
When an invalid url is supplied, e.g., `devtool sdk-update http://invalid',
the program reports 'Note: Already up-to-date'.
This is obviously not expected. We should error out in such case.
(From OE-Core rev: 449564783dfb162536a2f772b3a8704973221e0f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Static PIE doesn't work entirely right in GCC 7, for example ldconfig on ARM
with the flags enabled will something segfault during initialisation.
To mitigate this until we have GCC 8 integrated, don't enable static PIE.
(From OE-Core rev: 5f64946b8740a5d944f48ec430470265703bfe5e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add test cases to test “exclude” and “installroot“ options, also modify
the logic of filtering packages on the feed to have all the packages
needed by the tests.
[YOCTO #10744]
(From OE-Core rev: 1121806603c6f621d084b692216f3f616a0768dc)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Each time I build my image after the first, I end up with a
do_image_complete_setscene stamp file with an extra _setscene appended to
the name. Eventually, the filenames end up being so long that mv complains
and the build fails.
It looks like this behaviour was introduced when the special handling was
added for do_image_complete in 2ff9d40dc88d43567472218cf3d3faf414398c71.
So, let's ensure that the *_setscene* pattern is matched before anything
else so that any do_image_complete_setscene stamp file is always ignored
and the do_image_complete non-setscene stamp file is moved only once.
It's not straightforward to just move *do_image_complete* after the
*_setscene* pattern because do_image_complete stamps would then match
do_image*.
(From OE-Core rev: f04e6bd144deb0c8fe2742f66b18904b6619a502)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wayland 1.15+ now ships libwayland-egl by itself, so Mesa should remove
its instance. Previous commit 6e5952fcfc13ff4b63c9376bd41a1dbba957f425
only removed .so libraries, but left .la, which resulted in conflict.
(From OE-Core rev: 7a1d0f532bb2a6772e24a9fd4515bd1f3ab15324)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add `DEPENDS += "kmod-native"` to ensure depmod utility is added to
recipe-sysroot-native during image build.
Without this dependency, image builds where BUILD_IMAGES_FROM_FEEDS=1
have depmodwrapper in recipe-sysroot-native but are missing depmod.
Kernel postinst scripts rely on depmod (via depmodwrapper) to index
newly installed modules.
(From OE-Core rev: d693457f9de92e4e8b61881638787e831f0ca197)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently building perl-native modules triggers
build perl for target due to PACKAGES_DYNAMIC regex.
This commit will cause, that perl native modules will
trigger perl-native build.
(From OE-Core rev: 7dd9772eca6df52db09b65537fdf689f1aa3fd8f)
Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When attempting to build a -native package which DEPENDS on
libcap-native the libcap libraries are not found and the build will
fail (for example attempting to build qemu-native with
'PACKAGECONFIG_append = " virtfs"').
It turns out commit 2c9c4a406a [libcap: fix (base_)libdir usage]
breaks builds of libcap(-native) when $root_prefix is not "". This is
because the variables which define $root_prefix are also part of
$prefix so you end up with part of the path being used twice, first as
part of 'lib=' in do_compile, and secondly as part of 'prefix=' in
do_install. When $root_prefix is "" this isn't noticed.
By using $baselib we should not re-break the issue which commit
2c9c4a406a was fixing but we should avoid doubling down on the
paths thus fixing the -native and usrmerge builds.
(From OE-Core rev: b46c55c3b9db5d8f2080ae2611294a5b24efe4a4)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a recipe sets S to ${WORKDIR}/ then the S != WORKDIR test doesn't work as
expected. Use os.path.normpath() to normalise the paths so string comparison
works.
(From OE-Core rev: 06aaafd14f3c8e27faeea0a514f80e1ff5eb4deb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The expected modern behavior for dealing with adding ld.so.conf entries
is to add a file to /etc/ld.so.conf.d/. In order to do this, ld.so.conf
needs to explicitly include that /etc/ld.so.conf.d/*.conf. Make it so.
Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 1f03019356e3712435dbe4ed9f359992b0ad4578)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the relative difference is greater than 2%, make the text bold to highlight
it.
(From OE-Core rev: 500e28311248713d4772480b81b10777390da909)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that python2 is not assumed to be python which can
point to python3 in some cases, when building gallium-llvm
there are scripts which are requiring python2 and wont work
with python3
(From OE-Core rev: c693b7ec8914460c891a5fb8bd36fb9401e62ac0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* OpenGL integration library has moved to -plugins-base, add PACKAGECONFIG.
* Remove one patch as that has been fixed in a different way upstream.
* Merge inc/bb and refresh patches to get rid of fuzz warnings.
* Remove x86 specific cached variables as they're not needed anymore.
* Add jpeg to PACKAGECONFIG and enable it by default.
* Port gstreamer-gl specific patches from -plugins-bad.
(From OE-Core rev: 5e95178996185976adf2f2d91550fa7ff0e82f54)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Add default value for PACKAGECONFIG
- Combine "inherit autotools" with "inherit pkgconfig gettext"
- Drop historical addition of -L${STAGING_LIBDIR} to LDFLAGS
- Re-order variables according to OE styleguide
(From OE-Core rev: 10cb7bccc2452375b363ba82bf1be2ee0cb0e8e2)
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>
Commit a1690131691507bbf5853540229b3ad775b836bf removed the ability of
recipes to set KERNEL_IMAGETYPE_FOR_MAKE. Fix that by letting recipes
continue to set their own KERNEL_IMAGETYPE_FOR_MAKE if they so wish.
They may have been doing so for a while, and don't want to have their
carefully-selected value trampled on by kernel.bbclass.
This may be required if the recipe itself wants to build one type of
kernel, but post-process it into a different type, rather like the
vmlinux->vmlinux.gz support provided by kernel.bbclass.
(From OE-Core rev: 38abd26fe7de321e0f1fc4895f754f34dee90f6c)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* from 861c1a8286
* Bump the major version of the .so library generated up to 4.0 to avoid
conflicts because some downstream packagers of json-c had already done
their own bump to ".so.3" for a much older 0.12 release.
* Add const size_t json_c_object_sizeof()
* Avoid invalid free (and thus a segfault) when ref_count gets < 0
* PR#394: fix handling of custom double formats that include a ".0"
* Avoid uninitialized variable warnings in json_object_object_foreach
* Issue #396: fix build for certain uClibc based systems.
* Add a top level fuzz directory for fuzzers run by OSS-Fuzz
(From OE-Core rev: bb9a62acaf9aa1691ce276bf037ba35b6c924276)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Libssp is only needed on non-glibc/non-musl systems
Add rpcsvc-proto for rpcgen since its not part of glibc
anymore
(From OE-Core rev: 70c1154163761253346fb477ff362af6a838be09)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shlibs is largely useless for allarch, the particular usecase where it
fails is when DISTRO_FEATURE is changing due to libc being different e.g.
Variable package_do_shlibs value changed:
-DISTRO_FEATURES{ldconfig} = Set
+DISTRO_FEATURES{ldconfig} = Unset
musl -> glibc or other way around 'ldconfig' gets added or deleted to
DISTRO_FEATURE set, neither this distro feature nor the shlibs processing
during packaging is of interest to allarch packages which are largely
arch independent scripts
(From OE-Core rev: 06602d56d1d311562144eafe459fcea36931a34c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This header is used by other apps e.g. ippool
glibc provides an internal version which it should not
(From OE-Core rev: fe24a5d24cb2f6af9b5dd20089e36afe99e88ea1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-lnsl needs to be removed even on glibc
(From OE-Core rev: 1d1e2f2c44aa6d02458cec720bee2818cbaa31ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patches
Redo musl support patch such that it
can be applied universally
(From OE-Core rev: 94c23613724073f8def71bc9e76d7fd7a9f318ad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will substitute the glibc nis module which
has been removed
Skip for non-glibc systems
(From OE-Core rev: cabef0916d860449bfbcc4ff596ec9f0029849e9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is no longer needed as gcc provided libssp
is not built
(From OE-Core rev: 6d025fe137e835ef2388f402d8d58728e62ed280)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp is implemented fully in glibc as well as in musl
so we really do not need the gcc version of this library
except may be for mingw, where we keep it enabled anyway
gcc in OE is built with the knowledge that C library
already provides libssp implementation, we should therefore
not need the gcc implementation of same.
libssp_nonshared piece is a detail which is needed when gcc
is the compiler, in glibc this is part of libc_nonshared.a
already and libc_nonshared.a is linked always when linking
with -lc becuase libc.so in glibc is actually a linker script
GROUP ( /usr/lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /usr/lib/ld-linux-x86-64.so.2 ) )
which automatically links in the needed runtime bits, this however
is not the case for musl, where core SSP APIs are implemented in full
but compiler specific runtime isn't, for this we add a new package
called libssp_nonshared which generate the needed runtime stub
and gcc is already carrying patch to link to libssp_nonshared.a
on musl
This should fix a long standing problem where static PIE executable
were not buildable with OE since it was conflicting SSP implementation
one from C library and the other one from gcc and we end up with
duplicate symbol errors during linking.
Backport a patch from trunk which enhances enable|disable-libssp
to not only disable building libssp but also not emit the gcc
specs to use it for subsequent linking when stack-protector options
are used on compiler cmdline
(From OE-Core rev: 6c14f99936f8c8c9b9d9f40a6b0c69675ea9a566)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp-nonshared is required on musl since
it does not implement the gcc runtime piece of
libssp, which actually it a gcc optimization to
reach to __stack_chk_fail
(From OE-Core rev: 72e254e99682aa0e2d01f20f50d9fbdeb77529b3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libssp-nonshared is a minimal gcc runtime piece which is needed
on non-glibc systems which do implement libssp APIs in libc
Use PIE flags to compile libssp_nonshared.a so it works with
security flags on as well
(From OE-Core rev: ddfab4d021d4daa5aefcd9cdd89d349bbd4b6869)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When trying to build meta-toolchain using TCLIBC = "baremetal"
bitbake throws an error due to a mising dependency:
ERROR: Nothing PROVIDES 'virtual/crypt'
glibc PROVIDES virtual/crypt but was skipped:
PREFERRED_PROVIDER_virtual/libc set to musl, not glibc
musl PROVIDES virtual/crypt but was skipped:
PREFERRED_PROVIDER_virtual/i586-poky-elf-libc-for-gcc set to baremetal,
not musl
libxcrypt PROVIDES virtual/crypt but was skipped: Recipe only applies in
nativesdk case for now
This is caused by the changes on commit:
29f65bda6d
nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead
This is where the concept of virtual/crypt was introduced.
This patch adds virtual/crypt to ASSUME_PROVIDED on tclibc-baremetal,
providing the missing wiring to build meta-toolchain on baremetal
correctly.
(From OE-Core rev: 26a93d2bf7504bf5f3adb085ed2882ae1b1a3701)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version contains an option to exclude certain tests to
run, example:
$ ptest-runner -e "perl"
(From OE-Core rev: e529b8a68741992a21be874b62c0ea37f51d6a19)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 1.9.6 fixes a number of issues since 1.9.4 release, mainly:
go1.9.5 (released 2018/03/28) includes fixes to the compiler, go
command, and net/http/pprof package.
go1.9.6 (released 2018/05/01) includes fixes to the compiler and go
command.
(From OE-Core rev: d4abc33c81f7aa33c432ead92ae16df01ebe36c8)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a minor release that fixes many important issues found since
1.10.1 release.
(From OE-Core rev: 844f3191cd3d8746b7b31cff83e7655958226520)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If alsa-utils configure is not passed a --with-udev-rules-dir option then
it defaults to using /lib/udev/rules.d. This meant that the hard-coded use
of ${D}/lib in do_install in 262e69c9c7acf0beb7bb6b96299e3c993c906434
worked correctly to remove the unwanted rules.
Subsequently, 0a4372705a030ca54ed420cdfec33d46ab93499c changed do_install
to use ${nonarch_base_libdir}, claiming to fix this in the usrmerge case.
This means that if udev is not present in PACKAGECONFIG and usrmerge is
present in DISTRO_FEATURES then the alsa-utils build system will install
the rules in ${D}/lib/udev/rules.d but do_install will attempt to remove
${D}/usr/lib, resulting in something like:
rmdir: failed to remove '.../tmp-glibc/work/i586-oe-linux/alsa-utils/1.1.5-r0/image/usr/lib': No such file or directory
To fix this, let's just tell configure to install the rules in a specific
known location when udev is disabled. This location can then easily be
cleaned up in do_install without doing any harm if udev is enabled.
Tested both with and without usrmerge in DISTRO_FEATURES and with and
without udev in PACKAGECONFIG.
(From OE-Core rev: 022b644e6ba2caa0b32ce3323621c07f78166234)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Phil Blundell <pb@pbcl.net>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If some other per value option was present than 'skip' or 'nick' then
a KeyError would occur. Ignoring such options matches the behaviour of
the old, Perl-based glib-mkenums.
(From OE-Core rev: ca6c82255fbf0ce359b6205c442e165219a3216e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This isn't used by anything in oe-core (or in common use in general, only one
package in Debian depends on it), so remove it from oe-core.
(From OE-Core rev: 11ee7989b2f0709119c450819cd66bad70082a93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove the backported patch 0001-Fix-a-strange-assert-typo-how-was-this-released-with.patch
* Remove the patch 0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch
as it already rewritten gcc to use toolset.flags again
as below:
commit 12decb3ce680031b915f69902795eec47224fc7d
Author: Steven Watanabe <steven@providere-consulting.com>
Date: Mon Jan 1 12:51:43 2018 -0700
Rewrite gcc to use toolset.flags again.
* Remove the hardcoded parallel build limit as the
mechanism already changed as below commit:
commit 316e26ca718afc65d6170029284521392524e4f8
Author: Steven Watanabe <steven@providere-consulting.com>
Date: Wed Apr 26 14:22:06 2017 -0600
Remove fixed limit to -j. Fixes#189.
* execunix.c: Replace select with poll.
* execnt.c: Use RegisterWaitForSingleObject when the number of jobs exceeds MAXIMUM_WAIT_OBJECTS.
Reference: 316e26ca71 (diff-c88fe8afebc632d0bef2bd5985137af2)
(From OE-Core rev: 358cf46ea4d01b7ad8c355fa103d4a6922cc0a88)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SSTATECLEANFUNCS mechanism was introduced to solve user/group
deletion problem. After RSS mechanism was introduced, there's no
need to do so.
There was a patch to remove these obsolete codes for useradd.bbclass,
but the codes in sstate.bbclass were not removed. So clean it up.
(From OE-Core rev: 215b83ce892a7002ed0b1bd7b82a08e67ae15121)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gcc "corei7" CPU type was last documented in gcc 4.8.x and has
been undocumented from gcc 4.9.x onwards:
https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/i386-and-x86-64-Options.htmlhttps://gcc.gnu.org/onlinedocs/gcc-4.9.4/gcc/i386-and-x86-64-Options.html
Although it still seems to be accepted by gcc 7.x, it's likely to be
deprecated and removed at some point. To preempt that, switch the
corei7 TUNE_CCARGS -march CPU type to "nehalem", which is the closest
replacement (and matches the CPU type already being passed to qemu).
Since the tune-corei7.inc include file is intended to cover a range
of CPUs from Nehalem onwards, switch the TUNE_CCARGS -mtune option
from "corei7" to "generic", which instructs gcc to produce code
optimized for the most common IA32/AMD64/EM64T processors.
(From OE-Core rev: 8d2f51e9b8d5b27fc61d148a6dd5f6ef5715d6e6)
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>
There's only one user of tar.inc (meta-gplv2 has its own copy), so
merge the .inc file into the tar recipe.
(From OE-Core rev: cce7b627f9046c15dde49c001481003cee33fc9c)
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>
Add mtd-utils-tests package which includes the test suites mtd-tests,
ubi-tests, fs-tests, etc.
These test suites are useful for verifying flash features or stress
testing.
(From OE-Core rev: 612d0468e34ca922b42a1176ab1e2feef72a2a13)
Signed-off-by: Martin Lund <malu@gomspace.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During Qemu guest migration, a destination process invokes ps2
post_load function. In that, if 'rptr' and 'count' values were
invalid, it could lead to OOB access or infinite loop issue.
Add check to avoid it.
(From OE-Core rev: 0d8f68fe43b4da1a0d356fe6bedb52b8f2a02081)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since perf contaminates linux shared workdir, it probably caused
kernel-devsrc compile failure at world build.
...
|0 blocks
|cpio: ./tools/perf/arch/arm/util/sedr7ORqk: Cannot stat:
No such file or directory
|0 blocks
...
cpio tried to find a file at ${S}/tools/perf and failed
if the input list is not valid.
Make a copy of kernel shared source directory into a perf workdir
could fix the issue.
Drop `Fix for rebuilding' which is obsolete
[YOCTO #10880]
(From OE-Core rev: 9b38c824961fc9dce51bda95c25dac91a69fc64f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redefiine regen-all in Makefile to invoke regen-importlib after
building other regen- targets. Change the recipe to not build it
before regen-all. This avoids trying to build it multiple times,
which can occasionally fail.
(From OE-Core rev: 72d62c9af07bf34bb8fbb3958742eb592985acc2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have some tasks depending on image's do_image_complete task, and we
are also using WKS files to generate partitioned images, but now there
is lacking a inter dependency between do_image_wic and
do_image_complete, so we have to depend on both of them.
Fixed by adding the dependency.
(From OE-Core rev: e3a25f06f2cde701415f4130a43c9b3895d42f10)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing target and image for aarch64, as the current revision is
already fully compatible with ARMv8.
(From OE-Core rev: 43dc32aa00c87f62dcf9a857d4e32469ce27c9e9)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of mtd-utils and mtd-utils-ubifs provided binaries
with identically named BusyBox provided applets in case packages
are installed to same rootfs, by adding relevant binaries to
update-alternatives scope
(From OE-Core rev: a9d8a8b27fc4bc6bdaa9133efd87430813a13212)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building SDK via populate_sdk for qemuarm64 with multilib
enabled, we would have conflict about bits/floatn.h at populate_sdk
time.
file /usr/include/asm/bpf_perf_event.h conflicts between attempted installs of lib32-linux-libc-headers-dev-4.15.7-r0.armv7vehf_vfp and linux-libc-headers-dev-4.15.7-r0.aarch64
file /usr/include/asm/kvm_para.h conflicts between attempted installs of lib32-linux-libc-headers-dev-4.15.7-r0.armv7vehf_vfp and linux-libc-headers-dev-4.15.7-r0.aarch64
Apply oe_multilib_header on these header files to fix the problem.
(From OE-Core rev: 89b4e77129990b842e2ca917b98473ec58205e88)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building SDK via populate_sdk for qemuarm64 with multilib
enabled, we would have conflict about bits/floatn.h at populate_sdk
time.
file /usr/include/bits/floatn.h conflicts between attempted ins
talls of libc6-dev-2.27-r0.aarch64 and lib32-libc6-dev-2.27-r0.armv7vehf_vfp
Apply oe_multilib_header on this header file to fix the problem.
(From OE-Core rev: 650c59c8b6796cf4797ca1860be85f6ccf50bcd2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid collision of propcs provided w binary with BusyBox-provided
applet in case both are installed to same rootfs, by adding w to
update-alternatives scope via bindir_progs variable
(From OE-Core rev: de4206c6fd0c3be77d71958f532604b65a4dd5be)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its trying to build NATIVE llvm-config which is
already built with llvm-native so we do not need
to rebuild it
Drop setting NINJA_STATUS explicitly, its no longer
needed, on the contrary it hinders the task status
update
(From OE-Core rev: f8393b2b4bc5fbd972be00cb17d0c574ae8deff9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using 'basename' to strip the prefix fails when using multiarch style paths.
(From OE-Core rev: c61c416a6504f7e8885df3c94c839d1031920a1c)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe wants to install libs into base_libdir, but uses "basename $libdir" to derive that. That breaks in a multiarch setup. Use the proper variable and remove the inline python usage.
(From OE-Core rev: 6427bcae42fb9ec05ccfd5b63db6bc3ee2afcd4f)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native.bbclass needs to fixup both base_libdir and libdir to handle things like multiarch. This fixes wic and ext4.* image failures during do_rootfs where mkfs.ext4 can't find its libraries.
(From OE-Core rev: 464dad0dc93aeeedd34d90c2f06596060ec135fd)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update dropbear to version 2018.76
- refresh and drop obsolete patches
- add option to use localoptions.h header file
- do not use harden stuff, which leads to QA warning
(From OE-Core rev: ec050b666ec3684918fd9dc564d2dce9a8d6a8ef)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was only in oe-core for RPM5, but RPM4 doesn't use it.
(From OE-Core rev: fb8ca4225f3e26bfc46cf6c06d55df72684c47c6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core is using this now as xz can do multithreaded compression, so
remove it.
(From OE-Core rev: 0c705d112736c90f6a9051c435d430f6aeb4842a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multiarch /usr/include and /usr/lib/<tuple/ are not on the same level anymore. This change will pass a correct includedir, but a wrong libdir, but the linker picks it up anyway.
Tested on multiarch and regular build.
(From OE-Core rev: 9a02cd981eee8b1cd488373659a8a610962309e3)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Wayland
- add an input method based on the text protocol
* File chooser
- Stop activating without double-click
* Bugs fixed:
710888 GtkInfoBar not shown after calling gtk_widget_show
743975 Better deprecation information for GtkStatusIcon
775546 gdkscreen-x11: Don't try to calculate a refresh rate for RandR 1.3
794008 GtkListBoxRow signal poorly documented
(From OE-Core rev: e967f1b77bbcbdb5bca4ef86740496f0e4934fa1)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Checksum of LEGAL file updated for changes to
upstream URL and addition of Wayback Machine url
(From OE-Core rev: 98f889ca4a07c54165d3d983582639951b8ef32e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for btpclient (BTP client for qualification testing)
(From OE-Core rev: d3c855b4afeb6bd98d64185e2fab3c1671b0c953)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add RISC-V support
* Convert atomic_ops_malloc.c and tests to valid C++ code
* Eliminate 'function is never used' cppcheck warning for
* load_before_cas
* Eliminate 'using argument that points at uninitialized var' cppcheck
* error
* Fix 'AO_pt_lock undefined' error if cross-compiling manually (MinGW)
* Fix public headers inclusion from clients C++ code
* Remove gcc/nios2.h file (include gcc/generic.h directly for nios2)
* Support MIPS rel6
(From OE-Core rev: 053a61ef23981e23c9ab25b7900787a842f304c3)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the meson flags to make sure that introspection files are built
when it is enabled.
(From OE-Core rev: 31dfa9983e8793977936f52ec860b1476ec37e18)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
convert to meson build and provide flags for introspection and
documentation.
(From OE-Core rev: d06b0f899f840fb1a9b15584e6cf272a6f7f2562)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xcalibrate was replaced with other xinput touchscreen protocols,
drop this remaining remnant.
(From OE-Core rev: a1cf2b40b5bf0ead10d3bff155467d4f559e1b73)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extensions patch was merged upstream and is no longer needed.
(From OE-Core rev: 1e89528b259e784e2e8d526dc2e0357eccddfd1c)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.22.0 -> 3.23.0
Includes optimizations and fixes for issues detected by OSSFuzz
(From OE-Core rev: b478af4cd9c1cb0cab35b0160f7df3f31ca7358b)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. convert to meson build
2. inherit gnomebase and associated cleanup
3. add libxml2 to DEPENDS list
(From OE-Core rev: 13b717f7cf05aa2f8b1bed27c5dc6ec91b9179e1)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Convert to meson build
2. Remove the following patch made obsolete by moving to meson:
0001-build-Add-with-systemduserunitdir.patch
3. Provide meson flags for introspection and documentation
(From OE-Core rev: 0e1f4b0f0339fa5afd674c8f67dfe35f58cdf77e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the following patch:
0001-Don-t-use-AC_CANONICAL_HOST.patch
(From OE-Core rev: 5954f4a078c179563f31ec237fccde146c04e0d0)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Rebase pkgconfig.patch
- Fix regression on arm64 due to invalid use of va_list
License-Update: copyright years
(From OE-Core rev: 4a59b8a3d81ce6391da59f0aced763d0c16f73eb)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Xorg upstream have replaced the individual xorg proto repositories with one
master repository. This converts to the new system.
The only one not included is calibrateproto which was depreciated entirely
and replaced be xinput. We can drop this entirely.
(From OE-Core rev: 460a2b27af8d023b27703b491331c8cbe7aad0ff)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patch 0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch remove
as it is included in update
(From OE-Core rev: 486b85ced3d309978558cf01dece4f5c1982013e)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
drop patches included in update
(From OE-Core rev: f5341f043ed63db717c74677ff831fd5de7ce7ef)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE changed do to updating copyrige date
(From OE-Core rev: 20e589f0cdae0b062231891f8597c4d90110ceee)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For example, core-image-sato skipped the test alltogether, as it
no longer pulls in Python 2.x at all.
(From OE-Core rev: 5ad0fe9ac6b6362011a17afaa7bee8e788093915)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported 0001-idn-fix-printf-format-security-warnings.patch and
gcc7-compatibility.patch.
Refresh a couple other patches.
(From OE-Core rev: 04d879344e1f45d4d5212996bb1535a3f4ebc545)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed 0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
Add ftw-subdir-walk.patch as it resolves the RECIPE_NO_UPDATE_REASON.
Add --disable-zstd as libzstd isn't provided in oe-core.
Fix wic testcase, as the minimal fs size is now bigger.
(From OE-Core rev: 94b645aa77a4193371e8c77ddc477ec00d858961)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove:
generic-arch-dectection-for-padding-defines.patch (was a backport)
libaio_fix_for_x32.patch (is patching source code that no longer exists)
Rebase:
00_arches.patch (drop the arm bits, as they no longer exist upstream either)
(From OE-Core rev: a3d27ff5763d331c4d6c8b815af5624103311544)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years updated, added terms for Google double-conversion
(From OE-Core rev: b5797e80ccfa080bc1e57c5fb1f2f4a39d0266cf)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase 0001-Disable-libseccomp-sycall-filtering-mechanism.patch
Remove 0001-configure.ac-Remove-gnome-common-macro-calls.patch as
the lines it removes are no longer in upstream code.
(From OE-Core rev: 39c78dbc67acd3e5cc6a38d11a5a26e0a0c72d61)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase patches, remove a couple of upstreamed patches.
Add an option to enable woff2 font library (not currently packaged by oe).
(From OE-Core rev: 182f096210d74d44dd452f2b3f09ec0c3c75f074)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
1.00 15 Feb 2018 Grant McLean
- Add makefile dependency to fix order of build steps RT#62289 (patch from
Ed J)
(From OE-Core rev: d11d124ed641aac9934433116e4b7a2b1806d79b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the wtmp and btmp definitions had been moved from logrotate.conf
to logrotate.d in this release, we also need to install them to
/etc/logrotate.d/.
Also update oeqa runtime logrotate test case.
(From OE-Core rev: 5b4aedd6b18b6ba6ca1bcd460a0b51ced41656cd)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: The checksum of LIC_FILES_CHKSUM has been changed due to
time update of copyright LICENCE to 2018. The content of LICENCE has no
change.
(From OE-Core rev: 7e3b2e462172a8fd457e50726b9cd167736d2347)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the python{3}-setuptools to the latest stable version
Tested on the qemu with core-image-minimal
(From OE-Core rev: 43b3a293c34e8bfc047bd61a2b4ce3b3586f0d71)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix RDEPENDS
Upstream release notes:
2.25 2018-03-18 16:18:24+13:00 Pacific/Auckland
- disable entity expansion when using XML::Parser, for more secure default
behaviour (patch from Ray Morris)
- call to XML::Parser constructor is now in its own method to ease overriding
License-Update: update year to 2018
(From OE-Core rev: d549289fa518a44274911d0959945196bbff930f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop bash-memleak-bug-fix-for-builtin-command-read.patch which has
been accepted since 4.4.17
(From OE-Core rev: ec6da604012b54769db3371a8ed9ac0be4c9d0e6)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Rebase 0001, 0002
2. Fix [already-stripped] QA Issue
Since the following commit add, it strip executables which
are installed by default.
...
commit 087eaf92c621098927f3f98e3652411de48f8b6b
Author: Sven Joachim <svenjoac@gmx.de>
Date: Sun Jan 21 08:01:41 2018 +0100
Import upstream patch 20180120
20180120
+ build-fix in picsmap.c for stdint.h existence.
+ add --disable-stripping option to configure scripts.
...
(From OE-Core rev: 09bc55eeb41a6e06438b35e5456c66198d549b92)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When packaging a node application, a `NameError` can be thrown in create_npm.py if an optional npm dependency does not
support Linux.
(From OE-Core rev: 8293201d98d368d6322eaa960fb3e7cee2ba9368)
Signed-off-by: Sarah Marsh <sarah.marsh@arm.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Where /bin/sh is dash, the recent toolchain scripts change fails as the $(pwd)
usage in oe-init-build-env doesn't function correctly. Fix this by saving
and restoring the cwd and calling the script within its own directory.
This fixes meta-ide-support on dash based systems.
(From OE-Core rev: dceca6d34071b4cbef9e28bbf19dc12f5d925525)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment setup script generated in the build directory sets the PATH
variable by expanding ${PATH} which would have host paths filtered. Sourcing
this script to run runqemu will not work as it complains host stty (/bin/stty)
cannot be found.
To resolve this, the script no longer expands ${PATH} during generation time,
instead it will now source oe-init-build-env to initialize the build
environment so that all host paths will be preserved. Also be sure to prepend
STAGING_BINDIR_TOOLCHAIN to the PATH variable so that the toolchain from the
build directory can be found.
[YOCTO #12695]
(From OE-Core rev: a64a144096c0637387244b89ed22f4b5352b2522)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent movefile from falsely setting the source file's owner and
permissions on the destination directory instead of the destination
file when moving between devices.
This bug caused the last file moved into a directory to dictate the
directory's owner and permissions.
(Bitbake rev: 82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40)
Signed-off-by: Mattias Hansson <mattias.hansson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow debugsource listing using dwarfsourcefiles to fail for static
libraries when the archive content is not as expected.
(From OE-Core rev: e2235b7567a9aba474cda4cdc20cc9bfffc63711)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running the make.bash script to build the host-side
tools, make sure that cgo is using CFLAGS and LDFLAGS for
the build host, rather than those for the target.
[YOCTO #12704]
(From OE-Core rev: b1783e423444e0432d2653fbd00c18d119d82647)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the pseudo.log is significantly shorter with this revision
fddbe85 Fix symlink following errors
3a48dc4 Fix one more stray slash
691a230 Less chatty debugging
0c053e5 Change copyright default.
(From OE-Core rev: 935542f96c0706a6c5f9b0a77fce175733995f49)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGELOCK is there to protect readers of PKGDATA_DIR from writes and files
changing whilst they're being read. With various changes to the codebase,
the lock code has become confused as the files are now written by the sstate
code in do_packagedata, not in do_package directly any longer.
This change cleans up the code so read sites take the shared lock (anything in
do_package), write sites take the full lock (do_packagedata sstate).
The lock from do_package sstate is no longer needed since it doesn't write
outside WORKDIR.
(From OE-Core rev: d46cadbbb42aa71f9436d640891d6ccc8f8e3618)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When specifying several -fdebug-prefix-map command line options to
gcc, they are evaluated right to left (last one first).
Normally, the order is irrelevant. However, when we try to map both:
recipe-sysroot-native
recipe-sysroot
the order matters. With the original order most of our debug packages contain
incorrect debug symbols.
Take for example /usr/bin/.debug/setfacl from acl-dbg:
$ strings setfacl | grep native
...
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
Reordering the fdebug-prefix-map arguments will give us the correct paths:
/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/7.3.0/include
Note there may be additional an incorrect paths, such as:
/usr/src/debug/glibc/2.27-r0/recipe-sysroot-native/usr/lib/x86_64-poky-linux.gcc-cross-initial-x86_64/gcc/x86_64-poky-linux/7.3.0/include
But that one needs to be fixed in the recipe for glibc.
(From OE-Core rev: 593ffffc3baf064b982891d61dacebd08aed3e96)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mingw build was broken by the commit:
"glib-2.0/glib.inc: apply MLPREFIX renaming to all package classes"
When building for mingw, we encounter build errors such as:
mv: cannot stat '<builddir>/<...>/usr/libexec/gio-querymodules': No such file or directory
The mingw file that exists is "gio-querymodules.exe" instead of "gio-qeurymodules".
The fix is to append the names of executables by an OS specific EXEEXT.
[YOCTO #12679]
(From OE-Core rev: 1f53140528d79c38d4f3a82cd0a03bd0ddc87275)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes the output of "wic create mkefidisk -e core-image-sato" from:
The following build artifacts were used to create the image(s):
ROOTFS_DIR: /media/build1/poky/build/tmp.wic.ybraavmb/rootfs_copy
to:
The following build artifacts were used to create the image(s):
ROOTFS_DIR: /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs
which s much less confusing for the user.
[YOCTO #12564]
(From OE-Core rev: a4941af2d3624aecc5dcd7ff54b7ea8c9e9dee8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test shouldn't have merged yet since we don't run portmap/rpcbind
on the autobuilder infrastructure and the test therefore cannot succeed.
We need to document this, set it up, then enable the test. The test itself
is fine and good to have so its left in the code but disabled for now.
(From OE-Core rev: 9640af873d490c5d22b70e32d918c2db37371d21)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"package.bbclass: Include dbgsrc for static libs" introduced a regression
on mingw, fix this by excluding on that TARGETOS.
(From OE-Core rev: 305dda730738a8fb3789047b06fcc45d10212aa3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QA team were testing qemu boot image and shutdown on each
qemu architecture manually. Add automated test to test qemu boot on
ext4 and nfs, finally check that it can shutdown properly.
(From OE-Core rev: 1df5f2dff832528905ff6fcf1d324619fb3d307f)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The debugsource must be added from the package providing the static
lib, because any package using that lib does not have access to the
source code.
Fixes [YOCTO #12558]
(From OE-Core rev: eefa5ba35663fabe1f3f8cf7f1ff126d51240613)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lsusb can also be provided by busybox (CONFIG_LSUSB), so use
update-alternatives to handle the conflict.
(From OE-Core rev: 3c9ab895f937a7e232780c7cb697e102b5f9aaa8)
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While compiling openssl with option `no-des', it caused the openssh
build failure
...
cipher.c:85:41: error: 'EVP_des_ede3_cbc' undeclared here (not in a function);
...
OpenSSL configured that way defines OPENSSL_NO_DES to disable des
(From OE-Core rev: 08a5cda85594fca8b352841a26131bfac39c8417)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible some dynamic runtime library in the dependency chain may
come from sstate and link to libraries which need the libc from
uninative. If we don't do this and binaries are run at do_install time
they would fail to find the symbols from the later libc. Examples:
cmake-native do_install:
bin/cmake: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by TOPDIR/tmp/work/x86_64-linux/cmake-native/3.10.3-r0/recipe-sysroot-native/usr/lib/libexpat.so.1)
dbus-native do_install:
tmp/work/x86_64-linux/dbus-native/1.12.2-r0/build/bus/.libs/lt-dbus-daemon: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/x86_64-linux/dbus-native/1.12.2-r0/recipe-sysroot-native/usr/lib/libexpat.so.1)
This issue is resolved when the interpreter is changed at sstate unpack
time but this isn't soon enough to avoid issues at compile/install time.
By specifing which dynamic linker/loader to use at compile time, this
race window is removed entirely.
(From OE-Core rev: 35867ee035030ab76fc9ccdb0eb1c3f80126301c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a problem when for example, a glibc 2.27 based system builds some
library like libpopt-native and puts it into sstate then it is reused
on a pre glibc-2.27 system to build something which depends on popt like
rpm-native. This results in an error like:
recipe-sysroot-native/usr/lib/libpopt.so: undefined reference to `glob@GLIBC_2.27'
In the past we've had this problem with new symbols like getrandom and
getentropy, here its with a more complex symbol where there is an old
version and a newer version.
We've looked into various options, basically we cannot link against our
uninative libc/ld.so since we don't have the right headers or compiler
link libraries. The compiler doesn't allow you to switch in a new set
either, even if we did want to ship them. Shipping a complete compiler,
dev headers and libs also isn't an option.
On the other hand if we follow the ld man page, it does say:
"""
The reasons for allowing undefined symbol references in shared libraries
specified at link time are that:
- A shared library specified at link time may not be the same as the one
that is available at load time, so the symbol might actually be
resolvable at load time.
"""
which is exactly this case. By the time the binary runs, it will use
our uninative loader and libc and the symbol will be available.
Therefore we basically have a choice, we get weird intermittent bugs,
we drop uninative entirely, or we pass this option.
If we pass the option, we can drop the other workarounds too.
(From OE-Core rev: 75a62ede393bf6b4972390ef5290d50add19341a)
(From OE-Core rev: d18bf7fa8e80d6cfaf3fdbe1ab06eec84b954432)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We just ran into an issue where tar failed to build on one server setup
but built everywhere else just fine.
It was running makeinfo to regenerate some docs files and makeinfo was too
old for the host it was running on. There was no dependency on makeinfo-native
as it was not meant to be regenerating the docs.
It was being regenerated as a date from a timestamp used in the docs
was different in Asian timezones than in the other timezones our builds
were being tested in.
I added an entry to https://wiki.yoctoproject.org/wiki/TipsAndTricks/
about how this was debugged.
As such, lets default to setting and exporting TZ to 'UTC' as was already
pioneered by the reproducibile builds work. This makes the builds
deterministic.
[YOCTO #12665]
(From OE-Core rev: 2a90ae7a3286724ff9e3615c4dbf56038f703810)
(From OE-Core rev: e31f31f81efe4b60938b724bece2a03c7c74a68d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes the libxcrypt change which allows uninative to work on fedora28.
(From OE-Core rev: 4b27ab6487a54b42a52aa16e98ea4d19fa62b5ae)
(From OE-Core rev: 0685eb697f1dfa3b858b6e594cbd8e6070b4fbb8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The isELF function works by running:
result = file <pathname>
if 'ELF' in result
By default 'file' will prepend the result with the path name of the file
that is being checked. This usually works fine, such as:
$ file /home/foo/openembedded-core/meta/classes/package.bbclass
/home/foo/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines
However, if the path includes 'ELF', ELF will end up in the result, and then
the check will return positive.
$ file /home/ELF/openembedded-core/meta/classes/package.bbclass
/home/ELF/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines
This will then result in the isELF coming back true, and possibly causing the
checks that use isELF, such as the 'is it already stripped' check, to do the
incorrect thing.
Adding the '-b' option to file will result in the path being omitted in the
result:
$ file /home/ELF/openembedded-core/meta/classes/package.bbclass
Python script, ASCII text executable, with very long lines
(From OE-Core rev: 5a324e9b2cf6378f8eaa4e394f9cb36d4e2680ac)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 5159ddcb62 string length test
performed against pi_dir has effectively never been able to succeed.
Change this to rather test if pi_dir is not an existing directory. By
doing we remove the chance of seeing the following console error message
during first boot to a pristine rootfs:
'ls: /etc/ipk-postinsts: No such file or directory'
(From OE-Core rev: b1600ec8991dfbd3b73d209b9c620a171c5b13c4)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Conditionally support binary reproducibility of rootfs images.
If REPRODUCIBLE_TIMESTAMP_ROOTFS is specified then:
1. set /etc/timestamp to a reproducible value
2. set /etc/version to a reproducible value
3. set /etc/gconf: set mtime in all %gconf.xml to reproducible values
The reproducible value is taken from the variable REPRODUCIBLE_TIMESTAMP_ROOTFS.
[YOCTO #11176]
[YOCTO #12422]
(From OE-Core rev: 11e45082ad00b9c172e59bf6b2a76dd613773f5a)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
initramfs-framework is more modular and expandable. This change was
proposed in commit 28fc6ba761ed4a47efa7c43e7f7dff5e2fe72b5e
"core-image-minimal-initramfs: use initramfs-framework by default" but
reverted due to the selftests runqemu.RunqemuTests.test_boot_machine_iso
and runqemu.RunqemuTests.test_boot_deploy_hddimg failing. Since then,
the kinks have been worked out, and missing functionality that had been
missed (non-EFI installation module) has been added.
Since the PACKAGE_INSTALL variable was getting so long with all these
individual modules getting added, I also introduced a new
INITRAMFS_SCRIPTS variable to the core-image-minimal-initramfs recipe.
This variable makes the recipe look much cleaner, and also allows easier
replacement or additions to the scripts.
Fixes [YOCTO #10987].
(From OE-Core rev: 882ae0dcce2d96a7c286fc23b22b07972d3d8f93)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch chardev-connect-socket-to-a-spawned-command.patch calls
"socketpair". This function is missing in mingw, so the patch
needs to be modified accordingly (by conditional compilation using
_WIN32 macro where appropriate), otherwise we end up with a broken
mingw build.
While it is possible to simply remove the whole patch for mingw build
(via a .bbappend file in meta-mingw), it makes more sense to modify
the patch itself.
(From OE-Core rev: 2d955bb53a8ee36c0a648c23293139612f33f97b)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add groff to RDEPENDS_${PN}, otherwise, the 'man' command cannot
work correctly on target.
(From OE-Core rev: 199d8d53261e22971bd094ddf3318855d539e6be)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not a problem right now but if we
were to use -fstack-protector-all this can
cause build errors
(From OE-Core rev: 271831133358b3231808e8fe7aa2817e41d98e2f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add runtime test for stap to test basic SystemTap
operations: can compile very basic module and run on
target device.
Note we disable (-DSTP_NO_VERREL_CHECK) SystemTap
additional kernel release check since during OE testing
mismatching kernel-devsrc and kernels are used.
(From OE-Core rev: 659d19fcddb7edaca8f5221148d479e73304b430)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modern systemtap builds fine for MIPS and aarch64, so don't exclude it from this
packagegroup.
(From OE-Core rev: 01658c4e978182a31dc7e2cd4f525066b479c2f9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemtap uses obstack.h and FTW_SKIP_SUBTREE, both of which are GNU extensions
in glibc.
(From OE-Core rev: 80286cb2e979097800a51801c92e015421482daa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with RSS used in pyro this script isn't very useful anymore
* RSS makes sure that the dependencies are almost always deterministic
the only case known to me where dependencies are different based on
what was already built in TMPDIR are runtime dependencies resolved
by shlibs code in package.bbclass (which is using global pkgdata, not
specific to given recipe and its RSS) as described here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9217#c4
but for this case it's not worth running complete test-dependencies.sh
runs
(From OE-Core rev: ac582a8f856de8dde6a04d9c1da58618b80559b6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It appears that sometimes xserver-nodm.service is starting before
display driver finished loading causing the following failure in
Xorg log:
(EE) open /dev/dri/card0: No such file or directory
The introduced by this patch is to restart the service,
hopefully the display driver will finish loading.
(From OE-Core rev: c3935f11f2807ef73f224b6690886d863788310d)
Signed-off-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If valgrind-ptest is installed, we will get the some prelink error
like below at do_image:
.../usr/sbin/prelink: /usr/lib64/valgrind/ptest/memcheck/tests/wrap7:\
Could not find one of the dependencies: \
.../usr/sbin//prelink-rtld: error \
while loading shared libraries: wrap7so.so: cannot open shared \
object file: No such file or directory
The wrap7 needs to link the shared object in the path
/usr/lib64/valgrind/ptest/memcheck/tests, but it fails.
So we correct the path for ptest.
(From OE-Core rev: 1ec0c977c55ae2c38252e1807dc15c56007d30dc)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the time being, there is a serious bug[1] in Go 1.10 when it comes to
use the shared runtime support which cases problems in multiple projects.
1. https://github.com/golang/go/issues/24640
It is still unclear if the problem arises from a bug inside the
compiler itself or it makes a real problem more visible. Either way,
using 1.10 as default seems to be a risk so we are changing back to
1.9 for now.
Refs: [YOCTO: #12631]
(From OE-Core rev: c5b5055d2dc04317a7a64c150046a6435a6805c2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump the version number for force remotes to use a newly generated
environment, since the old one potentially had a few bugs
(From OE-Core rev: 6c3b2ac41f3412ebce8364df637d64e34daab8a6)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve reporting when the icecream environment cannot be created by
assigning the flock call a specific error number when the lock fails so
it can be distinguished from environment creation errors.
(From OE-Core rev: 563448a7a3ca87cc07528c18f8047913e0468e7a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ICECC_ENV_DEBUG variable can be set in local.conf to pass additional
debugging options to the Icecream toolchain creation script.
(From OE-Core rev: be913284bb34ebf4a71770646044603a2a27d01b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can often be useful to include additional debugging tools the
toolchain such as strace. Add an option to include an arbitrary path.
(From OE-Core rev: 1fc1e3d59afd292ff8f7c4e1f64324134b73b8f4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shared libraries sometimes (frequently?) don't have a program
interpreter specified. The previous code would fail to find the library
dependencies in these cases because no interpreter could be found.
Commonly, this meant that if a library depends on another library, it
might not be included toolchain because dependency scanning stops with
the first one.
Instead, capture the program interpreter from the program or library
that starts the dependency chain and use that interpreter to get all of
the dependencies in the chain, recursively.
Additionally, if no interpreter can be found, fallback to using ldd
(From OE-Core rev: 4f55e61e9e3dd921bd71a127580dc5fc71d7b339)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some newer libraries and programs use RUNPATH to specify the library
search path. These executables were being skipped by the rpath fixup
code because it was grepping the ELF header for RPATH only. A more
correct solution is to ask patchelf to report the rpath, as that tool
will properly report either RPATH or RUNPATH as appropriate.
(From OE-Core rev: d1e88ad01df9b6419e02f632b1ba288d4cc3b2bf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modifies the icecc-create-env script so that it can log output to a log
file. In addition, a --debug flag is added that allows verbose logging.
Finally, the silent flag was removed since it was never used in
icecc.bbclass
(From OE-Core rev: 3d0bd786fd79967cf8754d022044df311dd8ad3e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some circumstances, gconf isn't able to save configurations
because ~/.config folder aka root_dir doesn't exist.
For example when saving settings using matchbox-appearance,
the following error is shown:
GConf Error: Configuration server couldn't be contacted: D-BUS error:
Can't overwrite existing read-only value: Value for
`/desktop/poky/interface/font_name' set in a read-only source at the
front of your configuration path
This issue was not seen before because ~/.config directory is shared
between several packages and one of those packages usually creates it
by the time gconf wants to use it.
This patch makes sure that gconf creates the .config directory if it
doesn't exist, along with the gconf directory inside it.
[YOCTO #12632]
(From OE-Core rev: 4d16fa05e47ccc8425ebb085c295d7d8dca6b2e6)
Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
/mmeeks/bootchart.git is redirecting to /xrmx/bootchart.git so update SRC_URI to
match.
(From OE-Core rev: c4208f0ef0753a4615cf9dbcfb305f638b262f50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python3 installation in the SDK did not include the minimum set
of modules to be functional, particularly in the case where Python
is brought in through dependencies. Rather than requiring the user
to explicitly add the modules, it's better to pull in the modules
through RRECOMMENDS. Note that the Python 2 recipe already does
this.
(From OE-Core rev: 5a88e59e488248b7ec53b072f934052b96c78a51)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Author: Juro Bystricky <juro.bystricky@intel.com>
Date: Fri Mar 30 10:14:05 2018 -0700
modpost: srcversion sometimes incorrect
"srcversion" field inserted into module modinfo section contains a
sum of the source files which made it. However, this field can
be incorrect. Building the same module can end up having inconsistent
srcversion field eventhough the sources remain the same.
This can be reproduced by building modules in a deeply nested directory,
but other factors contribute as well.
The reason for incorrect srcversion is that some source files can be
simply silently skipped from the checksum calculation due to limited
buffer space for line parsing.
This patch addresses two issues:
1. Allocates a larger line buffer (32k vs 4k).
2. Issues a warning if a line length exceeds the line buffer.
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
(From OE-Core rev: 7d92ed3dcd8c4b5f7cde2f521569c792d55fae65)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I guess not many people are building linux-yocto-tiny for
v4.15, given that I managed to mangle the name of the recipe
when I introduced it.
[YOCTO #12640]
(From OE-Core rev: 6c1ddbbb0eb9c86646fcb99520e4747cfcd2b418)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.15+ already has the following dependencies:
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
DEPENDS += "openssl-native util-linux-native"
Updates to 4.14 via the -stable releases have also introduced the same
dependencies to 4.14's "make scripts". As such, we bring the same lines
into 4.14 to restore the ability to build scripts.
(From OE-Core rev: 148fd7a5bfea5d18952355a294e6d36ca82291d2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xz has native support for threaded compression now and SDK creation was the only
part of oe-core which is using pixz instead of xz.
Not only does this remove pixz-native from the SDK dependencies, but in my
limited testing xz -T0 is slightly faster and produces smaller archives than
pixz for the same input.
(From OE-Core rev: ce1cfa57d9828c0898f52e736f671ce8db534031)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since pigz is no longer a drop-in replacement for gzip (oe-core 1624b7b) the
image creation has been using gzip instead of pigz, despite still depending on
pigz-native. Fix this by invoking pigz explicitly.
(From OE-Core rev: 214fa7fe3b162162d2fa8b31eec28bedd86fcc7d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [#YOCTO 12030]
Updated the "Task Checksums and Setscene" section to provide a bit
of user information around the bitbake-dumpsigs use that lets a
user examine signatures and inputs that determine if a do_compile
task is indeed supposed to be run.
Added more explanation of how a user can examine signatures used
to determine if a do_compile task is indeed supposed to be run.
(Bitbake rev: 103bbc6642261cd5da038ba2071621919ee01253)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made sure that the terms "OpenEmbedded-Core" and "OE-Core"
are used as such throughout the manual.
(Bitbake rev: 677e58f8616a4bf58772e54d2313af3885a3b110)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware contains ${PN}-license package since this commit:
commit 1ee083da0730408fffdbbf5f29abc299c0e61be9
Author: Jackie Huang <jackie.huang@windriver.com>
Date: Mon Apr 13 10:17:21 2015 +0800
linux-firmware: fix the mess of licenses
* LICENSE_CREATE_PACKAGE functionality in license.bbclass when enabled
adds new package with suffix:
LICENSE_PACKAGE_SUFFIX ??= "-lic"
but then it checks if ${PN}-${LICENSE_PACKAGE_SUFFIX} is included
in PACKAGES before adding it and when found it shows:
WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: linux-firmware-lic package already existed in linux-firmware.
and doesn't add the ${PN}-lic to PACKAGES and causes another warning:
WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: QA Issue: linux-firmware: Files/directories were installed but not shipped in any package:
/usr
/usr/share
/usr/share/licenses
/usr/share/licenses/linux-firmware
that's because it was searching ${PN}-lic in PACKAGES as a string
so it found ${PN}-lic as a substring of ${PN}-license, add a split
to search in an list
(From OE-Core rev: 9b9897fc034819385a9d4ce591cc79dd458f3f24)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add it to allow older distributions e.g. Ubuntu 14.04 with gcc 4.8
to build this, otherwise it fails with:
../git/gen-des-tables.c: In function 'write_table_u8':
../git/gen-des-tables.c:307:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < m; i++)
^
(From OE-Core rev: 2591741896a6a267ceca9519f21bd39b5b196559)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option for dbus in configure.ac, and explicitly build without dbus
for rpm-native.
Previously, the rpm recipe tries to prevent rpm-native from attempting
to inhibit shutdown via session dbus by appending '--disable-plugins'
to EXTRA_OECONF in case of native.
However, some layer may need some functionality via plugin support. And
when it enables it, we would meet the following warning at rootfs time.
Unable to get systemd shutdown inhibition lock: Socket name too long
As plugins/systemd_inhibit.c is the only place that's related to this
dependency, we can be sure that dbus is really not needed for rpm-native.
(From OE-Core rev: 815ccef2d5bef1e46c51916e694d0974aee394a9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since ${SSTATE_ARCHS} now contains ${PACKAGE_EXTRA_ARCHS} there is no
longer any need to add those extra architectures to the list of
architectures handled in get_deployed_dependencies().
(From OE-Core rev: e55e6df4f1434458cdfa0e2d3610b48119e5a782)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes sure files provided by packages that use any of the extra
architectures defined using ${PACKAGE_EXTRA_ARCHS} are cleaned from
tmp/sysroot-components when sstate_eventhandler2() executes.
Without this, changing a package from using one of the extra
architectures to another architecture would lead to files being
leftover in tmp/sysroot-components, which could later be picked up
when creating the RSS for another package rather than the files that
belonged to the updated package.
(From OE-Core rev: b959b3bd92aa2939d407800fc4167b0535fd4674)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this change, there will be two sstate index files in
tmp/sstate-control for any machine that contains a dash in the
name.
(From OE-Core rev: 29e7799bdb3773c40492e01448e0c614ed44583d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora28[1] has decided to go ahead and use libxcrypt to replace libcrypt from glibc
despite the change not having merged into glibc upstream yet. This breaks the use of
uninative in OE on fedora28 since binaries there are now using new symbols only found
in libxcrypt. libxcrypt is meant to be backwards compatible with libcrypt but not the
reverse.
Since this will impact OE in the next release cycle, this changes nativesdk only
to use this new model and adds libxcrypt to work in that case. This allows us to
build a uninative which is compatible with fedora28 and previous other OSes.
In order to work, recipes will now need to depend on virtual/crypt where they use
libcrypt since its now a separate library and we can't depend on it from glibc to
preseve backwards compatibility since glibc needs to build first. For now, only the
problematic nativesdk recipes have been fixed up. For target use, the default
provider remains glibc for now. Assuming this change is merged into upstream glibc,
we will need to roll this change out for the target but we will do this in the next
release cycle when we can better deal with the resulting bugs.
[1] https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt
Original patch from Charles-Antoine Couret <charles-antoine.couret@essensium.com>,
tweaked by RP to add virtual provides, SkipRecipe for libxcrypt and other minor
tweaks.
(From OE-Core rev: c1573cb7faeb296fe7077a60d02443d5ed5bded0)
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool needs to set this to avoid warnings which break
various tests.
(From OE-Core rev: f65ebfeda0bfbac78e4a2a6609ba654ca38a8b0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we see warnings if LAYERSERIES_COMPAT is unset, the auto generated
code from devtool/oeqa needs to set this to avoid warnings which break
various tests.
(From OE-Core rev: 27568410ebb0d40db3428550704f35199df0e034)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alejandro asked this be reverted as the patch causes more problems
than it solves.
This reverts commit 5d288d286e.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add Perl's patch submitted to upstream to be compiled along with glibc with libcrypt split.
(From OE-Core rev: 79703d83790a2973fefdb0e12e125b5f17e98cdf)
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the package will get an automatic prefix "kernel-module", so
the package kernel-module-hello does exist, populating rootfs can
generate an error:
- nothing provides kernel-module-hello ...
This is quite unfortunate, as this recipe is used as a sample.
Adding RPROVIDES_${PN} += "kernel-module-hello" to the recipe fixes
the problem.
[YOCTO #12641]
(From OE-Core rev: ca17a7bbea5f5454da43545d544ff7772d83ac19)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New crosstap python implementation is total replacement for
crosstap shell script, that has superseding capabilities.
New script support cross compiling of SystemTap scripts
for user-land, by using supplied image rootfs. Whereas old
script could only deal with scripts against kernel. New script
has more complex logic and additional capabilities.
As invocation interface new script support old "legacy"
mode and provides alternative new regular options interface
to access additional functionality.
(From OE-Core rev: 1cbbcf26e0a9ca6e0b34a89512bf75dbae8bfaf0)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For details on issues fixed please look at commit message of individual
patches.
Upstream-Status: Backport [systemtap@sourceware.org]
(From OE-Core rev: 5aa93de3a79c8691e74e982d3d4b0099b04f5555)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For cases when systemap module compilation happens on host in
cross-compilation mode, and it is desirable to minimize systemtap
presense on target we need to have just smallest possible set of
utilties that are required to run compiled modules.
Introduce new "translator" PACKAGECONFIG, if it is not set
it would mean that just minimal set of run-time utilities will
be included in the package.
For run-time only systemtap build variant use
PACKAGECONFIG_pn-systemtap = "" or
PACKAGECONFIG_pn-systemtap = "monitor"
Suggested-by: Taras Kondratiuk <takondra@cisco.com>
(From OE-Core rev: a22b8140c6924eb3b3cd7b5bea66a4d3ed413807)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is IMAGE_GEN_DEBUGFS="1" variable that enables build of
additional rootfs-dbg and additional archive that contains
complimentary symbols files for a given image. But the issue
with this resulting directory and tarball that before use it
has to be combined with original image content. It is required
since all cross debugging tools like gdb, perf, and systemtap
need file system that contains both target executables/libraries
and their symbols. Those tools need to find executable/library
first and through it debuglink note find corresponding symbols
file.
image-combined-dbg when added to USER_CLASSES just copies
final resulting rootfs back into rootfs-dbg creating combined
target and debug symbols rootfs that can be used for debugging
directly.
(From OE-Core rev: 7ccb077f51c9232de70e5c6f9897fd9986e3be9d)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since v7.51.0, libidn2 is the only available option, libidn
support was dropped.
The configure option was renamed as of v7.53.0
Therefore, curl unconditionally tries to build against libidn2,
which in particular is a problem for curl-native, as that might
or might not build against the build-machine's libidn2 now,
which furthermore causes problems when trying to share sstate
between multiple build machines.
We therefore see the following in the config log:
...
checking whether to build with libidn2... (assumed) yes
...
checking for libidn2 options with pkg-config... no
configure: IDN_LIBS: "-lidn2"
configure: IDN_LDFLAGS: ""
configure: IDN_CPPFLAGS: ""
configure: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... yes
checking idn2.h usability... yes
checking idn2.h presence... yes
checking for idn2.h... yes
...
IDN support: enabled (libidn2)
...
even though this recipe tries to disable that.
While libidn2 isn't available in OE, this change at least:
* prevents curl-native to silently build against libidn2 if
that is installed on build machine, even if not requested
* alerts people who use the PACKAGECONFIG option that it's
not actually doing what they intend to do
(From OE-Core rev: 705eaea991622bdbb2ee83eefa8df8e665e3efe4)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.
(From OE-Core rev: a2cbb5dc4c6191ca343dc4211abde693dc1a579a)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.
Also mark as broken entirely with musl.
(From OE-Core rev: 7d90d2a70f0184ad715e9917d3e7aa096cf98f79)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We'd like layers to set this variable so that we know which layers are compatible
with which others, even if the branch is a generic un-updated "master" branch.
Start printing a warning to highlight this issue.
(Bitbake rev: cca81e33b58c390dcf5cc3a31555a43b79177166)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also set LAYERSERIES_COMPAT for core (we're compatible with ourself).
(From OE-Core rev: 4aa43cd844781a07a2dbf17f21ed35c6a0100d02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adpat to the upgrade from 5.0 -> 6.0.
(From OE-Core rev: dc52f9cf343df4c2d77bee0e47004466321e7edb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: bae5ced6eba78f1903e15d7f9dd7afc3c06e8955)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools,
there is no need to repeat it here.
(From OE-Core rev: 9a514311fa062fa3f8bccc4c47e907f88221024a)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: 301d153781c7ddb6e38178c56f960e18d62788ab)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.
(From OE-Core rev: 2eb7ba6cb68e171c880bcb1fc614f1ae6b300e4f)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PRINC is no longer used and removed from documentation:
commit 7baadd86ee
Author: Scott Rifenbark <scott.m.rifenbark@intel.com>
Date: Mon May 18 09:25:51 2015 -0600
ref-manual: Removed PRINC entry from the glossary
(From OE-Core rev: b15089b014b95a8730f622ca4959b42ed15cb175)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When archiving a kernel, if S is ${WORKDIR}/git, then
${WORKDIR}/git is in fact a soft link into work-shared,
and the archive contains just the soft link. Fix by
archiving the real directory.
(From OE-Core rev: 564204dd6b73697ef4b6c17243067892876cc323)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Special handling for kernel source in work-shared was
incorrectly limited to kernel-yocto.bbclass instead
of kernel.bbclass.
(From OE-Core rev: b8c5680a67888d43540366a40bd0c501e926ac31)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have postinst intercept execution working for SDK generation,
adding MLPREFIX again makes sense in all cases, as the intercepts do require
that it is there.
This reverts commit 4ffb728df4.
(From OE-Core rev: 0792540170b6150a0c5fe8586bb8012affc3f90e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When it was something else than /usr/libexec (e.g. when
installing native SDK packages), things broke down.
(From OE-Core rev: d99e819a6cbde6d1116c434ddba4c5f8eca7e6d8)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously this wasn't done, and so any packages installed from
populate_sdk would not have the postinsts fully executed
(particularly generation of various caches via running nativesdk or target
binaries with qemu wasn't working).
[YOCTO #12630]
(From OE-Core rev: a484ff072eea3f47de2c3348048201249cefa46b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows running the intercepts when creating SDKs, which previously
wasn't possible, as SDK code does not use the rootfs class, and calls
into PackageManager methods directly.
(From OE-Core rev: f830388c5e9125f385a42acd7365d1235967b57c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will allow handling postinst_intercepts when populating SDKs (which
use PackageManager class directly, and do not utilize RootFS class).
(From OE-Core rev: 9454fd328040fd58c981d028a74fcf181bde8e89)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will be useful when also moving postinst_intercept handling to
package manager class from rootfs class.
(From OE-Core rev: a4cd69bdd5b9dfa1125887f4d9038d41996e39c7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its use required a script from an external repo which hasn't been updated
in 4 years, the recipe itself is out of date (doesn't install all
intercepts), and there is no oe-selftest or documentation for this.
If anyone still wants this, please do it in a separate layer.
(From OE-Core rev: 1fbae102fde54c9e7a0d74a4cda9900cd17640d6)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of patches in SRC_URI was restructured in 49aae1d7, and left
a comment about patches from Debian hanging without context. Move and
reword it to make it remain useful.
There was also a leftover comment that referred to two .h files and
do_configure_prepend() that were removed in f960c026.
(From OE-Core rev: 80a702db442674e16a450a120972eeee4cbcb29a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, RPM_SIGN_PACKAGES is not defined. Add gpgcheck=0 to
oe-remote-repo.repo file, otherwise dnf will complain during
install operation on target
Note, RPM_SIGN_PACKAGES is set only when you inherit sign_rpm explicitly
(From OE-Core rev: 002a71eaa7606828c399972d8fd35e19e7b71929)
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version has been published at April 03, 2018, and it is a bugfix
only release.
The release includes several important fixes that were made as part of
18.0.1 development cycle. Full list of bug fixes can be see online at:
https://www.mesa3d.org/relnotes/17.3.8.html
(From OE-Core rev: 782fb864349d4f5c07a38f0e117659bfb841d3c2)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As introduced by a56fb90dc3 ('base.bbclass
wipe ${S} before unpacking source') the base.bbclass uses a python
anonymous function to set the 'do_unpack' varflag 'cleandirs' to either
'${S}' or '${S}/patches' depending on equality of '${S}' and '${WORKDIR}'.
Not that this only differs from the way almost all other recipes set or
modify a tasks 'cleandirs' flag, it also has a significant impact on the
kernel.bbclass (and possibly further ones) and causes incorrect
behavior for rebuilds triggered by source modification, e.g. by a change
of the defconfig file for a kernel build.
The kernel.bbclass tries to extend do_unpack[cleandirs]:
| do_unpack[cleandirs] += " ${S} ${STAGING_KERNEL_DIR} ${B} ${STAGING_KERNEL_BUILDDIR}"
As python anonymous functions are evaluated at the very end of recipe
parsing, the d.setVarFlag('do_unpack', 'cleandirs', '${S}') statement in
base.bbclass will overwrite every modification to cleandirs that is done
as shown for the kernel class above.
As a result of this, a change to a kernels 'defconfig' will lead to an
updated defconfig file in ${WORKDIR}, but as ${B} never gets cleaned and
${B}/.config still exists, it will not be copied to ${B}/.config and
thus not find its way in the build kernel.
This is a severe issue for the kernel development and build process!
This patch changes setting of the cleandirs varflag in base.bbclass to
a simple variable assignment as almost all other recipes do it. This now
again allows overwriting or appending the varflag with common methods
such as done in kernel.bbclass.
This issue affects morty, pyro, rocko and master.
(From OE-Core rev: 20901b9783220aa6e7adae4951c531919c20859b)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible that a trailing or extra slash somewhere in the external
source path could result in the directory not being removed from
cleandirs; it's also possible that a cleandirs entry is somewhere
underneath the source tree and that tree should never have parts of it
deleted by the build system. Use oe.path.is_path_parent() (which makes
paths absolute before checking them) to find out if any path in
cleandirs is anywhere underneath the external source path, and drop it
if it is.
(From OE-Core rev: 87ec0fb470274d980f8553a85f778809c269c5d7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the existing oe.recipeutils.split_var_value() function to split the
unexpanded value of the cleandirs varflag, in case it contains python
expressions - we don't want to split the expression itself as the chunks
will not expand properly individually and we can miss something that
expands to the source tree (and thus it can get deleted, the avoidance
of which is the whole point of this code).
(From OE-Core rev: 611cee69d7300a4746edd752c9557af60e7beecc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix typo in sulogin-path setting. It should be ${base_sbindir} instead of
just {base_sbindir}.
(From OE-Core rev: c168f6fe35ada66f7d6d6b5151fa248230c38676)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When uninative is activated (poky's default) internal datastore variables are modified (NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS) to enable uninative
support. This is happening after parsing is done at the beginning of the build. On the next bitbake call the recipe would be parsed if the two
variables above were not added to the parsing whitelist BB_HASHCONFIG_WHITELIST.
The fix is to add these two variables to the recipe parsing whitelist BB_HASHCONFIG_WHITELIST, this is done at recipe parsing time, only when
uninative.bbclass is used.
(From OE-Core rev: 75bb95ada98ef129d2fa48568f27dddb078c852c)
Signed-off-by: Cuero Bugot <cbugot@sierrawireless.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a couple of prints to get a nicer log, and creates a
small summary or report after checking every module, it
makes it more feasible for adoption, easier to debug why
a module ended at a certain package and see how the
manifest was created.
(From OE-Core rev: 4c2af72f51a7bf187615fc0b3a229d25c3e191e9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is not using autoconf completely, therefore there
is no autoreconf happening, so when we depend on latest
gnu-config changes e.g. new architectures like riscv
the build does not see them and fails.
Installing these files from native sysroot helps
(From OE-Core rev: 2624f400af6e51f6f3379f9f119b8f81c75a014b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define cpu type for Qemu in QEMU_EXTRAOPTIONS.
Otherways Qemu will emulate some virtual qemu32/64 processor,
which has very basic set of features, and programs built
for later CPU may crash, due to lack of new features (e.g. SSSE3).
(From OE-Core rev: 11f4fdcafed1383e5b6c2e634c670d19124e537a)
Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be installed to some non standard path in which
case build will be broken.
As python2.7 is specified in HOSTTOOLS we can rely
that it is present in the PATH, so no need to hardcode
it to /usr/bin.
(From OE-Core rev: a200d22b26aded093289cb9150b3f05f76578c83)
Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found when I run:
$ recipetool create "ssh://git@xxx.xxx:7999/xxx.git"
the url turned out to be: "git://git@xxx.xxx/7999/xxx.git;protocol=ssh"
after parsing, the port number was parsed as part of the path, this is
definitely wrong and lead to fetching failures.
This issue could be fixed in reformat_git_uri, by filtering out port
numbers when formatting ":".
(From OE-Core rev: 4290e04b69360b5e1da9f37166015e30f66cb335)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
,----[ Changes in 3.10.3 ]
| Brad King (1):
| CMake 3.10.3
|
| Craig Scott (1):
| GoogleTest: Rename TIMEOUT parameter to avoid clash
|
| Sebastian Holtermann (1):
| Autogen: Fix for the empty source file crash in 3.10.2
|
| Tianhao Chai (1):
| ccmake: fix status line buffer overflow on very wide terminals
`----
(From OE-Core rev: ae230e1f858f83d1ff063554b49bd3ee1f880f76)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on
every build. It is visible in the output of "cat /proc/version" after
the hash character.
(From OE-Core rev: 7fa32ee42c3320e9e2b24ef747e43484b719f617)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With multi kernel support in the installer we can exceed this limit.
Calculate a sane size by checking the size of the original boot
partition minus some objects we know won't be installed, plus some extra
space for users.
In addition, in the common case where only one small kernel is present
to be installed, we actually get a smaller boot partition with less
wasted space.
Also add VIRTUAL-RUNTIME_base-utils to RDEPENDS where these scripts are
used, as they're needed for the du command.
[YOCTO #12583].
(From OE-Core rev: 2ca601bef44a07512c93b8452cf9001dce402617)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of assuming order has changed if no package has been added or
removed, loop through packages to check if order has changed. This will
prevent the script from falsely reporting "changed order" if a version
has increased.
Fixes [YOCTO #12334]
(From OE-Core rev: 77d701c5fb5961bd818810a4d4cb3a9bd2432fae)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change includes several bug fixes and improvements, including better path
handling (the existance of . and .. for files), handling of the sticky bit, and
syscall renameat2 handling and interception through syscall() which was breaking
coreutils mv operations on fedora27.
[YOCTO #12594]
[YOCTO #12379]
[YOCTO #11643]
(From OE-Core rev: ddbcb88849d5c07a4cbbdc90fa1ab4d369476f8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These spaces aren't needed and are confusing people. Remove them.
(From meta-yocto rev: 36d20206b73d2efbf72353030b786483eb8749b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a fr_FR locale is found, it is automatically tested. The test
will fail if the locale is UTF-8, as the test blindly assumes
(and expects) a non-UTF fr_FR locale.
The remedy is to skip the test.
[YOCTO #12215]
(From OE-Core rev: 4cedddb83623c79980b354642dfeaf78218ca4b7)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the sqlite3 files ended up in python3-misc incorrectly,
this is caused becuse we couldnt add the whole ${libdir}/python3/sqlite3
folder on the package because we also have another sqlite3-tests
package that needs to include another folder from that directory.
This patch not only fixes the do_create_manifest script to handle this
situation, but also patches the manifest (created using the script)
which also fixes a hiddn runtime dependency that we wouldn't have seen.
(From OE-Core rev: 3324cb31670f33ffe193e550e3b3da8380b3c8c9)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a couple of python modules that contain folders themselves,
for that reason they also contain a __pycache__ folder inside those
directories, since we include the whole folder in the manifest, the
pycache directories end up with the files and not the cache files.
This patch catches that and adds the directories to the correct
structure.
(From OE-Core rev: df9401e7e69ce162e257e827d67eb217666e532d)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the change from assuming kernels will be named "vmlinuz"
everywhere, to instead using KERNEL_IMAGETYPE, we require that
KERNEL_IMAGETYPE is set to something. Instead of setting the default in
multiple individual files, set it in default-distrovars.inc.
x86(-64) arches get bzImage as the default. Others get zImage as per
meta/conf/documentation.conf.
Also set KERNEL_IMAGETYPES, as we will eventually be switching away from
KERNEL_IMAGETYPE.
Thanks to Andre McCurdy <armccurdy@gmail.com> for the arch defaults
part.
(From OE-Core rev: a57d784211a39587538094425ee0246e9ddfbf9d)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a minor release that fixes many important issues found since
1.10 release.
(From OE-Core rev: 7068024c1ee8a3ec03904d50860fc42d7c421f87)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update-ca-certificates symlinks (trusted) certificates
from $CERTSDIR or $LOCALCERTSDIR into $ETCCERTSDIR.
update-ca-certificates can call hook scripts installed
into /etc/ca-certificates/update.d. Those scripts are
passed the pem file in /etc/ssl/certs/ that was added or
removed in this run and those pem files are absolute
symlinks into $CERTSDIR or $LOCALCERTSDIR at the moment.
When running update-ca-certificates during image build
time, they thusly all point into the host's file system,
not into the $SYSROOT. This means:
* the host's file system layout must match the one
produced by OE, and
* it also means that the host must have installed the same
(or more) certificates as the target in $CERTSDIR and
$LOCALCERTSDIR
This is a problem when wanting to execute hook scripts,
because they all need to be taught about $SYSROOT, and
behave differently depending on whether they're called
at image build time, or on the target, as otherwise they
will be trying to actually read the host's certificates
from $CERTSDIR or $LOCALCERTSDIR.
This also is a problem when running anything else during
image build time that depends on the trusted CA
certificates.
Changing the symlink to be relative solves all of these
problems. At the same time, we have to make sure to add
$CERTSDIR to SYSROOT_DIRS, so that the symlinks are still
valid when somebody DEPENDS on ca-certificates-native. As
a side-effect, this also fixes a problem in meta-java,
where some recipes (e.g. openjdk-8-native) try to access
certificates from $CERTSDIR to generate the java trustStore
at build time.
Do so.
Upstream-Status: Inappropriate [OE-specific]
(From OE-Core rev: 09bb7718d74573be9a5db4d0737fb14126f6489c)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also set the default kernel of these BSPs to v4.15.
(From meta-yocto rev: 4c35cdf84b24104c341b986dd3e04323aca894c4)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes which use a shared workdir (e.g. gcc-runtine and libgcc) can
race over temporary files causing interesting build failures.
Using B instead of S avoids this problem.
[YOCTO #12605]
(From OE-Core rev: d6c13a5ff441f7076eb327c0d0b747bd7603db0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The multilib version would race against then non-ml version leading
to all kinds of odd build failures.
(From OE-Core rev: 6bb70bd3857edb8cb6cc1317f57b899a89be2653)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kernels which use tools/objtool can now fail when building external modules
due to objtool being missing, the generated files can also cause problems
for kernel-devsrc.
Ensure objtool is generated in make-mod-scripts by also calling
"make prepare".
For devsrc, delete the generated binaries since they'd be native
binaries and unsuitable for the target.
The oeqa kernel module tests also need to have the additional "make prepare"
step added.
(From OE-Core rev: 52fd2993784b4218f5df4f343e7da45d964df305)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the sqlite3 module was in python3-misc by accident, move the files
into python3-sqlite3 where they belong.
(From OE-Core rev: f06a8d20560b8e93cf875ee58eddda0a976e7b14)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fies security warnings
| sign.c:86:31: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
| sprintf(fullfn, "%s/%s", tree, tempfn);
(From OE-Core rev: 7171e96f3a5f54c63674cf5282aea31bcb9cd7f9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ${libdir} is a subdirectory of ${prefix}/lib, e.g. /usr/lib/aarch64-linux, the cleanup logic will delete libc.so.
This bit of code was added in 2012 (git show b744f4cc) to remove /usr/lib/locale, this commit makes it remove that directory recursively and afterwards remove /usr/lib, erroring out if it's non-empty.
Tested with a plain (/usr/lib), a 64-bit (/usr/lib64) and a multiarch (/usr/lib/aarch64-linux) build. I strongly suspect this whole bit of cleanup isn't needed anymore, but my testing is too limited to be certain.
(From OE-Core rev: d8f4c7794f15f7071ee8e621d7964cb4b4134630)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patch 0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch remove
as it is included in update
(From OE-Core rev: 3f203582ac646f96e6b86ec4b19721e7a78d55f8)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After we switched to RSS, this script was not working for a long time.
'bitbake package-index' can do the same thing and works well. So remove
this script.
(From OE-Core rev: 94fea92f5e7f7c0765e89743a1586b22186a16cd)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable updates comprising the following commits:
eb666a896f99 Linux 4.15.13
7717224bbcbb RDMA/ucma: Don't allow join attempts for unsupported AF family
93462def6848 RDMA/ucma: Fix access to non-initialized CM_ID object
7ea20f4df7fc clk: migrate the count of orphaned clocks at init
f73d0b37846a RDMA/core: Do not use invalid destination in determining port reuse
f8ea417273f2 serial: 8250_pci: Don't fail on multiport card class
719f7ae076e0 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
bd6281eb9113 IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
23896b7c08f5 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
f9496d45cd87 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e36bb4076f37 hwrng: core - Clean up RNG list when last hwrng is unregistered
233f5fee86c3 crypto: artpec6 - set correct iv size for gcm(aes)
dbb1b3477bc0 clk: si5351: Rename internal plls to avoid name collisions
39888ce9ff0a clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
3a99b645e127 clk: Don't touch hardware when reparenting during registration
17e583cba3b6 clk: at91: pmc: Wait for clocks when resuming
a6d04b465659 nfsd4: permit layoutget of executable-only files
140cb7a3de12 ARM: dts: aspeed-evb: Add unit name to memory node
114355528fcd RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
2b7453a76bac scsi: lpfc: Fix issues connecting with nvme initiator
bfcb0d5e7dc7 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
cef86432a08e soc: qcom: smsm: fix child-node lookup
70559f800f62 ip_gre: fix potential memory leak in erspan_rcv
09d5f2bb8fc7 ip_gre: fix error path when erspan_rcv failed
813b2dad2cb5 ip6_vti: adjust vti mtu according to mtu of lower device
7a77ba6b6900 iommu/vt-d: clean up pr_irq if request_threaded_irq fails
424d4a6a5ebd pinctrl: rockchip: enable clock when reading pin direction register
35e54f441f0e pinctrl: Really force states during suspend/resume
f64b3c51d512 clk: use round rate to bail out early in set_rate
b96b31ce0517 dt-bindings: display: panel: Fix compatible string for Toshiba LT089AC29000
48228438f263 clk: check ops pointer on clock register
887fa839ee74 media: davinci: fix a debug printk
10843b30c385 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
61cbbb4f20d1 PCI: endpoint: Fix find_first_zero_bit() usage
d306bb6c7952 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
29a84f9707b1 coresight: Fix disabling of CoreSight TPIU
71b009c13528 pty: cancel pty slave port buf's work in tty_release
e7b4a5ba3259 drm/omap: DMM: Check for DMM readiness after successful transaction commit
eafa4cd4d112 mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
a9b4a01508a9 omapdrm: panel: fix compatible vendor string for td028ttec1
00aa57830cb5 vgacon: Set VGA struct resource types
18e595d70f17 PCI/ASPM: Calculate LTR_L1.2_THRESHOLD from device characteristics
3c4ffeae6510 bpf/cgroup: fix a verification error for a CGROUP_DEVICE type prog
3a23663bda89 iser-target: avoid reinitializing rdma contexts for isert commands
20dbecabd107 IB/umem: Fix use of npages/nmap fields
4d529564d326 RDMA/cma: Use correct size when writing netlink stats
f333c18b5434 IB/ipoib: Avoid memory leak if the SA returns a different DGID
80ac31ac404a rtc: ac100: Fix multiple race conditions
1835bd639fa7 media: s5p-mfc: Fix lock contention - request_firmware() once
e9f486d7a859 sfp: fix non-detection of PHY
b03b5f94dcf4 sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1d40cdd339cb net: phy: meson-gxl: check phy_write return value
f9e0be9def10 /dev/mem: Add bounce buffer for copy-out
176fb28073c9 mmc: block: fix logical error to avoid memory leak
ca6b159fd207 mmc: avoid removing non-removable hosts during suspend
75157d4e4d15 drm/tilcdc: ensure nonatomic iowrite64 is not used
73f483aa65d6 dmaengine: zynqmp_dma: Fix race condition in the probe
c78feb5f451c platform/chrome: Use proper protocol transfer function
449c24e264d9 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
3122d2f18ed9 watchdog: Fix potential kref imbalance when opening watchdog
68c1248b9a2d cros_ec: fix nul-termination for firmware build info
0a607a064565 serial: 8250_dw: Disable clock on error
42c35b150365 tty: goldfish: Enable 'earlycon' only if built-in
ccf304a6607a qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
7bc49ffb1067 media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
784d1114823c ath10k: handling qos at STA side based on AP WMM enable/disable
db80bd4d5f62 media: bt8xx: Fix err 'bt878_probe()'
06647fbb496e rtlwifi: always initialize variables given to RT_TRACE()
3104c12838b2 rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
b5817721ecea libbpf: prefer global symbols as bpf program name source
340f5832b6a6 spi: sh-msiof: Avoid writing to registers from spi_master.setup()
7f5739939eb3 tcp: allow TLP in ECN CWR
df365ce541c4 hv_netvsc: Fix the TX/RX buffer default sizes
8fbec85ecd00 hv_netvsc: Fix the receive buffer size limit
3669331be6fd RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
be176a5c98e7 IB/ipoib: Warn when one port fails to initialize
09a00a4b1e8b drm/msm: fix leak in failed get_pages
aa5397213cc1 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
3cb311196e5f cpufreq: longhaul: Revert transition_delay_us to 200 ms
e16154e6868b Bluetooth: btqcomsmd: Fix skb double free corruption
b646aada058d Bluetooth: hci_qca: Avoid setup failure on missing rampatch
5ec3e522c556 drm/amdgpu: use polling mem to set SDMA3 wptr for VF
bcaf449b5809 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
1d60b7802104 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
cfc8d40be91d Linux 4.15.12
c3306c7f8f97 phy: phy-brcm-usb-init: Power down USB 3.0 PHY when XHCI disabled
5fb7cf9b1ca0 phy: phy-brcm-usb-init: DRD mode can cause crash on startup
048fd682b2b8 phy: phy-brcm-usb-init: Some Low Speed keyboards fail on 7271
43bcdded80fd phy: phy-brcm-usb: Fix two DT properties to match bindings doc
2007a7097ce1 usb: gadget: udc: renesas_usb3: fix oops in renesas_usb3_remove()
95918af96116 usb: dwc3: of-simple: fix oops by unbalanced clk disable call
b9fac2b8326d usb: dwc3: core: Power-off core/PHYs on system_suspend in host mode
cad33fd60fde usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
41d3763d9942 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
f21951e27402 dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding
7e9122d4e1af usb: dwc2: fix STM32F7 USB OTG HS compatible
bb5159f40c22 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
0bbf2aa0f9e2 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
84f1972c3c5d scsi: qla2xxx: Fix NULL pointer access for fcport structure
1675cbb32906 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
71103f2b9fd2 btrfs: Fix memory barriers usage with device stats counters
005155e22a0b btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
7a42df9f0394 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
ce1ac9c8ebe0 btrfs: alloc_chunk: fix DUP stripe size handling
d0505842848e btrfs: add missing initialization in btrfs_check_shared
fef1dad2a985 btrfs: Fix NULL pointer exception in find_bio_stripe
428da4f87e1d xfs: preserve i_rdev when recycling a reclaimable inode
1c7453ec86ce nvme: fix subsystem multiple controllers support check
69f0542a7bef irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
fdb574d9a7e0 RDMAVT: Fix synchronization around percpu_ref
0b68e9ccaf0b fs/aio: Use RCU accessors for kioctx_table->table[]
b5b8b8be7808 fs/aio: Add explicit RCU grace period when freeing kioctx
2fa76b885ece lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
9c7b569aec95 KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
3bf14279499c kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
885310132995 KVM: arm/arm64: Reset mapped IRQs on VM reset
1368ba16c8e6 KVM: arm/arm64: Reduce verbosity of KVM init log
ad3edd3c4047 fs: Teach path_connected to handle nfs filesystems with multiple roots.
ab2660381a80 drm/amdgpu/dce: Don't turn off DP sink when disconnected
fa2192eea5c0 drm/radeon: fix prime teardown order
d747af9a681f drm/amdgpu: fix prime teardown order
69b9106f97ce drm/nouveau/mmu: ALIGN_DOWN correct variable
ba753a894a53 drm/nouveau/bl: Fix oops on driver unbind
18d8a34ac890 ALSA: seq: Clear client entry before deleting else at closing
1d63f1fc63f4 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
cdcecd3415a1 ALSA: hda - Revert power_save option default value
eb0e7a1f5687 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
bf724633cfda parisc: Handle case where flush_cache_range is called with no context
d7d57946c5f5 x86/mm: Fix vmalloc_fault to use pXd_large
4abf8650d693 KVM: x86: Fix device passthrough when SME is active
da0812b49895 x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
8449802675b3 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
7a73ba591708 x86/vm86/32: Fix POPF emulation
cfb3f12e5a01 selftests/x86/entry_from_vm86: Add test cases for POPF
673d00d2cc16 selftests/x86/entry_from_vm86: Exit with 1 if we fail
733307cf6ba6 x86/cpufeatures: Add Intel PCONFIG cpufeature
a21fcb396718 x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
51d480eafd15 Linux 4.15.11
ddfd9b3a41ae drm/i915/glk: Disable Guc and HuC on GLK
5ae4953dc072 dmaengine: qcom_hidma: check pending interrupts
7aeb9a55a385 IB/mlx5: revisit -Wmaybe-uninitialized warning
41ba470820b3 ima: relax requiring a file signature for new files with zero length
45ecf3400006 locking/locktorture: Fix num reader/writer corner cases
a95958907b4a rcutorture/configinit: Fix build directory error message
0ff7ed13f2a7 ipvlan: add L2 check for packets arriving via virtual devices
f00f5f5598cc Fix misannotated out-of-line _copy_to_user()
b19715a17b62 mmc: mmc_test: Ensure command queue is disabled for testing
be5494a8f85b ASoC: nuc900: Fix a loop timeout test
03f6344f6981 crypto: caam/qi - use correct print specifier for size_t
64d5680d3b4d mac80211: remove BUG() when interface type is invalid
0fca555446a1 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
d7b6747b2198 agp/intel: Flush all chipset writes after updating the GGTT
5123e87faf12 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
5f426784d0b4 powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
3d1d39090fda powerpc/modules: Don't try to restore r2 after a sibling call
77592d6abc1b drm/amdkfd: Fix memory leaks in kfd topology
26ef25f35b9b veth: set peer GSO values
e8abc1292671 net: sched: drop qdisc_reset from dev_graft_qdisc
ae8cafc2813e virtio_net: Disable interrupts if napi_complete_done rescheduled napi
33964687ffd1 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
1ed91b10c4e4 media: cpia2: Fix a couple off by one bugs
b85bea6de405 dm raid: fix raid set size revalidation
3e8cbf84d434 media: vsp1: Prevent suspending and resuming DRM pipelines
74b1383a2a32 staging: fsl-dpaa2/eth: Fix access to FAS field
83810e8aa67a clk: renesas: r8a77970: Add LVDS clock
d641b64a0fcf scsi: dh: add new rdac devices
151c46ea1a6b scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
a60c9f5bdf0a scsi: core: scsi_get_device_flags_keyed(): Always return device flags
d6549484c1bc bnxt_en: Don't print "Link speed -1 no longer supported" messages.
fd92108e8970 spi: sun6i: disable/unprepare clocks on remove
fedc177b4267 tools/usbip: fixes build with musl libc toolchain
1a1aa7f83d9f ath10k: fix invalid STS_CAP_OFFSET_MASK
2dc42ad1a816 mwifiex: cfg80211: do not change virtual interface during scan processing
eb0bd8399f30 clk: qcom: msm8916: fix mnd_width for codec_digcodec
736e6ed8e417 bnxt_en: Uninitialized variable in bnxt_tc_parse_actions()
196c8a893cc3 drm/amdgpu: fix amdgpu_sync_resv v2
d43f79d8bfa3 drm/amdgpu:fix virtual dce bug
84afaae95878 iwlwifi: mvm: avoid dumping assert log when device is stopped
7024c04ba773 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
7090ac4bc551 perf annotate: Fix unnecessary memory allocation for s390x
4bc53614a08f pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
dc061955ca09 pinctrl: sh-pfc: r8a7791: Add can_clk function
4bccfe79cd4d drm/sun4i: Fix format mask in DE2 driver
e5e6a10251f8 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
42957cf0a77d scsi: ses: don't ask for diagnostic pages repeatedly during probe
7d6f70a8758a scsi: lpfc: Fix crash during driver unload with running nvme traffic
9280348b2696 drm/amdgpu:fix random missing of FLR NOTIFY
eff913587989 KVM: X86: Restart the guest when insn_len is zero and SEV is enabled
a853301f77b5 cpufreq: Fix governor module removal race
b545efb25a3f ath10k: update tdls teardown state to target
4971e6535840 iio: health: max30102: Add power enable parameter to get_temp function
b0fdcac4f68d iio: adc: ina2xx: Shift bus voltage register to mask flag bits
056c35957ea2 drm/etnaviv: make THERMAL selectable
3079e5ffa141 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
4e074cd9323a power: supply: ab8500_charger: Fix an error handling path
fadaf4240360 power: supply: sbs-message: double left shift bug in sbsm_select()
8a7474805a53 bpf: fix stack state printing in verifier log
e99d334f6d7f leds: pm8058: Silence pointer to integer size warning
b116b9ca82d8 xfrm: Fix xfrm_replay_overflow_offload_esn
52e0006fb425 userns: Don't fail follow_automount based on s_user_ns
daf8ff677a34 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
c91a50176871 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
cc578825b46e ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
8215dde215a2 net: thunderx: Set max queue count taking XDP_TX into account
df2bc9f0c7d9 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
71dc53969aa9 gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags simultaneously
3c1133294733 net: xfrm: allow clearing socket xfrm policies.
8aa7072cc386 perf report: Fix -D output for user metadata events
ccf7f3f1bfe2 rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
82e2dc52e103 net: ieee802154: adf7242: Fix bug if defined DEBUG
d0426ddc5a59 drm/vblank: Fix vblank timestamp debugs
6e3b18f9ef52 test_firmware: fix setting old custom fw path back on exit
2067278ed4a1 crypto: cavium - fix memory leak on info
b58c90c3a2c1 crypto: keywrap - Add missing ULL suffixes for 64-bit constants
f8ed29310ff5 crypto: ecc - Fix NULL pointer deref. on no default_rng
4fc44467b7d4 crypto: chelsio - Fix an error code in chcr_hash_dma_map()
fc82675c04f8 sched: Stop resched_cpu() from sending IPIs to offline CPUs
55a6c1e2842a sched: Stop switched_to_rt() from sending IPIs to offline CPUs
ccacabf0e911 dt-bindings: serial: Add common rs485 binding for RTS polarity
038f81410b9f USB: ledtrig-usbport: fix of-node leak
661d71fec957 typec: tcpm: fusb302: Resolve out of order messaging events
c702f9b72820 staging: rtl8822be: fix missing null check on dev_alloc_skb return
6fe526b2e82b drm/amdgpu: fix get_max_engine_clock_in_mhz
8c57c57a7d79 ARM: dts: exynos: Correct Trats2 panel reset line
941a8e4061b5 clk: meson: gxbb: fix wrong clock for SARADC/SANA
2037f15e1d02 ARM: dts: koelsch: Move cec_clock to root node
1320369874e0 iwlwifi: mvm: rs: don't override the rate history in the search cycle
bc7f19a1687d HID: elo: clear BTN_LEFT mapping
7b341f3287da KVM: PPC: Book3S HV: Fix typo in kvmppc_hv_get_dirty_log_radix()
6f97dd22c852 video/hdmi: Allow "empty" HDMI infoframes
e0749d1e1f10 dma-buf/fence: Fix lock inversion within dma-fence-array
df0204154557 drm/edid: set ELD connector type in drm_edid_to_eld()
c15aa9a93c05 KVM: PPC: Book3S HV: Avoid shifts by negative amounts
21764b41f1c8 HID: multitouch: Only look at non touch fields in first packet of a frame
6f6444502fa9 spi: imx: Fix failure path leak on GPIO request error correctly
d1cc4fe3e8b7 drm/panel: rpi-touchscreen: propagate errors in rpi_touchscreen_i2c_read()
ae53e57f5911 gfs2: Fixes to "Implement iomap for block_map" (2)
105cd2ef03be gfs2: Clean up {lookup,fillup}_metapath
7a4fe65843fd Revert "btrfs: use proper endianness accessors for super_copy"
3cd0aa9f35fe dm mpath: fix passing integrity data
701ba5478225 earlycon: add reg-offset to physical address before mapping
c3a2fe0fc8a0 serial: core: mark port as initialized in autoconfig
16415f03eb6e serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
306c08c6d659 usb: dwc3: Fix lock-up on ID change during system suspend/resume
11e2d13d3f9e usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
b42aa204e111 usb: usbmon: Read text within supplied buffer size
5d4203a6d5a2 usb: quirks: add control message delay for 1b1c:1b20
1fc47d0380b5 usbip: vudc: fix null pointer dereference on udc->lock
b2029b7dbe6b USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
aa05ee5fa75b scsi: sd_zbc: Fix potential memory leak
c9ff6a8a1e0f staging: android: ashmem: Fix lockdep issue during llseek
1c5bfd980303 staging: comedi: fix comedi_nsamples_left.
8e6c082909d5 uas: fix comparison for error code
2667d707c420 tty/serial: atmel: add new version check for usart
60003884f6c4 serial: sh-sci: prevent lockup on full TTY buffers
a0972dac1125 xhci: fix endpoint context tracer output
a0722d7b9d67 xhci: Fix front USB ports on ASUS PRIME B350M-A
73848b68f99b usb: host: xhci-rcar: add support for r8a77965
b7beb59aa066 ASoC: rt5651: Fix regcache sync errors on resume
aa6655a68f0a ASoC: wm_adsp: For TLV controls only register TLV get/set
9afc3ec1f2e7 ASoC: sgtl5000: Fix suspend/resume
6b57662274bd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
699f7359e599 x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
df57458873da Linux 4.15.10
2aaa158bc127 NFS: Fix unstable write completion
0fa7083df399 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
ff32fd5e2dce NFS: Fix an incorrect type in struct nfs_direct_req
085bac793f1c scsi: qla2xxx: Fix memory leak in dual/target mode
0e7a62c3cfb6 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
bf4ec02855d9 scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
33d13a80a374 scsi: qla2xxx: Defer processing of GS IOCB calls
b57851dc489f scsi: qla2xxx: Clear loop id after delete
ef5b3c623eec scsi: qla2xxx: Fix scan state field for fcport
f7b257f9e10a scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
3629d122f770 scsi: qla2xxx: Fix abort command deadlock due to spinlock
c6247675c8b2 scsi: qla2xxx: Fix PRLI state check
9a1e9130f25f scsi: qla2xxx: Fix Relogin being triggered too fast
41929d9b2363 scsi: qla2xxx: Relogin to target port on a cable swap
3ab51d1da782 scsi: qla2xxx: Fix NPIV host cleanup in target mode
6c609c375ca6 scsi: qla2xxx: Fix login state machine stuck at GPDB
1bb465e619eb scsi: qla2xxx: Serialize GPNID for multiple RSCN
99e33bd8bdfa scsi: qla2xxx: Retry switch command on time out
b40e693ce7b5 scsi: qla2xxx: Fix re-login for Nport Handle in use
e947c1c575aa scsi: qla2xxx: Skip IRQ affinity for Target QPairs
9685a797a564 scsi: qla2xxx: Move session delete to driver work queue
b340fe8a83f6 scsi: qla2xxx: Fix gpnid error processing
96a18fc96c22 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
5858d59b8629 x86/xen: Calculate __max_logical_packages on PV domains
218ce9890104 tpm: only attempt to disable the LPC CLKRUN if is already enabled
9e49b027f787 tpm: remove unused variables
191f9cb91d12 tpm: delete the TPM_TIS_CLK_ENABLE flag
8fa99a629bd7 tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
f84cbaff9004 tpm_tis: Move ilb_base_addr to tpm_tis_data
baf882cbcc43 netfilter: use skb_to_full_sk in ip6_route_me_harder
e8cd5a8ea2dd netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
d0a52c094d57 netfilter: bridge: ebt_among: add missing match size checks
5c06b89df419 netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
36dabaf091e7 netfilter: IDLETIMER: be syzkaller friendly
8ba14bacf620 netfilter: nat: cope with negative port range
4260816d4785 netfilter: x_tables: fix missing timer initialization in xt_LED
ea2699504d33 netfilter: xt_hashlimit: fix lock imbalance
cbd6bb0e28c9 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
ec6b058c5431 netfilter: add back stackpointer size checks
831b5146892e watchdog: hpwdt: Remove legacy NMI sourcing.
52769861e99b watchdog: hpwdt: fix unused variable warning
af1537404670 watchdog: hpwdt: Check source of NMI
2ade2293099d watchdog: hpwdt: SMBIOS check
7e9c540258af x86/kprobes: Fix kernel crash when probing .entry_trampoline code
d9f1b1fd3728 objtool: Fix 32-bit build
58e0bb003523 objtool: Fix another switch table detection issue
d5f6877f0af8 objtool, retpolines: Integrate objtool with retpoline support more closely
871caad2a47b objtool: Add module specific retpoline rules
40693bd709b5 objtool: Add retpoline validation
e1861c9e9568 objtool: Use existing global variables for options
90dbf1101e65 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
8882e40f66ed x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
2425b3ea0afa x86/paravirt, objtool: Annotate indirect calls
468e2a80446c x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
d9a1668e7535 x86/speculation, objtool: Annotate indirect calls/jumps for objtool
5d2055f00ca3 x86/retpoline: Support retpoline builds with Clang
f7d74d9aa741 x86/speculation: Use IBRS if available before calling into firmware
4049a8836273 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
f1c9e2394888 x86-64/realmode: Add instruction suffix
071ee9dbac4a x86/LDT: Avoid warning in 32-bit builds with older gcc
108d29575df1 x86/IO-APIC: Avoid warning in 32-bit builds
c7cbca42ac4a x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
a6e01bb7e6e0 x86/mm: Remove stale comment about KMEMCHECK
93e18c11ff91 x86/entry/64: Use 'xorl' for faster register clearing
e76bc364ce66 x86/entry: Reduce the code footprint of the 'idtentry' macro
0a58c796685c nospec: Include <asm/barrier.h> dependency
392fa7504294 nospec: Kill array_index_nospec_mask_check()
7a676d14cc09 MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
b1d0c4b8e92e dt-bindings: Document mti,mips-cpc binding
25285f83f127 scsi: qla2xxx: Fix recursion while sending terminate exchange
7142b10b87d5 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
8c4ae767a189 ALSA: hda: add dock and led support for HP ProBook 640 G2
245b88be66ce ALSA: hda: add dock and led support for HP EliteBook 820 G3
34ef89ff1759 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
6fc2d5416fda ALSA: seq: More protection for concurrent write and ioctl races
4271b3a41813 ALSA: seq: Don't allow resizing pool in use
27fb3754587a ALSA: hda/realtek - Make dock sound work on ThinkPad L570
ade62f0b3cf9 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
6751bbdcc95a ALSA: hda/realtek: Limit mic boost on T480
7436dc94195d ALSA: hda/realtek - Add headset mode support for Dell laptop
c09ba221370b ALSA: hda/realtek - Add support headset mode for DELL WYSE
031fd7b4ed4a x86/spectre_v2: Don't check microcode versions when running under hypervisors
eaf9b6377a6e perf tools: Fix trigger class trigger_on()
291a0c2764e4 x86/MCE: Serialize sysfs changes
f89515c2e039 x86/MCE: Save microcode revision in machine check records
c56e9870f927 bcache: don't attach backing with duplicate UUID
dca776a05c50 bcache: fix crashes in duplicate cache device register
9fc9e1ed7335 IB/mlx5: Fix incorrect size of klms in the memory region
ca75c1477c2d dm bufio: avoid false-positive Wmaybe-uninitialized warning
b2171934ddc4 kbuild: Handle builtin dtb file names containing hyphens
822996a14a2f Revert "nvme: create 'slaves' and 'holders' entries for hidden controllers"
4a60df94905a IB/core: Fix missing RDMA cgroups release in case of failure to register device
88bf8f7eb708 arm64: mm: fix thinko in non-global page table attribute check
718a44de2712 KVM: s390: fix memory overwrites when not using SCA entries
4e5d6d3cc5e4 virtio_ring: fix num_free handling in error case
49de2e7b6670 loop: Fix lost writes caused by missing flag
342c720d9a4f Documentation/sphinx: Fix Directive import error
920a9205d268 mm/memblock.c: hardcode the end_pfn being -1
0b683939d50a lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
e9f84db183af bug: use %pB in BUG and stack protector failure
9f30ff6fa1a4 Revert "Input: synaptics - Lenovo Thinkpad T460p devices should use RMI"
1bceb2ec8956 Input: matrix_keypad - fix race when disabling interrupts
ed800b0773b1 PCI: dwc: Fix enumeration end when reaching root subordinate
77e2735ad398 MIPS: OCTEON: irq: Check for null return on kzalloc allocation
df441ada39cd MIPS: ath25: Check for kzalloc allocation failure
3eaedec0cd82 MIPS: BMIPS: Do not mask IPIs during suspend
809a9bf143f7 ovl: redirect_dir=nofollow should not follow redirect for opaque lower
75d0d16e1cda drm/amdgpu:Always save uvd vcpu_bo in VM Mode
b6ce72324e14 drm/amdgpu:Correct max uvd handles
83756e094108 drm/amdgpu: fix KV harvesting
692f415886d3 drm/radeon: fix KV harvesting
871aee09c102 drm/amdgpu: Notify sbios device ready before send request
adcdc9dd593d drm/amdgpu: used cached pcie gen info for SI (v2)
8679c019d168 drm/amd/display: Default HDMI6G support to true. Log VBIOS table error.
dd18defa55e4 drm/amd/powerplay: fix power over limit on Fiji
98bb81bb0f7b drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
fde4dbd2a6cb drm/amd/display: check for ipp before calling cursor operations
80167d87e14f Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
6cd6ec67d323 drm/amd/powerplay/vega10: allow mclk switching with no displays
8b6db1eed6d8 drm/amd/powerplay/smu7: allow mclk switching with no displays
f3d86614c99d drm/nouveau: prefer XBGR2101010 for addfb ioctl
273b6c8deabe drm/amdgpu: Fix deadlock on runtime suspend
ae78cada27a5 drm/radeon: Fix deadlock on runtime suspend
edf309e744c0 drm/nouveau: Fix deadlock on runtime suspend
51b269211a8c drm: Allow determining if current task is output poll worker
72bfcad05183 workqueue: Allow retrieval of current task's work struct
0adf0556bebd drm/i915: Always call to intel_display_set_init_power() in resume_early.
9e2d259c4e02 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
44d646d03785 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
a7423bbfb0d1 drm/i915/perf: fix perf stream opening lock
d723c32a04ca drm/i915: Try EDID bitbanging on HDMI after failed read
24791fc09ea3 drm/i915: Update watermark state correctly in sanitize_watermarks
5b79f7227aac drm/i915: Disable DC states around GMBUS on GLK
281a7778a32b drm/i915: Clear the in-use marker on execbuf failure
3ea5145064e2 drm/i915: Fix rsvd2 mask when out-fence is returned
47f84ed164c9 drm/i915/audio: fix check for av_enc_map overflow
35a66d32de2c drm/i915: Check for fused or unused pipes
b7e042c88b2c regulator: stm32-vrefbuf: fix check on ready flag
644ec8e097e9 net/smc: fix NULL pointer dereference on sock_create_kern() error path
bf18bf8d610f mac80211_hwsim: don't use WQ_MEM_RECLAIM
0a1c56f01811 IB/uverbs: Improve lockdep_check
056700807d82 bpf: cpumap: use GFP_KERNEL instead of GFP_ATOMIC in __cpu_map_entry_alloc()
45c0604dbeae RDMA/mlx5: Fix integer overflow while resizing CQ
1414d3fd4616 RDMA/ucma: Check that user doesn't overflow QP state
5d07104bc91b RDMA/ucma: Limit possible option size
3eae9e93d492 Linux 4.15.9
c0d3435d7fa0 KVM: x86: fix backward migration with async_PF
fa1f98c84c6b scsi: mpt3sas: wait for and flush running commands on shutdown/unload
2928c03a245f scsi: mpt3sas: fix oops in error handlers after shutdown/unload
6ff2082e4544 bpf, ppc64: fix out of bounds access in tail call
bc9d150b9bf1 bpf: allow xadd only on aligned memory
8c4626bf15ba bpf: add schedule points in percpu arrays management
18fa1b102cc2 bpf, arm64: fix out of bounds access in tail call
5882764e48ed bpf, x64: implement retpoline for tail call
519f40bb7fc9 bpf: fix rcu lockdep warning for lpm_trie map_free callback
f154de29a46b bpf: fix memory leak in lpm_trie map_free callback function
da43a222a759 bpf: fix mlock precharge on arraymaps
968369e0e44d Linux 4.15.8
ddf33af2f815 platform/x86: dell-laptop: fix kbd_get_state's request value
344fb4360638 md: only allow remove_and_add_spares when no sync_thread running.
f946a7289f2c powerpc/64s/radix: Boot-time NULL pointer protection using a guard-PID
39f428ebf4f1 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
6dcd8259f418 ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
97086e143e20 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
f1bf982a4fea KVM/x86: remove WARN_ON() for when vm_munmap() fails
21043b0e128e KVM: x86: fix vcpu initialization with userspace lapic
100b8cbd68b1 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
16f7730b611a KVM: x86: move LAPIC initialization after VMCS creation
2ccf7f43562b KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
1b7168079777 KVM: mmu: Fix overlap between public and private memslots
0a5e830dc933 KVM: X86: Fix SMRAM accessing even if VM is shutdown
4c1a4f2e0f9f ARM: kvm: fix building with gcc-8
f83ed2a349e6 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
2dc5b6bbd897 ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
6e5bcbc089fc ARM: orion: fix orion_ge00_switch_board_info initialization
d95636d18120 x86/mm: Fix {pmd,pud}_{set,clear}_flags()
f48c77b42e12 nospec: Allow index argument to have const-qualified type
adfc51106c08 KVM: s390: consider epoch index on TOD clock syncs
b06b16f7ca6b KVM: s390: consider epoch index on hotplugged CPUs
35b8a4dfde70 KVM: s390: provide only a single function for setting the tod (fix SCK)
96819fb1cfee KVM: s390: take care of clock-comparator sign control
1c7cfc790da1 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
9b144500e91c media: m88ds3103: don't call a non-initalized function
ced72e7e3fdc blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
edd27ed8978b tcp: revert F-RTO extension to detect more spurious timeouts
34ffbd0f604c tcp: revert F-RTO middle-box workaround
46884f60c4ec s390/qeth: fix IPA command submission race
5df9e78c3dff s390/qeth: fix IP address lookup for L3 devices
f99053f7b122 Revert "s390/qeth: fix using of ref counter for rxip addresses"
6e757a122107 s390/qeth: fix double-free on IP add/remove race
50f613e92572 s390/qeth: fix IP removal on offline cards
c3238669b34f s390/qeth: fix overestimated count of buffer elements
1818aac9f31b s390/qeth: fix SETIP command handling
841c19a5cc54 s390/qeth: fix underestimated count of buffer elements
549ddc83ad5e l2tp: fix tunnel lookup use-after-free race
08ffa7bbb46e l2tp: fix race in pppol2tp_release with session object destroy
18bdaefc715b l2tp: fix races with tunnel socket close
8a319b57cc5c l2tp: don't use inet_shutdown on ppp session destroy
bb364485dfa2 l2tp: don't use inet_shutdown on tunnel destroy
333502ffcfee tcp: tracepoint: only call trace_tcp_send_reset with full socket
8421bd1de6af net: phy: Restore phy_resume() locking assumption
4f217494ee7a net/mlx5: Fix error handling when adding flow rules
bbc06dee4ac6 cxgb4: fix trailing zero in CIM LA dump
dec498f1c88e virtio-net: disable NAPI only when enabled during XDP set
fad7f95c5a30 tuntap: disable preemption during XDP processing
85e1944293c7 tuntap: correctly add the missing XDP flush
12b552b1f7b7 tcp: purge write queue upon RST
069018b93412 netlink: put module reference if dump start fails
acc97d6c2bb5 mlxsw: spectrum_router: Do not unconditionally clear route offload indication
58cea8e8f1c0 cls_u32: fix use after free in u32_destroy_key()
ba34386c3a5f amd-xgbe: Restore PCI interrupt enablement setting on resume
c5f3a16c047d tls: Use correct sk->sk_prot for IPV6
7e7a3ddb1a47 net/mlx5e: Verify inline header size do not exceed SKB linear size
738d0533e316 bridge: Fix VLAN reference count problem
e7b63f0b9981 sctp: fix dst refcnt leak in sctp_v6_get_dst()
fcff1213761a net: ipv4: Set addr_type in hash_keys for forwarded case
11cc4753e279 mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
6fe1cee8331d sctp: do not pr_err for the duplicated node in transport rhlist
76d0b2028297 net/sched: cls_u32: fix cls_u32 on filter replace
b933df76437b net_sched: gen_estimator: fix broken estimators based on percpu stats
03bbd6797f0b net/mlx5e: Fix loopback self test when GRO is off
edb7471e93d2 doc: Change the min default value of tcp_wmem/tcp_rmem.
3f62339aa796 tcp_bbr: better deal with suboptimal GSO
5c783a7f0203 rxrpc: Fix send in rxrpc_send_data_packet()
f3d48615d322 tcp: Honor the eor bit in tcp_mtu_probe
88ff57617d0d net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
0ef5cb5705f2 net/mlx5e: Specify numa node when allocating drop rq
1b1a55b29fe2 mlxsw: spectrum_switchdev: Check success of FDB add operation
c7cf3921eb5f sctp: fix dst refcnt leak in sctp_v4_get_dst
9b8444159a4c net/mlx5e: Fix TCP checksum in LRO buffers
1e4661b4d107 udplite: fix partial checksum initialization
4fadd1aa760e sctp: verify size of a new chunk in _sctp_make_chunk()
9b7006aabf2b ppp: prevent unregistered channels from connecting to PPP units
f15602876538 net: sched: report if filter is too large to dump
70ecf3334923 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
9784795d3f03 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
30535af95cf2 net: fix race on decreasing number of TX queues
214284730b09 net: ethernet: ti: cpsw: fix net watchdog timeout
21e6097dd04a net: amd-xgbe: fix comparison to bitshift when dealing with a mask
adf7429c2267 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
6811b97ecd35 hdlc_ppp: carrier detect ok, don't turn off negotiation
16883c9d55c1 fib_semantics: Don't match route with mismatching tclassid
842874ee8ec1 bridge: check brport attr show in brport_show
1b89874c3856 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
64982714bc3f x86/platform/intel-mid: Handle Intel Edison reboot correctly
d7445fa22a11 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
6450d9cd79e9 direct-io: Fix sleep in atomic due to sync AIO
1fa58410574b dax: fix vma_is_fsdax() helper
1666ac0ce06f cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
483c2bdccca7 vfio: disable filesystem-dax page pinning
eef09bb03fcb block: pass inclusive 'lend' parameter to truncate_inode_pages_range
ea402611ed03 block: kyber: fix domain token leak during requeue
8882f981b717 block: fix the count of PGPGOUT for WRITE_SAME
e4c2c02c50b3 btrfs: use proper endianness accessors for super_copy
9a13579b3034 parisc: Hide virtual kernel memory layout
4aa930d5820a parisc: Fix ordering of cache and TLB flushes
24316676e3c7 parisc: Reduce irq overhead when run in qemu
60e756984554 parisc: Use cr16 interval timers unconditionally on qemu
ee5e1ffab408 timers: Forward timer base before migrating timers
4ee6ac4141dd mmc: dw_mmc: Fix out-of-bounds access for slot's caps
500fb6fc6f76 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
d9aedd0eeff7 mmc: dw_mmc: Avoid accessing registers in runtime suspended state
89c12efb97e7 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
77a4aeb4ce78 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
05d161055a54 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
953cadb747c1 ALSA: hda: Add a power_save blacklist
b7b0967e09f8 ALSA: x86: Fix missing spinlock and mutex initializations
a2eeb5a466e4 ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
9d1e69dd320d ALSA: usb-audio: Add a quirck for B&W PX headphones
45bc38a35106 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
97277fda41a5 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
a46deb414510 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
e47b9cb5a31b tpm: fix potential buffer overruns caused by bit glitches on the bus
3f0ef47f20be tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
fdfcd0ace151 ixgbe: fix crash in build_skb Rx code path
eeef553eef5e Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking
7ef82fc6dd01 powerpc/pseries: Enable RAS hotplug events later
c58c4d2d192d platform/x86: dell-laptop: Allocate buffer on heap rather than globally
5263849bc9e7 ipmi_si: Fix error handling of platform device
d3b7976e60c6 hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
816433b1879a vsprintf: avoid misleading "(null)" for %px
(From OE-Core rev: 6af2a2914264c67310ec874035b8a01c941e9615)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases for v4.14, which comprise the
following commits:
de8cdc557231 Linux 4.14.30
5019b23699f4 RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
957435b566c9 kbuild: fix linker feature test macros when cross compiling with Clang
e82496fbe3a0 RDMA/ucma: Don't allow join attempts for unsupported AF family
ce3e82c0630f RDMA/ucma: Fix access to non-initialized CM_ID object
712b442c68c2 clk: migrate the count of orphaned clocks at init
02db484a0583 RDMA/core: Do not use invalid destination in determining port reuse
8b0c4a2e04f7 serial: 8250_pci: Don't fail on multiport card class
00fb52a3828d IB/mlx5: Fix out-of-bounds read in create_raw_packet_qp_rq
cf1eb16eef13 IB/mlx5: Fix integer overflows in mlx5_ib_create_srq
3748694f1b91 scsi: mpt3sas: wait for and flush running commands on shutdown/unload
9d72b2696e0a scsi: mpt3sas: fix oops in error handlers after shutdown/unload
0493d72ee4d6 dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
e618ff1ac59c crypto: artpec6 - set correct iv size for gcm(aes)
53555c8fc8a2 clk: si5351: Rename internal plls to avoid name collisions
fa97cdb4c71e clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
9e9d9b1a3dbf clk: Don't touch hardware when reparenting during registration
24c92f975cb2 clk: at91: pmc: Wait for clocks when resuming
14d920fc4579 nfsd4: permit layoutget of executable-only files
1de82078a0c0 ARM: dts: aspeed-evb: Add unit name to memory node
e434a6eaed8c RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
7b7e076f8cad scsi: lpfc: Fix issues connecting with nvme initiator
1626beb0b5d8 scsi: lpfc: Fix SCSI LUN discovery when SCSI and NVME enabled
6f4649f3bef8 soc: qcom: smsm: fix child-node lookup
f1f225794a41 ip_gre: fix potential memory leak in erspan_rcv
9cd6c84e9377 ip_gre: fix error path when erspan_rcv failed
e6cfc525163e ip6_vti: adjust vti mtu according to mtu of lower device
f2b32ce1ccef iommu/vt-d: clean up pr_irq if request_threaded_irq fails
915bd53d68f6 pinctrl: rockchip: enable clock when reading pin direction register
130e535210ba pinctrl: Really force states during suspend/resume
06299bd0cf73 media: davinci: fix a debug printk
fea718819c69 PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
e1645629785b PCI: endpoint: Fix find_first_zero_bit() usage
194b5ce11968 PCI: designware-ep: Fix ->get_msi() to check MSI_EN bit
d67d7bf8f12d coresight: Fix disabling of CoreSight TPIU
f16a65befe74 pty: cancel pty slave port buf's work in tty_release
728e120d1786 drm/omap: DMM: Check for DMM readiness after successful transaction commit
9967208b4f6c mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable
83a2960ff6d1 omapdrm: panel: fix compatible vendor string for td028ttec1
f7eda23c2990 vgacon: Set VGA struct resource types
58668d153baf iser-target: avoid reinitializing rdma contexts for isert commands
a3e4b8fe6479 IB/umem: Fix use of npages/nmap fields
251695a39f05 RDMA/cma: Use correct size when writing netlink stats
a4ac7cb593ad IB/ipoib: Avoid memory leak if the SA returns a different DGID
9766562956fd rtc: ac100: Fix multiple race conditions
badf37254bc7 media: s5p-mfc: Fix lock contention - request_firmware() once
639dab36edbd sfp: fix non-detection of PHY
1a6610de8c1b sfp: fix EEPROM reading in the case of non-SFF8472 SFPs
1b485793ce84 net: phy: meson-gxl: check phy_write return value
ea60e54b22aa /dev/mem: Add bounce buffer for copy-out
79a49fcc0768 mmc: block: fix logical error to avoid memory leak
9dd93e524955 mmc: avoid removing non-removable hosts during suspend
c1326c691f4d drm/tilcdc: ensure nonatomic iowrite64 is not used
e2a6f2967f67 dmaengine: zynqmp_dma: Fix race condition in the probe
f4a0f85594ba platform/chrome: Use proper protocol transfer function
71233e2541a4 watchdog: Fix kref imbalance seen if handle_boot_enabled=0
08b810901020 watchdog: Fix potential kref imbalance when opening watchdog
008029510ac8 cros_ec: fix nul-termination for firmware build info
79c3f5cf466d serial: 8250_dw: Disable clock on error
f1be26620373 tty: goldfish: Enable 'earlycon' only if built-in
5ff0741646fd qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
a9a14b17f72c media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
057ee30417e5 ath10k: handling qos at STA side based on AP WMM enable/disable
824f8613ea62 media: bt8xx: Fix err 'bt878_probe()'
2159db50a572 rtlwifi: always initialize variables given to RT_TRACE()
9f180c6db58e rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
9854881c225a spi: sh-msiof: Avoid writing to registers from spi_master.setup()
6467b3e25447 hv_netvsc: Fix the TX/RX buffer default sizes
8dc11c413557 hv_netvsc: Fix the receive buffer size limit
e53e85d5082c RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
4df82a41e819 drm/msm: fix leak in failed get_pages
b3cff08483d0 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
b453f9d8c55e cpufreq: longhaul: Revert transition_delay_us to 200 ms
e59e19dc4086 Bluetooth: btqcomsmd: Fix skb double free corruption
5b58533858e3 Bluetooth: hci_qca: Avoid setup failure on missing rampatch
23081c335df9 staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
23e73e2ab4d2 scsi: megaraid_sas: Do not use 32-bit atomic request descriptor for Ventura controllers
809607940362 Linux 4.14.29
f2216e3e1d64 usb: dwc3: Fix GDBGFIFOSPACE_TYPE values
3914aae2ae24 USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
c209d68794e6 scsi: qla2xxx: Fix crashes in qla2x00_probe_one on probe failure
91cb90636e03 scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
31de69d5c9b8 scsi: qla2xxx: Fix NULL pointer access for fcport structure
8cdd1908c174 scsi: qla2xxx: Fix smatch warning in qla25xx_delete_{rsp|req}_que
1a8902505673 btrfs: Fix memory barriers usage with device stats counters
d35115930d84 btrfs: remove spurious WARN_ON(ref->count < 0) in find_parent_nodes
cb6945546b52 btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
0136bd7238b2 btrfs: alloc_chunk: fix DUP stripe size handling
7e7fbff126d1 btrfs: add missing initialization in btrfs_check_shared
e625797168ce btrfs: Fix NULL pointer exception in find_bio_stripe
e01cf461f1d0 irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
1f4b6d083dc6 RDMAVT: Fix synchronization around percpu_ref
cd21b3400bc1 fs/aio: Use RCU accessors for kioctx_table->table[]
076c7c06801a fs/aio: Add explicit RCU grace period when freeing kioctx
b071bce3ff7e lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
e693f1331c4c KVM: arm/arm64: vgic: Don't populate multiple LRs with the same vintid
b85437d007f4 kvm: arm/arm64: vgic-v3: Tighten synchronization for guests using v2 on v3
2ffe95e3aa1e KVM: arm/arm64: Reduce verbosity of KVM init log
0481f001d9c1 fs: Teach path_connected to handle nfs filesystems with multiple roots.
690291bccba9 drm/amdgpu/dce: Don't turn off DP sink when disconnected
1a50b5f07acf drm/radeon: fix prime teardown order
b4a9192c74ad drm/amdgpu: fix prime teardown order
bdbd0a2082d5 drm/nouveau/bl: Fix oops on driver unbind
3d1ef6fbdc22 ALSA: seq: Clear client entry before deleting else at closing
0609022631b3 ALSA: seq: Fix possible UAF in snd_seq_check_queue()
c0cafa62d780 ALSA: hda - Revert power_save option default value
5ee6abaa5370 ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
a9cf8b6fe73b parisc: Handle case where flush_cache_range is called with no context
6fcb523eafa0 x86/mm: Fix vmalloc_fault to use pXd_large
4b428e9998c1 KVM: x86: Fix device passthrough when SME is active
732f9a89fc1e x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist
76aaa3978252 x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels
68ce99300659 x86/vm86/32: Fix POPF emulation
602e52e66fbe selftests/x86/entry_from_vm86: Add test cases for POPF
102c51c63494 selftests/x86: Add tests for the STR and SLDT instructions
6d3789cafd00 selftests/x86: Add tests for User-Mode Instruction Prevention
9ad561690f83 selftests/x86/entry_from_vm86: Exit with 1 if we fail
4cf4908d1d4e x86/cpufeatures: Add Intel PCONFIG cpufeature
828ba3c7fd5a x86/cpufeatures: Add Intel Total Memory Encryption cpufeature
42b96e19dddd Linux 4.14.28
1c8b6717a268 drm/i915/glk: Disable Guc and HuC on GLK
e09475d69826 dmaengine: qcom_hidma: check pending interrupts
4f33fcc68abe IB/mlx5: revisit -Wmaybe-uninitialized warning
fd6170bf4381 ima: relax requiring a file signature for new files with zero length
c02dd004559c locking/locktorture: Fix num reader/writer corner cases
09e59383eb1c rcutorture/configinit: Fix build directory error message
17c8c5998857 ipvlan: add L2 check for packets arriving via virtual devices
0ced0c46b418 Fix misannotated out-of-line _copy_to_user()
4117e8971923 mmc: mmc_test: Ensure command queue is disabled for testing
b45ccc79b04a ASoC: nuc900: Fix a loop timeout test
00be5b299063 crypto: caam/qi - use correct print specifier for size_t
8077cba5b1f0 mac80211: remove BUG() when interface type is invalid
f6ae26c08033 mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
9bece8dda367 agp/intel: Flush all chipset writes after updating the GGTT
4df57c45f762 arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
9281b0856dcd powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
d744153d67fd powerpc/modules: Don't try to restore r2 after a sibling call
12848af16f9e drm/amdkfd: Fix memory leaks in kfd topology
30d45938f2a5 veth: set peer GSO values
a80de288d6c5 net: sched: drop qdisc_reset from dev_graft_qdisc
127bda4b0912 virtio_net: Disable interrupts if napi_complete_done rescheduled napi
623f21858691 media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
b6b70d70331f media: cpia2: Fix a couple off by one bugs
8834a75d8acb dm raid: fix raid set size revalidation
77ec30a0b35e media: vsp1: Prevent suspending and resuming DRM pipelines
32097005dd78 scsi: dh: add new rdac devices
97b8a9a87832 scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
a60a3523b398 scsi: core: scsi_get_device_flags_keyed(): Always return device flags
677794fb0ca2 bnxt_en: Don't print "Link speed -1 no longer supported" messages.
564030343299 spi: sun6i: disable/unprepare clocks on remove
4309a1e0d1c3 tools/usbip: fixes build with musl libc toolchain
9c0a007d1efc ath10k: fix invalid STS_CAP_OFFSET_MASK
0c2fa288cfc3 mwifiex: cfg80211: do not change virtual interface during scan processing
1a7e2b546b0f clk: qcom: msm8916: fix mnd_width for codec_digcodec
6d6a5eae5600 drm/amdgpu:fix virtual dce bug
bd301e538bd6 iwlwifi: mvm: avoid dumping assert log when device is stopped
e6fb81cb22b7 perf annotate: Fix objdump comment parsing for Intel mov dissassembly
f9b186caa071 perf annotate: Fix unnecessary memory allocation for s390x
9334b702531d pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
162ee473a0cb pinctrl: sh-pfc: r8a7791: Add can_clk function
81a16b68d254 drm/sun4i: Fix format mask in DE2 driver
5dc7257b7ca7 pwm: stmpe: Fix wrong register offset for hwpwm=2 case
65722e73086d scsi: ses: don't ask for diagnostic pages repeatedly during probe
5d8c64ea75f3 drm/amdgpu:fix random missing of FLR NOTIFY
0049457bfde6 cpufreq: Fix governor module removal race
bde5c6dca065 ath10k: update tdls teardown state to target
6af44accf4ff iio: health: max30102: Add power enable parameter to get_temp function
975486d1f138 iio: adc: ina2xx: Shift bus voltage register to mask flag bits
cb334409bb02 drm/etnaviv: make THERMAL selectable
893bfd501781 power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()'
487d43596072 power: supply: ab8500_charger: Fix an error handling path
7579edac03e6 leds: pm8058: Silence pointer to integer size warning
ab3db1af4210 xfrm: Fix xfrm_replay_overflow_offload_esn
5aac93adff9c userns: Don't fail follow_automount based on s_user_ns
926b261b1ed5 mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
2f1f60c4b903 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
0ed43f944a40 ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
5132282f9c4b net: thunderx: Set max queue count taking XDP_TX into account
4ab1fcc7a5f7 mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
bd174cd107d0 net: xfrm: allow clearing socket xfrm policies.
f113f794410a rtc: brcmstb-waketimer: fix error handling in brcmstb_waketmr_probe()
31a0f4502108 net: ieee802154: adf7242: Fix bug if defined DEBUG
00c7a2690dcc test_firmware: fix setting old custom fw path back on exit
919ba939de1a crypto: cavium - fix memory leak on info
90cf769aeb5a crypto: ecc - Fix NULL pointer deref. on no default_rng
cebb9043093e sched: Stop resched_cpu() from sending IPIs to offline CPUs
9c2825526d96 sched: Stop switched_to_rt() from sending IPIs to offline CPUs
872181a79b35 USB: ledtrig-usbport: fix of-node leak
b9faab6a01e9 typec: tcpm: fusb302: Resolve out of order messaging events
dc3173bf6ccb staging: rtl8822be: fix missing null check on dev_alloc_skb return
0e2685fef97d drm/amdgpu: fix get_max_engine_clock_in_mhz
dc743e973895 ARM: dts: exynos: Correct Trats2 panel reset line
7299cd29f12c clk: meson: gxbb: fix wrong clock for SARADC/SANA
9ac03f5260e4 ARM: dts: koelsch: Move cec_clock to root node
cc218843b44d iwlwifi: mvm: rs: don't override the rate history in the search cycle
f0ab595c2de0 HID: elo: clear BTN_LEFT mapping
addf1ae9fcb2 HID: multitouch: Only look at non touch fields in first packet of a frame
d2bbda4c374c video/hdmi: Allow "empty" HDMI infoframes
182c594668e7 dma-buf/fence: Fix lock inversion within dma-fence-array
e19df194b50e drm/edid: set ELD connector type in drm_edid_to_eld()
2b0509fa4afe Revert "btrfs: use proper endianness accessors for super_copy"
d916e453942b dm mpath: fix passing integrity data
dbacf552cdbf earlycon: add reg-offset to physical address before mapping
0da58aed9edc serial: core: mark port as initialized in autoconfig
099d055f8ab9 serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
e52fb772cb1d usb: dwc3: Fix lock-up on ID change during system suspend/resume
99d7fb05c1e9 usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
59b0613d3f40 usb: usbmon: Read text within supplied buffer size
42b8dfefbb1b usb: quirks: add control message delay for 1b1c:1b20
d4f0bf4525fd usbip: vudc: fix null pointer dereference on udc->lock
f8187fd2aeda USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
6de9ee2f3020 staging: android: ashmem: Fix lockdep issue during llseek
4c2d71dd0f90 staging: comedi: fix comedi_nsamples_left.
fdd0f1b2efc7 uas: fix comparison for error code
3c8e0474f543 tty/serial: atmel: add new version check for usart
a6a8916de0db serial: sh-sci: prevent lockup on full TTY buffers
d03fbfded594 xhci: fix endpoint context tracer output
d7c3836cd166 xhci: Fix front USB ports on ASUS PRIME B350M-A
490869f59f58 usb: host: xhci-rcar: add support for r8a77965
92d770524625 ASoC: rt5651: Fix regcache sync errors on resume
57e2eb2d13db ASoC: wm_adsp: For TLV controls only register TLV get/set
90442512a6c6 ASoC: sgtl5000: Fix suspend/resume
577ad1c9bcfd ASoC: sun4i-i2s: Fix RX slot number of SUN8I
a971fc44c94b x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
6bccf8962b78 net: phy: Restore phy_resume() locking assumption
76fbc152cd8c net: phy: fix resume handling
9b1fb9cc922d Linux 4.14.27
24e955e59100 x86/kprobes: Fix kernel crash when probing .entry_trampoline code
e8be8ff1f757 objtool: Fix 32-bit build
a617f2e36d67 objtool: Fix another switch table detection issue
c3b9f72606ac objtool, retpolines: Integrate objtool with retpoline support more closely
a69898c9eb0a objtool: Add module specific retpoline rules
3945bbe1525f kbuild: move cc-option and cc-disable-warning after incl. arch Makefile
6288eb92cae8 kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
cfe39acafbaf kbuild: re-order the code to not parse unnecessary variables
e6993149fa4d objtool: Add retpoline validation
8c2768139ffb objtool: Use existing global variables for options
f9be9ef91a14 x86/mm/sme, objtool: Annotate indirect call in sme_encrypt_execute()
4d840d9a1742 x86/boot, objtool: Annotate indirect jump in secondary_startup_64()
6fceef2e7feb x86/paravirt, objtool: Annotate indirect calls
5065490489ee x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP
945e3d00ecdc x86/speculation, objtool: Annotate indirect calls/jumps for objtool
e76a9431f21a x86/retpoline: Support retpoline builds with Clang
c3ffdb5a2ed4 x86/speculation: Use IBRS if available before calling into firmware
a66fe0437d85 Revert "x86/retpoline: Simplify vmexit_fill_RSB()"
8cb411344339 x86-64/realmode: Add instruction suffix
cd9547e51503 x86/LDT: Avoid warning in 32-bit builds with older gcc
e793e30063b9 x86/asm: Improve how GEN_*_SUFFIXED_RMWcc() specify clobbers
c507f00d2b5e x86/mm: Remove stale comment about KMEMCHECK
5f9d19a6c9e1 x86/entry/64: Use 'xorl' for faster register clearing
b690fda31a47 x86/entry: Reduce the code footprint of the 'idtentry' macro
2e19277e1df5 nospec: Include <asm/barrier.h> dependency
bebe3994ddaf nospec: Kill array_index_nospec_mask_check()
dc2f0da8350e MIPS: CPC: Map registers using DT in mips_cpc_default_phys_base()
20b4c7f86df9 dt-bindings: Document mti,mips-cpc binding
608d96fc43a3 scsi: qla2xxx: Fix recursion while sending terminate exchange
8540351ee8a4 scsi: qla2xxx: Fix NULL pointer crash due to probe failure
3deecffb1b78 ALSA: hda: add dock and led support for HP ProBook 640 G2
f2ba41eb6290 ALSA: hda: add dock and led support for HP EliteBook 820 G3
818b447d14e4 ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines
6d3a7dcba8c5 ALSA: seq: More protection for concurrent write and ioctl races
d9c724729d0d ALSA: seq: Don't allow resizing pool in use
7b4e500bada3 ALSA: hda/realtek - Make dock sound work on ThinkPad L570
816ee317d8a2 ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
3c69eccc1ab1 ALSA: hda/realtek: Limit mic boost on T480
37872f84cc2d ALSA: hda/realtek - Add headset mode support for Dell laptop
2c269a2557a9 ALSA: hda/realtek - Add support headset mode for DELL WYSE
c5bd1ad601d1 x86/spectre_v2: Don't check microcode versions when running under hypervisors
c192a793f056 perf tools: Fix trigger class trigger_on()
5c1c405d3936 x86/MCE: Serialize sysfs changes
859334041d04 x86/MCE: Save microcode revision in machine check records
c6a1c0caf2d0 bcache: don't attach backing with duplicate UUID
14c2230b83bc bcache: fix crashes in duplicate cache device register
f1833eb13078 IB/mlx5: Fix incorrect size of klms in the memory region
525673339fb1 dm bufio: avoid false-positive Wmaybe-uninitialized warning
ffced04184f5 kbuild: Handle builtin dtb file names containing hyphens
e3a8c7b5d707 IB/core: Fix missing RDMA cgroups release in case of failure to register device
c1badd7b65c4 arm64: mm: fix thinko in non-global page table attribute check
3da2a62a61d1 KVM: s390: fix memory overwrites when not using SCA entries
583cc79b7380 virtio_ring: fix num_free handling in error case
5f9113db06a4 loop: Fix lost writes caused by missing flag
7f18a19b2113 Documentation/sphinx: Fix Directive import error
88b3e6acbae0 mm/memblock.c: hardcode the end_pfn being -1
d50cb5cedb6f lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
89d3fccd8bab Input: matrix_keypad - fix race when disabling interrupts
91e019af29cd PCI: dwc: Fix enumeration end when reaching root subordinate
d90bb7c6806b MIPS: OCTEON: irq: Check for null return on kzalloc allocation
e06fe5925771 MIPS: ath25: Check for kzalloc allocation failure
26f1a4666090 MIPS: BMIPS: Do not mask IPIs during suspend
6c6f1e60b5e4 drm/amdgpu:Always save uvd vcpu_bo in VM Mode
783fd8eb86fc drm/amdgpu:Correct max uvd handles
e919af14fa17 drm/amdgpu: fix KV harvesting
f641c63d750a drm/radeon: fix KV harvesting
755e5527e57f drm/amdgpu: Notify sbios device ready before send request
20f3ff9738c0 drm/amdgpu: used cached pcie gen info for SI (v2)
26078a2d862d drm/amd/powerplay: fix power over limit on Fiji
9c1192dcb7ba drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE
1dd93412438e Revert "drm/radeon/pm: autoswitch power state when in balanced mode"
cfc381d215af drm/amd/powerplay/vega10: allow mclk switching with no displays
396ff3687674 drm/amd/powerplay/smu7: allow mclk switching with no displays
9b9a82c0e2e1 drm/nouveau: prefer XBGR2101010 for addfb ioctl
e6a23183d800 drm/amdgpu: Fix deadlock on runtime suspend
9c1508eff805 drm/radeon: Fix deadlock on runtime suspend
8c13b37c887d drm/nouveau: Fix deadlock on runtime suspend
c261d5a4e5bf drm: Allow determining if current task is output poll worker
363e3fd5fa49 workqueue: Allow retrieval of current task's work struct
0547d1135081 drm/i915: Always call to intel_display_set_init_power() in resume_early.
07b749546521 scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
4dbc3e4d8b28 scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
2e5033364e0d drm/i915/perf: fix perf stream opening lock
c16a67695cd6 drm/i915: Try EDID bitbanging on HDMI after failed read
d3accc34d793 drm/i915: Update watermark state correctly in sanitize_watermarks
7b3f881e41c5 drm/i915: Disable DC states around GMBUS on GLK
492056f2944e drm/i915: Clear the in-use marker on execbuf failure
f306b12928b9 drm/i915: Fix rsvd2 mask when out-fence is returned
4b26a307391f regulator: stm32-vrefbuf: fix check on ready flag
bba05fb6a13b net/smc: fix NULL pointer dereference on sock_create_kern() error path
e0486b303556 IB/uverbs: Improve lockdep_check
dbfed071633c RDMA/mlx5: Fix integer overflow while resizing CQ
01b8c0e36063 RDMA/ucma: Check that user doesn't overflow QP state
9b2d784a39d4 RDMA/ucma: Limit possible option size
7b7574e9b209 NFS: Fix unstable write completion
e131a6d68cd5 pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
2bca2c58d83b NFS: Fix an incorrect type in struct nfs_direct_req
29060ff7c1ed scsi: qla2xxx: Fix memory leak in dual/target mode
0393270e9e58 scsi: qla2xxx: Fix system crash in qlt_plogi_ack_unref
e62c1051a4fd scsi: qla2xxx: Remove aborting ELS IOCB call issued as part of timeout.
f5ff7098d906 scsi: qla2xxx: Defer processing of GS IOCB calls
1bc43df12141 scsi: qla2xxx: Clear loop id after delete
21e4e9c6d8ab scsi: qla2xxx: Fix scan state field for fcport
0b42928ca54c scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
11739154e650 scsi: qla2xxx: Fix abort command deadlock due to spinlock
4929c452336c scsi: qla2xxx: Fix PRLI state check
f92ec32f33ba scsi: qla2xxx: Fix Relogin being triggered too fast
1411448e0a1b scsi: qla2xxx: Fix NPIV host cleanup in target mode
4274e4a3bee9 scsi: qla2xxx: Fix login state machine stuck at GPDB
585f4ebd9e66 scsi: qla2xxx: Serialize GPNID for multiple RSCN
a6d50e89f119 scsi: qla2xxx: Retry switch command on time out
8e6cbe51afee scsi: qla2xxx: Fix re-login for Nport Handle in use
fae72a271001 scsi: qla2xxx: Skip IRQ affinity for Target QPairs
2cd1f76b293e scsi: qla2xxx: Move session delete to driver work queue
e0be82d7801a scsi: qla2xxx: Fix gpnid error processing
f58abb5bbd23 scsi: qla2xxx: Fix system crash for Notify ack timeout handling
7b6f41b7377a tpm: only attempt to disable the LPC CLKRUN if is already enabled
30c3b70e8d83 tpm: remove unused variables
1ef7d99cc897 tpm: delete the TPM_TIS_CLK_ENABLE flag
7cea3381216a tpm: Keep CLKRUN enabled throughout the duration of transmit_cmd()
f1bb2393fcd0 tpm_tis: Move ilb_base_addr to tpm_tis_data
9131a1b3d9c8 netfilter: use skb_to_full_sk in ip6_route_me_harder
39f154faecc2 netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
2d7e07003950 netfilter: bridge: ebt_among: add missing match size checks
eaa06bfba8ea netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
c89e04e5c06e netfilter: IDLETIMER: be syzkaller friendly
53f94e6110aa netfilter: nat: cope with negative port range
ab737b02b2fd netfilter: x_tables: fix missing timer initialization in xt_LED
2a7ebc07a153 netfilter: xt_hashlimit: fix lock imbalance
4514a597aa43 netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation
638c2e4eff89 netfilter: add back stackpointer size checks
310f286ded5f ASoC: Intel: kbl: fix jack name
314b54aae2ad ASoC: Intel: Skylake: Fix jack name format substitution
c116baf79f0e ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
77fbdd1e2a0c watchdog: hpwdt: Remove legacy NMI sourcing.
41da51dbc372 watchdog: hpwdt: fix unused variable warning
d40d7b332592 watchdog: hpwdt: Check source of NMI
9a07f4a6befc watchdog: hpwdt: SMBIOS check
31c4bc6e01e5 kbuild: move "_all" target out of $(KBUILD_SRC) conditional
96427a5164f3 Linux 4.14.26
dc6fb79de47d KVM: x86: fix backward migration with async_PF
a91064ff43a2 bpf, ppc64: fix out of bounds access in tail call
3e272a8cd57a bpf: allow xadd only on aligned memory
e1760b3563fb bpf: add schedule points in percpu arrays management
03549a3476e1 bpf, arm64: fix out of bounds access in tail call
7e657aa3b4f7 bpf, x64: implement retpoline for tail call
853223c2caf4 bpf: fix rcu lockdep warning for lpm_trie map_free callback
62a2caa5027f bpf: fix memory leak in lpm_trie map_free callback function
d9fd73c60bc9 bpf: fix mlock precharge on arraymaps
8773f9bfa9e8 Linux 4.14.25
df11c2268c39 nvme-rdma: don't suppress send completions
9474d8fa7ac4 md: only allow remove_and_add_spares when no sync_thread running.
4df591f704a2 ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
2b8446579c1b ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
b2190cc39184 ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
b95f8ca8d719 KVM/x86: remove WARN_ON() for when vm_munmap() fails
615462370ab6 KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE_BIT in kvm_valid_sregs()
db98acd6f859 PCI/ASPM: Deal with missing root ports in link state handling
b4830f3ad9c5 KVM: x86: fix vcpu initialization with userspace lapic
1f17daea7026 KVM/VMX: Optimize vmx_vcpu_run() and svm_vcpu_run() by marking the RDMSR path as unlikely()
03d62460c731 KVM: x86: move LAPIC initialization after VMCS creation
0d62a56dc454 KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
7135aaf3ed63 KVM: mmu: Fix overlap between public and private memslots
1ebf9ab6c4a0 KVM: X86: Fix SMRAM accessing even if VM is shutdown
f925158cb0d2 KVM: x86: extend usage of RET_MMIO_PF_* constants
e0c7b2b16666 ARM: kvm: fix building with gcc-8
fc6be8bc1216 ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
4c02f0164b0e ARM: dts: rockchip: Remove 1.8 GHz operation point from phycore som
8dc356e5b936 ARM: orion: fix orion_ge00_switch_board_info initialization
b20d1086410a x86/mm: Fix {pmd,pud}_{set,clear}_flags()
656772cb7233 nospec: Allow index argument to have const-qualified type
81a158d21498 KVM: s390: consider epoch index on TOD clock syncs
dbab3751bcc7 KVM: s390: consider epoch index on hotplugged CPUs
58a5d1ac69a7 KVM: s390: provide only a single function for setting the tod (fix SCK)
c09ea9a8da5b KVM: s390: take care of clock-comparator sign control
bd3ead457638 EDAC, sb_edac: Fix out of bound writes during DIMM configuration on KNL
1ba2b9e01dbf media: m88ds3103: don't call a non-initalized function
ccddee811eba blk-mq: don't call io sched's .requeue_request when requeueing rq to ->dispatch
c5f32462f0df s390/qeth: fix IPA command submission race
eae17c406390 s390/qeth: fix IP address lookup for L3 devices
87c4789f452d Revert "s390/qeth: fix using of ref counter for rxip addresses"
56f662db7f56 s390/qeth: fix double-free on IP add/remove race
027637104ddf s390/qeth: fix IP removal on offline cards
fa4919e37f8e s390/qeth: fix overestimated count of buffer elements
128c7e692333 s390/qeth: fix SETIP command handling
fcdfb9d80dc9 s390/qeth: fix underestimated count of buffer elements
99a781947c2a virtio-net: disable NAPI only when enabled during XDP set
5134b919cc2c tuntap: disable preemption during XDP processing
1903344b6320 tuntap: correctly add the missing XDP flush
abb4a8b870b5 tcp: purge write queue upon RST
eec434c573e7 netlink: put module reference if dump start fails
abd7663b5d1c mlxsw: spectrum_router: Do not unconditionally clear route offload indication
ebadf888288c cls_u32: fix use after free in u32_destroy_key()
fb8a84cb9f6a amd-xgbe: Restore PCI interrupt enablement setting on resume
e7b316ac78e2 net/mlx5e: Verify inline header size do not exceed SKB linear size
cbd173b8105c bridge: Fix VLAN reference count problem
00ec3b0ca32f sctp: fix dst refcnt leak in sctp_v6_get_dst()
97ba6e5ff684 net: ipv4: Set addr_type in hash_keys for forwarded case
73cb791fe41c mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create
0ab87ec99e99 tcp: revert F-RTO extension to detect more spurious timeouts
cc8dadb8c0f4 tcp: revert F-RTO middle-box workaround
36728a6b39c1 sctp: do not pr_err for the duplicated node in transport rhlist
54d6bc97b4c9 net/sched: cls_u32: fix cls_u32 on filter replace
a01550d778a4 net_sched: gen_estimator: fix broken estimators based on percpu stats
5b5be45ed1f2 net/mlx5e: Fix loopback self test when GRO is off
ff01f118d168 doc: Change the min default value of tcp_wmem/tcp_rmem.
d6a76199e851 tcp_bbr: better deal with suboptimal GSO
f0a04a0e1ab4 rxrpc: Fix send in rxrpc_send_data_packet()
17634603d494 tcp: Honor the eor bit in tcp_mtu_probe
dcb5da20ee3f net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT
f26693d38760 net/mlx5e: Specify numa node when allocating drop rq
2229dd5dd6c6 mlxsw: spectrum_switchdev: Check success of FDB add operation
9f02a069bfdd sctp: fix dst refcnt leak in sctp_v4_get_dst
bf014cc18a3c net/mlx5e: Fix TCP checksum in LRO buffers
fecb84a83f84 udplite: fix partial checksum initialization
1fc74a57a8ae sctp: verify size of a new chunk in _sctp_make_chunk()
5775f7876467 ppp: prevent unregistered channels from connecting to PPP units
795f3deff199 net: sched: report if filter is too large to dump
60b28d5ef3e3 netlink: ensure to loop over all netns in genlmsg_multicast_allns()
3bcf69f8e786 net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
f80c28a585b5 net: fix race on decreasing number of TX queues
da260080c2e3 net: ethernet: ti: cpsw: fix net watchdog timeout
94870df33c9b net: amd-xgbe: fix comparison to bitshift when dealing with a mask
c3d7d3a099f6 ipv6 sit: work around bogus gcc-8 -Wrestrict warning
2cdc12a498fc hdlc_ppp: carrier detect ok, don't turn off negotiation
4a5048e7fdeb fib_semantics: Don't match route with mismatching tclassid
4c13e689e5f0 bridge: check brport attr show in brport_show
71978491bb66 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table
f70befc397a6 x86/platform/intel-mid: Handle Intel Edison reboot correctly
e521a723fd3f x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
93e1f7fc77e6 direct-io: Fix sleep in atomic due to sync AIO
0ba6c33b3287 dax: fix vma_is_fsdax() helper
3379a37a7409 cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
d5168ce35434 vfio: disable filesystem-dax page pinning
7f43f610c4bb block: kyber: fix domain token leak during requeue
17644a0bbb19 block: fix the count of PGPGOUT for WRITE_SAME
eae6179f5539 btrfs: use proper endianness accessors for super_copy
dabf89052e8e parisc: Fix ordering of cache and TLB flushes
47e7fc96cddc parisc: Reduce irq overhead when run in qemu
90c3f0d36000 parisc: Use cr16 interval timers unconditionally on qemu
6b218ed6bd07 timers: Forward timer base before migrating timers
ec274a65154a mmc: dw_mmc: Fix out-of-bounds access for slot's caps
e03d46a156d9 mmc: dw_mmc: Factor out dw_mci_init_slot_caps
4d5123a0b37c mmc: dw_mmc: Avoid accessing registers in runtime suspended state
cb65fc21f387 mmc: dw_mmc-k3: Fix out-of-bounds access through DT alias
33b42aa617d1 mmc: sdhci-pci: Fix S0i3 for Intel BYT-based controllers
e2c3f7270218 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
34516912bfd7 ALSA: hda: Add a power_save blacklist
e5e9a08e151f ALSA: x86: Fix missing spinlock and mutex initializations
a2102a155f3d ALSA: control: Fix memory corruption risk in snd_ctl_elem_read
ebc24a828a2f ALSA: usb-audio: Add a quirck for B&W PX headphones
e5966192439e tpm_tis_spi: Use DMA-safe memory for SPI transfers
fbb6fba47c05 tpm: constify transmit data pointers
f8e331c508c2 tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
37dfbccd4b22 tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
e9951ab03f51 tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
648b62fda1a3 tpm: fix potential buffer overruns caused by bit glitches on the bus
703fca31ac31 tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
972b19e615a2 ixgbe: fix crash in build_skb Rx code path
971039cc4da1 Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking
(From OE-Core rev: 22ab6e95a31ca10e14d1dfab8119e87e125505d4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit for the 4.12+ kernels:
Author: Nathan Rossi <nathan@nathanrossi.com>
Date: Wed Mar 21 00:10:02 2018 +1000
features/wifi: Add WiFi driver fragments for various vendors/interfaces
This change adds WiFi driver configuration fragments. The fragments are
split into vendor and interface files to allow for easy selection of
drivers for specific interface types (USB, PCI, SDIO) which is useful
for BSPs with specific interfaces. The specific vendor/interface config
fragments can be included by specific BSPs in its .scc files.
However .scc files (wifi-*.scc) are provided to allow enabling interface
specific or all interfaces drivers via KERNEL_FEATURES or inclusion via
other .scc files. And wifi-common.scc is provided to enable the base
config options required for all WiFi drivers, which is done to ensure
correct configuration for default no config setups (e.g.
linux-yocto-tiny).
This patch only enables a limited set of drivers, which is based on what
the common-pc-wifi.cfg fragment sets as well as some additional drivers,
that primarily appear in USB WiFi devices.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This gives us a much better granularity of drivers and a good baseline for
future improvements.
The 4.12 fragments are also slightly re-organized on top of this commit
to avoid patch failures when including the new frags.
(From OE-Core rev: c24d6863768a64b2c1632d5202790689a1164694)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to fix the ethernet on the mpc8315e-rdb:
12f3957167b0 net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b
c986bc511c18 net: phy: Add general dummy stubs for MMD register access
(From OE-Core rev: 6dd68cddc3536c11b9f868fde34a745256648c25)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Via the -stable updates, and other configuration changes the 4.12 kernel has the
same dependency on openssl headers as 4.14+.
So we add the same DEPENDS line that we already have in newer kernels to avoid the
following error:
| HOSTCC scripts/sign-file
| build/tmp/work-shared/qemux86-64/kernel-source/scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
| compilation terminated.
| scripts/Makefile.host:107: recipe for target 'scripts/sign-file' failed
| make[3]: *** [scripts/sign-file] Error 1
| make[3]: *** Waiting for unfinished jobs....
(From OE-Core rev: 80f6840baecb8b161f6443f3dd1af4e70b5e5221)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was removed in the bitbake repository back in 2010 (bitbake
revision 24857e2ceb405916b0b0b3e75c6c2375a909b9ba) - it's not clear
to me what happened, but for some reason the file remained in the poky
repository. However it does not appear that it has been used since then
and the reasons for removing even more valid now than they were then -
the code has moved on even further, we have memory resident bitbake
server, and if we were to re-implement this we would do it in a
different way. Drop the file and bring us back in sync with the bitbake
repo.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix typo in shutdown code to kill threads when "kill -0" is not enough.
Use the '--noreload' flag for 'runserver' so that there are no extra
and unaccounted threads.
[YOCTO #12555]
(Bitbake rev: 256990943075e89cb9aee2bc6488344b6783e07b)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly capture and ignore errors when trying to load the optional
'custom.xml' fixture file.
[YOCTO #12554]
(Bitbake rev: 132458939d3987ebc58685397714af3d6d5cd8fd)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
https://wiki.debian.org/Salsa
"What is Salsa?
Salsa is the name of a collaborative development server for Debian based on the gitlab software. Salsa is supposed to provide the necessary tools for package maintainers, packaging teams and other Debian related individuals and groups for collaborative development.
What is the status of Salsa?
After various discussions about the future of Alioth, the Alioth Sprint in August 2017 gave birth to the initial setup of the the upcoming Salsa service. The productive weekend resulted in a working prototype and was launched as a beta in December 2017. It left its beta status in January 2018."
(From OE-Core rev: 08ff7b42d8b7d06ef61255185c95e900ada8769b)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching ca-certificates sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
(From OE-Core rev: fc20ff2003cee7ee3b78ba3bc236a60a8caabc35)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian anonscm service in Alioth is shutdown and thus
fetching ncurses sources fails.
https://wiki.debian.org/Alioth
"Alioth is broken, and there is nobody around to fix it. Don't ask the remaining people who give it life support to implement fixes and changes. It is being replaced by a cocktail of ?GitLab (see Salsa), read-only repos and keep-alive mechanisms. See below for more information."
(From OE-Core rev: 8fab5794218445ddb3e8f73a74fa3f130e7c42f6)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fix from qemu mainline for intermediate qemuarm64 hang
issue. Root caused in OE environment, issue with aarch64 qemu
logic of executing instructions that reenabe interrupts. See patch
commit message for more details.
Upstream-Status: Backport
(From OE-Core rev: aa33945fc7cf7bfa859c4091bcfa2695c422849b)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apparently there are recipes in the wild which generate files with
filenames containing '$' characters - which cause errors during
packaging.
Instead of adding another special case to escape '$' characters when
constructing the command passed to oe.utils.getstatusoutput(), switch
to using single quotes to quote the path - and therefore make isELF()
consistent with the way filenames and paths are quoted by every other
caller of oe.utils.getstatusoutput() in oe-core.
(From OE-Core rev: 7877761534b0c2492da6289e9f2269d41b6ed464)
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>
Although get_filesystem_id() is a private API and never gets passed
a path containing spaces or other special characters, etc, quote the
path anyway for consistency.
(From OE-Core rev: 1a9878cdb1cdb807c47e852b780c8ef9b93a214e)
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>
Fix non-void function 'fix_options' should return a value.
Add function prototype to tcpd.c and miscd.c.
(From OE-Core rev: 01590c04e875968a7137a67d1683c503a6bad396)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With 4.15 kernel systemtap needs update to address systemtap module
compilation issues. It is fixed in later version of systemtap by
PR22551.
Upstream-Status: Backport
(From OE-Core rev: 7425d03729507ac5aff3c75ba20e749beaf3a3d5)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ext4 filesystem instead of ext3 when using the live image to install
on target. wic defaults to ext4 as well.
(From OE-Core rev: db6c3d681807cfef098ead1db098f5268e1eb055)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix RDEPENDS
* Upstream v1.12_9 is a development version, not a stable release
* Add UPSTREAM_CHECK_REGEX skip development releases
* Drop anonymous python function to "fix" version, which breaks
auto-upgrade-helper (AUH)
* Use LICENSE file for checksum rather than ephemeral META.yml
* License remains the same
Fixes: [YOCTO #12581]
License-Update: use LICENSE file for checksum
(From OE-Core rev: 613fa79adff798e29ec7f72bff6f060a1832bc89)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pseudo is using a custom configure script that detects if it shall build with
extended file attribute support or not. The check is done by simply calling
'getfattr' provided by attr-native which is not part of the dependency list.
Due to the recent changes (recipe specific sysroot & cleanup of $PATH) this
call fails now when the recipe is being build for the first time (at least
when being build for nativesdk case). Explicitly setting up a dependency to
attr-native just to satisfy configure would be wrong also since the real
dependency is to attr/nativesdk-attr which are already part of the dependency
list (see DEPENDS). Therefore bypass the test in the configure by explicitly
enabling xattr using a configure option available in any case.
(From OE-Core rev: a7381eb16ba2183ed990a009bb8e82b4702f3d98)
Signed-off-by: Andreas Kaufmann <andreas.kaufmann.79@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'glamor' PACKAGECONFIG in xserver-xorg creates a dependency on libgbm
which can be satisfied in some cases by mesa, in others by blobs such as mali.
(From OE-Core rev: 5f8050722169a931b8e9078b8757216ba7a84506)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mesa only PROVIDES these features if they are enabled via PACKAGECONFIG.
Therefore make the PROVIDES conditional depending on whether or not these
features have been enabled.
(From OE-Core rev: 8b1e57eb8c959c0f0a5d9a7e0c2e0811c515ea08)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
replace_glibc_check_with_linux.patch was accepted upstream with
modifications.
(From OE-Core rev: 94cf27ebc5d3e3fafa85f3bb1ca54f606bb411ad)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version has been published at March 21, 2018, and it is a bugfix
only release. It includes several important fixes that were made as
part of 18.0.0 development cycle.
Full list of bug fixes can be see online at:
https://www.mesa3d.org/relnotes/17.3.7.html
(From OE-Core rev: 3601c079e15f3570b9b90cd8775e4e90175d1bb5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This string is now being presented as "bsp_root_name" in the YP
manual set. A BSP name is essentially "meta-bsp_root_name".
It was being presented in the manual set as "meta-bsp_name",
which is not technically correct.
(From yocto-docs rev: 9ad25836b2b3ca79aa3430be014871f50205cf9e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed the way we refer to a BSP name. It is really
"meta-<bsp_root_name>" rather than "meta-<bsp_name>". The
name is the whole string and not just the root name.
Also added a tip on ordering the layers in the BBLAYERS
variable in the bblayers.conf file. Order is important.
(From yocto-docs rev: 9c56238295f5631c496377616ea98b860253e6f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a layer that contains other layers
(From yocto-docs rev: 0cd1881c18e8a63d5f2f078b03fe4e89fd9c75b5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reality dictates that the YP does not treat layer naming consistently.
Layers are talked about as the "meta-whatever" layer and never the
"whatever" layer. However, the tooling sometimes appends or uses
just the "whatever" part of the layer name. A good example is the
meta-yocto-bsp configuration file. All the variables in there use
just the root name of a layer's name. In the manuals, I had been
distinguishing the layer name as just the "whatever" part sans
"meta-". I talked about the convention of using "meta-" in front
of layer names, etc. Well, this is confusing in light of how everyone
says a layer's name is "meta-whatever". So, I fixed all this up.
(From yocto-docs rev: 79e52f6ccf4246fc69a460ce9d3a4a18720a9442)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split this section into two sections: one for creating the layer
using bitbake-layers create-layer and one for adding the layer
to bblayers.conf using bitbake-layers add-layer.
Needed to update some references in the yocto-project-qs and
kernel-dev manuals.
(From yocto-docs rev: 741a29b0cbeaaeaa0ac9155036ace2623938aee3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12419]
In the section on runtime package management, I created a "Tip"
box to tell the user about using a location for the package
index information outside of the "deploy" area of the hosts
build directory.
(From yocto-docs rev: 2aee814d3d3ed4052fca332693d5416907ae640e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided some key links to help clarify content.
(From yocto-docs rev: 8d27b9946dad89729d30497bcc4de26b9a5c87d9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12419]
This section was unclear and needed some work. I added text to
help clear things up.
(From yocto-docs rev: 54358a39a5710dbd0cbcfe8dafd2f641ec3863ef)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the fact that this variable is really optional. If you
don't use it then you are setting up a package feed URI that
will include all supported arcchitectures for the package.
Using it means you are setting up specific URIs for specific
architectures.
Added a "Tip" note box to show how you can use the variable
to whitelist architectures.
(From yocto-docs rev: 009f3551aa61aaf6459fd24105a2e06511b59da3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I created a two-bullet "Caution" note to highlight the stuff a
user needs to be aware of that can cause problems.
(From yocto-docs rev: 553bc13e5fd350adb15400afe170e587965929db)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I took out the sections at the end of the manual that talked
about the yocto-kernel tool. This tool is no longer maintained
and there is no equivalent tool. I also fixed the yocto-bsp
tool to be the bitbake-layers tool. This involved some
consolidation of sections.
I fixed some links in the kernel-dev and toaster-manual.
(From yocto-docs rev: 20cda99b301b6327d816c4a4cfb3511ad25c987c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated this section with minor edits.
(From yocto-docs rev: 1bc1dcda5fbab4a66737653164222f4fc5a7289c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section had several out-of-date items. They are all up
to date now.
(From yocto-docs rev: 247f3eceeccc645a1b556aea433d4cf66399e962)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Made changes to sync the raspberrypi BSP example to what is
really in the source directories. It was pretty out of date.
Made some minor edits to the sections describing the framework
of the BSP.
(From yocto-docs rev: b222d0988cb365cb1943ee1857e5cfd6b9fe173a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applied some edits to make the section more up-to-date. Dumped
minnow as a BSP example for raspberrypi.
(From yocto-docs rev: a40515bad28d07d736e1ddd1832c19b074749d53)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added more relevant information around the discussion of BSP
layers.
(From yocto-docs rev: 8ca439b0bbfdcf390edb723fd12e8a00d90024e3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The example that creates a layer using bitbake-layers had old
output. Updated it.
(From yocto-docs rev: c58d738a59f113f8fffe0fc40b22e06b9d96cb6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reference to tools to help upgrade now exists with the
creation of the section in the dev-manual that talks about how to
upgrade recipes. I converted the bullet item here in the QS to
point to the actual section.
(From yocto-docs rev: b3d8895fefb99799a7c06abff5cc1604530ee36a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Did some rewriting to add some references to other sections
in the manual set. Did some other minor clean up.
(From yocto-docs rev: 7e7be31e96a0e73e230b8596b2431716f254e027)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the devtool add -h output.
Updated the devtool --help output.
Fixed wording for the "attic" file associated with the figure
of the workspace area.
(From yocto-docs rev: bc53d9a1236ba2545c112256e886729b08b507de)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provided a bit of rationale on why and when you use this command.
Put in several links to help the reader get to related areas where
command use is explained.
(From yocto-docs rev: 7b30f29bfa15dd15f1388bb856e2047be55e7fb9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Section covers AUH, devtool and manual. Still need to add
manual.
(From yocto-docs rev: 56f04b1fcc8673e20df6d8f5c65120b03cad31e7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Had to update the umbrella YP figure and the Poky figure. The
figures changed on the website so this gets them back in sync.
(From yocto-docs rev: f7f1a689a847ab4a01106eadacfccb4bec6c4b01)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure: Unable to find revision d8b18df3e9dcbe4f092bed565835d3975e99432c in branch 3.2 even from upstream
ERROR: distcc-3.2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/distcc/distcc.git;branch=3.2'. Unable to fetch URL from any source.
ERROR: distcc-3.2-r0 do_fetch: Function failed: base_do_fetch
[v2]
upstream deleted the branch and the hash no longer exists.
Took the git snapshot from yocto and created a copy on my github.
There was no offical 3.2 release, only rc versions.
(From OE-Core rev: aee44c6b1c36fb1c1f760fec60087933d1e8ea79)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, waf.bbclass would fail to catch FileNotFoundError. Now, it will
catch this error and say that waf doesn't exist.
Fixes [YOCTO 12553]
(From OE-Core rev: f8321dedec7abe392f7e49ff8eee0640463adae5)
Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setup environment for builds requiring binary reproducibility.
Determine and export SOURCE_DATE_EPOCH per each recipe.
This is a crucial step to achieve binary reproducibility.
The value for this variable (timestamp) is obtained after source code for
a recipe has been unpacked, but before it is patched. If the code sources
come from a GIT repo, we get the timestamp from the top commit. (GIT repo
does not preserve file mktime timestamps). Otherwise, if GIT repo is not
present, we try to get mtime from known files such as NEWS, ChangeLog, etc.
If this also fails, we go through all files and get the timestamp from the
youngest one. We create an individual timestamp for each recipe.
The timestamp is stored in the file '__source_date_epoch.txt' (in the folder
source-date-epoch_). Later on, each task reads this file and sets
the exported value of SOURCE_DATE_EPOCH to the value found in the file.
Uasge:
INHERIT += "reproducible_build"
[YOCTO#11178]
[YOCTO#11179]
(From OE-Core rev: cc438ac7711dedbe05d654e99af9316c9215b02e)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was the default behavior with autotools, but is not with meson.
Otherwise, udev package will pull in the rest of systemd even
that is not desired.
[YOCTO #12618]
(From OE-Core rev: 7409d2d48b69adcdf039fb4aa8bd9ed62460daa9)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd was upgraded from 234 to 237, the PACKAGECONFIG item
'resolved' is changed to 'resolve', this is because meson_options.txt
uses the word 'resolve' instead of 'resolved'.
However, this causes trouble for users. Backward compatibility is obviously
more important, because we might have bbappend files in other layers
using this PACKAGECONFIG item.
So change the name back to 'resolved'.
(From OE-Core rev: da7fc569e547b4105b00c11a0b41b70230bacc50)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In out-of-tree builds gtk-doc's setup-build target copies all the content from
$srcdir to $builddir. However, if some of this content is regenerated at
configure time this can happen:
1) configure writes new build/version.xml
2) make compile copies content, including the tarball's src/version.xml
to build/version.xml, and generates gtk-doc.
3) make install notices build/version.xml is older than configure.status,
so regenerates gtk-doc.
gtk-doc generation is a slow process at the best of times, so doing it twice
isn't good.
(From OE-Core rev: 9ea9d61f26a942dbbc90070b40ba0209021a4b46)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
termlib needs to be disabled on some targets e.g. mingw
this change paves the way for doing that. Functionally
it does not change anything for other platforms
(From OE-Core rev: 88f33e1e5ba4f85093f60a296cba3ee1c1341c43)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables force runtime tests during configure
they are already cached for other architectures
(From OE-Core rev: 7a0e456d9dcfe9d9d9a0dbd24a6083c8d40516ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To use 'glide' this class does the integration and reduces code
duplication.
(From OE-Core rev: e0dbcdc2ca0b05b6b062a0ec1496204bb2122fbf)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fails for nativesdk-shadow with:
pwconv: /etc/passwd.29063: No such file or directory
pwconv: cannot lock /etc/passwd; try again later.
(From OE-Core rev: c292945611d9f825051ac4938bb22a7d42fff994)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wrong revision of this patch, where the commit message didn't match
with the default PACKAGECONFIG value, was merged to master, update
it to avoid confusion
* it got enabled by default, but without the dependency on libidn in:
commit 5997981fa2c22609a88b8cbb595dbf7758b2f7c2
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
AuthorDate: Thu Feb 1 20:02:08 2018 +0200
Subject: iputils: update to 20161105
* https://github.com/iputils/iputils/blob/master/RELNOTES.old
mentiones that IDN was enabled by default in:
[s20160308] and surprisingly the same in [s20150815]
but there are no release notes for s20151218 version we were using until
now, don't know how it really relates to [s20150815].
* but there are some issues with libidn as described in:
f3a461603e
so disable it by default.
(From OE-Core rev: d5cf9fdc57b6e9237126c92a6d92a31099d007c9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following perl module packages were removed from oe-core
with commit: 30fb4c8f329fe3aa3c528ffeba60ee7d702e873e
- libclass-isa-perl
- libenv-perl
- libdumpvalue-perl
- libfile-checktree-perl
- libi18n-collate-perl
- libpod-plainer-perl
Remove these from the maintainers list
Fixes: [Yocto #12582]
(From OE-Core rev: 9eafd2d8bff2cb4949ee83bf7c5505bfcbad93d4)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian and Fedora both carry this patch, and the xf86-video-modesetting
driver seems better on recent hardware.
As an example, on a NUC6CAYS, the x11perf -aa10text and -rgb10text tests
see around a 20x increase.
[YOCTO #12019]
[YOCTO #12390]
(From OE-Core rev: 2e4934d5d4b2745ffcd76020b307b9021f8d8853)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
@@ -38,7 +26,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed."%(lineno,fn,s))
bb.plain("\nTask %s:%s couldn't be used from the cache because:\n We need hash %s, closest matching task was %s\n"%(pn,taskname,h,prevh)+'\n'.join(output))
@@ -1716,6 +1775,10 @@ class RunQueueExecute:
valid=bb.utils.better_eval(call,locs)
returnvalid
defcan_start_task(self):
can_start=self.stats.active<self.number_tasks
returncan_start
classRunQueueExecuteDummy(RunQueueExecute):
def__init__(self,rq):
self.rq=rq
@@ -1789,13 +1852,14 @@ class RunQueueExecuteTasks(RunQueueExecute):
bb.error("When reparsing %s, the basehash value changed from %s to %s. The metadata is not deterministic and this needs to be fixed."%(k,self.basehash[k],datahash))
bb.error("When reparsing %s, the basehash value changed from %s to %s. The metadata is not deterministic and this needs to be fixed."%(k,self.basehash[k],basehash[k]))
bb.error("The following commands may help:")
cmd="$ bitbake %s -c%s"%(d.getVar('PN'),task)
# Make sure sigdata is dumped before run printdiff
bb.error("%s -Snone"%cmd)
bb.error("Then:")
bb.error("%s -Sprintdiff\n"%cmd)
self.basehash[k]=basehash[k]
self.taskdeps[fn]=taskdeps
self.gendeps[fn]=gendeps
@@ -193,20 +177,31 @@ class SignatureGeneratorBasic(SignatureGenerator):
@@ -10,18 +8,8 @@ Task data collection and handling
# Copyright (C) 2006 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
importlogging
importre
@@ -70,6 +58,8 @@ class TaskData:
self.skiplist=skiplist
self.mcdepends=[]
defadd_tasks(self,fn,dataCache):
"""
Add tasks for a given fn to the database
@@ -88,6 +78,13 @@ class TaskData:
self.add_extra_deps(fn,dataCache)
defadd_mcdepends(task):
fordepintask_deps['mcdepends'][task].split():
iflen(dep.split(':'))!=5:
bb.msg.fatal("TaskData","Error for %s:%s[%s], multiconfig dependency %s does not contain exactly four ':' characters.\n Task '%s' should be specified in the form 'mc:fromMC:toMC:packagename:task'"%(fn,task,'mcdepends',dep,'mcdepends'))
ifdepnotinself.mcdepends:
self.mcdepends.append(dep)
# Common code for dep_name/depends = 'depends'/idepends and 'rdepends'/irdepends
self.parseExpression("until false; do echo true; done")
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.