This CVE is issue on _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath.
Since it is .dll issue (on windows only), hence whitelist it.
https://bugs.python.org/issue29778
(From OE-Core rev: c216431d0704bd8be237e860bbdc32be34a82aee)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ctypes module needs to use "ldconfig -p" to find the
library path and it simply has below logic if no ldconfig
installed.
except OSError:
pass
Before the patch:
>>> from ctypes.util import find_library
>>> lib_path = find_library('archive')
>>> print(lib_path)
None
After the patch:
>>> from ctypes.util import find_library
>>> lib_path = find_library('archive')
>>> print(lib_path)
libarchive.so.13
(From OE-Core rev: 84e1a32096db9deb98d282a652beec95dbfe80f1)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ddb96902a124a6e1f035f0fd868b0139989bc1bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for un ptests in multiple directories, useful in multilib
builds.
Changes,
1e9a845 Add support to specify multiple folder for ptest-runner
287ba30 Makefile: Fix TEST_LDFLAGS gcc cmdline position
[YOCTO #12604]
(From OE-Core rev: bd7de7dd0992e0d7a6cc322a54cf9e69b052acca)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1203ee86e3cf4d73f6ba513452717f1c4f78c501)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The check for a git HEAD still wasn't quite correct because it was using
the .git directory as the current working directory. Instead, it should
be passed as the --git-dir argument when running git. Running `git
rev-parse HEAD` in a .git directory with no HEAD reports 'HEAD' and
exits with success but then 'git log' will fail, which is not what we
want.
(From OE-Core rev: 31f00ec9c6ab5fe74f1ba59f79322497ef8f4dc7)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cdbd47dd7e1657b91b65a0940b7cbf119764240f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes an error that occurs when attempting to get the timestamp of the
latest commit when there is no HEAD in the git repository. The easiest
way to trigger this condition is to use the 'subdir=' option when
specifying a 'git://' SRC_URI.
(From OE-Core rev: 02e42107e1c6145c215bfd74fe17fd8abc2db04f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a64caca5b5dbe4a76acd0b5709b2c3e75b245863)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moves most of the python code used for dealing with the source date
epoch to library code.
(From OE-Core rev: bb957547fbd3f6670220706642b49fee560c6b75)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a7ede90955bc0c8bec1cbb3cab498ef2583b2f4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libbsd contains a multitude of licenses. For (commercial) projects the
3rd clause of the BSD-4-Clause license can be problematic. But only a
few man pages use this license. This means that the main package
containing the binary library itself is not under BSD-4-Clause ruling.
(From OE-Core rev: 5ff745ae91540e1a664647aff7ad5ea8bd39c01f)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c3e3f83b5fb162d161a7b9773d426418a22c05f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OpenSSH server, as used in Fedora and Red Hat Enterprise
Linux 7 and when running in a Kerberos environment, allows remote
authenticated users to log in as another user when they are listed
in the .k5users file of that user, which might bypass intended
authentication requirements that would force a local login.
Whitelist the CVE since this issue is Redhat specific.
(From OE-Core rev: 49955248b6011450a8767496783fb9f4738c9a99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 309132e50d23b1e3f15ef8db1a101166b35f7ca4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
powerpc 32bit Linux Kernel widely uses .stabs pseudo-op to
produce debugging information in stabs format. Faced an issue
that during Linux Kernel build with Yocto build system for 32bit
powerpc platform resulting vmlinux contains absolute path in
.stabstr section that cannot be remapped with -fdebug-prefix-map
option.
Yocto uses scripts/mkmakefile Linux Kernel build approach that
allows to store all generated files outside of kernel source
tree. With this approach each compilier invocation is performed
with an absolute path to a file that will be compiled and this
absolute path is recorded in init stab. There is no way to remap
this path.
Reuse remap_debug_filename api to make -fdebug-prefix-map flag
aplicable for init stab.
(From OE-Core rev: b90799fd0f38cd013bebadbe5b9c50b4f93e84af)
Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a run is ended by overall timeout, print the already executed
testcases, to provide some hints which testcase might made the
test suite reach global timeout.
Nonetheless make the testrun exit with an error
(From OE-Core rev: aca4b863c2878b31c3cb506b05d1e19ef525e4af)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bcc643195a3b3c66d698fac8b7af037c08545ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with _run_start_time as value. For partial results of interrupted runs,
this info might be otherwise missing for at least one testcase
(From OE-Core rev: 4ebf97e36d9def38fb869cbbbd5ce10f5d2669a3)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c5e8baf57fa2a33b9ef507b11d9ea9acaa77238)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
register an unittest handler for testresults and expose it as
variable result.
With this even partial results from an interrupted test suite run
can be made available
(From OE-Core rev: 07a3ea1aece5c67d75b60417ee0978cc0e15719a)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a97ae47525157871b6c098ffc352293e365a4335)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding SECLABEL{selinux}="some value" causes systemd-udev
to crash.
So applied below available patch to fix the issue.
systemd-udev-seclabel-options-crash-fix.patch
Link: 0335d110af.patch
(From OE-Core rev: fde72d75175d2a258e5095addd73d3da0998fc3f)
Signed-off-by: akash hadke <akash.hadke@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not a critical bug fix but it can be usefull in some BSP
with exotic drivers like on nvidia tegra bsp.
(From OE-Core rev: 2237b8a536c8c13ad59d7e93d96f6602881dc4f2)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is host contamination and can also fail for all kinds of
reasons when running under usermode qemu.
(From OE-Core rev: a88495acd867ba1268428cebe0d2d6c672d24b38)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb60d0920b660dffb346b2212dc6f8ba2a0b9fde)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diffstat tool is part of HOSTTOOLS. To support hosts that do not
have it installed with buildtools-tarball it must be enabled for
nativesdk.
(From OE-Core rev: 537847e60b2d0a04a1a15a857201be9f8c2aa9b4)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed002422bc46539f1d71ed19ee17358b6691bf0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the modconf fragments representing the configuration for
kernel modules are written out to appropriate .conf files and added to
the FILES variable. However they are not identified as 'configuration
files' and installing a new version of a kernel module results in a
conflict and a failed installed because the respective .conf file is
already in place from a previous install.
Add the generated .conf files to the CONFFILES variable denoting their
true nature.
(From OE-Core rev: b5a113273dc4c062a4b734a403a3bb4a5e92c8ee)
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a70a92d1f1006be115429a4262259c9084f484d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parts of alsa-utils are v2 only, parts are v2 or later. The effect is
the end result is GPLv2 and there seems little value in marking everything
as being a mixture of both. Fix LICENSE to match reality.
(From OE-Core rev: 23f482ba5e6f2b0ab093ad73c4b22978f4bde543)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9a17a991174b732597e21045763ea851f486a01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license headers are clear that the code is "or later", fix LICENSE
to match.
(From OE-Core rev: f46aac0fb7c4f1777a19720b05cf0eb83f4dd988)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e565e0b908c71ad5106d1c6c73d269b819787e55)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license headers are clear that the code is "or later", fix LICENSE
to match.
(From OE-Core rev: c0d1eb1efad160b7832abd87a168ca547c296d94)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f0b5cdfcb104ac50222a47652e090ad8770e49f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mkfs.vfat tool can also be provided by busybox via the CONFIG_MKFS_VFAT
configuration (not enabled by default in OE but can be enabled on
systems avoiding components based on GPLv3).
(From OE-Core rev: 4afa9f08123df819e53b5d9d586f7a34dcde1ef1)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1227a29974671fd52014deaca7ac859a037cdeb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean up several patches introduced in commit 6732918498 ("grub:fix
several CVEs in grub 2.04").
1) Add CVE tags to individual patches.
2) Rename upstream patches and prefix them with CVE tags.
3) Add description of reference to upstream patch.
(From OE-Core rev: 4f395ad49ef9035954d0fda7b7df14dea18b49a0)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bcb8b6719beaf6625e6b703e91958fe8afba5819)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches from https://git.savannah.gnu.org/git/grub.git
to fix some CVEs. Here is the list.
CVE-2020-14308:
0001-calloc-Make-sure-we-always-have-an-overflow-checking.patch
0002-lvm-Add-LVM-cache-logical-volume-handling.patch
0003-calloc-Use-calloc-at-most-places.patch
CVE-2020-14309, CVE-2020-14310, CVE-2020-14311:
0004-safemath-Add-some-arithmetic-primitives-that-check-f.patch
0005-malloc-Use-overflow-checking-primitives-where-we-do-.patch
CVE-2020-15706:
0006-script-Remove-unused-fields-from-grub_script_functio.patch
0007-script-Avoid-a-use-after-free-when-redefining-a-func.patch
CVE-2020-15707:
0008-linux-Fix-integer-overflows-in-initrd-size-handling.patch
(From OE-Core rev: af52a1f1f3a2ab61fea263c3dd17628f359ec906)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67329184985a03534f11f95e9df5f9fb2305a261)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add packages for the firmware required by the Nvidia chipsets.
Split it in Tegra K1, all other Tegras and desktop GPU packages.
(From OE-Core rev: 0671d049785708044491927ce65ef527d2603639)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f03b7bc5f164afd9cbb0c2bd3a932bb85d968bf7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package for the firmware required by the Marvell 8997 chipset when
connected over SDIO.
(From OE-Core rev: 37a815399aaa216b1c498dd8b82416c4df471755)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8b69d826702db9f5a3482754db8967c924a156d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Steps to reproduce:
echo "IMAGE_INSTALL_append = \" udev-hwdb lib32-udev-hwdb\"" >> conf/local.conf
When install both udev-hwdb and lib32-udev-hwdb as above,
there comes below do_populate_sdk error:
$ bitbake core-image-sato -c populate_sdk
ERROR: Task (/path/core-image-sato.bb:do_populate_sdk) failed with exit code '134'
NOTE: Tasks Summary: Attempted 5554 tasks of which 0 didn't need to be rerun and 1 failed.
$ cat /path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r5/pseudo/pseudo.log
[snip]
inode mismatch: '/path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r5/sdk/image/usr/local/oecore-x86_64/sysroots/core2-64-poky-linux/lib/udev/hwdb.bin' ino 427383040 in db, 427383042 in request.
[snip]
It is because both udev-hwdb and lib32-udev-hwdb will generate
${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/udev/hwdb.bin during do_populate_sdk
and it triggers pseudo error.
So clean hwdb.bin before generate hwdb.bin to avoid conflict to
fix the above do_populate_sdk error.
(From OE-Core rev: 10413cf013ae5a92ef12f33dab8e67f0bfb0ae25)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7472925feb53ce92c1799feba2b7a9104e3f38f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 3.5.0 is a security release
Reference:
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/
The primary purpose of the jquery recipe is to make the diffoscope
output from the autobuilder easier to navigate.
Master branch has been using 3.5.X for some time now so this should
be a safe upgrade.
(From OE-Core rev: 555cfcf53acf5e7ebe64874de33fa696670ce18c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0f883c4cbdcf722767b437a69002244be4cf8d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactoring of SDL2 internal API has broken SDL_RenderFillRect for
DirectFB. The problem has already been fixed upstream.
(From OE-Core rev: e0201460f7888d220555e84ce2981ff5578114d4)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a7c8dfc1f9beebeb9da7f61b323d85fba82ec1cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build of libsdl2 with directfb is broken due to a spurious '}' and a
missing 'E' since version 2.0.12. The upstream is already fixed.
(From OE-Core rev: f8d552be2e0bceb18ada28d34e962355050d9dae)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8963daba093c3c5e2c60e1e4e057862971b84cb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to SDPX.org "Python License 2.0" is the overall Python
license, which is comprised of several licenses. "Python Software
Foundation License 2.0" is part of the complete Python license, but is
also used independently by some projects.
So far the license names PSF and PSFv2 found in LICENSE are mapped to
to Python-2.0. This patch maps PSF and PSFv2 to PSF-2.0 und thus
corrects the impression that Python-2.0 and PSF-2.0 are synonymous.
(From OE-Core rev: 0898bd34fa79c34704b63d21806d7738af06abb8)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef89f176d10ee82738aa050282d93b68dd2c4eb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 7d32417b4d (busybox: Correct the name of the bzip2 license)
changes the licesne from 'bzip2' to 'bzip2-1.0.6' on the rationale
that the 'bzip2 license was renamed from "bzip2" to "bzip2-1.0.6"
[...] to match the official SPDX identifier.'
Though the above is true for the bzip2 and pbzip2 packages, the bzip2
code bundled in busybox is a copy from the bzip2 1.0.4 version, not the
1.0.6 version.
As such, using bzip2-1.0.6 is wrong.
Unfortunately, there is no official SPDX license identifier for this
bzip2 1.0.4 version, so we just mimick the existing ones (bzip2-1.0.5
and bzip2-1.0.6) by using bzip2-1.0.4.
Also, there is a license file attached to that, so we add it to the
list.
(From OE-Core rev: 61959632cb1ba4f20e6ecf1077e4d95ac1df26c1)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Alexandre BELLONI <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6238ee3ecd385cbadd8e75eb8b22a96d9cb13639)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bzip2 license changes with each version; the changes are subtle, but
that makes it a different license everytime:
- copyright year
- authorship identification and address
- version of the release
- date of the release
Although we currently only have bzip2 and pbzip2 packages, we're going
to need this license for busybox, which uses code from bzip2-1.0.4.
Add it, as copied from the upstream bzip2 git tree at tag 'bzip2-1.0.4'
(commit f10a33538e9bab6deb61779b3d8aae168824ef48).
(From OE-Core rev: d395630a026c16f47541082c8e1279492cfd95be)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f303c31b813f371737c9a9d7a93e9f920f84e75a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if a task generates the same output with different timestamps,
hasequiv won't detect it but reproducibile builds will fail tests due
to the different timestamps.
Add do_package timestamps to the hash when reproducibile builds are enabled
to avoid this.
(From OE-Core rev: cda769ed7c120edd7db0ff77e34fa1aa611a3082)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 11e8200ccec765ff6a4263e06512e5751eca261a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* This reverts commit d9971f5dc8eb7de551fd6f5e058fd24770ef5d78.
* With the missing Subject line fixed in GitApplyTree.prepareCommit()
we should be able to revert, the fix which was trying to help it by
parsing GitApplyTree.patch_line_prefix ("%% original patch:") also
from Subject line, now GitApplyTree.patch_line_prefix should always
end on separate line which is then skipped when copying the lines to
resulting patch, see original commit message from Paul:
lib/oe/patch: fix handling of patches with no header
If a patch applied by a recipe has no header and we turn the recipe's
source into a git tree (when PATCHTOOL = "git" or when using devtool
extract / modify / upgrade), the commit message ends up consisting only
of the original filename marker ("%% original patch: filename.patch").
When we come to do turn the commits back into a set of patches in
extractPatches(), this first line ends up in the "Subject: " part of
the file, but we were ignoring it because the line didn't start with the
marker text. The end result was we weren't able to get the original
patch name. Strip off any "Subject [PATCH x/y]" part before looking for
the marker text to fix.
This caused "devtool modify openssl" followed by "devtool update-recipe
openssl" (without any changes in-between) to remove version-script.patch
because that patch has no header and we weren't able to determine the
original filename.
(From OE-Core rev: 419d45ad6a72c6e296e27f9ae36ddf2a45671bfe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* also remove the extra blank lines which is often added to patches
when refreshed with devtool (GitApplyTree.patch_line_prefix lines
are ignored when refreshing .patch files, but newly added blank
lines aren't - the leading blank line wasneeded for patches with
just the subject line (to prevent the GitApplyTree.patch_line_prefix
line ending appended to the commit summary), but we can add it
in prepareCommit instead
(From OE-Core rev: bbd467c393af5fa34a0b92d5461ff0bf427b3933)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this was discovered with
$ devtool finish --force-patch-refresh
where it was removing some patches and replacing them with
patch in filename called "patch:"
e.g. this .patch file:
311067d2d8/dynamic-layers/rust-layer/recipes-browser/firefox/firefox/fixes/fix-camera-permission-dialg-doesnot-close.patch
confuses devtool which results to create new .patch file called "patch:"
$ devtool finish --force-patch-refresh firefox meta-browser
NOTE: Starting bitbake server...
WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###################################################################################################################################################################################################################################| Time: 0:00:00
Loaded 2480 entries from dependency cache.
Parsing recipes: 100% |#################################################################################################################################################################################################################################| Time: 0:00:00
Parsing of 1718 .bb files complete (1717 cached, 1 parsed). 2480 targets, 68 skipped, 0 masked, 0 errors.
Summary: There was 1 WARNING message shown.
INFO: Updating patch 0001-Bug-1554949-Fix-WebRTC-build-failure-with-newer-linu.patch
...
INFO: Updating patch pre-generated-old-configure.patch
INFO: Adding new patch patch:
INFO: Updating recipe firefox_68.0esr.bb
INFO: Removing file /OE/build/test-oe-build-time/poky/meta-browser/dynamic-layers/rust-layer/recipes-browser/firefox/firefox/fixes/fix-camera-permission-dialg-doesnot-close.patch
INFO: Cleaning sysroot for recipe firefox...
INFO: Leaving source tree /OE/build/test-oe-build-time/poky/build/workspace/sources/firefox as-is; if you no longer need it then please delete it manually
this looked like incorrect parsing of the git format-patch
files exported from workspace/sources (the git format-patch
version of fix-camera-permission-dialg-doesnot-close.patch
starts like this:
$ head 0008-original-patch-fix-camera-permission-dialg-doesnot-c.patch
From 37dfa11961b48024bedcfb9336f49107c9535638 Mon Sep 17 00:00:00 2001
From: Takuro Ashie <ashie@clear-code.com>
Date: Mon, 20 Aug 2018 10:16:20 +0900
Subject: [PATCH 08/34] %% original patch:
fix-camera-permission-dialg-doesnot-close.patch
so first I've modified GitApplyTree.extractPatches() to be able to
parse the original patch name correctly even in this case where subject
is wrapped, but then it still wasn't right, because we ended with
correctly named .patch file, but all we could use for Subject line
was the name of the original .patch file (instead of the Subject
from metadata commit which introduced this .patch files as some other
.patch files get when refreshed with devtool.
In the end the issue happens even sooner in GitApplyTree.prepareCommit()
where it correctly found the Subject from metadata commit, but then
didn't apply it when there weren't any other outlines from patch headers.
(From OE-Core rev: f4349c395749c30e70587fc276913530e518836b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This backports the fix [1] for the following build error for nativesdk on
Fedora 33 which is caused by the removal of fractions.gcd() in favor of
math.gcd() in python 3.9 [2]:
ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py)
[1] 426ae35bee
[2] https://bugs.python.org/issue39350
(From OE-Core rev: 0f688c1419b1e2dfddff3c985f89a3f1949fc9fb)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of tzcode 2020b the timezone data is encoded using the 'slim' format
instead of the previous 'fat'. This exposes a number of bugs in GLib,
so backport the fixes to improve the parser.
[ YOCTO #14106 ]
(From OE-Core rev: 8a367cbbf092339a8c82c680a2565567b594b6c6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently gstreamer configuration depends libcap and on whether
setcap is found on the host system.
Removing libcap from DEPENDS and only use it when the 'setcap' is enabled.
* 0004-capfix.patch
Removed as the same goals can be achieved only with the PACKAGECONFIG 'setcap'
(From OE-Core rev: 62ecf9737c31f0128096a4c70417bca1778c73ed)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We previously put a sync call into devtool to try and combat the bitbake
timeout issues on the autobuilder. It isn't enough as the timeouts occur
mid test. They are also occurring on non-devtool tests.
Add in sync calls around command execution instead.
(From OE-Core rev: ed912771ea98c42f61bf927b1ca708650b0bed4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ceca5ed121e2b54415a7ab3a217882e4ea86923a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace OE private qemu patch with one that got upstreamed
and solves the same problem: increase qemumips CI performance
by increasing number of TLBs in CPU model and reduce need to
run software TLB refill code.
(From OE-Core rev: 89e6fc44a378cb3489376d7193672cdf94c504b6)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a99dace7463d310688f4098a51316dc0743651e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is occasionally reached on the AB; I am not sure if it is due to
host overload, or guest malfunction, but let's use the default 300 sec and
see if it helps.
[YOCTO #14097]
(From OE-Core rev: 4f77fe468f2ad225e2a89b5e3a4c84f0b93dab2a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 93a0352e2e8539d109f6d3ddc0ed02b3b9256e86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* seems to be broken for many years, does someone still use sh3/sh4?
scripts/tune/log.fake-sh3.sh3eb:
Parsing recipes...
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-devtools/vala/vala_0.48.9.bb: Unable to determine endianness for architecture 'sh3eb'
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-devtools/vala/vala_0.48.9.bb: Please add your architecture to siteinfo.bbclass
scripts/tune/log.fake-sh4.sh4aeb
scripts/tune/log.fake-sh4.sh4eb:
Parsing recipes...
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/vim/vim-tiny_8.2.bb: Unable to determine endianness for architecture 'sh4eb'
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/vim/vim-tiny_8.2.bb: Please add your architecture to siteinfo.bbclass
(From OE-Core rev: 197b405dd098f6b214837d224f40d33b018b7c16)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f26495884b8f567aecadc5936651846dfeed3f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
useless info "gcc: command not found" is printed when run
buildtools-extended on system without gcc.
(From OE-Core rev: 1bdaf40c02791fd2c22c19414f554a3c8d26e476)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 289a58ddbbd8bb3f5ae0d3421cfe8e75b60b0fbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* broken since introduction:
commit 5263b2ebc57fe289d64c74bfb10da39ed7c98828
Author: Alistair Francis <alistair.francis@wdc.com>
Date: Thu Dec 19 13:24:10 2019 -0800
tune-riscv: Add support for no float
* fixes:
scripts/tune/log.fake-riscv.riscv32nf: Error, the PACKAGE_ARCHS variable (all any noarch riscv32nf fake_riscv) for DEFAULTTUNE (riscv32nf) does not contain TUNE_PKGARCH (riscv32).
scripts/tune/log.fake-riscv.riscv64nf: Error, the PACKAGE_ARCHS variable (all any noarch riscv64nf fake_riscv) for DEFAULTTUNE (riscv64nf) does not contain TUNE_PKGARCH (riscv64).
(From OE-Core rev: 8d2702b7fe51474764c7392ef6386b8d199b88a6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 58088dce12775e325df8428b750e19616d264464)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* broken since:
commit 805dd4807d322dc70cef97edd68fdb3142b60fb1
Author: Andre McCurdy <armccurdy@gmail.com>
Date: Fri Aug 23 13:51:36 2019 -0700
feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX
* since this commit the 't' suffix is set ARM_THUMB_SUFFIX by
armv4 override (which does apply for ep9312 tune) instead of
armv4 in TUNE_FEATURES - so the comment in the file was no
longer correct and ep9312 wasn't usable
* fixes:
scripts/tune/log.fake-ep9312: Error, the PACKAGE_ARCHS variable (all any noarch arm armv4 armv4t ep9312 fake_ep9312) for DEFAULTTUNE (ep9312) does not contain TUNE_PKGARCH (ep9312t).
(From OE-Core rev: 6243df4e8daf78c7b5004f9e123894a2d4027392)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f23c7f23c64cbd70d38a01dfda3a4d0809b33bdd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* broken since:
commit ae5073c4abd8935c01d14d3e6395124f815bd10b
Author: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Date: Fri Sep 23 15:28:08 2016 +0100
arch-mips: Add mips64-o32 tunes
* fixes:
scripts/tune/log.fake-mips-24k.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips32.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips32r2.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips32r6.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips64.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips64r2.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips64r6.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips-74k.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-octeon.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
(From OE-Core rev: c1bc580dc4b4d0743c3939e3415e3c40d623b799)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8f07d1249a9a86307c1121edd4df3b64162c61b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* broken since:
commit 594f8584268d5179c18512beada2bae4a21325de
Author: Phil Edworthy <phil.edworthy@renesas.com>
Date: Wed Nov 28 10:09:57 2018 +0000
arch-armv7*.inc: Add Cortex vfpv4-d16 support
Some ARM Cortex devices have the VFPv4-D16, but no NEON.
* fixes:
scripts/tune/log.fake-cortexa15.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa15) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa17.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa17) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa32.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa32) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa34.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa34) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa35.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa53.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa55.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa57.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa57) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa57-cortexa53.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa57_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa5.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa5) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa65ae.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa65.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa72.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa72) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa72-cortexa53.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa72_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa73.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa73-cortexa35.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa73-cortexa53.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa75.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa75-cortexa55.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa76ae.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa76.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa76-cortexa55.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa77.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa77) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa7.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa7) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa8.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa8) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa9.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa9) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-neoversee1.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversee1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-neoversen1.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversen1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-thunderx.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_thunderx) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
(From OE-Core rev: 96efcd0d1271d4f412bf7e59d048e84c0df9d46d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c01e2b1c68bad89c5c9bba5b731fd5da4435e5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The example recipe is setup to print a message using bb.plain() in the
"do_build" task but this task is "noexec" so the message never prints.
This might be confusing.
This moves the message printing into another "do_display_banner" task
and add it to the do_build "before" list.
(From OE-Core rev: 2387f968b8dd90de9f0907ee571ec6207ffa9a19)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 252385bef9b226f32691b8513869ea3e41813b40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If --branch and --branch2 are the same, there is extra confusing data plotted
onto the graph. Only do that if the branches are actually different.
(From OE-Core rev: e2240d0a93a9a2932506a356315ad6702ecee9b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c263d810b7eb47ee90f2adeb5ab6decf7332bec2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If buildstats is missing, avoid a backtrace.
(From OE-Core rev: a518443e6799d56b899536d853282182eff4822a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23c4b21f947c7aae1303ca6526fc5aaaa9fc7bb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a9518c1aec5b Linux 5.4.69
9fb8e10b0519 ata: sata_mv, avoid trigerrable BUG_ON
e11c83520cd0 ata: make qc_prep return ata_completion_errors
b6e503c0a0ff ata: define AC_ERR_OK
b4a9fdf062e8 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
3d9f39d274ea dm: fix bio splitting and its bio completion order for regular IO
c9bfb7b4d944 KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
5dcb66f970a8 s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl
4f5260ee0ce3 mm/gup: fix gup_fast with dynamic page table folding
20a5e4272b65 mm, THP, swap: fix allocating cluster for swapfile by mistake
198d9f7e905c dmabuf: fix NULL pointer dereference in dma_buf_release()
aded5dee7fb2 btrfs: fix overflow when copying corrupt csums for a message
c4ab0a837093 kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot
3995f7a60fec kprobes: Fix to check probe enabled before disarm_kprobe_ftrace()
31efa3b5b592 s390/dasd: Fix zero write for FBA devices
e92c490f1049 tracing: fix double free
f05f667f8764 lib/string.c: implement stpcpy
26a6452b27ec ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520
2a2ae4831ff7 ALSA: hda/realtek - Couldn't detect Mic if booting with headset plugged
86f6af05ffa0 ALSA: usb-audio: Add delay quirk for H570e USB headsets
4cb7f229823c scsi: lpfc: Fix initial FLOGI failure due to BBSCN not supported
6890a6f5665f x86/ioapic: Unbreak check_timer()
361a4b17e88d arch/x86/lib/usercopy_64.c: fix __copy_user_flushcache() cache writeback
fe932d4c9ea2 mm: validate pmd after splitting
5d4431c9de06 KVM: SVM: Add a dedicated INVD intercept routine
16788dc19fa1 KVM: x86: Reset MMU context if guest toggles CR4.SMAP or CR4.PKE
87f7a4910e57 regulator: axp20x: fix LDO2/4 description
5c58104841fe MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()
283a3234550c regmap: fix page selection for noinc writes
47fef0ebc150 regmap: fix page selection for noinc reads
a8cebb4a5931 ALSA: asihpi: fix iounmap in error handler
83b9a250d774 lib80211: fix unmet direct dependendices config warning when !CRYPTO
43cdb648e1da bpf: Fix a rcu warning for bpffs map pretty-print
d9fadccbf25e batman-adv: mcast: fix duplicate mcast packets from BLA backbone to mesh
5d8774492819 batman-adv: mcast: fix duplicate mcast packets in BLA backbone from mesh
24e5e941d804 batman-adv: mcast: fix duplicate mcast packets in BLA backbone from LAN
b0632590cbec nvme-tcp: fix kconfig dependency warning when !CRYPTO
8c6ba1878a92 batman-adv: Add missing include for in_interrupt()
248c25e7725a drm/sun4i: sun8i-csc: Secondary CSC register correction
12bea822dbe6 net: qed: RDMA personality shouldn't fail VF load
7e74a6d6f99c net: qede: Disable aRFS for NPAR and 100G
82dfe9c32dea net: qed: Disable aRFS for NPAR and 100G
f301585195a0 drm/vc4/vc4_hdmi: fill ASoC card owner
5e77009e33a1 bpf: Fix clobbering of r2 in bpf_gen_ld_abs
2e1a95f450d8 mac802154: tx: fix use-after-free
eb5f810e06da netfilter: conntrack: nf_conncount_init is failing with IPv6 disabled
b6112ff05f5f batman-adv: mcast/TT: fix wrongly dropped or rerouted packets
5b0a13a03b8b atm: eni: fix the missed pci_disable_device() for eni_init_one()
e0117ad11b3e batman-adv: bla: fix type misuse for backbone_gw hash indexing
a63798d53489 mwifiex: Increase AES key storage size to 256 bits
f43500892470 clocksource/drivers/h8300_timer8: Fix wrong return value in h8300_8timer_init()
f77f4586bdd7 ieee802154/adf7242: check status of adf7242_read_reg
22936fa7a295 ieee802154: fix one possible memleak in ca8210_dev_com_init
d85044145fdd objtool: Fix noreturn detection for ignored functions
a53d9b3ae9c8 i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()
65f452b7a2c1 drm/amdgpu/dc: Require primary plane to be enabled whenever the CRTC is
8c48b7617b7c drm/amd/display: update nv1x stutter latencies
c48363d19fcb drm/amdkfd: fix a memory leak issue
b11f2d6b80f4 EDAC/ghes: Check whether the driver is on the safe list correctly
c7be1f4d4e60 lockdep: fix order in trace_hardirqs_off_caller()
43d750a0994c s390/init: add missing __init annotations
fdd60315b931 i2c: aspeed: Mask IRQ status to relevant bits
66d987b80dc3 RISC-V: Take text_mutex in ftrace_init_nop()
487e3a1bc9ab ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN Converter9 2-in-1
4a07fbecfa55 ASoC: wm8994: Ensure the device is resumed in wm89xx_mic_detect functions
7cdb35fc858f ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811
927a024487dc ASoC: pcm3168a: ignore 0 Hz settings
8ebf2b77d7e5 device_cgroup: Fix RCU list debugging warning
5b84cd71c1da nvme: explicitly update mpath disk capacity on revalidation
765f47c425aa net: openvswitch: use div_u64() for 64-by-32 divisions
caa44b67f4d3 ALSA: hda: Workaround for spurious wakeups on some Intel platforms
862dd508c6f2 ALSA: hda: Always use jackpoll helper for jack update after resume
1f160738d9a8 perf parse-events: Use strcmp() to compare the PMU name
4d8d6f71b60f opp: Increase parsed_static_opps in _of_add_opp_table_v1()
87e6e1957cf0 mt76: fix LED link time failure
ca1704f177dc ubi: fastmap: Free unused fastmap anchor peb during detach
74924e407bf7 scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure
e1ad5cf63e40 perf tests: Fix test 68 zstd compression for s390
85c417050fc7 btrfs: qgroup: fix data leak caused by race between writeback and truncate
af60d80598b3 vfio/pci: fix racy on error and request eventfd ctx
eb7833e0ee01 selftests/x86/syscall_nt: Clear weird flags after each test
7292e6e9d82c scsi: libfc: Skip additional kref updating work event
1e15d5237c1e scsi: libfc: Handling of extra kref
2ad1397c8815 mac80211: skip mpath lookup also for control port tx
8bfd43a5180f nvme: fix possible deadlock when I/O is blocked
8b85da354c74 cifs: Fix double add page to memcg when cifs_readpages
3bb9b0ad76e5 vfio/pci: Clear error and request eventfd ctx after releasing
781a4bf652b8 NFS: nfs_xdr_status should record the procedure name
bc65336acddc x86/speculation/mds: Mark mds_user_clear_cpu_buffers() __always_inline
c63613b93479 mtd: parser: cmdline: Support MTD names containing one or more colons
f7b07311ff0f rapidio: avoid data race between file operation callbacks and mport_cdev_add().
92514a7bb941 mm: memcontrol: fix stat-corrupting race in charge moving
a9e87c5beeb9 mm/swap_state: fix a data race in swapin_nr_pages
3e4ca8bf5809 ceph: fix potential race in ceph_check_caps
dac34dd4efc6 PCI: tegra: Fix runtime PM imbalance on error
5cddba546a00 mtd: rawnand: omap_elm: Fix runtime PM imbalance on error
63f600d87b05 mtd: rawnand: gpmi: Fix runtime PM imbalance on error
ec705f9ffbba wlcore: fix runtime pm imbalance in wlcore_regdomain_config
a0f8499fba8d wlcore: fix runtime pm imbalance in wl1271_tx_work
7555bb003417 ASoC: img-i2s-out: Fix runtime PM imbalance on error
13e1951aa3b8 PCI: tegra194: Fix runtime PM imbalance on error
7415f52e2e95 perf kcore_copy: Fix module map when there are no modules loaded
ff793fe02ca8 perf metricgroup: Free metric_events on error
2076ee4ae512 perf util: Fix memory leak of prefix_if_not_in
b10dd4b3c104 perf stat: Fix duration_time value for higher intervals
eddcc70de8da perf trace: Fix the selection for architectures to generate the errno name tables
feaaa88ffce7 perf evsel: Fix 2 memory leaks
ad9940e377fd KVM: PPC: Book3S HV: Close race with page faults around memslot flushes
f9c47a0cc513 vfio/pci: fix memory leaks of eventfd ctx
bb6e9827da75 gpio: rcar: Fix runtime PM imbalance on error
1aa9de56d762 btrfs: fix double __endio_write_update_ordered in direct I/O
b3b21823d68e btrfs: don't force read-only after error in drop snapshot
859748f8cd8c usb: dwc3: Increase timeout for CmdAct cleared by device controller
5c7f727e8ad6 printk: handle blank console arguments passed in.
482466b67d87 drm/nouveau/dispnv50: fix runtime pm imbalance on error
bd39447bad06 drm/nouveau: fix runtime pm imbalance on error
f6331bfcccc8 drm/nouveau/debugfs: fix runtime pm imbalance on error
2477158bfd3e e1000: Do not perform reset in reset_task if we are already down
62962e08b9c3 drm/amdkfd: fix restore worker race condition
180e60f154a3 arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register
196d14cea6a3 scsi: cxlflash: Fix error return code in cxlflash_probe()
af02933d59bd arm64: acpi: Make apei_claim_sea() synchronise with APEI's irq work
502bd98a8e27 coresight: etm4x: Fix use-after-free of per-cpu etm drvdata
c3fa2949c272 USB: EHCI: ehci-mv: fix less than zero comparison of an unsigned int
89e6cf1c0ab5 fuse: update attr_version counter on fuse_notify_inval_inode()
e431e923c8a6 fuse: don't check refcount after stealing page
55c3e7fac92e svcrdma: Fix backchannel return code
7c972122cab5 powerpc/traps: Make unrecoverable NMIs die instead of panic
004cb15b1e4c ipmi:bt-bmc: Fix error handling and status check
09197d39cab3 drm/exynos: dsi: Remove bridge node reference in error handling path in probe function
7ce7dd0a6f1d ALSA: hda: Fix potential race in unsol event handler
942a6ff2146a tty: serial: samsung: Correct clock selection logic
202ae05859ea tipc: fix memory leak in service subscripting
97cf50cc4e5c KVM: x86: handle wrap around 32-bit address space
c7a403d16fd7 USB: EHCI: ehci-mv: fix error handling in mv_ehci_probe()
3515b56cc0b7 Bluetooth: Handle Inquiry Cancel error after Inquiry Complete
b5a49bb741e9 phy: samsung: s5pv210-usb2: Add delay after reset
e3d47125a42c power: supply: max17040: Correct voltage reading
44a3faa00887 i2c: tegra: Restore pinmux on system resume
00519f4da8da mm/slub: fix incorrect interpretation of s->offset
0eb69a66083e perf mem2node: Avoid double free related to realloc
bd60439f4950 media: venus: vdec: Init registered list unconditionally
fa7c336dd1c8 atm: fix a memory leak of vcc->user_back
9325e9e5abf6 devlink: Fix reporter's recovery condition
4ac87b6af491 dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion
8ff65ea6c77c dpaa2-eth: fix error return code in setup_dpni()
527378a0dfd7 sched/fair: Eliminate bandwidth race between throttling and distribution
8e32fed034ed arm64: cpufeature: Relax checks for AArch32 support at EL[0-2]
294e26f89163 sparc64: vcc: Fix error return code in vcc_probe()
f1723949cf81 staging:r8188eu: avoid skb_clone for amsdu to msdu conversion
b6cee18cba12 scsi: aacraid: Fix error handling paths in aac_probe_one()
cd6f892ba542 net: openvswitch: use u64 for meter bucket
545c261f22b4 KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi()
beb8e0254197 KVM: arm64: vgic-v3: Retire all pending LPIs on vcpu destroy
4998dc5ff868 drivers: char: tlclk.c: Avoid data race between init and interrupt handler
a48b609c8dfd bdev: Reduce time holding bd_mutex in sync in blkdev_close()
c8317e9fc412 perf stat: Force error in fallback on :k events
4f4e29789525 KVM: Remove CREATE_IRQCHIP/SET_PIT2 race
e4e024e89cca btrfs: fix setting last_trans for reloc roots
26d261f32f43 serial: uartps: Wait for tx_empty in console setup
ab1d9bad6097 scsi: qedi: Fix termination timeouts in session logout
61192ac4a1f2 ALSA: hda: Skip controller resume if not needed
51396da04425 mm/mmap.c: initialize align_offset explicitly for vm_unmapped_area
cb1dfad688ef drm/amdgpu/sriov add amdgpu_amdkfd_pre_reset in gpu reset
644148cd1537 workqueue: Remove the warning in wq_worker_sleeping()
74c28abcb301 nvmet-rdma: fix double free of rdma queue
5e3c0dae5f96 SUNRPC: Don't start a timer on an already queued rpc task
19b9ff11464e mm/vmscan.c: fix data races using kswapd_classzone_idx
b569d92b1d03 mm/swapfile: fix data races in try_to_unuse()
6eed4b3392c6 mm/filemap.c: clear page error before actual read
336df1dcf92d mm/kmemleak.c: use address-of operator on section symbols
685a1e317a64 powerpc/perf: Implement a global lock to avoid races between trace, core and thread imc events.
7cafcc37c57e drm/amdgpu/vcn2.0: stall DPG when WPTR/RPTR reset
24c56b6fe0ba NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests()
4667358dab9c PCI: pciehp: Fix MSI interrupt race
ca767cf0152d ALSA: usb-audio: Fix case when USB MIDI interface has more than one extra endpoint descriptor
af574e78e7e4 ubifs: Fix out-of-bounds memory access caused by abnormal value of node_len
49bc26b7653f ubifs: ubifs_add_orphan: Fix a memory leak bug
17bc3bff02a7 ubifs: ubifs_jnl_write_inode: Fix a memory leak bug
535943c46dfc PCI: Use ioremap(), not phys_to_virt() for platform ROM
aa325ff72c80 netfilter: nf_tables: silence a RCU-list warning in nft_table_lookup()
cf2d7883e84c svcrdma: Fix leak of transport addresses
5f8174bfb9ff SUNRPC: Fix a potential buffer overflow in 'svc_print_xprts()'
4f7b6eef7921 scsi: hpsa: correct race condition in offload enabled
6e3b662d86a5 IB/iser: Always check sig MR before putting it to the free pool
d5e7198bcf7e RDMA/rxe: Set sys_image_guid to be aligned with HW IB devices
f812e43e727f xfs: prohibit fs freezing when using empty transactions
1ed8ad923787 brcmfmac: Fix double freeing in the fmac usb data path
9aca5e655a29 nvme: Fix controller creation races with teardown flow
509730002abc nvme: Fix ctrl use-after-free during sysfs deletion
eef1e9e876e9 nvme-multipath: do not reset on unknown status
a48cf1c921a7 perf: Use new infrastructure to fix deadlocks in execve
ba7eb0e48e76 proc: io_accounting: Use new infrastructure to fix deadlocks in execve
4301db49e556 proc: Use new infrastructure to fix deadlocks in execve
0cd97836869e kernel/kcmp.c: Use new infrastructure to fix deadlocks in execve
2f7a0de4e5da selftests/ptrace: add test cases for dead-locks
d8d15a4c445a exec: Fix a deadlock in strace
b796d94921ce exec: Add exec_update_mutex to replace cred_guard_mutex
32d9453c208c tools: gpio-hammer: Avoid potential overflow in main
3b63e4b7045b cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_work_fn
1ad72297146d net: axienet: Propagate failure of DMA descriptor setup
468f2bc2bb5b net: axienet: Convert DMA error handler to a work queue
79f60d5bd0dd perf cpumap: Fix snprintf overflow check
47e276e1c40e serial: 8250: 8250_omap: Terminate DMA before pushing data on RX timeout
09a2cf677105 serial: 8250_omap: Fix sleeping function called from invalid context during probe
93ec0b575aca serial: 8250_port: Don't service RX FIFO if throttled
0557e5f8d69c r8169: improve RTL8168b FIFO overflow workaround
5dc170aee1d1 btrfs: free the reloc_control in a consistent way
c88596d593ab btrfs: do not init a reloc root if we aren't relocating
98c921e6be06 perf parse-events: Fix 3 use after frees found with clang ASAN
048892dfab4d KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context
157ff88660c8 thermal: rcar_thermal: Handle probe error gracefully
e978d00a3d16 tracing: Use address-of operator on section symbols
cb9841c5119c drm/msm/a5xx: Always set an OPP supported hardware value
8db4810dd5cc drm/msm: fix leaks if initialization fails
5d09e3edf5d9 KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones
63b7647dd0e1 intel_th: Disallow multi mode on devices where it's broken
c3e39fa0aa10 RDMA/cm: Remove a race freeing timewait_info
0300cda5009a nfsd: Don't add locks to closed or closing open stateids
cdb785710edd rtc: ds1374: fix possible race condition
45c1212d91f7 rtc: sa1100: fix possible race condition
22de4a5d5791 tpm: ibmvtpm: Wait for buffer to be set before proceeding
be4ff3a49c5d ext4: mark block bitmap corrupted when found instead of BUGON
152875a0f094 xfs: mark dir corrupt when lookup-by-hash fails
cb72c9f84219 xfs: don't ever return a stale pointer from __xfs_dir3_free_read
b1f5989a23c1 tty: sifive: Finish transmission before changing the clock
abbe59ca91f3 media: tda10071: fix unsigned sign extension overflow
b432ea85ab84 Bluetooth: L2CAP: handle l2cap config request during open state
ae3dffdbe42b scsi: aacraid: Disabling TM path and only processing IOP reset
62602774e5aa ath10k: use kzalloc to read for ath10k_sdio_hif_diag_read
f6acb4ae6b6c perf cs-etm: Correct synthesizing instruction samples
f7ba2eeb0c6f perf cs-etm: Swap packets for instruction samples
fc1d08a2023d s390/irq: replace setup_irq() by request_irq()
37b972bf8070 cpu-topology: Fix the potential data corruption
2d4e6ce22c58 clk: imx: Fix division by zero warning on pfdv2
6fc325a4d35d drm/amd/display: Stop if retimer is not available
10a144b77f64 ARM: OMAP2+: Handle errors for cpu_pm
d1a749c01d03 drm/amdgpu: increase atombios cmd timeout
3a220956aaaf mm: avoid data corruption on CoW fault into PFN-mapped VMA
2da77d2d0d89 perf jevents: Fix leak of mapfile memory
26005b604cef ext4: fix a data race at inode->i_disksize
d0c298030382 drm/amd/display: fix image corruption with ODM 2:1 DSC 2 slice
f2118308295d powerpc/book3s64: Fix error handling in mm_iommu_do_alloc()
efc95f2ef743 timekeeping: Prevent 32bit truncation in scale64_check_overflow()
202e2ff9de40 Bluetooth: guard against controllers sending zero'd events
a94159403430 media: go7007: Fix URB type for interrupt handling
657e50f8cdbf ASoC: SOF: ipc: check ipc return value before data copy
29c25e69492b bus: hisi_lpc: Fixup IO ports addresses to avoid use-after-free in host removal
3193035ec136 random: fix data races at timer_rand_state
1edfaecc30a9 firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp
21e2f6bf0863 iavf: use tc_cls_can_offload_and_chain0() instead of chain check
0d5984ba936b drm/omap: dss: Cleanup DSS ports on initialisation failure
b4bca7b2a6e2 drm/amd/display: dal_ddc_i2c_payloads_create can fail causing panic
3e6f9c20bd32 soundwire: bus: disable pm_runtime in sdw_slave_delete
c4b62a7e52ee dmaengine: tegra-apb: Prevent race conditions on channel's freeing
cdf63c29af1e dmaengine: stm32-dma: use vchan_terminate_vdesc() in .terminate_all
f60007c9e914 bpf: Remove recursion prevention from rcu free callback
e8b95c29cdef x86/pkeys: Add check for pkey "overflow"
321c5b279313 media: staging/imx: Missing assignment in imx_media_capture_device_register()
5132f9f3d3e2 dmaengine: stm32-mdma: use vchan_terminate_vdesc() in .terminate_all
484de771d637 KVM: nVMX: Hold KVM's srcu lock when syncing vmcs12->shadow
d1da39644709 KVM: x86: fix incorrect comparison in trace event
a4d17715a852 RDMA/rxe: Fix configuration of atomic queue pair attributes
45901923749f perf test: Fix test trace+probe_vfs_getname.sh on s390
e2d439c2000d ALSA: usb-audio: Don't create a mixer element with bogus volume range
78344a4dc43e mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw
9b42bfb06d37 mt76: clear skb pointers from rx aggregation reorder buffer during cleanup
1841613e97e7 crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test
671e6c9c6b7b clk: stratix10: use do_div() for 64-bit calculation
ef6eb8121321 locking/lockdep: Decrement IRQ context counters when removing lock chain
8e88cdd3223a drm/omap: fix possible object reference leak
41b71eff2777 scsi: lpfc: Fix coverity errors in fmdi attribute handling
e0ddd176a302 scsi: lpfc: Fix release of hwq to clear the eq relationship
4935732e8821 scsi: lpfc: Fix RQ buffer leakage when no IOCBs available
f72a51eab2de selinux: sel_avc_get_stat_idx should increase position index
d96fcfd58c21 audit: CONFIG_CHANGE don't log internal bookkeeping as an event
26eae6def780 drm/amd/display: fix workaround for incorrect double buffer register for DLG ADL and TTU
1f483c3ef050 nfsd: Fix a perf warning
980040c7ae69 skbuff: fix a data race in skb_queue_len()
2b22cead0478 ALSA: hda: Clear RIRB status before reading WP
a13d21ed8526 KVM: fix overflow of zero page refcount with ksm running
54d9839877f2 Bluetooth: prefetch channel before killing sock
4c67f0b1eabb mm: pagewalk: fix termination condition in walk_pte_range()
dac81f1ddce5 mm/swapfile.c: swap_next should increase position index
8f54d39da5f4 Bluetooth: Fix refcount use-after-free issue
60d539ff1cd8 tools/power/x86/intel_pstate_tracer: changes for python 3 compatibility
f15dd13158ad selftests/ftrace: fix glob selftest
379deeac55da ceph: ensure we have a new cap before continuing in fill_inode
5a5fa8876291 ar5523: Add USB ID of SMCWUSBT-G2 wireless adapter
47634c0fc94c ARM: 8948/1: Prevent OOB access in stacktrace
5093d01f0809 tracing: Set kernel_stack's caller size properly
0c81861ae903 Bluetooth: btrtl: Use kvmalloc for FW allocations
821bf0bf652c powerpc/eeh: Only dump stack once if an MMIO loop is detected
fed639f7e1d5 nfsd: Fix a soft lockup race in nfsd_file_mark_find_or_create()
4f726a2afb99 s390/cpum_sf: Use kzalloc and minor changes
26966e89ca14 dmaengine: zynqmp_dma: fix burst length configuration
d64f6dfdf4ab btrfs: tree-checker: Check leaf chunk item size
2bbe85d911fe i2c: tegra: Prevent interrupt triggering after transfer timeout
1e4a6a0e03bc drm/amd/display: Initialize DSC PPS variables to 0
65f2f192526f scsi: ufs: Fix a race condition in the tracing code
1ac994f80be2 scsi: ufs: Make ufshcd_add_command_trace() easier to read
3d05b3072232 ACPI: EC: Reference count query handlers under lock
95ceefc6f0ce sctp: move trace_sctp_probe_path into sctp_outq_sack
a9e53499f4de scsi: lpfc: Fix incomplete NVME discovery when target
64d2887486d1 scsi: qla2xxx: Fix stuck session in GNL
9f7d28075ae4 opp: Replace list_kref with a local counter
8c324ef0b466 media: ti-vpe: cal: Restrict DMA to avoid memory corruption
4a4c78cf0cf7 drm/scheduler: Avoid accessing freed bad job.
06a90303633f seqlock: Require WRITE_ONCE surrounding raw_seqcount_barrier
a9d4bca63493 drm/mcde: Handle pending vblank while disabling display
c89925822f82 ipv6_route_seq_next should increase position index
046e79cca228 rt_cpu_seq_next should increase position index
2ba309f086b8 neigh_stat_seq_next() should increase position index
f508c5d99343 vcc_seq_next should increase position index
8c926e159afa tipc: fix link overflow issue at socket shutdown
f99f4372f544 ALSA: hda: enable regmap internal locking
b56212ddca0f xfs: fix log reservation overflows when allocating large rt extents
16d40ce11521 module: Remove accidental change of module_enable_x()
566b1bb7d393 KVM: arm/arm64: vgic: Fix potential double free dist->spis in __kvm_vgic_destroy()
c306458a2bd0 kernel/sys.c: avoid copying possible padding bytes in copy_to_user
e95e4ba3efd8 kernel/notifier.c: intercept duplicate registrations to avoid infinite loops
425582bd448c selftests/bpf: De-flake test_tcpbpf
3283bd6d19cd arm64: insn: consistently handle exit text
c8662aa75a42 drm/amdgpu: fix calltrace during kmd unload(v3)
6a74132beed2 xfs: fix realtime file data space leak
a04223019c22 s390: avoid misusing CALL_ON_STACK for task stack setup
a1a6f8a14cb0 xtensa: fix system_call interaction with ptrace
f9f47ef869eb ASoC: max98090: remove msleep in PLL unlocked workaround
273589e82cb1 f2fs: stop GC when the victim becomes fully valid
84b15c4e1550 CIFS: Properly process SMB3 lease breaks
2005c32ec99e CIFS: Use common error handling code in smb2_ioctl_query_info()
3ce5297c0b40 SUNRPC: Capture completion of all RPC tasks
80f766742244 debugfs: Fix !DEBUG_FS debugfs_create_automount
14bbbfbafef1 mt76: add missing locking around ampdu action
5eee23bc19a8 mt76: do not use devm API for led classdev
773dc2922719 scsi: pm80xx: Cleanup command when a reset times out
714dbaf2f814 gfs2: clean up iopen glock mess in gfs2_create_inode
a21260928bd3 mmc: core: Fix size overflow for mmc partitions
cbd2ee90d3c1 ubi: Fix producing anchor PEBs
40afadc05771 RDMA/iw_cgxb4: Fix an error handling path in 'c4iw_connect()'
be45bce4ad8e xfs: fix attr leaf header freemap.size underflow
424388f0c534 fix dget_parent() fastpath race
797f6c19abce PCI: Avoid double hpmemsize MMIO window assignment
3161ea673382 RDMA/i40iw: Fix potential use after free
f3ebf81ee634 RDMA/qedr: Fix potential use after free
04f4f09502f1 x86/kdump: Always reserve the low 1M when the crashkernel option is specified
21c82e8d4201 dmaengine: mediatek: hsdma_probe: fixed a memory leak when devm_request_irq fails
fd3572bd5bc1 bcache: fix a lost wake-up problem caused by mca_cannibalize_lock
9f81aa5d4493 tracing: Adding NULL checks for trace_array descriptor pointer
8e0d54aa4005 tracing: Verify if trace array exists before destroying it.
6405d5c5c5b8 tpm_crb: fix fTPM on AMD Zen+ CPUs
b3a1fb675eb8 drm/amdgpu/powerplay/smu7: fix AVFS handling with custom powerplay table
022a2a0728cb mfd: mfd-core: Protect against NULL call-back function pointer
deb34c91ebd4 mtd: cfi_cmdset_0002: don't free cfi->cfiq in error path of cfi_amdstd_setup()
bcd4bbf99535 ice: Fix to change Rx/Tx ring descriptor size via ethtool with DCBx
3642887a4031 drm/amdgpu/powerplay: fix AVFS handling with custom powerplay table
c5505813d01f clk/ti/adpll: allocate room for terminating null
5eb67d3843ed f2fs: avoid kernel panic on corruption test
5657f17bcd9c iomap: Fix overflow in iomap_page_mkwrite
4c7d4dd210a1 dax: Fix alloc_dax_region() compile warning
6670a2a397d4 net: silence data-races on sk_backlog.tail
75a1c456944f powerpc/64s: Always disable branch profiling for prom_init.o
f5abdca0c2ef scsi: lpfc: Fix kernel crash at lpfc_nvme_info_show during remote port bounce
1a4c4df21728 scsi: fnic: fix use after free
4241376371ad PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out
d550b07e1a3f dm table: do not allow request-based DM to stack on partitions
e645b649c418 leds: mlxreg: Fix possible buffer overflow
36f11775da75 xfs: properly serialise fallocate against AIO+DIO
50afba5c129c drm/amd/display: Free gamma after calculating legacy transfer function
252e8b514a98 media: smiapp: Fix error handling at NVM reading
e0731a6503b0 soundwire: intel/cadence: fix startup sequence
d9adb4deef16 ASoC: kirkwood: fix IRQ error handling
8b4e9c1bb05a gma/gma500: fix a memory disclosure bug due to uninitialized bytes
8c355ed61996 xfs: fix inode fork extent count overflow
ff099d7c845d m68k: q40: Fix info-leak in rtc_ioctl
bbe4f5e44a75 scsi: aacraid: fix illegal IO beyond last LBA
2c25b9511178 mm: fix double page fault on arm64 if PTE_AF is cleared
bdb830d101e7 PCI/IOV: Serialize sysfs sriov_numvfs reads vs writes
a34a9a4c31e2 ath10k: fix memory leak for tpc_stats_final
b8ef4aaf6e32 ath10k: fix array out-of-bounds access
abc15be19f4c scsi: qla2xxx: Add error handling for PLOGI ELS passthrough
ac559369050f dma-fence: Serialise signal enabling (dma_fence_enable_sw_signaling)
3e7bf6336084 drm/amdkfd: Fix race in gfx10 context restore handler
c08ecda2cf31 drm/amd/display: Do not double-buffer DTO adjustments
1333ce263ad9 media: mc-device.c: fix memleak in media_device_register_entity
b7316f505fe5 selinux: allow labeling before policy is loaded
e14f1f8f1bfe scsi: mpt3sas: Free diag buffer without any status check
6b8fbd9b2db0 scsi: lpfc: Fix pt2pt discovery on SLI3 HBAs
03c4d42e3c14 kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()
(From OE-Core rev: 656d2070f8448681cb69a3d43dbae84a681c1a75)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9c04e164cc0f64fcb3df6cc893608668e66f93d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5d087e3578cf Linux 5.4.68
071f42defada iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE
a5bc1c7a9a6d mm: memcg: fix memcg reclaim soft lockup
7f23aa7cabdd net: add __must_check to skb_put_padto()
0d5a7af160bd net: qrtr: check skb_put_padto() return value
e78590497f96 net: phy: Do not warn in phy_stop() on PHY_DOWN
94f2dc7ad055 net: phy: Avoid NPD upon phy_detach() when driver is unbound
8b6279822080 net: lantiq: Disable IRQs only if NAPI gets scheduled
4c304ed93ad3 net: lantiq: Use napi_complete_done()
9efed2a32a86 net: lantiq: use netif_tx_napi_add() for TX NAPI
19dd093aa5b4 net: lantiq: Wake TX queue again
743fead4d958 bnxt_en: Protect bnxt_set_eee() and bnxt_set_pauseparam() with mutex.
e238cb110123 bnxt_en: return proper error codes in bnxt_show_temp
1ee92ea9a1fb net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported
5b609d8e5beb net/mlx5e: Enable adding peer miss rules only if merged eswitch is supported
825fc3167cf5 tipc: use skb_unshare() instead in tipc_buf_append()
5efc178ebd12 tipc: fix shutdown() of connection oriented socket
586b14ec481c tipc: Fix memory leak in tipc_group_create_member()
83bd58952b2b taprio: Fix allowing too small intervals
f705d35a0e93 nfp: use correct define to return NONE fec
875f6478655b net: sctp: Fix IPv6 ancestor_size calc in sctp_copy_descendant
884414196692 net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc
891828a79bbc net/mlx5: Fix FTE cleanup
242e12aecdd3 net: ipv6: fix kconfig dependency warning for IPV6_SEG6_HMAC
d3c2188ee6e6 net: Fix bridge enslavement failure
acd04a157b33 net: dsa: rtl8366: Properly clear member config
9139f13e01a3 net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
450c0c00a5b0 net: bridge: br_vlan_get_pvid_rcu() should dereference the VLAN group under RCU
d0b05f019f84 ipv6: avoid lockdep issue in fib6_del()
860e2cc78c69 ipv4: Update exception handling for multipath routes via same device
583ff79349f9 ipv4: Initialize flowi4_multipath_hash in data path
f28bc7ea6978 ip: fix tos reflection in ack and reset packets
c3de9daa6626 hdlc_ppp: add range checks in ppp_cp_parse_cr()
745c24fd1d79 geneve: add transport ports in route lookup for geneve
79cd5858ac05 cxgb4: Fix offset when clearing filter byte counters
2583159735e4 cxgb4: fix memory leak during module unload
6743a9b020fd bnxt_en: Fix NULL ptr dereference crash in bnxt_fw_reset_task()
c7275d7a11ab bnxt_en: Avoid sending firmware messages when AER error is detected.
61fd38db76ad act_ife: load meta modules before tcf_idr_check_alloc()
263445256cd8 mm/thp: fix __split_huge_pmd_locked() for migration PMD
e7b219bc7b59 kprobes: fix kill kprobe which has been marked as gone
2906c6acda15 ibmvnic: add missing parenthesis in do_reset()
c5ea71579254 ibmvnic fix NULL tx_pools and rx_tools issue at do_reset
a769bff2333a af_key: pfkey_dump needs parameter validation
(From OE-Core rev: 4194dc3265ed3e2e032c0344e7f6427c0b7755dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 963a103e847e2ae3624e70e119920b51e6db13ad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a4bea6a4f1e0 Linux 5.4.67
ef6458fdbb5c dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX
d6712eefc77e dm: Call proper helper to determine dax support
6b02d0598554 mm/memory_hotplug: drain per-cpu pages again during memory offline
908272a5e9e4 dm/dax: Fix table reference counts
0df6aeac967f selftests/vm: fix display of page size in map_hugetlb
5ed6a7e1a7e1 powerpc/dma: Fix dma_map_ops::get_required_mask
264ae08bb774 ehci-hcd: Move include to keep CRC stable
fceeea8b35cb s390/zcrypt: fix kmalloc 256k failure
463a0d4c1b94 x86/boot/compressed: Disable relocation relaxation
b703bd1e9285 serial: 8250_pci: Add Realtek 816a and 816b
96e6de09097b Input: i8042 - add Entroware Proteus EL07R4 to nomux and reset lists
c0190d14b9a8 Input: trackpoint - add new trackpoint variant IDs
e44bd84cd2ab percpu: fix first chunk size calculation for populated bitmap
32f60ecbb9b8 ALSA: hda/realtek - The Mic on a RedmiBook doesn't work
dda1362d6bce ALSA: hda: fixup headset for ASUS GX502 laptop
87e1dbe6c6c5 Revert "ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO"
b0b68bfe729a i2c: i801: Fix resume bug
7c96edc6e719 usb: typec: ucsi: Prevent mode overrun
6c56942bd2e6 usblp: fix race between disconnect() and read()
56ad2cab0845 USB: UAS: fix disconnect by unplugging a hub
d8c0a033d9ce USB: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook
a0fec594b0a5 drm/i915: Filter wake_flags passed to default_wake_function
daf646fd3247 riscv: Add sfence.vma after early page table changes
8a568d7fc295 i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
a55eec14a4e1 iommu/amd: Fix potential @entry null deref
ecd219c72945 arm64: bpf: Fix branch offset in JIT
c6fa55a3130d drm/mediatek: Add missing put_device() call in mtk_hdmi_dt_parse_pdata()
566e86327754 drm/mediatek: Add exception handing in mtk_drm_probe() if component init fail
549efeaa96d8 MIPS: SNI: Fix spurious interrupts
73d58890be30 fbcon: Fix user font detection test at fbcon_resize().
b7b136191170 perf test: Free formats for perf pmu parse test
b116e2d37b03 perf parse-event: Fix memory leak in evsel->unit
43d9473e7cd9 perf evlist: Fix cpu/thread map leak
751930560ea4 MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT
b86434c072d4 perf test: Fix the "signal" test inline assembly
e03e0498b453 Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload
cdf990e2b24e arm64: Allow CPUs unffected by ARM erratum 1418040 to come in late
09aadf403225 scsi: libsas: Fix error path in sas_notify_lldd_dev_found()
9afe75149419 Drivers: hv: vmbus: hibernation: do not hang forever in vmbus_bus_resume()
b12029411b25 ASoC: meson: axg-toddr: fix channel order on g12 platforms
600cafd55bfd powerpc/book3s64/radix: Fix boot failure with large amount of guest memory
f6d4afd008a6 ASoC: qcom: common: Fix refcount imbalance on error
911c69245a27 ASoC: qcom: Set card->owner to avoid warnings
cf111e31eae6 clk: rockchip: Fix initialization of mux_pll_src_4plls_p
af8f780eee47 clk: davinci: Use the correct size when allocating memory
d81d1306d6c9 KVM: MIPS: Change the definition of kvm type
88a637d56567 spi: Fix memory leak on splited transfers
9f09e86200fd i2c: algo: pca: Reapply i2c bus settings after reset
78d48322dd54 f2fs: Return EOF on unaligned end of file DIO read
e34313d1b7e9 f2fs: fix indefinite loop scanning for free nid
7f07bbf9bc16 block: only call sched requeue_request() for scheduled requests
373312e8513c nvme-tcp: cancel async events before freeing event struct
89669cae6de8 nvme-rdma: cancel async events before freeing event struct
103e82d5e82b nvme-fc: cancel async events before freeing event struct
4951def1e258 openrisc: Fix cache API compile issue when not inlining
5dda8b9b6ad7 cifs: fix DFS mount with cifsacl/modefromsid
72efc1488dad rapidio: Replace 'select' DMAENGINES 'with depends on'
b85406bf1bd7 SUNRPC: stop printk reading past end of string
7b8fb2a4d373 NFS: Zero-stateid SETATTR should first return delegation
7fa3ef52032e spi: spi-loopback-test: Fix out-of-bounds read
8aeb6173e87f regulator: pwm: Fix machine constraints application
618fcfb5e3f3 scsi: lpfc: Fix FLOGI/PLOGI receive race condition in pt2pt discovery
f8f1eea08820 scsi: libfc: Fix for double free()
4a9e028f6db0 scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort
db081ee4d8c0 NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recall
9b6caf4ccb44 firmware_loader: fix memory leak for paged buffer
51fe5c82c759 hv_netvsc: Remove "unlikely" from netvsc_select_queue
78607d494c92 net: handle the return value of pskb_carve_frag_list() correctly
b3dacce5025c dsa: Allow forwarding of redirected IGMP traffic
cd171c18d3d5 e1000e: Add support for Comet Lake
a73e9ea38d5d RDMA/bnxt_re: Restrict the max_gids to 256
29dd419f56fc gfs2: initialize transaction tr_ailX_lists earlier
bdc3a8f6a8e8 Linux 5.4.66
d3c2b7d2856c gcov: add support for GCC 10.1
fe79f1cf177a drm/msm: Disable the RPTR shadow
8cbe9b765487 drm/msm/gpu: make ringbuffer readonly
ebd9aff7b62a usb: typec: ucsi: acpi: Check the _DEP dependencies
848eeb75c81d usb: Fix out of sync data toggle if a configured device is reconfigured
224fa057d72a USB: serial: option: add support for SIM7070/SIM7080/SIM7090 modules
dbbb21384fe6 USB: serial: option: support dynamic Quectel USB compositions
38e75a99b486 USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter
70a9c0352e21 usb: core: fix slab-out-of-bounds Read in read_descriptors
83db8dd32b1d phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init
524e525fa73e staging: greybus: audio: fix uninitialized value issue
3aa4c49c8d41 video: fbdev: fix OOB read in vga_8planes_imageblit()
9dd48c399a81 ARM: dts: vfxxx: Add syscon compatible with OCOTP
323159acb2b5 debugfs: Fix module state check condition
41b2ea7a6a11 KVM: fix memory leak in kvm_io_bus_unregister_dev()
d334a67d3ed0 KVM: arm64: Do not try to map PUDs when they are folded into PMD
a86743ebe680 KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit
087b6cb17df5 vgacon: remove software scrollback support
0d123a8c64fd fbcon: remove now unusued 'softback_lines' cursor() argument
cf5a7ded5365 fbcon: remove soft scrollback code
a0f6bdafaa4c RDMA/mlx4: Read pkey table length instead of hardcoded value
616a0c13e432 RDMA/rxe: Fix the parent sysfs read when the interface has 15 chars
ea3d3bf85669 rbd: require global CAP_SYS_ADMIN for mapping and unmapping
c2fb443bde82 mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt
c724eb78c1ec mmc: sdio: Use mmc_pre_req() / mmc_post_req()
becb3bbb2911 drm/msm: Disable preemption on all 5xx targets
404ab35baae4 drm/tve200: Stabilize enable/disable
701b385f6877 drm/i915/gvt: do not check len & max_len for lri
a5bfcf2455d4 scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem
fa4372668f58 scsi: target: iscsi: Fix data digest calculation
a467624aef02 regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive()
dfbb9cea5a4b regulator: plug of_node leak in regulator_register()'s error path
047a71ff5e9d regulator: push allocation in set_consumer_device_supply() out of lock
31d89652c384 regulator: push allocations in create_regulator() outside of lock
e7249ceb7ff8 regulator: push allocation in regulator_init_coupling() outside of lock
b9fb631f6b03 kobject: Restore old behaviour of kobject_del(NULL)
b85c64a7161f btrfs: fix wrong address when faulting in pages in the search ioctl
524f3f303079 btrfs: fix lockdep splat in add_missing_dev
1aaceffa5ace btrfs: require only sector size alignment for parent eb bytenr
c570a3d660a2 staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb()
e9f7332b0040 iio:accel:mma8452: Fix timestamp alignment and prevent data leak.
a6dc50f30129 iio:accel:mma7455: Fix timestamp alignment and prevent data leak.
e94ec7f512cf iio: accel: kxsd9: Fix alignment of local buffer.
b040ac56b264 iio:chemical:ccs811: Fix timestamp alignment and prevent data leak.
cd1a2517b35e iio:light:max44000 Fix timestamp alignment and prevent data leak.
176fb9423ab8 iio:magnetometer:ak8975 Fix alignment and data leak issues.
c4b67a1dcba0 iio:adc:ti-adc081c Fix alignment and data leak issues
e691d264ddf9 iio:adc:max1118 Fix alignment of timestamp and data leak issues
24c4430c9b18 iio:adc:ina2xx Fix timestamp alignment issue.
de2fa1f48a52 iio:adc:ti-adc084s021 Fix alignment and data leak issues.
13a76aae01c7 iio:accel:bmc150-accel: Fix timestamp alignment and prevent data leak.
66b8b8f75e35 iio:proximity:mb1232: Fix timestamp alignment and prevent data leak.
0616d908aef5 iio:light:ltr501 Fix timestamp alignment issue.
c80210735f31 iio: cros_ec: Set Gyroscope default frequency to 25Hz
c71e70a85b4b iio: adc: ti-ads1015: fix conversion when CONFIG_PM is not set
d4bdcf4f1154 gcov: Disable gcov build with GCC 10
104bc6027b27 iommu/amd: Do not use IOMMUv2 functionality when SME is active
cab731c6c873 drm/amdgpu: Fix bug in reporting voltage for CIK
d6ccea92b1e1 ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled
56117aa69301 ALSA: hda: hdmi - add Rocketlake support
ff37a2636464 arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE
2423f3a7ef52 cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled
1f1169474803 cpufreq: intel_pstate: Refuse to turn off with HWP enabled
b011e41a8e48 ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id
82d4cfa185a9 HID: elan: Fix memleak in elan_input_configured
bc818ce2d51e drivers/net/wan/hdlc_cisco: Add hard_header_len
052750976d03 HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller
52fa4a63ab14 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices
9eef311eb524 nvme-pci: cancel nvme device request before disabling
068f73f767a1 nvme-rdma: fix reset hang if controller died in the middle of a reset
d409ed019236 nvme-rdma: fix timeout handler
9cf1ee492f23 nvme-rdma: serialize controller teardown sequences
bb018c73500b nvme-tcp: fix reset hang if controller died in the middle of a reset
34b1b26b2d8f nvme-tcp: fix timeout handler
7abff44756fe nvme-tcp: serialize controller teardown sequences
7598a9d0a756 nvme: have nvme_wait_freeze_timeout return if it timed out
35d841908c0b nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance
f9af5758b19b nvmet-tcp: Fix NULL dereference when a connect data comes in h2cdata pdu
6ce06caf6b44 irqchip/eznps: Fix build error for !ARC700 builds
41ac2e8a6a1f xfs: initialize the shortform attr header padding entry
a33cab0fbd2f cfg80211: Adjust 6 GHz frequency to channel conversion
0aa356dde967 drivers/net/wan/lapbether: Set network_header before transmitting
e91f2ec0bfbd xfs: fix off-by-one in inode alloc block reservation calculation
983efe173e37 net: hns3: Fix for geneve tx checksum bug
cb54984b7989 drivers/dma/dma-jz4780: Fix race condition between probe and irq handler
bcdbb7c8c7f9 ALSA: hda/tegra: Program WAKEEN register for Tegra
ad360686fcd2 ALSA: hda: Fix 2 channel swapping for Tegra
1518c24b3265 firestream: Fix memleak in fs_open
818c725c1241 NFC: st95hf: Fix memleak in st95hf_in_send_cmd
0faee7f8c236 drivers/net/wan/lapbether: Added needed_tailroom
59d2b1e5cb05 netfilter: conntrack: allow sctp hearbeat after connection re-use
444bf09f2be4 dmaengine: acpi: Put the CSRT table after using it
89c4339c4d35 ARC: HSDK: wireup perf irq
75a81be8fb3e arm64: dts: ns2: Fixed QSPI compatible string
cd0ffeb0b879 ARM: dts: BCM5301X: Fixed QSPI compatible string
8a9383e277e4 ARM: dts: NSP: Fixed QSPI compatible string
7a1e2c816acc ARM: dts: bcm: HR2: Fixed QSPI compatible string
0f632bc48355 IB/isert: Fix unaligned immediate-data handling
6736317f350a block: Set same_page to false in __bio_try_merge_page if ret is false
45ffad151bae spi: stm32: fix pm_runtime_get_sync() error checking
9ed3ab0c62d4 nvme-fabrics: allow to queue requests for live queues
43b3d09c5142 spi: stm32: Rate-limit the 'Communication suspended' message
15dc0695a3b0 mmc: sdhci-msm: Add retries when all tuning phases are found valid
5bead6811610 mmc: sdhci-acpi: Clear amd_sdhci_host on reset
c46eabd1e6cc drm/sun4i: backend: Disable alpha on the lowest plane on the A20
f3c982d8e60a drm/sun4i: backend: Support alpha property on lowest plane
fe0278843b64 soundwire: fix double free of dangling pointer
122cdbd5019f scsi: mpt3sas: Don't call disable_irq from IRQ poll handler
aa204e20f4d4 scsi: megaraid_sas: Don't call disable_irq from process IRQ poll
0b4662709ced RDMA/core: Fix reported speed and width
b3f6c2ca326b scsi: libsas: Set data_dir as DMA_NONE if libata marks qc as NODATA
5571056a5805 iio: adc: mcp3422: fix locking scope
f7db02316a00 iio: adc: mcp3422: fix locking on error path
376bc3643eeb drm/sun4i: Fix dsi dcs long write function
af0d98184575 arm64: dts: imx8mq: Fix TMU interrupt property
ddd3698271da drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()
1a2d6e722b49 RDMA/bnxt_re: Do not report transparent vlan from QP1
aaca68671376 RDMA/rxe: Fix panic when calling kmem_cache_create()
d1878b298fc6 RDMA/rxe: Drop pointless checks in rxe_init_ports
ca337b53fff3 RDMA/rxe: Fix memleak in rxe_mem_init_user
af2e06b02575 ARM: dts: imx7ulp: Correct gpio ranges
ab56ed56f8c8 ARM: dts: ls1021a: fix QuadSPI-memory reg range
d5763bbf8664 selftests/timers: Turn off timeout setting
6a2be713c78f ARM: dts: socfpga: fix register entry for timer3 on Arria10
25915590865c regulator: remove superfluous lock in regulator_resolve_coupling()
69163464bcd3 regulator: push allocation in regulator_ena_gpio_request() out of lock
e9019af9b0cc ARM: dts: logicpd-som-lv-baseboard: Fix missing video
678cde6f4e2b ARM: dts: logicpd-som-lv-baseboard: Fix broken audio
06fb37a1725d ARM: dts: logicpd-torpedo-baseboard: Fix broken audio
(From OE-Core rev: ec411cb105efb755f0fc18db11cf7682761c796a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eae616c0cca482a3ce720de3d7d1caded9f79942)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
178189d65780 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
(From OE-Core rev: 350e5bdf0bb79750452bb57c1aba7e0b343c2634)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa2b309a938f4af5f5d95bc7e7f3c0e9d77f3dd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumps the minimum python version to 3.5 to match bitbake and the test
matrix
(From OE-Core rev: 346f0efdecdab81504d181092204e89e85835d4f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df13c0f2348898023fb7ee1b229e9b5ccc893609)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When testing pseudo changes I realised these recipes have packaging tasks
but don't generate packages. Drop the packages tasks for cleanliness.
(From OE-Core rev: 275d504b2f979901278141a4ba217d02a099f980)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef9c11797b5d626bdb40b4509d8b2b0d461ff9ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_stash_locale doesn't run in fakeroot context, do_install does. We therefore
shouldn't delete files that do_install has added or it leaves potentially
problemtic entries in the fakeroot database. Leaving the files around
doesn't change or break anything else.
(From OE-Core rev: 7325222ce0dc8a75bc2d3eb7b6049f0d995ce17f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f18817f5340d06f7b4bb846a83b48731a1b9c4bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to the latest upstream version. This fixes at least one build
error, in which build fails due to undefined FS_IOC_GETFLAGS. See commit
d7b4301d ("stress-efivar: only exercise FS_IOC_*FLAGS if they are defined")
in stress-ng for details.
(From OE-Core rev: f99dc4e49d4ad4383c826dd8f8410c32f408e9bd)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We'll be using an upstream version bump instead of this backport
This reverts commit 348c666b2dca230308c8462dac2117b04cca6ae7.
(From OE-Core rev: 49ab42d4dc93cee75ac7e9b3a4623ff1f42b306f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Microsoft's TFS VCS system allows for spaces in a git repository url.
An example of a valid url is:
ssh://tfs-my-company.org:22/tfs/My Projects/FooBar
This commit adds support for such urls by implementing two changes.
Firstly, when bitbake makes a git command line call the url is
surrounded by quotes so that the url, regardless of spaces, is
treated as one argument. Secondly, additional parsing of various
filepath variables, which are based off of the url, are now
completed with any spaces in the url replaced with underscores.
(Bitbake rev: c4a51b7f4fd8a3c7d63c184675c014ec955d2606)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb38b6f0935763f7ba19e5618f376fcae1dac41a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- add missing entry for BBFILES_DYNAMIC, ported from yocto-docs
- add description for the new inverse mode
(Bitbake rev: c27a5cc80852595549ad4156e4bb7f5a05e4cd15)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9186ca47ce73b4d1c87eb69163698a04679fb55c)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patche added in commit c271090385
failed ptest perl.t/re/pat. The patch updates incorrect test cases
count causes the ptest to fail.
864 test cases before apply the patch while the patch added only 4
test cases so it should be 868 instead of 873.
ptest-runner log :-
PASS: t/re/overload
# Looks like you planned 873 tests but ran 868.
FAIL: t/re/pat
PASS: t/re/pat_advanced
[YOCTO #14071]
(From OE-Core rev: 552739383321bd9b4780bd0026d6107ece530522)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com<mailto:chee.yang.lee@intel.com>>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In certain conditions, most likely under heavy load on the
AutoBuilder, the prebuilt .pyc files are attempting to be
executed before they have been completely copied. Avoid
this by not copying the .pyc files (nor the __pycache__
directory). The impact of python3-native recreating the .pyc
files should hopefully be negligible.
YOCTO#13421
YOCTO#13803
(From OE-Core rev: 1facb696140cc95ea3478654aedf1220459c825f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allows the --offset argument to use the "s" or "S" suffix to specify
that it is reporting the number of 512 byte sectors.
This is required for some SoCs where the mask ROM looks for an item at a
sector that isn't aligned to a 1KB boundary.
(From OE-Core rev: b9296bdeaacc1dce97aac9c9bf0d70555bb36646)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 938595d1dc4abaf5f7f3a7900add3f0492b805d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The error message was reporting the calculated offset instead of the
current offset, which made it confusing.
(From OE-Core rev: 0ff25797126772f40e357a2f3cf81eccf659adaf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2be775cfe1b49ce3889b5dc326e2b67a9667f18a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
467f84e12b ("wic: Add --offset argument for partitions") broke the
--extra-space argument handling in wic. Fix the option and add a unit
test for the argument.
(From OE-Core rev: 62a7a10c31bcf133cbd99d4de928f15a30e45ab1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87722a92c18f94917c8f70afc8cd0763462a5c25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for an --offset argument when defining a partition. Many
SoCs require that boot partitions be located at specific offsets. Prior
to this argument, most WKS files were using the --align attribute to
specify the location of these fixed partitions but this is not ideal
because in the event that the partition couldn't be placed in the
specified location, wic would move it to the next sector with that
alignment, often preventing the device from booting. Unlike the --align
argument, wic will fail if a partition cannot be placed at the exact
offset specified with --offset.
Changes in V2:
* Fixed a small typo that prevented test_fixed_size_error from passing
(From OE-Core rev: 897aaff8961f7fe83634a3b0b94e19b43aea5857)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 467f84e12b96bc977d57575023517dd6f8ef7f29)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the kernel version changes for writeback.h to fix
compilation against kernel stable versions 5.4.62+
This is a combination of upstream commits:
87b2aff [fix: writeback: Fix sync livelock due to b_dirty_time processing (v5.9)]
b74b25f [fix: version ranges for ext4_discard_preallocations and writeback_queue_io
Upstream-status: Backport
(From OE-Core rev: 348c666b2dca230308c8462dac2117b04cca6ae7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6c3d34dea2fc Linux 5.4.65
ddb279d64b72 net: disable netpoll on fresh napis
09c45065257b tipc: fix shutdown() of connectionless socket
b95eb482c288 taprio: Fix using wrong queues in gate mask
20f8c874789a sctp: not disable bh in the whole sctp_get_port_local()
8b61bb0b2d57 net: usb: dm9601: Add USB ID of Keenetic Plus DSL
346fefa82325 netlabel: fix problems with mapping removal
3f73dbf94f8f ipv6: Fix sysctl max for fib_multipath_hash_policy
263e463358d3 ipv4: Silence suspicious RCU usage warning
(From OE-Core rev: d5b45e81adf16c8b15a981ca9ef79bfea3ffe2dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit e2cb6e8b433614a8512739ea5583914d9ef978fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6ffabce36fc8 Linux 5.4.64
beaf13ed8e97 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()
58c3e86d42d2 cfg80211: regulatory: reject invalid hints
08eeec445297 mm/khugepaged.c: fix khugepaged's request size in collapse_file
af7786b20c71 mm/hugetlb: fix a race between hugetlb sysctl handlers
f2cd86225c89 checkpatch: fix the usage of capture group ( ... )
59ac5bfa82bc sdhci: tegra: Add missing TMCLK for data timeout
e915b3b63dfd perf record: Correct the help info of option "--no-bpf-event"
894a6f0be372 vfio/pci: Fix SR-IOV VF handling with MMIO blocking
f4fa8d937edf mm: madvise: fix vma user-after-free
87fb7b0c5266 mm: slub: fix conversion of freelist_corrupted()
291144f1114d dm thin metadata: Fix use-after-free in dm_bm_set_read_only
cfe85a4a8552 dm thin metadata: Avoid returning cmd->bm wild pointer on error
392a6afcbf19 dm cache metadata: Avoid returning cmd->bm wild pointer on error
9dd74db0bfd1 dm crypt: Initialize crypto wait structures
e6ddb1d45c51 dm integrity: fix error reporting in bitmap mode after creation
b30f628beec9 dm mpath: fix racey management of PG initialization
226fb99eb59d dm writecache: handle DAX to partitions on persistent memory correctly
6fb192c06a14 drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting
f84804af09c7 dmaengine: dw-edma: Fix scatter-gather address calculation
9f4ab0172e6c blk-iocost: ioc_pd_free() shouldn't assume irq disabled
f7880745e91b libata: implement ATA_HORKAGE_MAX_TRIM_128M and apply to Sandisks
5f5f27228195 block: ensure bdi->io_pages is always initialized
84c041c12442 block: allow for_each_bvec to support zero len bvec
b6e4827c04b0 affs: fix basic permission bits to actually work
2d89e44dc932 media: rc: uevent sysfs file races with rc_unregister_device()
5925179bbc64 media: rc: do not access device via sysfs after rc_unregister_device()
3d77c12f3040 mmc: sdhci-pci: Fix SDHCI_RESET_ALL for CQHCI for Intel GLK-based controllers
ed48704c36a8 mmc: cqhci: Add cqhci_deactivate()
a69047c01eb4 mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings
5876ee035ba6 mmc: mediatek: add optional module reset property
2816ccd07145 arm64: dts: mt7622: add reset node for mmc device
d074d9d52fe0 ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen
7de2f56ef51a ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion NT950XCJ-X716A
a253fe35666d ALSA; firewire-tascam: exclude Tascam FE-8 from detection
982505615063 ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO
cebaed033037 ALSA: firewire-digi00x: exclude Avid Adrenaline from detection
4fa06a43bf9f ALSA: hda/hdmi: always check pin power status in i915 pin fixup
2ebb83a259a8 ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check
79124b1b912c ALSA: usb-audio: Add implicit feedback quirk for UR22C
a3b94af5117b ALSA: ca0106: fix error code handling
156dd7c73a9b Revert "ALSA: hda: Add support for Loongson 7A1000 controller"
62db427bf8ca Revert "net: dsa: microchip: set the correct number of ports"
4254a4f7988c btrfs: fix potential deadlock in the search ioctl
de53545e8d4c net: core: use listified Rx for GRO_NORMAL in napi_gro_receive()
df0c47585cea btrfs: tree-checker: fix the error message for transid error
650275310f3b btrfs: set the lockdep class for log tree extent buffers
7e0ffb0d9d9f btrfs: set the correct lockdep class for new nodes
c37cc199da2b btrfs: allocate scrub workqueues outside of locks
eb29635ba68a btrfs: drop path before adding new uuid tree entry
20b591fd00c0 ARC: perf: don't bail setup if pct irq missing in device-tree
ce690fa1d5d0 xfs: don't update mtime on COW faults
12cd8fccc9ed ext2: don't update mtime on COW faults
cc6c4d81d6ad tracing/kprobes, x86/ptrace: Fix regs argument order for i386
036a857bb57d iommu/vt-d: Handle 36bit addressing for x86-32
8f747b0149c5 vfio-pci: Invalidate mmaps and block MMIO access on disabled memory
b0f5096b281a vfio-pci: Fault mmaps to enable vma tracking
270c35d0723a vfio/type1: Support faulting PFNMAP vmas
5629bb21ce20 include/linux/log2.h: add missing () around n in roundup_pow_of_two()
bc846b58fe5c net/packet: fix overflow in tpacket_rcv
e3d109c3484e iommu/amd: Restore IRTE.RemapEn bit after programming IRTE
7ce6bc1b549e thermal: qcom-spmi-temp-alarm: Don't suppress negative temp
f5b3bd38ae91 thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430
0c21f1bcafc1 iommu/vt-d: Serialize IOMMU GCMD register modifications
920d9ffcd481 x86, fakenuma: Fix invalid starting node ID
1a7e03867a37 tg3: Fix soft lockup when tg3_reset_task() fails.
b0c40f8a7a0e perf jevents: Fix suspicious code in fixregex()
6c4ad5444a26 xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files
58591dd6afda MIPS: add missing MSACSR and upper MSA initialization
612e2b7ec962 net: gemini: Fix another missing clk_disable_unprepare() in probe
88405cf0f2bd fix regression in "epoll: Keep a reference on files added to the check list"
901d22c6b6dc net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init()
8e2660c834e3 perf tools: Correct SNOOPX field offset
37f0a08a3a83 cxgb4: fix thermal zone device registration
50d284778427 nvme: fix controller instance leak
f4b830c61b5b nvmet-fc: Fix a missed _irqsave version of spin_lock in 'nvmet_fc_fod_op_done()'
9ff9f74ed462 netfilter: nfnetlink: nfnetlink_unicast() reports EAGAIN instead of ENOBUFS
498575898ec4 net: dsa: mt7530: fix advertising unsupported 1000baseT_Half
c4a427b71cd7 selftests/bpf: Fix massive output from test_maps
e0a1bebc332d media: cedrus: Add missing v4l2_ctrl_request_hdl_put()
3fe12f4be001 media: vicodec: add missing v4l2_ctrl_request_hdl_put()
f28f3cffff27 bnxt: don't enable NAPI until rings are ready
da7a1676d6c1 xfs: fix boundary test in xfs_attr_shortform_verify
8227199ceafd bnxt_en: fix HWRM error when querying VF temperature
927a7629bedd bnxt_en: Fix possible crash in bnxt_fw_reset_task().
70699d3cc77c bnxt_en: Fix PCI AER error recovery flow
87547923b6c6 bnxt_en: Check for zero dir entries in NVRAM.
e7cbba4db7da bnxt_en: Don't query FW when netif_running() is false.
c11510bb8898 net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port
0bd92cdc04e6 gtp: add GTPA_LINK info to msg sent to userspace
24249fab08c6 dmaengine: pl330: Fix burst length if burst size is smaller than bus width
719f92de3fff net: arc_emac: Fix memleak in arc_mdio_probe
268fe5a4c040 ravb: Fixed to be able to unload modules
8123fa897e65 net: systemport: Fix memleak in bcm_sysport_probe
a49c0aebf9c4 net: hns: Fix memleak in hns_nic_dev_probe
210b889fd8ef netfilter: nf_tables: fix destination register zeroing
576fbd4902fb netfilter: nf_tables: incorrect enum nft_list_attributes definition
929d07feb94f netfilter: nf_tables: add NFTA_SET_USERDATA if not null
fb1e97674aa8 mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040
da8e3e507d2f MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores
c5e9e36fc2f8 MIPS: mm: BMIPS5000 has inclusive physical caches
5f7798f05311 rxrpc: Make rxrpc_kernel_get_srtt() indicate validity
43cf7e7dfa7b rxrpc: Keep the ACK serial in a var in rxrpc_input_ack()
242a7ab0ac52 dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate()
2f2786bb9d40 batman-adv: bla: use netif_rx_ni when not in interrupt context
fd8b3ef644a4 batman-adv: Fix own OGM check in aggregated OGMs
2344f2f186fd batman-adv: Avoid uninitialized chaddr when handling DHCP
89cb604c4226 dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling
1a89606baf31 fsldma: fix very broken 32-bit ppc ioread64 functionality
6eb88c42dcc9 xen/xenbus: Fix granting of vmalloc'd memory
0878655a9880 drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init
b014f2846e6f drm/amd/display: Retry AUX write when fail occurs
9947928e619a drivers: gpu: amd: Initialize amdgpu_dm_backlight_caps object to 0 in amdgpu_dm_update_backlight_caps
79d31527dfc3 drm/amd/display: Reject overlay plane configurations in multi-display scenarios
29bade8e2fc9 s390: don't trace preemption in percpu macros
c756635246e9 nbd: restore default timeout when setting it to zero
c1e333e7b8da cpuidle: Fixup IRQ state
ad3a4efc8c56 drm/omap: fix incorrect lock state
0a8dcad24424 ceph: don't allow setlease on cephfs
755fd63ae163 drm/msm/a6xx: fix gmu start on newer firmware
7a55cf8a20c7 habanalabs: check correct vmalloc return code
c9436de020a4 habanalabs: validate FW file size
dddd5003c707 drm/msm: enable vblank during atomic commits
2c9bc7d9600c nvmet: Disable keep-alive timer when kato is cleared to 0h
e94a3d76305b hwmon: (applesmc) check status earlier.
19583b280801 drm/msm: add shutdown support for display platform_driver
8bc25dea70fe tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup
28ffe70a2e33 drm/msm/dpu: Fix scale params in plane validation
b2fc347e2126 HID: quirks: Always poll three more Lenovo PixArt mice
e32f4fa1b24d Linux 5.4.63
5153710a5ecc scsi: target: tcmu: Optimize use of flush_dcache_page
bb9949fdfddd scsi: target: tcmu: Fix size in calls to tcmu_flush_dcache_range
6d2e274f60fc sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra186
0176db2f2ad5 sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra210
eda97e9d90db arm64: tegra: Add missing timeout clock to Tegra210 SDMMC
5cd8c5979e72 arm64: tegra: Add missing timeout clock to Tegra186 SDMMC nodes
ef8b5f333780 arm64: tegra: Add missing timeout clock to Tegra194 SDMMC nodes
9d806d68bf97 dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later
d2ac42e61ecd KVM: arm64: Set HCR_EL2.PTW to prevent AT taking synchronous exception
ffad02f9e3ea KVM: arm64: Survive synchronous exceptions caused by AT instructions
1744237ca047 KVM: arm64: Add kvm_extable for vaxorcism code
538caddbe635 drm/etnaviv: fix TS cache flushing on GPUs with BLT engine
80743b4bde09 drm/sched: Fix passing zero to 'PTR_ERR' warning v2
6cadd1e2d8c5 perf record/stat: Explicitly call out event modifiers in the documentation
4bae1afed432 HID: core: Sanitize event code and type when mapping input
667514df10a0 HID: core: Correctly handle ReportSize being zero
933cf1c2c075 Linux 5.4.62
54ee77961e79 io_uring: Fix NULL pointer dereference in io_sq_wq_submit_work()
44cf62d388fb ALSA: usb-audio: Update documentation comment for MS2109 quirk
851d0813ab80 HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()
c98b6ebd9b55 kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
37432a83faab kbuild: add variables for compression tools
47a41f65afb6 kheaders: explain why include/config/autoconf.h is excluded from md5sum
7caddaa9f88b kheaders: remove the last bashism to allow sh to run it
18f48708c3f5 kheaders: optimize header copy for in-tree builds
a1d0c6e2f334 kheaders: optimize md5sum calculation for in-tree builds
eb914bae6e17 kheaders: remove unneeded 'cat' command piped to 'head' / 'tail'
376810e5e9e1 fbmem: pull fbcon_update_vcs() out of fb_set_var()
6a862aa31ec3 usb: dwc3: gadget: Handle ZLP for sg requests
7c8b5685662b usb: dwc3: gadget: Fix handling ZLP
4bc5d90a7dce usb: dwc3: gadget: Don't setup more than requested
f8e4c5297fcd drm/i915: Fix cmd parser desc matching with masks
73992639ec78 usb: storage: Add unusual_uas entry for Sony PSZ drives
2add73c8c00d USB: cdc-acm: rework notification_buffer resizing
e2e02f260496 USB: gadget: u_f: Unbreak offset calculation in VLAs
4f529c4d1e43 USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb()
f47ab852bea3 USB: gadget: u_f: add overflow checks to VLA macros
2534d3dec376 usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe()
de24343880a6 USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge
ca29a2a53953 USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D
20b3564c6748 USB: quirks: Add no-lpm quirk for another Raydium touchscreen
b32ec919ee37 usb: uas: Add quirk for PNY Pro Elite
ad0bc424fc0a USB: yurex: Fix bad gfp argument
3623dab2959e drm/amd/pm: correct the thermal alert temperature limit settings
85ca6f199c77 drm/amd/pm: correct Vega20 swctf limit setting
9afabefd42fc drm/amd/pm: correct Vega12 swctf limit setting
60cffee2d951 drm/amd/pm: correct Vega10 swctf limit setting
2809cf7f6eba drm/amd/powerplay: Fix hardmins not being sent to SMU for RV
20700b352d10 drm/amdgpu/gfx10: refine mgcg setting
8fc7a66619e1 drm/amdgpu: Fix buffer overflow in INFO ioctl
1adf8c19f974 x86/hotplug: Silence APIC only after all interrupts are migrated
47c8387a963e irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake
927aa9a10f12 genirq/matrix: Deal with the sillyness of for_each_cpu() on UP
70957a10e1db crypto: af_alg - Work around empty control messages without MSG_MORE
aca10ab0568a device property: Fix the secondary firmware node handling in set_primary_fwnode()
df2a6a4a9d68 powerpc/perf: Fix crashes with generic_compat_pmu & BHRB
b260fb2a02b5 PM: sleep: core: Fix the handling of pending runtime resume requests
7ded78a8c89e arm64: vdso32: make vdso32 install conditional
3b7087e07730 xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed
02166fea639f xhci: Do warm-reset when both CAS and XDEV_RESUME are set
3ac8545b29ae usb: host: xhci: fix ep context print mismatch in debugfs
4d3e2a3a0c64 XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information.
6623c19042b6 writeback: Fix sync livelock due to b_dirty_time processing
cb0c74450072 writeback: Avoid skipping inode writeback
8eab2b531fd3 writeback: Protect inode->i_io_list with inode->i_lock
2e76a3a1667c serial: 8250: change lock order in serial8250_do_startup()
f53ebc7c2922 serial: 8250_exar: Fix number of ports for Commtech PCIe cards
fbb55ec82dd6 serial: stm32: avoid kernel warning on absence of optional IRQ
64a05aadf936 serial: pl011: Don't leak amba_ports entry on driver register error
0806b49bba20 serial: pl011: Fix oops on -EPROBE_DEFER
daae6b962a13 serial: samsung: Removes the IRQ not found warning
7c57237d74a0 vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize()
adb76f3f7732 vt: defer kfree() of vc_screenbuf in vc_do_resize()
db1bb352cc08 USB: lvtest: return proper error code in probe
96e41fc29e8a fbcon: prevent user font height or width change from causing potential out-of-bounds access
cd1d270e3e4f btrfs: detect nocow for swap after snapshot delete
eb576fc43a43 btrfs: fix space cache memory leak after transaction abort
1d08edc70154 btrfs: check the right error variable in btrfs_del_dir_entries_in_log
8a3509486f08 btrfs: reset compression level for lzo on remount
b1a83ee0cbbf blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART
c2035d1e55aa HID: i2c-hid: Always sleep 60ms after I2C_HID_PWR_ON commands
db4542b6617b block: loop: set discard granularity and alignment for block device backed loop
f09dbec9c0c6 block: fix get_max_io_size()
2f4b202eb1b1 arm64: Allow booting of late CPUs affected by erratum 1418040
82b05f0838aa arm64: Move handling of erratum 1418040 into C code
7d44b707aaff powerpc/perf: Fix soft lockups due to missed interrupt accounting
9c0305c0cfa2 net: gianfar: Add of_node_put() before goto statement
c656534e5c45 macvlan: validate setting of multiple remote source MAC addresses
19f669a3609c Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command"
48765b780ace scsi: qla2xxx: Fix null pointer access during disconnect from subsystem
36a139cf4146 scsi: qla2xxx: Check if FW supports MQ before enabling
88274626d110 scsi: qla2xxx: Fix login timeout
37528b3ee9e1 scsi: ufs: Clean up completed request without interrupt notification
a39ba0fdcdfd scsi: ufs: Improve interrupt handling for shared interrupts
d895b0be701c scsi: ufs: Fix possible infinite loop in ufshcd_hold
1778bebd06b4 scsi: fcoe: Fix I/O path allocation
a8d26145e112 selftests: disable rp_filter for icmp_redirect.sh
957066143e6c ASoC: wm8994: Avoid attempts to read unreadable registers
1d63737b0777 s390/cio: add cond_resched() in the slow_eval_known_fn() loop
2a8c6149a49a ALSA: hda/realtek: Add model alc298-samsung-headphone
021a98a87864 can: j1939: transport: j1939_xtp_rx_dat_one(): compare own packets to detect corruptions
3803312a3c55 netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependency
35238963c972 drm/amd/display: Switch to immediate mode for updating infopackets
b92b415fa7b7 drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading
73a0e6280a32 drm/amd/powerplay: correct Vega20 cached smu feature state
d2da80e0a3e7 spi: stm32: always perform registers configuration prior to transfer
2844685c661a spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate
a6daa863d15e spi: stm32: fix fifo threshold level in case of short transfer
3c15a3c4b155 spi: stm32h7: fix race condition at end of transfer
a08e95e83e6f fs: prevent BUG_ON in submit_bh_wbc()
28a56c26a00d ext4: correctly restore system zone info when remount fails
8e63c86f6580 ext4: handle error of ext4_setup_system_zone() on remount
e579635669da ext4: handle option set by mount flags correctly
3a53d012bd26 jbd2: abort journal if free a async write error metadata buffer
1b36d4fa4b66 ext4: handle read only external journal device
2e7312ddaf62 ext4: don't BUG on inconsistent journal feature
40827caf954c jbd2: make sure jh have b_transaction set in refile/unfile_buffer
e4351ad44d7e spi: stm32: clear only asserted irq flags on interrupt
d63728afe947 usb: gadget: f_tcm: Fix some resource leaks in some error paths
262f5fbad941 i2c: rcar: in slave mode, clear NACK earlier
883ed72723ef i2c: core: Don't fail PRP0001 enumeration when no ID table exist
2fc8fa50ebee null_blk: fix passing of REQ_FUA flag in null_handle_rq
88994acafd96 nvme: multipath: round-robin: fix single non-optimized path case
97f30414a2e0 nvme-fc: Fix wrong return value in __nvme_fc_init_request()
05c608f630b9 blkcg: fix memleak for iolatency
872a2b3182ee blk-mq: insert request not through ->queue_rq into sw/scheduler queue
9054d5844092 hwmon: (nct7904) Correct divide by 0
1475314530bb bfq: fix blkio cgroup leakage v4
2295664518c3 block: Fix page_is_mergeable() for compound pages
3e9eb1e893ba drm/msm/adreno: fix updating ring fence
effd3b89f7e5 block: virtio_blk: fix handling single range discard request
cc3a73f245cb block: respect queue limit of max discard segment
8f409e764c4b media: gpio-ir-tx: improve precision of transmitted signal due to scheduling
6ba04701b801 ALSA: usb-audio: Add capture support for Saffire 6 (USB 1.1)
5861e84d7145 cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode
1b7b2d45b31e PCI: qcom: Add missing reset for ipq806x
ea552383a9d5 PCI: qcom: Change duplicate PCI reset to phy reset
29ecf28be997 PCI: qcom: Add missing ipq806x clocks in PCIe driver
6d11320bed41 EDAC/{i7core,sb,pnd2,skx}: Fix error event severity
87cc96bb11b9 EDAC: skx_common: get rid of unused type var
3bf42b2e8d67 EDAC: sb_edac: get rid of unused vars
75aaa8fa7672 mm/vunmap: add cond_resched() in vunmap_pmd_range
a2038eb833a5 drm/amd/display: Fix dmesg warning from setting abm level
8522b1bec88e drm/amd/display: Add additional config guards for DCN
992e51ff0e4b drm/amd/display: Trigger modesets on MST DSC connectors
b730fb14434f drm/ingenic: Fix incorrect assumption about plane->index
8dc47d858fea gpu/drm: ingenic: Use the plane's src_[x,y] to configure DMA length
302b9e189962 cma: don't quit at first error when activating reserved areas
aed14b1b5c0e mm/cma.c: switch to bitmap_zalloc() for cma bitmap allocation
965d3d5ce355 mm: fix kthread_use_mm() vs TLB invalidate
72574434da87 mm/shuffle: don't move pages between zones and don't read garbage memmaps
483b956a16a0 btrfs: only commit delayed items at fsync if we are logging a directory
3eddcc71fe8a btrfs: only commit the delayed inode when doing a full fsync
d5f5b15d3ea4 btrfs: factor out inode items copy loop from btrfs_log_inode()
a0cfda9cb3a1 s390/numa: set node distance to LOCAL_DISTANCE
67f8b390b15e drm/xen-front: Fix misused IS_ERR_OR_NULL checks
02611bcaafe5 drm/xen: fix passing zero to 'PTR_ERR' warning
fe376f1b12d2 PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent
b7cca731b486 PM / devfreq: rk3399_dmc: Disable devfreq-event device when fails
a0f69c6f5e0b PM / devfreq: rk3399_dmc: Add missing of_node_put()
961bfe1277ae usb: cdns3: gadget: always zeroed TRB buffer when enable endpoint
2c0000f409ec sched/uclamp: Fix a deadlock when enabling uclamp static key
88435320ebc1 sched/uclamp: Protect uclamp fast path code with static key
93709d8ade00 Revert "ath10k: fix DMA related firmware crashes on multiple devices"
da56eb03ea94 arm64: Fix __cpu_logical_map undefined issue
12a9bec2bd4e efi: provide empty efi_enter_virtual_mode implementation
b2defeb19bff brcmfmac: Set timeout value when configuring power save
7aac56d8b0ee USB: sisusbvga: Fix a potential UB casued by left shifting a negative value
e77f71c6341a powerpc/spufs: add CONFIG_COREDUMP dependency
653ae33b030b KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe
a84a6eb935ba media: davinci: vpif_capture: fix potential double free
6b0010ed7140 hugetlbfs: prevent filesystem stacking of hugetlbfs
c67c6e1f54aa EDAC/ie31200: Fallback if host bridge device is already initialized
41191f8c57a1 scsi: fcoe: Memory leak fix in fcoe_sysfs_fcf_del()
a002274db527 ceph: do not access the kiocb after aio requests
01540d5e7c1b ceph: fix potential mdsc use-after-free crash
9da791b5410e scsi: iscsi: Do not put host in iscsi_set_flashnode_param()
050292f138a3 btrfs: make btrfs_qgroup_check_reserved_leak take btrfs_inode
1f52b85f6c79 btrfs: file: reserve qgroup space after the hole punch range is locked
7d6689df48de locking/lockdep: Fix overflow in presentation of average lock-time
2adf6ec63db2 drm/nouveau: Fix reference count leak in nouveau_connector_detect
19e81f6325a9 drm/nouveau: fix reference count leak in nv50_disp_atomic_commit
d23d52e38cc9 drm/nouveau/drm/noveau: fix reference count leak in nouveau_fbcon_open
45e30390f50f f2fs: fix use-after-free issue
4cba87943046 HID: quirks: add NOGET quirk for Logitech GROUP
6734eeb6c2f0 cec-api: prevent leaking memory through hole in structure
bd4593030332 ALSA: hda: Add support for Loongson 7A1000 controller
f4107f633a29 mips/vdso: Fix resource leaks in genvdso.c
71e7e02c0590 rtlwifi: rtl8192cu: Prevent leaking urb
3a84491364e1 ARM: dts: ls1021a: output PPS signal on FIPER2
4410fd0c378e PCI: Fix pci_create_slot() reference count leak
201838142c52 omapfb: fix multiple reference count leaks due to pm_runtime_get_sync
22d859fe1bdc f2fs: fix error path in do_recover_data()
110c5a5a6854 selftests/powerpc: Purge extra count_pmc() calls of ebb selftests
0450a50c914e scsi: target: Fix xcopy sess release leak
774cc7c882f8 xfs: Don't allow logging of XFS_ISTALE inodes
40b450375c80 scsi: lpfc: Fix shost refcount mismatch when deleting vport
815060a8ec2a drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails
8290f9d4695f drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config
3753eff4c69a drm/amd/display: fix ref count leak in amdgpu_drm_ioctl
c911da7b6673 drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms
40d0bf2b6e99 drm/radeon: fix multiple reference count leak
9c88b27ac444 drm/amdkfd: Fix reference count leaks.
1174ed705dda iommu/iova: Don't BUG on invalid PFNs
f0a066af0f37 mfd: intel-lpss: Add Intel Tiger Lake PCH-H PCI IDs
d98ea48810e6 scsi: target: tcmu: Fix crash on ARM during cmd completion
ab2d90e58ae1 blktrace: ensure our debugfs dir exists
fc93c091de22 media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq()
1dc0ed18219a powerpc/xive: Ignore kmemleak false positives
88eb00cb39ce arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep
d8cc881483d8 mfd: intel-lpss: Add Intel Emmitsburg PCH PCI IDs
fd5908860a17 ASoC: tegra: Fix reference count leaks.
7d60cd2a6e08 ASoC: img-parallel-out: Fix a reference count leak
8150a0e3d796 ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt
a53f67368c98 ALSA: hda/hdmi: Use force connectivity quirk on another HP desktop
348da2f8566b ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged
bcf40820b4fd ALSA: pci: delete repeated words in comments
b45944e2b39e ALSA: hda/hdmi: Add quirk to force connectivity
266d21a57093 ipvlan: fix device features
e1334c4f4aec net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow
97a74349cf82 net: ena: Make missed_tx stat incremental
6c2e795f95cd tipc: fix uninit skb->data in tipc_nl_compat_dumpit()
d429362b3de4 net/smc: Prevent kernel-infoleak in __smc_diag_dump()
4d2fe0addc38 net: sctp: Fix negotiation of the number of data streams.
4ef63e365466 net: qrtr: fix usage of idr in port assignment to socket
4ae9ebf9e8ea net: nexthop: don't allow empty NHA_GROUP
6ed89176755c net: Fix potential wrong skb->protocol in skb_vlan_untag()
b5e34120b06a gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY
730443f4c48a binfmt_flat: revert "binfmt_flat: don't offset the data start"
669fc3b38ce2 powerpc/64s: Don't init FSCR_DSCR in __init_FSCR()
(From OE-Core rev: e4c1ab07a50015fd85b4f5e78b62ac0fdebad969)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 4090a909ade3ac38bb14b978776daffc152f64d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s):
80452c7c245 netfilter: Enable nat for ipv4 and ipv6
(From OE-Core rev: 271ed4e1c3528310518b1729759c92959ac41e8c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 788623ab2913e760da9405de1c3a2633140122eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was pointed out that since the check for the existence of
KBUILD_DEFCONFIG knows where it is looking, that should be part of
the error/log message.
We only look in one location for the defconfigs, so add where we
checked to the message.
(From OE-Core rev: 9f0e7c1a17542aa36d4245f15f6ffbafcbaf9bd3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d4d80be41d273abd1fb6416976603d924457973)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In contrast to 'touching' a file without parameters 'touch -a' can only be
performed by the file owner. In case of a shared sstate-cache served
locally (e.g. over NFS), where the user running bitbake is not the
owner of sstate-cache files, even if he has write access on group level,
the sstate_unpack_package task will fail.
Checking if the file is owned by the user before attempting to run
'touch -a' on it solves this.
(From OE-Core rev: 8e7bb01564d5b06bcbda402cf4d29d7a0ff170c5)
Signed-off-by: Norman Stetter <norman.stetter@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1554e8bd40c640fd58daac18ecf7b458e754109)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are adding a new PACKAGECONFIG option ('rng-tools') to control if we
wish the openssh-sshd to RRECOMMENDS the 'rng-tools' package. We are
enabling it by default so there is no behavior change.
(From OE-Core rev: ff61cf5777c63a7ebecde5ada1cf01d7bafe265d)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe99349c1bd72b69d22ab0dc52b8825d3157b8e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
psplash expects the fifo to be in /run or specified
by PSPLASH_FIFO_DIR. This patch allows psplash to
quit normally. Also, fix the work around of using
echo directly into the fifo and use psplash-write.
(From OE-Core rev: 0f395ab9d276595e75233dbdbb9ebb610bd1d3af)
Signed-off-by: Michael Gloff <mgloff@emacinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b48bbd0a8de17df74d1fae12b5e4eb3c2c0fb90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perf recipe builds fine for musl on ARM.
Fixes: d758a4445a ("packagegroup: Disable packages not available on musl")
(From OE-Core rev: 1edbd19cea9cfaaa10b89d870787c3126b521294)
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a905f66d3a6d9018b18c1a8021c1cb8bf7d12ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An issue was discovered in disable_priv_mode in shell.c in GNU Bash
through 5.0 patch 11. By default, if Bash is run with its effective UID
not equal to its real UID, it will drop privileges by setting its
effective UID to its real UID. However, it does so incorrectly. On Linux
and other systems that support "saved UID" functionality, the saved UID
is not dropped. An attacker with command execution in the shell can use
"enable -f" for runtime loading of a new builtin, which can be a shared
object that calls setuid() and therefore regains privileges. However,
binaries running with an effective UID of 0 are unaffected.
Get the patch from [1] to fix the issue.
[1] https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=951bdaa
(From OE-Core rev: aee0f56a9b3b510649672d0b4427a0e94a001ec4)
Signed-off-by: De Huo <De.Huo@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6f01acae9c279e0a580f46d1ba4c015caa3f8c2c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Host keys are getting bigger and taking an ever increasing amount of time
to generate. Whilst we do need to test that works, we don't need to test
it in every image. Add a recipe which can be added to images with
pre-generated keys, allowing us to speed up tests on the autobuilder
where it makes sense to.
(From OE-Core rev: 130695364281f62b9e00d311c21f7acb5a1204a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6c7d16437cbd5ccbee1b99a2154c33fdbac9299)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Assumptions in the test mean it doesn't work with ssh-pregen-hostkeys.
It also doesn't work with systemd. Update the configuration to make
sure neither of these effect the test.
(From OE-Core rev: 7dc649ba9abef2f9f2f863f568f8f808adbbff38)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e2f277657f1db6a0f805ac07d318a3850535d695)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's pure luck this has worked so far, add a missing space to the append.
(From OE-Core rev: 0c9437beb64aa294a1863de10a6c4b44612fa9e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 793e0575b1cebb953276b5f93ff31e48c19779c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Increase the serial login timeout from 60 to 120s. This seems like a
long time, however for a qemumips image with systemd+PAM and openssh,
(e.g. core-image-sato-sdk + DISTRO=poky-altcfg), the getty connects
to systemd's pam module which waits on logind and 45s for all this
to happen at the same time as things like ssh key generation happens
is not unknown.
Increase the timeout to match the longer times we know these things
can take in the worst case scenarios since we're tired of intermittent
issues related to the serial login affecting the autobuilder.
(From OE-Core rev: 1c5f304ad8d7d5deb85b3a5135556f9e38a9326b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8b4292db741de660f756dfb766210814d587b7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OECORE_NATIVE_SYSROOT is used by tools like oe-run-native and hence
we were seeing selftest failures when newer buildtools-tarballs that
use this were run on the autobuilder.
Unset the variable after use to avoid these issues.
(From OE-Core rev: d00bab16aefb3f200b01ad6baee15bc9cca7b6ce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea5128fde10eb9be7fefbbb87ae6181edd2bcdff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently buildtools has its own hacked environment setup. We added
capability for generic script fragements but this code was never updated
to use it even if several components it contains needs it.
Remove a hardcoded variable in favour of the generic scripts to
avoid bugs in this area in future. The others should probably be
migrated to environment files in future too but there isn't such
a file for those at present.
(From OE-Core rev: b62ced32772d21c689998c5995f31550db51466d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb210cee4bd71614dd108027e6d5aa8f8d451b27)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
as otherwise when using it in combination with archiver.bbclass we would
have 2 methods of the same name but with different signatures
leading to various hard to understand exceptions
(From OE-Core rev: fa240a4d8ede066980cec70f479548d5df502ded)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce0c1cb2fc67881d2edcbe269ea934917ccfb48a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Where we have images with PAM+systemd, serial login can be extremely
slow. The load generated by key generation does slow down the rest
of the boot process.
Lower the priority level of these systemd services, since we'd
prefer to have the rest of the system boot more effectively.
This doesn't "solve" the slow systemd boot issues but does help.
(From OE-Core rev: c5394e65972ac21b1c7f68db100754939ecaef8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 087700665284c08ba846e52b6b86276629f5f1cd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a package QA check to test if the recipe sets ALTERNATIVE variable
for any of its packages, and does not inherit update-alternatives class.
This causes the do_rootfs to fail since a proper alternative cannot be
created.
(From OE-Core rev: 0845f6b09716d927c586be5be878d08fa53b31d1)
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 24b5ccc76d5660fac38ac5346666380a0ecce359)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a package QA check for wether any of the variables used by
features_check.bbclass is set while not inheriting the class itself.
(From OE-Core rev: 02fa8637195447f38b4ce96086197490ce814987)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c06489d102682504afe33f9fee3facd9628b3f57)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't assume that the .la files are installed, because some libtool
alternatives don't install these.
(From OE-Core rev: 07910054c75a084dcfb10c86c1bf69b68989f587)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e545ae3a7961111ceb4e2a468e9ec53cebfed721)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't assume that the .la files are installed, because some libtool
alternatives don't install these.
(From OE-Core rev: d888a11a372be5886c6894e5b38514e44498934d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e92b24368b71e4b178f81097b2a8d141c3b65481)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was always questionable to do this in an anonymous function, but now
with multiconfig it is a critical mistake and leads to more strange
"Exception: sqlite3.OperationalError: disk I/O error" errors.
(From OE-Core rev: 0e11c37e49272b967010df7dcebbe73a76f70edb)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fcbc9d0e8421a3a559db05005ba042337cd5d864)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is used by various pieces of the result handling code, particularly the
performance testing and we're seeing autobuilder failures that are
easiest resolved using this.
Acked-by: Tim Orling <ticotimo@gmail.com>
(From OE-Core rev: 5dc390658f0839911d85fe7f3f3ce8bf006e69eb)
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc6d4d438b71365f5c6f54b8482d4f01f1d0dc8e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is used by some of the results handling code and needed as part of
buildtools tarball on various autobuilder worker for testing.
ptest is disabled for OE-Core, at least for now since it depends on
python3-pytest which in turn has may other dependencies.
Acked-by: Tim Orling <ticotimo@gmail.com>
(From OE-Core rev: cc0f56a788c33ad3fd2bb5402dee497234fb06bb)
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5156e95e9e80e3e0f7eea181cd12f85e03a111d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at
least for now since it depends on python3-pytest which in turn has may other
dependencies.
Acked-by: Tim Orling <ticotimo@gmail.com>
(From OE-Core rev: ec222f6af5f8629453ac8e71a1dd6c44ec9a88c8)
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6f2727fd309b8b46a7ac1b8d99ae1d77a6ee74c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means ot matches the rest of the system rather than causing confusing errors
where multiple python versions are mixed.
(From OE-Core rev: 95d5005828b0d32d610874986fcc298b12347079)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros may not have local.conf, and use auto.conf or site.conf
alone to describe distro config metadata, therefore make code robust
to not fail eSDK builds for such setups
(From OE-Core rev: 554dba802108c91b79acf81c046e6a47815404fb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6379f951ba92b2b86a55de5fc267bacf8c6095d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The VERSION variable is not set unless the
top level Makefile is used as the version is
derived from the Changelog.
If VERSION is not set, none of the binaries built
in the sysvinit recipe will have a valid version
output.
Before:
INIT: version booting
After:
INIT: version 2.96 booting
Using the top level Makefile does not cause any
additional builds to occur.
(From OE-Core rev: c8ad554db100b9fd16097fc8616b2af5390772e7)
Signed-off-by: Michael Gloff <mgloff@emacinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10992ad4f343d0f92d9d6246cc2e58effd3f3eeb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release which includes the following changes:
824551a Prepare 0.3.1
ca6aaa1 Fix file reading/writing when the environment is in EEPROM
a031dea Fix regression in UBI volume support
c91c150 Define SOVERSION to indicate API version
(From OE-Core rev: 2e646f0aca9a0af7e308590117c220c940996d86)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 447eb941ef43cd5af19aed650fb7da718cedda61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It avoids init to crash when kernel cmdline contains a string with
spaces inside, like that:
dyndbg="file drivers/usb/core/hub.c +pltf"
(From OE-Core rev: 16bad6260a6a25b2ec25c7eb0dfe526db56f166e)
Signed-off-by: Christophe Guibout <christophe.guibout@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88b8b94bd2d052bca29d27bd5cd00eddb0f5999d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent commit added single quotes around the sed regex's. This prevented the
expansion of $default_baudrate in do_install(), and ended up with systemd's'
serial-getty@.service file having a literal $default_baudrate.
This broke the serial console getty service.
serial-getty@.service was getting a line which looked like this:
ExecStart=-/sbin/agetty -8 -L %I $default_baudrate $TERM
Rather than:
ExecStart=-/sbin/agetty -8 -L %I 115200 $TERM
Fixed by repacing the single quotes with double quotes in the sed expressions.
(From OE-Core rev: 1cc94a6b9b6a9d12f782471053448ad9795944bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80b721bfa4fe300a2f52f233f44fa2835426d304)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're either hitting rate limiting with freedesktop.org or the
servers have intermittent network connections. Use our own mirror
of these repositories instead.
(Bitbake rev: 18e1957337fd9f06bc673d28dd4f8277321d07bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a1b7ab5c9d5e64969f5ca0e41c0ac13c723e3761)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For example, if you just run 'bitbake cve-update-db-native' in a clean
build system, |cve_tmp_file| won't exist yet.
(From OE-Core rev: b98e50f08b2bcf61fbc75ea1b0ad83a17c0a736a)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd4473f3d8e1c1a587b6de660775e4b46ddc5fad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously CVE_CHECK_DB_FILE / CVE_CHECK_DB_DIR was the same across
multiconfigs which led to a race condition wherein multiple
cve-update-db-native:do_populate_cve_db tasks could attempt to write to
the same sqlite database. This led to the following task failure:
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:do_populate_cve_db(d)
0003:
File: '/mnt/data/agent/work/74f119cccb44f133/yocto/sources/poky/meta/recipes-core/meta/cve-update-db-native.bb', lineno: 103, function: do_populate_cve_db
0099: if year == date.today().year:
0100: cve_f.write('CVE database update : %s\n\n' % date.today())
0101:
0102: cve_f.close()
*** 0103: conn.commit()
0104: conn.close()
0105:}
0106:
0107:def initialize_db(c):
Exception: sqlite3.OperationalError: disk I/O error
Use a lockfile to ensure multiple tasks don't step over each other.
(From OE-Core rev: f08604d27ecacfd37bd37bfaf4c76f17b8f65604)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 24e9380643a2ae3fcae193519cb64aedaf682153)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cve-check file should be saved always, it has good info.
Put a copy in the log dir as cve-summary with symlinks to latest run.
[Yocto #13974]
(From OE-Core rev: 4dab2610a35a998ee0bf5309a0b399ee0d54b4a8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 859849c7b594d844819ad8c3f7d8325388d94b93)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is specific to the npm package that can install cmake, so isn't
relevant to our cmake recipe.
(From OE-Core rev: ad11e4a9afea5a4c9dd34a7fa37b82efd61952a4)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e74ed809ec4c1f61264ecf5be4bc319e5e07766)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid false positives (such as CVE-2010-0734, rubygems:curl), expand
the CVE_PRODUCT list to include all the vendors that have been used.
(From OE-Core rev: 3c0029c9cf22b6983020edf9ce2aeb7b326d8c12)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb265122cccea9466405fdd924ad10ce8cda0dec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog
- Fix issue with uintset and number of bytes copied.
- Fix issue with overflow in DHCP lease T2 computation.
- Fix issue with side channel leak in l_ecc_scalar_new.
- Fix issue with missing MSG_MORE in l_cipher_set_iv.
- Add support for DHCP v6 client implementation.
(From OE-Core rev: deb77c59b9c11738a93fc80c1b256b3df8e14827)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ad8ca257d40f5041b3ec167e4117c687da448a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible some patterns may cause problems with the current path
manipulations, make a small tweak to try and avoid potential pathname
overlap issues.
(From OE-Core rev: b90c8e041a9a2daa9472ed37630d8e0fdec18d36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 889005dc17d3e3b8eadee907ee2c05b8ff613285)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarly to 04ee0e8b95cd8ed890374e0007f976684206b630, ensure only full
build paths are replaced in the environment to avoid breaking buildtools.
(From OE-Core rev: 3be3740d0239f2eb198ccd2b75597cdccbdd1efc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fcd0a9683af1a9155eabbd9056e3b46d4a931b2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Escaping does not work in my use case. It must be escaped for
python, ssh and shell as well as for different versions of echo.
Let's try it a little less elegant, but hopefully more reliable.
(From OE-Core rev: cdbc9bf63b3e1354800032d0dd530949bafb7032)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5cc1ae332eb6b05d83802c8d64ab2767c7079412)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 97b439469a45a089431ca9c31893288c855045f4 added a fallback
mechanism for getting the rootfs timestamp. However, it uses curly
braces around the variable name, which causes bitbake resolve the
variable reference, rather than the shell, so the git timestamp
never gets used. Fix the reference to restore the intent of
making it a fallback for when there is no git timestamp to
retrieve.
(From OE-Core rev: 21d7ab8ce10f6d6a56875244c09dcfebae457b22)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fbcf2c1c255b0c61a795c032cf7b67f5db41baa8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have an issue where qemu is being starved of resources on our autobuilders.
We can't raise its priority without special capacilties, therefore add a hook
which if present can allow this to happen using an executable
"~/runqemu-renice".
(From OE-Core rev: 829443b3fafa000e330c06ebb144641bd2d20ad1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 141a3c9ce93bc3d526303021ecf0460c6e9fea8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depending on nativesdk- varients in a nativesdk build isn't correct, so
just collapse the DEPENDS down and let bitbake do the right thing (which
is leaving them as -native).
(From OE-Core rev: 32902a2763a7557d52bf27f3717b8f9b27275284)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4864167ad4ed4c57e49f2aa5e7c58383bddb052b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file path checks are passed an ELF object if the file is an ELF. It
doesn't make a lot of sense to load symlinks to ELFs as if they're in
the same package then the real file will be checked too.
This should speed up do_package_qa slightly as libraries won't be
scanned repeatedly.
(From OE-Core rev: 0b6f03752e6581a15e5fb900a8de7aef78709ef6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c63af30d3b6350361daff94a59d4f14d7c5395e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Convert the installed-tests toggle from simply respecting PTEST_ENABLED
to a PACKAGECONFIG, so that it can be turned on/off in the usual manner.
(From OE-Core rev: 02a1d8edc42961a4d97e6cd8d6e7cc573e1c1486)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08e61ffae6056055b56f93678bcbb9fd71f3303e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its becomming clear the upstream server doesn't like this, drop these
two urls from the test, not sure we need them here anyway.
(Bitbake rev: 16774d4d41f2011e8db7d2986a1a701df123dfc1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab2ef942dc21f9639793c972f2e546edf9444783)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before this fix, this example basepath (a):
virtual:native:/full/path/to/recipes-example/helloworld/helloworld_1.2.3.bb:do_compile
would get incorrectly "cleaned" into:
helloworld/helloworld_1.2.3.bb:do_compile:virtual:native:/full/path/to/recipes-example/helloworld/helloworld_1.2.3.bb
When searching backwards in `a` trying to isolate the 'virtual:xyz' to add
it to the end of the string, we need to consider `a` still has the recipe
path and taskname. So stoping the rsplit after only 1 split is not enough.
We want to reach the second ':' from the end.
This way, we obtain:
helloworld/helloworld_1.2.3.bb:do_compile:virtual:native
reviewed-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
(Bitbake rev: befc11acd25a9d9a2d44c20a0e33ada740407af7)
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d193d93422a0ad62aa35b5d4ca5da8d422f72180)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages with a runtime dependency on a target package whose name is
changed by the PKG_* mechanism must rebuild when that mapping changes,
but we have no way of tracking this today, so
eg. packagegroup-machine-base ends up with a relationship on a
versioned kernel-image, and does not get rebuilt when that version
changes, leading to unsatisfiable dependency and reproducibility
issue.
OTOH there is no reason for the dependency to get rewritten if the
renamed package already has a RPROVIDES on the non-rewritten package
name, and if the dependency relationship is an unversionned one. This
is what this patch prevents.
Note that this may not cover all cases of rewritten package names.
Notably I had to let the rewrite be done in the case of versionned
dependencies, as package managers usually can follow "Provides" in
such case; this includes many dependencies against shared-lib packages
renamed to their soname, and those at least are OK, since the
dependent recipe should explicitly depend on the target recipe.
(From OE-Core rev: 920beaaeef62b558e046f32c8ef0332250969ef1)
(From OE-Core rev: 210ebed1e9c2285d6e457bf03d1f1a1f3ddc7fda)
Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since 'fido', kernel headers are installed in STAGING_KERNEL_BUILDDIR,
not STAGING_KERNEL_DIR. So this message in the linux-libc-headers
recipe is slightly misleading.
(From OE-Core rev: 83b74458783aac5d1d5a3ea8a31ccb79de3719bc)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bdd06f8ed58ed1c4983f8188e98f1a132da91e3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When failing, give more information about why exactly a failure is
happening such as the PR values in question.
(From OE-Core rev: 86eb281069334020c5fd93ba6fce69c67d7c8056)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bdd3abcc210e8f58b7b411da6bbd9c5314819908)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package contains hard links to a file, the file size is added for
each hard link instead of once for the file. Therefore, the calculated
size may be much larger than the actual package size.
For example, the mesa-megadriver package contains several hard links to
the same library.
Keep track of the inode numbers when listing the files that are
installed and use the actual size only for the first occurrence of an
inode. All further hard links to the same inode are added to the file
list, but accounted with size 0.
All file names need to be added to the file list, because the list is
used for preserving the files/hard links on the target.
(From OE-Core rev: 85b1e835572d184cfff86a87fced8673d1d40a7c)
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 17e92572278980d1a7f06de9d72c68baf57698f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of showing a filename under packages-split, show the package
name and filename inside the package.
(From OE-Core rev: 60b474320e2dd36bff9f0ef5f1dc491cbe734919)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4f78fc65bb0c9bff05651d9e543bab3d75998f79)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix gnu-hash-style check that always returned True after commit [1]
leading to false positive presence of "GNU_HASH" in objdump output.
Fixes: 9ff90bf04a4c ("mips: Enable gnu-hash-style on glibc") [1]
(From OE-Core rev: af265eca8c95ba92718b37e62b5b4eeb2f17668c)
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 996010f1b9ca98592e2c87e1adcb0c79b86517b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redirect stderr to stdout when running subcommands while doing the SDK
tests. The tests will show stdout when CalledProcessError is raised,
but any output to stderr was lost.
(From OE-Core rev: cf6cab12ca7ff40ac484cdaf27ea91ed49b901b0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7cb4e9ab8c1596281060e94a216966060103956e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While enabling systemd, there is QA issue:
...
|ERROR: sysstat-12.4.0-r0 do_package: QA Issue: sysstat: Files/directories
were installed but not shipped in any package:
| /lib/systemd/system-sleep
| /lib/systemd/system-sleep/sysstat.sleep
...
https://www.freedesktop.org/software/systemd/man/systemd-sleep.html
says the files should be dropped into /usr/lib/systemd/system-sleep
(that would be /lib/systemd/system-sleep in our configuration). By
moving the files to another directory they'll be packaged but not
loaded by systemd.
Suggested-by Ross Burton <ross@burtonini.com>
(From OE-Core rev: 89cb403fce24c853be49e4190d2020c6911b6a31)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3bdd40ea09e50067f11c12290ab465a9ef229fc4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
npm changes were merged that require bitbake 1.46.0,
you can't do a recipetool newappend on dunfell otherwise
(From OE-Core rev: 5d8b81fd0f1a25fab6de6e23223e46ec54a8cf66)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot.inc and busybox.inc contain identical copies of this little
helper. They both inherit the cml1 class and use cml1_do_configure
right after having used this helper, and other recipes that want to
write similar logic for doing Kconfig via fragments will also need it
or something equivalent.
(From OE-Core rev: b0fb7f18f9091db50204ef1ebd5248739ddcd6c2)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af687c9137a3e8efe48afa6fd12866cf656ae913)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is based on the patch from Zhaolong Zhang <zhangzl2013@126.com>
[kernel-yocto: checksum indirect cfg and scc files]
While the recommended manner to share/reuse feature fragments is to
maintain them in a kernel-meta repository and track the changes via the
standard SRCREV fetcher mechanism, that method is not always practical
for small sets of features or for quick testing of changes.
These other flows use .scc files on the SRC_URI. It has been noted that
config fragments or other features indirectly included by those .scc
files will not trigger the kernel meta-data to be re-run and hence a
build can continue with stale data (or not be triggered at all).
To solve this issue, we can collect the directories that are searchable
via FILESEXTRAPATHS and add them to the do_kernel_metadata task
checksum.
This allows modifications, additions and removals from the potential
kernel feature directories to trigger a re-execution of the meta data
task.
(From OE-Core rev: e397859ceac42d926134d5cb7828526d8d649c95)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09f4db415fb6a1398e9e9b359630043c833f6118)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I have recipes which use variable inside SRC_URI, e.g.:
ROS_BRANCH ?= "branch=release/melodic/swri_nodelet"
SRC_URI = "git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https"
and devtool modify works fine, but devtool finish fails with:
$ devtool finish --force-patch-refresh swri-nodelet meta-ros/meta-ros1-melodic/
...
Traceback (most recent call last):
File "/OE/openembedded-core/scripts/devtool", line 334, in <module>
ret = main()
File "/OE/openembedded-core/scripts/devtool", line 321, in main
ret = args.func(args, config, basepath, workspace)
File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 2082, in finish
updated, appendfile, removed = _update_recipe(args.recipename, workspace, rd, args.mode, appendlayerdir, wildcard_version=True, no_remove=False, no_report_remove=removing_original, initial_rev=args.initial_rev, dry_run_outdir=dry_run_outdir, no_overrides=args.no_overrides, force_patch_refresh=args.force_patch_refresh)
File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1737, in _update_recipe
mode = _guess_recipe_update_mode(srctree, rd)
File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1721, in _guess_recipe_update_mode
params = bb.fetch.decodeurl(uri)[5]
File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 390, in decodeurl
raise MalformedUrl(url, "The URL: '%s' is invalid: parameter %s does not specify a value (missing '=')" % (url, s))
bb.fetch2.MalformedUrl: The URL: 'git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https' is invalid: parameter ${ROS_BRANCH} does not specify a value (missing '=')
let it expand the SRC_URI before trying to decode it.
(From OE-Core rev: 2de84e6e767d4c3e517d7413a37700bf1991a460)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3535cfdbf3d77f550b804276f957acf859da484f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
emit_pkgdata() creates symlinks for each of the RPROVIDES in
pkgdata/MACHINE/runtime-rprovides. However this string can contain
versions which results in directories called (=2.32), so pass the
RPROVIDES string through bb.utils.explode_deps() to strip the versions
out.
Helps mitigate - but not solve - #13999.
(From OE-Core rev: be88ca5c4bd0dd98d172a53727c7104d46349fdd)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a5395dec34192db233bfb2a060e5ccc99708f03)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a race between do_symlink_kernsrc and do_populate_lic, since
the latter is ordered "after do_patch"; so the two may run in
parallel. In some cases, that actually causes do_populate_lic to fail
if it happens to look for a license file somewhere under ${S} in the
short window after shutil.move and before the symlink has been
created.
Fix that by simply ordering symlink_kernsrc before do_patch. Any task
that pokes around in ${S} looking for files should be ordered after
do_patch, so this should also fix similar latent races with other ad
hoc tasks.
(From OE-Core rev: 914d8a00e34a8edf75a349da6f5978e4ed60e6d5)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5dfc2586b4135cc86e91bb04fed837daf505676)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6576d69aac94 Linux 5.4.61
d316d52742c4 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set
e1818ffcca0e KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
744fde53ec32 xen: don't reschedule in preemption off sections
d6bca2a8f064 mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
42694912aaf1 do_epoll_ctl(): clean the failure exits up a bit
b158e91610c7 epoll: Keep a reference on files added to the check list
5167f194da69 efi: add missed destroy_workqueue when efisubsys_init fails
13b1fc60ecb0 powerpc/pseries: Do not initiate shutdown when system is running on UPS
dafae068886a net: dsa: b53: check for timeout
83236e697f79 hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
2dd00ae408a9 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()
f4adc6430d74 net: ena: Prevent reset after device destruction
f4ed9ede3441 bonding: fix active-backup failover for current ARP slave
542a493c8c5e ARM64: vdso32: Install vdso32 from vdso_install
278eb88ab206 afs: Fix NULL deref in afs_dynroot_depopulate()
140ac9370b16 RDMA/bnxt_re: Do not add user qps to flushlist
dc0d58e281a6 Fix build error when CONFIG_ACPI is not set/enabled:
7cc9812be1c7 efi: avoid error message when booting under Xen
d3ca317cf62a kconfig: qconf: fix signal connection to invalid slots
51d85e70e3ad kconfig: qconf: do not limit the pop-up menu to the first row
da1069e4e727 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe"
6e2aa034d777 kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
46713f3d61b3 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
667a59aa55fb vfio/type1: Add proper error unwind for vfio_iommu_replay()
503176f5dc07 ASoC: intel: Fix memleak in sst_media_open
8aeb112d58c0 ASoC: msm8916-wcd-analog: fix register Interrupt offset
e9849a60facb s390/ptrace: fix storage key handling
d35f24bc566d s390/runtime_instrumentation: fix storage key handling
cc215d206881 bonding: fix a potential double-unregister
8a49739f58f5 can: j1939: add rxtimer for multipacket broadcast session
d7ab964b6ba9 can: j1939: abort multipacket broadcast session when timeout occurs
d0dc3d2c71e2 can: j1939: cancel rxtimer on multipacket broadcast session complete
5159a0a5164b can: j1939: fix support for multipacket broadcast message
5dc0c1c12094 bonding: show saner speed for broadcast mode
1b9dee25ad25 net: fec: correct the error path for regulator disable in probe
c0e04d08e544 i40e: Fix crash during removing i40e driver
e2a8d4423640 i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
154ccf69feca can: j1939: transport: add j1939_session_skb_find_by_offset() function
3bfd1398de6a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack
ff723ef6b7b6 can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
6e0bc946cbee bpf: sock_ops sk access may stomp registers when dst_reg = src_reg
ece9ca5840e0 ASoC: q6routing: add dummy register read/write function
aaa6e691b983 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
233d6f2ab120 spi: stm32: fixes suspend/resume management
666d1d1a0584 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian
3473fa198178 ext4: don't allow overlapping system zones
ea54176e5821 ext4: fix potential negative array index in do_split()
2585402c5799 fs/signalfd.c: fix inconsistent return codes for signalfd4
e4f952b031c1 alpha: fix annotation of io{read,write}{16,32}be()
538c74a9cb26 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
4591461ea9f2 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference
10b2bb101f06 media: camss: fix memory leaks on error handling paths in probe
05724341d9db virtio_ring: Avoid loop when vq is broken in virtqueue_poll
34f8368f6634 scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
28850b8043cc cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0
cca58a166920 swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
2bd8ba398fad ceph: fix use-after-free for fsc->mdsc
2524bb04d81b jffs2: fix UAF problem
04aeb884e8a5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
711f5688bb97 xfs: fix inode quota reservation checks
8fe5e38acbe7 svcrdma: Fix another Receive buffer leak
7aca2f7d1710 m68knommu: fix overwriting of bits in ColdFire V3 cache control
1a718d4caa1a MIPS: Fix unable to reserve memory for Crash kernel
5594a54c520b Input: psmouse - add a newline when printing 'proto' by sysfs
06d4d9acd7d8 media: vpss: clean up resources in init
f948f1d02237 rtc: goldfish: Enable interrupt in set_alarm() when necessary
85ad0d5f3d69 media: budget-core: Improve exception handling in budget_register()
62b8c76d061f scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
59d587cc3640 scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
10e99c3003d5 opp: Enable resources again if they were disabled earlier
52d322f91954 kthread: Do not preempt current task if it is going to call schedule()
504fe0ab2412 drm/amd/display: fix pow() crashing when given base 0
1f3cfa9338c3 drm/amd/display: Fix EDID parsing after resume from suspend
6f3bff30f1cb drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal
f45ab6e7d957 scsi: zfcp: Fix use-after-free in request timeout handlers
b4062a49ad4a jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
2bc54ba65fdc ext4: fix checking of directory entry validity for inline directories
59af0759bd46 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
0cfb9320d00c mm, page_alloc: fix core hung in free_pcppages_bulk()
5663159e2930 mm: include CMA pages in lowmem_reserve at boot
e9e3ec03e6ae uprobes: __replace_page() avoid BUG in munlock_vma_page()
fa2e0d4e4a4c kernel/relay.c: fix memleak on destroy relay channel
19a77c937a19 romfs: fix uninitialized memory leak in romfs_dev_read()
3e538c536f01 spi: Prevent adding devices below an unregistering controller
143df6b3584a can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated
60be1488a3ae can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer()
055c65c7e7dd ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
4fe52a85eeb4 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
84bfb4b10d6f btrfs: add wrapper for transaction abort predicate
745148367b04 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases
de88b7e2f02f btrfs: don't show full path of bind mounts in subvol=
038580b1f58b btrfs: export helpers for subvolume name/id resolution
b40753984979 bcache: avoid nr_stripes overflow in bcache_device_init()
9f4f7c08d50b khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
9a05b774af30 khugepaged: khugepaged_test_exit() check mmget_still_valid()
8043d5ee9168 perf probe: Fix memory leakage when the probe point is not found
888d9b829c25 gfs2: Never call gfs2_block_zero_range with an open transaction
18a640d3b570 gfs2: Improve mmap write vs. punch_hole consistency
e42c75ef3477 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()
62353048e2d4 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
c7d8f67db126 kbuild: replace AS=clang with LLVM_IAS=1
244d9026768d kbuild: remove AS variable
fed06097acce kbuild: remove PYTHON2 variable
fa84d9f31599 x86/boot: kbuild: allow readelf executable to be specified
c173511a12e4 net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware
c7c239c947be net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware
f781285d09a9 Documentation/llvm: fix the name of llvm-size
97eab9af0036 Documentation/llvm: add documentation on building w/ Clang/LLVM
(From OE-Core rev: c5d9e41382e200aad51ba7869f5db931b7eaced5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c67ef9397da5dacaba557956a33c0c457684032)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
77fcb48939fc Linux 5.4.60
53a856c5a6af drm/amd/display: dchubbub p-state warning during surface planes switch
4287c18a7d8f drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume
915ad46bdd4a drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi
f9f53b7c6a81 drm: Added orientation quirk for ASUS tablet model T103HAF
aeec14061d53 drm/panfrost: Use kvfree() to free bo->sgts
a202b42b94bc arm64: dts: marvell: espressobin: add ethernet alias
0f1c938ef82d khugepaged: retract_page_tables() remember to test exit
e47e00559893 sh: landisk: Add missing initialization of sh_io_port_base
64d358a9adb5 perf/x86/rapl: Fix missing psys sysfs attributes
5c90739d36ce tools build feature: Quote CC and CXX for their arguments
45989801d7cf perf bench mem: Always memset source before memcpy
306df54b5b8a ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
8bc48c35a983 crypto: algif_aead - fix uninitialized ctx->init
a23269976109 mfd: dln2: Run event handler loop under spinlock
315b5cbe1aee i2c: iproc: fix race between client unreg and isr
8620d18575af test_kmod: avoid potential double free in trigger_config_run_type()
3457ba1acec2 fs/ufs: avoid potential u32 multiplication overflow
ba40d33e36b2 fs/minix: remove expected error message in block_to_path()
d91005b645d1 fs/minix: fix block limit check for V1 filesystems
6def476496a5 fs/minix: set s_maxbytes correctly
75cf7f895f56 nfs: Fix getxattr kernel panic and memory overflow
d09d6dca89e9 net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init
35b5e689abd9 drm/vmwgfx: Fix two list_for_each loop exit tests
95922cdab4ad drm/vmwgfx: Use correct vmw_legacy_display_unit pointer
1d8dce52a008 recordmcount: Fix build failure on non arm64
f41600c55789 Input: sentelic - fix error return when fsp_reg_write fails
8d7633b5aff9 x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC
8645225c7180 md-cluster: Fix potential error pointer dereference in resize_bitmaps()
3fcd24040f55 watchdog: initialize device before misc_register
9340d8bfec94 nfs: nfs_file_write() should check for writeback errors
da14c05ad875 scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport
c9220ff3b9cc openrisc: Fix oops caused when dumping stack
a6d5c5a398d6 libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr
dfb5d727d721 libnvdimm/security: fix a typo
0c51d8f5c83e clk: bcm2835: Do not use prediv with bcm2711's PLLs
1896dfc97c90 ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename
7dccbf1111bf nfs: ensure correct writeback errors are returned on close()
9153e0d43710 i2c: rcar: avoid race when unregistering slave
4f69483568d6 tools build feature: Use CC and CXX from parent
3d0808f3c7d9 pwm: bcm-iproc: handle clk_get_rate() return
ba2c4d0e720b clk: clk-atlas6: fix return value check in atlas6_clk_init()
c7bd131f4335 clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk
422a01fc23d2 i2c: rcar: slave: only send STOP event when we have been addressed
043bc80399a8 iommu/vt-d: Enforce PASID devTLB field mask
99d1472ba802 clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL
f66d0154ed2f clk: qcom: gcc: fix sm8150 GPU and NPU clocks
a31ac4101981 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx
34c920e2c858 selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value
cf5078181528 selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly
e4a6919c9908 selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code
ea777df6b8b9 clk: actions: Fix h_clk for Actions S500 SoC
0e0a146f978e dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue()
386f82040c84 gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile
0f77e95efd75 gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers
e0a684edf6d7 crypto: caam - Remove broken arc4 support
64563d1dca80 mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete
b638533ec6fa RDMA/counter: Allow manually bind QPs with different pids to same counter
e5a9bb4f1243 RDMA/counter: Only bind user QPs in auto mode
cf304df99fac devres: keep both device name and resource name in pretty name
ddd3934f7b39 crypto: af_alg - Fix regression on empty requests
9705f53eb01a USB: serial: ftdi_sio: clean up receive processing
aeefe7d15cf1 USB: serial: ftdi_sio: make process-packet buffer unsigned
8cab023c03aa selftests/bpf: test_progs use another shell exit on non-actions
de624fbac3eb selftests/bpf: Test_progs indicate to shell on non-actions
95c736a29105 IB/uverbs: Set IOVA on IB MR in uverbs layer
ea1cdb1bb80b media: rockchip: rga: Only set output CSC mode for RGB input
5f51ca677cd2 media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic
0f334b668455 RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah()
5412efa6285a RDMA/ipoib: Return void from ipoib_ib_dev_stop()
ab67471562ad platform/chrome: cros_ec_ishtp: Fix a double-unlock issue
617da16f5ab9 mtd: rawnand: fsl_upm: Remove unused mtd var
e1f2606892f2 octeontx2-af: change (struct qmem)->entry_sz from u8 to u16
368caae37037 mfd: arizona: Ensure 32k clock is put on driver unbind and error
cf368b876f44 crypto: algif_aead - Only wake up when ctx->more is zero
bb0bba78d365 pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ
974ca069d531 orangefs: get rid of knob code...
1752ab50e825 drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()
988fcef346a3 remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load
babd6a4c3336 remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load
73ba6991e981 remoteproc: qcom: q6v5: Update running state before requesting stop
55052ac61cb8 perf intel-pt: Fix duplicate branch after CBR
8214e74b662d perf intel-pt: Fix FUP packet state
169015f464d0 module: Correctly truncate sysfs sections output
54f44e3af24b pseries: Fix 64 bit logical memory block panic
37e3a1c08e2d ceph: handle zero-length feature mask in session messages
8953e8cb0d6a ceph: set sec_context xattr on symlink creation
12badd382453 watchdog: f71808e_wdt: clear watchdog timeout occurred flag
0f35915a0feb watchdog: f71808e_wdt: remove use of wrong watchdog_info option
4699d95a715b watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options
43e172e31bad tracing: Move pipe reference to trace array instead of current_tracer
9aab8b2b0f8f tracing: Use trace_sched_process_free() instead of exit() for pid tracing
bd23940da2d1 tracing/hwlat: Honor the tracing_cpumask
1424f0aa18dc kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler
3a1208574658 ftrace: Setup correct FTRACE_FL_REGS flags for module
b47215b3749a mm/memory_hotplug: fix unpaired mem_hotplug_begin/done
aeeddba9b498 mm/page_counter.c: fix protection usage propagation
bd99ff4dc92b ocfs2: change slot number type s16 to u16
a6b238cac6d3 khugepaged: collapse_pte_mapped_thp() protect the pmd lock
687d366d0db1 khugepaged: collapse_pte_mapped_thp() flush the right range
8cdf68355312 ext2: fix missing percpu_counter_inc
6c7b42c8f01d MIPS: qi_lb60: Fix routing to audio amplifier
59909e23020f MIPS: CPU#0 is not hotpluggable
d3c9e815006e driver core: Avoid binding drivers to dead devices
0cf746d8b052 mac80211: fix misplaced while instead of if
c573e8673dc1 bcache: fix overflow in offset_to_stripe()
42dd8cc9e499 bcache: allocate meta data pages as compound pages
391b5d39faea md/raid5: Fix Force reconstruct-write io stuck in degraded raid5
28163868530b net/compat: Add missing sock updates for SCM_RIGHTS
6ea125ec644b net: stmmac: dwmac1000: provide multicast filter fallback
e92a02e47e16 net: ethernet: stmmac: Disable hardware multicast filter
eca5084aabdf media: vsp1: dl: Fix NULL pointer dereference on unbind
28bbbc45054c pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH
9ba5f37fa353 powerpc: Fix circular dependency between percpu.h and mmu.h
9de20a6c4dd6 powerpc: Allow 4224 bytes of stack expansion for the signal frame
2150c25b76fb powerpc/ptdump: Fix build failure in hashpagetable.c
7a991df9e5cb cifs: Fix leak when handling lease break for cached root fid
545771537ec4 xtensa: fix xtensa_pmu_setup prototype
d1e2ec2e0b7d xtensa: add missing exclusive access state management
5efb3f91403c iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw()
1a5e5b3b7571 dt-bindings: iio: io-channel-mux: Fix compatible string in example code
ab58cc033124 arm64: perf: Correct the event index in sysfs
8c1431221374 btrfs: fix return value mixup in btrfs_get_extent
d256992d5105 btrfs: make sure SB_I_VERSION doesn't get unset by remount
5bed3387c8a1 btrfs: fix memory leaks after failure to lookup checksums during inode logging
f1d21b2688d9 btrfs: inode: fix NULL pointer dereference if inode doesn't need compression
7bbf647dbb5a btrfs: only search for left_info if there is no right_info in try_merge_free_space
38c8255af7d7 btrfs: fix messages after changing compression level by remount
242747612209 btrfs: fix race between page release and a fast fsync
ee6373070108 btrfs: don't WARN if we abort a transaction with EROFS
d8848f4c2555 btrfs: sysfs: use NOFS for device creation
e0e51f4fc488 btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree
2f29a31f394e btrfs: add missing check for nocow and compression inode flags
38ab14b1e27c btrfs: relocation: review the call sites which can be interrupted by signal
ae3f93cafd6f btrfs: move the chunk_mutex in btrfs_read_chunk_tree
98f55cd49671 btrfs: open device without device_list_mutex
3d3452920cac btrfs: don't traverse into the seed devices in show_devname
8bc3a5d8c2ae btrfs: remove no longer needed use of log_writers for the log root tree
938051408905 btrfs: stop incremening log_batch for the log root tree when syncing log
0ddf373adb42 btrfs: ref-verify: fix memory leak in add_block_entry
c16ba06f5204 btrfs: don't allocate anonymous block device for user invisible roots
d2731ac13ca5 btrfs: free anon block device right after subvolume deletion
207659ef151c btrfs: allow use of global block reserve for balance item deletion
7a6fc7c21962 PCI: qcom: Add support for tx term offset for rev 2.1.0
5956d3847502 PCI: qcom: Define some PARF params needed for ipq8064 SoC
588d5cbf4de7 PCI: Add device even if driver attach failed
d7caf80700f2 PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
ae86233204ba PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context()
72ba9d544e60 genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()
a11f42496ac8 genirq/affinity: Make affinity setting if activated opt-in
582ee2cb6f90 smb3: warn on confusing error scenario with sec=krb5
(From OE-Core rev: 5e40a4bcffbd89ff173c2ef95dfa56f79e4b4d14)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05ed88405bdcb0bec513bfd5aaeb652d0fa035fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This mainly aims to involve in the sanity check of UBOOT_CONFIG and
UBOOT_MACHINE, it will throw a error message at recipe parsing time if
neither of them is set, and libubootenv would be skipped.
(From OE-Core rev: 1231b05d149a1a4091a16f3364c12a6547a17f63)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update libubootenv to the latest 0.3 release, which comprises the
following commits:
```
1efed83 Increase max length for device name
6f4fc1c uboot_env: Use canonicalized pathname when reading device
23b3086 Fix bug introduced by commit 52a70114
ed1a53e Dont store to device if no value changes
4a0a466 Merge pull request #7 from TomzBench/cmake-fix
6117831 Added Coverity badge
49372a1 Fix coverity #293496
69a6819 Fix coverity #293503 and #293507
258bf52 Fix coverity #293501
aa52e61 Fix coverity #293505
52a7011 Fix coverity #293504 and #293506
e822218 Fix coverity #293495 and #293497
23b305f Fix coverity #293499
25ef1f6 Add coverity setup for Travis
41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement
86bd30a Restore ability to feed script file via stdin, using `-s -`.
c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP
f4b9cde Allow negative offsets
45bf92a Detect sector size if not found in config
9f59db6 uboot_env: remove unused variables
65d243e README: libubootenv is now in oe-core
ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config
879c073 Do not hardcode path for install
d9c639b libubootenv: add pkg-config support
cc628ee libuboot: wrap libuboot in extern "C" for C++
```
Also add u-boot-default-env to RRECOMMENDS since
/etc/u-boot-initial-env is being referred in libubootenv source, and
turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since
u-boot-default-env is a machine-arch package.
(From OE-Core rev: 921d063aa3d818b163c64899c1e725773adabf30)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02d55cd35aac15095fc44f0cf8f9e7a71638f485)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES.
(From OE-Core rev: 7d9a8ee200fe3439885de9a9ba55def84b2f316b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5e7dc0d68efb2d43bbd5b1be9e6d555fc4456fb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These machines support booting U-Boot, so set the machine appropriately.
(From OE-Core rev: 259653b67810da4085fa78e8e6538651dc19ff3b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b812fad85aed6cb9e433c689f3b14425488dfc68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shortly after the recipe was updated to add ell as a mesh dependency
the way ell was integrated into bluez5 was changed. BlueZ requires
ell only for mesh and for btpclient (external test programs). It will
be ignored unless either mesh or btpclient are selected.
ell can be supplied externally, or it can be copied into the bluez
build directory from an existing sibling source directory. Since
bitbake builds do not provide a sibling source directory tell bluez to
look for it as an external library in the conditions where it's
required.
(From OE-Core rev: a29eac72da3579edd9eebc3358498146000a491a)
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f22b4eba98b3707d7f6daa4277414cecb3e5ee6b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add V=1 to make log.do_compile a bit more useful, with this it shows:
/bin/sh '/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools/perf/trace/beauty/arch_errno_names.sh' x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/recipe-sysroot /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools > /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/trace/beauty/generated/arch_errno_name_array.c
find: unknown predicate `-m64/arch'
x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h'
x86_64-oe-linux-gcc: fatal error: no input files
compilation terminated.
x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h'
x86_64-oe-linux-gcc: fatal error: no input files
compilation terminated.
* apply e4ffd066ff
with sed call to fix this
(From OE-Core rev: 5f41726872d751c3bfe784ca14eca9be4a4e3c4b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c603e6e13e44ae907cf1f04abf6e1babf3d7be26)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix error:
file /usr/include/gpgme.h conflicts between attempted installs of gpgme-dev-1.13.1-r0.core2_64 and lib32-gpgme-dev-1.13.1-r0.core2_32
part of diff:
-#if 64
+#if 0
#ifndef _FILE_OFFSET_BITS
-#error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#error GPGME was compiled with _FILE_OFFSET_BITS = 0, please see the section "Largefile support (LFS)" in the GPGME manual.
#else
-#if (_FILE_OFFSET_BITS) != (64)
-#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#if (_FILE_OFFSET_BITS) != (0)
+#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 0, please see the section "Largefile support (LFS)" in the GPGME manual.
#endif
#endif
#endif
LFS support is enabled by default, and this header is generated during
build according to current configure
(From OE-Core rev: 82df23b088a4844d1f171bfa70c212ff62c3a741)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd056f9c4c22740a4f7ede00c758a21037eae5ca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing package configs to:
- Select shell integration
- Disable screen sharing module (independent from backend)
- Disable jpeg image support
`PACKAGECONFIG` default value is updated to enable these configs, since
they were previously implicitly enabled.
(From OE-Core rev: 156d3e066dbac0986f4f55bef9b2d9922b18e738)
Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f883413b2bc6e7d0bd44ce8324cd36a8fe918e5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add ASSUME_PROVIDED to WICVARS so that wic can use that
when running on bitbake environment.
This fixes the below build failure in do_image_wic
when --include-path is used in wks file.
(From OE-Core rev: 105f352abab0a57d6d3a6cf3d75ba4d895e3c254)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 04068ff19d2c18c3b915aab6832ad4b48affa07f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output was unsorted, so different versions of python, different input
ordering could have have changed the files, and thus changed the hashes
making the system think the output was different, even when unmodified.
(From OE-Core rev: 07d15b83a998d6a80eba2cf8649486bfe302f94d)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23cc846c92219c5cbe3fc6a0024579195d3cbd78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sync up the anonymous python definition with the other package_*.bbclass
files. This should make future maintenance easier, even though it has
no difference in behavior from what was there.
Additional, there was a missing deltask in the nopackages.bbclass related
to the package_tar which has been corrected. This could cause problems on
native recipes when package_tar was enabled.
(From OE-Core rev: 2ac25329fd2efbfdcc2b97948cdcb3402ee497e0)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f87452942f6391a239b50e3f3f9fa100e74a78fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder managed to pass the nographic option with "sdl gl" due
to a problem elsewhere. It would have been useful for runqemu to have
errored rather than passing conflicting options to qemu. Add an
error for this invalid usecase.
(From OE-Core rev: e62c8207fa47ff4e325529ea84e0d51710deaa3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 377a6ffbcba0d3c5ede470c989756c4d1636873f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch enables extra debugging for gpg to try and get more debugging
information when [YOCTO #14003] occurs
(From OE-Core rev: b1fa60c791e759f7171862db68dbad2687e83812)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f24d7be1fb863006b5414fa8f9c9a37bb48d5a6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu help reports that gtk or sdl option is needed with gl or gl-es
option. But if user forgot to add gtk or sdl option, then gl or gl-es
options were silently skipped.
(From OE-Core rev: bec0a45393d968251059f5075add2cf633aecd1a)
Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d1e93d4bf013bb0c48032bfda43f77c5aba9ecf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fix point release for current stable branch
Adam Jackson (1):
Revert "dri2: Don't make reference to noClientException"
Arthur Williams (1):
dix: Check for NULL spriteInfo in GetPairedDevice
Daniel Llewellyn (1):
os: Ignore dying client in ResetCurrentRequest
Dave Airlie (1):
modesetting: remove unnecessary error message, fix zaphod leases
David Seifert (1):
Fix building with `-fno-common`
Dor Askayo (1):
xwayland: clear pixmaps after creation in rootless mode
Eric Anholt (1):
glamor: Fix a compiler warning since the recent OOM fixes.
George Matsumura (1):
Restrict 1x1 pixmap filling optimization to GXcopy
Jon Turney (2):
Add xf86OSInputThreadInit to stub os-support as well
Fix old-style definition warning for xf86OSInputThreadInit()
Jonas Ådahl (1):
xwayland/glamor-gbm: Handle DRM_FORMAT_MOD_INVALID gracefully
Kenneth Graunke (1):
configure: Define GLAMOR_HAS_EGL_QUERY_DRIVER when available
Maarten Lankhorst (1):
modesetting: Disable atomic support by default
Matt Turner (1):
xserver 1.20.8
Michel Dänzer (8):
modesetting: Explicitly #include "mi.h"
xfree86/modes: Bail from xf86RotateRedisplay if pScreen->root is NULL
xwayland: Split up xwl_screen_post_damage into two phases
xwayland: Call glamor_block_handler from xwl_screen_post_damage
xwayland: Add xwl_window_create_frame_callback helper
xwayland: Use single frame callback for Present flips and normal updates
xwayland: Use frame callbacks for Present vblank events
xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window
Paul Kocialkowski (4):
glamor: Propagate FBO allocation failure for picture to texture upload
glamor: Error out on out-of-memory when allocating PBO for FBO access
glamor: Propagate glamor_prepare_access failures in copy helpers
glamor: Fallback to system memory for RW PBO buffer allocation
(From OE-Core rev: 55d6ba6f7635f4939e6dad0bd3f6730a23870238)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e06262ee0eafa4aff6dfcd7bd2fdd62820d5f12)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is maintenance release consolidating the changes introduced
in 9.50. see :
https://www.ghostscript.com/doc/9.52/News.htm
Drop all custom objarch.h files; ghostscript nowadays generates
that with autoconf.
Freetype can no longer be disabled.
Building out of source tree is broken.
Upgrade include several CVE fixes:
CVE-2020-16287
CVE-2020-16288
CVE-2020-16289
CVE-2020-16290
CVE-2020-16291
CVE-2020-16292
CVE-2020-16293
CVE-2020-16294
CVE-2020-16295
CVE-2020-16296
CVE-2020-16297
CVE-2020-16298
CVE-2020-16299
CVE-2020-16300
CVE-2020-16301
CVE-2020-16302
CVE-2020-16303
CVE-2020-16304
CVE-2020-16305
CVE-2020-16308
CVE-2020-16309
CVE-2020-17538
(From OE-Core rev: 1cee5540ca74c38cc483b28f720e345644d6ca9b)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
706efec4c1e2 perf cs-etm: Move definition of 'traceid_list' global variable from header file
(From OE-Core rev: 033e4bdb9f80aed3ba009e105acd5b61a8899626)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e1d8c2099f29b45f1e96d4349731db036fb7548)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing this on the autobuilder when IO load is high. Increase
the timeout to give this a better chance of working out ok since
there is no particular reason we only need to wait 5s and searching
for files is IO sensitive.
[YOCTO #14001]
(From OE-Core rev: c0292d36dc79d0b1864eccddaa48b033c183d2dc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c847ed207795bc03f791ee5a3348fa5860c53e70)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d9939285fc81 Linux 5.4.57
ca7ace8fd26d bpf: sockmap: Require attach_bpf_fd when detaching a program
9fe975acb53f selftests: bpf: Fix detach from sockmap tests
c77610435355 ext4: fix direct I/O read error
6330b0cb2ace arm64: Workaround circular dependency in pointer_auth.h
f06d60ff794a random32: move the pseudo-random 32-bit definitions to prandom.h
c131009987f2 random32: remove net_rand_state from the latent entropy gcc plugin
7471f3228e7a random: fix circular include dependency on arm64 after addition of percpu.h
50bf89625bba ARM: percpu.h: fix build error
c15a77bdda2c random32: update the net random state on interrupt and activity
(From OE-Core rev: 553a96644957ca6ad0f13b75a6e3a596357d1d52)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00ea26a7e535c70998a5b9228185403e3f440042)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
1b940bbc5c55 Linux 5.4.56
df35e878d0a5 perf bench: Share some global variables to fix build with gcc 10
702d1b287fd2 perf env: Do not return pointers to local variables
73d2d6b421df perf tests bp_account: Make global variable static
39568546706f x86/i8259: Use printk_deferred() to prevent deadlock
01ac46c6baf0 KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled
fd412846a6ec KVM: arm64: Don't inherit exec permission across page-table levels
1aff51292ee8 drivers/net/wan: lapb: Corrected the usage of skb_cow
f88c909dc28c RISC-V: Set maximum number of mapped pages correctly
e3043abb5baa xen-netfront: fix potential deadlock in xennet_remove()
a7b488d65d39 cxgb4: add missing release on skb in uld_send()
5f4e6b874b57 x86/stacktrace: Fix reliable check for empty user task stacks
32344d2993b0 x86/unwind/orc: Fix ORC for newly forked tasks
a14d6a9ddf33 Revert "i2c: cadence: Fix the hold bit setting"
df366abb9c8f net: ethernet: ravb: exit if re-initialization fails in tx timeout
ac7c3b8f34ec parisc: add support for cmpxchg on u8 pointers
a0ba41317c89 scsi: core: Run queue in case of I/O resource contention failure
0ac155dcf048 nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame
50c5f89637bc selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support
78c7532b80c6 qed: Disable "MFW indication via attention" SPAM every 5 minutes
6e4620df9cbc selftests: fib_nexthop_multiprefix: fix cleanup() netns deletion
5b235c1d9022 usb: hso: Fix debug compile warning on sparc32
cac2b7ad0915 vxlan: fix memleak of fdb
1df0000b30cd perf tools: Fix record failure when mixed with ARM SPE event
568995fb61e7 net/mlx5e: fix bpf_prog reference count leaks in mlx5e_alloc_rq
e68b7b9b03fb net: gemini: Fix missing clk_disable_unprepare() in error path of gemini_ethernet_port_probe()
1158aa743a0b net: nixge: fix potential memory leak in nixge_probe()
9acd96f14a49 Bluetooth: fix kernel oops in store_pending_adv_report
3bb2f52ad9e7 arm64: csum: Fix handling of bad packets
8a90b436a0c9 arm64/alternatives: move length validation inside the subsection
4a50753aacb5 mac80211: mesh: Free pending skb when destroying a mpath
3f15e3e62c80 mac80211: mesh: Free ie data when leaving mesh
fe58e3dd6e11 bpf: Fix map leak in HASH_OF_MAPS map
43c390b751ba ibmvnic: Fix IRQ mapping disposal in error path
ea559138b331 mlxsw: core: Free EMAD transactions using kfree_rcu()
57f498ced731 mlxsw: core: Increase scope of RCU read-side critical section
0f424eda4705 mlx4: disable device on shutdown
c3883876d3f1 rhashtable: Fix unprotected RCU dereference in __rht_ptr
b1d629d32910 net: lan78xx: fix transfer-buffer memory leak
9db3040eb952 net: lan78xx: add missing endpoint sanity check
32ec4441cca1 net/mlx5e: Fix kernel crash when setting vf VLANID on a VF dev
475cbcef491a net/mlx5e: Modify uplink state on interface up/down
43608372b84d net/mlx5: Verify Hardware supports requested ptp function on a given pin
8901896f69d4 net/mlx5e: Fix error path of device attach
00bedd730d1f net/mlx5: E-switch, Destroy TSAR when fail to enable the mode
d70f9a3cc32c net: hns3: fix aRFS FD rules leftover after add a user FD rule
475b8d619268 net: hns3: fix a TX timeout issue
5fc02e8d1bfd sh: Fix validation of system call number
2f2674997dfb sh/tlb: Fix PGTABLE_LEVELS > 2
222dbeca05fb selftests/net: so_txtime: fix clang issues for target arch PowerPC
d817b2c8d3cf selftests/net: psock_fanout: fix clang issues for target arch PowerPC
22f84cce9527 selftests/net: rxtimestamp: fix clang issues for target arch PowerPC
831c904a0f68 nvme-tcp: fix possible hang waiting for icresp response
9a1d0084cbe1 ARM: dts: armada-38x: fix NETA lockup when repeatedly switching speeds
731e013e33b3 xfrm: Fix crash when the hold queue is used.
a4c902887f1d ARM: dts sunxi: Relax a bit the CMA pool allocation range
0307da686660 xfrm: policy: match with both mark and mask on user interfaces
bbb13adb07af net/x25: Fix null-ptr-deref in x25_disconnect
69cd304cfa5c net/x25: Fix x25_neigh refcnt leak when x25 disconnect
c2fd34d43110 libtraceevent: Fix build with binutils 2.35
2ec69499b758 rds: Prevent kernel-infoleak in rds_notify_queue_get()
6a9428427da1 drm: hold gem reference until object is no longer accessed
7eef3b463d88 drm/dbi: Fix SPI Type 1 (9-bit) transfer
8ea180f1c7ec drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()
f1b4bdde2bdc drm/amd/display: Clear dm_state for fast updates
22d3202e51a7 Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers"
cea6633d5382 virtio_balloon: fix up endian-ness for free cmd id
c2f787f904e0 ARM: dts: imx6qdl-icore: Fix OTG_ID pin and sdcard detect
b9274613114a ARM: dts: imx6sx-sdb: Fix the phy-mode on fec2
c4738c67a569 ARM: dts: imx6sx-sabreauto: Fix the phy-mode on fec2
3b7e4a5ba95d ARM: 8986/1: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
b8fa0b037047 wireless: Use offsetof instead of custom macro.
d3472f74d229 9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work
96f105943cff vhost/scsi: fix up req type endian-ness
951117a2079b IB/rdmavt: Fix RQ counting issues causing use of an invalid RWQE
dc731d262811 ALSA: hda/hdmi: Fix keep_power assignment for non-component devices
6a67b05c6f30 ALSA: hda/realtek - Fixed HP right speaker no sound
09832a9e0b76 ALSA: hda/realtek: Fix add a "ultra_low_power" function for intel reference board (alc256)
e9f147c937a5 ALSA: hda/realtek: typo_fix: enable headset mic of ASUS ROG Zephyrus G14(GA401) series with ALC289
cd76d30f51fb ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G15(GA502) series with ALC289
6d84a8cf8a02 ALSA: usb-audio: Add implicit feedback quirk for SSL2
47e20933814f mm/filemap.c: don't bother dropping mmap_sem for zero size readahead
140210554274 PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge
2ff65580d477 ath10k: enable transmit data ack RSSI for QCA9884
98cef10fbcca sunrpc: check that domain table is empty at module unload.
84da97713b91 media: rc: prevent memory leak in cx23888_ir_probe
ecfa7fa198fc crypto: ccp - Release all allocated memory if sha type is invalid
169b93899c7d Linux 5.4.55
909dbf09cd01 Revert "dpaa_eth: fix usage as DSA master, try 3"
4918285a6c7d PM: wakeup: Show statistics for deleted wakeup sources again
59242fa1d2ba regmap: debugfs: check count when read regmap file
df89c1ee034c udp: Improve load balancing for SO_REUSEPORT.
6735c126d272 udp: Copy has_conns in reuseport_grow().
86512c6938a9 sctp: shrink stream outq when fails to do addstream reconf
46e7c7efc30d sctp: shrink stream outq only when new outcnt < old outcnt
bbf6af4a938a AX.25: Prevent integer overflows in connect and sendmsg
182ffc66456b tcp: allow at most one TLP probe per flight
e2f904fd79a0 rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
01c928350641 rtnetlink: Fix memory(net_device) leak when ->newlink fails
b7d3d6df72a8 qrtr: orphan socket in qrtr_release()
2bf797a8691a net: udp: Fix wrong clean up for IS_UDPLITE macro
274b40b6df6c net-sysfs: add a newline when printing 'tx_timeout' by sysfs
8d9f13dd400c ip6_gre: fix null-ptr-deref in ip6gre_init_net()
fbcd85cd11de drivers/net/wan/x25_asy: Fix to make it work
d109acd58052 dev: Defer free of skbs in flush_backlog
52aeeec1a635 AX.25: Prevent out-of-bounds read in ax25_sendmsg()
2f1624faf647 AX.25: Fix out-of-bounds read in ax25_connect()
(From OE-Core rev: 27e82a421ec4614bff2841734fa19c1ec455ae3b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9b3ecf377a1c01979311dc7082c401c957ca6ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
2739bdb0bfa0 Linux 5.4.54-rt32
0124e412ea96 Linux 5.4.52-rt31
d85676a72421 Linux 5.4.49-rt30
72bbd8083a44 Linux 5.4.48-rt29
(From OE-Core rev: 7c4b2aa7f1b4d047a552072924fb97762d776803)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b21783c173594e5dac3c437e290b26643382c2e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes security Fixes for CVE-2020-14039 and CVE-2020-15586
(cherry picked from commit 97d5c2d1f2dffe2518f46bbe57cb9348eb59c633)
(cherry picked from commit 6591d269792fe864d7af4e379035f1cebc4510f5)
(cherry picked from commit c9011d04eb624aeabf5d707e88de80137bcc2eb1)
(From OE-Core rev: e33d2ddaa6c8945227a5bbf4e96d63606d0fab38)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not have explicit patch to mark it and cve checker gets confused,
so help it out
(From OE-Core rev: 17c654c34d59b1491f41fc328222697f407c23b1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently uninative handles SOURCE_MIRROR_URL but not generic PREMIRRORS.
It can handle this better, attempt to iterate PREMIRRORS entries.
(From OE-Core rev: b95d6aeafb70765e22d2e1254e749a48f508d489)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6426c952b5ade48ea94fb647efc464e603989b97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows using these tags for classification and filtering of test results
according to various organization-specific criteria, such as teams
responsible for the test, internal test ids, feature domains and so on.
Test name itself meanwhile can stay short and human-readable.
(From OE-Core rev: 3801b126eb52cd46efe417111afcd27f05d8f72b)
(From OE-Core rev: 9eaf11657cc8304af5cb75f98decbc64cca37801)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is useful when tests misbehave and get stuck, or when
a significant increase in testing time is undesirable and
needs to be caught automatically.
(From OE-Core rev: d77546e910ad9048f0057f4465716d417b810065)
(From OE-Core rev: eb57207f983b454dbdf2321da330fc1ec8a8bcbf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
allarch is missing in ttf-bitstream-vera recipe. Add it and include the
recipe in the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS list.
(From OE-Core rev: 0d4e96b444931f84f93ca08fe238b5a3b35ce7b1)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31c02477a4fb91f19f8c3ef3f8bc9a20e416c859)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #13802]
Make the scp failure non-fatal so the ltp tests continue to run and
the rest of the logs will be available to see afterwards.
(From OE-Core rev: 9390846e2abdd6837094a619ba4703a1be4a04cf)
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0f7d093038274f4f21f6cca39a96aac4f6c32ee3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a build-time race condition that resulted in intermittent build
failures in the do_assemble_fitimage task. The race condition involved
the do_assemble_fitimage task reading the vmlinux file while the
do_compile_kernelmodules task was re-writing the vmlinux file.
This can be seen with an aarch64 image build that uses a 5.4 based
kernel and sets KERNEL_DEVICETREE. The problem is that the do_compile
snippet that the kernel-devicetree class appends did not specify the
full kernel build environment when building the DTB(s) from the kernel
tree. This resulted in CONFIG_CC_CAN_LINK=y being removed from the
kernel config file just before the do_compile task completed. The
CONFIG_CC_CAN_LINK=y line was then re-inserted into the kernel config
file as part of the do_compile_kernelmodules task.
In some cases, this resulted in the do_compile_kernelmodules task to
re-link vmlinux which sometimes occured at the same time that the
do_assemble_fitimage task was attempting to use vmlinux. The
do_assemble_fitimage task would fail with the following error message:
aarch64-poky-linux-objcopy:vmlinux: file format not recognized
We can use the pine-a64-lts machine, from the meta-pine64 layer, to show
that the kernel config file was changed between do_compile and
do_compile_kernelmodules:
$ C=tmp/work/pine_a64_lts-poky-linux/linux-pine64/5.7+gitAUTOINC+ae03bade3b-r0/linux-pine_a64_lts-standard-build/.config
$ bitbake -c do_kernel_configcheck virtual/kernel
...
$ md5sum $C; grep CC_CAN_LINK $C
32b133cf8a749a91f698a7ca8616c84f ...
CONFIG_CC_CAN_LINK=y
$ bitbake -c do_compile virtual/kernel
...
$ md5sum $C; grep CC_CAN_LINK $C
2fd2ec2a66eecc329dcb5afaf005eada ...
$ bitbake -c do_compile_kernelmodules virtual/kernel
...
$ md5sum $C; grep CC_CAN_LINK $C
32b133cf8a749a91f698a7ca8616c84f ...
CONFIG_CC_CAN_LINK=y
With this change, the do_compile snippet appended by the
kernel-devicetree class does not modify the kernel config. The kernel
config is unchanged across the do_compile and do_compile_kernelmodules
tasks and do_compile_kernelmodules will not attempt to re-link vmlinux.
(From OE-Core rev: 7c1fff00b7268d518afa87078bdc781324c63d03)
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74619de0277471f446bf7a719f4c445359c823f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
1fe4ee7f680c libtraceevent: Fix build with binutils 2.35
(From OE-Core rev: baa5713a04a6715ddbb0be5e05f371266d943169)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69faa62d840330f573101245e0aa3fed17984b70)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d811d29517d1 Linux 5.4.53
e6c19fa5b6c6 gpio: pca953x: disable regmap locking for automatic address incrementing
411c80267541 drm/i915/gvt: Fix two CFL MMIO handling caused by regression.
517708c47c66 iommu/vt-d: Make Intel SVM code 64-bit only
41389f739a5e ionic: export features for vlans to use
5d7e2852d7e6 spi: sprd: switch the sequence of setting WDG_LOAD_LOW and _HIGH
1245a1e0e1c3 rxrpc: Fix trace string
07253d24cda3 libceph: don't omit recovery_deletes in target_copy()
d2ccad3c9ce9 block: fix get_max_segment_size() overflow on 32bit arch
310d75f274d5 block: fix splitting segments on boundary masks
f2e57ed2f3f8 drm/i915/gt: Ignore irq enabling on the virtual engines
64a17e1da02a drm/amdgpu/sdma5: fix wptr overwritten in ->get_wptr()
9f8d3d2f79ba genirq/affinity: Handle affinity setting on inactive interrupts correctly
6aae92ed2c42 sched/fair: handle case of task_h_load() returning 0
b5b774918816 sched: Fix unreliable rseq cpu_id for new tasks
5c2450ac7c7a arm64: compat: Ensure upper 32 bits of x0 are zero on syscall return
ed766e740cc9 arm64: ptrace: Consistently use pseudo-singlestep exceptions
bdb71132992b arm64: ptrace: Override SPSR.SS when single-stepping is enabled
d3b7bacd1115 thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power
025cec59aa17 thermal: int3403_thermal: Downgrade error message
0ab6b541c6f8 misc: atmel-ssc: lock with mutex instead of spinlock
746930d17d14 dmaengine: fsl-edma-common: correct DSIZE_32BYTE
5f3fcbf5b57f dmaengine: mcf-edma: Fix NULL pointer exception in mcf_edma_tx_handler
9464956544be dmaengine: fsl-edma: Fix NULL pointer exception in fsl_edma_tx_handler
8fd0d8536805 intel_th: Fix a NULL dereference when hub driver is not loaded
55d7092cc8f5 intel_th: pci: Add Emmitsburg PCH support
905f20f4946a intel_th: pci: Add Tiger Lake PCH-H support
5c698cc5b6f4 intel_th: pci: Add Jasper Lake CPU support
c5ce2060f487 powerpc/pseries/svm: Fix incorrect check for shared_lppaca_size
93d1e96b98b2 powerpc/book3s64/pkeys: Fix pkey_access_permitted() for execute disable pkey
d6a76f8eee21 hwmon: (emc2103) fix unable to change fan pwm1_enable attribute
9125d5762590 riscv: use 16KB kernel stack on 64-bit
c28501385945 timer: Fix wheel index calculation on last level
6c2388e2a12b timer: Prevent base->clk from moving backward
e9506de7b305 scsi: megaraid_sas: Remove undefined ENABLE_IRQ_POLL macro
acd3901a62f6 uio_pdrv_genirq: fix use without device tree and no interrupt
17268122ba5e uio_pdrv_genirq: Remove warning when irq is not specified
97f1aecb80e9 Input: elan_i2c - add more hardware ID for Lenovo laptops
1fb81fe5e180 Input: i8042 - add Lenovo XiaoXin Air 12 to i8042 nomux list
62dd03054918 mei: bus: don't clean driver pointer
72648019cd52 Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()"
4dd2ad686704 fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS
e8f32a9f5aeb fuse: use ->reconfigure() instead of ->remount_fs()
f96ce4be463a fuse: ignore 'data' argument of mount(..., MS_REMOUNT)
09b696bd2149 ovl: fix unneeded call to ovl_change_flags()
93f75b0f0d3b ovl: relax WARN_ON() when decoding lower directory file handle
6270654c7de9 ovl: inode reference leak in ovl_is_inuse true case.
4996065307c8 ovl: fix regression with re-formatted lower squashfs
2cd065b91681 serial: mxs-auart: add missed iounmap() in probe failure and remove
752641ba871a virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc serial
8f4c040f45b9 Revert "tty: xilinx_uartps: Fix missing id assignment to the console"
1bc2c30d861c virt: vbox: Fix guest capabilities mask check
78d85ca8300e virt: vbox: Fix VBGL_IOCTL_VMMDEV_REQUEST_BIG and _LOG req numbers to match upstream
cc894ec456c1 USB: serial: option: add Quectel EG95 LTE modem
4eaf06c9bd35 USB: serial: option: add GosunCn GM500 series
dcc1df3cdb04 USB: serial: ch341: add new Product ID for CH340
dff0a4f024fc USB: serial: cypress_m8: enable Simply Automated UPB PIM
18059e953e1f USB: serial: iuu_phoenix: fix memory corruption
72596d0b2acd usb: gadget: function: fix missing spinlock in f_uac1_legacy
01512075a387 usb: chipidea: core: add wakeup support for extcon
3dd890afedbf usb: dwc2: Fix shutdown callback in platform
4f0addeba0c0 USB: c67x00: fix use after free in c67x00_giveback_urb
bd422c7fb477 ALSA: hda/realtek - Enable Speaker for ASUS UX563
63d318f05e67 ALSA: hda/realtek - Enable Speaker for ASUS UX533 and UX534
e7bafe0c94cc ALSA: hda/realtek: Enable headset mic of Acer TravelMate B311R-31 with ALC256
4181b271908a ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G14(G401) series with ALC289
246b9693026a ALSA: hda/realtek - change to suitable link model for ASUS platform
71319db6f3b1 ALSA: usb-audio: Fix race against the error recovery URB submission
25fd7ee3baeb ALSA: line6: Sync the pending work cancel at disconnection
91a6d4049c58 ALSA: line6: Perform sanity check for each URB creation
212425802dc6 HID: quirks: Ignore Simply Automated UPB PIM
c0188ab5bc31 HID: quirks: Always poll Obins Anne Pro 2 keyboard
e93ab4628452 HID: magicmouse: do not set up autorepeat
bc94605df1f9 HID: logitech-hidpp: avoid repeated "multiplier = " log messages
7c4e6cfd922c slimbus: core: Fix mismatch in of_node_get/put
93b57bf835d2 clk: qcom: gcc: Add missing UFS clocks for SM8150
cb7b7928310f clk: qcom: gcc: Add GPU and NPU clocks for SM8150
cc490ea23f33 mtd: rawnand: oxnas: Release all devices in the _remove() path
f8a2658d0fd7 mtd: rawnand: oxnas: Unregister all devices on error
4682749ce329 mtd: rawnand: oxnas: Keep track of registered devices
8463054e3d4e mtd: rawnand: brcmnand: fix CS0 layout
ee73c81e386d mtd: rawnand: brcmnand: correctly verify erased pages
e9f5e16f3228 mtd: rawnand: timings: Fix default tR_max and tCCS_min timings
f1ad0fc9de60 mtd: rawnand: marvell: Fix probe error path
be953ad71ce9 mtd: rawnand: marvell: Use nand_cleanup() when the device is not yet registered
5f59ce425f78 mtd: rawnand: marvell: Fix the condition on a return code
eec70178983f RDMA/mlx5: Verify that QP is created with RQ or SQ
6b1aaceb0dab soc: qcom: rpmh-rsc: Allow using free WAKE TCS for active request
e65ee5ad8903 soc: qcom: rpmh-rsc: Clear active mode configuration for wake TCS
9e56b18ca5a3 soc: qcom: rpmh: Invalidate SLEEP and WAKE TCSes before flushing new data
9edb7370f893 soc: qcom: rpmh: Update dirty flag only when data changes
033f56f7d3d6 perf stat: Zero all the 'ena' and 'run' array slot stats for interval mode
c2e29cac6d89 PCI/PM: Call .bridge_d3() hook only if non-NULL
d950d2e79f0f habanalabs: Align protection bits configuration of all TPCs
d79e57db4544 apparmor: ensure that dfa state tables have entries
b7d9b78ab901 soc: qcom: socinfo: add missing soc_id sysfs entry
8eeebe37c64e arm: dts: mt7623: add phy-mode property for gmac2
742b79562142 copy_xstate_to_kernel: Fix typo which caused GDB regression
319c3c7980c7 regmap: debugfs: Don't sleep while atomic for fast_io regmaps
f62d7f91afa2 keys: asymmetric: fix error return code in software_key_query()
c5acd9395d41 arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema
2e224b5d3149 ARM: dts: socfpga: Align L2 cache-controller nodename with dtschema
c8a4452da9f4 xprtrdma: fix incorrect header size calculations
a75a8aabb2f4 Revert "thermal: mediatek: fix register index error"
cc3188b3bab2 ARM: dts: Fix dcan driver probe failed on am437x platform
408ef501b894 fuse: don't ignore errors from fuse_writepages_fill()
9b810684b1da NFS: Fix interrupted slots by sending a solo SEQUENCE operation
dc92d84b371f clk: AST2600: Add mux for EMMC clock
0392f18139aa clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER
36e6ac265fc0 staging: comedi: verify array index is correct before using it
62013d49bcf6 usb: gadget: udc: atmel: fix uninitialized read in debug printk
e435865c783f spi: spi-sun6i: sun6i_spi_transfer_one(): fix setting of clock rate
f979982feb03 dmaengine: dmatest: stop completed threads when running without set channel
e6b46f01d995 dmaengine: dw: Initialize channel before each transfer
a6fe5dde5343 iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()'
28be430bbf13 bus: ti-sysc: Do not disable on suspend for no-idle
47ba42786d14 bus: ti-sysc: Fix sleeping function called from invalid context for RTC quirk
5a23897f7a41 bus: ti-sysc: Fix wakeirq sleeping function called from invalid context
b2c7d6ce2d5e arm64: dts: meson-gxl-s805x: reduce initial Mali450 core frequency
cbd8c92a8d51 arm64: dts: meson: add missing gxl rng clock
1d08f59081e5 phy: sun4i-usb: fix dereference of pointer phy0 before it is null checked
684a5568df11 dmaengine: sh: usb-dmac: set tx_result parameters
f5c6ebd5146e soundwire: intel: fix memory leak with devm_kasprintf
7005a4885a29 iio:health:afe4404 Fix timestamp alignment and prevent data leak.
ba3788d243cf ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Flight S
1510d8ab7bc9 bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit
7637bba4c621 ACPI: video: Use native backlight on Acer TravelMate 5735Z
0a330aa202c9 Input: mms114 - add extra compatible for mms345l
75ff2767e85c ALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2
695fcb612bf1 ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Alpha S
18f2cbb28730 ACPI: video: Use native backlight on Acer Aspire 5783z
dc1e4db658a6 ALSA: usb-audio: Rewrite registration quirk handling
592b179fa149 mmc: sdhci: do not enable card detect interrupt for gpio cd type
e60b02922876 doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode
54100aa32f66 ALSA: usb-audio: Create a registration quirk for Kingston HyperX Amp (0951:16d8)
35aef79e81a1 Input: goodix - fix touch coordinates on Cube I15-TC
9c16b5e8b5d9 ALSA: usb-audio: Add support for MOTU MicroBook IIc
d70a6425a6e2 bus: ti-sysc: Detect EDMA and set quirk flags for tptc
d09e12709acd arm64: dts: g12-common: add parkmode_disable_ss_quirk on DWC3 controller
234021eaddcb bus: ti-sysc: Detect display subsystem related devices
e7e98dd42aae bus: ti-sysc: Handle module unlock quirk needed for some RTC
e2c37939a795 bus: ti-sysc: Consider non-existing registers too when matching quirks
f7280837df83 bus: ti-sysc: Rename clk related quirks to pre_reset and post_reset quirks
69fbdbb4fa0c scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled
23a609417361 drm/sun4i: tcon: Separate quirks for tcon0 and tcon1 on A20
de6d9aa5f7c1 ARM: at91: pm: add quirk for sam9x60's ulp1
4301497fdc68 HID: quirks: Remove ITE 8595 entry from hid_have_special_driver
1c96af59a904 mmc: mmci: Support any block sizes for ux500v2 and qcom variant
cf911ee9f49d ARM: OMAP2+: use separate IOMMU pdata to fix DRA7 IPU1 boot
3ea583b09537 ARM: OMAP2+: Add workaround for DRA7 DSP MStandby errata i879
8d158e3453eb ARM: OMAP4+: remove pdata quirks for omap4+ iommus
370cc95c00ae net: sfp: add some quirks for GPON modules
17918c99abc1 net: sfp: add support for module quirks
11a6ff1df31e Revert "usb/xhci-plat: Set PM runtime as active on resume"
4cf55dcd4fa4 Revert "usb/ehci-platform: Set PM runtime as active on resume"
add6b48ad376 Revert "usb/ohci-platform: Fix a warning when hibernating"
267516d7009e net: ethernet: mvneta: Add back interface mode validation
beee39d71e87 net: ethernet: mvneta: Do not error out in non serdes modes
131ab7a0cdb8 net: macb: call pm_runtime_put_sync on failure path
fefc7580af39 of: of_mdio: Correct loop scanning logic
3f2f3edcc075 net: dsa: bcm_sf2: Fix node reference count
cb2801017057 spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer
baf22f66c9cf iio:health:afe4403 Fix timestamp alignment and prevent data leak.
5f8fe8ab4463 iio:pressure:ms5611 Fix buffer element alignment
5a6378911f22 iio:humidity:hts221 Fix alignment and data leak issues
74953efffb3d iio: pressure: zpa2326: handle pm_runtime_get_sync failure
4ecff6ee264f iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe()
b4172e024d48 iio: core: add missing IIO_MOD_H2/ETHANOL string identifiers
ead750685280 iio: magnetometer: ak8974: Fix runtime PM imbalance on error
0b16921edc61 iio:humidity:hdc100x Fix alignment and data leak issues
7cc8cad2bef9 iio:magnetometer:ak8974: Fix alignment and data leak issues
4c7924060fe0 arm64/alternatives: don't patch up internal branches
77a181fba1e5 i2c: eg20t: Load module automatically if ID matches
27874115b059 gfs2: read-only mounts should grab the sd_freeze_gl glock
827139ad9db5 tpm_tis: extra chip->ops check on error path in tpm_tis_core_init
a8f13826f9c6 arm64/alternatives: use subsections for replacement sequences
91e81d2262e7 cifs: prevent truncation from long to int in wait_for_free_credits
43046f786714 dt-bindings: mailbox: zynqmp_ipi: fix unit address
ea9d6016b1a4 m68k: mm: fix node memblock init
560dbf34dec8 m68k: nommu: register start of the memory with memblock
c3adbd37c054 blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags
9025a5589c03 thermal/drivers: imx: Fix missing of_node_put() at probe time
c4db485dd3f2 x86/fpu: Reset MXCSR to default in kernel_fpu_begin()
d2bfb9eb439c drm/exynos: fix ref count leak in mic_pre_enable
f886b67c6b28 drm/exynos: Properly propagate return value in drm_iommu_attach_device()
0885be75f1be drm/msm/dpu: allow initialization of encoder locks during encoder init
5d6891a5a627 drm/msm: fix potential memleak in error branch
f608a77e0cc9 arm64: arch_timer: Disable the compat vdso for cores affected by ARM64_WORKAROUND_1418040
86e3c7c70c63 arm64: arch_timer: Allow an workaround descriptor to disable compat vdso
71d65a3fc628 arm64: Introduce a way to disable the 32bit vdso
36d60eba862d ip: Fix SO_MARK in RST, ACK and ICMP packets
38b122c0af04 cgroup: Fix sock_cgroup_data on big-endian.
94886c86e833 cgroup: fix cgroup_sk_alloc() for sk_clone_lock()
171644727abf tcp: md5: allow changing MD5 keys in all socket states
8ee263bd11af tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriers
30d015f5ecd9 vlan: consolidate VLAN parsing code and limit max parsing depth
f40c3a8438fc tcp: md5: do not send silly options in SYNCOOKIES
1c8bad567b5d tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_hash_key()
f52293aefe18 tcp: make sure listeners don't initialize congestion-control state
7eec9f331223 tcp: fix SO_RCVLOWAT possible hangs under high mem pressure
9b7fd81cf9b6 sched: consistently handle layer3 header accesses in the presence of VLANs
aafe9dd13f42 net: usb: qmi_wwan: add support for Quectel EG95 LTE modem
edbde451bf3f net_sched: fix a memory leak in atm_tc_init()
d55dad8b1d89 net: dsa: microchip: set the correct number of ports
64d782212646 net: Added pointer check for dst->ops->neigh_lookup in dst_neigh_lookup_skb
a70a667736ed llc: make sure applications use ARPHRD_ETHER
73e42f4d2d13 l2tp: remove skb_dst_set() from l2tp_xmit_skb()
f8646548ee46 ipv6: Fix use of anycast address with loopback
75270f819666 ipv6: fib6_select_path can not use out path for nexthop objects
1418b60e998b ipv4: fill fl4_icmp_{type,code} in ping_v4_sendmsg
7b42410d3556 genetlink: remove genl_bind
aef7a9e21aa6 bridge: mcast: Fix MLD2 Report IPv6 payload length check
587ccf092e28 net: rmnet: fix lower interface leak
d06c17fcd7c0 net: atlantic: fix ip dst and ipv6 address filters
de93c1c104ac crypto: atmel - Fix build error of CRYPTO_AUTHENC
1f21bb70d7b1 crypto: atmel - Fix selection of CRYPTO_AUTHENC
c57b1153a58a Linux 5.4.52
1a70857590f7 s390/maccess: add no DAT mode to kernel_write
627d15eecb61 s390: Change s390_kernel_write() return type to match memcpy()
d64dc6118a0f pwm: jz4740: Fix build failure
d13a78d13d2c perf scripts python: exported-sql-viewer.py: Fix unexpanded 'Find' result
64e8b913c30b perf scripts python: exported-sql-viewer.py: Fix zero id in call tree 'Find' result
2038998170b0 perf scripts python: exported-sql-viewer.py: Fix zero id in call graph 'Find' result
e51a811c242e perf scripts python: export-to-postgresql.py: Fix struct.pack() int argument
299ffecbd530 dm writecache: reject asynchronous pmem devices
49a7ac29f6a0 blk-mq: consider non-idle request as "inflight" in blk_mq_rq_inflight()
2dfd182451d9 s390/mm: fix huge pte soft dirty copying
0d62bc7e960f s390/setup: init jump labels before command line parsing
e6de7cbbcacb ARC: elf: use right ELF_ARCH
854827a2697a ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE
37634f502b53 mmc: meson-gx: limit segments to 1 when dram-access-quirk is needed
b9fe45efa671 dm: use noio when sending kobject event
ede24894e8bf drm/amdgpu: don't do soft recovery if gpu_recovery=0
ef8164f03a86 drm/radeon: fix double free
026f830e0ba3 btrfs: fix double put of block group with nocow
808b2b3ea85a btrfs: fix fatal extent_buffer readahead vs releasepage race
5a046d75acf7 Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb"
baef8d1027b0 bpf: Check correct cred for CAP_SYSLOG in bpf_dump_raw_ok()
e5541c6347b7 kprobes: Do not expose probe addresses to non-CAP_SYSLOG
314ac273f005 module: Do not expose section addresses to non-CAP_SYSLOG
0d5d9413a692 module: Refactor section attr into bin attribute
2a6c8d3d0dd0 kallsyms: Refactor kallsyms_show_value() to take cred
79aaeec71271 KVM: arm64: Fix kvm_reset_vcpu() return code being incorrect with SVE
a494529add3f KVM: x86: Mark CR4.TSD as being possibly owned by the guest
d29a79fa7559 KVM: x86: Inject #GP if guest attempts to toggle CR4.LA57 in 64-bit mode
3f108b168002 KVM: x86: bit 8 of non-leaf PDPEs is not reserved
388429498641 KVM: arm64: Annotate hyp NMI-related functions as __always_inline
b956ec9afc2e KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART
a20aa35b839a KVM: arm64: Fix definition of PAGE_HYP_DEVICE
9b742b6a3b78 ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC
8254cddab9a4 ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC
c6fbfa6dd96b ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC
615313fe4294 ALSA: hda/realtek - Fix Lenovo Thinkpad X1 Carbon 7th quirk subdevice id
92b598132eec ALSA: usb-audio: Add implicit feedback quirk for RTX6001
caead988fe61 ALSA: usb-audio: add quirk for MacroSilicon MS2109
02b2f10e5c9f ALSA: hda - let hs_mic be picked ahead of hp_mic
3496a18a1c3b ALSA: opl3: fix infoleak in opl3
4a215725dec7 IB/hfi1: Do not destroy link_wq when the device is shut down
607fbc27d75f IB/hfi1: Do not destroy hfi1_wq when the device is shut down
6a882fb7232d mlxsw: pci: Fix use-after-free in case of failed devlink reload
c9dcb4929ce2 mlxsw: spectrum_router: Remove inappropriate usage of WARN_ON()
f62f896a56a2 net: macb: fix call to pm_runtime in the suspend/resume functions
ad396c483dd5 net: macb: mark device wake capable when "magic-packet" property present
5d744ee94b49 net: macb: fix wakeup test in runtime suspend/resume routines
15442ef56405 bnxt_en: fix NULL dereference in case SR-IOV configuration fails
65fb9bbee611 net/mlx5e: Fix 50G per lane indication
ce27893535ca net/mlx5: Fix eeprom support for SFP module
f277e0be69d4 qed: Populate nvm-file attributes while reading nvm config partition.
e89b828ae357 IB/mlx5: Fix 50G per lane indication
97d6855ac57d cxgb4: fix all-mask IP address comparison
2a4c5ff12f42 nbd: Fix memory leak in nbd_add_socket
06cee3572ed5 arm64: kgdb: Fix single-step exception handling oops
9e8f4623e292 RDMA/siw: Fix reporting vendor_part_id
1c54d0d9c4e6 ALSA: compress: fix partial_drain completion state
175b5aa7b964 net: hns3: fix use-after-free when doing self test
ab8c4fd863f4 net: hns3: add a missing uninit debugfs when unload driver
5c0192d28513 smsc95xx: avoid memory leak in smsc95xx_bind
81ed1f9fd0b3 smsc95xx: check return value of smsc95xx_reset
3959bf65fe48 perf intel-pt: Fix PEBS sample for XMM registers
da4b6eff382b perf intel-pt: Fix recording PEBS-via-PT with registers
9ca67a453273 perf report TUI: Fix segmentation fault in perf_evsel__hists_browse()
2d15663304f5 netfilter: conntrack: refetch conntrack after nf_conntrack_update()
d9b8206e5323 net: dsa: microchip: set the correct number of ports
fd3a612d9828 IB/sa: Resolv use-after-free in ib_nl_make_request()
b0259e7056b1 net: cxgb4: fix return error value in t4_prep_fw
92002d59ecee net: mvneta: fix use of state->speed
4f412ae89e78 netfilter: ipset: call ip_set_free() instead of kfree()
b709a08bc4d7 bpf, sockmap: RCU dereferenced psock may be used outside RCU block
2000bb546525 bpf, sockmap: RCU splat with redirect and strparser error or TLS
4625f4d5e4bf drm/mediatek: Check plane visibility in atomic_update
a062088e675f nl80211: don't return err unconditionally in nl80211_start_ap()
d63806c30706 gpio: pca953x: Fix GPIO resource leak on Intel Galileo Gen 2
137e7782bddd gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2
91f8d05b4b56 net: qrtr: Fix an out of bounds read qrtr_endpoint_post()
1128ed7e1dd0 sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix mask corruption
4e9631a90830 x86/entry: Increase entry_stack size to a full page
010f93079a26 nvme-rdma: assign completion vector correctly
074ae0cd8407 block: release bip in a right way in error path
b1b252d8d9c5 usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work
2485b6afadd7 scsi: mptscsih: Fix read sense data size
10533390da7c ARM: imx6: add missing put_device() call in imx6q_suspend_init()
15fa5dfaa4e8 cifs: update ctime and mtime during truncate
9c732cccb04b s390/kasan: fix early pgm check handler execution
a9c816494dc2 drm: panel-orientation-quirks: Use generic orientation-data for Acer S1003
fcab0d2f1b91 drm: panel-orientation-quirks: Add quirk for Asus T101HA panel
b7556e7ca381 iommu/vt-d: Don't apply gfx quirks to untrusted devices
1a570b8faea4 powerpc/kvm/book3s64: Fix kernel crash with nested kvm & DEBUG_VIRTUAL
4e4ddeee7aff ibmvnic: continue to init in CRQ reset returns H_CLOSED
ce4a93b9e607 i40e: protect ring accesses with READ- and WRITE_ONCE
2e5a3586ca27 ixgbe: protect ring accesses with READ- and WRITE_ONCE
203cfe694e9d net: ethernet: mvneta: Add 2500BaseX support for SoCs without comphy
996bd0778a37 net: ethernet: mvneta: Fix Serdes configuration for SoCs without comphy
8f23c0dcd096 spi: spidev: fix a potential use-after-free in spidev_release()
010de5718162 spi: spidev: fix a race between spidev_release and spidev_remove
44b6e192e05f ALSA: hda: Intel: add missing PCI IDs for ICL-H, TGL-H and EKL
04197a8184e7 ASoC: SOF: Intel: add PCI ID for CometLake-S
b1589bb5b04e drm: mcde: Fix display initialization problem
408ddca5c737 gpu: host1x: Detach driver on unregister
d78a975525f3 drm/tegra: hub: Do not enable orphaned window group
dbe5fef1c2b1 drm/ttm: Fix dma_fence refcnt leak when adding move fence
6bfa3b616c52 ARM: dts: omap4-droid4: Fix spi configuration and increase rate
3965fe7c0a77 perf/x86/rapl: Fix RAPL config variable bug
5f121ba6b625 perf/x86/rapl: Move RAPL support to common x86 code
14e8708fffee regmap: fix alignment issue
2ec3c8329aca spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
6b64220baf4a spi: spi-fsl-dspi: Adding shutdown hook
eb676bef0224 KVM: s390: reduce number of IO pins to 1
(From OE-Core rev: 40ff5adaca962d66715e7ec55cec79093bdbc173)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60fec4d1792b8467acb53949c695775c7e7ae037)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stable branch bug fix and security release.
One patch update, none deleted.
This is expected to be the final release in the 2.62.x stable series
Changes:
Fix SOCKS5 username/password authentication (#1986)
Exception handling fixes on Windows (!1373)
Bugs fixed:
1986 Socks5 Proxy: Authentication seems broken
1988 Socks5 Proxy: Wrong error returned when using no authentication
2049 Crash in g_array_copy
1378 Backport !1373 win32 exception fixes to glib-2-62
1380 Backport !1254 “giomodule: gio modules are no longer installed in bindir on MSVC” to glib-2-62
1393 Backport !1390 “garray: Fix copying an array with reserved elements” to glib-2-62
1394 Backport part of !1375 “tests: Skip g-file-info-filesystem-readonly test if bindfs fails” to glib-2-62
1411 Backport SOCKS5 fixes to glib-2-62
(From OE-Core rev: 2dc1266eb39faa29c79ab2697564072f11d3feb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stable branch bug fix and security release.
One patch updated, three removed since they are no longer needed
Changes (from release notes):
Fix potential relative read when calling g_printerr(), which could lead to a
denial of service from a setuid-root process being used to block access to the
TTY for another user (#1919)
Fix SOCKS proxy resolver sometimes not being used when resolving addresses
via Happy Eyeballs (CVE-2020-6750) (#1989)
Several other Happy Eyeballs fixes for address resolution (#1871, #1872, #1902)
Fix parsing of full Julian day range from $TZ environment variable (#1999)
Several race condition/crash fixes (!1353, !1357)
Bugs fixed:
1919 read from relative path in g_printerr() in 2.58.3
1995 Tracker issue for Happy Eyeballs regressions
1999 GTimeZone fails to accept full Julian day range when parsing the direct $TZ string format
1323 Backport !1314 “gtimezone: fix parsing of Julian day in POSIX TZ format” to glib-2-62
1331 Backport !1330 “W32: Correctly set st_ino when doing private stat()” to glib-2-62
1352 Backport !1351 “glib.supp: update g-threaded-resolver-getaddrinfo-config” to glib-2-62
1361 Backport !1353 GMainContext source reference fixes to glib-2-62
1365 Refactor g_socket_client_connect_async()
1370 Backport !1369 “build: Rework path construction to reliably add prefix” to glib-2-62
1371 Backport !1357 “gunixmounts: Make GUnixMountMonitor thread-safe” to glib-2-62
(From OE-Core rev: d1c337161f70893cd4eec15364c6c41d5040ccc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Few years ago we switched to using mips32r2 tunings for qemumips however
the default CPU emulation still remained 24Kf which is not optimal for
mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU
emulation when running qemu in system mode
Boot time to console is ~1s faster with this setting, hopefully this
should speed up qemumips in general
[1] https://www.qemu.org/docs/master/system/target-mips.html#preferred-cpu-models-for-mips-hosts
(From OE-Core rev: 6f24a70ed9323a89cb9d0e6c56bacb6a59e2c31f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e68d2afd4a5529437824b5d6b9a2077c2fefd337)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit e921edd27e71af00f07e3f1e973d2b0c6c777bf4 since
it breaks adwaita-icon-theme and other recipes using gtk-icon-cache
(From OE-Core rev: 257758f175cdcb99f4fe890cc0b1a60e82b5b84b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
async_pipe is missing the executor_type type, which is expected by
asio in /usr/include/boost/asio/impl/read.hpp. Without this, it's
not possible to even compile code that uses constructs such as:
boost::asio::io_service foo;
boost::process::async_pipe foopipe{ boost::process::async_pipe(foo) };
This is only relevant for Dunfell because master has already moved to
boost-1.73.0 in which this bug has been fixed. The bug is also not
present in Zeus, which uses boost-1.71.0.
(From OE-Core rev: f3f6cc45b0b95cce337947df8dfaa9402251541c)
Signed-off-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cogl depends on libxdamage when configured for X11 support.
A dependency was added for this in 2012 with
959a2f6d88d8fa6874fff83b7a1f0e7d4e36b887, but that addition
was lost when the recipe was reworked in 2013 with
b508fdd2b19ca30da8d09caf646897dc4cf195c8. That commit also
added a dependency on libxi, which is not actually needed.
The missing dependency doesn't cause problems in most cases,
since mesa also depends on libxdamage, but when an alternative
opengl implementation such as libglvnd is used, cogl fails
to configure.
(From OE-Core rev: 4cbfaae7f6ecdcbb67675da6cbdcf63aed0aaf61)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7651a63c508562caf1a3732cb49af50bccc98e8b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently in NVD DB an item popped up, which hasn't set baseMetricV2.
Let the parser handle it as an optional item.
In case use baseMetricV2 before baseMetricV3
(From OE-Core rev: 135a6a4f55aed6148f45d01b307fadbd45be2997)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fdcbf3f28289188c5a97664d1421d4a5c4991eda)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
layer under test should absent from BBLAYERS when running
yocto-check-layer. This allow to get signatures before layer
under test. There are existing steps to add the layer under
test to BBLAYERS after getting initial signatures.
add steps to check for layer under test in BBLAYERS before
running any test, skip test for the layer if the layer under
test exist in BBLAYERS.
[YOCTO #13176]
(From OE-Core rev: a10ff925584406e563edfb4042b44c3e8ea57ce3)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be02e8dbfb0d1decce125322f9f1e11a649756c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The blocks which test for entry exitence (file or directory) use a
`A && B || C` syntax. This form is not behaving as a if-then-else block
even the code logic assumes that. C may run when A is true which breaks
the case where VERBOSE is 'no' but the file/directory exists.
Along with fixing these specific issues, this patch fixes the other
instances where blocks of form `A && B || C` are used as if-then-else.
(From OE-Core rev: 471094f8afa57548e9ff3fd7a99306f58b87d478)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b9ea22acb66554925720e04cf24100664234574)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
buildhistory create .txt file bh_installed_pkgs.txt and
bh_installed_pkgs_deps.txt while listing down installed package.
These file is later removed in buildhistory_get_installed().
when multiple process runs in parellal there are chances to race for
the file where one process created the file while another task remove
the file right after it.
using different file name for each process should avoid the race. So
add PID to the file name to make it unique.
[yocto #13709]
(From OE-Core rev: af8f5fe82f27702ad727b27daefd5e97d9e64efa)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 214d236d93700abffa2d586cc744a00455818fa4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default.
when install package gtk-immodule-xim, it is possible met below error:
/var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory
warning: %post(gtk-immodule-xim-2.24.32-r0.0.cortexa72) scriptlet failed, exit status 1
fix by create the dir when try to write to /usr/lib/gtk-3.0/3.0.0/immodules.cache
(From OE-Core rev: d22af1a7d68b59da8967179af0893003e7d8a8a1)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c689e120961d9d20386c8b822d71d778d4e6df7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
settimeofday(2) has been deprecated as of glibc 2.31
which hwclock makes use of. This patch makes hwclock
compatible with glibc v2.31
See patch for more details:
busybox/0001-hwclock-make-glibc-2.31-compatible.patch
Fixes [YOCTO #13981]
(From OE-Core rev: 92d8bba5405244ae2594abc1a012c08c74999ab4)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix issues where sizeof(time_t) != sizeof(long).
(From OE-Core rev: 0590fbf6d76e1d0c4601529884c4c171be6e27af)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9c3a6d74765e636a8038fe3aaa5dfc8b550590a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code was using TARGET_OS to try and detect what type of OS the
packages would be running on, but this is incorrect. TARGET_OS is the OS
for which the package will generate output (e.g. GCC output target or
GDB debugging target). The OS where the package will run is the HOST_OS.
Note that HOST_OS only differs from TARGET_OS when doing a
canadian cross compile, and even then in our case only when doing so for
a non-Linux host (e.g. MinGW).
Fix the code to use HOST_OS instead.
(From OE-Core rev: 2541b5be1e9c2c33ca8017130461a19f8734d883)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f284c5b2df220b520b025a59874e04ef4becd829)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM
variables. The HOST variables should be used instead of
TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for
where the package is going to run (the host), not what it will be
generating output for (the target). The distinction is only really
relevant when building canadian cross recipes.
Also fix up the host OS detection to account for MinGW by setting
CMAKE_SYSTEM_NAME to "Windows". This eliminates the need for meta-mingw
to patch this in all the cmake recipes it builds.
(From OE-Core rev: 59b8c49a54b8977ba2f3ed4f33f0fd3f7dd749d5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01245db2893e39ffb5d4a00e4689f048d0698974)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing failures due to system load. In theory we've set process
nice levels which should compensate for this. Add debugging so we can
find out if they're being correctly applied.
(From OE-Core rev: 693dc285164eb6cc88cc7174238fd59f0393b5c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e4e345bba8216b9b5623682206a7dae7cad261c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
508b4e6ada7f sched: Remove unexpected mmdrop on RT
(From OE-Core rev: c381a58954da72c5b44b8047328c13f81f178bbf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8500665cb8da792bb92a484e286f3935cf85e2b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
1c54d3c15afa Linux 5.4.51
8ba1913cd6ba efi: Make it possible to disable efivar_ssdt entirely
43986c32ee00 dm zoned: assign max_io_len correctly
215e562251bb x86/resctrl: Fix memory bandwidth counter width for AMD
d827fe702e07 mm, compaction: make capture control handling safe wrt interrupts
64a94c550c44 mm, compaction: fully assume capture is not NULL in compact_zone_order()
2a9278ac9c55 irqchip/gic: Atomically update affinity
7ba23593cbc5 dma-buf: Move dma_buf_release() from fops to dentry_ops
4ae695a05516 drm/amdgpu/atomfirmware: fix vram_info fetching for renoir
2b8c0876bf71 drm/amdgpu: use %u rather than %d for sclk/mclk
94de85d16b0c drm/amd/display: Only revalidate bandwidth on medium and fast updates
032343ed6927 MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen
2e859b14da39 MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names
71a20b798da3 cifs: Fix the target file was deleted when rename failed.
49dae9bed7dd SMB3: Honor 'handletimeout' flag for multiuser mounts
7ab27439fec7 SMB3: Honor lease disabling for multiuser mounts
0d5824aea7a0 SMB3: Honor persistent/resilient handle flags for multiuser mounts
d56787683c61 SMB3: Honor 'seal' flag for multiuser mounts
e0ed5a36fb3a Revert "ALSA: usb-audio: Improve frames size computation"
fe05e114d0fd nfsd: apply umask on fs without ACL support
4ee7f1d2f1c9 spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths
9d60af5c3bb3 i2c: mlxcpld: check correct size of maximum RECV_LEN packet
b460fc9d0525 i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665
a632f91f7a9c samples/vfs: avoid warning in statx override
cd62eeb31512 nvme: fix a crash in nvme_mpath_add_disk
c64141c68f72 nvme: fix identify error status silent ignore
7d3f489e61b6 SMB3: Honor 'posix' flag for multiuser mounts
8964c93436ad virtio-blk: free vblk-vqs in error path of virtblk_probe()
f795a88eade5 drm: sun4i: hdmi: Remove extra HPD polling
c84138b3c162 nfsd: fix nfsdfs inode reference count leak
2571e1735602 nfsd4: fix nfsdfs reference count loop
31ec38ec9cd5 thermal/drivers/rcar_gen3: Fix undefined temperature if negative
a65bde001008 thermal/drivers/mediatek: Fix bank number settings on mt8183
c9426817eac7 hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add()
3e7bd7e10639 hwmon: (max6697) Make sure the OVERT mask is set correctly
0465f54c5cc4 cxgb4: fix SGE queue dump destination buffer context
6bcb00d08361 cxgb4: use correct type for all-mask IP address comparison
f68bda772639 cxgb4: fix endian conversions for L4 ports in filters
180fbf10a26d cxgb4: parse TC-U32 key values and masks natively
0dc4dd433b94 cxgb4: use unaligned conversion for fetching timestamp
8a1b8e64204e RDMA/counter: Query a counter before release
53e9b62672f7 rxrpc: Fix afs large storage transmission performance drop
60d7de28e0ca drm/msm/dpu: fix error return code in dpu_encoder_init
cc0f67835302 crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
5d6b46a94dbb tpm: Fix TIS locality timeout problems
563e9491f0a3 selftests: tpm: Use /bin/sh instead of /bin/bash
1f98a9ed5799 kgdb: Avoid suspicious RCU usage warning
e6b2e3b5e16e nvme-multipath: fix bogus request queue reference put
5e9523d7e8cd nvme-multipath: fix deadlock due to head->lock
ad69fbe1d262 nvme-multipath: fix deadlock between ana_work and scan_work
c4f007d3dbdd nvme-multipath: set bdi capabilities once
8f4aa3a6de24 s390/debug: avoid kernel warning on too large number of pages
517326aaf41e tools lib traceevent: Handle __attribute__((user)) in field names
6f3b8c269d88 tools lib traceevent: Add append() function helper for appending strings
3dca0a299ff4 usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect
0ff5b1b50d5c rxrpc: Fix race between incoming ACK parser and retransmitter
fe688b144c14 mm/slub: fix stack overruns with SLUB_STATS
f459e8fc7c69 mm/slub.c: fix corrupted freechain in deactivate_slab()
542d541c1edd sched/debug: Make sd->flags sysctl read-only
ab9ee18f4646 usbnet: smsc95xx: Fix use-after-free after removal
58ab86e58b55 EDAC/amd64: Read back the scrub rate PCI register on F15h
d0e533584a05 mm: fix swap cache node allocation mask
1c4404efcf2c io_uring: make sure async workqueue is canceled on exit
(From OE-Core rev: aee5754b848fea174d27e2af9d88134680c4ec30)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60ee8b2bc14af7bf5b69d00c5d6293f09125407c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ dnf install openssl-bin
$ openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes -batch
Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory
(From OE-Core rev: 2a4980cd8bfd829bab1ba081588eb0bdbd285b97)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e93cd3b83a255294c9ab728adc7e237eb1321dab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the firmware packaging for Intel Bluetooth AX200, also known
as Intel CyclonePeak (CcP).
(From OE-Core rev: a53e9fd2d50d92c138c3f72aef0a9d0e59e823e6)
Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a701625a95ccb15a9db1a50a02143ba1ac8e6f1d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is
'/var'. This is causing error when running `rpm -qplv A.rpm'.
error: cannot open Packages index using db5 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
The rpm in SDK should be using its own database. So we should remove
this configure option, letting the SDK's native sysroot prefix to be
there in %_var. In fact, '%_usr' in macros has already got the prefix.
After this change, we have in the macros file lines like below.
"""
%_usr /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/usr
%_usrsrc %{_usr}/src
%_var /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/var
"""
(From OE-Core rev: 4e0d1bdc6e896c7dedccf615d6d0da9eb91d9b1d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13e17930062cb3f816516ba7dbeb70d6da7174dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some filesystems, such as aufs which may be used by docker container,
don't support either the SEEK_DATA/HOLE or FIEMAP to get the block
map. So add a FileNobmap class to fall back to standard copy when there
is no way to get the block map.
[Yocto #12988]
(From OE-Core rev: 66f9db48bb9d59f08492f0515bc08b6b039aa03f)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7934ed49179242f15b413c0275040a3bb6b68876)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
UI control can happen via the xmlrpc connection. Account for this when timing
out UI connections. This was causing issues for toaster on systems where it
couldn't parse the metadata within the timeout.
(Bitbake rev: 838a89141fd6a75da9f982ad2b035e823b692d2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa85a8263971c25e67fa3b421c686a90e46acd87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're only meant to be doing UI connection timeouts on the first connection
but haveui changes for each connection. We need to add a specific variable
to track this correctly and get the intended behaviour.
(Bitbake rev: fda107a4a1033ac7111a3289dbe6e48cea986927)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e7c387c2e2fb2cc3ca1dc9d2029362909c326d72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test for whether or not scc should to invoked to generate a
config.queue was missing the newly created sccs_defconfig variable.
We need to test for that variable as well, or we may miss generating
the config.queue in some cases.
(From OE-Core rev: ea886d57db917a41a0d106a15e1e96c72d6407b0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a95e171d3eaa6ab143d4f422c98a0ac7ad31761)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"bitbake mc:arm:bash mc:arm:busybox"
works but
"bitbake multiconfig:arm:bash multiconfig:arm:busybox"
does not. The reason is the list is modified whilst iterating.
Don't do that.
[YOCTO #13607]
(Bitbake rev: cc11dfa4eb3616547a8a3909f89da0cc4f35dc57)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One element of the error message guarded against None as a value
but I missed the other, fix this.
(From OE-Core rev: 9e23163016b7a8fea0dbfe2111f9493017e5a7b2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dbce6baec68d7658453b8c44159e1d1fef746151)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When qemu fails to start we're struggling to work out why. Add more debug
info which can at least confirm/rule out various things.
This code is only on the error handling path and more info shoudl help
us debug issues.
(From OE-Core rev: 797f7e0c3ff0610a4de321eaf82f84bca610624e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3001d0d8f3429e5ff0c37ea7192e85e7001cdb32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pid location could vary due to changes in cwd as only a filename
is specified, not a full path. This in theory could be resulting in
some of our autobuilder failures. Whilst its difficult to know if this
is causing a problem, Using a full path removes any question of such an
issue.
(From OE-Core rev: a03c85fe0704a457bd2d92dd58cbbb4d37453f2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55c186ff410c99570242478b99ac24ebc40aa6bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python now expects regex strings to be prepended with r.
Silence pylint/autopep8 and similar warnings by identifying
these regex patterns as... regex patterns.
(From OE-Core rev: f8a5db7a6072ddb1be96405fc8b44f595275206d)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0eae98a369d80340e48dc690d09a1364cde97973)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you try to create a plugin for recipetool that
adds the AUTHOR field, it is impossible to put it
in the recommended position [1] without adding to the
recipe_progression variable.
While we are at it, also add BBCLASSEXTEND at the
end, as also recommended by [1].
[1] http://www.openembedded.org/wiki/Styleguide
(From OE-Core rev: 2a1ae8c12cb0d6fd9d57c98caa97a10f3b6d3388)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d687c5b7b10b3decdd80d5c2fd61072a87f061f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further to 96c20c9df7:
Try to avoid nativesdk recipes accidentally being dependent on MACHINE_FEATURES.
(From OE-Core rev: 0cbae5aa12aa8f3e0865d36d665dfd4a5853a691)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 956e5bd6862ca898143a234aa85cc83b1f2d1807)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
as ptest FILES could be determined before or after the classes was
inherited, if is much safer to append to the setting of
FILES_${PN}-ptest
(From OE-Core rev: 1a52f9ec394ec2ce9899543c1b9ef95e926ebf14)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 419ad35ffe7f5199e49a246ef9854f0810ca1d6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cgo is still not available in go for riscv64, we will re-evaluate it
once we upgrade to 1.15
Fixes
| /usr/src/debug/go-runtime/1.14.4-r0/go/src/runtime/cgo/gcc_util.c:23: undefined reference to `_cgo_sys_thread_start'
[YOCTO #13966]
(From OE-Core rev: 987d29d0b0dfa19ef6564996198f22c2b08f6ff9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f512b3308ed6ee878c77f72b9235ada83d107dba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
U-boot recipe supports .cfg files in SRC_URI, but bug in conditional
statement meant that the code was unreachable and the .cfg files
were never applied.
(From OE-Core rev: 4fc386279ef4616d1e103cb70facee5716d335ff)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 766f827df4c3f76b1ef06acaba3c4f160c3791aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As an unconditionally dependency of subversion, extend serf recipe for
building a nativesdk variant being usable by nativesdk-subversion.
(From OE-Core rev: 3b78a39535089bbafbeb1ebd854efe180890f375)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff731a25a49c768f04a474438efccb3bb505a898)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For SDK environments where people still use subversion, let it easily being
added to buildtools-tarball to invite more developers relying on Yocto
based SDKs without much requirement to setup anything on the development
workplace.
(From OE-Core rev: 795781db8a82c9268fcabc93dd54cb6b07cbe9c8)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 586a15b76f879f49c5224116cbf506b7ccf96cd2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Every selftest run is currently polluting the autobuilder DL_DIR. Avoid
this by using a temporary directory for the test which is cleaned up.
(From OE-Core rev: 3f2971c2fa94970057cd4260aa1147a165d70fa9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 002d321e02b3ce4f34c8a54211b109a5416c8a0e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to the PACKAGES variable, LICENSE_avahi-client is misspelled.
Additionally, the libavahi-client package actually only includes
LGPLv2.1+ software (as opposed to the global LICENSE variable).
(From OE-Core rev: 683fb53c94e63e4f5acf4c2efd04977cc10bed49)
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8837b4735b5e96ae0f5542319e711dbda8c3849)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After commit 3ca1d3fa1d ("linux-firmware: fix the wrong file
path for ibt-misc"), if we don't change the location of ibt-misc
in PACKAGES, ibt-misc will include all ibt files and make other
individual ibt package empty.
(From OE-Core rev: f9d24c6cfb2d167b413301b9ec853ddc181e8043)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3a5403a9e5d0085d7b2f97a2e44b74a54c84d3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the course of do_package_rpm and friends the tools create a
top-level CONTROL or DEBIAN directory in the package directory.
do_package_qa needs to be aware of these files and ignore them, this was
previously done in just one check but instead should be done once when
building the file list so all the checks don't see the temporary files.
[ YOCTO #13804 ]
(From OE-Core rev: 0dbdcd305a969b67415ed74c3286af02612bd64c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b2f45c47a5c8c800626f12c14f216a5ab923512)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its bb.note or logger.info, this avoids a backtrace.
(Bitbake rev: fb80389d2ce62e15e354c6ea288c9a4bbe0040f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If server startup is broken for some reason (e.g. lockfile issues)
and no UI connection is made, the server will just sit inifinitely
waiting.
Add a timeout upon startup in the non-memory resident case so that
such infinite waits are avoided. In the memory resident case, the
server wouldn't have shut down in the first place or will timeout
according to configuration.
Since any race may mean the socket file is no longer present, ensure
the unlink doesn't fault upon exit, thus ensuring any hashequiv or
PRServ is removed from memory, allowing all processes to exit
cleanly in such scenarios.
(Bitbake rev: 81cad9b8c4df15218d1a419c6b8e3ac73b54600c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39888b750df12478e8bdea6727cca112dce1df85)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing rare occasional races on the autobuilder as if two server
processes have the lockfile at the same time. We need to be extremely
careful this does not happen.
I think there is a potential race in this shutdown code since we delete
the lockfile, then call unlockfile() which also tries to delete it.
This means we may remove a lock file now held by another process if we're
unlucky. Since unlockfile removes the lockfile when it can, just rely on
that and remove any possible race window.
An example cooker-deamonlog:
--- Starting bitbake server pid 2266 at 2020-07-11 06:17:18.210777 ---
Started bitbake server pid 2266
Entering server connection loop
Accepting [<socket.socket fd=20, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
Processing Client
Connecting Client
Running command ['setFeatures', [2]]
Running command ['updateConfig', XXX]
Running command ['getVariable', 'BBINCLUDELOGS']
Running command ['getVariable', 'BBINCLUDELOGS_LINES']
Running command ['getSetVariable', 'BB_CONSOLELOG']
Running command ['getSetVariable', 'BB_LOGCONFIG']
Running command ['getUIHandlerNum']
Running command ['setEventMask', XXXX]
Running command ['getVariable', 'BB_DEFAULT_TASK']
Running command ['setConfig', 'cmd', 'build']
Running command ['getVariable', 'BBTARGETS']
Running command ['parseFiles']
--- Starting bitbake server pid 8252 at 2020-07-11 06:17:28.584514 ---
Started bitbake server pid 8252
--- Starting bitbake server pid 13278 at 2020-07-11 06:17:31.330635 ---
Started bitbake server pid 13278
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBMULTICONFIG',), {}]
Running command ['getRecipes', '']
Running command ['clientComplete']
Processing Client
Disconnecting Client
No timeout, exiting.
Exiting
where it looks like there are two server processes running which should not be.
In that build there was a process left sitting in memory with its bitbake.sock file
missing but holding the lock (not sure why it wouldn't timeout/exit).
(Bitbake rev: de919782f488a83b80d7c40896bf5b2596f1f65f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1a7c1821483031b224a1570bfe834da755219cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this allows shell statements like '; ;' to pass the parser.
As it may be bad code but still valid enough to execute
(Bitbake rev: 85a499f8915dd6596d56808e6e1c536015e4eb34)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b7732b1b5085bea73e17d112e1bd9ac3d4dc34fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It looks like we're about to see a lot of changes in branch names in repos. If
we have the prune option here, those old names are lost, the changes propagate
to our source mirrors and our old releases break.
We have the force option so any replaced references should be replaced, its only
orphaned branches which will now be preserved.
I believe this behaviour will cause us fewer problems given the changes that
look likely to happen.
(Bitbake rev: 6e527ea72b0816bf5f454473faf6523c365daa18)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 820ab886e79eea516560c0c008e4cf059c6e11a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're running into this timeout on loaded autobuilders in situations
where things should otherwise succeed. Log a note in these
cases and continue to try for longer.
(Bitbake rev: 344d3006a243f5f7d8f551556bab721b2ac0a2aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e567743e70f426786ae54dcb5ab550748d9266e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding back gtk objects import.
Fix bug introduce when adding validation on gtk import.
(Bitbake rev: 44e24fffc568dfee054b5feff2d9b382b9ce4bb5)
Signed-off-by: David Khouya <dakhouya@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 765be5ef60668f8a1cfbcba248f4995725807196)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running bitbake -g -u taskexp without having gi python module or
and invalid gtk version, bitbake fails with a stack trace.
In case of import or version error, bitbake should exit with an error
message instead of a stack trace.
(Bitbake rev: 45e32f2651d35bf7a315af95cfe0b1070e038c9e)
Signed-off-by: David Khouya <dakhouya@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a2c507f239b047f34765312df4168030e38b90d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 992cec44 (coreutils: Move stdbuf into an own package
coreutils-stdbuf) breaks package-qa when the single-binary
PACKAGECONFIG is used:
ERROR: coreutils-8.32-r0 do_package_qa: QA Issue: /usr/bin/stdbuf contained in package coreutils-stdbuf requires /usr/bin/coreutils, but no providers found in RDEPENDS_coreutils-stdbuf? [file-rdeps]
ERROR: coreutils-8.32-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
With that PACKAGECONFIG, /usr/bin/stdbuf is just a simple "script"
containing the single line
#!/usr/bin/coreutils --coreutils-prog-shebang=stdbuf
Since there's no point splitting stdbuf to its own package when all
the functionality is in the single big coreutils binary anyway, fix
this by not creating the separate stdbuf package for the single-binary
case. But also make sure that the coreutils-stdbuf item always exists
so recipes can always RDEPEND on coreutils-stdbuf.
(From OE-Core rev: c2ad3af9da9bb3a98c1d5d1b3d21eb8db643c189)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74d24b5b895198898944260136d05e991a203c11)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Bug 13971] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13971
A recipe using LICENSE=CLOSED would normally not have LIC_FILES_CHKSUM
set.
If LIC_FILES_CHKSUM was not set, it would cause `devtool upgrade` to fail.
This fixes the issue by defaulting to an empty string if
LIC_FILES_CHKSUM is not found.
[YOCTO #13971]
(From OE-Core rev: 9c7f3281884c50dbd05e2966e2409255c127ebfa)
Signed-off-by: Bjarne Michelsen <bjarne_michelsen@hotmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95e112f0f465868e98285509ea0d1a624a439ac2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some openssl command line operations like creating an X.509 CSR require
the file /usr/lib/ssl-1.1/openssl.cnf to exist and fail if it doesn't
root@qemux86-64:~# openssl req -out my.csr -new -newkey rsa:2048 -nodes -keyout my.key
Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory
140289168594176:error:02001002:system library:fopen:No such file or directory:../openssl-1.1.1g/crypto/bio/bss_file.c:69:fopen('/usr/lib/ssl-1.1/openssl.cnf','r')
140289168594176:error:2006D080:BIO routines:BIO_new_file:no such file:../openssl-1.1.1g/crypto/bio/bss_file.c:76:
which is the case e.g. in core-image-minimal with just the
package openssl-bin added to the image by declaring
IMAGE_INSTALL_append = " openssl-bin"
e.g. in local.conf.
The file did not exist in the aforementioned image / configuration
because it was packaged to the main openssl package
FILES_${PN} =+ "${libdir}/ssl-1.1/*"
(there is no other FILES specification that would match the file either)
and
path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-1.1.1g-r0.core2_64.rpm
[...]
/usr/lib/ssl-1.1/openssl.cnf
[...]
Hence move /usr/lib/ssl-1.1/openssl.cnf (and openssl.cnf.dist as it
seems closely related) to the ${PN}-conf package to have it installed
with ${PN}-bin, which already (indirectly) depends on ${PN}-conf.
Note that the openssl recipe has the comment
Add the openssl.cnf file to the openssl-conf package. Make the libcrypto
package RRECOMMENDS on this package. This will enable the configuration
file to be installed for both the openssl-bin package and the libcrypto
package since the openssl-bin package depends on the libcrypto package.
but openssl-conf only contained /etc/ssl/openssl.cnf
path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-conf-1.1.1g-r0.core2_64.rpm
/etc
/etc/ssl
/etc/ssl/openssl.cnf
/usr/lib/ssl-1.1/openssl.cnf is actually only a symlink that points to
../../../etc/ssl/openssl.cnf.
Other files and directories in /usr/lib/ssl-1.1/ were considered as well
because they seem to be configuration files and / or related to
(symlinks pointing to) /etc. They were not moved though, because based
on our use case and testing moving the openssl.cnf symlink is sufficient
for fixing the immediate problem and we lack knowledge about the other
files in order to make a decision to change their packaging.
(From OE-Core rev: e5405189e6d1b3b3b236aa8fe7a577c72f6af8d8)
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1632d7041fe0c18ec61abfa79a9c025af43c033)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e75220890bf6 Linux 5.4.50
a160afebd779 Revert "tty: hvc: Fix data abort due to race in hvc_open"
ffd40b7962d4 xfs: add agf freeblocks verify in xfs_agf_verify
cc66553004f4 dm writecache: add cond_resched to loop in persistent_memory_claim()
a51e71cbf6e6 dm writecache: correct uncommitted_block when discarding uncommitted entry
de1d70dad6f2 xprtrdma: Fix handling of RDMA_ERROR replies
4d35ca872ac3 NFSv4 fix CLOSE not waiting for direct IO compeletion
02917bef8f1b pNFS/flexfiles: Fix list corruption if the mirror count changes
7b99577ff376 SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
c27d205baa82 sunrpc: fixed rollback in rpc_gssd_dummy_populate()
60bdb51d44fa Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
c6f88afa6ae1 drm/amdgpu: add fw release for sdma v5_0
05124abe1fb0 drm/radeon: fix fb_div check in ni_init_smc_spll_table()
834a3aa2ceb4 drm: rcar-du: Fix build error
176a3c488476 drm/amd: fix potential memleak in err branch
0b3cc973f16f ring-buffer: Zero out time extend if it is nested and not absolute
9a59a88b3d31 tracing: Fix event trigger to accept redundant spaces
c036eb65fdfc arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range
90bd9c611f21 arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range
73f79b420bd0 arm64: perf: Report the PC value in REGS_ABI_32 mode
7a9e3e25a9d2 mm/memcontrol.c: add missed css_put()
ff6aff13a8cf ocfs2: fix panic on nfs server over ocfs2
a8d82ebaee97 ocfs2: fix value of OCFS2_INVALID_SLOT
4685df862c8b ocfs2: load global_inode_alloc
7fa716a594a6 ocfs2: avoid inode removal while nfsd is accessing it
fbca1aee1397 mm/slab: use memzero_explicit() in kzfree()
a79c3a99ac81 btrfs: fix failure of RWF_NOWAIT write into prealloc extent beyond eof
863a197f7f10 btrfs: check if a log root exists before locking the log_mutex on unlink
53a081661047 btrfs: fix data block group relocation failure due to concurrent scrub
0a4dfc69ea7e btrfs: fix bytes_may_use underflow when running balance and scrub in parallel
df13086490db x86/asm/64: Align start of __clear_user() loop to 16-bytes
3ceaf206b706 x86/cpu: Use pinning mask for CR4 bits needing to be 0
96a80133559f KVM: VMX: Stop context switching MSR_IA32_UMWAIT_CONTROL
8ccc6ac51eac KVM: nVMX: Plumb L2 GPA through to PML emulation
5774f9fa563b KVM: X86: Fix MSR range of APIC registers in X2APIC mode
0236040fcf97 erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup
824d0b6225f3 ACPI: configfs: Disallow loading ACPI tables when locked down
3c4f9a5541bb ACPI: sysfs: Fix pm_profile_attr type
6ee4d61403d2 ALSA: hda/realtek: Add mute LED and micmute LED support for HP systems
1a1bc3ae6935 ALSA: hda/realtek - Add quirk for MSI GE63 laptop
0211e0d7f185 ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table
f06a6294e113 RISC-V: Don't allow write+exec only page mapping request in mmap
26b0956cb374 block: update hctx map when use multiple maps
72647ea37700 blktrace: break out of blktrace setup on concurrent calls
d14eb5d8f0f4 kprobes: Suppress the suspicious RCU warning on kprobes
8ed391a3dbc4 recordmcount: support >64k sections
803d114e8f19 kbuild: improve cc-option to clean up all temporary files
cbed4eb0a92f arm64: sve: Fix build failure when ARM64_SVE=y and SYSCTL=n
a9a3b33b20aa s390/vdso: fix vDSO clock_getres()
68a3cbc44660 s390/vdso: Use $(LD) instead of $(CC) to link vDSO
7c17909a889d s390/ptrace: fix setting syscall number
64f7b10a91a4 s390/ptrace: pass invalid syscall numbers to tracing
453cfe187723 pinctrl: tegra: Use noirq suspend/resume callbacks
7851257375ae pinctrl: qcom: spmi-gpio: fix warning about irq chip reusage
8dba9173a37a test_objagg: Fix potential memory leak in error handling
6fd916e24935 net: alx: fix race condition in alx_remove
855dbf10c9a7 ibmvnic: Harden device login requests
07b8b2d46371 hwrng: ks-sa - Fix runtime PM imbalance on error
b8403f7e45e5 riscv/atomic: Fix sign extension for RV64I
81616542adcc drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()
f7f181582f1b ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
4dfc238a2441 sata_rcar: handle pm_runtime_get_sync failure cases
83bdf7f8b712 sched/core: Fix PI boosting between RT and DEADLINE tasks
3dc7138943b1 sched/deadline: Initialize ->dl_boosted
bfd4981fe3d6 afs: Fix storage of cell names
5cee9e67596f i2c: core: check returned size of emulated smbus block read
4a6e6413059e i2c: fsi: Fix the port number field in status register
0935afc39797 clk: sifive: allocate sufficient memory for struct __prci_data
b78bae5ab399 net: bcmgenet: use hardware padding of runt frames
ae6d80f62c73 netfilter: ipset: fix unaligned atomic access
8d93603bf60c nvme: don't protect ns mutation with ns->head->lock
f9dc5e708ab8 usb: renesas_usbhs: getting residue from callback_result
56ee0ed97df5 usb: gadget: udc: Potential Oops in error handling code
a3a86515d017 scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()
1e812023f478 ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
61f488765dff cxgb4: move handling L2T ARP failures to caller
065f225ef975 net: qede: fix use-after-free on recovery and AER handling
f490e70fa7eb net: qede: fix PTP initialization on recovery
7180c8fc4a03 net: qed: fix excessive QM ILT lines consumption
32cf4ff4ec52 net: qed: fix NVMe login fails over VFs
d0717a95a06b net: qede: stop adding events on an already destroyed workqueue
164d9a15652f net: qed: fix async event callbacks unregistering
5cf7f0c68405 net: qed: fix left elements count calculation
33104571648b iommu/vt-d: Update scalable mode paging structure coherency
ede796e5ac87 iommu/vt-d: Enable PCI ACS for platform opt in hint
67db9e032b6e selftests/net: report etf errors correctly
34f45567462d RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads()
d3edf648f398 s390/qeth: fix error handling for isolation mode cmds
9e89c2d5da87 ASoC: rockchip: Fix a reference count leak.
4aeb21584e55 RDMA/cma: Protect bind_list and listen_list while finding matching cm id
f0078dc6750f RDMA/qedr: Fix KASAN: use-after-free in ucma_event_handler+0x532
66143ecb9e3c RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq
d6fb7f457456 rxrpc: Fix handling of rwind from an ACK packet
73cff44e66e3 ARM: dts: NSP: Correct FA2 mailbox node
f1ee7d3a2c1a bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZE
0f3aa6c6d6ad devmap: Use bpf_map_area_alloc() for allocating hash buckets
b93df0f6d7cd regmap: Fix memory leak from regmap_register_patch
5f6b834e110b x86/resctrl: Fix a NULL vs IS_ERR() static checker warning in rdt_cdp_peer_get()
99ab61cc8b75 ARM: dts: Fix duovero smsc interrupt for suspend
07f7c547698b ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect
d909f9db0caa bpf, xdp, samples: Fix null pointer dereference in *_user code
0608288c6caa samples/bpf: xdp_redirect_cpu: Set MAX_CPUS according to NR_CPUS
b59ed5668c4e ASoC: fsl_ssi: Fix bclk calculation for mono channel
3947dd237ef5 RDMA/siw: Fix pointer-to-int-cast warning in siw_rx_pbl()
34f105349369 regualtor: pfuze100: correct sw1a/sw2 on pfuze3000
1fa27418054f ASoC: qcom: common: set correct directions for dailinks
47c7ae0ca9d7 ASoc: q6afe: add support to get port direction
92444a57e365 efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
8c236ac4376a efi/tpm: Verify event log header before parsing
e50cf858d118 ASoC: q6asm: handle EOS correctly
41b2debf35ef xfrm: Fix double ESP trailer insertion in IPsec crypto offload.
475a7b09b4bb ARM: OMAP2+: Fix legacy mode dss_reset
527ddb339d6b bus: ti-sysc: Ignore clockactivity unless specified as a quirk
1f5197a5ad97 bus: ti-sysc: Flush posted write on enable and disable
21d511c6c9c2 IB/hfi1: Fix module use count flaw due to leftover module put calls
2a4c0bf5c70e IB/mad: Fix use after free when destroying MAD agent
588ad2b29ea3 loop: replace kill_bdev with invalidate_bdev
d9a74e455070 cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
d6522bc320d7 xhci: Return if xHCI doesn't support LPM
14d46386226e xhci: Fix enumeration issue when setting max packet size for FS devices.
c09be4f57956 xhci: Fix incorrect EP_STATE_MASK
e615f58fa86c cifs/smb3: Fix data inconsistent when zero file range
bd2f2ac0ab96 cifs/smb3: Fix data inconsistent when punch hole
572a11131ad3 cifs: Fix cached_fid refcnt leak in open_shroot
1f551a056b30 scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action
d3a251b84797 scsi: qla2xxx: Keep initiator ports after RSCN
be8df027079b usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
a0668653be26 usb: cdns3: ep0: fix the test mode set incorrectly
79175ae5f996 usb: cdns3: trace: using correct dir value
25e1bb1e6c36 ALSA: usb-audio: Fix OOB access of mixer element list
1cc2d29710c2 ALSA: usb-audio: add quirk for Samsung USBC Headset (AKG)
0c4ff206043e ALSA: usb-audio: add quirk for Denon DCD-1500RE
74a7ad9d975c ALSA: usb-audio: Add implicit feedback quirk for SSL2+.
895ec8c86e13 usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs
fe2daefad98a usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
c1e71a51c2f5 xhci: Poll for U0 after disabling USB2 LPM
9d814bd14cff usb: host: xhci-mtk: avoid runtime suspend when removing hcd
9200037a6ab6 USB: ehci: reopen solution for Synopsys HC bug
ffeb58a0daf0 usb: add USB_QUIRK_DELAY_INIT for Logitech C922
6b3eb8af48cb usb: dwc2: Postponed gadget registration to the udc class driver
195c1d1dd8cf USB: ohci-sm501: Add missed iounmap() in remove
2274a7421e73 binder: fix null deref of proc->context
3621616af99b ALSA: usb-audio: Fix potential use-after-free of streams
335add4ac891 fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()"
32e5a15f1084 net: sched: export __netdev_watchdog_up()
9d3d40ec7dee btrfs: fix a block group ref counter leak after failure to remove block group
8ae850cddf27 Revert "i2c: tegra: Fix suspending in active runtime PM state"
052a7fdd86fb tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT
942315134313 sch_cake: fix a few style nits
b1aa7e5fa163 sch_cake: don't call diffserv parsing code when it is not needed
ea2628dd586d sch_cake: don't try to reallocate or unshare skb unconditionally
3c6208267218 ip_tunnel: fix use-after-free in ip_tunnel_lookup()
9baf076d797f net: phy: Check harder for errors in get_phy_id()
568c5aaf6c2d ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()
35db638692db tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
fe3a5d8fc372 tcp: grow window for OOO packets only for SACK flows
cb22ce3346f2 tcp: don't ignore ECN CWR on pure ACK
dc43f7e807a8 sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
fea864489c90 rxrpc: Fix notification call on completion of discarded calls
6956830cf981 rocker: fix incorrect error handling in dma_rings_init
a908f986ddf7 openvswitch: take into account de-fragmentation/gso_size in execute_check_pkt_len
27b70214fc69 net: usb: ax88179_178a: fix packet alignment padding
67571b1ab296 net: increment xmit_recursion level in dev_direct_xmit()
97a1d2aa6cdd net: Fix the arp error in some cases
742f2358b324 net: fix memleak in register_netdevice()
9e693934cd59 net: Do not clear the sock TX queue in sk_set_socket()
9f217d6dd796 net: core: reduce recursion limit value
f32325b100ea net: bridge: enfore alignment for ethernet address
57a976e676e1 mvpp2: ethtool rxtx stats fix
fa0d7e09da1d mld: fix memory leak in ipv6_mc_destroy_dev()
009b3e294a90 ibmveth: Fix max MTU limit
f060107ccc97 geneve: allow changing DF behavior after creation
ce06fcb6a66d enetc: Fix tx rings bitmap iteration range, irq handling
b90ca32531bf block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed
(From OE-Core rev: 07a662a1b75559550ad63b5a24e50cec54c88199)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed1c289ceebd66f2bbfd9dfc8deae0985fbf239)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous version only included the numbers 1 and 2 in the allowed characters
for the module name. In the past, this was (\w+) so all numbers were allowed.
Now it explicitly includes all numbers again.
(From OE-Core rev: eab35415bb2cd68872707693afcf7705675fa87e)
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f241fa493536ac953c1dac303917c6e75b459e28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
as this is already packaged in kernel-install package,
it shouldn't be part of the base package
(From OE-Core rev: e62371448a7d5604fa6029c7a8be278e83dad35c)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed04241f30e12e7c0479026a9e354e49dfa4119c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the initramfs image is type lz4, then a native lz4 is needed.
Additionally an output filename needs to be specified when calling lz4,
otherwise STDOUT will be used implicitly.
(From OE-Core rev: 589b2d7e902125199377d5f1550597bcb38a1bf6)
Signed-off-by: Timon Ulrich <t.ulrich@anapur.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c83a7aec59defbbc049d44ba34a7a409ada4fa19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fetcher provides full paths to defconfig and scc files, which awk
comparison operator does not catch during construction of
src_uri_defconfig and sccs_from_src_uri lists. This causes the
src_uri_defconfig variable to come out empty, and fails further
validation if defconfig is only supplied via SRC_URI.
Replace comparison operator with awk match function which searches for
sub-string during filtering, effectively placing defconfig from SRC_URI
into src_uri_defconfig and scc files in sccs_from_src_uri respectively.
Fixes: 23dcff0d39 (kernel/yocto: ensure that defconfigs are processed first)
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: 11089e06bfb3d0defb52825ffba978d085385569)
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f52ce0fa98bf3bd72df7467031001f3128c145f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is uncommon that a BSP definition and a defconfig are used in
a single configuration. That being said, it is a valid way to
organize kernel configuration meta data.
When a defconfig is used, either on the src_uri or from in
the kernel tree, it is normally expected that it is the baseline,
with all options applied on top of it.
With this commit, we detect either type of defconfig and ensure
that it is used first, followed by the fragments in their
previous order. This allows existing configuration stacks to
remain the same, while ensuring that a defconfig combined stack
works as expected.
(From OE-Core rev: 7ecc81baeacaa1149a4947791200e8819c3df677)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6845327b69396d843a2f3c4c3ac9400ae9caedf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit d4be264061 ("classes/archiver: run do_unpack_and_patch after
do_preconfigure") correctly moved do_unpack_and_patch to depend on
do_preconfigure, but left do_ar_patched as a dependency of do_configure
introduced from 8a7c779487 ("classes/archiver: Create patched archive
before configuring"). Having do_configure depend on do_ar_patched is
blatantly wrong. Firstly, doing so causes the taskhash of do_configure
to change which is undesirable. Secondly, the anon python that sets up
the tasks carefully skips GCC recipes that depend on gcc-source to
provide their source code since running do_unpack_and_patch in them
would delete the source code. Adding in the dependency effectively
bypasses this and makes these recipes delete the shared gcc-source
This fixes errors (for real this time) like:
cat: .../gcc/defaults.h: No such file or directory
when making certain configuration changes.
For posterity, you could easily reproduce gcc-source being erased by
running the commands (replacing aarch64 with your correct target arch):
bitbake -c cleanall gcc-source gcc-cross-aarch64
bitbake -c do_deploy_archives gcc-source
# The following would fail because
# gcc-cross-aarch64:do_unpack_and_patch erases shared source, so
# do_configure after that fails.
bitbake gcc-cross-aarch64
(From OE-Core rev: 2399fdf98a6e6e4245c2e7ed1f72404ebece3eca)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f02c1904330da47a25cf85f0077712f584f4ee5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 8a7c779487 ("classes/archiver: Create patched archive before
configuring") fixed a race condition when using the archiver, but
introduced a bug where the GCC source would occasionally be deleted due
to the archiving code running before do_preconfigure. Instead, make sure
the archiving code runs after do_preconfigure by making
do_unpack_and_patch depend on it. This makes more sense anyway since
do_preconfigure is effectively an extension of do_patch.
This fixes errors like:
cat: .../gcc/defaults.h: No such file or directory
when making certain configuration changes
(From OE-Core rev: b6d4176f82b9728af91a4b982ca25fbbee5f9890)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4be264061023ae0ea6e023d82a7b99605bfc22c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backported from master with two differences:
1. Move exit in do_make_icudata_class-target after big endian patch
application (not required for master since new upstream icu includes
the patch)
2. In do_install_append_class-target test for existence of .dat input
file before calling icupkg
icu data generation was found to be racy, and causig AB failures;
making it serial and leaving it on is not an option as it regresses
to several minutes.
The specific bug is that rules.mk has:
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH ../bin/gencnval -s . -d ./out/build/icudt66l mappings/convrtrs.txt
which creates a file and numerous rules like
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH ../bin/genrb -s ./misc -d ./out/build/icudt67l -i ./out/build/icudt67l -k -q numberingSystems.txt
which quietly read it. There is no prerequisite for the former to complete first.
The race is extra complicated to fix as rules.mk is itself
generated through a custom in-tree python tool.
(From OE-Core rev: df4bfb154e7fce9645f5738aa04b3eb3ef5093fe)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df89e8d1136fd406ba35ae573e2cb0cfc88c6aad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix these CVE:
CVE-2020-10702
CVE-2020-10761
CVE-2020-13362
CVE-2020-13659
CVE-2020-13800
(From OE-Core rev: 98c4642c526259fc664723145a1d6026b491032d)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if the find command finds /home it stops checking the other
files. Tweak the find expression to fix this.
Also, from Alex Kiernan <alex.kiernan@gmail.com>, generate output for
each contaminated path so it's visible in the main log file.
When matches are found, dump the data from the group and passwd files
so useful debugging can be done based on the results.
(From OE-Core rev: 602162c0e33b429b8254de04af72a2aa5111867a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 504f1d158bf7c6ad08fbce755021db2b14565231)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testcase test_systemd_failed occasionally failed with below error:
Failed to start Rotate log files.
logrotate.service: Failed with result 'exit-code'.
logrotate.service: Main process exited, code=exited, status=1/FAILURE
error: stat of /var/log/logrotate_test failed: No such file or directory
error: logrotate_test:1 lines must begin with a keyword or a filename (possibly in double quotes)
above failure caused since testcase test_logrotate_wtmp
add /etc/logrotate.d/logrotate_test, which need /var/log/logrotate_test,
but there is no such file. so when logrotate.service is triggerd
by logrotate.timer after testcase test_logrotate_wtmp is runned,
the testcase test_systemd_failed will fail.
these 3 lines are useless, so remove them to fix above problem.
(From OE-Core rev: 198fe0d64e4bdeda84c0f3e44afcc1d99ca9dbbe)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22f5f7f86a4d47624c476be00e5121009c48cb7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We continue to see the warning message:
WARNING: lib/bb/daemonize.py:76: ResourceWarning: unclosed file <_io.TextIOWrapper
name='build/tmp/work/qemux86_64-poky-linux/oe-selftest-image/1.0-r0/testimage/qemurunner_log.20200703011821'
mode='a' encoding='UTF-8'>
I've been unable to reprodue this but believe its caused by garbage
collection of the FileHandler used in QemuTarget being delayed until
after a new tinfoil instance is created by a subseqent test.
Force the log file to be closed when we stop using it to avoid this.
[YOCTO #13961]
(From OE-Core rev: fa2cca514f4b03aeeedb14dbffd26bc98ed74d29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e15cc7801ec611f867f5b31028741722ac718c87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This bug has plagued the autobuilder for a couple of years and we've
struggled to reproduce/debug it.
The problem is the "lib" directory in meta-poky used during the load_plugin
tests for recipetool and devtool can race and one can delete the files
from the other leading to test failures.
Deleting the lib directory only if empty will avoid this.
[YOCTO #13070]
(From OE-Core rev: a31c694be5267c004b691e6374cc800222f19940)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d603e2fd589e1edbc67c8c2fefb6337e728b9d01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test case in format <module name>.<class name>.<test case name>
this is clear when test cases is only 3 item deep.
but confused when it is 4 item deep, eg,
oelib.types.TestList.test_list_nosep
in this case, oelib and oelib.types can both be treated as module
since module name contains only lower cases and class name should
contain atleast one upper case.
so, always treat leading item without upper case as module also allow
module name to contain dot.
[YOCTO #13941]
(From OE-Core rev: 838646da741cda2059ee2bd64fd1e59980fbf945)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad81ea90a815389e45ff302a85151724c71f71c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix error:
+ /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
/var/tmp/rpm-tmp.mdYxY6: line 12: /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: No such file or directory
%post(adwaita-icon-theme-3.36.1-r0.0.noarch): waitpid(2961) rc 2961 status 7f00
warning: %post(adwaita-icon-theme-3.36.1-r0.0.noarch) scriptlet failed, exit status 127
when install adwaita-icon-theme on target, which inherit gtk-icon-cache
above error reported, fix by add runtime dependency to pkgs
we don't use explicit RDEPENDS, so fix do_rootfs breaking by adding it into DEPENDS.
Error:
Problem: conflicting requests
- nothing provides gdk-pixbuf needed by adwaita-icon-theme-3.36.1-r0.noarch
- nothing provides gtk+3 needed by adwaita-icon-theme-3.36.1-r0.noarch
(From OE-Core rev: e921edd27e71af00f07e3f1e973d2b0c6c777bf4)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
list-packageconfig-flags.py determines the whitespace numbers according
to the longest package name. This is reasonable for the tool as it's
trying to generate pretty output.
However, in this selftest case, the output is hardcoded. This results in
"pinentry gtk2 libcap ncurses qt secret" not recognized
as correct as the expected line is:
"pinentry gtk2 libcap ncurses qt secret".
The difference is only about whitespaces. So we should ignore the whitespaces
when comparing lines.
(From OE-Core rev: 80bdd59c8fa8b20a5a1fe7b5e3f1ddb95ad13af6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 17c89ad1596dbc7cefdd2c01dcd95aa9e93c5dc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the missing rdepends to fix below error:
# python3
[snip]
>>> import libarchive
[snip]
ModuleNotFoundError: No module named 'ctypes'
ModuleNotFoundError: No module named 'mmap'
(From OE-Core rev: 347e6fafea8bd9c715d87882159fc2d4bbde0cc7)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3a2615878bc7515a7bdace525dc27be45f158e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
in container image, it don't have init system,
install package initscripts will report error:
systemctl: command not found
fix by use same way as systemd.bbclass to decide if systemctl
mask will run
(From OE-Core rev: 6622515c1fa7025543aea37c4b37831577485811)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 790276bde066ecc9876120c3097dcd57a9936f00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
in container image, it don't have init system,
install package modutils-initscripts will report error:
+ systemctl mask modutils.service
/var/tmp/rpm-tmp.DYK3Pm: line 8: systemctl: command not found
%post(modutils-initscripts-1.0-r7.3.cortexa72): waitpid(823) rc 823 status 7f00
warning: %post(modutils-initscripts-1.0-r7.3.cortexa72) scriptlet failed, exit status 127
fix by use same way as systemd.bbclass to decide if systemctl mask will run
(From OE-Core rev: 922a668e769d3f51b0e8ec4949ae1936e9c59bc5)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eec648f23df0a4e05130f8ef5a04902296567e38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to -rt28 which has the following commits:
6b9d790392dc Linux 5.4.47-rt28
1a22749d1a0c Linux 5.4.44-rt27
7dd4c4c793df mm/zswap: Use local lock to protect per-CPU data
80552b4a4cf3 printk: Force a line break on pr_cont(" ")
446f5195e149 mm: Don't warn about atomic memory allocations during suspend
ec1f996f6740 Revert "rt: Improve the serial console PASS_LIMIT"
119ca1ac9160 fs/dcache: Include swait.h header
4df88505f123 printk: console must not schedule for drivers
b60c8a8279f5 Linux 5.4.44-rt26
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4e9688ad3d36 Linux 5.4.49
99705220b22c net: core: device_rename: Use rwsem instead of a seqcount
e33765201db7 sched/rt, net: Use CONFIG_PREEMPTION.patch
a6030d71e62d pwm: jz4740: Enhance precision in calculation of duty cycle
d0da4be60288 net: octeon: mgmt: Repair filling of RX ring
96d98372b53a e1000e: Do not wake up the system via WOL if device wakeup is disabled
3d390370d78c kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
c19f0c3c9a8a kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
f4748ee4fa15 tracing/probe: Fix memleak in fetch_op_data operations
7bb62d0cd8ac crypto: algboss - don't wait during notifier callback
993e0d12f226 crypto: algif_skcipher - Cap recv SG list at ctx->used
972f961c5930 Revert "drm/amd/display: disable dcn20 abm feature for bring up"
021935185e2a drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
d814e4732cbe drm/amd/display: Use kvfree() to free coeff in build_regamma()
50df31ea31cc drm/connector: notify userspace on hotplug after register complete
35bd59b8b68c drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
962d0e0c091c drm/i915/gem: Avoid iterating an empty list
a09489576fe5 drm/msm: Check for powered down HW in the devfreq callbacks
536ffde7df46 drm/i915: Fix AUX power domain toggling across TypeC mode resets
190f6c2d6e38 s390: fix syscall_get_error for compat processes
2173a7ed6358 f2fs: avoid utf8_strncasecmp() with unstable name
de3feefa3bfd f2fs: split f2fs_d_compare() from f2fs_match_name()
9fec865dde6e net/mlx5: DR, Fix freeing in dr_create_rc_qp()
859a0a9afee3 block: nr_sects_write(): Disable preemption on seqcount write
120307746990 x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
bba1f4ac037c drm/amd/display: Use swap() where appropriate
8f16bebbb171 drm/dp_mst: Increase ACT retry timeout to 3s
ffa9206a62d3 ext4: avoid race conditions when remounting with options that change dax
0804b23d2ff1 jbd2: clean __jbd2_journal_abort_hard() and __journal_abort_soft()
ae3c09e346bd selinux: fix double free
5471b5287cc7 drm/amdgpu: Replace invalid device ID with a valid device ID
3031fb61096c drm/qxl: Use correct notify port address when creating cursor ring
1f3f21d53fa8 drm/dp_mst: Reformat drm_dp_check_act_status() a bit
8c315a220930 ext4: avoid utf8_strncasecmp() with unstable name
779286d9babf ext4: fix partial cluster initialization when splitting extent
bc615a290faf drm: encoder_slave: fix refcouting error for modules
ef4f3b65d5a9 libata: Use per port sync for detach
81344ae52c77 arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
64183b459624 mvpp2: remove module bugfix
b3dc33946a74 block: Fix use-after-free in blkdev_get()
cb5fe511b11e scsi: ufs-bsg: Fix runtime PM imbalance on error
7c7dd0507842 bnxt_en: Return from timer if interface is not in open state.
13e6e75e68f3 afs: Fix the mapping of the UAEOVERFLOW abort code
b7420726bc8a afs: Set error flag rather than return error from file status decode
66f38da13198 afs: Always include dir in bulk status fetch from afs_do_lookup()
4fd68a35f62d afs: Fix EOF corruption
c8c19fcdabdb afs: afs_write_end() should change i_size under the right lock
6a9fd8046fbd afs: Fix non-setting of mtime when writing into mmap
7b307d292ab2 powerpc: Fix kernel crash in show_instructions() w/DEBUG_VIRTUAL
f651e94899ed bcache: fix potential deadlock problem in btree_gc_coalesce
889b69a9982b ext4: stop overwrite the errcode in ext4_setup_super
aa7baef53057 perf stat: Fix NULL pointer dereference
676634f1a831 perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
335d720bb4bd usb/ehci-platform: Set PM runtime as active on resume
21a45a1427dd usb: host: ehci-platform: add a quirk to avoid stuck
57a1cd87efb9 usb/xhci-plat: Set PM runtime as active on resume
33a76c15c7c2 bpf: Fix memlock accounting for sock_hash
93b675736542 iavf: fix speed reporting over virtchnl
e7847db7aa6d xdp: Fix xsk_generic_xmit errno
57f71bb57f7c nfs: set invalid blocks after NFSv4 writes
d3caf0e49492 nvme-pci: use simple suspend when a HMB is enabled
9777d12a8b23 net/filter: Permit reading NET in load_bytes_relative when MAC not set
0eb4e1573ffd x86/idt: Keep spurious entries unset in system_vectors
04ce5f6f0d3c scsi: acornscsi: Fix an error handling path in acornscsi_probe()
f3f9ee422842 libbpf: Handle GCC noreturn-turned-volatile quirk
ab482b587207 drm/sun4i: hdmi ddc clk: Fix size of m divider
c7c658ef5159 tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobes
5bed77b0a2a0 bpf, sockhash: Synchronize delete from bucket list on map free
0f97842057c7 bpf/sockmap: Fix kernel panic at __tcp_bpf_recvmsg
ea8837b9435e ASoC: rt5645: Add platform-data for Asus T101HA
ebc448eb2de5 ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet
69367d9f1f0e ASoC: SOF: nocodec: conditionally set dpcm_capture/dpcm_playback flags
7b31ec2a011f ASoC: core: only convert non DPCM link to DPCM link
445a847a5507 afs: Fix memory leak in afs_put_sysnames()
3b50b29a2056 f2fs: don't return vmalloc() memory from f2fs_kmalloc()
37be9b71b748 selftests/net: in timestamping, strncpy needs to preserve null byte
a98132826820 drivers/perf: hisi: Fix wrong value for all counters enable
e1ee6238534e i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n
ad67536d48ba NTB: ntb_test: Fix bug when counting remote files
abf918236a79 NTB: perf: Fix race condition when run with ntb_test
50a79b96b951 NTB: perf: Fix support for hardware that doesn't have port numbers
ec8490131670 NTB: perf: Don't require one more memory window than number of peers
2b97e354e586 NTB: Revert the change to use the NTB device dev for DMA allocations
e5cd9e1df0c9 NTB: ntb_tool: reading the link file should not end in a NULL byte
25abac5c9ff7 ntb_tool: pass correct struct device to dma_alloc_coherent
f167d8f7b341 ntb_perf: pass correct struct device to dma_alloc_coherent
08cc0ec9ba86 net: marvell: Fix OF_MDIO config check
fbaf0137df1e gfs2: fix use-after-free on transaction ail lists
e782a45789f8 blktrace: fix endianness for blk_log_remap()
545bafecc0f2 blktrace: fix endianness in get_pdu_int()
d578f98fa7b3 blktrace: use errno instead of bi_status
718d9a863eb3 selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
7fd599522823 include/linux/bitops.h: avoid clang shift-count-overflow warnings
b7ce2e4538f6 lib/zlib: remove outdated and incorrect pre-increment optimization
62378b65237e geneve: change from tx_error to tx_dropped on missing metadata
7791ab20b8eb crypto: omap-sham - add proper load balancing support for multicore
b73df5915d13 drm/amd/display: Revalidate bandwidth before commiting DC updates
ca0cac3373fa nfsd: safer handling of corrupted c_type
e585a8b54046 pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
d184d62ceb19 pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
bd410e6600b4 scsi: ufs: Don't update urgent bkops level when toggling auto bkops
88d678348430 scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
08904df10d3a gfs2: Allow lock_nolock mount to specify jid=X
9adcc852d552 nfsd4: make drc_slab global, not per-net
807460787179 ceph: don't return -ESTALE if there's still an open file
145565f722c9 drm/nouveau/disp/gm200-: fix NV_PDISP_SOR_HDMI2_CTRL(n) selection
43ba1b177a49 openrisc: Fix issue with argument clobbering for clone/fork
6de31dc168f0 rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID
2e48a738dc15 mailbox: zynqmp-ipi: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe()
2d9c7e0ff9f4 rtc: rv3028: Add missed check for devm_regmap_init_i2c()
f4fbb592d9d7 vfio/mdev: Fix reference count leak in add_mdev_supported_type
1957ac8d1b4f ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
c75f1641ef58 extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
5ed5f8db9582 powerpc/4xx: Don't unmap NULL mbase
838d3e75ba50 input: i8042 - Remove special PowerPC handling
cde05d643e51 of: Fix a refcounting bug in __of_attach_node_sysfs()
f9db526da547 NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
5e85d78ed4ff net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
ece3a3337c50 /dev/mem: Revoke mappings when a driver claims the region
3302d17ef6ea misc: xilinx-sdfec: improve get_user_pages_fast() error handling
24aa54a8b0ec clk: ast2600: Fix AHB clock divider for A1
c66e72f1721a clk: sprd: return correct type of value for _sprd_pll_recalc_rate
e5497842e253 KVM: PPC: Book3S: Fix some RCU-list locks
fd1a1089aed8 KVM: PPC: Book3S HV: Ignore kmemleak false positives
39983e188624 scsi: ufs-qcom: Fix scheduling while atomic issue
4d33659ac379 clk: bcm2835: Fix return type of bcm2835_register_gate
41324c48301d scsi: target: tcmu: Fix a use after free in tcmu_check_expired_queue_cmd()
87b3dca712b4 ASoC: fix incomplete error-handling in img_i2s_in_probe.
5578bf5ce0d8 powerpc/32s: Don't warn when mapping RO data ROX.
9669bf039ff6 mfd: stmfx: Disable IRQ in suspend to avoid spurious interrupt
d8d1b8b41783 mfd: stmfx: Fix stmfx_irq_init error path
cf90dd9fb161 mfd: stmfx: Reset chip on resume as supply was disabled
dc69fec9271a x86/apic: Make TSC deadline timer detection message visible
af92e4a595e0 RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
4c8a62c93984 scripts: headers_install: Exit with error on config leak
c707e18796c6 usb: gadget: Fix issue with config_ep_by_speed function
84e1326ffc61 usb: gadget: fix potential double-free in m66592_probe.
51ad579d64dd usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
4a8c5f25c6bc USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
0a560f102d80 usb: dwc2: gadget: move gadget resume after the core is in L0 state
f1b9e29983ae watchdog: da9062: No need to ping manually before setting timeout
4820050e8438 IB/cma: Fix ports memory leak in cma_configfs
6e934217c943 PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link
443ed62ef80d PCI: dwc: Fix inner MSI IRQ domain registration
0bd8e62464e0 PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
f04479f8d519 dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
96cd8d249a37 powerpc/64s/pgtable: fix an undefined behaviour
a7ba81f26d70 arm64: tegra: Fix flag for 64-bit resources in 'ranges' property
17232b92cf79 arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
d658c127fc41 fuse: copy_file_range should truncate cache
c9ddb8dd12e1 fuse: fix copy_file_range cache issues
ad7f78b7ce39 firmware: imx: scu: Fix possible memory leak in imx_scu_probe()
95ea51b2690e scsi: target: tcmu: Userspace must not complete queued commands
1503314a3354 RDMA/hns: Fix cmdq parameter of querying pf timer resource
d09de58d2b65 RDMA/hns: Bugfix for querying qkey
7d95cb8a4073 clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
fddd06f7490f fpga: dfl: afu: Corrected error handling levels
7454c171a88c tty: n_gsm: Fix bogus i++ in gsm_data_kick
4f01308480c5 USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
0e0332473790 ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet
f1069001bba7 drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
fbf719e5da12 usb/ohci-platform: Fix a warning when hibernating
8a67dae365e0 vfio-pci: Mask cap zero
f5e28a0824ec powerpc/ps3: Fix kexec shutdown hang
8f4372f4724d drivers: phy: sr-usb: do not use internal fsm for USB2 phy init
1a588c7edcd0 powerpc/pseries/ras: Fix FWNMI_VALID off by one
8240829fc38c powerpc/64s/exception: Fix machine check no-loss idle wakeup
b1bc8753eefc ipmi: use vzalloc instead of kmalloc for user creation
5c2207ba2394 habanalabs: increase timeout during reset
828b192c57e8 PCI/PM: Assume ports without DLL Link Active train links in 100 ms
c6737f3a1b01 HID: Add quirks for Trust Panora Graphic Tablet
7961800651fa ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback
860b8717f724 tty: n_gsm: Fix waking up upper tty layer when room available
3a497f97a3b6 tty: n_gsm: Fix SOF skipping
7fcc2ca6a3fb powerpc/64: Don't initialise init_task->thread.regs
c7fab8a5c3ba PCI: Fix pci_register_host_bridge() device_register() error handling
86e8dd9d249c clk: ti: composite: fix memory leak
4536dbe64bd1 USB: ohci-sm501: fix error return code in ohci_hcd_sm501_drv_probe()
c17e7243051a dlm: remove BUG() before panic()
d40e6a98aa55 pinctrl: rockchip: fix memleak in rockchip_dt_node_to_map
5248114b9bcf ASoC: ti: omap-mcbsp: Fix an error handling path in 'asoc_mcbsp_probe()'
5acfef99644c ASoC: ux500: mop500: Fix some refcounted resources issues
b0ccdd2fdd00 SoC: rsnd: add interrupt support for SSI BUSIF buffer
f34a3697a8d4 scsi: mpt3sas: Fix double free warnings
f20dfec03b82 scsi: target: loopback: Fix READ with data and sensebytes
a798daf42a35 arm64: dts: msm8996: Fix CSI IRQ types
6544b95bd789 ASoC: SOF: core: fix error return code in sof_probe_continue()
79790202d4f3 power: supply: smb347-charger: IRQSTAT_D is volatile
ad8b5b5faf9d power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
c1bcf01aea0e ALSA: firewire-lib: fix invalid assignment to union data for directional parameter
3201bb03c8fd scsi: qla2xxx: Fix warning after FC target reset
766c787e55ca PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
742f8ac8edd4 PCI: rcar: Fix incorrect programming of OB windows
efb5f7b106ea drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish
33cf7944af54 serial: amba-pl011: Make sure we initialize the port.lock spinlock
32a5bc992b6c i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
9eb54d0e8962 PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths
4d30daf901aa staging: sm750fb: add missing case while setting FB_VISUAL
2428682e3f6c staging: wilc1000: Increase the size of wid_list array
b14b7359535d usb: dwc3: gadget: Properly handle failed kick_transfer
1bfa09147282 usb: dwc3: gadget: Properly handle ClearFeature(halt)
e320bb0e01db HID: intel-ish-hid: avoid bogus uninitialized-variable warning
cbec16266a35 soundwire: slave: don't init debugfs on device registration error
a45fc52449d7 ASoC: max98373: reorder max98373_reset() in resume
7377ba16b542 clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers
ea78361174c4 thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
3296e566b0d2 gpio: pca953x: fix handling of automatic address incrementing
dd47c98992d6 clk: meson: meson8b: Fix the vclk_div{1, 2, 4, 6, 12}_en gate bits
ecb9a8068ba5 clk: meson: meson8b: Fix the polarity of the RESET_N lines
1fa1d1ceb02f clk: meson: meson8b: Fix the first parent of vid_pll_in_sel
9a624802e628 slimbus: ngd: get drvdata from correct device
793e15fb6681 tty: hvc: Fix data abort due to race in hvc_open
eb3e85b3375d s390/qdio: put thinint indicator after early error
d7852661f9fd ALSA: usb-audio: Fix racy list management in output queue
aba41867dd66 ALSA: usb-audio: Improve frames size computation
3468bca1ea44 staging: gasket: Fix mapping refcnt leak when register/store fails
b3b4dcdc2bb4 staging: gasket: Fix mapping refcnt leak when put attribute fails
0c884f3236f3 firmware: qcom_scm: fix bogous abuse of dma-direct internals
0c48b6df64c0 arm64: dts: qcom: fix pm8150 gpio interrupts
2b5e027657d4 virtiofs: schedule blocking async replies in separate worker
ff86bd6cca2e pinctrl: rza1: Fix wrong array assignment of rza1l_swio_entries
cd3f4ed1c567 scsi: qedf: Fix crash when MFW calls for protocol stats while function is still probing
a0a00156d50e gpio: dwapb: Append MODULE_ALIAS for platform driver
02416142fdf4 RDMA/mlx5: Fix udata response upon SRQ creation
7acbadd1aa29 ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
ef0c0fbf1d4a arm64: dts: qcom: msm8916: remove unit name for thermal trip points
f37623862ec5 scsi: qedi: Do not flush offload work if ARP not resolved
0e5d7bff3b06 arm64: dts: mt8173: fix unit name warnings
7bf3a213f79e staging: greybus: fix a missing-check bug in gb_lights_light_config()
c970dcc085b8 x86/purgatory: Disable various profiling and sanitizing options
a78c65cb4b67 apparmor: fix nnp subset test for unconfined
af1f72ad18bb scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
08d2ea2e236a scsi: sr: Fix sr_probe() missing deallocate of device minor
8f73ac0b6434 bpf, sockhash: Fix memory leak when unlinking sockets in sock_hash_free
efdb1bf81aab ASoC: meson: add missing free_irq() in error path
390f1688fb46 f2fs: handle readonly filesystem in f2fs_ioc_shutdown()
039a79ef0b1e apparmor: check/put label on apparmor_sk_clone_security()
2a9b3e4667f5 net: dsa: lantiq_gswip: fix and improve the unsupported interface error
88bc3e060390 apparmor: fix introspection of of task mode for unconfined tasks
d782d6a142d5 mksysmap: Fix the mismatch of '.L' symbols in System.map
d0af43b47418 NTB: Fix the default port and peer numbers for legacy drivers
f0b8eead5b1c NTB: ntb_pingpong: Choose doorbells based on port number
0ec407dfc1ec yam: fix possible memory leak in yam_init_driver
a4d4b8437731 sparc32: mm: Don't try to free page-table pages if ctor() fails
7f16ba366a66 pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case
9b163c91620c powerpc/crashkernel: Take "mem=" option into account
211836827af3 ASoC: qcom: q6asm-dai: kCFI fix
117929a41db1 cifs: set up next DFS target before generic_ip_connect()
c0c8c8b10567 RDMA/core: Fix several reference count leaks.
3851967ff567 PCI: vmd: Filter resource type bits from shadow register
e8cac2e3067e nfsd: Fix svc_xprt refcnt leak when setup callback client failed
db686568ae52 powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 events run
ecb9c4d344c9 IB/mlx5: Fix DEVX support for MLX5_CMD_OP_INIT2INIT_QP command
a2fe8d88aeff clk: clk-flexgen: fix clock-critical handling
6a70c943a26f scsi: vhost: Notify TCM about the maximum sg entries supported per command
296cec70500b scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
82ac4863030c clk: zynqmp: fix memory leak in zynqmp_register_clocks
bee9cc351308 scsi: cxgb3i: Fix some leaks in init_act_open()
4deddbf7db45 mfd: wm8994: Fix driver operation if loaded as modules
8e52a1eef19b powerpc/ptdump: Add _PAGE_COHERENT flag
805bae7592fa usb: gadget: core: sync interrupt before unbind the udc
2ec338547c67 gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
02bdd581404d m68k/PCI: Fix a memory leak in an error handling path
ec475f960e92 PCI: pci-bridge-emul: Fix PCIe bit conflicts
ba5192db9672 scsi: hisi_sas: Do not reset phy timer to wait for stray phy up
2b670bbfd8c0 RDMA/mlx5: Add init2init as a modify command
cbd55ce91abf coresight: tmc: Fix TMC mode read in tmc_read_prepare_etb()
c74ead459747 vfio/pci: fix memory leaks in alloc_perm_bits()
24911d387b84 arm64: dts: fvp/juno: Fix node address fields
6d79ba8094fa ps3disk: use the default segment boundary
bc881cd5334c PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only register
492c50fe65a9 arm64: dts: fvp: Fix GIC child nodes
376ef9d7ee4c ASoC: SOF: Do nothing when DSP PM callbacks are not set
1cdae7bb4221 clk: renesas: cpg-mssr: Fix STBCR suspend/resume handling
14c5e25d3b00 pinctrl: ocelot: Fix GPIO interrupt decoding on Jaguar2
4e55b843fa61 arm64: dts: juno: Fix GIC child nodes
7df82e1754df arm64: dts: armada-3720-turris-mox: fix SFP binding
4ca96a5de812 arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes
a86306dbefc3 dm mpath: switch paths in dm_blk_ioctl() code path
08f396eb02c8 misc: fastrpc: fix potential fastrpc_invoke_ctx leak
8d8991bb2bf0 misc: fastrpc: Fix an incomplete memory release in fastrpc_rpmsg_probe()
c2ff1fcc2530 serial: 8250: Fix max baud limit in generic 8250 port
9e6a9201b78b usblp: poison URBs upon disconnect
cc9024f69ba7 clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
2b5e61da68e8 remoteproc: qcom_q6v5_mss: map/unmap mpss segments before/after use
8a44731af689 i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
ceb63ec0ef6e f2fs: report delalloc reserve as non-free in statfs for project quota
ca90f67ece5c iio: bmp280: fix compensation of humidity
30bd1f36b6eb rtc: mc13xxx: fix a double-unlock issue
91fce7922a75 powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT
a6a0317bf9c2 Input: edt-ft5x06 - fix get_default register write access
70a2296d4bab scsi: qla2xxx: Fix issue with adapter's stopping state
5800b7f7d231 PCI: Allow pci_resize_resource() for devices on root bus
956a2e737a2c ALSA: isa/wavefront: prevent out of bounds write in ioctl
23337efa940c ALSA: hda/realtek - Introduce polarity for micmute LED GPIO
66a177ae4ed0 arm64: dts: meson: fixup SCP sram nodes
7631dc491a3f scsi: qedi: Check for buffer overflow in qedi_set_path()
545b86efa0d0 scsi: core: free sgtables in case command setup fails
bde2d5d443c4 ARM: dts: stm32: Add missing ethernet PHY reset on AV96
38ede4d7736e ARM: integrator: Add some Kconfig selections
a1359b9fdd8d ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
8908c555e06e ARM: dts: renesas: Fix IOMMU device node names
2c40fc80331b backlight: lp855x: Ensure regulators are disabled on probe failure
53057bd4ac84 ASoC: fsl_esai: Disable exception interrupt before scheduling tasklet
b543c3595188 clk: qcom: msm8916: Fix the address location of pll->config_reg
7906a075c900 remoteproc: Fix IDR initialisation in rproc_alloc()
8bd207bb1a25 iio: pressure: bmp280: Tolerate IRQ before registering
2e714a547ef8 ASoC: SOF: imx8: Fix randbuild error
dc570a1fb48c i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
30e82a3edd94 ASoC: tegra: tegra_wm8903: Support nvidia, headset property
7b139b714a5d clk: sunxi: Fix incorrect usage of round_down()
8aa822a1305c power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
67cb016870e2 Linux 5.4.48
8e38ea68da06 perf symbols: Fix kernel maps for kcore and eBPF
807cc607f129 perf symbols: Fix debuginfo search for Ubuntu
842645de05d5 perf probe: Check address correctness by map instead of _etext
be781abe3ae8 perf probe: Fix to check blacklist address correctly
a2e097910334 perf probe: Do not show the skipped events
9660edf6729d f2fs: fix checkpoint=disable:%u%%
1866b1493e2e w1: omap-hdq: cleanup to add missing newline for some dev_dbg
2140d7d5d878 mtd: rawnand: tmio: Fix the probe error path
ec851b26a3e5 mtd: rawnand: mtk: Fix the probe error path
b5404756b54f mtd: rawnand: pasemi: Fix the probe error path
44a9bf52ef80 mtd: rawnand: plat_nand: Fix the probe error path
ab702f81e978 mtd: rawnand: sunxi: Fix the probe error path
2d77d5575e09 mtd: rawnand: oxnas: Fix the probe error path
2d6b0901b834 mtd: rawnand: socrates: Fix the probe error path
3a54e242870b mtd: rawnand: orion: Fix the probe error path
0b19623af5a6 mtd: rawnand: xway: Fix the probe error path
ae7cf595e15b mtd: rawnand: ingenic: Fix the probe error path
38abdd9bf77c mtd: rawnand: sharpsl: Fix the probe error path
8d695fbaa5cb mtd: rawnand: diskonchip: Fix the probe error path
1260c45ac55b mtd: rawnand: brcmnand: fix hamming oob layout
ba4ffbb5592d mtd: rawnand: onfi: Fix redundancy detection check
869a782420da mtd: rawnand: Fix nand_gpio_waitrdy()
e5084eadf193 sunrpc: clean up properly in gss_mech_unregister()
4a68a2e25e20 sunrpc: svcauth_gss_register_pseudoflavor must reject duplicate registrations.
e4f7a7260737 kbuild: force to build vmlinux if CONFIG_MODVERSION=y
1b0d830e0ce0 powerpc/64s: Save FSCR to init_task.thread.fscr after feature init
b3b357d83079 powerpc/64s: Don't let DT CPU features set FSCR_DSCR
1d9a4422c9ac powerpc/32: Disable KASAN with pages bigger than 16k
4719cb8a16af powerpc/kasan: Fix shadow pages allocation failure
002d22c4945a powerpc/kasan: Fix issues by lowering KASAN_SHADOW_END
23e07a77aa7c powerpc/32s: Fix another build failure with CONFIG_PPC_KUAP_DEBUG
c6077abc067f drivers/macintosh: Fix memleak in windfarm_pm112 driver
1d5144d7dc5d ARM: dts: s5pv210: Set keep-power-in-suspend for SDHCI1 on Aries
727111d44a59 ARM: dts: at91: sama5d2_ptc_ek: fix vbus pin
1bfcafbb4d1e ARM: dts: exynos: Fix GPIO polarity for thr GalaxyS3 CM36651 sensor's bus
8c7ca9ab5abc soc/tegra: pmc: Select GENERIC_PINCONF
be20b99a86b3 ARM: tegra: Correct PL310 Auxiliary Control Register initialization
b5d2f71b98b7 kernel/cpu_pm: Fix uninitted local in cpu_pm
6d9cc26aa164 powerpc/fadump: Account for memory_limit while reserving memory
6fd930da24e1 powerpc/fadump: consider reserved ranges while reserving memory
3e9211d98803 powerpc/fadump: use static allocation for reserved memory ranges
c81e34c4346f alpha: fix memory barriers so that they conform to the specification
5018a0bd0964 dm crypt: avoid truncating the logical block size
ee6fa4903f84 sparc64: fix misuses of access_process_vm() in genregs32_[sg]et()
0dcbc7d6cd2d sparc32: fix register window handling in genregs32_[gs]et()
f2f18147c7db gnss: sirf: fix error return code in sirf_probe()
e75e551606f4 pinctrl: samsung: Save/restore eint_mask over suspend for EINT_TYPE GPIOs
407933bbb385 pinctrl: samsung: Correct setting of eint wakeup mask on s5pv210
8b28e5c35d32 power: supply: core: fix memory leak in HWMON error path
6050811edffb power: supply: core: fix HWMON temperature labels
0fd525d817ea power: vexpress: add suppress_bind_attrs to true
7c71b9aa18a0 EDAC/amd64: Add AMD family 17h model 60h PCI IDs
67712fa4a662 hwmon: (k10temp) Add AMD family 17h model 60h PCI match
3046b09d45ec igb: Report speed and duplex as unknown when device is runtime suspended
e6f91166fc37 clk: mediatek: assign the initial value to clk_init_data of mtk_mux
adecd49745f8 media: ov5640: fix use of destroyed mutex
3ef00d99199d b43_legacy: Fix connection problem with WPA3
b74d369d2962 b43: Fix connection problem with WPA3
5c039a9921b3 b43legacy: Fix case where channel status is corrupted
eeb0cf8bb68e Bluetooth: hci_bcm: fix freeing not-requested IRQ
4c79dd14c15d serial: 8250: Avoid error message on reprobe
80462f7c296d media: cedrus: Program output format during each run
6e688a315acf media: go7007: fix a miss of snd_card_free
bda6ebf290fa carl9170: remove P2P_GO support
cedbd8709cc1 e1000e: Relax condition to trigger reset for ME workaround
0fedb80811f4 e1000e: Disable TSO for buffer overrun workaround
f4cc36066a31 PCI: Program MPS for RCiEP devices
e131e70e2144 ima: Set again build_ima_appraise variable
2600136eaee9 ima: Remove redundant policy rule set in add_rules()
70ce85319d45 x86/amd_nb: Add AMD family 17h model 60h PCI IDs
44eec92cc4bf serial: 8250_pci: Move Pericom IDs to pci_ids.h
3c8938fb19ed PCI: Add Loongson vendor ID
9cfece5c0e2b x86/amd_nb: Add Family 19h PCI IDs
b35415c0949a PCI: vmd: Add device id for VMD device 8086:9A0B
3179b408c401 PCI: Add ACS quirk for Intel Root Complex Integrated Endpoints
0e4528cdbaf0 PCI: Avoid FLR for AMD Starship USB 3.0
cb5ac1a32552 PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0
c41d7ca0061e PCI: Avoid Pericom USB controller OHCI/EHCI PME# defect
fd8abb78b129 ext4: fix race between ext4_sync_parent() and rename()
c316ebcf9f4b ext4: fix error pointer dereference
319b553695ec ext4: fix EXT_MAX_EXTENT/INDEX to check for zeroed eh_max
6de50456fe17 evm: Fix possible memory leak in evm_calc_hmac_or_hash()
ce7f038f859d ima: Remove __init annotation from ima_pcrread()
f387759c2d67 ima: Call ima_calc_boot_aggregate() in ima_eventdigest_init()
64712383a186 ima: Directly assign the ima_default_policy pointer to ima_rules
4ce29d9b1941 ima: Evaluate error in init_ima()
5f7272bd228c ima: Switch to ima_hash_algo for boot aggregate
0698eacdfc4f ima: Fix ima digest hash table key calculation
13ae9eaae0cc mm: call cond_resched() from deferred_init_memmap()
5386d93bc5b6 mm/pagealloc.c: call touch_nmi_watchdog() on max order boundaries in deferred init
c388f173ed8a mm: initialize deferred pages with interrupts enabled
a88d8aaf9b8b mm: thp: make the THP mapcount atomic against __split_huge_pmd_locked()
e418045e25a9 powerpc/mm: Fix conditions to perform MMU specific management by blocks on PPC32.
0ccfd7a531e8 btrfs: fix space_info bytes_may_use underflow during space cache writeout
248cdf728895 btrfs: fix space_info bytes_may_use underflow after nocow buffered write
8076bdd4fe00 btrfs: fix wrong file range cleanup after an error filling dealloc range
c2c69ecb605f btrfs: fix error handling when submitting direct I/O bio
05c5e98bf402 btrfs: force chunk allocation if our global rsv is larger than metadata
f63545770fc4 btrfs: send: emit file capabilities after chown
20f260ed536a btrfs: include non-missing as a qualifier for the latest_bdev
fd9720b8e957 btrfs: free alien device after device add
b008ae4cc74d string.h: fix incompatibility between FORTIFY_SOURCE and KASAN
d6c2b4d246c5 kasan: stop tests being eliminated as dead code with FORTIFY_SOURCE
c48a842d8ce7 selftests/bpf, flow_dissector: Close TAP device FD after the test
e7b1564a24e6 bpf: Fix running sk_skb program types with ktls
d9cd7b83942f bpf: Refactor sockmap redirect code so its easy to reuse
215a256bc8dd bpf: Fix map permissions check
0d55b7032ad1 libbpf: Fix perf_buffer__free() API for sparse allocs
98545815cfcf platform/x86: asus_wmi: Reserve more space for struct bias_args
4383a5dfbdc5 platform/x86: intel-vbtn: Only blacklist SW_TABLET_MODE on the 9 / "Laptop" chasis-type
5f3cba4bc241 platform/x86: intel-hid: Add a quirk to support HP Spectre X2 (2015)
176396ad0594 platform/x86: hp-wmi: Convert simple_strtoul() to kstrtou32()
b77412359c1e cpuidle: Fix three reference count leaks
cf3359869819 spi: dw: Return any value retrieved from the dma_transfer callback
2c95fc879a2f mmc: sdhci-esdhc-imx: fix the mask for tuning start point
7fe3a1c29869 iwlwifi: mvm: fix aux station leak
ffa118a164e6 ixgbe: fix signed-integer-overflow warning
99ea968e3766 ice: fix potential double free in probe unrolling
62b2fbb9c463 mmc: via-sdmmc: Respect the cmd->busy_timeout from the mmc core
3d6143663f21 staging: greybus: sdio: Respect the cmd->busy_timeout from the mmc core
8a7c5b83f846 mmc: sdhci-msm: Set SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 quirk
62e7e4f5976c bcache: fix refcount underflow in bcache_device_free()
d55960f7f6b7 MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe()
3f6482c0a486 PCI: Don't disable decoding when mmio_always_on is set
fa99a4b3fb12 macvlan: Skip loopback packets in RX handler
c6f1f12a8c3d btrfs: qgroup: mark qgroup inconsistent if we're inherting snapshot to a new qgroup
1e42a1857bcf btrfs: improve global reserve stealing logic
590aad883521 m68k: mac: Don't call via_flush_cache() on Mac IIfx
ce066ce05e1b MIPS: tools: Fix resource leak in elf-entry.c
87ef5086a3c2 x86/mm: Stop printing BRK addresses
41b44325c9eb selftests/bpf: CONFIG_IPV6_SEG6_BPF required for test_seg6_loop.o
5b8d09eeb4a6 drm/amdgpu: Sync with VM root BO when switching VM to CPU update mode
b06a7dc9e5f6 drm/amd/powerpay: Disable gfxoff when setting manual mode on picasso and raven
188e3e6ed902 crypto: stm32/crc32 - fix multi-instance
d879598b8dae crypto: stm32/crc32 - fix run-time self test issue.
8fe61a2027db crypto: stm32/crc32 - fix ext4 chksum BUG_ON()
c79c643fca61 mips: Add udelay lpj numbers adjustment
34a45e84edc5 mips: MAAR: Use more precise address mask
9fa3b0bd9914 sched: Defend cfs and rt bandwidth quota against overflow
fecf17b609a7 x86/boot: Correct relocation destination on old linkers
7b3423eff20e kgdboc: Use a platform device to handle tty drivers showing up late
39d7ce336ec5 mwifiex: Fix memory corruption in dump_station
65f1c3e4e906 rtlwifi: Fix a double free in _rtl_usb_tx_urb_setup()
916f41e40643 net/mlx5e: IPoIB, Drop multicast packets that this interface sent
fa408bbe1007 veth: Adjust hard_start offset on redirect XDP frames
894d9cd52466 iocost: don't let vrate run wild while there's no saturation signal
7f5d77570b0c raid5: remove gfp flags from scribble_alloc()
cd4013947eae md: don't flush workqueue unconditionally in md_open
5deaa24167a6 mt76: avoid rx reorder buffer overflow
095e7a6a326c drm/mcde: dsi: Fix return value check in mcde_dsi_bind()
727093f432d1 net: qed*: Reduce RX and TX default ring count when running inside kdump kernel
5099a9c22dbf wcn36xx: Fix error handling path in 'wcn36xx_probe()'
dbf2fab3f540 ath10k: Remove msdu from idr when management pkt send fails
671d8b8726a1 nvme-tcp: use bh_lock in data_ready
a09fc96a3d54 nvme-pci: align io queue count with allocted nvme_queue in nvme_probe
be7f2672c341 nvme: refine the Qemu Identify CNS quirk
66ea23154df0 iwlwifi: avoid debug max amsdu config overwriting itself
287a0f7a3393 platform/x86: intel-vbtn: Also handle tablet-mode switch on "Detachable" and "Portable" chassis-types
708e0175edf5 platform/x86: intel-vbtn: Do not advertise switches to userspace if they are not there
0ac5741007f1 platform/x86: intel-vbtn: Split keymap into buttons and switches parts
4a091f1d273f platform/x86: intel-vbtn: Use acpi_evaluate_integer()
b04c79255e8d xfs: fix duplicate verification from xfs_qm_dqflush()
f69806af2a2f xfs: reset buffer write failure state on successful completion
4f1a132115ef kgdb: Fix spurious true from in_dbg_master()
fe99bb25c452 mips: cm: Fix an invalid error code of INTVN_*_ERR
7bf491d01ea7 MIPS: Truncate link address into 32bit for 32bit kernel
ec19b7a525aa Crypto/chcr: fix for ccm(aes) failed test
984fc5f4e3b4 xfs: clean up the error handling in xfs_swap_extents
0eeea4b8f0a9 libertas_tf: avoid a null dereference in pointer priv
964de53149ab powerpc/spufs: fix copy_to_user while atomic
dc091fc86216 net: allwinner: Fix use correct return type for ndo_start_xmit()
8ca0e780b4e8 media: cec: silence shift wrapping warning in __cec_s_log_addrs()
4f6762503fa2 drivers: net: davinci_mdio: fix potential NULL dereference in davinci_mdio_probe()
b2083327ea3c selinux: fix error return code in policydb_read()
86dced2417b7 net: lpc-enet: fix error return code in lpc_mii_init()
7b88ccc137fb iocost_monitor: drop string wrap around numbers when outputting json
5934e2270901 drivers/perf: hisi: Fix typo in events attribute array
f7757368e0f0 sched/core: Fix illegal RCU from offline CPUs
2e256dd5b055 exit: Move preemption fixup up, move blocking operations down
338ff29604d9 lib/mpi: Fix 64-bit MIPS build with Clang
4fbc334749e7 net: bcmgenet: Fix WoL with password after deep sleep
d7b1ca9eebdf net: bcmgenet: set Rx mode before starting netif
1dbb13ceedac selftests/bpf: Fix memory leak in extract_build_id()
58ee4d253753 netfilter: nft_nat: return EOPNOTSUPP if type or flags are not supported
d1a00c9bb1c7 dpaa2-eth: fix return codes used in ndo_setup_tc
04ab099d1eb0 Drivers: hv: vmbus: Always handle the VMBus messages on CPU0
51d2957b21b5 audit: fix a net reference leak in audit_list_rules_send()
5b737a0ae101 Bluetooth: btbcm: Add 2 missing models to subver tables
c5edfe811b4a ath10k: add flush tx packets for SDIO chip
cc66b6bb3241 MIPS: Make sparse_init() using top-down allocation
c3bc42b70ed1 media: platform: fcp: Set appropriate DMA parameters
79d622a81322 media: dvb: return -EREMOTEIO on i2c transfer failure.
189ca174b87d audit: fix a net reference leak in audit_send_reply()
6315839f14b9 drm/mediatek: set dpi pin mode to gpio low to avoid leakage current
878ca9ebf1a0 dt-bindings: display: mediatek: control dpi pins mode to avoid leakage
4f8c52320202 e1000: Distribute switch variables for initialization
0bf9805dfdae tools api fs: Make xxx__mountpoint() more scalable
a17cc8a6abab regulator: qcom-rpmh: Fix typos in pm8150 and pm8150l
22a734616824 brcmfmac: fix wrong location to get firmware feature
90e5154c737c spi: Respect DataBitLength field of SpiSerialBusV2() ACPI resource
42c22e4834c2 media: staging/intel-ipu3: Implement lock for stream on/off operations
bfc0ee2b31f8 ath10k: fix kernel null pointer dereference
76ecfcfefe3b staging: android: ion: use vmap instead of vm_map_ram
3ec7b42f1747 x86: fix vmap arguments in map_irq_stack
ece6218eea3a net: vmxnet3: fix possible buffer overflow caused by bad DMA value in vmxnet3_get_rss()
af510d6fd690 x86/kvm/hyper-v: Explicitly align hcall param for kvm_hyperv_exit
bd18ecbbc7aa spi: dw: Fix Rx-only DMA transfers
999b59be5d20 Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe()
2daf747c2831 mmc: meson-mx-sdio: trigger a soft reset after a timeout or CRC error
804664580662 ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS
f9b545956421 ice: Fix memory leak
f503e7fe3099 batman-adv: Revert "disable ethtool link speed detection when auto negotiation off"
8cf93ef213f9 ARM: 8978/1: mm: make act_mm() respect THREAD_SIZE
2a005026102e btrfs: do not ignore error from btrfs_next_leaf() when inserting checksums
3bb51c966b9f btrfs: account for trans_block_rsv in may_commit_transaction
cb0ee3f03f0b media: dvbdev: Fix tuner->demod media controller link
bffe2c8e2303 clocksource: dw_apb_timer_of: Fix missing clockevent timers
7bd656984566 clocksource: dw_apb_timer: Make CPU-affiliation being optional
e8ec0ae0f3cf spi: dw: Enable interrupts in accordance with DMA xfer mode
a2683765887d mips: Fix cpu_has_mips64r1/2 activation for MIPS32 CPUs
b1d2d3dd016f ACPI/IORT: Fix PMCG node single ID mapping handling
c2ad0dc7b9e0 pmu/smmuv3: Clear IRQ affinity hint on device removal
308c2095da30 kgdb: Prevent infinite recursive entries to the debugger
1343e0a85941 kgdb: Disable WARN_CONSOLE_UNLOCKED for all kgdb
5c79bf440d35 Bluetooth: Add SCO fallback for invalid LMP parameters error
461b239e3a73 MIPS: Loongson: Build ATI Radeon GPU driver as module
544a3a292d8e platform/x86: dell-laptop: don't register micmute LED if there is no token
ece1e470af13 ixgbe: Fix XDP redirect on archs with PAGE_SIZE above 4K
6eec65c9e283 lockdown: Allow unprivileged users to see lockdown status
00f73938ef65 drm: rcar-du: Set primary plane zpos immutably at initializing
e7aefaba39d2 block: reset mapping if failed to update hardware queue count
b432540123f5 arm64: insn: Fix two bugs in encoding 32-bit logical immediates
201219691a9a block: alloc map and request for new hardware queue
fec6f8c0b221 ACPICA: Dispatcher: add status checks
c916af516d82 spi: dw: Zero DMA Tx and Rx configurations on stack
92fb6909b058 rtw88: fix an issue about leak system resources
bd7662d6036e media: staging: ipu3: Fix stale list entries on parameter queue failure
9a0c99419125 arm64: cacheflush: Fix KGDB trap detection
12d4dac2be77 ath10k: remove the max_sched_scan_reqs value
c573a13f72fb efi/libstub/x86: Work around LLVM ELF quirk build regression
fa15b59b1ea2 net: ena: fix error returning in ena_com_get_hash_function()
84c8498320d2 net: atlantic: make hw_get_regs optional
9f664eda61a0 sched/fair: Refill bandwidth before scaling
91517e951830 x86,smap: Fix smap_{save,restore}() alternatives
6fc5d5834b37 spi: pxa2xx: Apply CS clk quirk to BXT
269e7b43f2b4 libbpf: Fix memory leak and possible double-free in hashmap__clear
072d23eef600 arm64/kernel: Fix range on invalidating dcache for boot page tables
614722f1ffd2 drm/amdgpu: Init data to avoid oops while reading pp_num_states.
d2a244e74808 spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices
07d45406db69 objtool: Ignore empty alternatives
1121685ca1bd media: si2157: Better check for running tuner in init
18b2a6f250cc media: vicodec: Fix error codes in probe function
f9f8f0c24203 crypto: ccp -- don't "select" CONFIG_DMADEVICES
68aeaeac683b media: imx: imx7-mipi-csis: Cleanup and fix subdev pad format handling
ff41c7b3c7db media: staging: imgu: do not hold spinlock during freeing mmu page table
22710f6c35a3 drm: bridge: adv7511: Extend list of audio sample rates
30c5d951a557 ath10k: Fix the race condition in firmware dump work queue
6fc5719b85ec drm/amdgpu: fix and cleanup amdgpu_gem_object_close v4
f3ec5b536fc1 ACPI: GED: use correct trigger type field in _Exx / _Lxx handling
(From OE-Core rev: e032aed2f2f158273cb622023075c5b0ad5d3eaa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ebb9d1d1f02ec4c567d56c18103df388e75e3ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
fd8cd8ac940c Linux 5.4.47
d96ef8fa9534 KVM: arm64: Save the host's PtrAuth keys in non-preemptible context
812857678847 KVM: arm64: Synchronize sysreg state on injecting an AArch32 exception
85831981aa0e xen/pvcalls-back: test for errors when calling backend_connect()
29ed45653bec block/floppy: fix contended case in floppy_queue_rq()
9ec34f441ed4 mmc: sdio: Fix several potential memory leaks in mmc_sdio_init_card()
55d805ab3691 mmc: sdio: Fix potential NULL pointer error in mmc_sdio_init_card()
d3c4c5a4d3d8 ARM: dts: at91: sama5d2_ptc_ek: fix sdmmc0 node description
5a05406e8c14 mmc: uniphier-sd: call devm_request_irq() after tmio_mmc_host_probe()
1ccf2d6c5b8c mmc: tmio: Further fixup runtime PM management at remove
e9614e0c525d mmc: mmci_sdmmc: fix DMA API warning overlapping mappings
f5b13ef230dc mmc: sdhci-msm: Clear tuning done flag while hs400 tuning
bfc12ff9050b agp/intel: Reinforce the barrier after GTT updates
e81b05e535e8 perf: Add cond_resched() to task_function_call()
e0544273b70c fat: don't allow to mount if the FAT length == 0
c49a17f1f1f7 mm/slub: fix a memory leak in sysfs_slab_add()
b21602a88ef1 drm/vkms: Hold gem object while still in-use
9c09a772acb4 Smack: slab-out-of-bounds in vsscanf
b5c8896bc14f ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
db899f242e1a ath9x: Fix stack-out-of-bounds Write in ath9k_hif_usb_rx_cb
3412e9437543 ath9k: Fix use-after-free Write in ath9k_htc_rx_msg
3eb802924486 ath9k: Fix use-after-free Read in ath9k_wmi_ctrl_rx
7f336346d001 ath9k: Fix use-after-free Read in htc_connect_service
fe0957254640 selftests/ftrace: Return unsupported if no error_log file
221b26e01d9d scsi: lpfc: Fix negation of else clause in lpfc_prep_node_fc4type
387d51f0c16f scsi: megaraid_sas: TM command refire leads to controller firmware crash
205b4c441b0e KVM: arm64: Make vcpu_cp1x() work on Big Endian hosts
f9551b73717a KVM: arm64: Stop writing aarch32's CSSELR into ACTLR
8c8238343f0f KVM: MIPS: Fix VPN2_MASK definition for variable cpu_vmbits
94f4af1b73de KVM: MIPS: Define KVM_ENTRYHI_ASID to cpu_asid_mask(&boot_cpu_data)
c6d2eb8e57b3 KVM: nVMX: Consult only the "basic" exit reason when routing nested exit
021cd99a305a KVM: nSVM: leave ASID aside in copy_vmcb_control_area
3c0bee0c0757 KVM: nSVM: fix condition for filtering async PF
64b8f33b2e1e KVM: nVMX: Skip IBPB when switching between vmcs01 and vmcs02
d181dc3667de video: fbdev: w100fb: Fix a potential double free.
dc8897b8d3b4 video: vt8500lcdfb: fix fallthrough warning
78e6964dce2a EDAC/skx: Use the mcmtr register to retrieve close_pg/bank_xor_enable
cd266f8a5b1c cpufreq: Fix up cpufreq_boost_set_sw()
943f3ae9b149 remoteproc: Fix and restore the parenting hierarchy for vdev
81fb06cb6bd4 remoteproc: Fall back to using parent memory pool if no dedicated available
12b24ba6ce56 proc: Use new_inode not new_inode_pseudo
98a3dea7e276 ovl: initialize error in ovl_copy_xattr
5650ce02d261 net/mlx5e: Fix repeated XSK usage on one channel
b05f2b60213c net/mlx5: Fix fatal error handling during device load
cd5d0278dcb1 net/mlx5: drain health workqueue in case of driver load error
57bad9e291e3 selftests/net: in rxtimestamp getopt_long needs terminating null entry
05e275d8742b dccp: Fix possible memleak in dccp_init and dccp_fini
5ab6f11621a5 crypto: virtio: Fix dest length calculation in __virtio_crypto_skcipher_do_req()
af03d5957152 crypto: virtio: Fix src/dst scatterlist calculation in __virtio_crypto_skcipher_do_req()
2ef260d686b5 crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req()
0070e73c9edc firmware: imx: scu: Fix corruption of header
a1fd068c8922 firmware: imx-scu: Support one TX and one RX
da24a76bdc81 firmware: imx: warn on unexpected RX
9a20d6c32756 x86/{mce,mm}: Unmap the entire page if the whole page is affected and poisoned
977b89e1aba0 crypto: drbg - fix error return code in drbg_alloc_state()
6ebdf342d4c7 crypto: algapi - Avoid spurious modprobe on LOADED
4a87772480aa crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated
1027dc04f557 gup: document and work around "COW can break either way" issue
6ed11984edb1 PM: runtime: clk: Fix clk_pm_runtime_get() error path
fc45cd292c5e spi: bcm-qspi: when tx/rx buffer is NULL set to 0
0cd18337704f spi: bcm-qspi: Handle clock probe deferral
3bb1e6eb7c5e spi: bcm2835aux: Fix controller unregister order
496a5e5fd0e6 spi: bcm2835: Fix controller unregister order
73d9bae0a584 spi: pxa2xx: Fix runtime PM ref imbalance on probe error
1aec7b22a93f spi: pxa2xx: Fix controller unregister order
824a4e3b9acf spi: Fix controller unregister order
7753886c6dd7 spi: dw: Fix controller unregister order
ffe5ebdf81a1 nilfs2: fix null pointer dereference at nilfs_segctor_do_construct()
d4904b38ea45 lib/lzo: fix ambiguous encoding bug in lzo-rle
07ffdf0d984b arm64: acpi: fix UBSAN warning
286822392013 ACPI: PM: Avoid using power resources if there are none for D0
75d6d0ad12f3 ACPI: GED: add support for _Exx / _Lxx handler methods
040b4dcc1269 ACPI: CPPC: Fix reference count leak in acpi_cppc_processor_probe()
e4cc99efbeb9 ACPI: sysfs: Fix reference count leak in acpi_sysfs_add_hotplug_profile()
10a8c04c0b51 ALSA: usb-audio: Add vendor, product and profile name for HP Thunderbolt Dock
969c9b50fdec ALSA: usb-audio: Fix inconsistent card PM state after resume
1f5ab51e2e2f ALSA: pcm: fix snd_pcm_link() lockdep splat
4f643b8c4773 ALSA: pcm: disallow linking stream to itself
1900bf5e7fd7 ALSA: hda/realtek - add a pintbl quirk for several Lenovo machines
13c18353c985 ALSA: fireface: fix configuration error for nominal sampling transfer frequency
110d04acda5e ALSA: es1688: Add the missed snd_card_free()
f7d57ba8d7b8 watchdog: imx_sc_wdt: Fix reboot on crash
3003daa76bdf smb3: add indatalen that can be a non-zero value to calculation of credit charge in smb2 ioctl
0470d6c3276d smb3: fix incorrect number of credits when ioctl MaxOutputResponse > 64K
e1437d181d30 efi/efivars: Add missing kobject_put() in sysfs entry creation error path
ab2df991e5e2 io_uring: use kvfree() in io_sqe_buffer_register()
d4a13e671138 ASoC: max9867: fix volume controls
ac0175f9dd4d powerpc/ptdump: Properly handle non standard page size
cb810f75e98a KVM: x86: Fix APIC page invalidation race
a2b0ce3c2206 KVM: x86: respect singlestep when emulating instruction
af718119061f KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
d872f174218d perf/x86/intel: Add more available bits for OFFCORE_RESPONSE of Intel Tremont
57a537b3994e x86/reboot/quirks: Add MacBook6,1 reboot quirk
e1545848ad55 x86/speculation: PR_SPEC_FORCE_DISABLE enforcement for indirect branches.
6d60d5462a91 x86/speculation: Avoid force-disabling IBPB based on STIBP and enhanced IBRS.
9d1dcba6dd48 x86/speculation: Prevent rogue cross-process SSBD shutdown
41551b56af93 x86/PCI: Mark Intel C620 MROMs as having non-compliant BARs
e8652fef5336 x86_64: Fix jiffies ODR violation
7ae53601458f sctp: fix refcount bug in sctp_wfree
067ef17a3f7d sctp: fix possibly using a bad saddr with a given dst
f1bb90b885cf iwlwifi: mvm: fix NVM check for 3168 devices
0315cfc6f816 ipv4: fix a RCU-list lock in fib_triestat_seq_show
7328f9a4ad58 aio: fix async fsync creds
f27ad513a474 fanotify: fix ignore mask logic for events on child and on dir
515e02bf19b3 selftests: fix flower parent qdisc
0b11ec4ae557 mm: add kvfree_sensitive() for freeing sensitive data objects
7c41d8c1bc6f perf probe: Accept the instance number of kretprobe event
a3e6ba31fc4d PCI/PM: Adjust pcie_wait_for_link_delay() for caller delay
ba95f95c27e8 KVM: x86: only do L1TF workaround on affected processors
79e378172ca3 x86/cpu/amd: Make erratum #1054 a legacy erratum
86c7d245e38d s390/pci: Log new handle in clp_disable_fh()
77db4e1d40aa padata: add separate cpuhp node for CPUHP_PADATA_DEAD
f23be4d1555d RDMA/uverbs: Make the event_queue fds return POLLERR when disassociated
3f14df580a3d smack: avoid unused 'sip' variable warning
3242fa02daf0 ath9k_htc: Silence undersized packet warnings
b06bbbc6afcd spi: dw: Fix native CS being unset
eb6315063043 powerpc/xive: Clear the page tables for the ESB IO mapping
282acc187c48 drivers/net/ibmvnic: Update VNIC protocol version reporting
f8713c2cb06e gfs2: Even more gfs2_find_jhead fixes
108681048cf7 csky: Fixup abiv2 syscall_trace break a4 & a5
16d902821bb7 Input: synaptics - add a second working PNP_ID for Lenovo T470s
53fed23f8c74 sched/fair: Don't NUMA balance for kthreads
1a28b2050334 ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook
bafaf4708a62 Input: mms114 - fix handling of mms345l
b4aa6da26135 elfnote: mark all .note sections SHF_ALLOC
f04d1e880f17 bpf: Support llvm-objcopy for vmlinux BTF
3a577e62208c vxlan: Avoid infinite loop when suppressing NS messages with invalid options
de9d1010b97c bridge: Avoid infinite loop when suppressing NS messages with invalid options
747d5bcb97eb tun: correct header offsets in napi frags mode
c8e374ee6095 net_failover: fixed rollback in net_failover_open()
5ab453bb7b29 mlxsw: core: Use different get_trend() callbacks for different thermal zones
f560ea659b33 ipv6: fix IPV6_ADDRFORM operation logic
(From OE-Core rev: a44069efe2f755f7d58704dcc173e58ddbe4479a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea6bc1389bae6e5c28d0ee49a41ad1e3ca632d3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
46d685b7b963 Linux 5.4.43-rt25
(From OE-Core rev: 87db4b3f738e1c554745e70b82b539e11abb3725)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 361b11594b3e04e7b279a88d5d3358dd75bb2a2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
3604bc07c035 Linux 5.4.45
40caf1bfd32c net: smsc911x: Fix runtime PM imbalance on error
252801505e04 selftests: mlxsw: qos_mc_aware: Specify arping timeout as an integer
aea1423a6334 net: ethernet: stmmac: Enable interface clocks on probe for IPQ806x
6992c8995c84 net/ethernet/freescale: rework quiesce/activate for ucc_geth
6a904892d84f null_blk: return error for invalid zone size
b5cb7fe92059 s390/mm: fix set_huge_pte_at() for empty ptes
c0063f3919ae drm/edid: Add Oculus Rift S to non-desktop list
c90e773c21fb net: bmac: Fix read of MAC address from ROM
92c09e88c188 x86/mmiotrace: Use cpumask_available() for cpumask_var_t variables
ba550153177a io_uring: initialize ctx->sqo_wait earlier
f1c582154e43 i2c: altera: Fix race between xfer_msg and isr thread
1857d7d77659 scsi: pm: Balance pm_only counter of request queue during system resume
1610cd913f5a evm: Fix RCU list related warnings
31ca6427f64d ARC: [plat-eznps]: Restrict to CONFIG_ISA_ARCOMPACT
935ba01e80d4 ARC: Fix ICCM & DCCM runtime size checks
8a69220b659c RDMA/qedr: Fix synchronization methods and memory leaks in qedr
49e92679341d RDMA/qedr: Fix qpids xarray api used
0377fda07b5e s390/ftrace: save traced function caller
0734b58f84a9 ASoC: intel - fix the card names
6106585fc4c4 spi: dw: use "smp_mb()" to avoid sending spi data error
99c63ba21d2e powerpc/xmon: Restrict when kernel is locked down
f2adfe126bdb powerpc/powernv: Avoid re-registration of imc debugfs directory
a293045d38c1 scsi: hisi_sas: Check sas_port before using it
cfd5ac76ba30 drm/i915: fix port checks for MST support on gen >= 11
74028c9c22fd airo: Fix read overflows sending packets
63ad3fb06834 net: dsa: mt7530: set CPU port to fallback mode
d628f7a59e1c scsi: ufs: Release clock if DMA map fails
95ffc2a5cea7 media: staging: ipu3-imgu: Move alignment attribute to field
5b6e152341b0 media: Revert "staging: imgu: Address a compiler warning on alignment"
a122eef40fd2 mmc: fix compilation of user API
1c44e6e09dc8 kernel/relay.c: handle alloc_percpu returning NULL in relay_open
91e863ab82c8 mt76: mt76x02u: Add support for newer versions of the XBox One wifi adapter
8a6744ebdbb5 p54usb: add AirVasT USB stick device-id
ac09eae4b734 HID: i2c-hid: add Schneider SCL142ALM to descriptor override
3e8410cbef27 HID: multitouch: enable multi-input as a quirk for some devices
aa0dd0e2252b HID: sony: Fix for broken buttons on DS3 USB dongles
df4988aa1c96 mm: Fix mremap not considering huge pmd devmap
3209e3e812dd Revert "cgroup: Add memory barriers to plug cgroup_rstat_updated() race window"
55852b3fd146 Linux 5.4.44
f2a9b00a68c5 perf: Make perf able to build with latest libbfd
3f57fa847e27 netfilter: nf_conntrack_pptp: fix compilation warning with W=1 build
7a075390b732 netfilter: conntrack: Pass value of ctinfo to __nf_conntrack_update
987de40bff33 netfilter: conntrack: comparison of unsigned in cthelper confirmation
a4547f63e05f bonding: Fix reference count leak in bond_sysfs_slave_add.
b668b392cc2c net: dsa: declare lockless TX feature for slave ports
35c0a6e7ef55 ipv4: nexthop version of fib_info_nh_uses_dev
568c159356d1 nexthop: Expand nexthop_is_multipath in a few places
88e81db5509b nexthops: don't modify published nexthop groups
8398275f7aed nexthops: Move code from remove_nexthop_from_groups to remove_nh_grp_entry
2b043affcaea crypto: chelsio/chtls: properly set tp->lsndtime
a369e8378b48 qlcnic: fix missing release in qlcnic_83xx_interrupt_test.
1c38cfc259a7 xsk: Add overflow check for u64 division, stored into u32
73c05545fbb5 ieee80211: Fix incorrect mask for default PE duration
2e91cd11bafc bnxt_en: Fix accumulation of bp->net_stats_prev.
dda9d0eb7a96 esp6: get the right proto for transport mode in esp6_gso_encap
9f57771d09f4 netfilter: nf_conntrack_pptp: prevent buffer overflows in debug code
b16287f99d31 netfilter: nfnetlink_cthelper: unbreak userspace helper support
7140b6280230 netfilter: conntrack: make conntrack userspace helpers work again
17021d1b899d netfilter: ipset: Fix subcounter update skip
25f629a70680 netfilter: nft_reject_bridge: enable reject with bridge vlan
26e28c10e72c ip_vti: receive ipip packet by calling ip_tunnel_rcv
0de9bed087a2 xfrm: fix error in comment
f5dc87e0e389 xfrm: fix a NULL-ptr deref in xfrm_local_error
25613580a5bc xfrm: fix a warning in xfrm_policy_insert_list
d9710d69b89f xfrm interface: fix oops when deleting a x-netns interface
de4a187389fa xfrm: call xfrm_output_gso when inner_protocol is set in xfrm_output
edd79cf0cfdf xfrm: remove the xfrm_state_put call becofe going to out_reset
cd7031ef9683 xfrm: do pskb_pull properly in __xfrm_transport_prep
14a1c1dc5695 xfrm: allow to accept packets with ipv6 NEXTHDR_HOP in xfrm_input
47dc81ce7d84 copy_xstate_to_kernel(): don't leave parts of destination uninitialized
94690ca1ae4c x86/dma: Fix max PFN arithmetic overflow on 32 bit systems
e980f9cb2f2d mac80211: mesh: fix discovery timer re-arming issue / crash
2f0851690a0e x86/syscalls: Revert "x86/syscalls: Make __X32_SYSCALL_BIT be unsigned long"
8c1bfa73353a cfg80211: fix debugfs rename crash
f9cd0c831806 parisc: Fix kernel panic in mem_init()
ca788fd797a7 iommu: Fix reference count leak in iommu_group_alloc.
b298c314b9d9 gpio: fix locking open drain IRQ lines
bba91cdba612 Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"
31f0b78bb478 include/asm-generic/topology.h: guard cpumask_of_node() macro argument
a02c130efbbc fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()
de482c445b0f mm: remove VM_BUG_ON(PageSlab()) from page_mapcount()
a7ba9f24737b mm,thp: stop leaking unreleased file pages
21358b3e77af IB/ipoib: Fix double free of skb in case of multicast traffic in CM mode
5a1bd1704272 drm/amd/display: drop cursor position check in atomic test
b5d326a77b73 RDMA/core: Fix double destruction of uobject
6b292d7806a1 ceph: flush release queue when handling caps for unknown inode
4d145e482374 libceph: ignore pool overlay and cache logic on redirects
d162b9e1b1a9 ALSA: hda/realtek - Add new codec supported for ALC287
c33bf209deae ALSA: usb-audio: Quirks for Gigabyte TRX40 Aorus Master onboard audio
8fc8674092b2 clk: qcom: gcc: Fix parent for gpll0_out_even
68fe063327af exec: Always set cap_ambient in cap_bprm_set_creds
4adcf889e66b ALSA: usb-audio: mixer: volume quirk for ESS Technology Asus USB DAC
8c71b0bd64df ALSA: hda/realtek - Add a model for Thinkpad T570 without DAC workaround
84b0a4f42584 ALSA: hwdep: fix a left shifting 1 by 31 UB bug
a003e1f653d6 RDMA/pvrdma: Fix missing pci disable in pvrdma_pci_probe()
b191e3ea6dfc gpio: bcm-kona: Fix return value of bcm_kona_gpio_probe()
d6d07089dee3 gpio: pxa: Fix return value of pxa_gpio_probe()
a971f71e91fb mmc: block: Fix use-after-free issue for rpmb
2de6df8df9bd ARM: dts: bcm: HR2: Fix PPI interrupt types
f8b161c3f3ac ARM: dts: bcm2835-rpi-zero-w: Fix led polarity
485bd944e0c6 ARM: dts/imx6q-bx50v3: Set display interface clock parents
a38a75c22b9f IB/qib: Call kobject_put() when kobject_init_and_add() fails
820be34d0137 gpu/drm: Ingenic: Fix opaque pointer casted to wrong type
707f5075021f soc: mediatek: cmdq: return send msg error code
56e7873ed267 arm64: dts: mt8173: fix vcodec-enc clock
750f47a6586b gpio: exar: Fix bad handling for ida_simple_get error path
5242e3850b1c ARM: uaccess: fix DACR mismatch with nested exceptions
d9c318f0eda3 ARM: uaccess: integrate uaccess_save and uaccess_restore
96e2df4c753b ARM: uaccess: consolidate uaccess asm to asm/uaccess-asm.h
f175897a960e ARM: 8970/1: decompressor: increase tag size
4aa75ce40b1d Input: synaptics-rmi4 - fix error return code in rmi_driver_probe()
176dbb9eeba0 Input: synaptics-rmi4 - really fix attn_data use-after-free
7016d241ca64 Input: i8042 - add ThinkPad S230u to i8042 reset list
a63a679e1ec7 Input: dlink-dir685-touchkeys - fix a typo in driver name
d9d50cbccc79 Input: xpad - add custom init packet for Xbox One S controllers
9abf0403a709 Input: evdev - call input_flush_device() on release(), not flush()
5a273fa56229 Input: usbtouchscreen - add support for BonXeon TP
b66de2d961a6 drivers: net: hamradio: Fix suspicious RCU usage warning in bpqether.c
dfe417b45634 samples: bpf: Fix build error
70bf0fd60f2f csky: Fixup raw_copy_from_user()
2fa8032fa78a cifs: Fix null pointer check in cifs_read
ce1ef281e786 hwmon: (nct7904) Fix incorrect range of temperature limit registers
68d72327999a csky: Fixup remove duplicate irq_disable
99bd434f8893 csky: Fixup perf callchain unwind
f3f23f4c6413 csky: Fixup msa highest 3 bits mask
e104bd855454 clk: ti: am33xx: fix RTC clock parent
6b8c281e9a48 riscv: stacktrace: Fix undefined reference to `walk_stackframe'
b84952e88336 IB/i40iw: Remove bogus call to netdev_master_upper_dev_get()
706fee65d95c net: freescale: select CONFIG_FIXED_PHY where needed
74037ef26835 usb: gadget: legacy: fix redundant initialization warnings
e8a03e73cd14 usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()'
e02fe520c11b usb: dwc3: pci: Enable extcon driver for Intel Merrifield
e1dfa986fda6 cachefiles: Fix race between read_waiter and read_copier involving op->to_do
336292c44f62 drm/amdgpu: Use GEM obj reference for KFD BOs
2dd33d3175ef drm/amd/powerplay: perform PG ungate prior to CG ungate
4552f27f9d64 drm/amdgpu: drop unnecessary cancel_delayed_work_sync on PG ungate
49388448eda0 gfs2: Grab glock reference sooner in gfs2_add_revoke
fd5516ea8239 gfs2: move privileged user check to gfs2_quota_lock_check
02a76cd6bda6 net: microchip: encx24j600: add missed kthread_stop
2578135aa8f0 ALSA: usb-audio: add mapping for ASRock TRX40 Creator
3e4e413c93f0 gpio: tegra: mask GPIO IRQs during IRQ shutdown
6ff411af068c ARM: dts: rockchip: fix pinctrl sub nodename for spi in rk322x.dtsi
881dc2e22fb9 ARM: dts: rockchip: swap clock-names of gpu nodes
96e88e683165 arm64: dts: rockchip: swap interrupts interrupt-names rk3399 gpu node
9dc2e51ea7c1 arm64: dts: rockchip: fix status for &gmac2phy in rk3328-evb.dts
dd35a809c158 ARM: dts: rockchip: fix phy nodename for rk3229-xms6
203a45eb258c ARM: dts: rockchip: fix phy nodename for rk3228-evb
c5b2233ad5f4 mlxsw: spectrum: Fix use-after-free of split/unsplit/type_set in case reload fails
9aeacb829cad net/mlx4_core: fix a memory leak bug.
fcb4d5869e98 net: sun: fix missing release regions in cas_init_one().
d12fc818b0d8 net/tls: free record only on encryption error
cff9e73a34a2 net/tls: fix encryption error checking
3f4f034a8676 net/mlx5: Annotate mutex destroy for root ns
f493398fe0f7 net/mlx5: Fix error flow in case of function_setup failure
9fe88c940828 net/mlx5e: Update netdev txq on completions during closure
02c97e838597 net/mlx5: Fix memory leak in mlx5_events_init
e23f88f7e730 net/mlx5e: Fix inner tirs handling
f9e2700f34ec net/mlx5e: kTLS, Destroy key object after destroying the TIS
8c9df6ced1f9 tipc: block BH before using dst_cache
5398c7ff2347 sctp: Start shutdown on association restart if in SHUTDOWN-SENT state and socket is closed
70989e501fbc sctp: Don't add the shutdown timer if its already been added
34036769c84b r8152: support additional Microsoft Surface Ethernet Adapter variant
983fa2e7740f nexthop: Fix attribute checking for groups
cf4cc95a15f5 net/tls: fix race condition causing kernel panic
587e13469cfd net sched: fix reporting the first-time use timestamp
f12398120522 net: revert "net: get rid of an signed integer overflow in ip_idents_reserve()"
83588bf1dd55 net: qrtr: Fix passing invalid reference to qrtr_local_enqueue()
7e0e066df34a net: nlmsg_cancel() if put fails for nhmsg
84e91312ad9a net: mvpp2: fix RX hashing for non-10G ports
212bcf1039a9 net/mlx5: Add command entry handling completion
a9595d1c60a7 net: ipip: fix wrong address family in init error path
4d827edb8f4e net: inet_csk: Fix so_reuseport bind-address cache in tb->fast*
b51eb49d9a5d __netif_receive_skb_core: pass skb by reference
53cf25df80c7 net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during suspend
557045f771e2 net: dsa: mt7530: fix roaming from DSA user ports
b853a13bb224 net: don't return invalid table id error when we fall back to PF_UNSPEC
40a904b1c2e5 dpaa_eth: fix usage as DSA master, try 3
d9ce4b67dd9f ax25: fix setsockopt(SO_BINDTODEVICE)
(From OE-Core rev: 7f9f4484e75678ee4dee8458f3caadde639bd962)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71ab00d335d1d7f5d0827651397b8109091108d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes u-boot-qoriq breakage of:
commit 4fde8c8f47
Author: Ming Liu <ming.liu@toradex.com>
Date: Wed Jun 3 13:56:01 2020 +0200
u-boot: support merging .cfg files for UBOOT_CONFIG
U-boot recipe supports .cfg files in SRC_URI, but they would be merged
to .config during do_configure only when UBOOT_MACHINE is set, we
should also support merging .cfg files for UBOOT_CONFIG.
The intension of 4fde8c8 looks more than append delta-config snippets to
u-boot config and should probably be rewritten to express that much better
than implicitely assume all "*.cfg" are for merging into .config.
(From OE-Core rev: 8c2f4dc79f69df2174b8ab4f8b69a749aee16129)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4644f231a1463123d4100fcaf1448b3d174ef1a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
U-boot recipe supports .cfg files in SRC_URI, but they would be merged
to .config during do_configure only when UBOOT_MACHINE is set, we
should also support merging .cfg files for UBOOT_CONFIG.
(From OE-Core rev: cd7ca887f79f67f2cf0499481a4032825c3077f2)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce3de00d41791fa5e9557c5e93a99fbe368311f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version update to fix autobuilder oe_selftest failures on Ubuntu 18.04 and 20.04
2020-06-29 20:57:58,686 - oe-selftest - INFO - runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
2020-06-29 20:57:58,687 - oe-selftest - INFO - ... FAIL
musl-ioctl.patch
removed since it is included in 2.4.101
(From OE-Core rev: 43b397c4a41ba17155fb1f57f3f0b015bb4c65b2)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 015e631cd18d982df03d4c829c0f8229a2face38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc10 build issue occurs in both u-boot and u-boot-tools
(From OE-Core rev: 2e128a775a3d51dc1856a35e2f5135d3c156d10e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should be using python3 here, it was missed in the conversion. Spotted on
autobuilder tests failing on systems with python missing.
(From OE-Core rev: 1373006c28541e8fd6ceb6d5ed905ff1536ef3f7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db07b09196022078346aadd565760240b7da6a71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If oe-selftest is run without -j, the separate build directory "build-st"
isn't cleaned up afterwards. Mirror the behaviour of the -j option to
handle this the same way, only preserve upon failure.
To do this, the remove function needs to be moved to the selftest
context module so that it can be accessed without requiring the
testtools and subunit modules the -j option requires.
A dummy wrapper class is used to wrap the tests and clean up afterwards.
[YOCTO #13953]
(From OE-Core rev: 20e7b1eeeb12f1cf4bd9934e0a5733c6bbe64372)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b376ade430d40d3cfe9c18f200c764d622710e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LAYERDEPENDS is a string of this format:
"DEPEND1 (optional version) DEPEND2 (optional version) ..."
However when we parse LAYERDEPENDS in _get_layer_collections() we
parse it as a simple string, and if any optional versions are there the
'depends' field is wrong. For example, running yocto-check-layer
might result in such errors:
ERROR: Layer meta-python depends on (>= and isn't found.
ERROR: Layer meta-python depends on 12) and isn't found.
Let's use bb.utils.explode_dep_versions2() to parse LAYERDEPENDS, and
create a string that contains all dependencies, effectively
skipping/ignoring any optional versions.
[YOCTO #13957]
(From OE-Core rev: 819f41906197bb712af37349c0865002bfbd7c9b)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f81f07afc200fe06c5c06ea81a4f8a3a43436faf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Starting from v5.8-rc1 commit 269a535ca931 (modpost: generate
vmlinux.symvers and reuse it for the second modpost"), kernel will
generate new vmlinux.symvers instead of dumping all the vmlinux symbols
into Module.symvers in the first pass.
Error log:
'run.do_shared_workdir.16614' failed with exit code 1:
DEBUG: cp: cannot stat 'Module.symvers': No such file or directory
This change will check the file Module.symvers existence before copying it.
(From OE-Core rev: e96d99824f085644162fe0599988a3408eab90f8)
Signed-off-by: Lili Li <lili.li@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd2d62a08a1dfcd890a03ee55132b6d6c65f5ab7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autobuilder generated checksum files only have a single space between the sum and the
filename, tweak it to account for this.
(From OE-Core rev: 877a082b5f3f5ccf8191a2438e7707b419174ea9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1e71bf5b399372166eb40bb0d99c8fb52231600)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes issues with openssl certs not working properly which meant error
reporting to an error report server was failing.
Also, all our downloads are now standarised on "sha256sum" so adjust for that.
(From OE-Core rev: bef009c91e8acfc7c1ba3cfd3183f000a02e002b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc8b44e19a05f499f5cef049eedbed1fede2e765)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for running wic images with EFI as testimage.
Introduces a variable called QEMU_USE_OVMF for configuration.
(From OE-Core rev: 458a860b45c0fb5bb3162b5a112b518c3339c1dd)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3af8aaff68ed332d812ea7dc184d392700ad7882)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Content of the optional parameter will be appended to the rootfs-device
in the qemu configuration, in case QB_ROOTFS_OPT is not specified.
By default this is empty.
Example use cases are:
Defining 'readonly' when using squashfs, so multiple instances of qemu
can share the same base image, something that cannot be done by just
specifying 'snapshot'.
Defining 'bootindex=0' which helps to get past the EFI shell in
ovmf-binary. This also enables the use case of running WIC images with
EFI bootloader through the testimage.bbclass.
(From OE-Core rev: 1a5cb1bd56be2b784208516a7c73c49906c7022f)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9b8c194636cb5505774a2a71bf54450580dd5b8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output content is created in current directory, because json content
has no defined absolute path to WORKDIR as in bitbake.
(From OE-Core rev: 394d90efdc8d06dc61114bf6279ba6d094667289)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 14203b2cb9aa62f55cb12230ac8012b3cd995be7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Occasionally we've been seeing leftover threads from runCmd. The stdin test
assumes we clean up all threads but the code assumes that the daemonic thread
can be left behind.
The issue can be reproduced by adding a time.sleep(10) to the end of
writeThread() which will mean it stays resident past the end of the command.
We may as well add it to the threads list and clean it up properly,
hopefully removing the race in the tests from the autobuilder.
[YOCTO #13055]
(From OE-Core rev: 9034ac93518b74dae5e05776c0bce085171cdd1f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b251dcaffe52d32c1faf41ab57ab414fbc29722)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a tumbleweed system, "install X Y" was showing the error:
pseudo: ENOSYS for 'fsetxattr'.
which was being caused by dlsym() for that function returning NULL. This
appears to be due to it finding an unresolved symbol in libacl for this
symbol in libattr. It hasn't been resolved so its NULL. dlerror() returns
nothing since this is a valid symbol entry, its just not the one we want.
We can add the glibc version string for the symbol we actually want so we get
that version rather than the libattr/libacl one. The calls in libattr are just
wrappers around the libc version so our attaching to the libc versions should
intercept any accesses via these too.
[YOCTO #13952]
(From OE-Core rev: 60ae9e6d31dcfc06961fedf7622a204162d3f464)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 82655cb26ad01de9587ef41eaef155c61c361f67)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix error during post uninstall:
%postun(shared-mime-info-data-2.0-r0.4.corei7_64): execv(/bin/sh) pid 78
+ '[' 0 = 0 ']'
+ set -e
+ '[' x '!=' x ']'
+ echo 'Updating MIME database... this may take a while.'
Updating MIME database... this may take a while.
+ update-mime-database /usr/share/mime
Directory '/usr/share/mime/packages' does not exist!
%postun(shared-mime-info-data-2.0-r0.4.corei7_64): waitpid(78) rc 78 status 100
warning: %postun(shared-mime-info-data-2.0-r0.4.corei7_64) scriptlet failed, exit status 1
when run post uninstall scriptlet, /usr/share/mime/packages has been
removed during unintall, while update-mime-database will check xml under
/usr/share/mime/packages.
workaround by create this dir before update, then remove it
(From OE-Core rev: 24f4f4551d220030c0f847c648a49a15bf1fe6eb)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6f262a316d6c32ff9ce96ab4bd95726772b5f20f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This unit was changed from 'BindsTo' in the following commit.
"""
commit f0f359ec9210759f6b4dbfb35d3fba8af208c43a
Author: Jason Wessel <jason.wessel@windriver.com>
Date: Thu Aug 29 07:00:31 2019 -0700
serial-getty@.service: Allow device to fast fail if it does not exist
"""
It was changed back to 'BindTo' in the following commit.
"""
commit 63bbff61b78c651339c4b18d8376187379ec3b3c
Author: Otavio Salvador <otavio.salvador@gmail.com>
Date: Fri Jun 12 14:30:44 2020 -0300
systemd: Sync systemd-serialgetty@.service with upstream
"""
This is now causing runtime problem for qemuarm64. The default.target
is not reached until a timeout. Output is like below.
"""
root@qemuarm64:~# systemd-analyze
Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
root@qemuarm64:~# systemctl list-jobs
JOB UNIT TYPE STATE
102 getty.target start waiting
1 multi-user.target start waiting
95 systemd-update-utmp-runlevel.service start waiting
110 serial-getty@hvc0.service start waiting
111 dev-hvc0.device start running
"""
We can see that we are waiting for /dev/hvc0, while in fact there's no /dev/hvc0.
Jason's commit actually solves such problem.
So restore to use Jason's method. Do not use 'BindsTo'.
(From OE-Core rev: b1d0eacc431517695c348ad14f4452be607c0b62)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 43b989c1231d3d867303ccebceda72364a9519ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release:
ver 0.32:
Fix issue with handling D-Bus watch removal.
(From OE-Core rev: cee916d41aa067fd6f994bf5331962b73f74343c)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98d97384167a8d297650e49f9cabf4fae823b4a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It defaults to ${PN}-initial-env, no functional changes with current
implementation, but this allows it to be changed in individual u-boot
recipes.
If UBOOT_INITIAL_ENV is empty, then no initial env would be compiled/
installed/deployed, set ALLOW_EMPTY_${PN}-env = "1".
The major purpose for introducing this, is that the users might have
some scripts on targets like:
```
/sbin/fw_setenv -f /etc/u-boot-initial-env
```
and it should be able to run against a identical path generated by
different u-boot recipes.
(From OE-Core rev: e4d5c99abab58aa813fe2da7c576ae69b9413304)
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb7e8b6b88855f3f523b2176ea2c85a330bfe00b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder can end up using build/../ syntax which is an issue
if the build directory is cleaned. Avoid this by using normpath()
on the file path passed in.
(Bitbake rev: 1d3892d93ee9688d69f5bb5ea6aef8b1152bd1e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 41988fec47eb196ab7195a75330a6d98de19101b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In rare cases the pickled data from a task contains "</event>" which
causes backtrace. This can be reproduced with something like:
do_unpack_prepend () {
bb.warn("</event>")
}
There are several solutions but the easiest is to catch this exception
and look for the next marker instead as this should be the only way such
an unpickle error could occur.
This fixes rare exceptions seen on the autobuilder.
Also add in other potential exceptions listed in the pickle manual
page so that better debug is obtained should there be an error in
this code path in future. exitcode doesn't need the same handling
since we control what is in that data field and it could never contain
</exitcode>
(Bitbake rev: 6d780fe3a111adbf3f3d2dda22d5a0787b195b62)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5ada512d6f9cbbdf1172ff7818117c38b12225ca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code that handled exceptions from the hash equivalence client was
raising an exception itself because hashserv.client wasn't imported
(Bitbake rev: a7fc2ae3fd40b7de36f7f9b3da64a610a698b4ed)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a76290dfc6f34ff9f6efdb13a6db74b6b4759daf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hash equivalence client and server can occasionally send messages
that are too large for the server to fit in the receive buffer (64 KB).
To prevent this, support is added to the protocol to "chunkify" the
stream and break it up into manageable pieces that the server can each
side can back together.
Ideally, this would be negotiated by the client and server, but it's
currently hard coded to 32 KB to prevent the round-trip delay.
(Bitbake rev: 1a7bddb5471a02a744e7a441a3b4a6da693348b0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e27a28c1e40e886ee68ba4b99b537ffc9c3577d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libvdpau support was added to meta-oe by commit bf1de4db2 ("libvdpau:
Add recipe") in 2016. Therefore add a packageconfig for the
corresponding gstreamer plugin.
Based on a patch by Richard Leitner <richard.leitner@skidata.com>
(From OE-Core rev: 1a98936830ba468d63e2e49d766add9e9cb75998)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 878a8561e10017bb91ea42bbbe6d4acfc0985482)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When explicitly passing a branch using --srcbranch in 'devtool add' or
'recipetool create', the branch name is not included in the params of
bb.fetch2.encodeurl and default 'master' branch is used instead.
(From OE-Core rev: 50789b582908f78d9bb2b5a05418433ad8074825)
Signed-off-by: Tuomas Salokanto <tuomas.salokanto@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0424df825f1e509faf6cd44403c0736bb91b57c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The `-trimpath` option is important for reproducible builds so full
build paths and module paths are not embedded.
(From OE-Core rev: 03799cf6141abf75e7cfad5ec9822eb303b68e2f)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e3df027b3697b6a92b417bba8d442a5bd15525fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dep utility must not use 'go mod' support, so we explicitly disable it.
(From OE-Core rev: e953be6c159bfed4ac69f30fa2562d217d25c254)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b34000ae3dd6e0a1d7fc332efb35c5da84cf2275)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Glide utility must not use 'go mod' support, so we explicitly disable
it.
(From OE-Core rev: 229ee71cbc9db1dd24f14dabea7d9236b3819421)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5a4369ba606677285b0a89a78c040b38f57767f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using Go Modules, the the current working directory MUST be at or
below the location of the 'go.mod' file when the go tool is used, and
there is no way to tell it to look elsewhere. It will automatically
look upwards for the file, but not downwards.
To support this use case, we provide the `GO_WORKDIR` variable, which
defaults to `GO_IMPORT` but allows for easy override.
[YOCTO #13883]
(From OE-Core rev: a0716c04ed4f062b3112e3d41abc7ea1fad3b7e7)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 11c2b06ac98cc5064640705712bffa156519f450)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_configure and do_preconfigure can modify source files, which causes
race conditions if these tasks run in parallel with do_ar_patched. Add
explicit task dependencies to ensure that do_ar_patched finishes before
these tasks start. Specifically, this fixes a race condition with
gcc-source where do_ar_patched races with do_preconfigure deleting
gcc/gengtype-lex.c
(From OE-Core rev: fdd06278dc67e8c13468b89746c562d298a2d63b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8a7c7794870815030239e90b03e37ed302b7e885)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to allow consistent output of buildhistory-collect-srcrevs sort
the list of directories returned by os.walk. Otherwise the list of
SRCREVs is returned in an unspecified order.
We save the output of this command on build, so it creates smaller diffs
between builds.
(From OE-Core rev: 9ca9c0fa320caeb2a1e7a60161c4db66dc0f2030)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d7cb207ad4ec3cd5a3064147d3c9b5a1730d0fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were seeing a ton of empty perl modules being created such as
"perl-module-x86-64-linux-encoding" where the name would include
${TARGET_ARCH}-linux. These files were already being filtered in an
earlier do_split_packages() expression so exclude them from the latter
one to remove the pointless empty modules in PACKAGES.
This doesn't explain why some were not deterministic but will recude
the do_package execution time and clean up the build directories
at the very least.
(From OE-Core rev: 5aaf9d3a748cbad17a4a3e5d9715ac2f289b007d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f1a959d9831f43dda656e3b0c4d059db3363877)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libpam does not support 'obscure' checks to password,
there are the same checks in pam_cracklib module.
And this fix can remove the below error message while
updating password with 'passwd':
pam_unix(passwd:chauthtok):unrecognized option[obscure]
(From OE-Core rev: 76a63a5e1d572703c7e5e1360e24c05b87186e8b)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea761dbac90be77797308666fe1586b05e3df824)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove all instances of the hardcoded 'x86_64' and replace with the current
host platform.
(From OE-Core rev: cd2c54d8ab545f39f23c5167ba5ca50f732f7cfa)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52dc6f671ff67a1149be7ef4c65126ea3c907a3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several failure paths were displaying an error message but not returning,
so the install process continued and failed further.
(From OE-Core rev: deed12d01fa656ee0cf81a6b7b9ed74278e48c50)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b00e28735b64a781707441ec6187dd7f9240d97a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite relocatable_native_pcfiles() so that it can handle that any of
the checked pkgconfig directories are empty without causing an
exception.
(From OE-Core rev: ceffd920c7bdae29cd1a606f1c20d1b2d3666f5b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9c5df6dc1c13e9b05ff1b47ad84ad339f6779a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changeset fixes a feature regression in ubiformat. Older versions
of ubiformat, when invoked with a flash-image, would return 0 in the
case no error was encountered. Upon upgrading to latest, it was
discovered that ubiformat returned 255 even without encountering an
error condition.
This changeset corrects the above issue and causes ubiformat, when given an
image file, to return 0 when no errors are detected.
Backport fix from 2.1.2
(From OE-Core rev: 3ee98b6c9ddd1dd0825245ca672236b7befb9859)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ebacd9cbaec98fbc406e8ae99c9805a24fdadc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd upstream has been doing some improvements in the service
which were not in sync, with the forked file. Mainly:
- Use BindsTo to bind the service with the required serial device
- Add of getty-pre.target as dependency so we can run things before
getty@.service and serial-getty@.service
- Add conflicts to rescue to avoid issues with sulogin
We did not change the ExecStart and Environment fields so we don't have
side effects of this change.
(From OE-Core rev: e6e2cabc33ab30d38e31ef830f7bc5e3cd07b6d5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63bbff61b78c651339c4b18d8376187379ec3b3c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder has been experiencing SSL: CERTIFICATE_VERIFY_FAILED
errors during error report uploads when using buildtools due to looking
for certs in /opt/poky
(From OE-Core rev: f47fe24317d2fd19112c7e38858b21b3457835d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 197f1d5d14b8e57295f5a81c03c86abba5328614)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are multiple appends, ensure we concatenate compatible things:
Traceback (most recent call last):
File "/home/akiernan/poky/scripts/recipetool", line 111, in <module>
ret = main()
File "/home/akiernan/poky/scripts/recipetool", line 100, in main
ret = args.func(args)
File "/home/akiernan/poky/scripts/lib/recipetool/edit.py", line 38, in edit
return scriptutils.run_editor([recipe_path] + appends, logger)
TypeError: can only concatenate list (not "tuple") to list
(From OE-Core rev: 9a45c7fb2d4491d2d34500acef8ea6dcd4f5d9d4)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c1e74bdf4922519d168434afd69c9bebcb9bd82)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These workarounds are removed because a previous patch
solve the host path reference for gawk and perl, and it skips
the do_package_qa issue by setting the INSANE_SKIP. But it
introduces regression for do_rootfs. The dependencies are
calculated and will require packages like python, perl, gawk
and csh. The error is like below.
Error:
Problem: conflicting requests
- nothing provides /bin/csh needed by vim-tools-8.2-r0.corei7_64
- nothing provides /usr/bin/nawk needed by vim-tools-8.2-r0.corei7_64
- nothing provides /usr/bin/python needed by vim-tools-8.2-r0.corei7_64
So we keep the previous patch which solve the host path reference
problem and restore the long-used 'chmod -x' workaround here.
(From OE-Core rev: 68b2dc03e55b4977b8647e8d36c40c851414c13b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf3e799e32b4de300887b844b0b7bce3d60ca379)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Postinst script from xorg-font-common.inc doesn't apply to this recipe.
So clear the postinst script of encodings.
(From OE-Core rev: ba94c908b99713ce115e9240df525c6442a60c7a)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 99ae6dbb7278dfd264453af852c108fa56a0d4e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove service templates wpa_supplicant-nl80211@.service and
wpa_supplicant-wired@.service from SYSTEMD_SERVICE that they should NOT
be started/stopped by calling 'systemctl' in postinst and prerm scripts.
(From OE-Core rev: 7910a0d6f332253608767a9576a0d521dd87efd7)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe9b8e50461ab00ab3ad8b065ebd32f0eea2a255)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove service template mdmon@.service from SYSTEMD_SERVICE which should
be not started by systemctl directly. It is hanlded by udev rules.
Replace tab with spaces in SRC_URI as well.
(From OE-Core rev: f54c3c049eacce423d9c75c823f8ab15ba185167)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a55b2b29bb86d98700836de5b7d68965c7cd5ee5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the tests are run we see messages like:
/opt/ltp/testcases/bin/run_cpuctl_stress_test.sh: line 242: nice: command not found
/opt/ltp/testcases/bin/run_cpuctl_test_fj.sh: line 66: tac: command not found
vma05 1 TCONF: 'gdb' not found
memcg_failcnt 1 TCONF: 'bc' not found
Owner=nobody; perms=-rw-------; sudo: lsattr: command not found
so add missing dependencies to avoid these.
(From OE-Core rev: c84c3caff4ef16c72390a7b941b71919417c9f51)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit faa01e1ae7a92d60699cd8865d1106a13549b096)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When do populate_sdk with SDK_ARCHIVE_TYPE = "zip", have below warning
in log file, this patch fixes it.
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/tmpfiles.d/etc.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/tmpfiles.d/home.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/resolv-conf.systemd
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/mtab
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/resolv.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/var/lock
zip warning: name not matched: sysroots/core2-64-poky-linux/usr/lib/environment.d/99-environment.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/sbin/klogd
zip warning: name not matched: sysroots/core2-64-poky-linux/sbin/syslogd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chfn
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chsh
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/passwd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chpasswd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/vipw
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/vigr
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/nologin
(From OE-Core rev: 72b7c3c7a35d814510aa1a52d2707a1ffddf8e8e)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f7df08aca81ac269490876fe84c7fc5b1d5739c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
01.org seems unmaintained; while the tarball is still there, the
page to download it from is gone.
(From OE-Core rev: ca815f2d6f354bd025f25abe2b28a57f7a3363d7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bcd6475928dba0a46d196d905cfd449ba7a3ada5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tarball download website is full of broken links;
while direct tarball download still works, exploring
around and checking for latest versions does not.
(From OE-Core rev: d350a0ca191040b5573ed9cd67c08c41ad2f3dc9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1c11259464ba2d972e1e1ad5c540050ccc80c15)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Advance to version 20200430 to avoid multiple definition errors for uninitialized variables.
In this case, it is not enough to add -fcommon to CFLAGS.
(From OE-Core rev: 71391aab99033f5488d44c097a25323bdf06ffc2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e1df28fb0534587d4f9305eb163f497852df4ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop disabling outline-atomics since that was added to fix this issue in
particular
(From OE-Core rev: a3cb468746635f5c052074c3e4de485465fd8da8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 702a1ae29c6a0f920bd67b7a7a41b886ac52a751)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the __getauxval undefined reference error seen with gcc10 on
doing static linking with -nodefaultlibs, which is uncommon usecase
anyway, disabling outline-atomics is not a huge deal for OE in terms of
performance as we already use -mcpu which is tuned enough to the SOC the
code is being generated for
(From OE-Core rev: 48c53bc81963621e8e9fbb89277d1a3d10f153d5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3952738d083b888e5b898ed3d63a0ed9a4dd3712)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are few fixes specifically for compiling with gcc10 that are good
to have, before hitting them later
Backport build fix from master for aarch64 with gcc10
Drop CVE-2020-10029 patch its already applied on latest 2.31 branch
latest glibc 2.31 added fix for __getauxval/aarch64 issue
(From OE-Core rev: 04e5d5f5a4318c826768146f5cd5de03fd152550)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fixed in upstream version 2.34.0.
(From OE-Core rev: a4f975a0bca892a7c0f0d496b76ffb30e469914a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9562c93799a37cd18aceb6f24378ba02a69865f0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fixed in upstream version 20.0.
(From OE-Core rev: eb47eaa3f06e49f635bd774808ddb4f28fa3d718)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d269a3f3a84cae92e611e02082150cfd97f8258)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fixed in upstream version 4.4.12.
(From OE-Core rev: 06a841e22853e571e07998079529839c96a23b21)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 281d53ebab4c4c1b6c880ab14761d715196fb8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fixed in upstream version 5.5.0.
(From OE-Core rev: 433d3856151e095afb640a567241bebaf2e84b87)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a9f67b7c50a8c28a75fc48c8abcb8a7bb35f0e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc 10 introduced "-fno-common" as default. Therefore backport the
according cpio patch to fix this issue.
(From OE-Core rev: 21e5677cf239ff50142a31b034ce3316b1daa4bb)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ca6e5511b59b585de793ff6424c7c6ccfcd8e61e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc 10 introduced "-fno-common" as default. Therefore backport the
according binutils patch to fix this issue.
(From OE-Core rev: c41fe48f323a78fd0e205471362ecc6c66f87f45)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fbeb572e1872cf64786d01d5c6408a6765f814ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In this update the 0001-Make-__comps_objmrtree_all-static-inline.patch
was mainlined by commit 18f52cb.
Furthermore mainline commit 3237f44 fixes a build problem with the
default "-fno-common" of gcc 10.
(From OE-Core rev: 55e2f218de2725d65b2cf231b6e835eb94f8eceb)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 90b942d01decbcff3b883ee6fb4bba67fb446817)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also makes appending "-fcommon" to CFLAGS obsolete and enables
native builds with a host gcc v10.
(From OE-Core rev: b71ea7245a3d42ba96fb5a389f85049250bbc29e)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7717b35265e6ef8ef71a4eca4074294dfcc2110c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit daed7eedba ("Avoid multiple-definiton with gcc -fno-common") of
libtirpc fixed the -fno-common issues. Therefore it should be save to
remove the extra "-fcommon" in CFLAGS.
(From OE-Core rev: 4745fcf05736c3e26601769c4fdcd1a5ec25efb3)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9e4546701775fe98532f011f5ad146cfb1b33715)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-xdr_float-do-not-include-bits-endian.h.patch
removed since it is included in 1.2.6
(From OE-Core rev: 1497ec4e8e0a2244154486feea8292b0b37d5249)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c940792e1492923036cae97010f9945e7ad43a32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is unavailable, breaking tests. Switch to a YP mirror since
if we can't reach that there are bigger problems. This should remove
a source of intermittent failures on the autobuilder.
(Bitbake rev: 83296870bede70e31bdf6e73683bcc30681023fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vim will abort in many places with this setting. Replace
it with the benign _FORTIFY_SOURCE=1.
(From OE-Core rev: d9de155f6452f916edd3131addd0c2eebaf4d639)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 18129cbaeddb3278efe9963718556e3765f06c1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
staging_populate_sysroot_dir() collects postinsts from the sysroot
and executes them. These postinsts, in turn, may call binaries that
are only available from the sysroot. This works fine with recipe-specific
sysroots, as all necessary paths are already in PATH, but breaks down
in this recipe which imitates the old global sysroot way but doesn't adjust
the PATH to include the binary paths from global sysroot.
To reproduce the failure:
$ bitbake docbook-xml-dtd4-native
$ bitbake -c build_native_sysroot build-sysroots
...
Exception: subprocess.CalledProcessError: Command '/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog' returned non-zero exit status 127.
Subprocess output:
/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 5: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found
/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 8: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found
(From OE-Core rev: 17fad96d3d9a8cfbc6724466475f6f161e967b74)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b5f7bda4204d45cd29670cefcd53dc5da031095)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: added more entries to WHENCE, all redistributable
(From OE-Core rev: 1f17a1ef719d069bca04f29f7e92be44547f4262)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8d47014e453533b98e37c653177e9541e1deeda)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On target, when running `db_verify /var/lib/rpm/Packages', we get
the following error.
db_verify: BDB0571 library build did not include support for database verification
This is because db_verify is installed but 'verify' PACKAGECONFIG is
not enabled. So fix it by not installing do_verify in such case.
(From OE-Core rev: b45f1a3b8007ab34dcbe0cba365823da179d0c50)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5ffdb296f211403f987b5d5a724a94ee91dc80c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu will not build for -Og optimization because macros
in lockable.h expect dead-code elimination. Override DEBUG_BUILD.
(From OE-Core rev: dce2315ea2e0f14854fa43994eede04848cd624c)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad404b2e51223625bd95f9a7da4c7a690c37bdfb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that builddir is updated correctly to point to the new
selftest build directory when we're given a list of test suites instead
of a list of test cases.
(From OE-Core rev: 6812affe76ee2704a8008d58ffc6a2e87b543f1d)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56e211d0f3c6cb84f5982e5de00faeeed69c1912)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This may be useful if the parent directory of the original builddir is
not writable, on a lower performance drive, etc.
(From OE-Core rev: 27cec9c111bca84554d94eeb71fb3d3fe9a77481)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dab719e5f1964fd48e9a35e6b9db1508b5414540)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't assume that rpm packaging will always be enabled when running
oe-selftest. In particular when using nodistro instead of poky this is
not enabled by default.
(From OE-Core rev: b69ec712c690aa279996d5a9395dc16ae8402a3e)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23df3024664ec56dbbe8865ef3953d2c33a7a2cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patchelf can corrupt shared libraries if the program headers don't
immediately follow the elf header. Add a patch submitted upstream
to address this.
(From OE-Core rev: faaf5f34332290708f3720a5488b3d1549d9e95a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e7811c787bbe2f5d49b3506309499acc27189988)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the generated cve.log files, include the epoch in the product
version. This better matches how versions are displayed elsewhere,
in particular the bb.warn("Found unpatched CVE...") that appears
on the terminal when CVEs are found.
(From OE-Core rev: 99f6de1c74b581054c74c6b4598a5d47facc9964)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1c3c0b6e5b01304e2127f5058986697e82adf93)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing:
WARNING: bitbake/lib/bb/cookerdata.py:136: ResourceWarning: unclosed file <_io.FileIO
name='tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemurunner_log.20200601181912'
mode='ab' closefd=True
which can only be caused by the qemu.stop() method not being called.
Tweak the error handling to fix the blanket exception handler which
is likely meaning this function isn't getting called.
(From OE-Core rev: bd2d32903f208b6a70abaa29b980db1498b84a02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee707090848d793e3b2d82dd3861ae22222682c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 0e1f8fa0 (bitbake.conf: propagate 'opengl' DISTRO_FEATURE to
native/nativesdk from target) changed the default PACKAGECONFIG for
native and nativesdk so that it becomes empty unless "x11" is in
DISTRO_FEATURES since "trace" was also removed (propbably
unintentionally). This highlighted than an empty PACKAGECONFIG would
lead to a build failure since /usr/bin is never created under these
conditions, but the recipe still tried to remove it.
(From OE-Core rev: 5e33d1d1d655c50a817acda85f2df67c67196daf)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bb2268677ac8f0c97433bf1f04555abe88028a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comment applies to an old version and the WORKDIR setting matches
the default so drop it.
(From OE-Core rev: 3f8f1385428a2057610dca71e9f122c922df5202)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7cc4c0e7665111616c7e8a1dc512b8d9022ca664)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update Ross' address to a valid one.
(From OE-Core rev: 5a16ed258e9da39c66874b3ee1e5b52a8ea2dae9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22e1605ce45482c49d06a7c56a46b71f76955e31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22af6a2595 removed the PACKAGES
setting, but left the FILES-assignments of libsysfs-dev and -staticdev.
As these have no use anymore they can be safely removed
(From OE-Core rev: 7c3eb092392e3ae76408c8ad4cb0f3f18dc42a96)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 941cc0cd0a69e95ca571a9a8cb0732bb06fa2b3a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tool can be turned on in busybox which lead into a error during
do_rootfs.
(From OE-Core rev: 29ada652108335b4074ed330586f893bba1c5dce)
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb22e7a1190a79fd74ae54f23a13ec4932f41b0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test runs for 900s, we often see tests killed after 300s without
output which makes the test results unreliable and inconsistent. The
easiest solution for now is to skip this long running test, patching
it out wth sed.
(From OE-Core rev: 074adb507928310af5b38f82ba3f20d9f55f4433)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0739a8901140c05d037517ffd89382f151ba627c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [882ae0dcce core-image-minimal-initramfs: use
initramfs-framework for initialization] applied, it should
keep the restriction with initramfs-module-install
(From OE-Core rev: 176da1d6fbd006c770c3c02c6355a692adac3c74)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 295dbabce213855432b6274026e3b45a18b90e80)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 9730f95686b2ac72cf1fa513c555f7c7787e2667
Django 2.2 was enabled.
Django 1.11 was EOL on April 1, 2020
(Bitbake rev: 6cc09fa33131f71a3fd0e336ff07a4186b41bf8f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee15e78c6f9b59c221b1e43973ee4db20c5b443b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the '_remove' example in bitbake-user-manual-metadata.xml, there is
no 'jkl' in the original value of FOO2. So remove it from result.
(Bitbake rev: 324aaa7f8d6d83e1e00b8054dac44df561588be8)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 06b5cf0ab6c6e518ac780d081fab5546334c5c7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clarify that BitBake knows how to map entries defined in the runtime
dependency namespace back to build-time dependencies (recipes) in
which tasks are defined.
(Bitbake rev: e4695176ffdc5eb959f71a08f77ff6a8e028ffa9)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit caf422435ad64aacbdab8a94da3115599dd0938b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tag a couple fields as replaceable to be consistent with rest of
manual.
(Bitbake rev: 25c5c79bbe814eaff03c72cc2680414a73cff7f4)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 647c13d4ae746a1bb9bd76ff318477dadb4d292f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given that generation of recipe-depends.dot was removed:
commit 4c484cc01e3eee7ab2ab0359fd680b4dbd31dc30
Author: Chen Qi <Qi.Chen@windriver.com>
Date: Thu Aug 22 15:52:51 2019 +0800
cooker.py: remove generation of recipe-depends.dot
The information of recipe-depends.dot is misleading.
delete mention of it from the user manual.
(Bitbake rev: be367887b0a729ef01fc04f2b91368612ed92ed3)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2effbb6e10b07dc12e4ecdf449ca29fc20968c59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commits 910ffaf5be ("pyelftools: Import from meta-python") and
a96f815c53 ("pycryptodome: Import from meta-python") moved recipes from
meta-python to oe-core. In order for this to be communicated with users,
bump the LAYERVERSION so that meta-python can key of it in its
LAYERDEPENDS.
(From OE-Core rev: 4d4e69bc056bec4625b1cde0e1fc9d5e527c6a98)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2d503b27e7c88cee9a37c79c4605c77b11f230b6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also splits apart the SRC_URI checksums to make automatic upgrades
easier
(From OE-Core rev: 03b27d56272a4815ead04da08cfaa738b450ae59)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae1f210546396b761ea86d9e32bf90c0867ff845)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Imports the pyelftools recipes from meta-python, as of 7c02c7d41
("gnome-themes-extra: correct the recipe name").
This recipe is commonly used by other layers, so moving it into
OE-core helps to cut down on layer dependencies.
(From OE-Core rev: 0a8cdaa90f4dd2d09b0b471dafd868a4dcad4ed3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 910ffaf5beed42936588c95b0c7c1b1ad67f99d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Imports the pycryptodome recipes from meta-python, as of 7c02c7d41
("gnome-themes-extra: correct the recipe name").
These recipes are commonly used by other layers, so moving them into
OE-core helps to cut down on layer dependencies.
(From OE-Core rev: 27798f3da506fcae19b74deb17ef199131cff405)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a96f815c53364b119b5743b8b7100eb5588d5cf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e0d81ce76004 Linux 5.4.43
b5100186021a sched/fair: Fix enqueue_task_fair() warning some more
8b13f5657fa8 sched/fair: Fix reordering of enqueue/dequeue_task_fair()
a2ad232aa6a9 sched/fair: Reorder enqueue/dequeue_task_fair path
f4520daa3c5a tpm: check event log version before reading final events
68b7b8183c12 rxrpc: Fix ack discard
283eb0016f97 rxrpc: Trace discarded ACKs
f2da8c0dfe81 iio: adc: stm32-dfsdm: fix device used to request dma
7b5af65ca246 iio: adc: stm32-dfsdm: Use dma_request_chan() instead dma_request_slave_channel()
692001a867b6 iio: adc: stm32-adc: fix device used to request dma
8e8836b2b782 iio: adc: stm32-adc: Use dma_request_chan() instead dma_request_slave_channel()
1084eee4dc5d x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive tasks
860fe59783a9 flow_dissector: Drop BPF flow dissector prog ref on netns cleanup
bd6f0c799f4d s390/kexec_file: fix initrd location for kdump kernel
834d24ec3a0a rxrpc: Fix a memory leak in rxkad_verify_response()
23ae6e3e8aeb rxrpc: Fix the excessive initial retransmission timeout
c2a26769b43e kasan: disable branch tracing for core runtime
86217fecc4b7 rapidio: fix an error in get_user_pages_fast() error handling
689dacb2b09d device-dax: don't leak kernel memory to user space after unloading kmem
9e451933bba9 s390/kaslr: add support for R_390_JMP_SLOT relocation type
72f3241508ac s390/pci: Fix s390_mmio_read/write with MIO
9c84884cd5dc ipack: tpci200: fix error return code in tpci200_register()
46f47dda27bc mei: release me_cl object reference
f505a3e24c6a tty: serial: add missing spin_lock_init for SiFive serial console
a5b4b3f97de7 misc: rtsx: Add short delay after exit from ASPM
e64b205035fb iio: adc: ti-ads8344: Fix channel selection
9af65dc54b9b iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
d54e5a4ff04c iio: sca3000: Remove an erroneous 'get_device()'
56cff2ac7c9d staging: greybus: Fix uninitialized scalar variable
a41e02cb4232 staging: kpc2000: fix error return code in kp2000_pcie_probe()
dee81110a488 staging: iio: ad2s1210: Fix SPI reading
76296dc723ef media: fdp1: Fix R-Car M3-N naming in debug message
4adb7a2b3161 Revert "gfs2: Don't demote a glock until its revokes are written"
bb6524537dc2 kbuild: Remove debug info from kallsyms linking
ee71c590dd8d bpf: Avoid setting bpf insns pages read-only when prog is jited
4c732e81bd4d powerpc/64s: Disable STRICT_KERNEL_RWX
b67da9dbdb89 powerpc: Remove STRICT_KERNEL_RWX incompatibility with RELOCATABLE
9bcfbd8ba2b5 drm/i915: Propagate error from completed fences
5e171483e947 drm/i915/gvt: Init DPLL/DDI vreg for virtual display instead of inheritance.
0e1d5f67253e vsprintf: don't obfuscate NULL and error pointers
4b1b34621998 dmaengine: owl: Use correct lock in owl_dma_get_pchan()
0fcbe108b01a dmaengine: dmatest: Restore default for channel
57c32a52c3fe drm/etnaviv: Fix a leak in submit_pin_objects()
432b103596bd dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
870a45e0b507 apparmor: Fix aa_label refcnt leak in policy_update
054934aa9faa apparmor: fix potential label refcnt leak in aa_change_profile
97d817b9ef13 apparmor: Fix use-after-free in aa_audit_rule_init
3b1e38dfbc9f drm/etnaviv: fix perfmon domain interation
53683907ef68 arm64: Fix PTRACE_SYSEMU semantics
96e56055a2f0 scsi: target: Put lun_ref at end of tmr processing
818657105a0b scsi: qla2xxx: Do not log message when reading port speed via sysfs
d54c5eff8795 ALSA: hda/realtek - Add more fixup entries for Clevo machines
80f5822c2bf3 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Xtreme
1b17a0f98ad0 ALSA: pcm: fix incorrect hw_base increase
a44cb2581718 ALSA: iec1712: Initialize STDSP24 properly when using the model=staudio option
99e392a4979b KVM: x86: Fix pkru save/restore when guest CR4.PKE=0, move it to x86.c
1c3d707d7d12 ALSA: hda/realtek: Enable headset mic of ASUS UX581LV with ALC295
26a3a3053332 ALSA: hda/realtek - Enable headset mic of ASUS UX550GE with ALC295
c5742497dcd2 ALSA: hda/realtek - Enable headset mic of ASUS GL503VM with ALC295
2523e9010d2b ALSA: hda/realtek: Add quirk for Samsung Notebook
6cc4dd44e207 ALSA: hda/realtek - Add HP new mute led supported for ALC236
0d189b31c4d7 ALSA: hda/realtek - Add supported new mute Led for HP
69d5dc286d05 ALSA: hda: Manage concurrent reg access more properly
1efaaf74528c ALSA: hda: patch_realtek: fix empty macro usage in if block
749e58bd2b09 ALSA: hda - constify and cleanup static NodeID tables
02ebbd1da394 scripts/gdb: repair rb_first() and rb_last()
9eff404a4382 ARM: futex: Address build warning
67a5c3104d12 KVM: selftests: Fix build for evmcs.h
4f48af814798 drm/amd/display: Prevent dpcd reads with passive dongles
e0bb3075f91b iommu/amd: Call domain_flush_complete() in update_domain()
e1efb9893bdd platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
c8d323578e36 USB: core: Fix misleading driver bug report
42b32a43529e stmmac: fix pointer check after utilization in stmmac_interrupt
b68d27c5fffd ceph: fix double unlock in handle_cap_export()
df0df8ee2ac7 HID: quirks: Add HID_QUIRK_NO_INIT_REPORTS quirk for Dell K12A keyboard-dock
8a5de4a391e4 gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()
7932168ec08e x86/apic: Move TSC deadline timer debug printk
1ae9f1a62a50 ftrace/selftest: make unresolved cases cause failure if --fail-unresolved set
2eac9d3dc23f ibmvnic: Skip fatal error reset after passive init
f82a3013226e x86/mm/cpa: Flush direct map alias during cpa
632db044ab99 HID: i2c-hid: reset Synaptics SYNA2393 on resume
acd3efa17d96 scsi: ibmvscsi: Fix WARN_ON during event pool release
6ef21295dc20 net/ena: Fix build warning in ena_xdp_set()
d0db69f9d132 component: Silence bind error on -EPROBE_DEFER
7a5f60dc3a67 aquantia: Fix the media type of AQC100 ethernet controller in the driver
445437b417b6 vhost/vsock: fix packet delivery order to monitoring devices
dcec6678c3b1 configfs: fix config_item refcnt leak in configfs_rmdir()
2b52a61adb38 scsi: qla2xxx: Delete all sessions before unregister local nvme port
d2430cb7f2d4 scsi: qla2xxx: Fix hang when issuing nvme disconnect-all in NPIV
7b481b802a8f HID: alps: ALPS_1657 is too specific; use U1_UNICORN_LEGACY instead
a08626f6e982 HID: alps: Add AUI1657 device ID
68988c00b153 HID: multitouch: add eGalaxTouch P80H84 support
cc6428803d22 gcc-common.h: Update for GCC 10
3c140d22e3c2 net: drop_monitor: use IS_REACHABLE() to guard net_dm_hw_report()
87863a7426b2 kbuild: avoid concurrency issue in parallel building dtbs and dtbs_check
44fd02a3d719 mtd: Fix mtd not registered due to nvmem name collision
496c7c61bd64 afs: Don't unlock fetched data pages until the op completes successfully
17c9595cca71 ubi: Fix seq_file usage in detailed_erase_block_info debugfs file
274cd3c7b5d3 i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'
dd540f2d7c2d evm: Fix a small race in init_desc()
f96ab0d1f3ec iommu/amd: Fix over-read of ACPI UID from IVRS table
33769c19feba i2c: fix missing pm_runtime_put_sync in i2c_device_probe
9f885f17501d ubifs: remove broken lazytime support
ac6f94d3be65 fix multiplication overflow in copy_fdtable()
725b0bb0f94d mtd: spinand: Propagate ECC information to the MTD structure
e3637eb6a351 ACPI: EC: PM: Avoid flushing EC work when EC GPE is inactive
3be8ece11440 ubifs: fix wrong use of crypto_shash_descsize()
48bbd44f5fa9 ima: Fix return value of ima_write_policy()
1066327bf936 evm: Check also if *tfm is an error pointer in init_desc()
4aedc534b608 ima: Set file->f_mode instead of file->f_flags in ima_calc_file_hash()
ac46cea606d5 KVM: SVM: Fix potential memory leak in svm_cpu_init()
1bed86cfe5cb i2c: dev: Fix the race between the release of i2c_dev and cdev
(From OE-Core rev: ef5af31f406076107402694f5d6afb27b240eba6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9cd117dec502f40402ebd3a09ed3e8dba804ce2b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the meta SRCREV to pickup the following fix:
commit 9e68afb48b16a447dcd3996ffa350f3e79e44257 (HEAD -> master)
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Thu May 28 11:22:22 2020 -0400
features: add reproducibility fragement
Creating an initial feature fragment that can be included when a
reproducible kernel build is desired. This is currently only one
option, but will have more in the future.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: 864cc7b3c349c94e34e3129053c2b22c8946c73d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eaa34c96b60e703c96495e60650adc6d149603f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had a commit that enabled IKHEADERS, since bpf requires them on
target.
This is still causing incremental reproducibility errors during the
module compilation phase of the build.
We are temporarily turning this off, so we can integrate -stable
and other related changes. A replacement feature "reproducibility"
is also being added to this can be conditionally enabled while
we debug.
(From OE-Core rev: 85c481d13814b889a3d86044dcaac7d4eb685ade)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5706788603b38ad4a0987e187a1c11c06f4d4e6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto-rt/5.4:
3d70f110c590 Linux 5.4.40-rt24
6445e48533d9 Linux 5.4.39-rt23
0a6ba32d4177 Linux 5.4.37-rt22
35c686fb7671 Linux 5.4.34-rt21
e54886570abd Linux 5.4.33-rt20
307ba149ec47 v5.4.28-rt19
8d488719e24a mm/compaction: Disable compact_unevictable_allowed on RT (Update)
d1d2315e077c v5.4.28-rt18
78028bc22d31 v5.4.26-rt17
815bfc775961 swait: Remove the warning with more than two waiters
b23b7f974955 powerpc: Fix lazy preemption for powerpc 32bit
a79a552889de mm/page_alloc: Use migrate_disable() in drain_local_pages_wq()
5e488daa19cb mm: Revert the DEFINE_PER_CPU_PAGEVEC implementation
(From OE-Core rev: 9e088d38fbae9a646ed5e608acbb3d3ce172303d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0123efae31dab8bce15e11fcee0b139a61b67cd6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
1cdaf895c99d Linux 5.4.42
ecb3f529a554 bpf: Test_progs, fix test_get_stack_rawtp_err.c build
aee43146cc10 selftest/bpf: fix backported test_select_reuseport selftest changes
35d9107ad30b libbpf: Extract and generalize CPU mask parsing logic
10cfaa7456d7 Makefile: disallow data races on gcc-10 as well
9972e851b9f4 KVM: x86: Fix off-by-one error in kvm_vcpu_ioctl_x86_setup_mce
9d2487643b4f bpf: Fix sk_psock refcnt leak when receiving message
d41689a34a9d SUNRPC: Revert 241b1f419f0e ("SUNRPC: Remove xdr_buf_trim()")
3a8efe589bb6 ARM: dts: r8a7740: Add missing extal2 to CPG node
cd8ae9b73258 arm64: dts: renesas: r8a77980: Fix IPMMU VIP[01] nodes
c580f2fe3270 ARM: dts: r8a73a4: Add missing CMT1 interrupts
8972721aea41 arm64: dts: imx8mn: Change SDMA1 ahb clock for imx8mn
764715615178 arm64: dts: rockchip: Rename dwc3 device nodes on rk3399 to make dtc happy
64ad7ef3a6e5 arm64: dts: rockchip: Replace RK805 PMIC node name with "pmic" on rk3328 boards
af518b5b77fd arm64: dts: meson-g12-common: fix dwc2 clock names
9b9c52752a11 arm64: dts: meson-g12b-khadas-vim3: add missing frddr_a status property
01febb33cb6e clk: Unlink clock if failed to prepare or enable
e2084a8d5fee Revert "ALSA: hda/realtek: Fix pop noise on ALC225"
5e553801462b usb: gadget: legacy: fix error return code in cdc_bind()
7e5c1db8ad15 usb: gadget: legacy: fix error return code in gncm_bind()
8228b6736964 usb: gadget: audio: Fix a missing error return value in audio_bind()
8ef452001769 usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()'
9f65d776756e fanotify: fix merging marks masks with FAN_ONDIR
20a6d2455cde dwc3: Remove check for HWO flag in dwc3_gadget_ep_reclaim_trb_sg()
4f6815e429a8 clk: rockchip: fix incorrect configuration of rk3228 aclk_gpu* clocks
553a2cbca7c3 exec: Move would_dump into flush_old_exec
136353c5066c x86/unwind/orc: Fix error handling in __unwind_start()
91b9ce04ff1f x86: Fix early boot crash on gcc-10, third try
f8e370ccab35 cifs: fix leaked reference on requeued write
4e06196336a1 powerpc/32s: Fix build failure with CONFIG_PPC_KUAP_DEBUG
57aa19acfc22 drm/amd/display: add basic atomic check for cursor plane
97e43314763d ARM: dts: imx6dl-yapp4: Fix Ursa board Ethernet connection
215589310fa2 ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries
e1409dc95410 ARM: dts: dra7: Fix bus_dma_limit for PCIe
da55eeb3245a Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()
c6a1ce81b43e usb: xhci: Fix NULL pointer dereference when enqueuing trbs from urb sg list
6bb054f006c3 USB: gadget: fix illegal array access in binding with UDC
e6be4400ac34 usb: cdns3: gadget: prev_req->trb is NULL for ep0
f1a9bed7969a usb: host: xhci-plat: keep runtime active when removing host
b96a62f506ee usb: core: hub: limit HUB_QUIRK_DISABLE_AUTOSUSPEND to USB5534B
93dda4f0e2ff ALSA: usb-audio: Add control message quirk delay for Kingston HyperX headset
3fa58fc9f8c4 ALSA: rawmidi: Fix racy buffer resize under concurrent accesses
04ccdf6b031d ALSA: hda/realtek - Add COEF workaround for ASUS ZenBook UX431DA
c9709800eeeb ALSA: hda/realtek - Limit int mic boost for Thinkpad T530
c737b7533596 USB: usbfs: fix mmap dma mismatch
0432f7632a24 usb: usbfs: correct kernel->user page attribute mismatch
dca0ae3900b3 gcc-10: avoid shadowing standard library 'free()' in crypto
6cbb91bdd3a2 gcc-10: mark more functions __init to avoid section mismatch warnings
7955081a3a65 gcc-10 warnings: fix low-hanging fruit
dff2ce17934c gcc-10: disable 'restrict' warning for now
b8e7b93333db gcc-10: disable 'stringop-overflow' warning for now
9ba07a72fc5e gcc-10: disable 'array-bounds' warning for now
a740b68fd169 gcc-10: disable 'zero-length-bounds' warning for now
8f6a84167e86 Stop the ad-hoc games with -Wno-maybe-initialized
ab638a49a9f3 net/rds: Use ERR_PTR for rds_message_alloc_sgs()
b597815ce1e8 pnp: Use list_for_each_entry() instead of open coding
d4e58131829f NFSv3: fix rpc receive buffer size for MOUNT call
e26e2a3febcb mm, memcg: fix inconsistent oom event behavior
46a22f3ea146 s390/ism: fix error return code in ism_probe()
e1608af17030 hwmon: (da9052) Synchronize access with mfd
6e7253dc4562 RDMA/iw_cxgb4: Fix incorrect function parameters
08f187dbd223 RDMA/core: Fix double put of resource
ee7ce7d7e7c7 IB/core: Fix potential NULL pointer dereference in pkey cache
b491aeec55fe IB/mlx4: Test return value of calls to ib_get_cached_pkey
eaad00390ff9 RDMA/rxe: Always return ERR_PTR from rxe_create_mmap_info()
da532ce587c7 netfilter: nft_set_rbtree: Add missing expired checks
1c235d0eb1f0 netfilter: nft_set_rbtree: Introduce and use nft_rbtree_interval_start()
6259b1c1bca5 SUNRPC: Signalled ASYNC tasks need to exit
d1538d8d6325 nfs: fix NULL deference in nfs4_get_valid_delegation
ea7c4d9e542f arm64: fix the flush_icache_range arguments in machine_kexec
1222b257654b drm/i915/gvt: Fix kernel oops for 3-level ppgtt guest
a308d6e6861d netfilter: conntrack: avoid gcc-10 zero-length-bounds warning
b526c01b38ae NFSv4: Fix fscache cookie aux_data to ensure change_attr is included
021f5799de53 nfs: fscache: use timespec64 in inode auxdata
ef8195ee1618 NFS: Fix fscache super_cookie index_key from changing after umount
32b9de3e935d drm/amdgpu: force fbdev into vram
e1b2b93243ca fork: prevent accidental access to clone3 features
f256dea07774 gfs2: More gfs2_find_jhead fixes
18541e49f70b mmc: block: Fix request completion in the CQE timeout path
e8eb122b9f43 mmc: core: Fix recursive locking issue in CQE recovery path
fdf547a591f5 mmc: core: Check request type before completing the request
3a8bc2ae2f79 mmc: sdhci-pci-gli: Fix can not access GL9750 after reboot from Windows 10
e0830bb37734 mmc: alcor: Fix a resource leak in the error path for ->probe()
62f217e0a9c8 bpf, sockmap: bpf_tcp_ingress needs to subtract bytes from sg.size
ce3193bf8964 bpf, sockmap: msg_pop_data can incorrecty set an sge length
af1f11fe6667 drm/i915: Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled
0d9bc7986366 i40iw: Fix error handling in i40iw_manage_arp_cache()
95827ac65244 ALSA: firewire-lib: fix 'function sizeof not defined' error of tracepoints format
5d47b3d6b4d2 bpf: Fix error return code in map_lookup_and_delete_elem()
5b96668b63c0 pinctrl: cherryview: Add missing spinlock usage in chv_gpio_irq_handler
aec927836c7d pinctrl: qcom: fix wrong write in update_dual_edge
604ad1bb8aae pinctrl: baytrail: Enable pin configuration setting for GPIO chip
960d609dd4dd pinctrl: sunrisepoint: Fix PAD lock register offset for SPT-H
e529b8db9684 ACPI: EC: PM: Avoid premature returns from acpi_s2idle_wake()
9e54afec08f7 IB/hfi1: Fix another case where pq is left on waitlist
d942a6a18463 mmc: sdhci-pci-gli: Fix no irq handler from suspend
171bf6ef038b gfs2: Another gfs2_walk_metadata fix
87954aacd585 ALSA: hda/realtek - Fix S3 pop noise on Dell Wyse
05aae468d31a ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
3c3ade92b62a drm/amdgpu: invalidate L2 before SDMA IBs (v2)
938489ef2902 drm/amdgpu: simplify padding calculations (v2)
eefe5e0bb7b7 drm/qxl: lost qxl_bo_kunmap_atomic_page in qxl_image_init_helper()
94cce94badf7 drm/amd/display: Update downspread percent to match spreadsheet for DCN2.1
f4164b29dc08 drm/amd/display: check if REFCLK_CNTL register is present
65f3108cbb1d drm/amd/powerplay: avoid using pm_en before it is initialized revised
8c5f11093ef4 ALSA: hda/hdmi: fix race in monitor detection during probe
4d1a83cb5afe cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once
d12d7bf92b08 selftests/ftrace: Check the first record for kprobe_args_type.tc
2b313699e7a9 dmaengine: mmp_tdma: Reset channel error on release
6c414ddee7f0 dmaengine: mmp_tdma: Do not ignore slave config validation errors
de76c0d4a03c dmaengine: pch_dma.c: Avoid data race between probe and irq handler
c096a8645e3f riscv: fix vdso build with lld
2fffdf4dded1 umh: fix memory leak on execve failure
44ee727013d5 r8169: re-establish support for RTL8401 chip version
e03d3510f45c nfp: abm: fix error return code in nfp_abm_vnic_alloc()
2fbd6eca3711 net: tcp: fix rx timestamp behavior for tcp_recvmsg
fc800ec491c3 netprio_cgroup: Fix unlimited memory leak of v2 cgroups
cab607a627cf net: ipv4: really enforce backoff for redirects
d375d99f8902 net: dsa: loop: Add module soft dependency
b2e8946250c3 hinic: fix a bug of ndo_stop
d07987924a04 dpaa2-eth: prevent array underflow in update_cls_rule()
84916465b0f0 virtio_net: fix lockdep warning on 32 bit
23300d6a39d7 tcp: fix SO_RCVLOWAT hangs with fat skbs
cb4f78986065 tcp: fix error recovery in tcp_zerocopy_receive()
f152793058b5 Revert "ipv6: add mtu lock check in __ip6_rt_update_pmtu"
5f93b45fa58c pppoe: only process PADT targeted at local interfaces
ecb8356aafba net: stmmac: fix num_por initialization
4300e210b005 net: phy: fix aneg restart in phy_ethtool_set_eee
debcbc56fdfc netlabel: cope with NULL catmap
60a4f2ce0596 net: fix a potential recursive NETDEV_FEAT_CHANGE
97e860545e24 dpaa2-eth: properly handle buffer size restrictions
425853cc1160 mmc: sdhci-acpi: Add SDHCI_QUIRK2_BROKEN_64_BIT_DMA for AMDI0040
a761f65879e8 selftests/bpf: fix goto cleanup label not defined
2d6d0ce4de03 scsi: sg: add sg_remove_request in sg_write
7d8da6d7d90c net_sched: fix tcm_parent in tc filter dump
e2824505a813 sun6i: dsi: fix gcc-4.8
645b44b6b3b3 virtio-blk: handle block_device_operations callbacks after hot unplug
fbe2c2c50914 drop_monitor: work around gcc-10 stringop-overflow warning
23a0a0914a1e ftrace/selftests: workaround cgroup RT scheduling issues
dbd667a322ac net: moxa: Fix a potential double 'free_irq()'
2bcd4df42d5d net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()'
e15d3d42900a SUNRPC: Fix GSS privacy computation of auth->au_ralign
3bf0794e7309 SUNRPC: Add "@len" parameter to gss_unwrap()
3c605abef3ee gpio: pca953x: Fix pca953x_gpio_set_config
163b48932571 KVM: arm: vgic: Synchronize the whole guest on GIC{D,R}_I{S,C}ACTIVER read
7abefa3f9a4b net: phy: microchip_t1: add lan87xx_phy_init to initialize the lan87xx phy.
a12f3ad8d952 shmem: fix possible deadlocks on shmlock_user_lock
723090ae8ea6 net: dsa: Do not make user port errors fatal
cbaf23699561 Linux 5.4.41
9bd5a84ceba3 fanotify: merge duplicate events on parent and child
4638e0ff0fa4 fsnotify: replace inode pointer with an object id
03447528a390 bdi: add a ->dev_name field to struct backing_dev_info
25390a31983c bdi: move bdi_dev_name out of line
c1af2c13a4ac mm, memcg: fix error return value of mem_cgroup_css_alloc()
1642f114ce2d scripts/decodecode: fix trapping instruction formatting
2e86e3841c3c iommu/virtio: Reverse arguments to list_add
1a31c4456af9 objtool: Fix stack offset tracking for indirect CFAs
30a38059cdd4 netfilter: nf_osf: avoid passing pointer to local var
4ccbd9c859dd netfilter: nat: never update the UDP checksum when it's 0
634c950c624d arch/x86/kvm/svm/sev.c: change flag passed to GUP fast in sev_pin_memory()
4cbb69b45cad KVM: x86: Fixes posted interrupt check for IRQs delivery modes
db00b1d9d71a x86/unwind/orc: Fix premature unwind stoppage due to IRET frames
c9473a0260b2 x86/unwind/orc: Fix error path for bad ORC entry type
1b4bd44645ac x86/unwind/orc: Prevent unwinding before ORC initialization
511261578b8b x86/unwind/orc: Don't skip the first frame for inactive tasks
162e9f141d96 x86/entry/64: Fix unwind hints in rewind_stack_do_exit()
16aace664b27 x86/entry/64: Fix unwind hints in kernel exit path
07c4cd680c0b x86/entry/64: Fix unwind hints in register clearing code
d8eb5a1cde35 batman-adv: Fix refcnt leak in batadv_v_ogm_process
13f968c8b762 batman-adv: Fix refcnt leak in batadv_store_throughput_override
b71348105899 batman-adv: Fix refcnt leak in batadv_show_throughput_override
bee7e9da58ba batman-adv: fix batadv_nc_random_weight_tq
34ca080088e2 iocost: protect iocg->abs_vdebt with iocg->waitq.lock
d8c7f015d1a9 riscv: set max_pfn to the PFN of the last page
480534e03061 coredump: fix crash when umh is disabled
b8fe132bae66 staging: gasket: Check the return value of gasket_get_bar_index()
53f453031a20 ceph: demote quotarealm lookup warning to a debug message
3fd9f902c08a ceph: fix endianness bug when handling MDS session feature bits
e991f7ded4e1 mm: limit boost_watermark on small zones
4b49a9660d26 mm/page_alloc: fix watchdog soft lockups during set_zone_contiguous()
ee922a2f6be9 eventpoll: fix missing wakeup for ovflist in ep_poll_callback
5d77631de15a epoll: atomically remove wait entry on wake up
1f3aa3e028c5 ipc/mqueue.c: change __do_notify() to bypass check_kill_permission()
65f96f4b797e drm: ingenic-drm: add MODULE_DEVICE_TABLE
0eae1647f145 arm64: hugetlb: avoid potential NULL dereference
e983c6064a0a KVM: arm64: Fix 32bit PC wrap-around
3ae9279d725a KVM: arm: vgic: Fix limit condition when writing to GICD_I[CS]ACTIVER
152d97d0b26f KVM: VMX: Explicitly clear RFLAGS.CF and RFLAGS.ZF in VM-Exit RSB path
3f23f781290b KVM: s390: Remove false WARN_ON_ONCE for the PQAP instruction
eb0373fc3871 crypto: arch/nhpoly1305 - process in explicit 4k chunks
8b166a6f6286 tracing: Add a vmalloc_sync_mappings() for safe measure
72886ae16a75 USB: serial: garmin_gps: add sanity checking for data length
4f4dc27c09cd usb: chipidea: msm: Ensure proper controller reset using role switch API
2419a955172c USB: uas: add quirk for LaCie 2Big Quadra
b60a086ec733 HID: wacom: Report 2nd-gen Intuos Pro S center button status over BT
613045bfc63d HID: usbhid: Fix race between usbhid_close() and usbhid_stop()
1017955fab5b Revert "HID: wacom: generic: read the number of expected touches on a per collection basis"
a204d577be70 sctp: Fix bundling of SHUTDOWN with COOKIE-ACK
3fc16b5b1947 HID: wacom: Read HID_DG_CONTACTMAX directly for non-generic devices
0aeae7ad9450 net: mvpp2: cls: Prevent buffer overflow in mvpp2_ethtool_cls_rule_del()
b2930c86ee2b net: mvpp2: prevent buffer overflow in mvpp22_rss_ctx()
d595dd5ba909 net/mlx5: Fix command entry leak in Internal Error State
11dd1d0ebfdd net/mlx5: Fix forced completion access non initialized command entry
18cfbcdf1f41 net/mlx5: DR, On creation set CQ's arm_db member to right value
6ab4dd433b61 bnxt_en: Fix VLAN acceleration handling in bnxt_fix_features().
cf07e0ccffde bnxt_en: Return error when allocating zero size context memory.
76737d877fab bnxt_en: Improve AER slot reset.
ab1c944361b4 bnxt_en: Reduce BNXT_MSIX_VEC_MAX value to supported CQs per PF.
2be3a9e71ce4 bnxt_en: Fix VF anti-spoof filter setup.
a882d44e5bad tunnel: Propagate ECT(1) when decapsulating as recommended by RFC6040
e9edd5a0f5f5 tipc: fix partial topology connection closure
f2d581951775 sch_sfq: validate silly quantum values
017242e3bdb3 sch_choke: avoid potential panic in choke_reset()
66f7e30273ef nfp: abm: fix a memory leak bug
8fc441d16183 net: usb: qmi_wwan: add support for DW5816e
4107cd9a869f net/tls: Fix sk_psock refcnt leak when in tls_data_ready()
a15ccc88e516 net/tls: Fix sk_psock refcnt leak in bpf_exec_tx_verdict()
4124b1317f26 net: tc35815: Fix phydev supported/advertising mask
7bbf73e918be net: stricter validation of untrusted gso packets
b51b394f4ab1 net_sched: sch_skbprio: add message validation to skbprio_change()
c78c166748e9 net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc()
57f6c4340aad net: macsec: preserve ingress frame ordering
301d6eb32d81 net: macb: fix an issue about leak related system resources
5ffd49c52bad net: dsa: Do not leave DSA master with NULL netdev_ops
e781af2fdc2e neigh: send protocol value in neighbor create notification
89469cf72fae mlxsw: spectrum_acl_tcam: Position vchunk in a vregion list properly
5d7e1e23efb6 ipv6: Use global sernum for dst validation with nexthop objects
45b6af95aae7 fq_codel: fix TCA_FQ_CODEL_DROP_BATCH_SIZE sanity checks
429a89625693 dp83640: reverse arguments to list_add_tail
6ee2fdf2ba4d devlink: fix return value after hitting end in region read
b586a95e2606 tty: xilinx_uartps: Fix missing id assignment to the console
8ca4302bc663 vt: fix unicode console freeing with a common interface
f4d20b01eaf6 drm/amdgpu: drop redundant cg/pg ungate on runpm enter
c973b108912a drm/amdgpu: move kfd suspend after ip_suspend_phase1
8e16ede5b7a1 net: macb: Fix runtime PM refcounting
eb6f88cd81ac tracing/kprobes: Fix a double initialization typo
56fc76893f87 nvme: fix possible hang when ns scanning fails during error recovery
fb1b41128c70 nvme: refactor nvme_identify_ns_descs error handling
a5d53ad84eb5 USB: serial: qcserial: Add DW5816e support
(From OE-Core rev: 94b473a0c82d77b3a365cbeb6c99a3338b6c7524)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c4b48a05f54520b4d5fcb5b0e6f74857ca4f1d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CONFIG_IKHEADERS is set to =m, then reproducibility issues creep
into the modules build, since the variables we are setting for the
main kernel build are not present.
Since the source code must be available for a possibly git query
on the timestamp, there didn't seem to be an easy way to move the
environment variable setting to a common routine. As such, we
duplicate the block of code that exports the required variables for
reproducible builds. There is a maintenance risk to this, but any
issues should be easy enough to catch.
(From OE-Core rev: f511d78164581f80e7b8c592fe88ffbf38738150)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 82cdfcdccfedd320ebc0cdc778c7d4966198b96f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
f015b86259a5 Linux 5.4.40
2852b559afdf PM / devfreq: Add missing locking while setting suspend_freq
8e054bd6dfc4 udp: document udp_rcv_segment special case for looped packets
2a03c23b2015 tools headers UAPI: Sync copy of arm64's asm/unistd.h with the kernel sources
f11664da13b9 Revert "drm/amd/display: setting the DIG_MODE to the correct value."
c365ff781540 mm/mremap: Add comment explaining the untagging behaviour of mremap()
8f30c3687f09 libbpf: Fix readelf output parsing for Fedora
88348bd1f696 cgroup, netclassid: remove double cond_resched
702d710ffd83 mac80211: add ieee80211_is_any_nullfunc()
468465fdef4d ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late()
da283f9be924 platform/x86: GPD pocket fan: Fix error message when temp-limits are out of range
03f235a5bd3a x86/kvm: fix a missing-prototypes "vmread_error"
85701f4768a1 ALSA: hda: Match both PCI ID and SSID for driver blacklist
b8b42c8dcf44 hexagon: define ioremap_uc
f31c9e904f1d hexagon: clean up ioremap
1bc508b2d16d mfd: intel-lpss: Use devm_ioremap_uc for MMIO
78b19f56b952 lib: devres: add a helper function for ioremap_uc
7a9b738c7511 Revert "software node: Simplify software_node_release() function"
b8bb9c3192f9 drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event
3fb4c93dc761 sctp: Fix SHUTDOWN CTSN Ack in the peer restart case
9da07c4aeaf7 drm/i915: Extend WaDisableDARBFClkGating to icl,ehl,tgl
d8e0b58fa471 net: systemport: suppress warnings on failed Rx SKB allocations
5c065ee4a07d net: bcmgenet: suppress warnings on failed Rx SKB allocations
fd2c9e605269 mac80211: sta_info: Add lockdep condition for RCU list usage
07fea3d3ef88 lib/mpi: Fix building for powerpc with clang
bacf98ee0003 tracing: Fix memory leaks in trace_events_hist.c
c46330d4dabf cifs: do not share tcons with DFS
84778248e013 scripts/config: allow colons in option strings for sed
b31e0bd4a97a cifs: protect updating server->dstaddr with a spinlock
0560b7c3ba48 ASoC: rsnd: Fix "status check failed" spam for multi-SSI
883d34cdefea ASoC: rsnd: Don't treat master SSI in multi SSI setup as parent
15de2df38652 net: stmmac: Fix sub-second increment
8d5a1ddaa9bb net: stmmac: fix enabling socfpga's ptp_ref_clock
d3539ea43a37 wimax/i2400m: Fix potential urb refcnt leak
f0d6b056bc18 drm/amdgpu: Correctly initialize thermal controller for GPUs with Powerplay table v0 (e.g Hawaii)
a09ba140db2f remoteproc: qcom_q6v5_mss: fix a bug in q6v5_probe()
b2978c307696 ASoC: codecs: hdac_hdmi: Fix incorrect use of list_for_each_entry
f9c3a17786fd ASoC: rsnd: Fix HDMI channel mapping for multi-SSI mode
26500b980bf8 ASoC: rsnd: Fix parent SSI start/stop in multi-SSI mode
5087c7f4e7f2 usb: dwc3: gadget: Properly set maxpacket limit
ab182c06fc22 ASoC: topology: Fix endianness issue
ae975c8e1062 ASoC: sgtl5000: Fix VAG power-on handling
3ea62d49613b selftests/ipc: Fix test failure seen after initial test run
a5dec15686e9 ASoC: topology: Check return value of soc_tplg_dai_config
fd8f4a3be50b ASoC: topology: Check return value of pcm_new_ver
0d452c7e309c ASoC: topology: Check soc_tplg_add_route return value
76336d4fa881 ASoC: topology: Check return value of soc_tplg_*_create
db80b7cb17d9 ASoC: topology: Check return value of soc_tplg_create_tlv
04da88c86c2e drm/bridge: analogix_dp: Split bind() into probe() and real bind()
336c7260a788 vhost: vsock: kick send_pkt worker once device is started
592465e6a54b Linux 5.4.39
eeef0d9fd40d selinux: properly handle multiple messages in selinux_netlink_send()
1de07eb54ab7 arm64: vdso: Add -fasynchronous-unwind-tables to cflags
73162ca8156f dmaengine: dmatest: Fix process hang when reading 'wait' parameter
c753a12c88e8 dmaengine: dmatest: Fix iteration non-stop logic
d458565e3c02 nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl
779f155811eb nvme: prevent double free in nvme_alloc_ns() error handling
57165a241302 Fix use after free in get_tree_bdev()
c0be115eb22d ALSA: opti9xx: shut up gcc-10 range warning
3af9be5f5c66 i2c: aspeed: Avoid i2c interrupt status clear race condition.
501ecc8fc9e5 iommu/amd: Fix legacy interrupt remapping for x2APIC-enabled system
a0000d228dd3 scsi: target/iblock: fix WRITE SAME zeroing
de59f2fbe6ca iommu/qcom: Fix local_base status check
205757f476e8 vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn()
08e90b299d4e vfio: avoid possible overflow in vfio_iommu_type1_pin_pages
44e2a98e2b58 i2c: iproc: generate stop event for slave writes
92c99197815d RDMA/cm: Fix an error check in cm_alloc_id_priv()
4c499dafdd63 RDMA/cm: Fix ordering of xa_alloc_cyclic() in ib_create_cm_id()
169b8b62717a RDMA/core: Fix race between destroy and release FD object
1e12524f09a1 RDMA/core: Prevent mixed use of FDs between shared ufiles
b7b72a16c5b0 RDMA/siw: Fix potential siw_mem refcnt leak in siw_fastreg_mr()
7665d88f9d0e RDMA/mlx4: Initialize ib_spec on the stack
80ba1153bc25 RDMA/mlx5: Set GRH fields in query QP on RoCE
1f5a2162516e scsi: qla2xxx: check UNLOADING before posting async work
faa8daca0226 scsi: qla2xxx: set UNLOADING before waiting for session deletion
4438f397ee4c ARM: dts: imx6qdl-sr-som-ti: indicate powering off wifi is safe
100cf0ba5b5d dm multipath: use updated MPATHF_QUEUE_IO on mapping for bio-based mpath
beed763ab934 dm writecache: fix data corruption when reloading the target
969b9cb1209b dm verity fec: fix hash block number in verity_fec_decode
c554ab856b66 PM: hibernate: Freeze kernel threads in software_resume()
8fc24d1029fd PM: ACPI: Output correct message on target power state
ca662b6014f3 IB/rdmavt: Always return ERR_PTR from rvt_create_mmap_info()
16cc37b3dc17 dlmfs_file_write(): fix the bogosity in handling non-zero *ppos
5049385407b4 Drivers: hv: vmbus: Fix Suspend-to-Idle for Generation-2 VM
95dd3099171e i2c: amd-mp2-pci: Fix Oops in amd_mp2_pci_init() error handling
ea63e38b29e7 ALSA: pcm: oss: Place the plugin buffer overflow checks correctly
c867614f196a ALSA: line6: Fix POD HD500 audio playback
c7577237c228 ALSA: hda/hdmi: fix without unlocked before return
6426aa65f7ca ALSA: usb-audio: Correct a typo of NuPrime DAC-10 USB ID
981b7194e82a ALSA: hda/realtek - Two front mics on a Lenovo ThinkCenter
35a9399714db crypto: caam - fix the address of the last entry of S/G
ca34751b5819 mmc: meson-mx-sdio: remove the broken ->card_busy() op
9e3315116f7e mmc: meson-mx-sdio: Set MMC_CAP_WAIT_WHILE_BUSY
80e99f42608d mmc: sdhci-msm: Enable host capabilities pertains to R1b response
d8f7e15a65dd mmc: sdhci-pci: Fix eMMC driver strength for BYT-based controllers
eed4792f9657 mmc: sdhci-xenon: fix annoying 1.8V regulator warning
31ba94b893b6 mmc: cqhci: Avoid false "cqhci: CQE stuck on" by not open-coding timeout loop
2b925c4600bf btrfs: transaction: Avoid deadlock due to bad initialization timing of fs_info::journal_info
67bc5f667a18 btrfs: fix partial loss of prealloc extent past i_size after fsync
636987650f6b btrfs: fix block group leak when removing fails
a378abbb8e39 btrfs: fix transaction leak in btrfs_recover_relocation
e5744821adc9 NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION
6eb95b35fd39 drm/qxl: qxl_release use after free
c465bc31ed9f drm/qxl: qxl_release leak in qxl_hw_surface_alloc()
4441fb2ab0fc drm/qxl: qxl_release leak in qxl_draw_dirty_fb()
f25335a83cf4 drm/amd/display: Fix green screen issue after suspend
5ec7eb970df4 drm/edid: Fix off-by-one in DispID DTD pixel clock
ffd99c012a2e dma-buf: Fix SET_NAME ioctl uapi
(From OE-Core rev: bb126c867adbe3eca3f30670e7b2e84bf98e97cf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2fdd473db5446b0e96ad4f774121129fbf94e0e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
9895e0ac338a Linux 5.4.38
5a54c69c4ef8 Revert "ASoC: meson: axg-card: fix codec-to-codec link setup"
527c60e8b7a8 Linux 5.4.37
4e7fb753e803 ASoC: stm32: spdifrx: fix regmap status check
4104faaeeda0 ASoC: soc-core: disable route checks for legacy devices
8c472abaedc7 ext4: check for non-zero journal inum in ext4_calculate_overhead
93af898b251f qed: Fix use after free in qed_chain_free
f1610480602a net: use indirect call wrappers for skb_copy_datagram_iter()
ec9cf8afcd64 Crypto: chelsio - Fixes a hang issue during driver registration
b0946b45b85a qed: Fix race condition between scheduling and destroying the slowpath workqueue
d15fc1470441 taprio: do not use BIT() in TCA_TAPRIO_ATTR_FLAG_* definitions
f37079e9ea83 hwmon: (jc42) Fix name to have no illegal characters
c7b6c51298bd blk-mq: Put driver tag in blk_mq_dispatch_rq_list() when no budget
3e9299c28fc5 ext4: convert BUG_ON's to WARN_ON's in mballoc.c
1e4281eba3ff ext4: increase wait time needed before reuse of deleted inode numbers
0fe3908e6abc ext4: use matching invalidatepage in ext4_writepage
1876e0e654b8 arm64: Delete the space separator in __emit_inst
a719f7bf5c88 mac80211: fix channel switch trigger from unknown mesh peer
9178430df3f7 net: stmmac: socfpga: Allow all RGMII modes
daafdf87b898 ALSA: hda: call runtime_allow() for all hda controllers
d9d4ea17d6d6 xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status
8c627d4b15de objtool: Support Clang non-section symbols in ORC dump
820126d9a83d objtool: Fix CONFIG_UBSAN_TRAP unreachable warnings
1cc2460dad82 scsi: target: tcmu: reset_ring should reset TCMU_DEV_BIT_BROKEN
62d350eb31d1 scsi: target: fix PR IN / READ FULL STATUS for FC
a323f69d00c6 ALSA: hda: Explicitly permit using autosuspend if runtime PM is supported
bd074af53cb6 ALSA: hda: Keep the controller initialization even if no codecs found
135e10232fb5 ALSA: hda: Release resources at error in delayed probe
535ed3f01564 xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
ec6e5792d62d afs: Fix length of dump of bad YFSFetchStatus record
16976275b929 signal: check sig before setting info in kill_pid_usb_asyncio
f88761412b90 x86: hyperv: report value of misc_features
b5da1152f716 net: fec: set GPR bit on suspend by DT configuration.
316ad98983d9 libbpf: Initialize *nl_pid so gcc 10 is happy
3c9bbe7f44f6 bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_B
ab6e8af64f39 xfs: clear PF_MEMALLOC before exiting xfsaild thread
e5329fcdc907 mm: shmem: disable interrupt when acquiring info->lock in userfaultfd_copy path
309a509dabd5 bpf, x86_32: Fix logic error in BPF_LDX zero-extension
d0b8695703f2 bpf, x86_32: Fix clobbering of dst for BPF_JSET
50c5d9146100 bpf, x86_32: Fix incorrect encoding in BPF_LDX zero-extension
ca3a2ca4cfa2 um: ensure `make ARCH=um mrproper` removes arch/$(SUBARCH)/include/generated/
9c5c94c5012c blk-iocost: Fix error on iocost_ioc_vrate_adj
b9c31556c37b PM: sleep: core: Switch back to async_schedule_dev()
36c436a8e46a netfilter: nat: fix error handling upon registering inet hook
9578a8c157b4 perf/core: fix parent pid/tid in task exit events
c04d01e918d8 sched/core: Fix reset-on-fork from RT with uclamp
040287785f42 net/mlx5: Fix failing fw tracer allocation on s390
a8b5611ffee3 s390/pci: do not set affinity for floating irqs
6cfb8c2ada58 cpumap: Avoid warning when CONFIG_DEBUG_PER_CPU_MAPS is enabled
05ae98547af9 ARM: dts: bcm283x: Disable dsi0 node
764a7d0a2756 PCI: Move Apex Edge TPU class quirk to fix BAR assignment
684dba87fdd7 PCI: Add ACS quirk for Zhaoxin Root/Downstream Ports
17d166e9535c PCI: Add Zhaoxin Vendor ID
d2481b5d1257 PCI: Unify ACS quirk desired vs provided checking
981fd6ad2a5a PCI: Make ACS quirk implementations more uniform
85a9e198f124 PCI: Add ACS quirk for Zhaoxin multi-function devices
d2b631a136e8 PCI: Avoid ASMedia XHCI USB PME# from D0 defect
246ff2a6f69e net/mlx5e: Get the latest values from counters in switchdev mode
2292e4049097 net/mlx5e: Don't trigger IRQ multiple times on XSK wakeup to avoid WQ overruns
b4284efb1e14 svcrdma: Fix leak of svc_rdma_recv_ctxt objects
53dbb934dd4f svcrdma: Fix trace point use-after-free race
ccd3b4bb9944 xfs: acquire superblock freeze protection on eofblocks scans
62f1cb491552 net/cxgb4: Check the return from t4_query_params properly
ce3460b90ed9 rxrpc: Fix DATA Tx to disable nofrag for UDP on AF_INET6 socket
6cdded333de6 i2c: altera: use proper variable to hold errno
db2426f86d44 bpf: Forbid XADD on spilled pointers for unprivileged users
f1317a4a2b9b nfsd: memory corruption in nfsd4_lock()
13b28f6b6778 drivers: soc: xilinx: fix firmware driver Kconfig dependency
1157d97cfa2b ASoC: wm8960: Fix wrong clock after suspend & resume
005aa9f0af9d ASoC: meson: axg-card: fix codec-to-codec link setup
08865eb796c4 ASoC: tas571x: disable regulators on failed probe
e9058b45556b ASoC: q6dsp6: q6afe-dai: add missing channels to MI2S DAIs
37405f2963c7 s390/ftrace: fix potential crashes when switching tracers
1f107e441bde counter: 104-quad-8: Add lock guards - generic interface
db66fd5fef68 propagate_one(): mnt_set_mountpoint() needs mount_lock
f9e41e4bbe61 iio:ad7797: Use correct attribute_group
f581eff93958 afs: Fix to actually set AFS_SERVER_FL_HAVE_EPOCH
c2bdc86ec8ac afs: Make record checking use TASK_UNINTERRUPTIBLE when appropriate
9dcb1844f884 usb: gadget: udc: atmel: Fix vbus disconnect handling
7155416143dd usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_complete
8f4cd6f0ea82 kbuild: fix DT binding schema rule again to avoid needless rebuilds
7067a62563d2 usb: dwc3: gadget: Do link recovery for SS and SSP
a74a5435a610 ASoC: stm32: sai: fix sai probe
4a5c9ae67b12 printk: queue wake_up_klogd irq_work only if per-CPU areas are ready
276224b7a147 ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans()
4d23f544a328 remoteproc: Fix wrong rvring index computation
aa73bcc37686 Linux 5.4.36
44d9eb0ebe8f s390/mm: fix page table upgrade vs 2ndary address mode accesses
58b243cf2786 compat: ARM64: always include asm-generic/compat.h
3160e84abaf7 powerpc/mm: Fix CONFIG_PPC_KUAP_DEBUG on PPC32
b48331b52a28 powerpc/kuap: PPC_KUAP_DEBUG should depend on PPC_KUAP
c4606876164c Revert "serial: uartps: Register own uart console and driver structures"
02d32033b397 Revert "serial: uartps: Move Port ID to device data structure"
bbc0423c8968 Revert "serial: uartps: Change uart ID port allocation"
f7504efa6bf7 Revert "serial: uartps: Do not allow use aliases >= MAX_UART_INSTANCES"
3e64d4db7b10 Revert "serial: uartps: Fix error path when alloc failed"
6fcbf58b115c Revert "serial: uartps: Use the same dynamic major number for all ports"
1bb43b4d8c32 Revert "serial: uartps: Fix uartps_major handling"
3af0614df15c serial: sh-sci: Make sure status register SCxSR is read in correct sequence
fceab238c534 xhci: Don't clear hub TT buffer on ep0 protocol stall
54470b0bd16a xhci: prevent bus suspend if a roothub port detected a over-current condition
f385e765ac93 xhci: Fix handling halted endpoint even if endpoint ring appears empty
8dbfb11452c0 usb: typec: altmode: Fix typec_altmode_get_partner sometimes returning an invalid pointer
740c93814783 usb: typec: tcpm: Ignore CC and vbus changes in PORT_RESET change
11c2089767cd usb: f_fs: Clear OS Extended descriptor counts to zero in ffs_data_reset()
bf996950d8de usb: dwc3: gadget: Fix request completion check
a0f1f53ecd8d fpga: dfl: pci: fix return value of cci_pci_sriov_configure
22432bcf066c UAS: fix deadlock in error handling and PM flushing work
e1b656677f7d UAS: no use logging any details in case of ENODEV
f4d1cf2ef83c cdc-acm: introduce a cool down
892de572ea71 cdc-acm: close race betrween suspend() and acm_softint
23d44059bc44 staging: vt6656: Power save stop wake_up_count wrap around.
9f1a23cbef73 staging: vt6656: Fix pairwise key entry save.
0bcc6585717e staging: vt6656: Fix drivers TBTT timing counter.
74bbe9d99040 staging: vt6656: Fix calling conditions of vnt_set_bss_mode
ec5ad5e1958c staging: vt6656: Don't set RCR_MULTICAST or RCR_BROADCAST by default.
64882aa0c531 vt: don't use kmalloc() for the unicode screen buffer
b027b30d1428 vt: don't hardcode the mem allocation upper bound
8f8d7f07d951 staging: comedi: Fix comedi_device refcnt leak in comedi_open
279dd75cec55 staging: comedi: dt2815: fix writing hi byte of analog output
dba6465408b8 powerpc/setup_64: Set cache-line-size based on cache-block-size
921b7b175605 ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
eabc107d20da cifs: fix uninitialised lease_key in open_shroot()
562489ba1078 iwlwifi: mvm: fix inactive TID removal return value usage
f1926b14bd8f iwlwifi: mvm: Do not declare support for ACK Enabled Aggregation
c93fb506bfaf iwlwifi: mvm: limit maximum queue appropriately
4025ac3d7fb7 iwlwifi: mvm: beacon statistics shouldn't go backwards
222722be70de iwlwifi: pcie: actually release queue memory in TVQM
7e69c9e6bbf3 SUNRPC: Fix backchannel RPC soft lockups
d62d85260ac4 mac80211: populate debugfs only after cfg80211 init
f67f3317ceb3 ASoC: dapm: fixup dapm kcontrol widget
83f82fd5552c audit: check the length of userspace generated audit records
20821047aca4 signal: Avoid corrupting si_pid and si_uid in do_notify_parent
1b4e23a945bd usb-storage: Add unusual_devs entry for JMicron JMS566
9de9003b255e tty: rocket, avoid OOB access
f1c0d3243dbe tty: hvc: fix buffer overflow during hvc_alloc().
52ca311e5f82 KVM: VMX: Enable machine check support for 32bit targets
878127ac8b70 KVM: Check validity of resolved slot when searching memslots
347125705f02 KVM: s390: Return last valid slot if approx index is out-of-bounds
3fc644fd6100 tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()
16244edc3bbe tpm: fix wrong return value in tpm_pcr_extend
86f1c523d422 tpm/tpm_tis: Free IRQ if probing fails
387039b25077 ALSA: usb-audio: Filter out unsupported sample rates on Focusrite devices
d5cd82153629 ALSA: usb-audio: Fix usb audio refcnt leak when getting spdif
dbb11f1d6d33 ALSA: hda/hdmi: Add module option to disable audio component binding
1e1f9d36280f ALSA: hda/realtek - Add new codec supported for ALC245
0939d06af06f ALSA: hda/realtek - Fix unexpected init_amp override
16e373fe61cb ALSA: usx2y: Fix potential NULL dereference
000515184f6f tools/vm: fix cross-compile build
5126bdeaf980 mm/ksm: fix NULL pointer dereference when KSM zero page is enabled
3c88e95cd167 mm/hugetlb: fix a addressing exception caused by huge_pte_offset
a77daafc2e37 coredump: fix null pointer dereference on coredump
fcfd63da5d82 staging: gasket: Fix incongruency in handling of sysfs entries creation
f4f235309b5c vmalloc: fix remap_vmalloc_range() bounds checks
3d15344e23c5 tty: serial: owl: add "much needed" clk_prepare_enable()
4fbf19bbba6a USB: hub: Revert commit bd0e6c9614b9 ("usb: hub: try old enumeration scheme first for high speed devices")
50ad463e20bf USB: hub: Fix handling of connect changes during sleep
b48193a7c303 USB: core: Fix free-while-in-use bug in the USB S-Glibrary
1d53402d89d7 USB: early: Handle AMD's spec-compliant identifiers, too
8409f83e3e81 USB: Add USB_QUIRK_DELAY_CTRL_MSG and USB_QUIRK_DELAY_INIT for Corsair K70 RGB RAPIDFIRE
b7758cd38b94 USB: sisusbvga: Change port variable from signed to unsigned
557f3f549217 iio: xilinx-xadc: Make sure not exceed maximum samplerate
b3e365a07016 iio: xilinx-xadc: Fix sequencer configuration for aux channels in simultaneous mode
cf2849c9ef46 iio: xilinx-xadc: Fix clearing interrupt when enabling trigger
6a956eb2e1a7 iio: xilinx-xadc: Fix ADC-B powerdown
f83a969fcb0b iio: adc: ti-ads8344: properly byte swap value
db168069b0d6 iio: adc: stm32-adc: fix sleep in atomic context
02311bc13344 iio: st_sensors: rely on odr mask to know if odr can be set
14952589c9d8 iio: core: remove extra semi-colon from devm_iio_device_register() macro
12c02c473e86 ALSA: usb-audio: Add connector notifier delegation
6ec99b94a3a0 ALSA: usb-audio: Add static mapping table for ALC1220-VB-based mobos
23abb5f2faea ALSA: hda: Remove ASUS ROG Zenith from the blacklist
419d8fb1630c KEYS: Avoid false positive ENOMEM error on key read
b1bcb485dd6b vrf: Check skb for XFRM_TRANSFORMED flag
dfbbb4557af4 xfrm: Always set XFRM_TRANSFORMED in xfrm{4,6}_output_finish
ace87b487a5f geneve: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
b977fe1c9e80 vxlan: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
51c935f6c6ef net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL
cb1a18a7d328 net: dsa: b53: Rework ARL bin logic
2cc27f102dcd net: dsa: b53: Fix ARL register definitions
1fae6eb0fc91 net: dsa: b53: Fix valid setting for MDB entries
2537dc9e2c03 net: dsa: b53: Lookup VID in ARL searches when VLAN is enabled
07856b2108cf vrf: Fix IPv6 with qdisc and xfrm
755425c1b004 team: fix hang in team_mode_get()
3f642d785a51 tcp: cache line align MAX_TCP_HEADER
8a60fad4495d selftests: Fix suppress test in fib_tests.sh
a3afaa5033f4 sched: etf: do not assume all sockets are full blown
5a2ddf8e5a5d net/x25: Fix x25_neigh refcnt leak when receiving frame
6885d58eb439 net: stmmac: dwmac-meson8b: Add missing boundary to RGMII TX clock array
4acc0b18f7af net: openvswitch: ovs_ct_exit to be done under ovs_lock
21b1a767eba6 net: netrom: Fix potential nr_neigh refcnt leak in nr_add_node
befd63a980cc net/mlx4_en: avoid indirect call in TX completion
49bbf322316c net: bcmgenet: correct per TX/RX ring statistics
aa6a14bc4102 mlxsw: Fix some IS_ERR() vs NULL bugs
d5ba4c22928f macvlan: fix null dereference in macvlan_device_event()
70a37b9816f3 macsec: avoid to set wrong mtu
2d197d8e1aa4 ipv6: fix restrict IPV6_ADDRFORM operation
382f57b996aa ipv4: Update fib_select_default to handle nexthop objects
3b759befd7f2 cxgb4: fix large delays in PTP synchronization
d02f4242650d cxgb4: fix adapter crash due to wrong MC size
91097eba10d3 PCI/PM: Add missing link delays required by the PCIe spec
7720fd9c679e PCI/ASPM: Allow re-enabling Clock PM
3340d011cff4 scsi: smartpqi: fix problem with unique ID for physical device
d867f2757173 scsi: smartpqi: fix call trace in device discovery
8a20fb1c9a49 scsi: smartpqi: fix controller lockup observed during force reboot
3edd55247295 virtio-blk: improve virtqueue error to BLK_STS
2390698b9dbd tracing/selftests: Turn off timeout setting
ca958fe8af20 ASoC: SOF: trace: fix unconditional free in trace release
01fad934f1bd PCI: pciehp: Prevent deadlock on disconnect
39b9a0b3d24d libbpf: Fix readelf output parsing on powerpc with recent binutils
b91ae5994725 PCI/PM: Add pcie_wait_for_link_delay()
df38cda0144a drm/amd/display: Not doing optimize bandwidth if flip pending.
2be21320076d xhci: Finetune host initiated USB3 rootport link suspend and resume
ea6f7011c42d xhci: Wait until link state trainsits to U0 after setting USB_SS_PORT_LS_U0
e650a264df6f xhci: Ensure link state is U3 after setting USB_SS_PORT_LS_U3
bdb61374da1b ALSA: usb-audio: Add Pioneer DJ DJM-250MK2 quirk
578aa47612f2 ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN MPWIN895CL tablet
632d9736d215 drm/amd/display: Calculate scaling ratios on every medium/full update
16c370534d6c perf/core: Disable page faults when getting phys address
41a3e446bc56 pwm: bcm2835: Dynamically allocate base
53cdc935c912 pwm: renesas-tpu: Fix late Runtime PM enablement
1bfb6423c6fc nvme: fix compat address handling in several ioctls
de1263d4306e powerpc/pseries: Fix MCE handling on pseries
107290a8f06b Revert "powerpc/64: irq_work avoid interrupt when called with hardware irqs enabled"
1712911bfb34 loop: Better discard support for block devices
ed61eec49a70 s390/cio: avoid duplicated 'ADD' uevents
ad1187668ffe s390/cio: generate delayed uevent for vfio-ccw subchannels
8652254e96a6 lib/raid6/test: fix build on distros whose /bin/sh is not bash
e84ef75fa184 kconfig: qconf: Fix a few alignment issues
cb5d9604038c ipc/util.c: sysvipc_find_ipc() should increase position index
70638a74c52a selftests: kmod: fix handling test numbers above 9
16846f6fcbcf kernel/gcov/fs.c: gcov_seq_next() should increase position index
1edfff795d4f dma-direct: fix data truncation in dma_direct_get_required_mask()
8300465623bf drm/amd/display: Update stream adjust in dc_stream_adjust_vmin_vmax
da2c733a7180 nvme: fix deadlock caused by ANA update wrong locking
90a33c23aad8 ASoC: Intel: atom: Take the drv->lock mutex before calling sst_send_slot_map()
1310d9655be0 tools/test/nvdimm: Fix out of tree build
713ad9b9d37a scsi: iscsi: Report unbind session event when the target has been removed
f507ae6e33cb nvme-tcp: fix possible crash in write_zeroes processing
a5f036adae09 pwm: rcar: Fix late Runtime PM enablement
b71ac8086a7b ceph: don't skip updating wanted caps when cap is stale
acbfccc6a3e3 ceph: return ceph_mdsc_do_request() errors from __get_parent()
fb669262fdef scsi: libfc: If PRLI rejected, move rport to PLOGI state
8427b05a7a1f scsi: lpfc: Fix crash in target side cable pulls hitting WAIT_FOR_UNREG
0c5733a96261 scsi: lpfc: Fix crash after handling a pci error
9d1062c4dd14 scsi: lpfc: Fix kasan slab-out-of-bounds error in lpfc_unreg_login
66491dadd125 watchdog: reset last_hw_keepalive time at start
7b709f1ba800 tools/testing/nvdimm: Fix compilation failure without CONFIG_DEV_DAX_PMEM_COMPAT
810045068bda arm64: Silence clang warning on mismatched value/register sizes
aa50d567ec4a arm64: compat: Workaround Neoverse-N1 #1542419 for compat user-space
6de0c621191a arm64: Fake the IminLine size on systems affected by Neoverse-N1 #1542419
f2791551cedb arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1 #1542419
4b823bf7c2ca net, ip_tunnel: fix interface lookup with no key
5811f24abd27 f2fs: fix to avoid memory leakage in f2fs_listxattr
79ad14904152 ext4: fix extent_status fragmentation for plain files
0c418786cb3a Linux 5.4.35
a801a05ca714 bpf, test_verifier: switch bpf_get_stack's 0 s> r8 test
8781011a302b bpf: Test_progs, add test to catch retval refine error handling
37e1cdff90c1 bpf: Test_verifier, bpf_get_stack return value add <0
3bd5bcafbbf3 bpf: fix buggy r0 retval refinement for tracing helpers
f1afcf9488fc KEYS: Don't write out to userspace while holding key semaphore
5d53bfdce008 mtd: phram: fix a double free issue in error path
4191ebe1fc71 mtd: lpddr: Fix a double free in probe()
7d4adb1d3c69 docs: Fix path to MTD command line partition parser
318d5088fdfe mtd: spinand: Explicitly use MTD_OPS_RAW to write the bad block marker to OOB
700bccb8e9a2 mtd: rawnand: free the nand_device object
0c72ec11d8bd locktorture: Print ratio of acquisitions, not failures
01c9e2a9fc5c tty: evh_bytechan: Fix out of bounds accesses
f656649089a3 fbmem: Adjust indentation in fb_prepare_logo and fb_blank
47e4d791d514 iio: si1133: read 24-bit signed integer for measurement
a2a385aae551 ARM: dts: sunxi: Fix DE2 clocks register range
7e141c307834 fbdev: potential information leak in do_fb_ioctl()
f0938746879a dma-debug: fix displaying of dma allocation type
bc69709c54df net: dsa: bcm_sf2: Fix overflow checks
762d35aa906f drm/nouveau/gr/gp107,gp108: implement workaround for HW hanging during init
a156e67acf6c f2fs: fix to wait all node page writeback
f08e4e70b0ac iommu/amd: Fix the configuration of GCR3 table root pointer
436af737c3c2 libnvdimm: Out of bounds read in __nd_ioctl()
dcb122749f58 power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks.
760eecac993b csky: Fixup init_fpu compile warning with __init
1500c7003146 sunrpc: Fix gss_unwrap_resp_integ() again
ddb8812a21e1 ext2: fix debug reference to ext2_xattr_cache
24191c8c9bd2 iommu/vt-d: Fix page request descriptor size
a5a1d567a069 iommu/vt-d: Silence RCU-list debugging warning in dmar_find_atsr()
21439dff919e ext2: fix empty body warnings when -Wextra is used
d00041a48c3e SUNRPC: fix krb5p mount to provide large enough buffer in rq_rcvsize
900cd0f6c688 iommu/vt-d: Fix mm reference leak
9c01a49a7117 iommu/virtio: Fix freeing of incomplete domains
475bec7063bc drm/vc4: Fix HDMI mode validation
b58244c482ce um: falloc.h needs to be directly included for older libc
6c3339269a8a ACPICA: Fixes for acpiExec namespace init file
9f8b1216dac9 f2fs: fix NULL pointer dereference in f2fs_write_begin()
57615a8561f0 csky: Fixup get wrong psr value from phyical reg
c848e00e3b95 NFS: Fix memory leaks in nfs_pageio_stop_mirroring()
2e03d3c569b6 drm/amdkfd: kfree the wrong pointer
e907a0d09b34 csky: Fixup cpu speculative execution to IO area
88591187bebc x86: ACPI: fix CPU hotplug deadlock
a9282e58238d leds: core: Fix warning message when init_data
ddf39dc2f7a3 drm/nouveau: workaround runpm fail by disabling PCI power management on certain intel bridges
f24d8de03b72 KVM: s390: vsie: Fix possible race when shadowing region 3 tables
3910babeac1a compiler.h: fix error in BUILD_BUG_ON() reporting
b525f94f16e5 percpu_counter: fix a data race at vm_committed_as
ffac60b8bc5f include/linux/swapops.h: correct guards for non_swap_entry()
2a40eaab1fc4 drm/nouveau/svm: fix vma range check for migration
f3955f1e58be drm/nouveau/svm: check for SVM initialized before migrating
a825ce86ebed mm/hugetlb: fix build failure with HUGETLB_PAGE but not HUGEBTLBFS
23e2519760f8 cifs: Allocate encryption header through kmalloc
6ba010ea4856 um: ubd: Prevent buffer overrun on command completion
b9f88c31b266 ext4: do not commit super on read-only bdev
4078dceb1228 s390/cpum_sf: Fix wrong page count in error message
fd80f4a6805c powerpc/maple: Fix declaration made after definition
bee9bc3e0248 powerpc/prom_init: Pass the "os-term" message to hypervisor
765052217847 btrfs: add RCU locks around block group initialization
285f25c97f24 hibernate: Allow uswsusp to write to swap
4753b111f003 s390/cpuinfo: fix wrong output when CPU0 is offline
380d12904603 f2fs: Add a new CP flag to help fsck fix resize SPO issues
066f1e4174f2 f2fs: Fix mount failure due to SPO after a successful online resize FS
ea468f37370a NFS: direct.c: Fix memory leak of dreq when nfs_get_lock_context fails
81b41f5ecc96 phy: uniphier-usb3ss: Add Pro5 support
3e85d501828c f2fs: fix to show norecovery mount option
ffbad91b66ce KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests
ea410f2a1fc8 ARM: dts: rockchip: fix lvds-encoder ports subnode for rk3188-bqedison2qc
59bafdc99440 NFSv4.2: error out when relink swapfile
264e3f1597e8 NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid()
07cd4e8f745c NFS: alloc_nfs_open_context() must use the file cred when available
66bfacd0f302 rtc: 88pm860x: fix possible race condition
56aaa0e8c92a dma-coherent: fix integer overflow in the reserved-memory dma allocation
960bf4e436ca soc: imx: gpc: fix power up sequencing
1e7abaf24875 arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay
d7b59cd020f7 arm64: tegra: Fix Tegra194 PCIe compatible string
5615f66bfdfc arm64: tegra: Add PCIe endpoint controllers nodes for Tegra194
540f9620f192 clk: tegra: Fix Tegra PMC clock out parents
b7dee304aa0e power: supply: bq27xxx_battery: Silence deferred-probe error
6a7721714835 arm64: dts: allwinner: a64: Fix display clock register range
5d2861f840bb ARM: dts: rockchip: fix vqmmc-supply property name for rk3188-bqedison2qc
1321fb4320e7 f2fs: fix the panic in do_checkpoint()
6d4330391c49 net/mlx5e: Enforce setting of a single FEC mode
0d03cbfdf364 clk: at91: usb: continue if clk_hw_round_rate() return zero
04e43c7c664a clk: Don't cache errors from clk_ops::get_phase()
83321ee302e3 drm/ttm: flush the fence on the bo after we individualize the reservation object
94ebb1eea0e7 x86/Hyper-V: Free hv_panic_page when fail to register kmsg dump
d662b44161e4 rbd: call rbd_dev_unprobe() after unwatching and flushing notifies
88a57e387cf0 rbd: avoid a deadlock on header_rwsem when flushing notifies
a362482b2325 block, bfq: invoke flush_idle_tree after reparent_active_queues in pd_offline
839b7cd1d8bc block, bfq: make reparent_leaf_entity actually work only on leaf entities
ad749ca022ad block, bfq: turn put_queue into release_process_ref in __bfq_bic_change_cgroup
00d392873771 afs: Fix race between post-modification dir edit and readdir/d_revalidate
42e343cf3285 afs: Fix afs_d_validate() to set the right directory version
8c3e4ba0fa7a afs: Fix rename operation status delivery
4eba6ec9644a afs: Fix decoding of inline abort codes from version 1 status records
0604b60ef9d7 afs: Fix missing XDR advance in xdr_decode_{AFS,YFS}FSFetchStatus()
4f7b1e892ed0 x86/Hyper-V: Report crash data in die() when panic_on_oops is set
5097186b279a x86/Hyper-V: Report crash register data when sysctl_record_panic_msg is not set
31ebf98817c6 x86/Hyper-V: Report crash register data or kmsg before running crash kernel
1ed38a98478f x86/Hyper-V: Trigger crash enlightenment only once during system crash.
9f38f7b46de0 x86/Hyper-V: Unload vmbus channel in hv panic callback
4c2a34f9f448 of: overlay: kmemleak in dup_and_fixup_symbol_prop()
93ef21bb1a72 of: unittest: kmemleak in of_unittest_overlay_high_level()
a1371954ee49 of: unittest: kmemleak in of_unittest_platform_populate()
dd3dd28241e0 of: unittest: kmemleak on changeset destroy
25c9cdef5748 xsk: Add missing check on user supplied headroom size
9244c79da15c ALSA: hda: Don't release card at firmware loading error
182fa4d72a7c irqchip/mbigen: Free msi_desc on device teardown
daefa51c4353 netfilter: nf_tables: report EOPNOTSUPP on unsupported flags/object type
aea3873fb02c kbuild, btf: Fix dependencies for DEBUG_INFO_BTF
e1e5c219f033 ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN.
ed0a5355aa62 ALSA: hda: Honor PM disablement in PM freeze and thaw_noirq ops
d8b667b45d72 scsi: sg: add sg_remove_request in sg_common_write
d979eda8a72b objtool: Fix switch table detection in .text.unlikely
2613535abd3b arm, bpf: Fix offset overflow for BPF_MEM BPF_DW
d4adee8e8f2f arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0
e7f6c25bafa6 xsk: Fix out of boundary write in __xsk_rcv_memcpy
9a9eae78529c watchdog: sp805: fix restart handler
41d097c83343 ext4: use non-movable memory for superblock readahead
(From OE-Core rev: dc05c81a0f74f7a7cc2852e5e66b871514b77817)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2503b1a55b3525ad8f97d3adafd442688dbd4397)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that this patch affects qemuarm AND qemuarm64.
When booting a VM and during operation, the following message
periodically appears:
INIT: Id "hvc0" respawning too fast: disabled for 5 minutes
This is because hvc0 is specified in SERIAL_CONSOLES in qemuarm.conf
and qemuarm64.conf, but it is not in /proc/consoles and
SERIAL_CONSOLES_CHECK is not specified, leaving getty to attempt to
enable hvc0. Add SERIAL_CONSOLES_CHECK to both conf files so that
hvc0 isn't enabled if it hasn't been set there or in local.conf.
(From OE-Core rev: e2658a7d73b6f21939e644e533718cd05b288766)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 982b7f98b8423236cc986346379b1bde3694f131)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior to fetching, the system checks if the sstate file is present
either locally or on the mirror. If it is, then it goes to the fetch
stage. Up to three files can be fetched, sstate, sstate.siginfo and
sstate.sig (if signature validation is enabled).
The previous pstaging_fetch function would iterate over these, and if
a download error occurred would spew forth a great amount of fetcher
failure messages as well as stop fetching the next item in the set.
This was resolved by adding a fetcher.checkstatus() call prior to
the download. If the file isn't present, then the exception will
be triggered, and no fetcher failure messages will reach the user.
The exception handler is then modified to be a pass so that it will
loop and pull the rest of the files that that are requested.
Additionally, a check for the existance of the .sig file was added
to the sstate_installpkg to avoid an error trying to load the .sig
if it wasn't downloaded.
(From OE-Core rev: ec58532ab6fc6343144da67789c928c751d36c06)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9085140434e2d26c0bb75bb53fcb7f7c19ef86d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a build break which rarely happens but is seen often enough
with 4.1 kernel based builds
/bin/sh: 1: scripts/basic/fixdep: Permission denied
scripts/Makefile.host:124: recipe for target 'scripts/dtc/srcpos.o' failed
make[3]: *** [scripts/dtc/srcpos.o] Error 126
this patch sequences the build targets so it can work reliably with
different kernel versions
Divide the target into scripts_basic scripts is not
strictly necessary and was simply what was used for
testing on kernel 4.1, which is quite an old kernel
perhaps just using scripts is sufficient, but it is not tested to not
known will cause the build race as seen above.
(From OE-Core rev: 8a7da39c04fbab1280c464f39a791e4fbd1e7da9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55ac6e2d251287419138931aa0d0894cf1267787)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When falling back from detecting ip from /proc/./cmdline the
output of runqemu is acutally
'Network configuration: ip=192.168.7.2::192.168.7.1::255.255.255.0'
which doesn't match the given regex and leading to run failure, although
IP is detectable.
Fix regex by inserting an optional 'ip=' prefix to first IP
(From OE-Core rev: 9c2efe41d5d894094552c4bbc4180675a5aac751)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 75f2471d15fab024775c59cb70c54e3f25f9ae72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was only used for pulling in zlib, but this is now
a direct dependency.
Also move the DEPENDS to a more common location in the file.
(From OE-Core rev: ce5500cc07da270322b67db5001fc1476b6bf2fe)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a99fd8b705be3b8c70cb0f17f60b013d989d625c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a terminal fails to spawn() we should continue looking.
gnome-terminal, in particular can be present but not start.
(From OE-Core rev: 5ca00faa9c085fef1781b66561de461e9cc5b117)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e4babdeee38d32002a4c9129e77466ae4156dd7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only ptest logs are accessible with the log command, this
adds support so the ltp logs can be extracted too.
(From OE-Core rev: 0b513274a0ae722065cf1a605090000e854e2f81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64a2121a875ce128959ee0a62e310d5f91f87b0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I've long since wondered why there was some odd output in result reports,
remove the leftover debug which was causing it.
(From OE-Core rev: 10d1d2ffa0906561d65886caee44652242139913)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 66e96bf70753933714ff8edcc13a1f35a052656f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The argument urls of bb.fetch2.Fetch(urls, d) are duplicated to SRC_URI, which caused errors like:
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.
The SCMs are:
git://github.com/docker/notary.git;destsuffix=git/src/github.com/docker/notary
git://github.com/docker/notary.git
The first one is from original SRC_URI, the second one is from the
variable 'urls', so cleanup SRC_URI before call bb.fetch2.Fetch() can fix the
problem.
(From OE-Core rev: a7f50876f95a9be9fe045af1e4efddfe53a983f5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b244c4f3427cd07376d4b8f7d27e38735bcc90e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'inherit' directive may not be used in conf files as it's supposed
to be used for the inheritance of classes.
Correct form in conf file is INHERIT.
This commit adds:
- a sanity check to find whether the wrong case exists
- fail the build if so
- tell user about the difference in directives
[YOCTO #5426]
(From OE-Core rev: bc6e27aeed5d536d2b764949c307f260f78b7810)
Signed-off-by: Gregor Zatko <gzatko@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07bf9b460fe97dec86439302a83bbefa8bac9d70)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As in other places in the file, skip layers that don't define a
collection when searching for a layer to resolve a dependency. Fixes
KeyError exceptions when attempting to access the layer collections
later
(From OE-Core rev: ae65adf471a9ad04c6a44bf020a28f1006db106a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26090a2861ebe21224aaf89d7be0c0a89ca58e48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Certain recipes e.g. bash readline ( from meta-gplv2 ) download patches instead of having them in
metadata, this could fail cve_check
ERROR: readline-5.2-r9 do_cve_check: File Not found: qemuarm/build/../downloads/readline52-001
This patch ensures that download is done before running CVE scan, even
though these will be external patches and may not contain CVE tags as it
expects, but it will fix the run failures as seen above
(From OE-Core rev: dbf143d79476e54e8da93101fc16eaedeec88362)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e406fcb6c609a0d2456d7da0d2406d2d9fa52dd2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As these comments have been around since 2015 and apparently unused,
get rid of hundreds of them.
(From yocto-docs rev: 98687310b9e2d4cd3bd4c96e100877414dcf791c)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afec5770a22ac51c956e87567bf39e71064e9f04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was, years ago, deprecated in favour of FEATURE_PACKAGES, so
remove all references, other than the entry in the migration section.
(From yocto-docs rev: 2deac02f283547f66d1f7a002f5bf07ddd449401)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The example service files are placed into /etc/avahi/services when we
run `make install` for avahi. This results in ssh and sftp-ssh services
being announced by default even if no ssh server is installed in an
image.
These example files should be moved away to another location such as
/usr/share/doc/avahi (taking inspiration from Arch Linux).
(From OE-Core rev: c88cf750f26f6786d6ba5b4f1f7e5d4f0c800e6e)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes the fixes for CVE-2020-5260 and CVE-2020-11008.
(From OE-Core rev: 46da8ac6d25bb75c625c2da1d36cbc693a7d442d)
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file-native when built on a Debian 10 host will embed a dependency to
'libbz2.so.1.0' (instead of 'libbz2.so.1'). This can cause issues
when sharing the sstate between hosts e.g.:
recipe-sysroot-native/usr/lib/rpm/rpmdeps:
error while loading shared libraries: libbz2.so.1.0: \
cannot open shared object file: No such file or directory
To avoid this situation, let's add the bzip2-replacement-native to the
file recipe's DEPENDS_class-native .
Details in https://bugzilla.yoctoproject.org/show_bug.cgi?id=13915 .
(From OE-Core rev: 5a2bc3bfa9e1a4f37b6e26a5c40a4a9c025d03f1)
Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a996574464028bd5d57b90920d0887d1a81e9e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is printed by testimage, but isn't actually saved.
It's a useful metric for tracking execution times.
(From OE-Core rev: 866c652c850d9e23300218fcbe0b9e4b3ade2ebf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fc19639f47b959a141dae231395bbababa644e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move logic checking that all packages licenses are only a subset of
recipe licenses from base.bbclass to the insane.bbclass so that it's
evaluated only once, during do_package_qa.
As explained in the linked bugzilla entry, if a package license is not
part of the recipe license, the warning message gets shown an
unreasonable amount of time because it's evaluated every time a recipe
is parsed.
[YOCTO #10130]
This also makes it possible to silence this error with INSANE_SKIP.
(From OE-Core rev: ae404ef230882e442e9390b314e1ce023fdbbd1b)
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 852408ed4be1f64c57e196688728b7ed223d3493)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libubootenv depends on zlib as it calls at least crc32() from
there and links against it. Add the DEPENDS entry.
(From OE-Core rev: dc5babe9472ba7379edbb17b6cbac44604606b26)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit db513f9ec59b7ac526b2cdc42b0eb2573e134bc4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the missing rdepends to fix below error:
# python3
[snip]
>>> import setuptools.lib2to3_ex
[snip]
ModuleNotFoundError: No module named 'lib2to3'
ModuleNotFoundError: No module named 'pickle'
(From OE-Core rev: d19d1ccca3f86a59a72023727d3d804c2e9d18dc)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit be5c3c989d75290863cc7aef9949cf6e82d3070f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To ensure that archives are captured for all dependencies of a typical
bitbake build we add do_deploy_archives to the list of recursive
dependencies of do_build. Without this, archives may be missed for
recipes such as gcc-source which do not create packages or populate a
sysroot.
do_deploy_archives is also added to the recursive dependencies of
do_populate_sdk so that all sources required for an SDK can be captured.
(From OE-Core rev: 66a2e4bcafb3f8835bb21d73a9e78e7d9d15bbd3)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e1feb6030cd8e77c553ec10a366cbeb7e902bada)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly make the BUILT_SOURCES which
are the generated headers such as stdio.h,
fcntl.h and etc to be the dependencies of
the gl_LIBOBJS such as libbison_a-sprintf.o,
libbison_a-printf.o and etc to guarantee the
BUILT_SOURCES is generated before begin to
compile EXTRA_lib_libbison_a_SOURCES such as
fprintf.c in parallel builid, otherwise there
may come below error:
| muscle-tab.c:(.text+0x77a): undefined reference to `rpl_sprintf'
It does the same for src_bison_OBJECTS and
lib_libbison_a_OBJECTS to make sure BUILT_SOURCES
generated before begin to compile src_bison_SOURCES
which contains AnnotationList.c and etc.
BTW, the MOSTLYCLEANFILES also contains the
generated header needs to be created early
in the build process, so add it also in to
avoid below error:
| ./lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory
[YOCTO #13825]
(From OE-Core rev: 99ddfee2a2434d282749e2062987067f70b0ef54)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 43d74b11095092b13f94074785d0306484fabea6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to build gcr if no commmand gpg on build host:
| meson.build:44:0: ERROR: Program(s) ['gpg2', 'gpg'] not found or not executable
Add dependency gnupg-native to fix the error.
(From OE-Core rev: da7360247995d7c8e79dfcaa0c0761952a9013f1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e4a6eda4c246b2bca059defed796bdab19a7ab5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A few options of file configure are set to auto, which can lead to
unpredictable effects when something in the sysroot does provide
things that satisfy the autotools checks.
In the worst case this will lead to package-qa failures as libraries are
not set in RDEPENDS but configured for the tool.
To mitigate changes of accidental configure set explicit options via
newly introduced PACKAGECONFIG variables for bzip, lzma and zlib
support, where the default is just zlib, as it was before
(From OE-Core rev: 5bfdb6bfbd6f1de10d415228e5a5ebe01a623e2a)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some pypi packages do have suffixes like dev, or a0 or b1.
When doing a version check on these, the version will get falsely
identified as major release versions.
Add a terminating slash to rule out those false positives
(From OE-Core rev: 0603f6d9f2abfa67b99b1bc39228f6aa16a0370d)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevents git commands run in a recipe from moving up past ${WORKDIR}
when searching for a .git directory, and thus prevents them from
detecting the parent OE-core .git directory. Fixes several
reproducibility issues where recipes would use the OE-core version as
the recipe version due to git walking up the tree.
(From OE-Core rev: 02ecf3e2a98a614805f6f2574c2bf14162192d01)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the past kernel built object files were named 'built-in.o'.
Nowadays it is 'built-in.a'.
The script is modified to work with both. I expect
it will not happen that there are built-in.a and built-in.o
files in the same kernel.
(From OE-Core rev: 8a883c3b0773960908491c03c46e7ed320e41dc5)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, the opkg-key command is not included in pokg package because
it is only installed when gpg support is enabled. We'd better check if
it exists before run 'opkg-key populate' in pkg_postinst.
(From OE-Core rev: 174c27e4edea0af92f60779cf3f63d21f6bce6fe)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When vpnc support is included through PACKAGECONFIG, there
is now an extra vpn-script coming after the atest upgrade,
include that script into FILES so it gets packaged.
(From OE-Core rev: 8587149c49dd8d1e1a0a0b5cf81e458bfa88547e)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backports a patch from upstream to fix a reproducibility problem where
paths would be encoded in the binary.
Drops an obsolete patch that conflicted with the backport
(From OE-Core rev: b8f5114aabf6bbbc4adf5802a6707efaf18ba2ee)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6ccc74c083c0 Linux 5.4.34
b538aacc9400 x86/microcode/AMD: Increase microcode PATCH_MAX_SIZE
856a74fd7e61 scsi: target: fix hang when multiple threads try to destroy the same iscsi session
992e469b4c44 scsi: target: remove boilerplate code
4b3380e007b2 x86/resctrl: Fix invalid attempt at removing the default resource group
3652782e3a87 x86/resctrl: Preserve CDP enable over CPU hotplug
6b5e8e7cbe24 irqchip/ti-sci-inta: Fix processing of masked irqs
9d2759006e29 ext4: do not zeroout extents beyond i_disksize
653b42530952 i2c: designware: platdrv: Remove DPM_FLAG_SMART_SUSPEND flag on BYT and CHT
e2b80bf26956 drm/amdgpu: fix the hw hang during perform system reboot and reset
251f13126e23 drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
eecd70c77ff3 net/mlx5e: Use preactivate hook to set the indirection table
57f578bce415 net/mlx5e: Rename hw_modify to preactivate
67284c11399f net/mlx5e: Encapsulate updating netdev queues into a function
cae385538886 mac80211_hwsim: Use kstrndup() in place of kasprintf()
a8ce3412e8a2 mac80211: fix race in ieee80211_register_hw()
21350f28b226 nl80211: fix NL80211_ATTR_FTM_RESPONDER policy
aa5b11bb333c btrfs: check commit root generation in should_ignore_root
0026e356e51a tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
a0aaafe7ce4b keys: Fix proc_keys_next to increase position index
f32a339e0321 arm64: vdso: don't free unallocated pages
5209e5f05bf2 ALSA: usb-audio: Check mapping at creating connector controls, too
250db0305392 ALSA: usb-audio: Don't create jack controls for PCM terminals
aae6e154680f ALSA: usb-audio: Don't override ignore_ctl_error value from the map
9acfd1ac016a ALSA: usb-audio: Filter error from connector kctl ops, too
0eb7bcf3ad32 ALSA: hda/realtek - Enable the headset mic on Asus FX505DT
549a48900d8e ASoC: Intel: mrfld: return error codes when an error occurs
86ec55651fd2 ASoC: Intel: mrfld: fix incorrect check on p->sink
538b623fed6d usb: dwc3: gadget: Don't clear flags before transfer ended
3bffb20603cd arm64: dts: librem5-devkit: add a vbus supply to usb0
3a8dc1e91561 ARM: dts: imx7-colibri: fix muxing of usbc_det pin
c2c5d07090d4 clk: at91: usb: use proper usbs_mask
90c1f740ddf8 clk: at91: sam9x60: fix usb clock parents
c874d9d116d8 ext4: fix incorrect inodes per group in error message
dd7b410c9b01 ext4: fix incorrect group count in ext4_fill_super error message
44c70ed66c93 net/bpfilter: remove superfluous testing message
229563dc6b04 pwm: pca9685: Fix PWM/GPIO inter-operation
0a4c06f0db06 perf report: Fix no branch type statistics report issue
4542e583e2b8 acpi/nfit: improve bounds checking for 'func'
5815a5d70def jbd2: improve comments about freeing data buffers whose page mapping is NULL
8078d3af4af7 platform/chrome: cros_ec_rpmsg: Fix race with host event
777c8c9f11a8 scsi: ufs: Fix ufshcd_hold() caused scheduling while atomic
66458aa271b0 ovl: fix value of i_ino for lower hardlink corner case
c85a7109f905 Revert "ACPI: EC: Do not clear boot_ec_is_ecdt in acpi_ec_add()"
4f2fb2a1990a net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes
a06a51d59292 net/mlx5e: Fix pfnum in devlink port attribute
e25122586403 net/mlx5e: Fix nest_level for vlan pop action
cb8892f52ec9 net/mlx5e: Add missing release firmware call
34310505d404 net/mlx5: Fix frequent ioread PCI access during recovery
1ff0732cf805 net: ethernet: mediatek: move mt7623 settings out off the mt7530
f749a8bfdd38 net: dsa: mt7530: move mt7623 settings out off the mt7530
bb54dcca3fb5 net: tun: record RX queue in skb before do_xdp_generic()
f6b264f2a04c net: revert default NAPI poll timeout to 2 jiffies
61260486790e net: qrtr: send msgs from local of same id as broadcast
81dc4e9bff98 net: phy: micrel: use genphy_read_status for KSZ9131
a9a851f0ec67 net: ipv6: do not consider routes via gateways for anycast address check
22e56cb2f951 net: ipv4: devinet: Fix crash when add/del multicast IP with autojoin
3ca854743110 net: dsa: mt7530: fix tagged frames pass-through in VLAN-unaware mode
016e3531d5c1 l2tp: Allow management of tunnels and session in user namespace
22ea267a9cd6 hsr: check protocol version in hsr_newlink()
ced57064a085 amd-xgbe: Use __napi_schedule() in BH context
dc4059d21d87 Linux 5.4.33
484cc15ad00f scsi: lpfc: fix inlining of lpfc_sli4_cleanup_poll_list()
8dead2c275e4 ASoC: stm32: sai: Add missing cleanup
aed5ee6befcc efi/x86: Fix the deletion of variables in mixed mode
0c839eee166a mfd: dln2: Fix sanity checking for endpoints
b70eb420e96d bpf: Fix tnum constraints for 32-bit comparisons
26711cc7e064 mmc: sdhci: Refactor sdhci_set_timeout()
56a296657e4b mmc: sdhci: Convert sdhci_set_timeout_irq() to non-static
c1f3e1d8d7e6 powerpc/kasan: Fix kasan_remap_early_shadow_ro()
36b0b1f63994 drm/i915/icl+: Don't enable DDI IO power on a TypeC port in TBT mode
bdac1d76a310 drm/amdgpu: fix gfx hang during suspend with video playback (v2)
d1bbdf003c05 drm/dp_mst: Fix clearing payload state on topology disable
7676e69c67e3 Revert "drm/dp_mst: Remove VCPI while disabling topology mgr"
ba74ab0c29fc scsi: lpfc: Fix broken Credit Recovery after driver load
33ebae4f3ba6 scsi: lpfc: Fix configuration of BB credit recovery in service parameters
037b0b5521a4 scsi: lpfc: Fix Fabric hostname registration if system hostname changes
f48e7593523e scsi: lpfc: Add registration for CPU Offline/Online events
33344a7661a1 dm clone: Add missing casts to prevent overflows and data corruption
2d7eb7ee36a3 dm clone: Fix handling of partial region discards
dcf2f00b0869 dm clone: replace spin_lock_irqsave with spin_lock_irq
fddfa591da8e dm zoned: remove duplicate nr_rnd_zones increase in dmz_init_zone()
1ba26c2aedb4 arm64: Always force a branch protection mode when the compiler has one
ba7581be850b powerpc: Make setjmp/longjmp signature standard
3457b2232eaf scsi: mpt3sas: Fix kernel panic observed on soft HBA unplug
e294f8a5ad31 powerpc/64: Prevent stack protection in early boot
fc8755dc01d1 powerpc/kprobes: Ignore traps that happened in real mode
ed6f6b2b39af powerpc/xive: Fix xmon support on the PowerNV platform
1ab730b65946 powerpc/64: Setup a paca before parsing device tree etc.
9240f83aa9c7 powerpc/xive: Use XIVE_BAD_IRQ instead of zero to catch non configured IPIs
bd0fa144737c powerpc/hash64/devmap: Use H_PAGE_THP_HUGE when setting up huge devmap PTE entries
81b9336ab20e powerpc/fsl_booke: Avoid creating duplicate tlb1 entry
38aa7f32dfd8 powerpc/64/tm: Don't let userspace set regs->trap via sigreturn
0abc07d23c51 xen/blkfront: fix memory allocation flags in blkfront_setup_indirect()
5fdf01181cb8 ipmi: fix hung processes in __get_guid()
d0b9bd4804a7 libata: Return correct status in sata_pmp_eh_recover_pm() when ATA_DFLAG_DETACH is set
ec2c054e87a5 hfsplus: fix crash and filesystem corruption when deleting files
af80e6f70f72 cpufreq: powernv: Fix use-after-free
9cc4f52d34a2 kmod: make request_module() return an error when autoloading is disabled
bf4fcd52742e clk: ingenic/TCU: Fix round_rate returning error
9e8388fdf4de clk: ingenic/jz4770: Exit with error if CGU init failed
7bcca67bdee8 ftrace/kprobe: Show the maxactive number on kprobe_events
7dad5beb8dfd Input: i8042 - add Acer Aspire 5738z to nomux list
efb9e9f723f5 s390/diag: fix display of diagnose call statistics
453fb8b20db4 perf tools: Support Python 3.8+ in Makefile
beb3ef51cfd8 ocfs2: no need try to truncate file beyond i_size
47199f4b87eb fs/filesystems.c: downgrade user-reachable WARN_ONCE() to pr_warn_once()
6772387e8201 ext4: fix a data race at inode->i_blocks
699d2c4d667e NFS: Fix a page leak in nfs_destroy_unlinked_subrequests()
6b64cbd05807 NFS: Fix use-after-free issues in nfs_pageio_add_request()
98a817eda5bc nfsd: fsnotify on rmdir under nfsd/clients/
27993365c009 powerpc/pseries: Avoid NULL pointer dereference when drmem is unavailable
4e4c6760fe03 drm/amdgpu: unify fw_write_wait for new gfx9 asics
45bc323b8102 drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK
fe0ec6f90e4d drm: Remove PageReserved manipulation from drm_pci_alloc
b716a5f5ec65 drm/etnaviv: rework perfmon query infrastructure
463a2dddb4f9 drm/i915/gem: Flush all the reloc_gpu batch
cda1eda28f1d vfio: platform: Switch to platform_get_irq_optional()
b5eec37a3b85 selftests/powerpc: Add tlbie_test in .gitignore
e1ec78f93042 selftests/vm: fix map_hugetlb length used for testing read and write
336b96a68170 selftests: vm: drop dependencies on page flags from mlock2 tests
20a62e9073f3 arm64: armv8_deprecated: Fix undef_hook mask for thumb setend
3d66a67f7310 arm64: dts: ti: k3-am65: Add clocks to dwc3 nodes
9d971b0059a2 ARM: dts: exynos: Fix polarity of the LCD SPI bus on UniversalC210 board
e5b9c1027ee8 scsi: lpfc: Fix lpfc_io_buf resource leak in lpfc_get_scsi_buf_s4 error path
73a122c2636d scsi: ufs: fix Auto-Hibern8 error detection
0ad68e6212ad scsi: zfcp: fix missing erp_lock in port recovery trigger for point-to-point
8179a260313e crypto: ccree - dec auth tag size from cryptlen map
9135cd1b0f64 crypto: ccree - only try to map auth tag if needed
a86744642789 crypto: ccree - protect against empty or NULL scatterlists
f3f13f979448 crypto: caam - update xts sector size for large input length
bc8413b626dd crypto: caam/qi2 - fix chacha20 data size error
07378b099139 xarray: Fix early termination of xas_for_each_marked
8f4c8e92bdac XArray: Fix xas_pause for large multi-index entries
a1ffc47f22a8 dm clone metadata: Fix return type of dm_clone_nr_of_hydrated_regions()
996f8f1ba72a dm clone: Add overflow check for number of regions
2e703059348d dm verity fec: fix memory leak in verity_fec_dtr
833309f3fb51 dm integrity: fix a crash with unusually large tag size
bef0d2f5fdcb dm writecache: add cond_resched to avoid CPU hangs
5c84ab9c96d7 mm, memcg: do not high throttle allocators based on wraparound
935e87b20c56 arm64: dts: allwinner: h5: Fix PMU compatible
1dbfae009525 sched/core: Remove duplicate assignment in sched_tick_remote()
8b068046321f arm64: dts: allwinner: h6: Fix PMU compatible
27dbb3633809 net: qualcomm: rmnet: Allow configuration updates to existing devices
add09c86cd3e tools: gpio: Fix out-of-tree build regression
a0f079ac13be powerpc/pseries: Drop pointless static qualifier in vpa_debugfs_init()
e0ae9da3fb2f mmc: sdhci-of-esdhc: fix esdhc_reset() for different controller versions
7661469ef56e io_uring: honor original task RLIMIT_FSIZE
a181a74610e6 erofs: correct the remaining shrink objects
433868b19ce0 crypto: mxs-dcp - fix scatterlist linearization for hash
248414f50596 crypto: rng - Fix a refcounting bug in crypto_rng_reset()
6b936b1872ba remoteproc: Fix NULL pointer dereference in rproc_virtio_notify
5b677eddc547 remoteproc: qcom_q6v5_mss: Reload the mba region on coredump
241f681d19e1 remoteproc: qcom_q6v5_mss: Don't reassign mpss region on shutdown
87a9058d5552 btrfs: use nofs allocations for running delayed items
0425813c2279 btrfs: fix missing semaphore unlock in btrfs_sync_file
08e69ab983da btrfs: unset reloc control if we fail to recover
098d3da1ad30 btrfs: fix missing file extent item for hole after ranged fsync
b436fbff6fca btrfs: drop block from cache on error in relocation
dd68ba0d7355 btrfs: set update the uuid generation as soon as possible
441b83a84208 btrfs: reloc: clean dirty subvols if we fail to start a transaction
1bd44cada415 Btrfs: fix crash during unmount due to race with delayed inode workers
941dabde6c1a btrfs: Don't submit any btree write bio if the fs has errors
0297b7f9842e mtd: spinand: Do not erase the block before writing a bad block marker
4da7c98c3081 mtd: spinand: Stop using spinand->oobbuf for buffering bad block markers
c138ad0741fc CIFS: Fix bug which the return value by asynchronous read is error
9b35348318d1 smb3: fix performance regression with setting mtime
40888c31aca3 KVM: VMX: fix crash cleanup when KVM wasn't used
93a2b7368862 KVM: VMX: Add a trampoline to fix VMREAD error handling
771b9374a529 KVM: x86: Gracefully handle __vmalloc() failure during VM allocation
455f37affe13 KVM: VMX: Always VMCLEAR in-use VMCSes during crash with kexec support
bcd1d7462aba KVM: x86: Allocate new rmap and large page tracking when moving memslot
0c7fb8c91c0f KVM: s390: vsie: Fix delivery of addressing exceptions
654b70e84710 KVM: s390: vsie: Fix region 1 ASCE sanity shadow address checks
2c5bfcda8791 KVM: nVMX: Properly handle userspace interrupt window request
99a890ed7009 platform/x86: asus-wmi: Support laptops where the first battery is named BATT
bd90b96e3486 x86/entry/32: Add missing ASM_CLAC to general_protection entry
3dc06261a41f x86/tsc_msr: Make MSR derived TSC frequency more accurate
41a7f842e312 x86/tsc_msr: Fix MSR_FSB_FREQ mask for Cherry Trail devices
6c63cf15d066 x86/tsc_msr: Use named struct initializers
5f2d04139aa5 signal: Extend exec_id to 64bits
0a993df8d609 ath9k: Handle txpower changes even when TPC is disabled
d941b33bdc68 PM: sleep: wakeup: Skip wakeup_source_sysfs_remove() if device is not there
4fcbc35fab57 PM / Domains: Allow no domain-idle-states DT property in genpd when parsing
5bd5307cd264 MIPS: OCTEON: irq: Fix potential NULL pointer dereference
ed374eee8ce6 MIPS/tlbex: Fix LDDIR usage in setup_pw() for Loongson-3
4acbbe98e06a pstore: pstore_ftrace_seq_next should increase position index
38119a689766 io_uring: remove bogus RLIMIT_NOFILE check in file registration
6124e10dbc4f irqchip/versatile-fpga: Apply clear-mask earlier
3f3700c4697b genirq/debugfs: Add missing sanity checks to interrupt injection
6ecc37daf64e cpu/hotplug: Ignore pm_wakeup_pending() for disable_nonboot_cpus()
4b67e5afc2a0 KEYS: reaching the keys quotas correctly
f7384f90ecc7 tpm: tpm2_bios_measurements_next should increase position index
27544e1bdcc6 tpm: tpm1_bios_measurements_next should increase position index
96e05bb57b40 tpm: Don't make log failures fatal
524089fa70ef sched/fair: Fix enqueue_task_fair warning
8b6f8619fc96 PCI: endpoint: Fix for concurrent memory allocation in OB address region
96843346b201 PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM
55b61a08bf86 PCI: Add boot interrupt quirk mechanism for Xeon chipsets
72d52a779e99 PCI/ASPM: Clear the correct bits when enabling L1 substates
463181e64f5f PCI: pciehp: Fix indefinite wait on sysfs requests
c755ca32c8cd efi/x86: Add TPM related EFI tables to unencrypted mapping checks
91bed1f1fb97 nvme-fc: Revert "add module to ops template to allow module references"
0eb4d8b985be nvmet-tcp: fix maxh2cdata icresp parameter
b3c7227ad4c6 thermal: devfreq_cooling: inline all stubs for CONFIG_DEVFREQ_THERMAL=n
e7251a88d387 ACPI: PM: s2idle: Refine active GPEs check
dd993e283bc3 ACPICA: Allow acpi_any_gpe_status_set() to skip one GPE
1efd20ea57d4 acpi/x86: ignore unspecified bit positions in the ACPI global lock field
52e6985f2c91 seccomp: Add missing compat_ioctl for notify
15ae94fe2211 media: ti-vpe: cal: fix a kernel oops when unloading module
3a59d985ceb1 media: ti-vpe: cal: fix disable_irqs to only the intended target
46b0e2900ee2 media: hantro: Read be32 words starting at every fourth byte
7ac962c5b730 media: venus: firmware: Ignore secure call error on first resume
be9956bac91a ALSA: hda/realtek - Add quirk for MSI GL63
09e7b678f3e0 ALSA: hda/realtek - Add quirk for Lenovo Carbon X1 8th gen
f5462668ad94 ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise fixups
a92931dea6b1 ALSA: hda/realtek - Set principled PC Beep configuration for ALC256
0f18192b6924 ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256
3e7167475236 ALSA: hda/realtek - a fake key event is triggered by running shutup
faea94956333 ALSA: hda/realtek: Enable mute LED on an HP system
1dfcd70d1fcc ALSA: pcm: oss: Fix regression by buffer overflow fix
e3ab9c5540e3 ALSA: ice1724: Fix invalid access for enumerated ctl items
6a9ba565b41f ALSA: hda: Fix potential access overflow in beep helper
f4f0a1f017e0 ALSA: hda: Add driver blacklist
1ee0023c340e ALSA: usb-audio: Add mixer workaround for TRX40 and co
78a92756fc2c usb: gadget: composite: Inform controller driver of self-powered
a385ebdaa4dc usb: gadget: f_fs: Fix use after free issue as part of queue failure
9a8b1ba9d41f ASoC: topology: use name_prefix for new kcontrol
f467e054c03f ASoC: dpcm: allow start or stop during pause for backend
af0b76f9f632 ASoC: dapm: connect virtual mux with default value
803db8a07868 ASoC: fix regwmask
acec0e9a916a btrfs: track reloc roots based on their commit root bytenr
9632851a5326 btrfs: restart relocate_tree_blocks properly
ddc25a38ab36 btrfs: remove a BUG_ON() from merge_reloc_roots()
679885143c04 btrfs: qgroup: ensure qgroup_rescan_running is only set when the worker is at least queued
b37de1b1e882 block, bfq: fix use-after-free in bfq_idle_slice_timer_body
bd9afea9bde7 locking/lockdep: Avoid recursion in lockdep_count_{for,back}ward_deps()
b9da72cb7019 spi: spi-fsl-dspi: Replace interruptible wait queue with a simple completion
64a97384d4f4 firmware: fix a double abort case with fw_load_sysfs_fallback
2d29a61a14fa md: check arrays is suspended in mddev_detach before call quiesce operations
6420b2e5fa66 irqchip/gic-v4: Provide irq_retrigger to avoid circular locking dependency
80e85ab88b3f usb: dwc3: core: add support for disabling SS instances in park mode
b6257832dd45 media: i2c: ov5695: Fix power on and off sequences
510b4e069508 block: Fix use-after-free issue accessing struct io_cq
b9d5ced37ac7 genirq/irqdomain: Check pointer in irq_domain_alloc_irqs_hierarchy()
bceda1dd4716 efi/x86: Ignore the memory attributes table on i386
fc427b7a0266 x86/boot: Use unsigned comparison for addresses
f6bb3ea812f0 cpufreq: imx6q: fix error handling
c5bcaacd0640 gfs2: Don't demote a glock until its revokes are written
46bbc5526dd7 gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty
aa547b9dc20f pstore/platform: fix potential mem leak if pstore_init_fs failed
347f091094ab libata: Remove extra scsi_host_put() in ata_scsi_add_hosts()
288761c9f0a2 media: i2c: video-i2c: fix build errors due to 'imply hwmon'
fb80a18584a4 block, bfq: move forward the getting of an extra ref in bfq_bfqq_move
d1d846fb02a8 PCI/switchtec: Fix init_completion race condition with poll_wait()
75434bcc6593 selftests/x86/ptrace_syscall_32: Fix no-vDSO segfault
dd39eadc71d4 sched: Avoid scale real weight down to zero
f7557078e16e media: allegro: fix type of gop_length in channel_create message
2902207377f8 time/sched_clock: Expire timer in hardirq context
3f755f5233a2 irqchip/versatile-fpga: Handle chained IRQs properly
c8b81c33c5cb debugfs: Check module state before warning in {full/open}_proxy_open()
fd66df97dce9 block: keep bdi->io_pages in sync with max_sectors_kb for stacked devices
e88ee287fd82 dma-mapping: Fix dma_pgprot() for unencrypted coherent pages
aa04e8d359d7 x86: Don't let pgprot_modify() change the page encryption bit
ce7a61a0d57d ACPI: EC: Do not clear boot_ec_is_ecdt in acpi_ec_add()
99e20a79d215 xhci: bail out early if driver can't accress host in resume
61ed3dcad80c media: imx: imx7-media-csi: Fix video field handling
dd051f1af594 media: imx: imx7_mipi_csis: Power off the source when stopping streaming
502b83e73e35 null_blk: fix spurious IO errors after failed past-wp access
38c1299f8c5c null_blk: Handle null_add_dev() failures properly
becd9a906657 null_blk: Fix the null_add_dev() error path
f9ee512dd913 firmware: arm_sdei: fix double-lock on hibernate with shared events
7bf2c31ba0bb media: venus: hfi_parser: Ignore HEVC encoding for V1
0d3d868b34af staging: wilc1000: avoid double unlocking of 'wilc->hif_cs' mutex
d5bc44e6b0d4 cpufreq: imx6q: Fixes unwanted cpu overclocking on i.MX6ULL
33dbe5867c39 media: rc: add keymap for Videostrong KII Pro
a5ef462303e0 i2c: pca-platform: Use platform_irq_get_optional
54d09aab81aa i2c: st: fix missing struct parameter description
28f5b6ee1c2f qlcnic: Fix bad kzalloc null test
d7f6f2b0be09 cfg80211: Do not warn on same channel at the end of CSA
068168461e68 drm/scheduler: fix rare NULL ptr race
f5429ec64f4f cxgb4/ptp: pass the sign of offset delta in FW CMD
d2037f68ae03 selftests/net: add definition for SOL_DCCP to fix compilation errors for old libc
9a3f55fc0f46 hinic: fix wrong value of MIN_SKB_LEN
a8f9fe793001 hinic: fix wrong para of wait_for_completion_timeout
243ebc24e01c hinic: fix out-of-order excution in arm cpu
5edd115ba09e hinic: fix the bug of clearing event queue
d63fac896335 hinic: fix a bug of waitting for IO stopped
ad4ad8253f89 net: vxge: fix wrong __VA_ARGS__ usage
b9c961998565 net: stmmac: platform: Fix misleading interrupt error msg
f96f2c885eda rxrpc: Fix call interruptibility handling
f8da7f442861 rxrpc: Abstract out the calculation of whether there's Tx space
96860db5c09f soc: fsl: dpio: register dpio irq handlers after dpio create
10e15e1b9297 Input: tm2-touchkey - add support for Coreriver TC360 variant
ed1c4d2ca9da iwlwifi: mvm: Fix rate scale NSS configuration
fd29a0242f86 bpf: Fix deadlock with rq_lock in bpf_send_signal()
5c234312e805 ARM: dts: Fix dm814x Ethernet by changing to use rgmii-id mode
d04ffa50f901 bus: sunxi-rsb: Return correct data when mixing 16-bit and 8-bit reads
7092cc4590c0 ARM: dts: sun8i-a83t-tbs-a711: HM5065 doesn't like such a high voltage
(From OE-Core rev: 1a50634e56dfcb63eac0df1aa9cd7e6fb7bd470a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
bc844d58f697 Linux 5.4.32
ad5676629a12 iommu/vt-d: Allow devices with RMRRs to use identity domain
04ad505eed58 drm/i915: Fix ref->mutex deadlock in i915_active_wait()
047affa0ef00 fbcon: fix null-ptr-deref in fbcon_switch
d4083258db04 blk-mq: Keep set->nr_hw_queues and set->map[].nr_queues in sync
d020ff5060a4 RDMA/cm: Update num_paths in cma_resolve_iboe_route error flow
b40f1ae359f2 Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
7f5432c2f446 RDMA/siw: Fix passive connection establishment
09583e3f0402 RDMA/cma: Teach lockdep about the order of rtnl and lock
51795bcf595d RDMA/ucma: Put a lock around every call to the rdma_cm layer
ab6ee4330288 include/uapi/linux/swab.h: fix userspace breakage, use __BITS_PER_LONG for swap
193490dbe5ba ceph: canonicalize server path in place
56385788f7f6 ceph: remove the extra slashes in the server path
7dafb2c6fb46 ARM: imx: only select ARM_ERRATA_814220 for ARMv7-A
cf7005662673 ARM: imx: Enable ARM_ERRATA_814220 for i.MX6UL and i.MX7D
4ac80b02f10d IB/mlx5: Replace tunnel mpls capability bits for tunnel_offloads
ccc2b645de20 IB/hfi1: Fix memory leaks in sysfs registration and unregistration
cd38d8b231f1 IB/hfi1: Call kobject_put() when kobject_init_and_add() fails
9351dee1cc24 ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
e30a21c6fea5 platform/x86: intel_int0002_vgpio: Use acpi_register_wakeup_handler()
9da847d65f37 ACPI: PM: Add acpi_[un]register_wakeup_handler()
41a0cfa05c05 hwrng: imx-rngc - fix an error path
dfa210cf9f94 tools/accounting/getdelays.c: fix netlink attribute length
ea84a26ab633 slub: improve bit diffusion for freelist ptr obfuscation
8b0f08036659 uapi: rename ext2_swab() to swab() and share globally in swab.h
94d2d84bcafa usb: dwc3: gadget: Wrap around when skip TRBs
170f88a47b9f random: always use batched entropy for get_random_u{32,64}
5e331978200e s390: prevent leaking kernel address in BEAR
74107d56d1e8 r8169: change back SG and TSO to be disabled by default
5249653d971d mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_VLAN_MANGLE
671331c11c39 tun: Don't put_page() for all negative return values from XDP program
fdb6a094ba41 slcan: Don't transmit uninitialized stack data in padding
feed32e3d6fe net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting
049b9fa3ef65 net_sched: fix a missing refcnt in tcindex_init()
1891d57f89aa net_sched: add a temporary refcnt for struct tcindex_data
1189ba9eedac net: phy: micrel: kszphy_resume(): add delay after genphy_resume() before accessing PHY registers
7d3d99f579e8 net: dsa: mt7530: fix null pointer dereferencing in port5 setup
bce7ce18bd18 net: dsa: bcm_sf2: Ensure correct sub-node is parsed
040f7a27583f net: dsa: bcm_sf2: Do not register slave MDIO bus with OF
bbbdd7956bab ipv6: don't auto-add link-local address to lag ports
77cf80793692 cxgb4: fix MPS index overwrite when setting MAC address
3fcd53b1d859 net: phy: realtek: fix handling of RTL8105e-integrated PHY
de850633a01f Linux 5.4.31
c3f87e03f90f mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
c3d4e6fc4b37 padata: always acquire cpu_hotplug_lock before pinst->lock
238112fcf391 net: Fix Tx hash bound checking
15ee8da79ee3 i2c: i801: Do not add ICH_RES_IO_SMI for the iTCO_wdt device
079c8da9e5ac watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional
b42afa3475bf watchdog: iTCO_wdt: Export vendorsupport
4ebd16641797 tcp: fix TFO SYNACK undo to avoid double-timestamp-undo
a6b1820d3330 IB/hfi1: Ensure pq is not left on waitlist
c4168080f1d4 rxrpc: Fix sendmsg(MSG_WAITALL) handling
be8a3aecd21a iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails
b4190809a17b iwlwifi: yoyo: don't add TLV offset when reading FIFOs
00e332e42bbe iwlwifi: consider HE capability when setting LDPC
5f843cb77142 net/mlx5e: kTLS, Fix wrong value in record tracker enum
ea26f82a0422 soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper
f6c8f128856b ALSA: hda/ca0132 - Add Recon3Di quirk to handle integrated sound on EVGA X99 Classified motherboard
2892100bc85a Revert "dm: always call blk_queue_split() in dm_process_bio()"
7c6ae8ae0ac5 power: supply: axp288_charger: Add special handling for HP Pavilion x2 10
899c38d93000 extcon: axp288: Add wakeup support
4d60b72514c2 nvmem: check for NULL reg_read and reg_write before dereferencing
98b32db072e9 mei: me: add cedar fork device ids
1843cba24aef coresight: do not use the BIT() macro in the UAPI header
b5212116392e PCI: sysfs: Revert "rescan" file renames
aa98c16a5b7c misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
a5d697c1e92d misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
82f6c72e5d4d misc: rtsx: set correct pcr_ops for rts522A
cec4be18d136 brcmfmac: abort and release host after error
625b940a28e0 padata: fix uninitialized return value in padata_replace()
16696ee7b581 XArray: Fix xa_find_next for large multi-index entries
4eb33cb9b566 net/mlx5e: kTLS, Fix TCP seq off-by-1 issue in TX resync flow
8792e1ac5f48 tools/power turbostat: Fix 32-bit capabilities warning
09116eeea6a5 tools/power turbostat: Fix missing SYS_LPI counter on some Chromebooks
0ba0ce3cbb86 tools/power turbostat: Fix gcc build warnings
7ebc1e53a46b drm/amdgpu: fix typo for vcn1 idle check
d2faee42f9e7 initramfs: restore default compression behavior
4a8ba74c1c64 drm/bochs: downgrade pci_request_region failure from error to warning
f8abcff4fd0d drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017
205b5f80c74f kconfig: introduce m32-flag and m64-flag
91358d0f36fa nvme-rdma: Avoid double freeing of async event data
ad13e142e024 Linux 5.4.30
9e62b6673d14 arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode
c399a50ae878 arm64: dts: ls1043a-rdb: correct RGMII delay mode to rgmii-id
5aa29219206a ARM: dts: sun8i: r40: Move AHCI device node based on address order
8f1199341837 ARM: dts: N900: fix onenand timings
89ecba47b391 ARM: dts: imx6: phycore-som: fix arm and soc minimum voltage
bb4ec20d1687 ARM: bcm2835-rpi-zero-w: Add missing pinctrl name
e58eb564e1fc ARM: dts: oxnas: Fix clear-mask property
a1081413e834 perf map: Fix off by one in strncpy() size argument
451bf4d9592a arm64: alternative: fix build with clang integrated assembler
693860e79552 libceph: fix alloc_msg_with_page_vector() memory leaks
61bbc823a17a clk: ti: am43xx: Fix clock parent for RTC clock
b2efabe3f88c clk: imx: Align imx sc clock parent msg structs to 4
4a3c7e1c807f clk: imx: Align imx sc clock msg structs to 4
08479b1391cb net: ks8851-ml: Fix IO operations, again
62465fd66323 gpiolib: acpi: Add quirk to ignore EC wakeups on HP x2 10 CHT + AXP288 model
877f28596da2 bpf: Explicitly memset some bpf info structures declared on the stack
e92528a8984e bpf: Explicitly memset the bpf_attr structure
d3e215554a6c platform/x86: pmc_atom: Add Lex 2I385SW to critclk_systems DMI table
3f4ba176c623 vt: vt_ioctl: fix use-after-free in vt_in_use()
acf0e9401931 vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
d1b6ab26c850 vt: vt_ioctl: remove unnecessary console allocation checks
c897e625f94b vt: switch vt_dont_switch to bool
e7244ce86ceb vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
383c71b7314f vt: selection, introduce vc_is_sel
125dd8c48b19 serial: sprd: Fix a dereference warning
5b1bd4900fed mac80211: fix authentication with iwlwifi/mvm
5863d2b27fb2 mac80211: Check port authorization in the ieee80211_tx_dequeue() case
73fea3292b49 Linux 5.4.29
f8c60f7a0051 net: Fix CONFIG_NET_CLS_ACT=n and CONFIG_NFT_FWD_NETDEV={y, m} build
5f80d17c517d media: v4l2-core: fix a use-after-free bug of sd->devnode
e7cd85f398cd media: xirlink_cit: add missing descriptor sanity checks
4490085a9e2d media: stv06xx: add missing descriptor sanity checks
d111431a4420 media: dib0700: fix rc endpoint lookup
e4af1cf37b90 media: ov519: add missing endpoint sanity checks
b25af84517de libfs: fix infoleak in simple_attr_read()
dcf2d659add5 ahci: Add Intel Comet Lake H RAID PCI ID
89d4acabb2f6 staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback
c44ea4fe738b staging: wlan-ng: fix ODEBUG bug in prism2sta_disconnect_usb
0ec1ab1b15d2 staging: rtl8188eu: Add ASUS USB-N10 Nano B1 to device table
fea3939c6ccc staging: kpc2000: prevent underflow in cpld_reconfigure()
b958dea86c26 media: usbtv: fix control-message timeouts
275316b63165 media: flexcop-usb: fix endpoint sanity check
5102000134f4 usb: musb: fix crash with highmen PIO and usbmon
f32219427ca1 USB: serial: io_edgeport: fix slab-out-of-bounds read in edge_interrupt_callback
004b43fdfcf4 USB: cdc-acm: restore capability check order
4003d59a00e2 USB: serial: option: add Wistron Neweb D19Q1
d5fec27c54e7 USB: serial: option: add BroadMobi BM806U
6eff944ff084 USB: serial: option: add support for ASKEY WWHC050
8d62a8c7489a bpf: Undo incorrect __reg_bound_offset32 handling
f23f37fe702f clocksource/drivers/hyper-v: Untangle stimers and timesync from clocksources
791c420f4228 r8169: fix PHY driver check on platforms w/o module softdeps
d8166d4b4203 vti6: Fix memory leak of skb if input policy check fails
9c4f1506b477 ARM: dts: sun8i-a83t-tbs-a711: Fix USB OTG mode detection
7f884cb145dc bpf, sockmap: Remove bucket->lock from sock_{hash|map}_free
657559d632c2 bpf/btf: Fix BTF verification of enum members in struct/union
188aae1f3d5f bpf: Initialize storage pointers to NULL to prevent freeing garbage pointer
c68e1117f4e4 bpf, x32: Fix bug with JMP32 JSET BPF_X checking upper bits
74617178d694 i2c: nvidia-gpu: Handle timeout correctly in gpu_i2c_check_status()
6734a326cb13 netfilter: nft_fwd_netdev: allow to redirect to ifb via ingress
5be3b97a1f18 netfilter: nft_fwd_netdev: validate family and chain type
4e8bba9420e2 netfilter: flowtable: reload ip{v6}h in nf_flow_tuple_ip{v6}
0bc1c7f6358c mac80211: set IEEE80211_TX_CTRL_PORT_CTRL_PROTO for nl80211 TX
74fdc220e2f1 ieee80211: fix HE SPR size calculation
eaca61f5f850 afs: Fix unpinned address list during probing
455f5192a10d afs: Fix some tracing details
c743855a0ebe afs: Fix client call Rx-phase signal handling
21af83e17ffa xfrm: policy: Fix doulbe free in xfrm_policy_timer
160c2ffa7016 xfrm: add the missing verify_sec_ctx_len check in xfrm_add_acquire
a5c5cf6f24bb xfrm: fix uctx len check in verify_sec_ctx_len
1b92d81d4cc2 RDMA/mlx5: Block delay drop to unprivileged users
1babd2c979aa RDMA/mlx5: Fix access to wrong pointer while performing flush due to error
9961c56955a4 RDMA/mlx5: Fix the number of hwcounters of a dynamic counter
f8f90690df59 vti[6]: fix packet tx through bpf_redirect() in XinY cases
c467570443bb xfrm: handle NETDEV_UNREGISTER for xfrm device
86c7d38c2baf genirq: Fix reference leaks on irq affinity notifiers
fe6010e47ddc afs: Fix handling of an abort from a service handler
d9e974eea8f1 RDMA/core: Ensure security pkey modify is not lost
768e582a9970 bpf: Fix cgroup ref leak in cgroup_bpf_inherit on out-of-memory
0dcf81d2c12f gpiolib: acpi: Add quirk to ignore EC wakeups on HP x2 10 BYT + AXP288 model
43d2a61ceb09 gpiolib: acpi: Rework honor_wakeup option into an ignore_wake option
323a89bff42b gpiolib: acpi: Correct comment for HP x2 10 honor_wakeup quirk
159aef18f05c mm: fork: fix kernel_stack memcg stats for various stack implementations
cc5da743a456 mm/sparse: fix kernel crash with pfn_section_valid check
238dd5ab0080 drivers/base/memory.c: indicate all memory blocks as removable
da458bbfb6cf mm/swapfile.c: move inode_lock out of claim_swapfile
33c8bc8aa7b2 mac80211: mark station unauthorized before key removal
d6b1f3fc76c4 mac80211: drop data frames without key on encrypted links
4a89bb3fca20 nl80211: fix NL80211_ATTR_CHANNEL_WIDTH attribute type
b34e20c78f1c scsi: sd: Fix optimal I/O size for devices that change reported values
35b34d264cb3 scripts/dtc: Remove redundant YYLOC global declaration
683cf6637730 tools: Let O= makes handle a relative path with -C option
2fe72de89cf7 rtlwifi: rtl8188ee: Fix regression due to commit d1d1a96bdb44
a2d866c50a35 perf probe: Do not depend on dwfl_module_addrsym()
5f2b792d3125 perf probe: Fix to delete multiple probe event
94a4104bf10e x86/ioremap: Fix CONFIG_EFI=n build
174da11b6474 ARM: dts: omap5: Add bus_dma_limit for L3 bus
e41cd3b598ae ARM: dts: dra7: Add bus_dma_limit for L3 bus
7cdaa5cd79ab ceph: fix memory leak in ceph_cleanup_snapid_map()
ed24820d1b0c ceph: check POOL_FLAG_FULL/NEARFULL in addition to OSDMAP_FULL/NEARFULL
44960e1c39d8 RDMA/mad: Do not crash if the rdma device does not have a umad interface
34aa3d5b84d5 RDMA/nl: Do not permit empty devices names during RDMA_NLDEV_CMD_NEWLINK/SET
9924d9fac61b gpiolib: Fix irq_disable() semantics
10d5de234df4 RDMA/core: Fix missing error check on dev_set_name()
b0a2af91cd78 IB/rdmavt: Free kernel completion queue when done
99058b8beef5 Input: avoid BIT() macro usage in the serio.h UAPI header
597d6fb4815c Input: synaptics - enable RMI on HP Envy 13-ad105ng
381c88a6b948 Input: fix stale timestamp on key autorepeat events
cd18a7f6a789 Input: raydium_i2c_ts - fix error codes in raydium_i2c_boot_trigger()
d8f58a0f533a i2c: hix5hd2: add missed clk_disable_unprepare in remove
65047f7538ba iwlwifi: mvm: fix non-ACPI function
72a0cfeb513c iommu/vt-d: Populate debugfs if IOMMUs are detected
cb17ed60ec39 iommu/vt-d: Fix debugfs register reads
e5ea0d970f33 net: hns3: fix "tc qdisc del" failed issue
24e72d55bc0b sxgbe: Fix off by one in samsung driver strncpy size arg
753ea21f2ac3 dpaa_eth: Remove unnecessary boolean expression in dpaa_get_headroom
27030150699b mac80211: Do not send mesh HWMP PREQ if HWMP is disabled
5ecb28b15678 scsi: ipr: Fix softlockup when rescanning devices in petitboot
ee3bc486643d s390/qeth: handle error when backing RX buffer
8b6cccd9bd84 s390/qeth: don't reset default_out_queue
f8de95a236f6 iommu/vt-d: Silence RCU-list debugging warnings
957e6f437d02 drm/exynos: Fix cleanup of IOMMU related objects
70e0a720038e drm/amdgpu: correct ROM_INDEX/DATA offset for VEGA20
2e89e4e7f7e1 drm/amd/display: update soc bb for nv14
8dab286ab527 fsl/fman: detect FMan erratum A050385
406f1ac075fe arm64: dts: ls1043a: FMan erratum A050385
c211a30c1846 dt-bindings: net: FMan erratum A050385
b82e91ae6384 cgroup1: don't call release_agent when it is ""
0cd633314661 drivers/of/of_mdio.c:fix of_mdiobus_register()
dda4fca30906 cpupower: avoid multiple definition with gcc -fno-common
7f9c2d71cfd3 nfs: add minor version to nfs_server_key for fscache
b51274fabedc cgroup-v1: cgroup_pidlist_next should update position index
74f554af848d net/mlx5e: Do not recover from a non-fatal syndrome
f94d69e5f682 net/mlx5e: Fix ICOSQ recovery flow with Striding RQ
bd81b9ba546a net/mlx5e: Fix missing reset of SW metadata in Striding RQ reset
d8338b5f373a net/mlx5e: Enhance ICOSQ WQE info fields
63a0fc3b0047 net/mlx5: DR, Fix postsend actions write length
c3c9927d0a8f hsr: set .netnsok flag
1a0fdef2d52d hsr: add restart routine into hsr_get_node_list()
80aa1e38e16b hsr: use rcu_read_lock() in hsr_get_node_{list/status}()
e4723e0a858e net: ip_gre: Accept IFLA_INFO_DATA-less configuration
85aa84d3c587 net: ip_gre: Separate ERSPAN newlink / changelink callbacks
62e3ffa4ea4e bnxt_en: Reset rings if ring reservation fails during open()
0234e8ebb7f4 bnxt_en: Free context memory after disabling PCI in probe error path.
797d6f91c399 bnxt_en: Return error if bnxt_alloc_ctx_mem() fails.
ae4565168af3 bnxt_en: fix memory leaks in bnxt_dcbnl_ieee_getets()
2ac37a531115 bnxt_en: Fix Priority Bytes and Packets counters in ethtool -S.
53d0bf064c9f vxlan: check return value of gro_cells_init()
a6ce82deba5c tcp: repair: fix TCP_QUEUE_SEQ implementation
27cf5410a9e1 tcp: ensure skb->dev is NULL before leaving TCP stack
c94b94626876 tcp: also NULL skb->dev when copy was needed
49d2333f97f0 slcan: not call free_netdev before rtnl_unlock in slcan_open
4cc2498b7ebb r8169: re-enable MSI on RTL8168c
3428faf70c59 NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
3d9cc478af25 net: stmmac: dwmac-rk: fix error path in rk_gmac_probe
d23faf32e577 net_sched: keep alloc_hash updated after hash allocation
5317abb870fe net_sched: hold rtnl lock in tcindex_partial_destroy_work()
ff28c6195814 net_sched: cls_route: remove the right filter from hashtable
a631b9668460 net/sched: act_ct: Fix leak of ct zone template on replace
312805c93bf6 net: qmi_wwan: add support for ASKEY WWHC050
522d2dc17967 net: phy: mdio-mux-bcm-iproc: check clk_prepare_enable() return value
f806b9e84057 net: phy: mdio-bcm-unimac: Fix clock handling
9fe154ee3fd5 net: phy: dp83867: w/a for fld detect threshold bootstrapping issue
86137342fd4c net/packet: tpacket_rcv: avoid a producer race condition
bb8c787be0e3 net: mvneta: Fix the case where the last poll did not process all rx
a2a3baa29914 net: ena: Add PCI shutdown handler to allow safe kexec
e586427a0abb net: dsa: tag_8021q: replace dsa_8021q_remove_header with __skb_vlan_pop
0ec037c1353c net: dsa: mt7530: Change the LINK bit to reflect the link status
60e975088be8 net: dsa: Fix duplicate frames flooded by learning
7c6fe9b2af79 net: cbs: Fix software cbs to consider packet sending time
712c39d9319a net/bpfilter: fix dprintf usage for /dev/kmsg
85675064133e mlxsw: spectrum_mr: Fix list iteration in error path
5a1a00f6ac32 mlxsw: pci: Only issue reset when system is ready
6e75284e2480 macsec: restrict to ethernet devices
51db2db8fe68 ipv4: fix a RCU-list lock in inet_dump_fib()
b67aa57f4a9d hsr: fix general protection fault in hsr_addr_is_self()
6fe31c7ce0ed geneve: move debug check after netdev unregister
b5c9652ada33 cxgb4: fix Txq restart check during backpressure
e92a0e7fba68 cxgb4: fix throughput drop during Tx backpressure
b0ab8700283c ACPI: PM: s2idle: Rework ACPI events synchronization
127882d10931 mmc: sdhci-tegra: Fix busy detection by enabling MMC_CAP_NEED_RSP_BUSY
71d89344af0b mmc: sdhci-omap: Fix busy detection by enabling MMC_CAP_NEED_RSP_BUSY
bf8b920f474e mmc: core: Respect MMC_CAP_NEED_RSP_BUSY for eMMC sleep command
3b9b71adbec4 mmc: core: Respect MMC_CAP_NEED_RSP_BUSY for erase/trim/discard
d9c4f387e22a mmc: core: Allow host controllers to require R1B for CMD6
(From OE-Core rev: bc1ae928b0aea450d703ab2bc415c20db4cfb407)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
462afcd6e7ea Linux 5.4.28
7b2cdbd67ff0 staging: greybus: loopback_test: fix potential path truncations
8e79f440edb5 staging: greybus: loopback_test: fix potential path truncation
58ffe6b0245e drm/bridge: dw-hdmi: fix AVI frame colorimetry
c965a0299c61 nvmet-tcp: set MSG_MORE only if we actually have more to send
d3eb4daa333f arm64: smp: fix crash_smp_send_stop() behaviour
6080e0a9d107 arm64: smp: fix smp_send_stop() behaviour
c61417fef99a ALSA: hda/realtek: Fix pop noise on ALC225
163489b64361 futex: Unbreak futex hashing
553d46b07dc4 futex: Fix inode life-time issue
66f28e110565 x86/mm: split vmalloc_sync_all()
9dfed456e1eb page-flags: fix a crash at SetPageError(THP_SWAP)
32991c960d0b mm, slub: prevent kmalloc_node crashes and memory leaks
623515739282 mm: slub: be more careful about the double cmpxchg of freelist
8e709bbe41d6 epoll: fix possible lost wakeup on epoll_ctl() path
69f434a05fb4 mm: do not allow MADV_PAGEOUT for CoW pages
c3f54f0a68bf mm/hotplug: fix hot remove failure in SPARSEMEM|!VMEMMAP case
61cfbcce9e09 mm, memcg: throttle allocators based on ancestral memory.high
77c4bc4bf612 mm, memcg: fix corruption on 64-bit divisor in memory.high throttling
ceca26903bd7 memcg: fix NULL pointer dereference in __mem_cgroup_usage_unregister_event
2439259c32c8 stm class: sys-t: Fix the use of time_after()
f7ef7a020f3b drm/lease: fix WARNING in idr_destroy
b4e798cab8e9 drm/amd/amdgpu: Fix GPR read from debugfs (v2)
eaa7fe20231a btrfs: fix log context list corruption after rename whiteout error
039547fbd1e8 xhci: Do not open code __print_symbolic() in xhci trace events
ac9d3279514c arm64: compat: Fix syscall number of compat_clock_getres
70ca8a95df81 rtc: max8907: add missing select REGMAP_IRQ
eba75a365f55 modpost: move the namespace field in Module.symvers last
69a9b971406f intel_th: pci: Add Elkhart Lake CPU support
3bdc0f68a170 intel_th: Fix user-visible error codes
97097054a1f0 intel_th: msu: Fix the unexpected state warning
07c70054ba24 staging/speakup: fix get_word non-space look-ahead
35da67a8a50c staging: greybus: loopback_test: fix poll-mask build breakage
fbe68a636982 staging: rtl8188eu: Add device id for MERCUSYS MW150US v2
5f9579641df2 kbuild: Disable -Wpointer-to-enum-cast
0f5be2f69e89 CIFS: fiemap: do not return EINVAL if get nothing
48a9bc9534f3 mmc: sdhci-cadence: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN for UniPhier
8aafd5a0c63c mmc: sdhci-of-at91: fix cd-gpios for SAMA5D2
0c4e0f0d2e51 mmc: rtsx_pci: Fix support for speed-modes that relies on tuning
dbb328d1a87d iio: light: vcnl4000: update sampling periods for vcnl4040
c3540b094edb iio: light: vcnl4000: update sampling periods for vcnl4200
7ad22950caf5 iio: adc: at91-sama5d2_adc: fix differential channels in triggered mode
4d71a4f76179 iio: adc: stm32-dfsdm: fix sleep in atomic context
a79f53a2f5af iio: magnetometer: ak8974: Fix negative raw values in sysfs
6387b4002357 iio: accel: adxl372: Set iio_chan BE
3c69b794f96e iio: trigger: stm32-timer: disable master mode when stopping
eb5f46b0cc55 iio: st_sensors: remap SMO8840 to LIS2DH12
69399842e4a9 iio: chemical: sps30: fix missing triggered buffer dependency
51d590fadc14 tty: fix compat TIOCGSERIAL checking wrong function ptr
a754de70f6d6 tty: fix compat TIOCGSERIAL leaking uninitialized memory
279cdccb6dc7 ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
07ec940ceda5 ALSA: pcm: oss: Avoid plugin buffer overflow
59e4624e664c ALSA: seq: oss: Fix running status after receiving sysex
f439c2ece795 ALSA: seq: virmidi: Fix running status after receiving sysex
e2f1c2d0b6db ALSA: hda/realtek - Enable the headset of Acer N50-600 with ALC662
f0e819900968 ALSA: hda/realtek - Enable headset mic of Acer X2660G with ALC662
2d994c9cefc4 ALSA: line6: Fix endless MIDI read loop
64ab82cf614f USB: cdc-acm: fix rounding error in TIOCSSERIAL
9ed83da8cd97 USB: cdc-acm: fix close_delay and closing_wait units in TIOCSSERIAL
186b9564cf5e usb: typec: ucsi: displayport: Fix a potential race during registration
ff1d876e9f4f usb: typec: ucsi: displayport: Fix NULL pointer dereference
7b5aab752efc usb: xhci: apply XHCI_SUSPEND_DELAY to AMD XHCI controller 1022:145c
6e1167db8d21 USB: serial: pl2303: add device-id for HP LD381
ade2ca96e7a6 usb: host: xhci-plat: add a shutdown
bace91138933 USB: serial: option: add ME910G1 ECM composition 0x110b
2601053cafb4 usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters
d742e9874048 USB: Disable LPM on WD19's Realtek Hub
712d9c2e92ea Revert "drm/fbdev: Fallback to non tiled mode if all tiles not present"
c71986d18dea binderfs: use refcount for binder control devices too
169bf660646a parse-maintainers: Mark as executable
4db2f87e15c8 block, bfq: fix overwrite of bfq_group pointer in bfq_find_set_group()
5d33ba6f385f xenbus: req->err should be updated before req->state
7a79e217e3a5 xenbus: req->body should be updated before req->state
25c3f96370a1 drm/amd/display: fix dcc swath size calculations on dcn1
46c5b0d8dfbb drm/amd/display: Clear link settings on MST disable connector
e53a333014a3 drm/amdgpu: clean wptr on wb when gpu recovery
b557b2f00682 riscv: Fix range looking for kernel image memblock
1c2106d2d9c1 riscv: Force flat memory model with no-mmu
0bc9de1b1c1b spi: spi_register_controller(): free bus id on error paths
af7dd05d7c8f ASoC: stm32: sai: manage rebind issue
a3f349393eed riscv: avoid the PIC offset of static percpu data in module beyond 2G limits
1804cdf99fdb dm integrity: use dm_bio_record and dm_bio_restore
2e7e6de9ae38 dm bio record: save/restore bi_end_io and bi_integrity
886a8fb13d0c altera-stapl: altera_get_note: prevent write beyond end of 'key'
2c4e36033ace drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer
1002a094e066 drivers/perf: fsl_imx8_ddr: Correct the CLEAR bit definition
0f6ae2cba3b8 drm/exynos: hdmi: don't leak enable HDMI_EN regulator if probe fails
53138bea67b2 drm/exynos: dsi: fix workaround for the legacy clock name
41f88dc1adcc drm/exynos: dsi: propagate error value and silence meaningless warning
0c30297dddc0 spi/zynqmp: remove entry that causes a cs glitch
b8ba4d74f9f3 spi: pxa2xx: Add CS control clock quirk
416e1f433c70 ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
74219d52d4e7 cifs: add missing mount option to /proc/mounts
ddd8b3ed509a cifs: fix potential mismatch of UNC paths
a7393e6f2ecf powerpc: Include .BTF section
9eee3e21a59d spi: qup: call spi_qup_pm_resume_runtime before suspending
1d4f214c8820 ARM: dts: dra7-l4: mark timer13-16 as pwm capable
5f657e5303d3 phy: ti: gmii-sel: do not fail in case of gmii
ee1245396b6e phy: ti: gmii-sel: fix set of copy-paste errors
4d9020c3d802 drm/mediatek: Find the cursor plane instead of hard coding it
61c895d0f726 spi: spi-omap2-mcspi: Support probe deferral for DMA channels
f9f635c04769 locks: reinstate locks_delete_block optimization
384e15fc4226 locks: fix a potential use-after-free problem when wakeup a waiter
(From OE-Core rev: ceadc52e8c7bd03ca45c342bdabfa770ac32bc71)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only VERSION_ID field is sanitized, but os-release (5) has
more fields with the same requirement. Moreover, those fields come
unquoted in most distributions, because quotes are not needed for a
values without whitespaces.
(From OE-Core rev: ea39b2edecc00cc2340328893cdfbefed5d3b981)
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches from upstream to fix a build error in the kill utility.
Fixes:
| In file included from ../util-linux-2.35.1/misc-utils/kill.c:57:
| ../util-linux-2.35.1/include/pidfd-utils.h: In function ‘pidfd_open’:
| ../util-linux-2.35.1/include/pidfd-utils.h:19:17: error: ‘SYS_pidfd_open’ undeclared (first use in this function); did you mean ‘pidfd_open’?
(From OE-Core rev: 9620c4e6e0e184b2b3907c8f8da4b7b54b97354e)
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Initialize libgcrypt on first use otherwise
there comes below warning when check the status
of the ninfod.service.
# systemctl status ninfod.service
* ninfod.service - Respond to IPv6 Node Information Queries
Loaded: loaded (/lib/systemd/system/ninfod.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-04-29 05:18:21 UTC; 36s ago
Docs: man:ninfod(8)
Main PID: 347 (ninfod)
Tasks: 1 (limit: 9382)
Memory: 1.2M
CGroup: /system.slice/ninfod.service
`-347 /sbin/ninfod -d
Apr 29 05:18:21 intel-x86-64 systemd[1]: Started Respond to IPv6 Node Information Queries.
Apr 29 05:18:24 intel-x86-64 ninfod[347]: Libgcrypt warning: missing initialization - please fix the application
Reference: 4f489a8c79
(From OE-Core rev: 8648c6497d1904b988059cbd72d1592caa8708d0)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A nativesdk BBCLASSEXTEND was added to gcc-target without realising this
would pass arch=native through to it for x86-64. This heavily optimises
gcc output for the host its running on meaning it can't be reused via
sstate on other machines.
Add class-target overrides here to get the desired behaviour. All
targets have been covered for completeness.
(From OE-Core rev: 3fff2c9400f2f64cbc8cc450b5ab29505eacbdd1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to compile pseudo-native on centos 7:
| ports/linux/pseudo_wrappers.c: In function ‘prctl’:
| ports/linux/pseudo_wrappers.c:129:14: error: ‘SECCOMP_SET_MODE_FILTER’ undeclared (first use in this function)
| if (cmd == SECCOMP_SET_MODE_FILTER) {
| ^
Add macro guard for the definition to avoid the failure.
(From OE-Core rev: 9fff03afb8e67b360042e80fda8213a67472b9ec)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you fail to setup the tap devices, runqemu will error quickly
however stdout/stderr are not shown to the user, instead a SystemExit
traceback is shown. This could explain some long since unexplained
failures on the autobuilder.
Rework the error handling so SystemExit isn't used and the
standard log failure messages can be shown. The code could
likely ultimatley need some restructuring to work effectively.
(From OE-Core rev: 83b8e66b66aa9848ed9c8761a21cb47c6443d0c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had a mystery failure on the autobuilder where runqemu appeared to
be failing as a logfile directory no longer existed. The key to
reproducing was running a runqemu where the image was deleted (as
devtool does), then running another runqemu test. E.g.:
'oe-selftest -r devtool.DevtoolExtractTests.test_devtool_deploy_target wic.Wic2.test_qemu_efi'
This then tries to write to the logfile from the first test, the
image directory was deleted and we get strange failures.
The fix is to remove the logging handler when qemu is stopped.
(From OE-Core rev: 924b020eacf111b4fd4d731b363084e254a3422d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are different providers of a file and they are swiched when the
recipe isn't machine specific, we can get tracebacks due to the overlapping
files. The issue is that the previous provider isn't uninstalled since
the system can't tell whether some later task needs them.
By tracking which tasks we depend upon, the code can now choose to
uninstall more things since a later task can reinstall if/as needed.
The code here was to protect against code with two different tasks
running in parallel which is still protected agaisnt.
[YOCTO #13702]
(From OE-Core rev: 86f36e3f93cdb2f5882b72e736a770aa6f46100d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sysroot-test depends on virtual/sysroot-test which we build for one machine,
switch machine, switch provider of virtual/sysroot-test and check that the
sysroot is correctly cleaned up. The files in the two providers overlap
so can cause errors if the sysroot code doesn't function correctly.
Yes, sysroot-test should be machine specific really to avoid this, however
the sysroot cleanup should also work.
This adds a test for bug:
[YOCTO #13702]
(From OE-Core rev: 31a8b4935e673aba8a1147c4a2fb510b1a8bc3ce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
run-postinsts is only expected to run once, but during startup, but if
any dependency is pulled into a transaction, even once it has been
marked disabled, then it can be restarted.
This leads to occasional failures during QA if an ssh session starts
whilst the existing transaction is still running:
Finished Run pending postinsts.
run-postinsts.service: Succeeded.
Condition check resulted in Commit a transient machine-id on disk being skipped.
Condition check resulted in Bind mount volatile /srv being skipped.
Condition check resulted in Bind mount volatile /var/spool being skipped.
Condition check resulted in Bind mount volatile /var/lib being skipped.
Condition check resulted in Bind mount volatile /var/cache being skipped.
Condition check resulted in Platform Persistent Storage Archival being skipped.
Condition check resulted in Rebuild Hardware Database being skipped.
Starting Run pending postinsts...
Condition check resulted in Kernel Configuration File System being skipped.
Condition check resulted in FUSE Control File System being skipped.
Condition check resulted in Load Kernel Modules being skipped.
Condition check resulted in File System Check on Root Device being skipped.
Condition check resulted in Huge Pages File System being skipped.
Condition check resulted in Journal Audit Socket being skipped.
dropbear@125-192.168.7.2:22-192.168.7.1:44226.service: Succeeded.
Condition check resulted in Platform Persistent Storage Archival being skipped.
Started SSH Per-Connection Server (192.168.7.1:44226).
dropbear@124-192.168.7.2:22-192.168.7.1:44224.service: Succeeded.
Started SSH Per-Connection Server (192.168.7.1:44224).
Condition check resulted in Commit a transient machine-id on disk being skipped.
Condition check resulted in Bind mount volatile /srv being skipped.
Condition check resulted in Bind mount volatile /var/spool being skipped.
Condition check resulted in Bind mount volatile /var/lib being skipped.
Condition check resulted in Bind mount volatile /var/cache being skipped.
Condition check resulted in Platform Persistent Storage Archival being skipped.
Condition check resulted in Rebuild Hardware Database being skipped.
Failed to start Run pending postinsts.
run-postinsts.service: Failed with result 'start-limit-hit'.
run-postinsts.service: Start request repeated too quickly.
Setting RemainAfterExit ensures that the unit remains active and is not
gratuitously restarted, unless done so explicitly using systemctl
restart.
(From OE-Core rev: 6e78fd580a8c6ed9d886b8431974baf6c988831c)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python's unittest will not propagate exceptions upside
of itself, but rather will just catch and print them.
The working way to make it stop is to send a SIGINT
(e.g. simulate a ctrl-c press), which will make it exit
with a KeyboardInterrupt exception.
This also makes pressing ctrl-c twice from bitbake work
again (previously hanging instances of bitbake and qemu were
left around, and bitbake would no longer start until they
were killed manually).
(From OE-Core rev: 72a19f5f0f4bc4472d13b29e46a5c1673977e37a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When cross-compiling, do not change scripts to use host
versions of perl and gawk.
Also, use INSANE_SKIP to suppress QA complaints if perl
or gawk are not on the target.
(From OE-Core rev: 9a96733e29daf84cca9212538f3fc5bd7bb144f4)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shebang lines longer than 128 characters can give an error
depending on the operating system.
This implements a test that signals an error when locating a
faulty shebang.
YOCTO: #11053
(From OE-Core rev: 9ed54437b00aed1d41993f7658820d8adfb09282)
Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
some architectures e.g. mips complain in linking apps which have shared
libs that are linking with libiberty.a fixes errors like below
libiberty/../../libiberty/hashtab.c:285:(.text+0xf8): relocation R_MIPS_26 against `htab_create_typed_alloc' cannot be used when making a shared object; recompile with -fPIC
(From OE-Core rev: 4e64f0bc62fd81f91d75a1f46230fff7c71650e2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE uses libiberty from binutils, since its properly compiled as pic
archive and applications and other libraries needing libiberty can
properly link with it.
With this option applied, explicit delete of libiberty headers and
libraries is not required in install step, since they wont get installed
in first place.
(From OE-Core rev: b6f1def25cbb477549fad48e9586cef3ada2f9e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go compiler is including go/src/cmd modules in -dev package which is in
conflict with go-runtime-dev which provides exact same copy of this
module along with other runtime modules, as a result when both go-dev and
go-runtime-dev are included in image then it results in rootfs failures,
here lets make go depend on go-runtime and dont install the cmd module
here explicitly.
(From OE-Core rev: 1ace1655f8ae08c07c8875be53b641e7c2564ded)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After below commit introduced, the LICENSE
field changed from BSD-4-Clause to bzip-1.0.6.
669600ef9b bzip2/pbzip2: Correct license information
But actually it should be bzip2-1.0.6,
update it to fix the below license warning:
WARNING: pbzip2-native-1.1.13-r0 do_populate_lic: pbzip2-native: No generic license file exists for: bzip-1.0.6 in any provider
(From OE-Core rev: 1b0312ec6f546fce0610d08ba754f500f3df4147)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license of pbzip2 looks slightly BSD like but is in fact the bzip2
license. The SPDX identifier for this is "bzip-1.0.6" since there is
another version of the bzip license out there.
To clear up all the confusion, use the SPDX license name and update
both recipes to refer to it. The copyright information is slightly
different between the codebases but the license looks the same.
(From OE-Core rev: 05fdae7687d22e9f3476c807a15906a1f80e4daa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On ubuntu 18.04.1, it does not provides `mdir' by default
which caused `wic ls **.wic' failed on fat partition
...
$ wic ls build/tmp-glibc/deploy/images/xilinx-zynqmp/wrlinux-image-std-xilinx-zynqmp.wic
ERROR: Can't find executable 'mdir'
...
Add nativesdk-mtools to buildtools-tarball and use buildtools
to provide mdir
(From OE-Core rev: 605c81ff90760cdf4a1247df777d5ce8e12d6f6f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is no soundcards on the target (e.g. qemu), the pkp_postinst
function will report an error:
alsactl: load_state:1735: No soundcards found...
pkg_run_script: package "alsa-state" postinst script returned status 19.
opkg_configure: alsa-state.postinst returned 19.
Pass '-g' option to alsactl to ignore this error.
(From OE-Core rev: b2a3cf79cf564a76727bd7dbb21ba9b3d20cf5d4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pathlib module is for Object-oriented filesystem paths
It also provides a lot of handy utilities for checking on
paths. This seems to justify adding it to the core package
along side os, sys, and the other *path libraries.
[YOCTO #13670]
(From OE-Core rev: 81bec2f08229723b550a0cc33d1c77f82432814d)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release:
ver 0.31:
Fix issue with verification of the second certificate in chain.
Fix issue with handling trusted CA matching in verification.
(From OE-Core rev: c1892a1074560e27671975f4b9fb92468d9874da)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Documentation says that if you exit 0 in a pkg_postinst it will marked as
installed.
If you exit 0, before running postinst-intercepts defer_to_first_boot, the
pkg_postinst_ontarget script will not be present on target.
The "exit 0" in tzdata makes it difficult to have a bbappend with a
pkg_postinst_target step when you have `INSTALL_TIMEZONE_FILE = 0`
(From OE-Core rev: ebf675abd0a077bc9aa71acf62b0477a84e1f536)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coroutines in ruby 2.7+ needs ucontext APIs which are not available in
musl but an external library is available to provide them so use it
Use cached values for ac_cv_func_isnan and ac_cv_func_isinf this is not
detected correctly by configure on musl
on ARM drop using old arm32 implementation of coroutine which is slow and
inefficient
(From OE-Core rev: a2b1af47316a9f5c522db0c9feff1fbe0d39e022)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Updated copyright years [1]
Latest master 0.10.x+ has added support for mips/mips64, which should
help compile ruby on musl for these architectures
Switch SRC_URI to github upstream URI
Check for common arches before checking others in map_kernel_arch
Drop already upstreamed patches
[1] d31eaabbaf
(From OE-Core rev: 5dbb7d5bb9509dd455673a326c9191dec6f3092c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds like native-openjdk, really wants a to link
some tools against the static version. Since when
using the extended tarball, its the only place to
get it, add the library.
(From OE-Core rev: dfeca4d1e2442192aa40c420648cae2914c30be5)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_kernel_configme was recently removed from SRCTREECOVEREDTASKS so this
task still runs when externalsrc is used. This task normally runs after
do_patch but when externalsrc is used, do_patch is removed and this ordering
restriction does nothing. This allows bitbake to execute do_kernel_configme
too early, causing races with do_unpack.
This is fixed by adding in a dependency on do_unpack when externalsrc is
used.
(From OE-Core rev: 75b47388fb18aaf58db311e570c009350d64084f)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The common u-boot.inc can be used by multiple recipes in the same build for
different cores and/or multiple stages of the bootloader. Naming initial-env
with ${PN} prefix avoids clashes in deploy and rootfs between those recipes.
This fixes 69b3b093079c2ca2744d6c02747c5d1b5d3e7ecf that unconditionally
builds, installs and deploys u-boot-initial-env in the common u-boot.inc.
(From OE-Core rev: 78c55eac69dc4b6ae28d7e7911adb59430376b23)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is a datastore within a datastore (e.g. BB_ORIGENV) then
get-hash() doesn;t correclty handle the contents using the memory
address instead of the contents.
This is a patch from dominik.jaeger@nokia.com which addresses
this problem. Its been low priority since we don't include
BB_ORIGENV anywhere this would cause an issue as standard.
[YOCTO #12473]
(Bitbake rev: 1a8bcfc1eb89ccff834ba68fb514330b510976a2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some companies are using large numbers of patch files in SRC_URI.
Rightly or wrongly that exposes a performance problem where the code
does not handle the large string manipulations in a way which works
efficienty in python.
This is a modified version of a patch from z00539568
<zhangyifan46@huawei.com153340508@qq.com which addresses the performance
problem. I modified it to use a more advanced regex, retain the "*" check
and cache the regex.
[YOCTO #13824]
(Bitbake rev: c07f374998903359ed55f263c86466d05aa39b68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a website is behind a CDN like Cloudflare there may be a "Browser
Integrity Check" or other test applied to requests before they are
allowed through to the server. Downloading via wget passes these tests
as headers are set appropriately, however the Python urllib module may
fail these tests unless additional headers are set. This causes
Wget.checkstatus() to fail where Wget.download() would actually succeed.
For Cloudflare in particular a valid User-Agent is needed, it's easy to
add this to the headers in Wget.checkstatus(). The user agent string is
copied from Wget._fetch_index().
(Bitbake rev: 4679d3cdb9cdf23f3962aa61c599ad7474591f9f)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [tinfoil: Simplify remote datastore connections][1] and
[tinfoil: Add back ability to parse on top of a datastore][2] applied,
bitbake run command parseRecipeFile with param config_data.dsindex rather
than config_data.
While calling tinfoil.parse_recipe_file() with one config_data (with the same
config_data.dsindex) to parse multiple recipes, it will mess up insane check.
It broke update_layer.py on layerindex, here are the simplified steps:
[snip]
t= bb.tinfoil.Tinfoil()
t.prepare()
data = bb.data.createCopy(t.config_data)
fn = "path_to/oe-core/meta/recipes-graphics/images/core-image-clutter.bb"
t.parse_recipe_file(fn, appends=False, config_data=data)
fn = "path_to/oe-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb"
t.parse_recipe_file(fn, appends=False, config_data=data)
| File "path_to/oe-core/meta/classes/insane.bbclass", line 1303,
in __anon_1304__path_to_oe_core_meta_classes_insane_bbclass
| bb.fatal("Fatal QA errors found, failing task.")
[snip]
In above failure, RDEPENDS is assigned `${PACKAGE_INSTALL} ${LINGUAS_INSTALL}
${IMAGE_INSTALL_DEBUGFS}' in core-image-clutter.bb, but it broke insane check
on packagegroup-core-x11-base.bb
>From commit [remotedata: enable transporting datastore from the client to
the server][3], it create a new DataSmart to save receive_datastore's remote_data
Similarly, make a copy of config_data(with different config_data.dsindex) could
fix the issue.
[1] http://git.openembedded.org/bitbake/commit/?id=85e03a64dd0a4ebe71009ec4bdf4192c04a9786e
[2] http://git.openembedded.org/bitbake/commit/?id=4618da2094189e4d814b7d65672cb65c86c0626a
[3] http://git.openembedded.org/bitbake/commit/?id=784d2f1a024efe632fc9049ce5b78692d419d938
(Bitbake rev: a3074807974536e370289c25fddcb9ad93cbc137)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This outdated section contradicts the real behavior expressed in the next
paragraph
(From yocto-docs rev: 77e8a9e03b3bb6e6b6b2adf7796740fb362f189b)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the npm:// URL and the generated npm recipe, and remove
references to NPM_SHRINKWRAP, NPM_LOCKDOWN and lockdown functionality in
general.
(From yocto-docs rev: bc09233543abbf28adfcc1e214f85ef4c7c56639)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the glossary entry for PACKAGECONFIG in two ways:
1) Explain the recent sixth argument, which identifies conflicting
features for a given feature.
2) Use a different example, as the librsvg "croco" feature no
longer works that way.
(From yocto-docs rev: af9bf61a54c059e72c807ca8061a57d6fe74c5fa)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For stylistic reasons, clarify the use of both IMAGE_FEATURES versus
EXTRA_IMAGE_FEATURES when configuring a read-only rootfs.
(From yocto-docs rev: 4111e4e70a87400671455ddd873d802d40d6b587)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the missing feature 'negative offsets' which was present
in the orginal U-Boot based tools.
git change log:
* f4b9cde Allow negative offsets
* 45bf92a Detect sector size if not found in config
* 9f59db6 uboot_env: remove unused variables
* 65d243e README: libubootenv is now in oe-core
(From OE-Core rev: 72006a6034385d345ed273bcef3f465df8bb332a)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
along with systemd upgrade, error message related change
network interface have changed, update it.
(From OE-Core rev: a8b2cd7470bcc25527577b95a26a0a528949232d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit[27aec88 dhclient: not always skip
the nfsroot interface] which used to address the IP
address renew issue when boot a system in a nfsroot fs
and altogether boot with ip=dhcp.
But reported by some tester, the above commit introduces
below issue when run ltp test on a nfsroot system which
boot with ip=dhcp:
nfs: server 192.168.100.1 not responding, still trying
nfs: server 192.168.100.1 not responding, still trying
[snip]
So revert the above commit now to avoid blocking test.
(From OE-Core rev: 5c172e0e8f8d02fe1dacec9d3574671baf9ad075)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 36993eea89d1c011397b7692b9b8d61b499d0171.
After discussion on the mailing list it was felt these changes
were not ready yet.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit efdcf94801f6abe8e4099e324d9a3deccd8d4384.
After discussion on the mailing list it was felt these
changes were not ready yet.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The apmd recipe is no longer appropriate to demonstrate the use of
SRC_URI checksum names as it has only a single SRC_URI URL, so pick a
more illuminating recipe.
(From yocto-docs rev: 7f391a0656442e7ee2f3dd48b848befb7f461aec)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Section 3.3.5, "Fetching Code", uses the cdrtools recipe as an example
for showing the use of PV, but that's a bad example since the current
cdrtools recipe file contains:
SRC_URI = " \
${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${REALPV}.tar.bz2 \
...
PV = "3.01a31+really3.01"
REALPV = "3.01"
which is not exactly the point the dev manual is trying to make, so
replace with simpler strace recipe.
(From yocto-docs rev: d865b0288a4162a8d4df9a2abde43875e3dc2ced)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option was removed recently as we didn't realise the layerindex
relies upon it. Add back the API which it turns out can be supported
as long as we assume the datastore passed in is a remote datastore
which it usually would be unless created locally.
(Bitbake rev: 4618da2094189e4d814b7d65672cb65c86c0626a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable is in the signature whitelist, we'd currently expand
it, then later ignore the data. This is problemtic for code which
has effects when expanded, recently source date epoch in OE-Core
for example.
We don't actually need to do this, if we pass the whitelist into
the earlier function it can avoid the expansion. This also also
give a small performance boost since we avoid running code in some
cases.
[YOCTO #13581]
(Bitbake rev: f483ee4a869fb1dafbe4bdf2da228cdaa40b38bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At least with my current setup and acc. the manual, the images are named
like image-dbg.rootfs.tar.bz2.
The filter has two bugs:
- expects something like -dbg.tar
- tar without compression suffix is not allowed
(From OE-Core rev: e5fb903db308c508fc44bada89fd0210810301a9)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With --force-overwrite (implied by --force-all), dpkg will not abort
when a package overwrites files from different packages. As this can
also lead to "The following package disappeared from your system as
all files have been overwritten by other packages: <package>" and
subsequently broken dependencies, this makes the simple case of
conflicting files hard to debug.
Instead of finding all possibly required force options, only disable
overwrite for now.
(From OE-Core rev: 4292387ef6c4e80428bad6a07c844a288b27d9a1)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, this unit is packaged into udev-hwdb which then adds it as rdep
instead of rrecommends to systemd itself, this meant that even if we
added udev-hwdb to BAD_RECOMMENDATIONS, it would not be respected since
its a rdep, therefore move the service unit file into udev package
instead, this decouples the hard runtime dependency and restores the bad
recommendations expectations
(From OE-Core rev: bfaaefe8346e9f0eab153981fe6a3cc63590afb5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a file does not exist, either because it has been removed outside
bitbake, or because only some of the files have been moved to a
different location, delete it from the pseudo-db is the user decides to
fix the database.
(From OE-Core rev: 79f7212ae71a4eb9e7abfe2c333b035ccc10e5c5)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option adds the content of a rootfs on a specific location on the
rootfs.
It is very useful for making a partition that contains the rootfs for a
host and a target Eg:
/ -> Roofs for the host
/export/ -> Rootfs for the target (which will netboot)
Although today we support making a partition for "/export" this might
not be compatible with some upgrade systems, or we might be limited by
the number of partitions.
With this patch we can use something like:
part / --source rootfs --embed-rootfs target-image /export --embed-rootfs target-image2 /export2
on the .wks file.
(From OE-Core rev: efdcf94801f6abe8e4099e324d9a3deccd8d4384)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parameters include_path or exclude_path are passed to the rootfs
plugin, it will copy the partition content into a folder and make all
the modifications there.
This is done using copyhardlinktree(), which does not take into
consideration the content of the pseudo folder, which contains the
information about the right permissions and ownership of the folders.
This results in a rootfs owned by the user that is running the wic
command (usually UID 1000), which makes some rootfs unbootable.
To fix this we copy the content of the pseudo folders to the new folder
and modify the pseudo database using the "pseudo -B" command.
(From OE-Core rev: 36993eea89d1c011397b7692b9b8d61b499d0171)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pseudo changes the syscall access patterns which makes it incompatible with
seccomp. Therefore intercept the seccomp syscall and alter it, pretending that
seccomp was setup when in fact we do nothing. If we error as unsupported,
utilities like file will exit with errors so we can't just disable it.
This works around issues on platforms where seccomp is enabled in file
(e.g. archlinux).
(From OE-Core rev: bc895522eb940539a0e3cb6192c4a64f13ca8d6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump tar, Python versions and add new gcc requirement.
Update reference from 'required-git-tar-and-python-versions'
to 'required-git-tar-python-and-gcc-versions'
(From yocto-docs rev: ca6334c1653d5e2abfe77865391509a8cd516d88)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump tar, Python versions and add new gcc requirement.
Update reference from 'required-git-tar-and-python-versions'
to 'required-git-tar-python-and-gcc-versions'
(From yocto-docs rev: 18b11662c7c9ab7828d2709eed4090116a751e14)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add instructions to use 'install-buildtools' and
'buildtools-extended-tarball'.
Add gcc 5.0 requirement and call out how to
use above to prepare host development system.
(From yocto-docs rev: c6dbd9bf6860ffea1bc025907343373439d91737)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
jessie-backports is no longer supported, so python3-git and
pylint3 are not installable via apt-get (or at least not
without disabling security checks by using archive.debian.org)
Add note to use pip3 to install instead.
(From yocto-docs rev: 19a02c5c6ef9a317c2339c2ec71200e51335e32f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CentOS-7 has different requirements than the much
newer CentOS-8. Add a section for CentOS-8 and
make the old section CentOS-7 specific.
NOTE: at the time this was written, the 'fop'
package is not yet available in epel-8. As
a Fedora packager, that will change.
(From yocto-docs rev: caf08811a23a29965ec915459019796a0c882d4d)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update Centos-7 to require python3, not python.
CentOS-8 has different installation requirements than
either CentOS-7 or Fedora (although it is closer to
Fedora).
Allow for differentiation between CentOS versions.
(From yocto-docs rev: 615fc45108d10e842679b3d8a38b53074d3eed4b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the author indo and use variables for author and email to make it
easier to change in future.
(From yocto-docs rev: 4fdf2a060705fa00b11b5a9d270f4ffa506c9927)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KBUILD_DEFCONFIG is meant to refer to an *in-tree* defconfig file, not
an external one.
(From yocto-docs rev: 34202eee3fc2bb4e0b92374822bff87fd3af1ebc)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Migration to YP 2.5 contains incorrect description of routine for
delaying to first boot.
(From yocto-docs rev: 08f71ec137822c0c19b56956d7045dfb73a544d7)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the example used in explaining the PROVIDES variable to one
that actually exists, and point out that "+=" is unnecessary, a simple
assignment is sufficient.
(From yocto-docs rev: 80cd888ee81757bc5281f174b26974391ee45522)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor tweaks to chapter 5 of reference manual, including:
- grammar
- adding slashes to directory names for consistency
- collapse trivial paras into one
(From yocto-docs rev: 96b75e723bff042183f70a858d09df4aad094578)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given the defined DocBook entity:
<!ENTITY YOCTO_DOCS_URL "&YOCTO_HOME_URL;/docs">
replace numerous instances of the more verbose
"&YOCTO_HOME_URL;/documentation", which is a redirect, anyway.
rday
(From yocto-docs rev: 53fa17321624028b12d880bc4236fbef46675eb4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it clear to the reader that they can use the much shorter form of
${PN} for the base packagegroup name, rather than typing it out in
full.
(From yocto-docs rev: 19915978c30bbf37b65d9887c78a23394779f079)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add explanation of missing checks performed by yocto-check-layer, and
fix one typo.
(From yocto-docs rev: 231bb92fa4a9c044894f845b8d6d0b9498abfc49)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given that the section in question is describing how to configure
dependencies based on the machine type, it seems inappropriate to use
an example that depends on the choice of C library, so grab a snippet
from linux-yocto.inc to really drive the point home.
(From yocto-docs rev: 66bfec015f61a690f96cf8e28b80869c77327e6d)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link used in the documentation points to a file
that no longer exists on the crops repository.
Use the poky-container repo instead since it is more
accurate and updated
(From yocto-docs rev: 5d16ccecf0b198af0f78a4cce28532ab9dca739f)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link used in the documentation points to a file
that no longer exists on the crops repository.
Use the poky-container repo instead since it is more
accurate and updated.
(From yocto-docs rev: c5e21f5d18f4fc069ccc05cd82819eda291fcf9d)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link used in the documentation points to a file
that no longer exists on the crops repository.
Use the poky-container repo instead since it is more
accurate and updated.
(From yocto-docs rev: 98d2a2161a30d9080bc7dea8ae7964893563b1e2)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"QemuTarget" was obsolete and replaced by "qemu".
Replacing the refer of "QemuTarget" with "qemu".
(From yocto-docs rev: f89d18adb62bc864e7890a613ff860bd3e4279ed)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"QemuTarget" was obsolete and replaced by "qemu".
Replacing the refer of "QemuTarget" with "qemu".
(From yocto-docs rev: 87691219dfe312c0db0af1fa30cc3505298a27af)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"SimpleRemoteTarget" was obsolete and replaced by "simpleremote".
Replacing the refer of "SimpleRemoteTarget" by "simpleremote".
(From yocto-docs rev: 41823811229754805c682ecec6903399bfe606fe)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"SimpleRemoteTarget" was obsolete and replaced by "simpleremote".
Replacing the refer of "SimpleRemoteTarget" by "simpleremote".
(From yocto-docs rev: 1779a6d699ae7a6e51f8b92516eea948c1767400)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the architectural changes between Windows Subsystem for Linux v2,
and WSL v1 it should now be possible to run bitbake on the several distros
offered through the Microsoft Store.
WSLv2 is available on Windows 10 build number > 18917
The current build number may be checked by opening a cmd prompt on Windows
and running:
C:\Users\myuser>ver
Microsoft Windows [Version 10.0.19041.113]
If a distro has already been installed via the Microsoft Store, then we can
check which WSL version its using by opening a Windows Powershell (notice this
is a powershell and not a cmd prompt):
C:\WINDOWS\system32> wsl -l -v
NAME STATE VERSION
* Ubuntu Running 2
Debian Stopped 1
In this case it shows two distros installed, Ubuntu running WSLv2 and
Debian running WSLv1
To change the version of WSL being used by a certain distro run:
C:\WINDOWS\system32> wsl --set-version <Distro> 2
e.g
C:\WINDOWS\system32> wsl --set-version Debian 2
For more information on installing WSLv2 please look at:
https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
There are some caveats related to the way storage is handled by WSLv2 though,
and at this point these have to be managed by the user manually, the storage
space used by WSL is not reflected immediately and since bitbake heavily uses
storage, after several builds this can prove to be a bit of an issue.
WSLv2 uses a VHDX file for storage, this issue can be easily avoided by
optimizing this file every now and then, this can be done via the following:
1.- Find the location of your VHDX file:
- Get the distro app package directory.
- Open Windows Powershell as Administrator and run:
Get-AppxPackage -Name "*<DISTRO>*" | Select PackageFamilyName
e.g.:
PS C:\WINDOWS\system32> Get-AppxPackage -Name "*Ubuntu*" | Select PackageFamilyName
PackageFamilyName
-----------------
CanonicalGroupLimited.UbuntuonWindows_79abcdefgh
Replace the PackageFamilyName (and your user) on the following path:
C:\Users\<user>\AppData\Local\Packages\<PackageFamilyName>\LocalState\
e.g.
ls C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\
Mode LastWriteTime Length Name
-a---- 3/14/2020 9:52 PM 57418973184 ext4.vhdx
The VHDX file path is:
C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\ext4.vhdx
2.- Optimize your VHDX file (Also on Powershell):
- Make sure WSL is shutdown
wsl --shutdown
- Optimize it
optimize-vhd -Path C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\ext4.vhdx -Mode full
A progress bar should be shown while optimizing the VHDX file.
As an example, after building core-image-sato, removing the TMPDIR did not reflect
any changes on Windows Explorer for storage space being used, after optimizing the
VHDX file, 14 extra GB were shown as free.
So, as long as the the user optimizes its storage, the builds should run smoothly.
This patch warns the user that is running bitbake under WSLv2, that they should
optimize the VHDX file eventually to avoid storage issues.
The same check previoulsy used for WSLv1 works for WSLv2, checking for the kernel
version:
WSLv1:
Linux version 4.4.0-19041-Microsoft (Microsoft@Microsoft.com)
WSLv2:
Linux version 4.19.84-microsoft-standard (oe-user@oe-host)
Builds have been tested under Ubuntu and Debian distros offered and installed through
the Microsoft Store, and other distros should be able to run builds just as fine.
Performance wise, using the same hardware, and same configuration a comparison between
builds using native Linux vs WSLv2 for the following targets has been performed:
- core-image-minimal
- core-image-sato
- core-image-sato-sdk
- meta-toolchain
No real evidence of any performance changes could be found, with WSLv2 builds running even
faster in some cases.
Running a recently built image can be done just as smoothly, if using "nographic" as
argument for runqemu, or if its a graphical image, installing an X server and running
runqemu runs just as fine.
Happy bitbaking.
(From OE-Core rev: c42cec0c1c57c4e67dc7cdb07c5e4aba14a847d3)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid confusing messages caused by EIO on reading
/proc/sys/net/ipv6/conf/*/stable_secret if those are not set yet.
Make it behave the same as procps(>=3.3.13).
Fixes:
$ sysctl -a | grep ipv6.conf | grep stable_secret
sysctl: error reading key 'net.ipv6.conf.all.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.default.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.eth0.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.lo.stable_secret': Input/output error
(From OE-Core rev: ff074f495dd4bb637618f790dd30e51e542cd30a)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Musl version is just a wrapper to strtod and not an exposed API
(From OE-Core rev: 660fdaa95858485b1caa779f1137a933c1f5d5f6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent versions of ICU (64+) provides a tool for configuring ICU
locale data file with finer granularity [1]
Default generated size for libicudata.so.66.1 is ~27M, which is quite
large for embedded systems and all of them may not even need all locale
data.
This patch calls the icudata buildtool during configure on the icudata
and utilizes a filter called 'filter.json` ( empty by default) to
create the data, default behavior should remain same but someone can
add a filter.json in own layer to configure this data, e.g.
{
"localeFilter": {
"filterType": "language",
"whitelist": [
"en",
"de",
"it"
]
}
}
would only generate the locale data for english/german/italian
This would reduce the size of libicudata.so.66.1 to 12M
Ensure that icudata is generated using host-tools so it can deal with
endianness correctly, when host and target systems have different
endianness
install the icudtata file back into in/ folder so that main build
can now pickup this data file instead of regenerating it and wiping
out the filter changes that are expected to take effect
Use native compiler tools
Update the big-endian support patch to apply to latest Makefile.in
from icudata source and mark it as backport
defer applying 0001-Fix-big-endian-build.patch after moving new data/ in
[1] https://github.com/unicode-org/icu/blob/master/docs/userguide/icu_data/buildtool.md
(From OE-Core rev: 5e5be67744d7ddf5a9ac433ecba02f697a84a325)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Suggested-by: Wouter Meek <w.meek@metrological.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deleting sources is a rough way of dealing with disabling components,
using configure option is elegant way and we also keep the sources
unchanged, this should not cause any funcitonal changes otherwise
(From OE-Core rev: 1921711c9e7a915dbf04c3909bee39450c907845)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our least common denominator supported distro is debian-8
which has python 3.4. The whole point of the install-buildtools
script is to make it easier on the user to install buildtools
tarball. So it needs to run on Python 3.4.
The way we checked if the install was successful in the prior
version of the script was not workable in python 3.4. Since
the environment-setup-... script is currently just exporting
environment variables, use os.environ to do the equivalent from
values gleaned via regex from the environment-setup-... file.
Corrected a couple minor whitespace errors
NOTE: License changed to GPL-2.0-only due to inclusion of code
copied directly from bitbake/lib/bb/utils.py. This avoids the
need to depend on bitbake, which is now Python 3.5+ only.
(From OE-Core rev: 869020dac889e9ed79a294f308a87cfd946a68bd)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be frustrating if this sanity check triggers, but you
don't know why; you haven't explicitly set any SDK vars, or
similar.
At least echo out the offending value, so the end user has
a bit more information to go on.
Before:
SDK_VENDOR should be of the form '-foosdk' with a single dash
After:
SDK_VENDOR should be of the form '-foosdk' with a single dash; found '-overc-sdk'
Cc: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: e238fa177bd72bc5d165fbe4f640132267a1d3fd)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative ld.so patch is set up so the linker will search
the nativesdk sysroot before searching the host filesystem.
However the patch concatenates <sysroot>/etc and /etc/ld.so.conf
leading to a path that does not exist:
3061991 openat(AT_FDCWD, "/buildtools/sysroots/x86_64-pokysdk-linux/etc/etc/ld.so.conf",
O_RDONLY) = -1 ENOENT (No such file or directory)
In native-nspr, the build uses -lpthread, which triggers a search for librt, but because
of the above it drags in the system librt leading to errors as follows:
/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/
9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: /lib64/librt.so.1:
undefined reference to `__clock_getcpuclockid@GLIBC_PRIVATE'
update concatenation to correctly construct the path to the nativesdk ld.so.conf
[YOCTO #13853]
(From OE-Core rev: d085da8300abb72e14957ecedf40189b25088d4b)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There appears to be no need for the use of REALPV in the recipe for
cdrtools-native as the downloaded tarball has the official version in
it.
(From OE-Core rev: d99309924fd33342748bd572816b2682bc7e32ab)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fixes introduced in 2.63.6 for memory leaks and memory corruption in
GMainContext
Upstream merge: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1353
Fixes SIGSEGV in GStreamer:
Thread 2 "multihandlesink" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6bb9700 (LWP 18045)]
0x00007ffff7d65992 in g_source_unref_internal (source=0x7ffff00047d0, context=0x55555561c800, have_lock=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:2146
2146 ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7d65992 in g_source_unref_internal (source=0x7ffff00047d0, context=0x55555561c800, have_lock=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:2146
#1 0x00007ffff7d65bb6 in g_source_iter_next (iter=iter@entry=0x7ffff6bb8db0, source=source@entry=0x7ffff6bb8da8) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:980
#2 0x00007ffff7d67ef3 in g_main_context_prepare (context=context@entry=0x55555561c800, priority=priority@entry=0x7ffff6bb8e30) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:944
#3 0x00007ffff7d6896b in g_main_context_iterate (context=context@entry=0x55555561c800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:3900
#4 0x00007ffff7d68b4c in g_main_context_iteration (context=0x55555561c800, may_block=may_block@entry=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:3981
#5 0x00007ffff6be4482 in gst_multi_socket_sink_thread (mhsink=0x555555679ab0 [GstMultiSocketSink]) at ../../../gst-plugins-base-1.14.4/gst/tcp/gstmultisocketsink.c:1164
#6 0x00007ffff7d8fb35 in g_thread_proxy (data=0x55555565c770) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gthread.c:784
#7 0x00007ffff7841ebd in start_thread (arg=<optimized out>) at pthread_create.c:486
#8 0x00007ffff7aa12bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
#8 0x00007ffff7aa12bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(From OE-Core rev: 62eb45e6455df99b0c8b61bfb90858bb656bd724)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During a busybox upgrade on a ipk based system, it is possible
that busybox is the only shell in the system. During the uninstall
the alternative for /bin/sh is removed and everything after that
goes down hill.
* Add a check to verify if busybox is the shell, and save it to
the busyboxrm directory created in tmp. Then add an alternative
for /bin/sh that points to that busybox at the lowest priority.
* Add PATH to the busyboxrm directory using shell(as during an upgrade
busybox and its links are missing).
* When install over remove extra busybox if present.
deb and rpm are uneffected by the bug because they both drag in bash,
however neither upgrade seemed to have issue with the changes.
[YOCTO 13850]
(From OE-Core rev: a9d2af8f5b3da8239cf00a52883ca596a19ea23a)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, CMake has two ways of finding Python executables:
FindPythonInterp and FindPython/FindPython3. FindPythonInterp is
deprecated and may be removed at some point. Currently, python3native
sets PYTHON_EXECUTABLE, which FindPythonInterp uses. This is a problem
for a few reasons:
- Setting PYTHON_EXECUTABLE as an environment variable doesn't work, as
CMake needs it to be set as an explicit CMake option via -D.
- Projects using the newer FindPython/FindPython3 don't pickup the right
Python, as the newer routines use Python_EXECUTABLE and
Python3_EXECUTABLE.
Fix this by setting PYTHON_EXECUTABLE, Python_EXECUTABLE, and
Python3_EXECUTABLE using -D options to EXTRA_OECMAKE.
The CMake routines are documented below:
https://cmake.org/cmake/help/latest/module/FindPythonInterp.htmlhttps://cmake.org/cmake/help/latest/module/FindPython.htmlhttps://cmake.org/cmake/help/latest/module/FindPython3.html
(From OE-Core rev: a22200a646eaf42cd4902a2fe3358d29717ac129)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with Ubuntu 20.04 which is using python 3.8 I'm seeing a lot of errors like:
ERROR: libxml2-2.9.10-r0 do_package: Can NOT get PRAUTO, exception No module named '_sysconfigdata'
not sure what caused this from python 3.8, but this seems to work
* PRserv is enabled with:
PRSERV_HOST = "localhost:0"
(From OE-Core rev: 4b26eaf7152fb712aba47a0c746333578f58ee8d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix logic for CVE DB update so that when the CPE version is '-',
it keeps the version as '-' in the DB file too and leave other
operation as blank.
(From OE-Core rev: 0ec35b00d65c70485eb1efe602d9fca53e926811)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After polling various develoeprs, its clear that many layers are struggling
with gcc 4.8 and its better for the project to adopt 5.0 as a minimum
version at this point in time. We should have technology like
buildtools-extended-tarball available to ensure things still work on Centos 7
and Debian 8.
(From OE-Core rev: abc741af16311cb473b7e3185ae34265b243d804)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add iproute2 RDEPENDS for dhcp-client as
/sbin/dhclient-systemd-wrapper which called
by dhclient.service depends on ip command which
provided by iproute2 package when systemd enabled
in DISTRO_FEATURES.
(From OE-Core rev: 0c91fcba446418ad1f71d3df9aa3b186bbd353c7)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't skip the nfsroot interface when use dhcp
to get the address for nfsroot interface as the
nfsroot interface may need dhclient to renew
the lease.
(From OE-Core rev: 27aec88c2ff4588acacadbe1cd61d7ce233fc817)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One significant change from previous OE-Core releases was the move from
u-boot-fw-utils to libubootenv which offers a generic and not machine
specific alternative. However, it is not fully functional as currently
we don't provide the default environment nor the required configuration
file to be used by it.
This change address this and include on the default u-boot.inc the
needed code to generate, install and deploy the default environment.
(From OE-Core rev: 69b3b093079c2ca2744d6c02747c5d1b5d3e7ecf)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix error like:
Makefile.perf:597: recipe for target
'intel_x86_64-wrs-linux/perf/1.0-r9/perf-1.0/perf-in.o] Error 2
Makefile.perf:220: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:69: recipe for target 'all' failed
make: *** [all] Error 2
during rebuilding, when kernel version changed, some
source files also maybe changed. It could happened
that the source under ${S} messed up with some already
dropped files and also new files. Fix by clean the ${S}
before copy source files.
(From OE-Core rev: 57b4745cca8d486c1f20b8f01f4a25cb59c4b968)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes build errors seen in no-x11/no-wayland configuration ( eglfs
) and when QT5 support is enabled
(From OE-Core rev: 03e498cd7e35902202579d404f4aad5c92664f18)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following manpage conflicts:
* check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man1/tftp.1
But that file is already provided by package * tftp-hpa-doc
* check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man8/tftpd.8
But that file is already provided by package * tftp-hpa-doc
* check_data_file_clashes: Package netkit-telnet-doc wants to install file /usr/share/man/man8/telnetd.8
But that file is already provided by package * inetutils-doc
(From OE-Core rev: fc14bfd60ad86094f65ebefbd10dbddc112d2698)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic look for external layer source plugin under scripts/lib/
while other tools look for lib/.
allow wic to check for source plugin at both scripts/lib/ and
lib/ to align with other tools while avoid breaking any existing
source plugin in external layer.
[YOCTO #13056]
(From OE-Core rev: 986baff26bd96a6265f5fe2d631818fff9f66374)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using gnu_hash style is unsupported on gold for now therefore disable
building gold on mips/glibc
Certain applications poke for presence of gold linker and silently use
it (webkit), therefore its best to disable building it
(From OE-Core rev: b1b98ed4fafa9d37f71cbfe18f7a00ce2643449e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As opkglibdir starts with a /, os.path.join will ignore
self.target_rootfs, leading to an attempt to remove /var/lib/opkg.
This only fails if it exists on the host, explaining why this remained
undiscovered for long.
(From OE-Core rev: fc974977cea389f54e7fc7de7b1c8fd3d8bafe58)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there already is a package providing (and conflicting against)
packages what should be installed, apt will try remove the conflicting
package (target-sdk-provides-dummy) and any that depend on it (like apt
and dpkg). This usually fails because of the protection of essential
packages. In that case, no -dev/-dbg packages are installed to the SDK.
Avoid this problem by checking which packages are already provided and
removing them from the list to be installed. Also sort the list to make
it easier to read when debugging.
(From OE-Core rev: 3ffb339dd55f8ca7c952fd3390608510f772e19f)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for a later change to avoid installing packages which are
already provided by an installed package.
(From OE-Core rev: ad72dfaaa2caf2c39d033dc1682f0bbbbe45dbbd)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 7d214b34e11dc57316ed5c1c7747c4601286f6d2, only the code in the
for loop was modified to store the pkgarch value. The code used if there
was no empty line at the end was not modified.
Instead of fixing the duplicated code, remove it and just make sure that
a final empty line is processed.
(From OE-Core rev: a7b93c695b23d015607b179d98526b9b14c03d45)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
apt install can decide to remove already installed packages if there are
conflicts. Avoid this by explicitly specifying --no-remove. This will
then cause a "E: Packages need to be removed but remove is disabled."
message.
(From OE-Core rev: 9605a488b55042add012e9aeef13ab3f4e70e6e5)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the minimum python version isn't met, show a pointer to the new
install-buildtools script.
(From OE-Core rev: 38e3d5bd3d05ed00a2fc55e3729cb8a6d4e4132f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also un-breaks python3 ptest which got broken
with 1.1.1e update.
(From OE-Core rev: b4ddf5b9d8cd769b7026663f93c8bc69b55d8cbf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add ability to check md5sum (yocto-3.1_M2 and before) or sha256
(yocto-3.1_M3 and beyond).
Make regex for path in checksum file optional, since
for yocto-3.1_M3 the format is <checksum> <filename>,
but prior releases was <checksum> <path><filename>
(From OE-Core rev: cb1c98f38755b8340140125064c21e407f39db74)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is known that old versions of gcc prior to 4.8 causes builds to fail.
Add a test for BUILD_CC == 'gcc' and gcc < 4.8 and recommend using
scripts/install-buildtools or user built buildtools-extended-tarball.
Use the new get_host_compiler_version function from lib/oe/utils.py
NOTE: another solution is to install devtoolset-6+ from scl [1], but
this is a rather large install (> 1 Gb) and fairly invasive.
[1] https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
Adding this code means we can increase the minimum version easily
in the future too (which will soon be needed).
RP: Change minimum version from 5.0 to 4.8 for initial patch
(From OE-Core rev: 3bb3b9cbad82b2f09386153226d1d4e769b7347b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add helper function to get the host compiler and version.
Do not assume compiler is gcc.
NOTE: cannot set env to d.getVar("PATH") as that does not contain
the session PATH which was set by environment-setup-... which
breaks the install-buildtools use-case
(From OE-Core rev: 88712929354ff9c876bb1e48b6f15c33af5f2bbc)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For old tar version (< 1.28), recommend using
scripts/install-buildtools
Drop check for tar version 1.24. Dubious extra value.
(From OE-Core rev: 7a66434cf11b7f051699b774e4fccd6738351368)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Install directory defaults to scripts/../buildtools
e.g. --directory is set by default
This avoids the user having to type in their sudo password
to install in /opt/poky/<installer-version>
* Use "." rather than "source" for sourcing the environment script
as not all distros (e.g. Debian) have "source" by default.
* Add buildtools/ to .gitignore
* Fix typos in example usage (--install-version -> --installer-version)
[YOCTO #13832]
(From OE-Core rev: c6c3a58dbf0ca6c4a41df7ff50fa56d39d7ee23f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Contains the firmware for the audio, compute and modem/wireless in SDM845 platforms.
(From OE-Core rev: 1bc608b35ce22f65596d29b4944a2a82d0cd8c39)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CPE version could be '-' to mean no version info.
Current cve_check treat it as not valid and does not report these
CVE but some of these could be a valid vulnerabilities.
Since non-valid CVE can be whitelisted, so treat '-' as all version
and report all these CVE to capture possible vulnerabilities.
Non-valid CVE to be whitelisted separately.
[YOCTO #13617]
(From OE-Core rev: c69ee3594079589d27c10db32bc288566ebde9ef)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo-native is special in that bitbake ends up executing it from the
sysroot-components directory before we have any workdirs for the bitbake
fakeroot worker. Since we switched to dynamically linking sqlite, it
means sqlite from the host system may be found, we really want the version
in sysroot-components. Trying to run tasks to create some special environment
for pseudo is hard and error prone. The simplest fix is to add an RPATH to
the binary so that it can correctly find the sqlite we want.
Unfortunately passing $ORIGIN into make doesn't work so well with shell
quoting so we have to fix that during do_install.
[YOCTO #13814]
(From OE-Core rev: 3937ca9e2dfabb1ce9bce1d536b60b1e2a43739b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original patch "bpo-36852: proper detection of mips architecture
for soft float" uses AC_CANONICAL_TARGET to determine the platform
triplet. While AC_CANONICAL_TARGET exports i686 as target_cpu, gcc
is using i386 instead. We fall back here to i386, as it is conform
to the previous behavior.
Upstream Status: Submitted [https://github.com/python/cpython/pull/13196]
(From OE-Core rev: 6beab388e73b3ac6157650855a6c1fb1d71e8015)
Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 4e692daf66d2c9d51d418706e20f4527505dc0bd.
The patch did not take into consideration of read-only rootfs, causing
the following regression.
ERROR "The following packages could not be configured offline and rootfs is read-only: ['100-ifupdown']"
The original patch was added to resolve problem running `ifup eth1' on
a systemd based rootfs. However, when using systemd, we do not use ifup
to manage our network interfaces.
(From OE-Core rev: d687794d98f5956a205c049658f2a0f3c5bc0a3f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd sets net.core.default_qdisc = fq_codel, include
kernel-module-sch-fq-codel in RRECOMMENDS to satify this
(From OE-Core rev: 2544593dc53f9eca964817390577b3b04e87796f)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd supports a distribution hwdb.bin in /usr/lib/udev/hwdb.bin,
which is used if /etc/udev/hwdb.bin is not present. When generating the
install time hwdb, for systemd, ensure that we put it in /usr/lib/udev,
which then ensures that at boot time we do not regenerate it, unless the
system is marked for update.
This allows fragments dropped into /etc/udev/hwdb.d to be processed
correctly, but without requiring a first boot time build:
root@qemumips:~# systemctl status systemd-hwdb-update.service
* systemd-hwdb-update.service - Rebuild Hardware Database
Loaded: loaded (/usr/lib/systemd/system/systemd-hwdb-update.service; static; vendor preset: disabled)
Active: inactive (dead)
Condition: start condition failed at Wed 2020-03-04 15:18:11 UTC; 44s ago
|- ConditionPathExists=|!/usr/lib/udev/hwdb.bin was not met
|- ConditionPathExists=|/etc/udev/hwdb.bin was not met
`- ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d was not met
Docs: man:hwdb(7)
man:systemd-hwdb(8)
(From OE-Core rev: 78ff610e571e4d739326520c391a37ee1f1290ae)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use rootlibexecdir consistently rather than nonarch_base_libdir for udev
rules.
(From OE-Core rev: f9081994db3872af993d21db259a628cd834973f)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
udev is packaged before systemd so any wildcard inclusions in FILES will
override later specifics. List all udev rules explicitly so that the
systemd specific rules, packaged alongside systemd, appear in the
correct package.
(From OE-Core rev: bfff3d0c63026122b102c53a0261abd9f09124db)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By using PACKAGE_BEFORE_PN rather than =+ it's clearer how we expect the
package ordering to work. It also avoids the possibilty that dev/dbg/etc.
artefacts attempt to package as part of these packages.
(From OE-Core rev: fb64a50c3ab385d5bfd33dd669b6148e43b43770)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to build mesa-gl without X11 enabled, results in numerous errors
about being incorrectly configured, such as:
ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa
A rendering engine must be available, so per the error we enable osmesa
if X11 is not available. Once 'osmesa' is enabled we also need to make
sure that swrast for DRI is also available.
(From OE-Core rev: cd6bab044288779a67b94353ff91935f59bfcb56)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upon inspection its clear the way the keys for this cache were being handled
would break it and cause the cache to never be used. Fix this.
(Bitbake rev: 9a5dd1be63395c76d3fac2c3c7ba6557fe47b442)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing leading spaces or replace += usage with a leading space.
(From OE-Core rev: 91f464177ed7ed59a4405a39a366b387338ae923)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add mention/description of missing IMAGE_FEATURES.
(From OE-Core rev: 9f126a97d61bed481b64351fdcf27beaf6365a52)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libtool patch will result in configure file regeneration, instead of
doing that at build time, do it in patch itself, this avoids running
autoconf before configure step.
Since binutils needs specific version of autoconf ( which is 2.69 )
this will break on systems using newer or older verisons of autoconf
in current state.
(From OE-Core rev: 525d703d6f846e9706481a816910aef2ee70fb54)
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>
Add sysvinit PACKAGECONFIG which disables all sysvinit handling in
systemd if it isn't present.
Consolidate sysvinit handling so that when it's disabled we exclude all
sysvinit features.
(From OE-Core rev: 39ece7b3e604c9dfa046841e099e2a47b713f62c)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 5a0d5de68957ed11407694cf1acee1ab1cb4be79 ("build: Require at least version 0.29 when building with external ELL") in iwd [1]
ell version 0.29 is required.
Also, this is a bug fix release, see after:
ver 0.30:
Fix issue with missing export of RTNL helper functions.
ver 0.29:
Fix issue with time overflow on 32-bit systems.
Add support for RTNL helper functionality.
[1] - https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=5a0d5de68957ed11407694cf1acee1ab1cb4be79
(From OE-Core rev: 0c3bb2908f526b1195f1e7c6363c430c484d8670)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13609]
avahi_0.7.bb defines 9 PACKAGES. However, avahi.inc generically sets
LICENSE to "GPLv2+ & LGPLv2.1+". The library specific
packages should be LGPLv2.1+ only.
(From OE-Core rev: bd10fa54a94e9ae44defddae573ce67d33a11979)
Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add userdb packageconfig to control the building of the pam_userdb.so module.
This depends on dbm support being compiled in for the berkley db package.
Also, remove "--with-db-uniquename=_pam" from EXTRA_OECONF. It makes the checks
for libdb fail because it searches for the wrong symbols in libdb (and libdb
was not configured with --with-uniquename=_pam option).
db.do_configure:
checking if --with-uniquename=NAME option specified... no
libpam.do_configure:
checking for db_create_pam... no
checking for db_create... no
checking for dbm_store_pam... no
checking for dbm_store... no
checking for dbm_store in -lndbm... no
(From OE-Core rev: 3130f43c51fb9b2aed9bb7805a820ea90e68276a)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add "dbm" packageconfig to enable legacy dbm support in libdb. This support is
needed to build libpam pam_userdb.so plugin.
(From OE-Core rev: 841573cea6d06dcba45227a8126153b0629b1b0c)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since kernel commit b24ee6c64ca7 ("NFS: allow deprecation of NFS UDP protocol"),
NFS UDP has been disabled by default due to the potential data corruption caused
by fragmentation during high loads. So now we cannot boot up with nfs mode and
default kernel.
We'd better turn to use TCP accordingly.
(From OE-Core rev: 73a54595d8ddf237d685ea9cb46df0cecac0280d)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when do_populate_cve_db forced stop at certain point, the
DB execution are stoped however the temporary database
file (DB-JOURNAL) are not removed. This db-journal file
indicates that DB is incomplete and set DB in readonly
mode. So when db-journal exist, remove both DB and the
db-journal and build the DB again from scratch.
[YOCTO #13682]
(From OE-Core rev: 70713df25b8ae27a21e53b0b9234567d7053800a)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a system with selinux turned on, trying to access a directory
that is in a tree that doesn't exist returns the error permission
denined rather then no such file or directory, which causes git
to die.
git clone git://git.yoctoproject.org/poky
Cloning into 'poky'...
fatal: unable to access '/opt/poky/3.0+snapshot/sysroots/x86_64-pokysdk-linux/etc/gitconfig': Permission denied
Switch to using the system gitconfig of the host.
(From OE-Core rev: 5e44fb4dd106e3c4b9f072b25a93e54fa7bb1bce)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling for Thumb or Thumb2, frame pointers _must_ be disabled
since the Thumb frame pointer in r7 clashes with pulseaudio's use of inline
asm to make syscalls (where r7 is used for the syscall NR).
In most cases, frame pointers will be disabled automatically due to
the optimisation level, but appending an explicit -fomit-frame-pointer
to CFLAGS handles cases where optimisation is set to -O0 or frame
pointers have been enabled by -fno-omit-frame-pointer earlier in
CFLAGS, etc.
References:
https://www.openwall.com/lists/musl/2017/10/09/2
(From OE-Core rev: b199a9dbc3440d7c4fad8d8baeea931a6b7381c1)
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update importing a build directory to support where bblayers.conf
sets BBLAYERS to a value that includes a variable reference e.g.:
BBLAYERS = "${TOPDIR}/../meta \
${TOPDIR}/../meta-selftest"
[YOCTO #13707]
(Bitbake rev: 5bd29d448a31c132afd6fc0127029e246759b87b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When selecting reverse runtime dependencies, filter on simply 'depends_on'
instead of the obsolete 'depends_on__name' or 'depends_on__size'.
[YOCTO #13717]
(Bitbake rev: 085940c12619549be3fbd4ead9379ab0a97ac5bf)
Signed-off-by: Ahmed.Hossam <Ahmed.Hossam@opensynergy.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Directly support the various 'manage' commands from the Toaster
executable, so that users do not have to manually set up the required
environment and paths.
Examples:
$ . toaster manage createsuperuser
$ . toaster manage lsupdates
[YOCTO #13170]
(Bitbake rev: fd844e55bb885a51fe5ef8da1f625b34e646cf5f)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test is randomly modifying file data and some of these random
modifications cause OOM failures. There is no way to preserve and repeat
what was modified, so the test needs to re-engineered to do
proper fuzzing.
See here for details:
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/146
(From OE-Core rev: 732a9c83e946580607af3478cdc765d6541e3f64)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Utils can not detect GCC 10 correctly due to wrong regex.
It generates this error "ERROR: Can't get compiler version from gcc --version output"
Sub-version numbers should be 1 or more digits instead of 1 only.
(From OE-Core rev: 186fe4a3d390a52b87282c3e694ce3251e45ee78)
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@mind.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE's packaging functions assume that the opkg-utils python scipts are
always provided by opkg-utils-native, so the scripts should be removed
for class-target only.
(From OE-Core rev: dc243da47e10cc11dce4e2d3b9d59b96e23a0ce2)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ifunc patch is needed to address a glibc ptests failure on riscv
long double double patch is backported to let 2.31 build with gcc10
(From OE-Core rev: 5ab732a1a1c57bc9f9a5e71230eccee217110ade)
Signed-off-by: Khem Raj <raj.khem@gmail.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.
for vapigen, it need to find .vapi and .gir files under XDG_DATA_DIRS,
for gobject-introspection, multilib configurations use libdir rather
than datadir
(From OE-Core rev: b88f0590b4606d8adc8d728086a22325c1ae56b1)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For distros such as CentOS-7 where the default buildtools are too
old we need to make it easy for users to install a pre-built SDK
with all of "build-essentials" included.
Other uses may include building older Yocto Project releases with
a distro where buildtools are too new.
For convenience, the standard buildtools installation is also
supported.
NOTE: extended buildtools is the default, e.g.
--with-extended-buildtools is on by default
Example usage (extended buildtools from milestone):
(1) using --url and --filename
$ install-buildtools \
--url http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-3.1_M2/buildtools \
--filename x86_64-buildtools-extended-nativesdk-standalone-3.0+snapshot-20200122.sh
(2) using --base-url, --release, --installer-version and --build-date
$ install-buildtools \
--base-url http://downloads.yoctoproject.org/releases/yocto \
--release yocto-3.1_M2 \
--install-version 3.0+snapshot
--build-date 202000122
Example usage (standard buildtools from release):
(3) using --url and --filename
$ install-buildtools --without-extended-buildtools \
--url http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.2/buildtools \
--filename x86_64-buildtools-nativesdk-standalone-3.0.2.sh
(4) using --base-url, --release and --installer-version
$ install-buildtools --without-extended-buildtools \
--base-url http://downloads.yoctoproject.org/releases/yocto \
--release yocto-3.0.2 \
--install-version 3.0.2
[YOCTO #13832]
(From OE-Core rev: 2d0aea6a73c427ce6aa17dc71e0783977a52bb2b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the json result output dir in the oeqe runtime context to create
testresults.json file by default for exported runtime test runs.
Use current datetime for the json result property name (not DATETIME
from build) to allow multiple result entries.
(From OE-Core rev: e6c73ed8d3c5d45f387cab619ca73c21e850582f)
Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stopping systemd-timesyncd doesn't prevent it being restarted by a
different transaction within systemd. Disable the service instead during
the date test to ensure it can't be restarted.
(From OE-Core rev: 3dd4e637c11abdd6341a3e0c6b67639d3d703862)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
psplash is only expected to run during startup, but if any dependency is
pulled into a transaction and the unit is inactive, then it can be
restarted.
Set RemainAfterExit to ensure that the unit remains active and is not
gratuitously restarted.
Drop the nonexistent systemd-start.service from the unit.
(From OE-Core rev: 618bd9a10c27d13a4420638d82618ac41935cfda)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetcher GITDIR variable wase dropped a while back, drop the
obsolete reference to it (thanks Robert Day).
(From OE-Core rev: de035e687e26cef96e9b737c47bfc291bdfbea48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These fetcher *DIR variables were dropped a while back, drop the docs
that reference them (thanks Robert Day).
(From OE-Core rev: 609fcfe1f1490e9d9c35e40a0606a3b6b86bd78c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Spaces were previously converted to dashes, and underscores caused the
next character in the title/key to be printed using subscript due to the
enhanced string support in gnuplot.
(From OE-Core rev: 1719f7062988889b7e24b871dc2f0e50c7bff07e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Spilts out the inc file for u-boot-tools so that BSPs can include it for
their forked version of the tools, just like u-boot.inc.
As an example, this recipe [1] builds mkimage u-boot as part of the
u-boot recipe itself. This is incorrect because u-boot is a target
recipe, which means that the uninative loader transformations do not get
applied when the recipe is restored from sstate, breaking the mkimage
command breaks. The correct solution is to have a u-boot-tools-imx
recipe that pulls in their custom u-boot source; this inc file makes
that much easier to maintain.
[1]: aa27fc6209/recipes-bsp/u-boot/u-boot-imx_2019.04.bb
(From OE-Core rev: 2f3bd198d9b1e85f17f7a587b1690ab196ab0300)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
prevent cve-check from fatal error cause by network issue.
[YOCTO #13680]
(From OE-Core rev: da358e415726f836e6b3e69ad7fbeffb50bd402d)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
03142acba06e ARM: 8918/2: only build return_address() if needed
(From OE-Core rev: 6639ad938f5db86d8d30b867a17a26c082cc05ca)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to linux-yocto/5.4:
9065d188f874 KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context
(From OE-Core rev: ac42114430c9cccb21c296c12f31f405ccb99329)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem reported that kernel selftests are failing after some of the recent
-stable udpates, and identified the followig commits to solve the
issues:
4cd12df48b83 selftest/bpf: Use CHECK macro instead of RET_IF
84591c1cb409 Revert "selftests/bpf: Fix perf_buffer test on systems w/ offline CPUs"
844b959f96bd Revert "selftests/bpf: Skip perf hw events test if the setup disabled it"
(From OE-Core rev: 8ee272e6fdbc65097a3aa3e2456598dd089793eb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had reverted this commit in v5.2, and it is still required in 5.4.
The following config commit is also included in this change:
bsp/ti-am335x: drop some invalid cfg options
(From OE-Core rev: 43ec35f7cc4f222ad91efdd56f8eea901db52def)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the SRC_URI is switched to be git based, QEMU will automatically update
itself at compile time for select git submodules. This by passes the
bitbake git fetcher. These modules are always present in the release
tarballs, so only are problematic when used with git based SRC_URIs.
These switches will have no effect on a tarball based SRC_URI.
(From OE-Core rev: 53b38a89fc7ccbceefd1a3a79bd376d9f6419565)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The security flags were missing from the SDK toolchain
because they were added specifically to class-target.
Add them to class-cross-canadian as well (since the SDK environment
file is created from cross-canadian target flags).
(From OE-Core rev: cd46e8f890069a40d1e9048cfa0f378dec1dc5e9)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Antoine Manache <a.manache@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per mailing list discussion, the cache policy was behaving correctly before
and wouldn't expect to update after the initial fetch even for AUTOREV.
This reverts commit ba093a38539960e645e994a66ed7872a604c00a9.
(Bitbake rev: 51f827911b7202de3e855e683fdbd732d7a84e09)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Poking changes into config_data and expecting them to appear in the recipe
is a bad idea, place the data in recipedata directly instead.
(From OE-Core rev: 191dd811900ace0e0af2e97221e10461fae0d9bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake dropped support for this piece of functionality (the test was
the only user), drop the test too.
(From OE-Core rev: 9ba0708e34eb038dc3ea5a877a5837c534cf165f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some usages need to iterate the datastore. This is slow and not recommended
but support this.
(Bitbake rev: 38b4e330c6c2007e8ead878e1d9e9580d3b19c7b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current approach to remote datastores used in tinfoil is breaking. For
example, adding a devupstream extension to a recipe with a git upstream,
making it the preferred version and then running "devtool modify" on it
causes get_srcrev() circular dependency issues. The problem is the override
handling in the datastore is broken.
This gets broken since remotedata:recieve_datastore() sets d.dict but doesn't
update d.overridedata (or d.inchistory or d.varhistory). We could play
whack-a-mole but the current implementation seems to be flawed to me. It
also doesn't cover, or only partially covers some datastore operations and
each needs new dedicated command API.
Instead, step back and reimplement the way the datastore connector works.
With this change, the datastore is either remote or local but the data is not
spread on two sides of the connection. All the API is proxied over the connection
by a single function for the datastore (and two to support variable history
and include history).
This code does not support using the datastore as a parameter to any data store
functions. We did have one case of that but its just bad code and can be
replaced.
The result is something which is much simpler and less invasive to the datastore
code itself, meaning its behaviour should be much more consistent. The existing
tests for the remote data no longer make any sense and are removed.
The one bug this code would have is if key/value pairs are returned over the IPC
and those values contained a DataSmart object since we don't recurse into return
values to find such things. Nothing appears to do that currently so lets worry
about it if its ever an issue. This change should simplfy a ton of other issues
and avoid a ton of other bugs so is a huge net gain.
Tested with bitbake's and OE's selftests.
(Bitbake rev: 85e03a64dd0a4ebe71009ec4bdf4192c04a9786e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The datastore is already available to this function internally so don't
also try and pass the datastore as a parameter. This is clearly broken
API when you look at the existing calls to it.
This then doesn't break the planned tinfoil data connector changes.
(Bitbake rev: af1654498ee5b47368a41dad2d2b7b6abc19ff15)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This parameter is unused except for a single selftest and is problematic
with regard to fixing some other bugs. Remove it for now, if really needed
we could re-implement it in some other way in the future. Experience
tells us we likely don't want to support this kind of change to the metadata
anyway as its not as useful as it first sounds/appears.
(Bitbake rev: f2341dc46b6abfc08a4d01c7abdd3d4630577999)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The updates to the tests are done in do_install instead of do_install_ptest,
so the changes need to consider ptest not being turned on.
(From OE-Core rev: 6baaf3a530d5e4d6015c1dc53a2849a20bafafe4)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix indentation in buildstats.sh and buildstats-plot.sh
to convert every line to 4 spaces indentation.
(From OE-Core rev: 3971572042ae9bc8226eb92892bb71010287e0a8)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option to filter the stats results for a single recipe, allowing
to easilly visuality the task resource consumption per recipe.
This is specially useful when debugging the performance of
the overall bitbake build system.
(From OE-Core rev: b4bf898d53af60f5d69b50ec5cdd7f9b3870f2dd)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option to accumulate stats values per recipe, allowing
to sum related values such as memory (main process + childs).
This is specially useful when debugging the performance of
the overall bitbake build system.
(From OE-Core rev: e6f1aea6260343cb5194f7f8ab70213b705ab441)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extend buildstats-plot.sh script to also accept the name
of the tasks as parameter.
This value will be passed directly to buildstats.sh is
already provides this option.
(From OE-Core rev: 495b6d3d85d2d14d54e324d8da43311a23fdfca6)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the internal call to buildstats.sh by also providing
the buildstats folder location in the system, which might
differ from the default location.
(From OE-Core rev: 9f4ee2ee8712528ac51ef4ecd17ccde737e8b21d)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Printing a warning for something which is harmless just causes the
people monitoring the autobuilder more work. Silently ignore this race.
(From OE-Core rev: 2246c8d2466d3876fd1b27fd1943aa4bbf28e14e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
ERROR: nfs-utils-2.4.3-r0 do_package: QA Issue: nfs-utils:
Files/directories were installed but not shipped in any package:
/usr/lib/libnfsidmap/nsswitch.so
/usr/lib/libnfsidmap/static.so
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within do_install.
nfs-utils: 2 installed and not shipped files. [installed-vs-shipped]
Add rdep on python3-core for PACKAGECONFIG[nfsv4] to fix:
ERROR: nfs-utils-2.4.3-r0 do_package_qa: QA Issue: /usr/sbin/clddb-tool
contained in package nfs-utils requires /usr/bin/python3, but no
providers found in RDEPENDS_nfs-utils? [file-rdeps]
Add rdep on libdevmapper for PACKAGECONFIG[nfsv41] to fix:
ERROR: nfs-utils-2.4.3-r0 do_package_qa: QA Issue: /usr/sbin/blkmapd
contained in package nfs-utils requires libdevmapper.so.1.02()(64bit),
but no providers found in RDEPENDS_nfs-utils? [file-rdeps]
(From OE-Core rev: 17b44d51eaf71ae6d04034454dcb68f508b85258)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run ifup if /etc/network/interfaces doesn't exist:
| ifup: couldn't open interfaces file "/etc/network/interfaces": No such
| file or directory
Create the config file if not exist.
(From OE-Core rev: 4e692daf66d2c9d51d418706e20f4527505dc0bd)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unfortunately, a couple of tests sporadically fail still;
bugs have been filed, but they will take time to resolve.
(From OE-Core rev: 6b408f40b6c214d05433c41f0cd6200c715cc615)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
extended partition should reserve at least 2 unallocated sectors
between the start of the extended partition and the start of a
logical partition.
[YOCTO #13658]
(From OE-Core rev: 884c8a0e50a49bdca5e048197a9dc0ff37cc8d1a)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the latest v5.4-rt release:
2659f7a7212c v5.4.26-rt16
60c22c68d486 v5.4.24-rt15
efa03618228 mm: Warn on memory allocation in non-preemptible context on RT
908775cdf21e v5.4.24-rt14
b4edc32e2e46 v5.4.22-rt13
49a5b8ead027 tracing: make preempt_lazy and migrate_disable counter smaller
8f2ed8895c0c drm/vmwgfx: Drop preempt_disable() in vmw_fifo_ping_host()
b558bcd37e5d bpf: Update the "bpf: Make BPF and PREEMPT_RT co-exist" series
d197132b1dd5 v5.4.22-rt12
(From OE-Core rev: a8db5643bd14a5a2e8e60012dd1551f6d867acc2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
585e0cc08069 Linux 5.4.27
20ba40d262b0 ipv4: ensure rcu_read_lock() in cipso_v4_error()
81e0dac3780a ARM: 8961/2: Fix Kbuild issue caused by per-task stack protector GCC plugin
1dc67950e2d1 HID: add ALWAYS_POLL quirk to lenovo pixart mouse
5d961582ea88 HID: google: add moonball USB id
ae119b7e1247 mm: slub: add missing TID bump in kmem_cache_alloc_bulk()
47b6d269dbbd ARM: 8958/1: rename missed uaccess .fixup section
1a9e78628d44 ARM: 8957/1: VDSO: Match ARMv8 timer in cntvct_functional()
881876bee657 net: qrtr: fix len of skb_put_padto in qrtr_node_enqueue
235fb892d846 blk-mq: insert flush request to the front of dispatch queue
dbce8292217a jbd2: fix data races at struct journal_head
99746e92fa4c sfc: fix timestamp reconstruction at 16-bit rollover points
e2b8b042c98b net: rmnet: fix packet forwarding in rmnet bridge mode
34c550ebb219 net: rmnet: fix bridge mode bugs
8eccc6d06ea1 net: rmnet: use upper/lower device infrastructure
835bbd892683 net: rmnet: do not allow to change mux id if mux id is duplicated
5ce5e95d72f1 net: rmnet: remove rcu_read_lock in rmnet_force_unassociate_device()
002b4bd9b51d net: rmnet: fix suspicious RCU usage
8a027eee62f7 net: rmnet: fix NULL pointer dereference in rmnet_changelink()
006cd2426a05 net: rmnet: fix NULL pointer dereference in rmnet_newlink()
cfc7f5fe5c61 hinic: fix a bug of rss configuration
e6f52d5ce172 hinic: fix a bug of setting hw_ioctxt
65340b196811 hinic: fix a irq affinity bug
1c7dde0a9bfc net: phy: mscc: fix firmware paths
4d6ee3123d65 slip: not call free_netdev before rtnl_unlock in slip_open
d1984c92f072 signal: avoid double atomic counter increments for user accounting
df8e98b00941 kbuild: add dt_binding_check to PHONY in a correct place
fd1f29f2a824 kbuild: add dtbs_check to PHONY
bbf3acbb8a77 drm/amdgpu: fix memory leak during TDR test(v2)
74c77d6a4ea9 blk-mq: insert passthrough request into hctx->dispatch directly
74886a6d9de8 net: ll_temac: Handle DMA halt condition caused by buffer underrun
c2cffaea4fde net: ll_temac: Fix RX buffer descriptor handling on GFP_ATOMIC pressure
6e3b69543b5e net: ll_temac: Add more error handling of dma_map_single() calls
0c050d655475 net: ll_temac: Fix race condition causing TX hang
a342bb7b9902 mac80211: rx: avoid RCU list traversal under mutex
5d92d834aa27 net: ks8851-ml: Fix IRQ handling and locking
d939f3389f9b net: usb: qmi_wwan: restore mtu min/max values after raw_ip switch
6c663120ecdb scsi: libfc: free response frame from GPN_ID
079e9ad79410 cfg80211: check reg_rule for NULL in handle_channel_custom()
a6f7e69cfafd tracing: Fix number printing bug in print_synth_event()
c35aa36fec91 selftests/rseq: Fix out-of-tree compilation
dd0d2d6ab6a2 HID: hid-bigbenff: fix race condition for scheduled work during removal
ccb747d805d3 HID: hid-bigbenff: call hid_hw_stop() in case of error
1bc271dd397d HID: hid-bigbenff: fix general protection fault caused by double kfree
190e929e6cba HID: i2c-hid: add Trekstor Surfbook E11B to descriptor override
87bd74b77531 ACPI: watchdog: Set default timeout in probe
65b44497414b HID: apple: Add support for recent firmware on Magic Keyboards
20eed7692749 ACPI: watchdog: Allow disabling WDAT at boot
f3c478104a9a drm/amdgpu: Fix TLB invalidation request when using semaphore
f6fccb0a0e59 netfilter: xt_hashlimit: unregister proc file before releasing mutex
536942bf70b5 netfilter: hashlimit: do not use indirect calls during gc
257edc6db943 Linux 5.4.26
881f9469cc9f net/smc: cancel event worker during device removal
dbaba2a4db6e net/smc: check for valid ib_client_data
aa38bea47fd2 ipv6: restrict IPV6_ADDRFORM operation
62fd4e348df2 iommu/amd: Fix IOMMU AVIC not properly update the is_run bit in IRTE
8753b0cad128 i2c: acpi: put device when verifying client fails
03d524d70ecf iommu/vt-d: Ignore devices with out-of-spec domain number
9493a6361d81 iommu/vt-d: Fix the wrong printing in RHSA parsing
2d106e75da45 netfilter: nft_chain_nat: inet family is missing module ownership
56e84ae47481 netfilter: nf_tables: dump NFTA_CHAIN_FLAGS attribute
15ec06c6a894 netfilter: nft_tunnel: add missing attribute validation for tunnels
e92dea63e278 netfilter: nft_payload: add missing attribute validation for payload csum flags
896d11cdcab9 netfilter: cthelper: add missing attribute validation for cthelper
c61868ef2795 perf bench futex-wake: Restore thread count default to online CPU count
b57542934121 nl80211: add missing attribute validation for channel switch
5bd0ee5727d2 nl80211: add missing attribute validation for beacon report scanning
b0fd0b85c377 nl80211: add missing attribute validation for critical protocol indication
c684f4f68c0a i2c: gpio: suppress error on probe defer
4f60640723cf iommu/vt-d: Fix RCU-list bugs in intel_iommu_init()
b8c3cbca80e8 driver code: clarify and fix platform device DMA mask allocation
a9fef78caac0 drm/i915/gvt: Fix unnecessary schedule timer when no vGPU exits
f5ace0987a69 pinctrl: core: Remove extra kref_get which blocks hogs being freed
d2df67d7411e drm/i915/gvt: Fix dma-buf display blur issue on CFL
a6ea1df94903 virtio_ring: Fix mem leak with vring_new_virtqueue()
b758686cf05a pinctrl: imx: scu: Align imx sc msg structs to 4
66ee6b9b91b1 pinctrl: meson-gxl: fix GPIOX sdio pins
93b8be43c9df clk: imx8mn: Fix incorrect clock defines
130bd50d009c batman-adv: Don't schedule OGM for disabled interface
8159e369d1e6 iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge page
28ffabf65e42 iommu/vt-d: Fix RCU list debugging warnings
798c1441bde8 iommu/vt-d: dmar: replace WARN_TAINT with pr_warn + add_taint
77abae8657c5 iommu/dma: Fix MSI reservation allocation
923f2b3ab352 x86/mce: Fix logic and comments around MSR_PPIN_CTL
53644e59c1c5 perf/amd/uncore: Replace manual sampling check with CAP_NO_INTERRUPT flag
02013734629b mt76: fix array overflow on receiving too many fragments for a packet
1357bf0ca50f i2c: designware-pci: Fix BUG_ON during device removal
849233b7421c efi: Add a sanity check to efivar_store_raw()
594b38226f84 efi: Fix a race and a buffer overflow while reading efivars via sysfs
680613f44162 x86/ioremap: Map EFI runtime services data as encrypted for SEV
f19bbb24a108 macintosh: windfarm: fix MODINFO regression
ea1299be02e1 fscrypt: don't evict dirty inodes after removing key
b7e54dd751fa blk-iocost: fix incorrect vtime comparison in iocg_is_idle()
0c47d02ad451 ipmi_si: Avoid spurious errors for optional IRQs
fbbacd0dcbc3 s390/dasd: fix data corruption for thin provisioned devices
63050b3dc02f fuse: fix stack use after return
f2947aa48017 ARC: define __ALIGN_STR and __ALIGN symbols for ARC
4873041d3723 KVM: nVMX: avoid NULL pointer dereference with incorrect EVMCS GPAs
84c6ce00e29b KVM: x86: clear stale x86_emulate_ctxt->intercept value
9719442f9e24 gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
918ba24a9bbf cifs_atomic_open(): fix double-put on late allocation failure
3625e9dfd80a ktest: Add timeout for ssh sync testing
a67ada0dcd9a pinctrl: falcon: fix syntax error
1961b5bb6ac8 mmc: sdhci-pci-gli: Enable MSI interrupt for GL975x
0e57e9f70247 drm/i915: Defer semaphore priority bumping to a workqueue
105d663d8430 drm/i915: be more solid in checking the alignment
40c4ad7f1b15 drm/amd/display: remove duplicated assignment to grph_obj_type
22540ca3d00d workqueue: don't use wq_select_unbound_cpu() for bound works
70612567f6ce netfilter: x_tables: xt_mttg_seq_next should increase position index
bfacd2806769 netfilter: xt_recent: recent_seq_next should increase position index
16c0ae0a0437 netfilter: synproxy: synproxy_cpu_seq_next should increase position index
1c6e75702fd1 netfilter: nf_conntrack: ct_cpu_seq_next should increase position index
3ca828bd0fcb iommu/vt-d: quirk_ioat_snb_local_iommu: replace WARN_TAINT with pr_warn + add_taint
ad29b9fd6672 virtio-blk: fix hw_queue stopped on arbitrary error
c656fc438758 iwlwifi: mvm: Do not require PHY_SKU NVM section for 3168 devices
55c81e9b1b5c netfilter: nf_tables: fix infinite loop when expr is not available
72655d842636 cgroup: Iterate tasks that did not finish do_exit()
cb81ee946e15 cgroup: cgroup_procs_next should increase position index
6b22fba4c15b net: phy: Avoid multiple suspends
1375e2ca1f2d net: dsa: Don't instantiate phylink for CPU/DSA ports unless needed
dd359b5a7bd4 selftests/net/fib_tests: update addr_metric_test for peer route testing
8759b193d8f8 net/ipv6: remove the old peer route if change it to a new one
2eaf298d121f net/ipv6: need update peer route when modify metric
886345d9305a net: phy: fix MDIO bus PM PHY resuming
4d365c7b4747 net: phy: avoid clearing PHY interrupts twice in irq handler
7030138e3c6d nfc: add missing attribute validation for vendor subcommand
c9f29e311fc2 nfc: add missing attribute validation for deactivate target
4cba04a3272b nfc: add missing attribute validation for SE API
4c16ef8ee16c tipc: add missing attribute validation for MTU property
6049f6122a51 team: add missing attribute validation for array index
cae05c2998ae team: add missing attribute validation for port ifindex
e31cd96bce59 net: taprio: add missing attribute validation for txtime delay
7b8f902c5130 net: fq: add missing attribute validation for orphan mask
05b1a3781204 macsec: add missing attribute validation for port
f77e588fb745 can: add missing attribute validation for termination
e9438d517277 nl802154: add missing attribute validation for dev_type
84eaa53dbea8 nl802154: add missing attribute validation
e80e3f725244 fib: add missing attribute validation for tun_id
dd4708377988 devlink: validate length of region addr/len
4136c4ee4159 devlink: validate length of param values
c0a7416a5403 net: memcg: fix lockdep splat in inet_csk_accept()
4a1444818200 net: memcg: late association of sock to memcg
01f4cb0005a7 cgroup: memcg: net: do not associate sock with unrelated cgroup
4461ae0c15f6 bnxt_en: fix error handling when flashing from file
97207f491014 bnxt_en: reinitialize IRQs when MTU is modified
51925ac4c547 bonding/alb: make sure arp header is pulled before accessing it
6c7247106941 taprio: Fix sending packets without dequeueing them
ea5d05c59430 slip: make slhc_compress() more robust against malicious packets
312a5fa6877e sfc: detach from cb_page in efx_copy_channel()
d21ba36e4091 r8152: check disconnect status after long sleep
6ea05d53b996 net: systemport: fix index check to avoid an array out of bounds access
62a24fad9610 net: stmmac: dwmac1000: Disable ACS if enhanced descs are not used
d0042bc982f1 net: phy: bcm63xx: fix OOPS due to missing driver name
a200e439c08b net/packet: tpacket_rcv: do not increment ring index on drop
5afc3791c83e net: nfc: fix bounds checking bugs on "pipe"
f815f9a89536 net: macsec: update SCI upon MAC address change.
04f430a90bf0 netlink: Use netlink header as base to calculate bad attribute offset
608f54653eaf net/ipv6: use configured metric when add peer route
8f4cd4bed97b net: hns3: fix a not link up issue when fibre port supports autoneg
e9d416dba4cc net: fec: validate the new settings in fec_enet_set_coalesce()
9739d3d1bbb1 net: dsa: mv88e6xxx: fix lockup on warm boot
9dd6cb14dd01 net: dsa: fix phylink_start()/phylink_stop() calls
7b5db04f24a2 macvlan: add cond_resched() during multicast processing
f992458686b8 ipvlan: don't deref eth hdr before checking it's set
1f72737eecd7 ipvlan: do not use cond_resched_rcu() in ipvlan_process_multicast()
c46034cfa1d4 ipvlan: do not add hardware address of master to its unicast filter list
e4d08bef04df ipvlan: add cond_resched_rcu() while processing muticast backlog
1f905985fe19 ipv6/addrconf: call ipv6_mc_up() for non-Ethernet interface
8be8c4555431 inet_diag: return classid for all socket types
aece82f5de2a gre: fix uninit-value in __iptunnel_pull_header
0a062dd0d460 cgroup, netclassid: periodically release file_lock on classid updating
8d22f4147325 ALSA: hda/realtek - Fixed one of HP ALC671 platform Headset Mic supported
986af74c63a8 ALSA: hda/realtek - Add Headset Mic supported for HP cPC
effe2041c3bf ALSA: hda/realtek - More constifications
8f310017aab2 virtio_balloon: Adjust label in virtballoon_probe
18fe53f6dfbc Linux 5.4.25
564f7c2b5691 drm/virtio: module_param_named() requires linux/moduleparam.h
09a8dd779e47 csky: Implement copy_thread_tls
e28c9b3caf6b block, bfq: remove ifdefs from around gets/puts of bfq groups
92ed51e65167 block, bfq: get a ref to a group when adding it to a service tree
e657b1f6b9f4 efi: READ_ONCE rng seed size before munmap
cca130fc00cd efi/x86: Handle by-ref arguments covering multiple pages in mixed mode
61a7f1e13b92 efi/x86: Align GUIDs to their size in the mixed mode runtime wrapper
da44902fcfdd powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems
90335d6681ea EDAC/synopsys: Do not print an error with back-to-back snprintf() calls
956ba569cc60 bus: ti-sysc: Fix 1-wire reset quirk
8937a74575e1 arm64: dts: meson: fix gxm-khadas-vim2 wifi
5293e17978c4 dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()
08d67499d2d2 dma-buf: free dmabuf->name in dma_buf_release()
709c6990aec7 hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT()
61f64d9de25a ARM: dts: imx7-colibri: Fix frequency for sd/mmc
1439f05ce981 ARM: dts: dra7xx-clocks: Fixup IPU1 mux clock parent source
9113989a57c2 ARM: dts: am437x-idk-evm: Fix incorrect OPP node names
dc06a0977754 ARM: imx: build v7_cpu_resume() unconditionally
dc04fb60d718 IB/hfi1, qib: Ensure RCU is locked when accessing list
3286ef3a1605 RMDA/cm: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen()
3d5d75f8c26e regulator: stm32-vrefbuf: fix a possible overshoot when re-enabling
baec58de4ab5 RDMA/core: Fix protection fault in ib_mr_pool_destroy
785823b3b2bc RDMA/iwcm: Fix iwcm work deallocation
a793097d7c16 RDMA/siw: Fix failure handling during device creation
10faa91ce493 RDMA/nldev: Fix crash when set a QP to a new counter but QPN is missing
4a2acf74a816 RDMA/rw: Fix error flow during RDMA context initialization
194f9e8e3d13 Revert "RDMA/cma: Simplify rdma_resolve_addr() error flow"
80ccc2588f6a soc: imx-scu: Align imx sc msg structs to 4
30eb1ea78a58 firmware: imx: Align imx_sc_msg_req_cpu_start to 4
a3bede27ca04 firmware: imx: scu-pd: Align imx sc msg structs to 4
1bebf41fb8c1 firmware: imx: misc: Align imx sc msg structs to 4
67a6b0adb1ac arm64: dts: imx8qxp-mek: Remove unexisting Ethernet PHY
14bd791e38c6 ARM: dts: imx6: phycore-som: fix emmc supply
4115c053a35e phy: mapphone-mdm6600: Fix write timeouts with shorter GPIO toggle interval
6cc80013ad37 phy: mapphone-mdm6600: Fix timeouts by adding wake-up handling
362fbe8e9dd6 drm/i915/selftests: Fix return in assert_mmap_offset()
2845fe63f751 drm/i915: Program MBUS with rmw during initialization
609b392e8523 drm/sun4i: de2/de3: Remove unsupported VI layer formats
a49ddfae6c1a drm/sun4i: Fix DE2 VI layer format support
dfe25f9a1c26 drm/sun4i: Add separate DE3 VI layer formats
d9163ba414d8 drm: kirin: Revert "Fix for hikey620 display offset problem"
95e0c61d7f66 drm/panfrost: Don't try to map on error faults
2ce46334cc87 spi: atmel-quadspi: fix possible MMIO window size overrun
278025119968 ASoC: dapm: Correct DAPM handling of active widgets during shutdown
a87fe1f24fe7 ASoC: Intel: Skylake: Fix available clock counter incrementation
94c472e7b4e1 ASoC: pcm512x: Fix unbalanced regulator enable call in probe error path
757ed44a19a3 ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs output
b408bfa79b5e powerpc/mm: Fix missing KUAP disable in flush_coherent_icache()
42dac16dc4b0 powerpc: Convert flush_icache_range & friends to C
ec21f6d52bd4 powerpc: define helpers to get L1 icache sizes
bbc02b018d73 ASoC: intel: skl: Fix possible buffer overflow in debug outputs
1dd4d68f19cf ASoC: intel: skl: Fix pin debug prints
488c6c340df5 ASoC: SOF: Fix snd_sof_ipc_stream_posn()
e259388d69f5 ASoC: topology: Fix memleak in soc_tplg_manifest_load()
a6e3b2aedf8a ASoC: topology: Fix memleak in soc_tplg_link_elems_load()
9998ebb5e73c drm/virtio: fix resource id creation race
d41f6cfd9aa7 drm/virtio: make resource id workaround runtime switchable.
ad7f9c865af7 spi: bcm63xx-hsspi: Really keep pll clk enabled
12e7f2771650 ARM: dts: ls1021a: Restore MDIO compatible to gianfar
422d098fe633 arm64: dts: meson-sm1-sei610: add missing interrupt-names
2a767bab5ac0 dm: fix congested_fn for request-based device
5c929bcb7af9 dm zoned: Fix reference counter initial value of chunk works
7b753d805e1a dm writecache: verify watermark during resume
86543852e43b dm: report suspended device during destroy
e600edc7d835 dm cache: fix a crash due to incorrect work item cancelling
a7ab1264e830 dm integrity: fix invalid table returned due to argument count mismatch
f9d35915324c dm integrity: fix a deadlock due to offloading to an incorrect workqueue
5b3f03f6e232 dm integrity: fix recalculation when moving from journal mode to bitmap mode
ac5e2d2d5fc6 dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list
454ee4a82050 dmaengine: tegra-apb: Fix use-after-free
1cdb96461185 dmaengine: imx-sdma: Fix the event id check to include RX event for UART6
772e5f29c942 dmaengine: imx-sdma: fix context cache
31c5755caf69 s390/mm: fix panic in gup_fast on large pud
88fbd1d31291 s390/pci: Fix unexpected write combine on resource
c8f3adc4069d x86/pkeys: Manually set X86_FEATURE_OSPKE to preserve existing changes
83b2a8fe43bd spi: spidev: Fix CS polarity if GPIO descriptors are used
fc73ded13f16 perf arm-spe: Fix endless record after being terminated
8ae75e508894 perf cs-etm: Fix endless record after being terminated
d15530fc9250 perf intel-bts: Fix endless record after being terminated
7d3adab14857 perf intel-pt: Fix endless record after being terminated
8fd458b647f5 media: v4l2-mem2mem.c: fix broken links
cd48f84cf7ce media: vicodec: process all 4 components for RGB32 formats
37c554b3fe98 media: mc-entity.c: use & to check pad flags, not ==
9be09b4583f1 media: hantro: Fix broken media controller links
9a9c13ad21a8 vt: selection, push sel_lock up
119ee545581a vt: selection, push console lock down
4387bfa60520 vt: selection, close sel_buffer race
e64fbf0e9f2d serial: 8250_exar: add support for ACCES cards
5932199be8ed tty: serial: fsl_lpuart: free IDs allocated by IDA
143217fe63b1 tty:serial:mvebu-uart:fix a wrong return
cdca61a19081 arm: dts: dra76x: Fix mmc3 max-frequency
637627d832bd arm64: dts: socfpga: agilex: Fix gmac compatible
0c8eccc28e69 btrfs: fix RAID direct I/O reads with alternate csums
557693d1d3a7 fat: fix uninit-memory access for partial initialized inode
d467fbc93cdb mm, hotplug: fix page online with DEBUG_PAGEALLOC compiled but not enabled
c2043281943e mm: fix possible PMD dirty bit lost in set_pmd_migration_entry()
4b62bbcc8618 mm, numa: fix bad pmd by atomically check for pmd_trans_huge when marking page tables prot_numa
5d230547476e vgacon: Fix a UAF in vgacon_invert_region
c8137e78b8c6 usb: core: port: do error out if usb_autopm_get_interface() fails
739721ebbc26 usb: core: hub: do error out if usb_autopm_get_interface() fails
dc96ee7948d7 usb: core: hub: fix unhandled return by employing a void function
cb05b3e1b16a usb: cdns3: gadget: toggle cycle bit before reset endpoint
39b57e6ab298 usb: cdns3: gadget: link trb should point to next request
f1809fb28cab usb: dwc3: gadget: Update chain bit correctly when using sg list
807569e0dc58 usb: quirks: add NO_LPM quirk for Logitech Screen Share
c71ce693e4e7 usb: storage: Add quirk for Samsung Fit flash
e76e39f7c65b cifs: fix rename() by ensuring source handle opened with DELETE bit
98cc1bd575d2 cifs: don't leak -EAGAIN for stat() during reconnect
6369c1e0b646 ALSA: hda/realtek - Enable the headset of ASUS B9450FA with ALC294
332464f910a7 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master
6cb8b8760b7b ALSA: hda/realtek - Add Headset Button supported for ThinkPad X1
f35e259c5444 ALSA: hda/realtek - Add Headset Mic supported
f30f3aa5c3b9 binder: prevent UAF for binderfs devices II
a2d63e7734ed binder: prevent UAF for binderfs devices
3227ecd0ef53 firmware: imx: scu: Ensure sequential TX
0f121ace25f1 selftests: forwarding: vxlan_bridge_1d: use more proper tos value
2ab5bd41c6d7 arch/csky: fix some Kconfig typos
479466726bf1 csky: Fixup compile warning for three unimplemented syscalls
3469dfd86e09 csky: Fixup ftrace modify panic
c7ce725c525a csky/smp: Fixup boot failed when CONFIG_SMP
eb2ac8c497cd csky: Set regs->usp to kernel sp, when the exception is from kernel
6db7f3bdc153 csky/mm: Fixup export invalid_pte_table symbol
229fa6c8d284 net: thunderx: workaround BGX TX Underflow issue
a90f613e1b44 x86/xen: Distribute switch variables for initialization
10b00764ed11 ice: Don't tell the OS that link is going down
9b6be0d2f942 nvme: Fix uninitialized-variable warning
b290fb0b7971 s390/qdio: fill SL with absolute addresses
ad50dbbf5729 x86/boot/compressed: Don't declare __force_order in kaslr_64.c
ccef9c5f646b nvme-pci: Use single IRQ vector for old Apple models
e13797d5ec54 nvme/pci: Add sleep quirk for Samsung and Toshiba drives
9b412c4aa34b iommu/amd: Disable IOMMU on Stoney Ridge systems
236efa8971f8 net/mlx5: DR, Fix matching on vport gvmi
4a1e1dda56e2 efi: Only print errors about failing to get certs if EFI vars are found
4d459c82abec s390: make 'install' not depend on vmlinux
25fb2908b9c4 s390/cio: cio_ignore_proc_seq_next should increase position index
764fc2ea82d8 watchdog: da9062: do not ping the hw during stop()
1b1939fedc86 net: ethernet: dm9000: Handle -EPROBE_DEFER in dm9000_parse_dt()
05e26a842a47 net: ks8851-ml: Fix 16-bit IO operation
63c064a83568 net: ks8851-ml: Fix 16-bit data access
8e8396edb093 net: ks8851-ml: Remove 8-bit bus accessors
30f5a66eebc9 net: atlantic: check rpc result and wait for rpc address
58eecbf16e97 selftests: forwarding: vxlan_bridge_1d: fix tos value
5c0f7f2097b8 selftests: forwarding: use proto icmp for {gretap, ip6gretap}_mac testing
d04dd98b9b37 drm/msm/dsi/pll: call vco set rate explicitly
b6e3a6be56bd drm/msm/dsi: save pll state before dsi host is powered off
26bfd300f7fd scsi: megaraid_sas: silence a warning
f7c069e31daa drm/modes: Allow DRM_MODE_ROTATE_0 when applying video mode parameters
9a426889f435 drm/modes: Make sure to parse valid rotation value from cmdline
85c17bb5bf0f drm: msm: Fix return type of dsi_mgr_connector_mode_valid for kCFI
49c1c5f5fc62 drm/msm/mdp5: rate limit pp done timeout warnings
68b73cd158d8 habanalabs: patched cb equals user cb in device memset
83946b4c96ee habanalabs: do not halt CoreSight during hard reset
4b183f6748ac habanalabs: halt the engines before hard-reset
5d48ee321160 usb: gadget: serial: fix Tx stall after buffer overflow
a3a7d31645e5 usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags
aae7167626ce usb: gadget: composite: Support more than 500mA MaxPower
dbeec9bda6cf selftests: fix too long argument
c2d5c4df27e0 serial: ar933x_uart: set UART_CS_{RX,TX}_READY_ORIDE
1cb3c0cecc31 ALSA: hda: do not override bus codec_mask in link_get()
82782235544f blktrace: fix dereference after null check
4771b3f60633 kprobes: Fix optimize_kprobe()/unoptimize_kprobe() cancellation logic
c2a5e97de44a kbuild: fix 'No such file or directory' warning when cleaning
0769cdddb88d RDMA/core: Fix use of logical OR in get_new_pps
f7ed42f10334 RDMA/core: Fix pkey and port assignment in get_new_pps
9d729f5aa06f dm thin metadata: fix lockdep complaint
95aeaec9e63d net: stmmac: fix notifier registration
551132b2943f net: dsa: bcm_sf2: Forcibly configure IMP port for 1Gb/sec
2f87f58ca901 ALSA: hda/realtek - Fix a regression for mute led on Lenovo Carbon X1
63f42809f0f3 block, bfq: do not insert oom queue into position tree
594fca1d04fb block, bfq: get extra ref to prevent a queue from being freed during a group move
cff670b3eb68 Linux 5.4.24
6f9cff84dde8 blktrace: Protect q->blk_trace with RCU
cad53d5e2e23 kvm: nVMX: VMWRITE checks unsupported field before read-only field
119b1e588a76 kvm: nVMX: VMWRITE checks VMCS-link pointer before VMCS field
0bae7e7fac97 mm, thp: fix defrag setting if newline is not used
0eb282cb1ff7 mm/huge_memory.c: use head to check huge zero page
8cb5db61afa3 mm/gup: allow FOLL_FORCE for get_user_pages_fast()
2bb9bfcde8b5 mm/debug.c: always print flags in dump_page()
2482da809fd3 locking/lockdep: Fix lockdep_stats indentation problem
0d70361dec88 xfs: clear kernel only flags in XFS_IOC_ATTRMULTI_BY_HANDLE
7906e29efaf1 bus: tegra-aconnect: Remove PM_CLK dependency
dd3fd6dec30c netfilter: nf_flowtable: fix documentation
beffc17b843c netfilter: nft_tunnel: no need to call htons() when dumping ports
860a70e2a6f6 thermal: brcmstb_thermal: Do not use DT coefficients
c981ab6a1c08 thermal: db8500: Depromote debug print
8e78726fb7e8 ubifs: Fix ino_t format warnings in orphan_delete()
ef0dcab6d21c rcu: Allow only one expedited GP to run concurrently with wakeups
2aa7abbdc297 KVM: x86: Remove spurious clearing of async #PF MSR
64521f9b2ca9 KVM: x86: Remove spurious kvm_mmu_unload() from vcpu destruction path
56671961b34d x86/resctrl: Check monitoring static key in the MBM overflow handler
d847804f8f8a perf ui gtk: Add missing zalloc object
27f7e492d8fe perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc
f68b6a015a81 pwm: omap-dmtimer: put_device() after of_find_device_by_node()
1fabae5c846f lib/vdso: Update coarse timekeeper unconditionally
91ebef8618bf lib/vdso: Make __arch_update_vdso_data() logic understandable
74c515e04911 kprobes: Set unoptimized flag after unoptimizing code
e8807eb1e688 ima: ima/lsm policy rule loading logic bug fixes
caadb4b91b41 drivers: net: xgene: Fix the order of the arguments of 'alloc_etherdev_mqs()'
c2e2f561d27f RDMA/hns: Bugfix for posting a wqe with sge
3065f57761bd RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs
7fd3329a4df0 f2fs: fix to add swap extent correctly
a25ae553903d sched/fair: Optimize select_idle_cpu
ea307804e4fc KVM: Check for a bad hva before dropping into the ghc slow path
487113220d0b KVM: SVM: Override default MMIO mask if memory encryption is enabled
4aa42ab64edd mwifiex: delete unused mwifiex_get_intf_num()
6d807dd31955 mwifiex: drop most magic numbers from mwifiex_process_tdls_action_frame()
8a7d7fa16150 namei: only return -ECHILD from follow_dotdot_rcu()
c15a3d8f5ecc kbuild: make single target builds even faster
2e54f93a3b9b kbuild: remove unneeded variable, single-all
ecd77a3261ab kbuild: move headers_check rule to usr/include/Makefile
ef134d8b493c kbuild: remove header compile test
20e559d8f745 selftests: Install settings files to fix TIMEOUT failures
483724e27eb5 net: ena: make ena rxfh support ETH_RSS_HASH_NO_CHANGE
21709608638e net/smc: no peer ID in CLC decline for SMCD
10e0190f0b96 net: atlantic: fix out of range usage of active_vlans array
10b2668cb3db net: atlantic: fix potential error handling
be96a355858a net: atlantic: fix use after free kasan warn
5306d0c41979 net: netlink: cap max groups which will be considered in netlink_bind()
5b04f396f002 s390/qeth: vnicc Fix EOPNOTSUPP precedence
567b108c9425 nvme-pci: Hold cq_poll_lock while completing CQEs
fbc28154dec9 usb: charger: assign specific number for enum value
e65381111339 hv_netvsc: Fix unwanted wakeup in netvsc_attach()
f5cfa47505ac kbuild: fix DT binding schema rule to detect command line changes
f2688e753764 mac80211: Remove a redundant mutex unlock
813757b78216 nl80211: fix potential leak in AP start
8100d19dc0fb drm/i915/gvt: Separate display reset from ALL_ENGINES reset
30b8a98a1ab3 drm/i915/gvt: Fix orphan vgpu dmabuf_objs' lifetime
55105073e43c i2c: jz4780: silence log flood on txabrt
bda7565d4e15 i2c: altera: Fix potential integer overflow
7cf412def885 MIPS: VPE: Fix a double free and a memory leak in 'release_vpe()'
d5684b0515fc HID: hiddev: Fix race in in hiddev_disconnect()
e7c5c8fd532d HID: alps: Fix an error handling path in 'alps_input_configured()'
782077bff3a6 netfilter: xt_hashlimit: reduce hashlimit_mutex scope for htable_put()
6c717726f341 netfilter: ipset: Fix forceadd evaluation path
f09fbb1175cf vhost: Check docket sk_family instead of call getname
68c601f2a208 net/smc: transfer fasync_list in case of fallback
5dd9488ae410 netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports
7eaf718b83ff io_uring: fix 32-bit compatability with sendmsg/recvmsg
9629f47d7d1c cpufreq: Fix policy initialization for internal governor drivers
386a71f635b4 amdgpu/gmc_v9: save/restore sdpif regs during S3
8e7ddaf759c6 Revert "PM / devfreq: Modify the device name as devfreq(X) for sysfs"
b20f83ef019a tracing: Disable trace_printk() on post poned tests
176cacef0119 macintosh: therm_windtunnel: fix regression when instantiating devices
73c8048e277e drm/radeon: Inline drm_get_pci_dev
582ce26a7e24 drm/amdgpu: Drop DRIVER_USE_AGP
d310188d4ef6 HID: core: increase HID report buffer size to 8KiB
819f8ab78a31 HID: core: fix off-by-one memset in hid_report_raw_event()
a30a85e74dcd HID: ite: Only bind to keyboard USB interface on Acer SW5-012 keyboard dock
9154d430dcbd KVM: VMX: check descriptor table exits on instruction emulation
07fec9a84c15 ACPI: watchdog: Fix gas->access_width usage
6b077e6fa7e2 ACPICA: Introduce ACPI_ACCESS_BYTE_WIDTH() macro
82a6cb7a8ade audit: always check the netlink payload length in audit_receive_msg()
37f4c2775267 audit: fix error handling in audit_data_to_entry()
1e74ccd38e19 ext4: potential crash on allocation error in ext4_alloc_flex_bg_array()
36d7477fabed nvme/pci: move cqe check after device shutdown
b1fd0e551eeb nvme: prevent warning triggered by nvme_stop_keep_alive
d4d26a5069da nvme/tcp: fix bug on double requeue when send fails
3b4cf3b98895 net: hns3: fix a copying IPv6 address error in hclge_fd_get_flow_tuples()
87a5534a1ae4 net: hns3: add management table after IMP reset
e98e13176e27 mac80211: fix wrong 160/80+80 MHz setting
f0593f5b1b64 cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE
99b2040d1b6b cifs: Fix mode output in debugging statements
7072ad3b1d6c ice: update Unit Load Status bitmask to check after reset
b81cc04e2aef net: ena: ena-com.c: prevent NULL pointer dereference
d737658c9a11 net: ena: ethtool: use correct value for crc32 hash
b7f8a4e82a41 net: ena: fix corruption of dev_idx_to_host_tbl
5408a8088d59 net: ena: fix incorrectly saving queue numbers when setting RSS indirection table
fdc142e4c282 net: ena: rss: store hash function as values and not bits
eb9b6ff1fd71 net: ena: rss: fix failure to get indirection table
6ab7207ad11d net: ena: rss: do not allocate key when not supported
d6f54019b964 net: ena: fix incorrect default RSS key
6088f3f70186 net: ena: add missing ethtool TX timestamping indication
1c27b8d64571 net: ena: fix uses of round_jiffies()
5bc08766658f net: ena: fix potential crash when rxfh key is NULL
c17f8a738f59 i40e: Fix the conditional for i40e_vc_validate_vqs_bitmaps
136702882691 soc/tegra: fuse: Fix build with Tegra194 configuration
3c4b25053248 amdgpu: Prevent build errors regarding soft/hard-float FP ABI tags
cd32771da12c drm/amd/display: Add initialitions for PLL2 clock source
147fcd07ceba drm/amd/display: Limit minimum DPPCLK to 100MHz.
2e5154923c1f drm/amd/display: Check engine is not NULL before acquiring
eb62f4c2eb9a RDMA/siw: Remove unwanted WARN_ON in siw_cm_llp_data_ready()
083afcaccb58 drm/amd/display: Do not set optimized_require to false after plane disable
3bf72abda2dc ARM: dts: sti: fixup sound frame-inversion for stihxxx-b2120.dtsi
b520f78ba428 ceph: do not execute direct write in parallel if O_APPEND is specified
3b0a0bd12963 perf/x86/msr: Add Tremont support
d1fdeaf6e9fe perf/x86/cstate: Add Tremont support
6b1ca90fa4d7 perf/x86/intel: Add Elkhart Lake support
75061b865142 perf/smmuv3: Use platform_get_irq_optional() for wired interrupt
862e4c3a4b00 NFSv4: Fix races between open and dentry revalidation
6eceafad2fff qmi_wwan: unconditionally reject 2 ep interfaces
f5fe94e8dcfe qmi_wwan: re-add DW5821e pre-production variant
a1b2925e6bc8 s390/zcrypt: fix card and queue total counter wrap
fd206c770d41 cfg80211: check wiphy driver existence for drvinfo report
5d6df86cad5e mac80211: consider more elements in parsing CRC
bb232821faf5 dax: pass NOWAIT flag to iomap_apply
36b5fcc140a7 sched/fair: Prevent unlimited runtime on throttled group
166d6008fa2a timers/nohz: Update NOHZ load in remote tick
5a309e3bf1e8 sched/core: Don't skip remote tick for idle CPUs
b855c6399c1f drm/msm: Set dma maximum segment size for mdss
66bc95c1955a ipmi:ssif: Handle a possible NULL pointer reference
8097108725c3 ipv6: Fix nlmsg_flags when splitting a multipath route
5b3beff4e8f9 ipv6: Fix route replacement with dev-only route
5a908830e69b bonding: fix lockdep warning in bond_get_stats()
97e5c947ad35 net: export netdev_next_lower_dev_rcu()
d59a701d4cae bonding: add missing netdev_update_lockdep_key()
177489edbe24 bnxt_en: Issue PCIe FLR in kdump kernel to cleanup pending DMAs.
7daf11d64b8a bnxt_en: Improve device shutdown method.
c360e0530107 sctp: move the format error check out of __sctp_sf_do_9_1_abort
e72258bf6a57 udp: rehash on disconnect
63d5320a0c9b Revert "net: dev: introduce support for sch BYPASS for lockless qdisc"
129a1e235cc9 qede: Fix race between rdma destroy workqueue and link change event
45f0d4b40131 nfc: pn544: Fix occasional HW initialization failure
f3844aed8e86 net/tls: Fix to avoid gettig invalid tls record
50acd32ea7f6 net: sched: correct flower port blocking
bd53844bc91e net: phy: restore mdio regs in the iproc mdio driver
248b7751391f net: mscc: fix in frame extraction
e99e2f59d9a2 net: macb: ensure interface is not suspended on at91rm9200
9310357f6151 net: fib_rules: Correctly set table field when table number exceeds 8 bits
59b5714c6779 net: dsa: b53: Ensure the default VID is untagged
728afb955b57 EDAC: skx_common: downgrade message importance on missing PCI device
cac68d12c531 io_uring: grab ->fs as part of async offload
(From OE-Core rev: 3c8c0c82d163a9ef8e6d71583d65587b9be70eae)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the revision on linux-yocto-dev to reflect the updated state
of -dev.
The aufs/yaffs2 features are in place, but -rt is not yet available,
so the branches are placeholders for future updates.
This has been tested across all supported architectures and reference
qemu platforms, as well as with closely coupled userspace packages.
We tweak the LICENSE_CHECKSUM as well, since upstream has added an
informational note to the file, but the license is otherwise unchanged.
(From OE-Core rev: ca3d2db0e87168f3e1d6baa2e691ee0399db81d7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add PACKAGECONFIG option for xkbcommon
qemu-keymap.c:16:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
* Add PACKAGECONFIG option and patch for libudev
commands-posix.c:53:10: fatal error: libudev.h: No such file or directory
* Add PACKAGECONFIG option for libxml2
util/osdep.c:136: undefined reference to `fcntl64'
- Without specifying libxml2, configure searches the system and pulls in the system
libxml2 if it is present. In the process it adds -L/usr/lib64 which causes the
system libc to be linked instead of the one from the extended tarball.
None of the above libraries appear to be included in the depends for any of the qemu
builds, so if they are getting linked in, its probably not intentionally.
(From OE-Core rev: 3f1fd15cf0df4a4b12d49ac795b1c9e02de61429)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building an SDK on a machine with 8GB RAM resulted in excessive swapping
due to the xz compressor using ~20GB of memory. This is because xz is
being called with "-T 0 -9".
To allow tuning the compression versus memory usage, introduce a variable
named SDK_XZ_OPTIONS that defaults to a more sane default:
SDK_XZ_OPTIONS ?= "${XZ_DEFAULTS} ${SDK_XZ_COMPRESSION_LEVEL}"
The use of XZ_DEFAULTS fixes the excessive memory usage.
The SDK_XZ_COMPRESSION_LEVEL variable allows overriding the speed vs
compression. In an office or development environment the extra time
spent on compressing a few percent more is just not worth it.
(From OE-Core rev: 25533a48a19e3e6eb9f96be51b1373830b5bb9f0)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
centos7 doesn't have python3 intalled by default, so running
the script errors in novel ways if it is not installed.
(From OE-Core rev: 1e6061a4d223dc104039728ba169dbe63e74f750)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should help gcc detect and use target ISA on x86_64 machines when
-march is not used on cmdline
[YOCTO #139]
(From OE-Core rev: f9e410521c92e2458ba7e2ca63d28434618b9f25)
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>
In some cases, we run into parallel build failures where BUILT_SOURCES
is skipped, as a result required header files are not generated and the
build fails with missing header errors like
../bison-3.5.2/lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory
#include "uniwidth.h"
^~~~~~~~~~~~
compilation terminated.
BUILT_SOURCES should be built automatically with `make all` [1] therefore
ensure that make is invoked with `all` target
bison-native parallel build fails when -l<n> is passed globally from
build environment, errors like below due to race starts to show up
Therefore removes a previous load limit if set
[1] https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html#Built-Sources-Example
(From OE-Core rev: 1b8451aa4ba2b42b1eb1dc938fa3397d3434839a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-License-Update: Copyright year updated to 2020.
(From OE-Core rev: d8b928f60e1274edc3d97f14ebe60e81aa0057f1)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Fixed-compilation-with-current-mesa-versions.patch
removed since it is included in 2.2.0
(From OE-Core rev: 39e59246cb8e3b5b65ad10935e08078f5053e350)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2020-0556-1.patch
CVE-2020-0556-2.patch
removed since they are included in 5.54
(From OE-Core rev: 5552caed72169d397ce0bdf436216ec320a29751)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ldso is always stored in /lib regardless of multilib
add ld-musl-${MUSL_LDSO_ARCH}.path to aid ldso finding default library
loading paths, it helps when using multilib, where system libraries are
moved to lib32 or lib64 paths under / or /usr
[YOCTO #11971]
(From OE-Core rev: bfa1ea82bb2ec9d1ae6da0a442bed519a6464698)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_musl_loader_arch returns the arch part of ldso for musl, this is
used in get_musl_loader() as well as independently usable, which is
needed for multilib support in musl. Musl stores all ldso in /lib
be it multilib or not, therefore do not use base_libdir instead directly
use /lib
[YOCTO #11971]
(From OE-Core rev: 0b694592c417c1d21913905f5032d300c9635866)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The source code such as update-passwd.c states the license to be under
GPL v2 only and does not contain the "or later" clause so correct the
recipe LICENSE field to match.
(From OE-Core rev: fd1bda7bf0b750ea8ee62c116bec6b9ed1ba963d)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to version 2.11.2 in order to fix some build errors
with latest 5.4 kernel.
- conflicting types for 'trace_fast_page_fault'
Reproductible on kernel greater than v5.4.19, starting with commit
8a1cd01bee ("KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on
32-bit KVM")
Error messages:
lttng-modules-2.11.1/probes/../probes/lttng-tracepoint-event-impl.h:130:6:
error:
130 | void trace_##_name(_proto);
tmp/work-shared/axxiax86-64/kernel-source/include/linux/tracepoint.h:233:21:
note: previous definition of 'trace_fast_page_fault' was here
233 | static inline void trace_##name(proto)
- conflicting types for 'trace_rcu_dyntick'
Reproductible on kernel greater than v5.4.22, starting with commit
6cf539a87a ("rcu: Fix data-race due to atomic_t copy-by-value")
Error messages:
lttng-modules-2.11.1/probes/../probes/lttng-tracepoint-event-impl.h:130:6:
error: conflicting types for 'trace_rcu_dyntick'
130 | void trace_##_name
tmp/work-shared/axxiax86-64/kernel-source/include/linux/tracepoint.h:233:21:
note: previous definition of 'trace_rcu_dyntick' was here
233 | static inline void trace_##name(proto)
(From OE-Core rev: 8fcc33aea08fc1e82818893feb7b01c7cc1e6416)
Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libdir is hardcoded to /lib which is not going to work in multilib
scene, patch makefile to add a variable to override the libdir from env
(From OE-Core rev: 75b29a68f11f9c10a89ba413abd1023cfcf90982)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Emulating more than one network interface with runqemu is a bit tricky,
but possible. For example, the following leads to an emulated device with
eth0 and eth1:
QB_NETWORK_DEVICE_prepend = " \
-device virtio-net-device,mac=52:54:00:12:34:03 \
"
or
QB_NETWORK_DEVICE_append = " \
-device virtio-net-pci,mac=52:54:00:12:34:03 \
"
When booting Qemu with two NICs, the kernel does not know which
interface the specified ip=192.168.7.... command line argument
should be applied. This delays the boot process for a very long
time and a guest wihtout IP configuration.
This add two new configuraton parameters to runqemu:
QB_CMDLINE_IP_SLIRP and QB_CMDLINE_IP_TAP to explicitely specify the ip=
kernel command line arguments for tap and slirp mode.
Note: Simply adding "::eth0" broke some builds on the Yocto autobuilder.
(From OE-Core rev: 59bfdc331c1494c05ab38804b281878a1f571f6d)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On recent distros the following error appears without rpcgen host tool:
ERROR: The following required tools (as specified by HOSTTOOLS)
appear to be unavailable in PATH, please install them in order to
proceed:
rpcgen
(From yocto-docs rev: 66a491e77e1b97a831515d4ac8e0245540d7242a)
Signed-off-by: Goran Cengic <cengic@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
References to undefined variables are preserved as is and do not
expand to nothing as in GNU Make.
(Bitbake rev: 4780df48d5998d619dc36b699400e344187fc134)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the layer core name to the new release name.
(From OE-Core rev: 090bb3b44ba0cc01c29942c00d43e910d1ff735e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
time.clock() was removed in python 3.8, use one of its recommended replacements
to fix failures on python 3.8 systems.
(From OE-Core rev: f1d4ecce7d3968c5e08c268e3329041d4b647cf6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many of ltp's tests are of syscalls and libc content. Enable installing
mulitpule abi's.
Use prefix consistently rather then hardcoded /opt/ltp everywhere.
(From OE-Core rev: 66809f9257d667a0a0814f5c6d804f93cd4ad6e1)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on the recommendation in musl mailing list[1] All symlinks have
been removed from musl recipe.
Move stub libraries into -dev package
having them treated as normal .a which they are not, is not correct and
packages shoves them into static archives, which are not installed on
target usually unless asked for
this should help in linking with -lm, -lpthread etc. on target
[1]: https://www.openwall.com/lists/musl/2020/03/10/11
(From OE-Core rev: 8d068bd3adec64d451cf9cd4ae6b0803a7152463)
Signed-off-by: Jan Kaisrlik <ja.kaisrlik@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
THE LICENSE checksum changed in this update due to copyright notice
added for 2020.
(From OE-Core rev: 3513721b5dd660c7e6a8038b89ca17f1b76f7f9b)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If console=null systemd-udevd throws an assertion which prevents the
system from booting. This patch redirects stdin, stdout and stderr to
/dev/null in case that the console can't be opened so that udevd still
boots.
A systemd issue was reported here. However, they will not fix this
specific use-case:
https://github.com/systemd/systemd/issues/13332
(From OE-Core rev: dd6ee0b06cd8df6204cf600050516d15172302ea)
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was discovered that BlueZ's HID and HOGP profiles implementations
don't specifically require bonding between the device and the host.
This creates an opportunity for an malicious device to connect to a
target host to either impersonate an existing HID device without
security or to cause an SDP or GATT service discovery to take place
which would allow HID reports to be injected to the input subsystem from
a non-bonded source.
(From OE-Core rev: d598f8eee0741148416e8660e10c716654205cb5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When booting weston images this error is seen commonly, but Qemu boots
the image fine, session seat error is thrown by libweston perhaps using
--seat option or setting XDG_SEAT variable in weston.ini could fix it
[YOCTO #13828]
(From OE-Core rev: 1f9d36722132c93c19651ea59062b3d5be01bb72)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* checked all hunks: backported patches can go
* for machines with neon in TUNE_FEATURES enable new configure option
--enable-arm-neon. If enabled, license must be extended to MIT
* license checksum changed by copyright year
(From OE-Core rev: aaa1c3ee0fe782fb08a58f100bc04686824de815)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we enabled drm/kms backend for qemux86, it does not work with musl
fdbdev worked ok, we see this error
[18:58:45.628] launching '/usr/libexec/weston-desktop-shell'
[18:58:45.737] atomic: couldn't commit new state: Invalid argument
[18:58:45.737] repaint-flush failed: Invalid argument
There seems to be some problem with atomics in libdrm, until that gets
diagnosed, simple solution is to not use it on musl when drm backend is used
thats why WESTON_DISABLE_ATOMIC=Y is set in environment file for such
cases
(From OE-Core rev: e571ef707d76cf3aceb0d56fd588b37f9b5092ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the script was running with Python3, almost no detailed
output was generated.
(From OE-Core rev: bd17a7e60264bb40df340fa38c425a7d7372516e)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates tinfoil to match recent changes to the logging code
in knotty.
(Bitbake rev: e67dfa4a4d0d63e4752655f25367582e5a95f1da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logging module provides a shutdown() function that does the same
thing in a much better way
(Bitbake rev: 970cd2fc4f0bbc93069dee5a15a608dd76081c67)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BitBake.verbconsole needs to be treated like a console output logger
(meaning that the TerminalFilter attaches an InteractConsoleLogFilter to
it), even if it's not directly attached to the root 'BitBake' logger.
First, assign a special "is_console" property to the relevant handlers,
then look for the property in the handlers from the configuration object
return by bb.msg.setLoggingConfig(). Finally, pass the list of all
handlers to the TerminalFilter object; it doesn't care about the
difference between console and errconsole, so pass all the relevant
handlers as a list.
This fixes cases where the console output was corrupted when messages
were sent to the 'BitBake.verbconsole' handler.
(Bitbake rev: 2010be588c74a99256df7b565a309c84c2973546)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Returns the configuration object from setLoggingConfig(). This object
has a config dictionary that contains all of the created handlers,
filters and loggers, which makes it much easier to pull out items with
specific names.
(Bitbake rev: 93c98a85cb10d3795b3cebc9cd97214d0f4748e5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates hash equivalence logging so that the interesting VERBOSE
messages are always logged to the consolelog file so that issues in
individual user builds can be diagnosed. The autobuilder logging config
then updates this so that they also are shown on stdout, since the
consolelog file is not capture there.
In order to facilitate this, 2 new logging handlers were added,
"BitBake.verbconsole" and "BitBake.verbconsolelog". Neither of these
handlers are attached to anything by default, but they will log any
messages that wouldn't otherwise be logged by the normal console or
consolelog handlers. Users can attach whatever loggers the desire to
this handler to get them to appear on the console or in the consolelog,
as demonstrated by the autobuilderlog.json file.
(Bitbake rev: 766587c0baaaeb5cda3e9454395edbb70e33f756)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a configuration file that the autobuilder can use to capture
interesting logging domains above the ones that show up for normal users
on stdout/stderr.
(Bitbake rev: 2259b5172b37442a4e0420a16a7bde9e21ffa086)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lowers the level of the log message when setscene tasks have completed.
This message can occur multiple times when hash equivalence is enabled,
since the runqueue switches between executing setscene tasks and normal
tasks. Since this is primarily of use when debugging hash equivalence,
use the hash equivalence logger at VERBOSE level.
[YOCTO #13813]
(Bitbake rev: 7dd5b3900622008ff34ec70d71c6e994f460a46f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a function that can be used by UI front ends to merge logging
configuration fragments.
(Bitbake rev: e860d93b76c142fdae90226bc68e4fe6e7b6a9db)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds code to close all loggers when bitbake exits. This prevents
unclosed file ResourceWarnings. A form of this closing existed
previously, but was removed in the new logging code.
(Bitbake rev: b3f3779adf63c0d970462a558a6205da1d30c0ed)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds documentation describing how to use the BB_LOGCONFIG variable to
enable custom logging.
(Bitbake rev: e22565968828c86983162e67f52ebb106242ca76)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lowers the level at which hash equivalence messages are logged so as to
not annoy the majority of users. The autobuilder can use a custom
logging configuration to log these to a file for debugging (see
contrib/autobuilderlog.json)
[YOCTO #13813]
(Bitbake rev: 2ddb649ea31afe052f08e3969e36abf6fb515bc2)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switches the hash equivalence logging to use a different logger so that
it can be easily filtered out with python's structured logging.
(Bitbake rev: 20bb29ef973e9c5483eb50a74550ea207637367b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the default log filter here is unnecessary because there are no
defined logging domains when it is called, which means it does no actual
filtering.
(Bitbake rev: dcdb8f2c14f09ce34d0a1facc33a441570912c05)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sets up logging in knotty to use python's structured logging config and
the bb.msg.setLoggingConfig() helper to setup logging. This allows the
user to specify additional logging mechanism in a config file with
BB_LOGCONFIG
(Bitbake rev: 646a68a49364b50a42168b4b16308f7217eec0dc)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passing around the log formatter variable was unnecessary since the log
levels of interest can be accesses as class members of
bb.msg.BBLogFormatter. Switching to do this will make using the
structured python logging much easier, since it can be difficult to
extract out the formatter for a specific handler.
(Bitbake rev: c1c867df24b4ef204027d485acac7c75c63f2bc0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a helper function to setup the structure logging information in
bitbake. The helper function takes a default configuration and an
optional path to a user config file that can be merged into the default.
(Bitbake rev: 14c98d36b74c1599b4649078170b6e72df79ba2a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the filter are described using the python logging structure,
these classes are no longer needed.
(Bitbake rev: 2cb16e0c61609f3fb8a86530ddedf8ad0e69428e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds generic filter utilities that can be used to filter when the log
level is greater than or equal to a defined value, or below a defined
value, as well as a generic function to translate a string to a logging
level (or bitbake logging level)
(Bitbake rev: 8ebe8a7662200fad9b88be8b08376262a61c85c4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a comment section that can be easily uncommented to enable dumping
the logging tree. This module is extremely useful for debugging issued
with logging configuration
(Bitbake rev: 30461310915f911b80f92e03df694af7c1eb1f46)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a __repr__ function for BBLogFormatter. This allows it to get a
human readable string when printed using the logging_tree module
(Bitbake rev: 5ff962dca71f4ef16a3aa11b41a23f2227fe8c21)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passes around the actual logging level as the default log level variable
instead of the debug count. This makes it easier to deal with logging
levels since the conversion from debug count and verbose flag only has
to occur once when logging is initialized and after that actual log
levels can be used
(Bitbake rev: 41bd155faf7f65cb0727fcce972715769b26ca89)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handles the log messages from the bitbake server with the specific
logger that the event originated from. This allows hierarchical logging
configurations to work as expected.
(Bitbake rev: 9624d42133e024fd044d0d089c7017ed53eed874)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Converts the default domain variable to a dictionary where the keys are
the logging domains and the values are the logging level (instead of the
debug count). This makes it easier to deal with the logging domains and
the awkward conversion from a list to a dictionary only needs to be done
once when logging is initialized. Finally, other code has been written
that already assumes this variable is a dictionary, see:
f04cd93109 ("bitbake: lib/bb: Optimise out debug messages from cooker")
(Bitbake rev: f32a8bc7ff7a0b0750b6934a96f5d48391b1383a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an extra comment about the implications of changing DEPENDS.
(From OE-Core rev: ce20c915019d350bf9663b2f27eccf3cef2e29fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should allow the logging configurations to be specificed from the
environment, for example for autobuilder setups.
(From OE-Core rev: 66c9234b71791d2aab87068496aebdbd4eb1f5e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When add below line to local.conf to enable debug build:
DEBUG_BUILD = "1"
There comes below failure when run "bitbake babeltrace2"
| ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted':
| ../../../../../git/src/plugins/ctf/fs-src/fs.c:702:5: error: 'other_entry' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| 702 | !ds_index_entries_equal(entry, other_entry)) {
So initialize the other_entry pointer to fix the above error.
(From OE-Core rev: 1b98db372a1fdaecf9bb897b0ee4b2e72af22f81)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the option --json-result-dir to oeqa core context to enable
testresults.json creation for test runs via testexport.
Eg. oe-test runtime --json-result-dir .
(From OE-Core rev: 9d8edf33d1f5d89b310923b0aa3cc967317c7c49)
Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't force users to have input device in your targets. As the default
option require-input is set to true, Weston only starts if we have a
device in /dev/input/event* and this not a requirement for all applications,
e.g. kiosk browser.
(From OE-Core rev: 43f40613ecedb8c3a9e3aaac0630464efc7525e3)
Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix cmake file references of image dir path
(From OE-Core rev: e12caa834bef6b5d0cad7e96f79374a0dbf86aea)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Script points to native python3
(From OE-Core rev: 132c7ecd13955b20141fa01241f47753af60cb77)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
path to pkg-config and python3 encoded in scripts
(From OE-Core rev: d5b051cb9226a3c6b75f1e72a946e5f4e920d9a5)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Man pages are copied in to the target filesystem from the configured
build, which leaks paths in to the work directory
(From OE-Core rev: c4f6b04450ef658d99c0d15f3ce9058c4a770152)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tests/qemu-iotests/common.env is generated from configure which
we pass ${HOSTTOOLS_DIR}/python3 as our python to use, which gets
copied into the ptests. Correct python3 path.
(From OE-Core rev: e8e5765cf2ad324a84634877eebc8289f1bc934f)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gen_tests script encodes its full path to itself in each script
(From OE-Core rev: 9e2db0ab1d4cacedde59e8915dff9a091e1c2d2b)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specify exclusive package configs for glew and curl to make sure that
conflict package configs will NOT set at same time.
(From OE-Core rev: 8579673bdb314dbc554f40fc4c4c1db3d0bb0d63)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are mutually exclusive PACKAGECONFIGs in recipes. Though it
declares that package configs are exclusive, it can't prevent users to
set them at same time. Extend PACKAGECONFIG to support specifying
conflicted package configs.
(From OE-Core rev: 734475b3f86d88a548bc9eb91d836bd1b9335e9f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a shallow mirror tarball is used to satisfy a gitsm URI it needs to
be unpacked temporarily so that the .gitmodules file can be examined.
(Bitbake rev: 3987db953e414255ce278bc25a5f6cec0f2a30c7)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the "Manual Notes" section of numerous YP manuals with a
reference to the recently-introduced YP documentation mailing list.
(From yocto-docs rev: a10fe36c864b8f1a71c6a8eb7e1f6a4eef2f5171)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ubuntu 20.04 doesn't have python package and therefore this list fails
to install, python3 is required anyway so removing python is perhaps ok
(From yocto-docs rev: a41567a4ee462c704a29ad5944a0c824d7eb840c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto commit 69ddecdb1516 [local.conf.sample: change default
MACHINE to qemux86-64] switched the default MACHINE from 'qemux86' to
'qemux86-64' but some documents which either explicitly mentioned the
default, or where this was implicit didn't receive an equivalent
update.
Where it made sense we continue this change in default to the docs. In
other places, such as the kernel-dev manual, we note the new default
and instruct the user how to switch back to 'qemux86'. Eventually we
should probably update the kernel-dev manual to use the default, but
for now the intention was to limit the impact of these changes.
Note that ext3 has also been replaced with ext4 for image generation,
so while we are modifying runqemu lines to qemux86-64 we also make the
change to reference ext4 such that the runqemu commands will function
properly.
(From yocto-docs rev: 8c1d8ab1170f47a2c2692beb903ab0b7c6835b7b)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is sometimes more appropriate to define the licenses that are
allowed to be used rather than the ones that are not permitted. This
adds a tips on how this can be achieved by using AVAILABLE_LICENSES
and some Python set arithmetics.
(From yocto-docs rev: dd26d8a9f89402a9828bf02f2e65054d4c0f406f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update USERADD_ERROR_DYNAMIC[doc] and the first paragraph to match
the definition in meta/conf/documentation.conf.
* Add a note explaining the differences in behavior when setting
USERADD_ERROR_DYNAMIC to "warn" and "error" respectively.
[YOCTO #12932]
(From yocto-docs rev: 28cd546f3fe1eadd73ba71f9fe9a558538e69b0f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was used only by nss.
(From OE-Core rev: baecda5b32b66d09dadccbcbe706c5ec0a270568)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm was the last user in OE-core.
(From OE-Core rev: 15aa3bdf798b0e45a20f877e203f3750b623754f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The line numbers are influenced by the gcc version on the host used to generate
the code. Remove these to ensure the shipped source code is the same.
(From OE-Core rev: 5c3d3440809e9d76377af653ac8c5307bc1a01b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build host configuration isn't reproducible as it varies depending
on the gcc version of the build host. This information isn't useful on the
target anyway so remove it.
(From OE-Core rev: f9154b2c3eff8434914710ab453e13cf338597ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new ptest dependencies present some challenges, in particular libmodule-build-perl
which effectively depends on gcc. In multilib images, this results in both
libXX-gcc-symlinks and libYY-gcc-symlinks being installed which conflict. This also
makes little sense.
The easiest way to fix this is to disable the automatic -dev package dependencies
and manually specify the correct ones.
(From OE-Core rev: 5463971d45b21512210cf20f3902baf95eacd4c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coreutils has a large number of tests, including some added by the
Makefile flags RUN_EXPENSIVE_TESTS and RUN_VERY_EXPENSIVE_TESTS that
significantly increase runtime (and that have been disabled). Note
that the coreutils ptest directory is given blanket permissions at
runtime with chmod -R 777 to ensure that the user created for the
tests will be able to run the test scripts and create the necessary
files in the process.
There is still room to improve the results of this ptest without
the aforementioned additions. Of the tests marked SKIP, there are
30 tests that are currently counted as SKIP because they require
sudo permissions, and another 21 that require membership in
multiple user groups. It is important to know that coreutils has
tests for both root and non-root users. Testing showed that 42
tests are skipped when running as root versus 30 when running as a
non-root user, so the decision was made to run the suite as the
latter. Additionally, gdb, valgrind, and strace could be included
in the RDEPENDS list to increase pass rate, but their total
contribution is 13 tests, so they were omitted to reduce image size.
Finally, note that at least one ptest (misc/head-write-error.sh) is
prone to ERROR on builds of core-image-minimal if extra space is
not provided with IMAGE_ROOTFS_EXTRA_SPACE.
(From OE-Core rev: 9a703f8e05d9e7e609d0e04278be290d4051ec31)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For legacy bios boot configurations, syslinux supports multiple
labels with per-label APPEND definitions. grub-efi-cfg supports
multiple labels, but only a single APPEND definition.
Enable optional per-label APPEND definitions for grub EFI, with
variable names prefixed by "grub_" to isolate grub definitions from
syslinux defintions.
Example use from an ISO image recipe that inherits grub-efi-cfg:
LABELS_LIVE="foo bar"
APPEND_grub_foo = "linuxcmdline"
No change in behavior for those using APPEND without overrides.
(From OE-Core rev: 20ad7705d1060300d53304c259b1f07d04b86eba)
Signed-off-by: Rich Persaud <rp@stacktrust.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sysconfdir is not present in the image filesystem then the temporary
creation of a prelink.conf will fail. Fix this by creating sysconfdir
temporarily if needed beforehand and then remove any directories that
were created afterwards.
fixes: OpenXT OXT-1751
(From OE-Core rev: 6bf3e3db355643c4b2e20346230c09e45e519035)
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps compile the testcase with musl on 32bit arches
(From OE-Core rev: ac5a65cb5fdb315df2cb016d0cc5c3389c7971f0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The eSDK installation code checks installed locales with the locale command which is
from glibc-utils. Add this so that we find the correct locales from the buildtools.
(From OE-Core rev: 7d35e4bc6ff94a2d03c48827d7d60a6855c9029d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale binary reported incorrect locale lists in relocated toolchains
as some path references were not relocated by this patch. Fix this missing
relocations so the locale binary correctly reports the locales.
(From OE-Core rev: f7a6a72880009380ae81bc7fc863921a26811c8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to create a clean PATH breaks cases where we install a buildtools tarball
on hosts to provide newer versions of gcc. Rework the fix for #8698 to clean up
directories in PATH which don't exist isntead. Do it with python as the shell
version was too fraught with corner cases.
(From OE-Core rev: 7674b63819aa7ca95ca5ca5477a5cce32e9691eb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to test the SDK with PATH from the original host, not with our own
tools injected via HOSTTOOLS. It even uses some tools which aren't in
HOSTTOOLS.
This is necessary after changing the SDK to not reset PATH to the system
default which is bad for other reasons and brings the testing into sync
with that change.
(From OE-Core rev: 87c9602fd0dedc7bcf75b822aaf5f6ebfc17737c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the seeing broken replacements like:
oe-selftest-centos/build/build-st-926tools/sysroots/x86_64-pokysdk-linux/etc/ssl/certs/ca-certificates.crt
which understandably break builds.
(From OE-Core rev: 04ee0e8b95cd8ed890374e0007f976684206b630)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The source directory is not always a git repository, so when querying
git for data to set SOURCE_DATE_EPOCH, specify ${S}/.git as the git
directory to prevent retrieving incorrect data from any parent directory.
Fixes the following errors with the prior logic when building a kernel
that is not obtained from a git repository:
1. With TMPDIR set to a directory outside any git repository on a
mounted filesystem, reproducible builds fail in do_compile with this git
error:
fatal: not a git repository (or any parent up to mount point <abspath>)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
aborting before the error handling logic.
2. With TMPDIR located within a subdirectory of a git repository, the
SOURCE_DATE_EPOCH timestamp would be that of said repository rather than
that of the kernel.
(From OE-Core rev: 270ae94fe345b9ce98d822034cbfad7e24c5f393)
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The nativesdk variant is needed by the buildtools-tarball, when
p11-kit feature is enabled for gnutls. The error message is:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-wget', 'nativesdk-gnutls', 'nativesdk-p11-kit']
(From OE-Core rev: 744f2472df627cd85dd11aa9da445a2a1af196ed)
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The merging of config fragments is performend in the do_kernel_configme
task and so config fragments will not be supported when this task is
removed from the dependency tree.
kernel-yocto adds additional tasks which may modify the source directory
to SRCTREECOVEREDTASKS so that they are removed when using externalsrc.
However, do_kernel_configme should be safe to use, the only modification
to the source tree is the potential creation of the '.kernel-meta'
directory and the '.metadir' file.
(From OE-Core rev: 44f04c039a4d61dd18666e42b9b9865cbc3ada9e)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the externalsrc class is used the tasks listed in
SRCTREECOVEREDTASKS are deleted to prevent them being executed. If
externalsrc is used for the kernel then this will include
virtual/kernel:do_patch.
We can depend on do_shared_workdir instead as this will survive when
externalsrc is used.
(From OE-Core rev: eab605bab94552046ec4adae5debe026cc03bb4c)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the externalsrc class is used the tasks listed in
SRCTREECOVEREDTASKS are deleted to prevent them being executed. If
externalsrc is used for the kernel then this will include
virtual/kernel:do_patch.
We can depend on do_shared_workdir instead as this will survive when
externalsrc is used.
(From OE-Core rev: 2c17d35cc7b9c5e01fd5829858d2f0234e7ac8d6)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if an existing TMPDIR is rebuilt, do_fetch/do_unpack can rerun
but SDE would remain unchanged. This leads to different results compared
to a fresh build. An example change which triggered this is:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cb4e69e6346a9fbeebf83a5d5397cacbd41d48b5
Instead, delete any existing SDE and recalculate if we're reunning.
Also rename and drop the do_ prefix since these are for tasks,
not functions.
(From OE-Core rev: 5d579fc2fe71637fc6e071aa66542befa39ac8bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If configure is rerun it finds msgfmt from gettext-native which is installed
during package_write_ipk|deb and means builds are not determinisic.
Whether msgfmt is needed is debatable (libc.mo files aren't generated without
it), however, we should at least be consistent which this patch ensures.
(From OE-Core rev: 9ffd08cf7d472e6572ee8f04781f410c9d657188)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* passing PERL=perl breaks c_rehash calls from dash (works fine with bash)
dash doesn't like
#!perl
shebang
PERL="/usr/bin/env perl"
unfortunately just passing PERL like this doesn't pass do_configure:
Creating Makefile
sh: 1: /usr/bin/env perl: not found
WARNING: exit code 1 from a shell command.
But passing it as:
HASHBANGPERL="/usr/bin/env perl" PERL=perl
seems to work.
(From OE-Core rev: 79350826396a882d115caafd88b0a49c91a4fa6c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
clang defines __arm which is interpreted as non-posix by make build
system but thats not correct when using clang so patch addresses that
(From OE-Core rev: e225278a8a894389add56d14908398c14512f6c9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuarm64 on aarch64 host errors out when using kvm
qemu-system-aarch64: PMU: KVM_SET_DEVICE_ATTR: Invalid argument
qemu-system-aarch64: failed to set irq for PMU
Aborted
machines with GICv3 that don’t support GICv2 guests you must have ‘-machine gic-version=3’ on the QEMU command line.
(From OE-Core rev: 17e93c6464184d137b9590f17bfa879ae79d0cfc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PF is already captured, but it's a pain to try to parse out PN and PV,
which can be helpful to have available.
(Bitbake rev: 2885034f42a1dce7586e081a0461b8932a3593bf)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously --runonly=do_task would give a misleading error like:
ERROR: Could not find any tasks with the tasknames ['do_task'] to run
within the recipes of the taskgraphs of the targets...
The problem is that BitBake tried to find "do_do_task". So teach it to
only add the do_ prefix if it's not already there.
(Bitbake rev: 694904bde980606dc67c201da61f4fb685679b17)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to the show-recipes subcommand that allows the user to
specify which multiconfig should be shown.
(Bitbake rev: 83256115c7b1fdf3fa5129cfba6b9e7cba2ae0da)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds support for the Tinfoil cache adaptor to be bound to a specific
multiconfig and invoke the appropriate commands for that multiconfig
instead of the default. The cooker adapter now creates a cache adapter
for each multiconfig specified in BBMULTICONFIG so that each multiconfig
is present.
(Bitbake rev: d515481681dca4a0bc733c6ad8a8498a82e3d9b9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cooker had a multiconfig parameter for the findProviders() and
findBestProviders() API, but it was being ignored.
(Bitbake rev: ea0b68ac2b77676ed1c63f0ee1ae5d300f2b4696)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a multiconfig selection parameter to the findProviders command.
This allows a client to find the providers for a specific multiconfig
instead of the base configuration.
(Bitbake rev: 95bb446137734865f3fe04fe97681d90250deb11)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wl1271-nvs.bin belongs to the wl18xx driver (and respective
package created here), see kernel source.
Due to the way packages are assembled here it ends up in the
wrong package, though.
Fix by placing it in the -common package as it's merely a
symlink to wl127x-nvs.bin (which does belong to the wl12xx),
so that both drivers have access to it.
(From OE-Core rev: e0cc3cb406efedad8673ff48fae7c9288172fc6d)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that this recipe uses make install, we don't manually
create symlinks for firmware files for older kernel in
do_install(). As such, the FILES statement can be updated
as well.
(From OE-Core rev: 4c60fa1d71eb40fb36fb336b55579979308be0a6)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
change whitelisted CVE status from "Patched" to "Whitelisted".
[Yocto #13687]
(From OE-Core rev: 181bdd670492525f9488d52c3ebb9a1b142e35ea)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not always override templateconf.cfg content. Add option to use
already existing file.
(From OE-Core rev: e524e49ef22fd69882d5d2d01cd84db790e9cb88)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FIRMWAREDIR defaults to /lib, failing when usrmerge is enabled:
ERROR: linux-firmware-1_20200122-r0 do_install: Execution of '/home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/temp/run.do_install.31218' failed with exit code 1:
mkdir -p /home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/lib/firmware
./copy-firmware.sh /home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/lib/firmware
cp: target '/home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/usr/lib/firmware/' is not a directory
(From OE-Core rev: e51b82b05678a2602afce0ad892d84125620cf73)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On the system whose cpu doesn't support rdrand,
there comes below message when start rngd service
#systemctl status rngd
[snip]
Feb 25 05:08:14 qemux86-64 rngd[133]: [rdrand]: Initialization Failed
[snip]
Actually the failed message doesn't matter as it
only indicates one entropy source as rdrand fails
to initialize and won't affect rngd function.
So add to ignore the failure message to fix below
error during do_testimage:
NOTE: ======================================================================
NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
File "/buildarea/layers/oe-core/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
return func(*args, **kwargs)
File "/buildarea/layers/oe-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 370, in test_parselogs
self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /buildarea/tmp/work/qemux86-64-wrs-linux/wrlinux-image-std/1.0-r5/target_logs/daemon.log
Central error: 2020-03-06T09:45:12.774286+00:00 qemux86-64 rngd[134]: [rdrand]: Initialization Failed
Reference: https://github.com/nhorman/rng-tools/pull/84
(From OE-Core rev: 09c4f9068858bf59eb60584a497f987bdd1e196e)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now this function has a summary parameter we can drop this check.
It could well be why the mysterious "locked sigs" selftest fails
intermittently if this function were called with a single hash
to check.
[YOCTO #13605] (with luck)
(From OE-Core rev: 02aabe0e59f73bf206d9bada1e7089832ceed254)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.2 recipes have been dropped from oe-core, so we drop the
5.2 bbappends to match.
(From meta-yocto rev: 1da347d7c9b50974648bf216b766bcb958159fa0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensures that gcc can use right operand constraints
(From OE-Core rev: 03e6d0f787cbd62156a163bfbcaed68bfcd379e8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing import os statement to the oeqa runtime ptest.py
(From OE-Core rev: e41c92c60694052c8292c1ea6b3d0b427aafafd7)
Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In our build environment we use wrapper script
for perl in non-standard configuration with
extra variables set (provided by custom
buildtools-tarball).
In this case openssl fails to build because
by default it's Configure script detects and uses
perl executable directly (with absolute path)
obviously missing extra settings from wrapper
script.
Pass PERL=perl environment variable to Configure,
so it won't try to use perl executable directly
but will use what is provided from environment.
(From OE-Core rev: 2b087fef6820da8a6d86ca763bd7730dcac30849)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated mesa and mesa-gl recipes to 20.0 release.
The license checksum difference is due to a small change in the license
formatting. The asterisk for footnotes was changed to a '[1]'
See: 199572b65b
glxgears runs successfully at 60 fps on a rpi4.
(From OE-Core rev: 0ee03e11bc2ae3faa6a2fcfdfae2ea35f7ba70ba)
Signed-off-by: Nathan Hartman <hnathan918@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Babeltrace 1 vs. Babeltrace 2
The Babeltrace project exists since 2010. In 2020, Babeltrace 2 was released.
Babeltrace 2 is a complete rewrite of the library, Python bindings, and CLI. It
is plugin based and offers much more features and potential than Babeltrace 1.
Because Babeltrace 2 is still a young released project, some distributions still
provide packages for the Babeltrace 1 project. Both projects can coexist on the
same system as there are no common installed files.
(From OE-Core rev: be52889ba5e5a2cf02f50b3f3acee8ca72ec494d)
Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Xen recipe has been divided into separate recipes for the hypervisor
and tools in meta-virtualization commit 545461ba, so the package name
references in the qemu recipe need to be updated to the new xen-tools
packages. This change allows the temporary bbappend applied to qemu in
meta-virtualization in that change to be retired.
(From OE-Core rev: e7a7ce0999de3c562e7288538641087cf6d55d1f)
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turns off readline for both native and target.
Also corrected a typo with enable-libgdbm-compat
(From OE-Core rev: 5a9f81f73e9397b90e4d6d0eed859e53915cdb46)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto 5.4 will serve as the versioned reference kernel in
the upcoming release, and -dev will serve as the "newer" kernel.
As such, we drop v5.2 from master, but will continue to update
and support it in released branches.
(From OE-Core rev: e71cda699189d3762d8af88d3ccdc0b0430b973c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
bfe3046ecafd Linux 5.4.23
bb7ffcbec227 ASoC: SOF: Intel: hda: Add iDisp4 DAI
fb81480206ae bpf: Selftests build error in sockmap_basic.c
19be2b3eea34 s390/mm: Explicitly compare PAGE_DEFAULT_KEY against zero in storage_key_init_range
148c8531b69c s390/kaslr: Fix casts in get_random
e26be2667399 net/mlx5e: Fix crash in recovery flow without devlink reporter
fca1cdd3417e net/mlx5: Fix sleep while atomic in mlx5_eswitch_get_vepa
06320052ee69 net/mlx5e: Reset RQ doorbell counter before moving RQ state from RST to RDY
773dfd2223e3 xen: Enable interrupts when calling _cond_resched()
9724b3f28dab ata: ahci: Add shutdown to freeze hardware resources of ahci
8eb92c122840 io_uring: prevent sq_thread from spinning when it should stop
b0f5f25c5541 rxrpc: Fix call RCU cleanup using non-bh-safe locks
829e0a0ae2dc netfilter: xt_hashlimit: limit the max size of hashtable
86502c68b81e ALSA: seq: Fix concurrent access to queue current tick/time
2b550d1c7ac6 ALSA: seq: Avoid concurrent access to queue flags
84e041a5df79 ALSA: rawmidi: Avoid bit fields for state flags
c7deb9612e35 io_uring: fix __io_iopoll_check deadlock in io_sq_thread
d562fdad84dd arm64: lse: Fix LSE atomics with LLVM
8132323eb397 bpf, offload: Replace bitwise AND by logical AND in bpf_prog_offload_info_fill
2463a30f6678 genirq/proc: Reject invalid affinity masks (again)
c23074e20989 crypto: rename sm3-256 to sm3 in hash_algo_name
8278f34f6ca8 iommu/vt-d: Fix compile warning from intel-svm.h
cfde4697ea4d ecryptfs: replace BUG_ON with error handling code
4c585d1e98d9 ASoC: fsl_sai: Fix exiting path on probing failure
59c723344aec ASoC: atmel: fix atmel_ssc_set_audio link failure
125b4a5345e2 staging: greybus: use after free in gb_audio_manager_remove_all()
2ca19dfafc04 staging: rtl8723bs: fix copy of overlapping memory
e6535a8c5d98 usb: dwc2: Fix in ISOC request length checking
ceb1997a2ec3 usb: gadget: composite: Fix bMaxPower for SuperSpeedPlus
826a43b22ce6 scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
d92e714a463d scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout"
42b4f3c8ec0b drm/msm/dpu: fix BGR565 vs RGB565 confusion
337cbf3ea855 drm/i915/gt: Protect defer_request() from new waiters
93805d430c53 drm/bridge: tc358767: fix poll timeouts
7de50906e772 drm/i915/gvt: more locking for ppgtt mm LRU list
19f8fb273193 drm/i915/execlists: Always force a context reload when rewinding RING_TAIL
1e0175a15474 drm/i915/gt: Detect if we miss WaIdleLiteRestore
341c8e03a90a Revert "dmaengine: imx-sdma: Fix memory leak"
9ad7f8df34d2 Btrfs: fix deadlock during fast fsync when logging prealloc extents beyond eof
73e1f2663273 btrfs: don't set path->leave_spinning for truncate
d3d0fb9d42d3 Btrfs: fix race between shrinking truncate and fiemap
c383f8ad2a12 Btrfs: fix btrfs_wait_ordered_range() so that it waits for all ordered extents
9af8e258895f btrfs: do not check delayed items are empty for single transaction cleanup
6065ca5d013d btrfs: reset fs_root to NULL on error in open_ctree
37a2e704807a btrfs: fix bytes_may_use underflow in prealloc error condtition
40ea30638d20 btrfs: destroy qgroup extent records on transaction abort
7e946e30a46d KVM: apic: avoid calculating pending eoi from an uninitialized val
dc5537061baf KVM: nVMX: handle nested posted interrupts when apicv is disabled for L1
16f8553f75b5 KVM: nVMX: clear PIN_BASED_POSTED_INTR from nested pinbased_ctls only when apicv is globally disabled
0f042f5e98f1 KVM: nVMX: Check IO instruction VM-exit conditions
c4064f14f744 KVM: nVMX: Refactor IO bitmap checks into helper function
e5d25003d059 ext4: fix race between writepages and enabling EXT4_EXTENTS_FL
5195dc6e9365 ext4: rename s_journal_flag_rwsem to s_writepages_rwsem
6ccdd6616a1c ext4: fix mount failure with quota configured as module
eac2bb1042b2 ext4: fix potential race between s_flex_groups online resizing and access
58631f8cbc24 ext4: fix potential race between s_group_info online resizing and access
bb43897de9b3 ext4: fix potential race between online resizing and write operations
ded8c21ac49c ext4: add cond_resched() to __ext4_find_entry()
1673674ccd86 ext4: fix a data race in EXT4_I(inode)->i_disksize
56b3949a2b5f KVM: x86: don't notify userspace IOAPIC on edge-triggered interrupt EOI
24dfae91a23a KVM: nVMX: Don't emulate instructions in guest mode
e61c236dcf34 sched/psi: Fix OOB write when writing 0 bytes to PSI files
26ae0493c181 drm/i915: Update drm/i915 bug filing URL
2104c4905a08 drm/i915: Wean off drm_pci_alloc/drm_pci_free
3e740fa80cc8 drm/nouveau/kms/gv100-: Re-set LUT after clearing for modesets
5e7dda6ddad1 drm/amdgpu/gfx10: disable gfxoff when reading rlc clock
7e482baf6d70 drm/amdgpu/gfx9: disable gfxoff when reading rlc clock
f141fac489ee drm/amdgpu/soc15: fix xclk for raven
95236ae76bf8 mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()
9bb971b33565 lib/stackdepot.c: fix global out-of-bounds in stack_slabs
ef32399bf729 mm/sparsemem: pfn_to_page is not valid yet on SPARSEMEM
198f5aa0f73e mm/vmscan.c: don't round up scan size for online memory cgroup
8735a5b6e1fb genirq/irqdomain: Make sure all irq domain flags are distinct
6e304262e393 nvme-multipath: Fix memory leak with ana_log_buf
e078c8d8971b mm/memcontrol.c: lost css_put in memcg_expand_shrinker_maps()
aa4f749f8136 Revert "ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()"
7b77e5a08224 ACPI: PM: s2idle: Check fixed wakeup events in acpi_s2idle_wake()
f18121a59b5a MAINTAINERS: Update drm/i915 bug filing URL
cf3c30a7112c serdev: ttyport: restore client ops on deregistration
80990c30b776 tty: serial: qcom_geni_serial: Fix RX cancel command failure
5b0af5e58368 tty: serial: imx: setup the correct sg entry for tx dma
671ea19c3214 tty/serial: atmel: manage shutdown in case of RS485 or ISO7816 mode
5ae6e5683755 serial: 8250: Check UPF_IRQ_SHARED in advance
e0253c422024 x86/cpu/amd: Enable the fixed Instructions Retired counter IRPERF
88e4901d3ebd x86/mce/amd: Fix kobject lifetime
de2cce5ae563 x86/mce/amd: Publish the bank pointer only after setup has succeeded
6df12de90e74 x86/ima: use correct identifier for SetupMode variable
453692eb5a38 jbd2: fix ocfs2 corrupt when clearing block group bits
98583fb54c2b arm64: memory: Add missing brackets to untagged_addr() macro
9b9374cf1ea7 powerpc/hugetlb: Fix 8M hugepages on 8xx
723a44f2288e powerpc/hugetlb: Fix 512k hugepages on 8xx with 16k page size
2ffeef3db358 powerpc/entry: Fix an #if which should be an #ifdef in entry_32.S
04e3f1d1e135 powerpc/tm: Fix clearing MSR[TS] in current when reclaiming on signal delivery
a03b3cea86fd powerpc/eeh: Fix deadlock handling dead PHB
9e1fab44502c powerpc/8xx: Fix clearing of bits 20-23 in ITLB miss
2558e71bbfc5 drm/panfrost: perfcnt: Reserve/use the AS attached to the perfcnt MMU context
3b8edaada13e staging: rtl8723bs: Fix potential overuse of kernel memory
4113e08e75d3 staging: rtl8723bs: Fix potential security hole
de63cd8b5521 staging: rtl8188eu: Fix potential overuse of kernel memory
ddedb84fcdc8 staging: rtl8188eu: Fix potential security hole
91aa9e475827 scsi: Revert "target/core: Inline transport_lun_remove_cmd()"
24aeb16934e8 usb: dwc3: debug: fix string position formatting mixup with ret and len
6dbf3ea0f566 usb: dwc3: gadget: Check for IOC/LST bit in TRB->ctrl fields
256cc85f6f86 usb: dwc2: Fix SET/CLEAR_FEATURE and GET_STATUS flows
c2f07cb7e317 USB: hub: Fix the broken detection of USB3 device in SMSC hub
e5d078af8e5f USB: hub: Don't record a connect-change event during reset-resume
5af8add0167c USB: Fix novation SourceControl XL after suspend
b3c64c8b2fab usb: uas: fix a plug & unplug racing
e805982b13e3 USB: quirks: blacklist duplicate ep on Sound Devices USBPre2
4c02497e8f65 USB: core: add endpoint-blacklist quirk
f9965af8e493 usb: host: xhci: update event ring dequeue pointer on purpose
5d0faf16f960 xhci: Fix memory leak when caching protocol extended capability PSI tables - take 2
ef69cf19bda8 xhci: apply XHCI_PME_STUCK_QUIRK to Intel Comet Lake platforms
02e326360053 xhci: fix runtime pm enabling for quirky Intel hosts
512dae7753cd xhci: Force Maximum Packet size for Full-speed bulk devices to valid range.
22ff13ac65cb staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.
41a53f5b68ec staging: android: ashmem: Disallow ashmem memory from being remapped
897d5aaf3397 vt: vt_ioctl: fix race in VT_RESIZEX
21275a431289 vt: selection, handle pending signals in paste_selection
a2c3858faf3a vt: fix scrollback flushing on background consoles
1eb78bc92c84 floppy: check FDC index for errors before assigning it
c5455e3fab20 e1000e: Use rtnl_lock to prevent race conditions between net and pci/pm
47a7a44650c1 USB: misc: iowarrior: add support for the 100 device
9b5e87086fa9 USB: misc: iowarrior: add support for the 28 and 28L devices
c8e28d325c97 USB: misc: iowarrior: add support for 2 OEMed devices
cfda8551dd59 thunderbolt: Prevent crash if non-active NVMem file is read
802a8369d21f btrfs: handle logged extent failure properly
3c4ef8ac8f4b ecryptfs: fix a memory leak bug in ecryptfs_init_messaging()
7e1dbc6656ff ecryptfs: fix a memory leak bug in parse_tag_1_packet()
909149bf61da tpm: Initialize crypto_id of allocated_banks to HASH_ALGO__LAST
9f83363875be ASoC: sun8i-codec: Fix setting DAI data format
3de0bbe21312 ASoC: codec2codec: avoid invalid/double-free of pcm runtime
c45877ca9f62 ALSA: hda/realtek - Apply quirk for yet another MSI laptop
9dc3b7a5833a ALSA: hda/realtek - Apply quirk for MSI GP63, too
80c1e9c4c484 ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs
b76e00b67dc6 iommu/qcom: Fix bogus detach logic
f22dcb31727e Linux 5.4.22
105542cea2ea rtc: Kconfig: select REGMAP_I2C when necessary
cea9007ebb95 bcache: properly initialize 'path' and 'err' in register_bcache()
7967c3299e3f drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)
51c9c98a7bbe s390/pci: Recover handle in clp_set_pci_fn()
332c8b5bc358 mlxsw: spectrum_dpipe: Add missing error path
399ca7ee9130 fuse: don't overflow LLONG_MAX with end offset
77912b69a989 virtio_balloon: prevent pfn array overflow
9c80ae965082 cifs: log warning message (once) if out of disk space
3f14879fd6ce i40e: Relax i40e_xsk_wakeup's return value when PF is busy
6fa2bb0d06ca help_next should increase position index
6b851823ceaa NFS: Fix memory leaks
0562d37d143a drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage
c3e3d17d0c5b drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency
17bddc85f980 brd: check and limit max_part par
7291351c00e1 microblaze: Prevent the overflow of the start
7ceb32672b1e asm-generic/tlb: add missing CONFIG symbol
7a48064a42e0 iwlwifi: mvm: Check the sta is not NULL in iwl_mvm_cfg_he_sta()
1656781d15c0 iwlwifi: mvm: Fix thermal zone registration
0448387729d9 nvme-pci: remove nvmeq->tags
1d0fbf3e2687 nvmet: Pass lockdep expression to RCU lists
d5461fdd9645 irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL
793137b0511c bcache: fix incorrect data type usage in btree_flush_write()
57a180a630d8 bcache: explicity type cast in bset_bkey_last()
374eec821858 bcache: fix memory corruption in bch_cache_accounting_clear()
dc8c75f35374 reiserfs: prevent NULL pointer dereference in reiserfs_insert_item()
23b88b51de5c lib/scatterlist.c: adjust indentation in __sg_alloc_table
5a553bd43f59 ocfs2: fix a NULL pointer dereference when call ocfs2_update_inode_fsync_trans()
799c4c1e389f ocfs2: make local header paths relative to C files
7a97311de48d btrfs: do not do delalloc reservation under page lock
a531e6ba85a0 powerpc: Do not consider weak unresolved symbol relocations as bad
528c36e14b17 radeon: insert 10ms sleep in dce5_crtc_load_lut
224c0751dfb7 trigger_next should increase position index
e349287276c2 ftrace: fpid_next() should increase position index
8a7bfa3d97dc char: hpet: Fix out-of-bounds read bug
427f39e23326 drm/nouveau/disp/nv50-: prevent oops when no channel method map provided
39c6932240c5 irqchip/gic-v3: Only provision redistributors that are enabled in ACPI
074c4c43fce2 drm/amd/display: do not allocate display_mode_lib unnecessarily
1687b204ae83 rbd: work around -Wuninitialized warning
bd4e1894166b ceph: check availability of mds cluster on mount after wait timeout
7288d5338c85 powerpc/mm: Don't log user reads to 0xffffffff
3ce3df5d00d0 bpf: map_seq_next should always increase position index
9a178494d05b cifs: fix NULL dereference in match_prepath
9c5ede115a6e cifs: Fix mount options set in automount
1d8e40cf86e4 cifs: fix unitialized variable poential problem with network I/O cache lock patch
a2763f62baa4 iwlegacy: ensure loop counter addr does not wrap and cause an infinite loop
034c5f26d2bf rtw88: fix potential NULL skb access in TX ISR
e7e4d0eaa639 hostap: Adjust indentation in prism2_hostapd_add_sta
32662df2d0bc ALSA: usb-audio: add quirks for Line6 Helix devices fw>=2.82
2ccaac382af0 ARM: 8951/1: Fix Kexec compilation issue.
16ec28640dc6 selftests/eeh: Bump EEH wait time to 60s
93df1b23b157 powerpc/pseries/lparcfg: Fix display of Maximum Memory
411327180703 jbd2: make sure ESHUTDOWN to be recorded in the journal superblock
314e25f4b0cf jbd2: switch to use jbd2_journal_abort() when failed to submit the commit record
b911c5e8686a selftests: bpf: Reset global state between reuseport test runs
251c53a92b54 alarmtimer: Make alarmtimer platform device child of RTC device
777baa1baf63 iommu/vt-d: Remove unnecessary WARN_ON_ONCE()
b5f6bf0fdd71 bcache: fix use-after-free in register_bcache()
393b8509be33 bcache: rework error unwinding in register_bcache
f7d8ebf26d23 bcache: cached_dev_free needs to put the sb page
714cd4a5127a btrfs: Fix split-brain handling when changing FSID to metadata uuid
dc22bc8a8626 btrfs: separate definition of assertion failure handlers
3420f1b304b3 media: uvcvideo: Add a quirk to force GEO GC6500 Camera bits-per-pixel value
3f6c8de753ed powerpc/sriov: Remove VF eeh_dev state when disabling SR-IOV
9d5fc7f14ef2 drm/nouveau/mmu: fix comptag memory leak
707518c16ba4 sunrpc: Fix potential leaks in sunrpc_cache_unhash()
46503858e275 ALSA: hda - Add docking station support for Lenovo Thinkpad T420s
ea038a5270b5 bpf, btf: Always output invariant hit in pahole DWARF to BTF transform
f11aefc9961d driver core: platform: fix u32 greater or equal to zero comparison
843eb0a8cf53 s390/ftrace: generate traced function stack frame
68c3cc414e08 s390: adjust -mpacked-stack support check for clang 10
838bddc295a0 x86/decoder: Add TEST opcode to Group3-2
a4f6948e57f0 objtool: Fix ARCH=x86_64 build error
59e2355bdfc5 kbuild: use -S instead of -E for precise cc-option test in Kconfig
ba6ad897c3dc spi: spi-fsl-qspi: Ensure width is respected in spi-mem operations
dbdc1c12966e ALSA: hda/hdmi - add retry logic to parse_intel_hdmi()
fa7d320dbbbe irqchip/mbigen: Set driver .suppress_bind_attrs to avoid remove problems
27f3dc35fd59 regulator: core: Fix exported symbols to the exported GPL version
18eca3cb5dd9 remoteproc: Initialize rproc_class before use
496d6c021828 module: avoid setting info->name early in case we can fall back to info->mod->name
7303a0b0a537 btrfs: device stats, log when stats are zeroed
f9ab58f9a2ab btrfs: safely advance counter when looking up bio csums
ebf8e5411888 btrfs: fix possible NULL-pointer dereference in integrity checks
50b93369668b pwm: Remove set but not set variable 'pwm'
adf4ab6d8312 ide: serverworks: potential overflow in svwks_set_pio_mode()
e5c8d3abd927 cmd64x: potential buffer overflow in cmd64x_program_timings()
419035d75dbe pwm: omap-dmtimer: Remove PWM chip in .remove before making it unfunctional
e7e6b53fea10 x86/mm: Fix NX bit clearing issue in kernel_map_pages_in_pgd
225a5b5bee00 f2fs: fix memleak of kobject
337c7b95e16e regulator: vctrl-regulator: Avoid deadlock getting and setting the voltage
bf754c88865d ASoC: SOF: Intel: hda: Fix SKL dai count
84255fe86d07 debugobjects: Fix various data races
0b2ecef39d8e watchdog/softlockup: Enforce that timestamp is valid on boot
d8a6a443ff0a perf/x86/amd: Constrain Large Increment per Cycle events
f2323c374e49 sched/topology: Assert non-NUMA topology masks don't (partially) overlap
5d13f62b9ef6 sched/core: Fix size of rq::uclamp initialization
8da6ae7dcb16 arm64: dts: ti: k3-j721e-main: Add missing power-domains for smmu
88cf251d3c0d KVM: PPC: Remove set but not used variable 'ra', 'rs', 'rt'
d4870a4343f3 EDAC/sifive: Fix return value check in ecc_register()
0a8f90d5654d drm/amd/display: fixup DML dependencies
304982d21e2b arm64: fix alternatives with LLVM's integrated assembler
f68668292496 arm64: lse: fix LSE atomics with LLVM's integrated assembler
b04235f1e11d RDMA/mlx5: Don't fake udata for kernel path
da2d50868e59 ALSA: usb-audio: add implicit fb quirk for MOTU M Series
5a6f5b327fce crypto: essiv - fix AEAD capitalization and preposition use in help text
817faa4ed433 scsi: iscsi: Don't destroy session if there are outstanding connections
12b685be50c7 scsi: ufs-mediatek: add apply_dev_quirks variant operation
4fa2dd4eebfd scsi: ufs: pass device information to apply_dev_quirks
0016939be0ee f2fs: free sysfs kobject
06c34c604b13 f2fs: set I_LINKABLE early to avoid wrong access by vfs
f51caa62dea1 ALSA: usb-audio: unlock on error in probe
480494e28a51 iommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE
23d3f191a576 kbuild: remove *.tmp file when filechk fails
1fc9746acbb2 usb: musb: omap2430: Get rid of musb .set_vbus for omap2430 glue
9112d1ef5a1b perf/imx_ddr: Fix cpu hotplug state cleanup
994b203b619d drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
13d368cd1e13 gpiolib: Set lockdep class for hierarchical irq domains
7f0d9ac2621e dm thin: don't allow changing data device during thin-pool reload
74f42a77318e drm/nouveau/fault/gv100-: fix memory leak on module unload
18792937b064 drm/nouveau/drm/ttm: Remove set but not used variable 'mem'
a94c84c5c4bc drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler
93672fa5b9b3 drm/nouveau/gr/gk20a,gm200-: add terminators to method lists read from fw
63e00e2c80e5 drm/nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()
760baae7ab35 vme: bridges: reduce stack usage
76fac0e735c7 bpf: Return -EBADRQC for invalid map type in __bpf_tx_xdp_map
be1113b4b415 ASoC: SOF: Intel: hda-dai: fix compilation warning in pcm_prepare
a8b37e32415e driver core: Print device when resources present in really_probe()
3f6af05d1d1b driver core: platform: Prevent resouce overflow from causing infinite loops
11c759264c32 visorbus: fix uninitialized variable access
83f964dd14a7 misc: xilinx_sdfec: fix xsdfec_poll()'s return type
9087af8639c2 tty: synclink_gt: Adjust indentation in several functions
71faeca11055 tty: synclinkmp: Adjust indentation in several functions
a922fa72a860 raid6/test: fix a compilation warning
6cfe307b5be7 ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
5bff3c470f84 ALSA: usb-audio: Add boot quirk for MOTU M Series
d691d1e5836d ARM: dts: rockchip: add reg property to brcmf sub node for rk3188-bqedison2qc
7c32c479b1e0 arm64: dts: rockchip: add reg property to brcmf sub-nodes
f9de6fb6e679 arm64: dts: rockchip: fix dwmmc clock name for px30
989a495ed9a3 clocksource: davinci: only enable clockevents once tim34 is initialized
48be6f9d2f7e wan: ixp4xx_hss: fix compile-testing on 64-bit
73f48c1004d4 x86/nmi: Remove irq_work from the long duration NMI handler
b075c29e816c bnxt: Detach page from page pool before sending up the stack
1e703d621b9c Input: edt-ft5x06 - work around first register access error
2b1fd461067f rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
5f0a4eba2a88 efi/x86: Don't panic or BUG() on non-critical error conditions
5cf01eacd5c2 soc/tegra: fuse: Correct straps' address for older Tegra124 device trees
75d916c3b393 IB/hfi1: Add RcvShortLengthErrCnt to hfi1stats
9cfe6c21ff17 IB/hfi1: Add software counter for ctxt0 seq drop
8689967be56d staging: rtl8188: avoid excessive stack usage
bfe29951e250 drm/mediatek: Add gamma property according to hardware capability
6ceef50235d1 udf: Fix free space reporting for metadata and virtual partitions
03560e4a19fe usbip: Fix unsafe unaligned pointer usage
e653e1c05423 ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco
6e86c4ce5d3a usb: dwc3: use proper initializers for property entries
ab7edf7fa651 drm: remove the newline for CRC source name.
9d89ff3d27e0 RDMA/hns: Avoid printing address of mtt page
5a2a529974e1 mlx5: work around high stack usage with gcc
010cdc1be053 drm/amdkfd: Fix permissions of hang_hws
960671ac5065 iommu/vt-d: Avoid sending invalid page response
2aab9e9d1f3d iommu/vt-d: Match CPU and IOMMU paging mode
4ffdfc414d81 ACPI: button: Add DMI quirk for Razer Blade Stealth 13 late 2019 lid switch
e9e24f2ca9a6 ASoC: Intel: sof_rt5682: Ignore the speaker amp when there isn't one.
d00a15040454 vfio/spapr/nvlink2: Skip unpinning pages on error exit
e44b48f5bb64 tools lib api fs: Fix gcc9 stringop-truncation compilation error
3e32b1282b11 net: phy: fixed_phy: fix use-after-free when checking link GPIO
4070a491bfcf ALSA: sh: Fix compile warning wrt const
cf24ed82438c ALSA: hda/realtek - Apply mic mute LED quirk for Dell E7xx laptops, too
2417ea1d07a5 clk: uniphier: Add SCSSI clock gate for each channel
6447bfe82922 clk: Use parent node pointer during registration if necessary
6c7984312d35 ALSA: sh: Fix unused variable warnings
9f87fff25159 clk: sunxi-ng: add mux and pll notifiers for A64 CPU clock
d1d92e97260f RDMA/rxe: Fix error type of mmap_offset
c87c4d442b9f fbdev: fix numbering of fbcon options
67ca691658f5 ASoC: soc-topology: fix endianness issues
04361b8961d6 reset: uniphier: Add SCSSI reset control for each channel
e39aac0e65f1 pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs
9ed73297980b drm/fbdev: Fallback to non tiled mode if all tiles not present
d3db7b78e7d6 PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency
704582e6a714 PM / devfreq: exynos-ppmu: Fix excessive stack usage
bc866376d7cd x86/vdso: Provide missing include file
b5fe09b676de crypto: chtls - Fixed memory leak
a739564c4c53 net: phy: realtek: add logging for the RGMII TX delay configuration
4783bf08f8d2 bpf: Print error message for bpftool cgroup show
8a7aa4feeaea dmaengine: imx-sdma: Fix memory leak
f99958a96c7f dmaengine: Store module owner in dma_device struct
93a3eff6fab3 clk: actually call the clock init before any other callback of the clock
fa0150ba88fa iommu/iova: Silence warnings under memory pressure
8c358435459b iommu/amd: Only support x2APIC with IVHD type 11h/40h
b1b7add9d2de iommu/amd: Check feature support bit before accessing MSI capability registers
0c09d9dc8440 arm64: dts: qcom: db845c: Enable ath10k 8bit host-cap quirk
ce591c921944 scsi: lpfc: Fix: Rework setting of fdmi symbolic node name registration
111749fba968 selinux: ensure we cleanup the internal AVC counters on error in avc_update()
069d2385f381 ARM: dts: r8a7779: Add device node for ARM global timer
f9b42cb09d8b clk: renesas: rcar-gen3: Allow changing the RPC[D2] clocks
d80f9dfe47ce drm/mediatek: handle events when enabling/disabling crtc
57cd234da28c crypto: inside-secure - add unspecified HAS_IOMEM dependency
df0f4455a12f scsi: aic7xxx: Adjust indentation in ahc_find_syncrate
f6ebbf46c3a8 scsi: ufs: Complete pending requests in host reset and restore path
8728001e1e41 nfsd: Clone should commit src file metadata too
d67d31cb0e92 ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1
3fa5ba7b1912 clk: qcom: smd: Add missing bimc clock
43ef7ad610dc drm/amdgpu: fix KIQ ring test fail in TDR of SRIOV
75423fdad259 orinoco: avoid assertion in case of NULL pointer
5a14db967b72 rtlwifi: rtl_pci: Fix -Wcast-function-type
f20bc906af52 iwlegacy: Fix -Wcast-function-type
3acea3092a33 ipw2x00: Fix -Wcast-function-type
bc8746721cdf b43legacy: Fix -Wcast-function-type
90053ff023da PCI: Add DMA alias quirk for PLX PEX NTB
27a35f09367f PCI: Add nr_devfns parameter to pci_add_dma_alias()
dd77f77004b6 ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status
b6c857e5e500 netfilter: nft_tunnel: add the missing ERSPAN_VERSION nla_policy
1e2b6e5f32aa fore200e: Fix incorrect checks of NULL pointer dereference
58bc57b373e0 r8169: check that Realtek PHY driver module is loaded
cdd5b09bcbc0 samples/bpf: Set -fno-stack-protector when building BPF programs
af77e76625be reiserfs: Fix spurious unlock in reiserfs_fill_super() error handling
6107a895e383 media: v4l2-device.h: Explicitly compare grp{id,mask} to zero in v4l2_device macros
cf03458ab2cf selftests/net: make so_txtime more robust to timer variance
687ef9c269b6 gpu/drm: ingenic: Avoid null pointer deference in plane atomic update
e07c107a2483 Revert "nfp: abm: fix memory leak in nfp_abm_u32_knode_replace"
6a05af0b718a PCI: Increase D3 delay for AMD Ryzen5/7 XHCI controllers
5700b8073f03 PCI: Add generic quirk for increasing D3hot delay
1e7b1684de37 media: cx23885: Add support for AVerMedia CE310B
a3a7f90936d7 PCI: iproc: Apply quirk_paxc_bridge() for module as well as built-in
76ce0e269b4a bus: ti-sysc: Implement quirk handling for CLKDM_NOAUTO
2fc336213605 ARM: dts: imx6: rdu2: Limit USBH1 to Full Speed
f3e63a4ddf19 ARM: dts: imx6: rdu2: Disable WP for USDHC2 and USDHC3
dbe3806c7191 ARM: exynos_defconfig: Bring back explicitly wanted options
4ece124849a2 clk: imx: Add correct failure handling for clk based helpers
0685dfa0a2ff padata: validate cpumask without removed CPU during offline
c3a007435359 arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core
0e44cd879ba1 selinux: ensure we cleanup the internal AVC counters on error in avc_insert()
5fed8c513adb opp: Free static OPPs on errors while adding them
ef6b35dfe142 arm: dts: allwinner: H3: Add PMU node
5a241d7bf1e6 arm64: dts: allwinner: H5: Add PMU node
02dfae36b03f arm64: dts: allwinner: H6: Add PMU mode
5f0a50b0a37d NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().
53d9b08dc80d net/wan/fsl_ucc_hdlc: reject muram offsets above 64K
12ba455b1d28 regulator: rk808: Lower log level on optional GPIOs being not available
bae02d239a38 ASoC: intel: sof_rt5682: Add support for tgl-max98357a-rt5682
fa54ae038c95 ASoC: intel: sof_rt5682: Add quirk for number of HDMI DAI's
4c50665fc968 modules: lockdep: Suppress suspicious RCU usage warning
fa0316aaf094 arm64: dts: rockchip: Fix NanoPC-T4 cooling maps
3a28e0701264 drm/panel: simple: Add Logic PD Type 28 display support
c3c3f3449b8c drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREG
ddbdf757a7ef ath10k: correct the tlv len of ath10k_wmi_tlv_op_gen_config_pno_start
69c12b79e9e2 drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table
ad9728b377a6 bpf, sockhash: Synchronize_rcu before free'ing map
25c85d8574d8 drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode
dff5d0fc77a5 clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
8d122cd0d266 clk: qcom: Don't overwrite 'cfg' in clk_rcg2_dfs_populate_freq()
8ba34cdadba3 kconfig: fix broken dependency in randconfig-generated .config
39a708219509 block, bfq: do not plug I/O for bfq_queues with no proc refs
b0d5c881d36e drivers/block/zram/zram_drv.c: fix error return codes not being returned in writeback_store
53aaa9f1a638 Btrfs: keep pages dirty when using btrfs_writepage_fixup_worker
3aa694d0e112 KVM: s390: ENOTSUPP -> EOPNOTSUPP fixups
25cbba5d4e14 nbd: add a flush_workqueue in nbd_start_device
201fdd62bb23 tracing: Simplify assignment parsing for hist triggers
7bc84d854017 drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zero
806f57ec2b52 rtc: i2c/spi: Avoid inclusion of REGMAP support when not needed
b752d473b1fb selftests: settings: tests can be in subsubdirs
6f65dd66ea6f brcmfmac: sdio: Fix OOB interrupt initialization on brcm43362
abf8d588e3b1 rtw88: fix rate mask for 1SS chip
3eee03d0ffb8 ath10k: Correct the DMA direction for management tx buffers
494c30b80550 ext4, jbd2: ensure panic when aborting with zero errno
8343f165f3d4 ARM: 8952/1: Disable kmemleak on XIP kernels
8c72748e9f6a tracing: Fix very unlikely race of registering two stat tracers
75225eee8715 tracing: Fix tracing_stat return values in error handling paths
8be3ac46ef80 powerpc/iov: Move VF pdev fixup into pcibios_fixup_iov()
256e52a1a915 s390/pci: Fix possible deadlock in recover_store()
37ea6d15b197 wan/hdlc_x25: fix skb handling
77b131f652d4 dmaengine: fsl-qdma: fix duplicated argument to &&
d30a4882e630 udf: Allow writing to 'Rewritable' partitions
a3536e5589c7 pwm: omap-dmtimer: Simplify error handling
971579fae1b4 x86/sysfb: Fix check for bad VRAM size
7828a927b850 clk: ti: dra7: fix parent for gmac_clkctrl
2d7fa7564bc4 ext4: fix deadlock allocating bio_post_read_ctx from mempool
c982320078dd jbd2: clear JBD2_ABORT flag before journal_reset to update log tail info when load journal
56953ccd7f00 kselftest: Minimise dependency of get_size on C library interfaces
6aa96ec9c196 drm/amd/display: Clear state after exiting fixed active VRR state
c7fc72092134 clocksource/drivers/bcm2835_timer: Fix memory leak of timer
9f0414eed212 usb: dwc2: Fix IN FIFO allocation
2cea5895b69d usb: gadget: udc: fix possible sleep-in-atomic-context bugs in gr_probe()
531d0ac5fbbd drm/nouveau/nouveau: fix incorrect sizeof on args.src an args.dst
d34ecf4949de spi: fsl-lpspi: fix only one cs-gpio working
9f3a2e147f0e drm/amdgpu/sriov: workaround on rev_id for Navi12 under sriov
750a95d63746 uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol()
b2f28d11f2a1 raid6/test: fix a compilation error
448563605d98 net: ethernet: ixp4xx: Standard module init
b5d649f14470 sparc: Add .exit.data section.
c09d0bd924ac MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init()
ed140997f80c efi/x86: Map the entire EFI vendor string before copying it
04a5bebd7789 pinctrl: baytrail: Do not clear IRQ flags on direct-irq enabled pins
9ad79d4fa032 IB/core: Let IB core distribute cache update events
f606721660a6 kernel/module: Fix memleak in module_add_modinfo_attrs()
fc3c0fc85d69 media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run()
bc4730880281 char/random: silence a lockdep splat with printk()
0b455673e7c4 x86/fpu: Deactivate FPU state after failure during state load
9b743915bd00 iommu/vt-d: Fix off-by-one in PASID allocation
739abce96dd0 gpio: gpio-grgpio: fix possible sleep-in-atomic-context bugs in grgpio_irq_map/unmap()
e715aa99c502 clk: meson: meson8b: make the CCF use the glitch-free mali mux
271b18405eb0 powerpc/powernv/iov: Ensure the pdn for VFs always contains a valid PE number
2f812301bacf clk: at91: sam9x60: fix programmable clock prescaler
e1e1cdbc646f media: sun4i-csi: Fix [HV]sync polarity handling
65fbde986aef media: sun4i-csi: Fix data sampling polarity handling
f5076ea1bc9d media: sun4i-csi: Deal with DRAM offset
cb514c01f6e4 media: i2c: mt9v032: fix enum mbus codes and frame sizes
ecb8ea6f93e5 media: ov5640: Fix check for PLL1 exceeding max allowed rate
9c76a7b28edc pxa168fb: Fix the function used to release some memory in an error handling path
4a8bb7ce9f0b drm/msm/adreno: fix zap vs no-zap handling
4aa148666a70 drm/mipi_dbi: Fix off-by-one bugs in mipi_dbi_blank()
d21cc4ea7a82 printk: fix exclusive_console replaying
f46afae807aa pinctrl: sh-pfc: sh7264: Fix CAN function GPIOs
fcc0000109b0 gianfar: Fix TX timestamping with a stacked DSA driver
c324effa6d9d ALSA: ctl: allow TLV read operation for callback type of element in locked case
4125714ce1d6 ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT
348a7ccdb9f0 leds: pca963x: Fix open-drain initialization
4e2d5e3eb865 drm/amd/display: Map ODM memory correctly when doing ODM combine
b3224bf30709 PCI: Fix pci_add_dma_alias() bitmask size
071963d37143 brcmfmac: Fix use after free in brcmf_sdio_readframes()
55195593a8c6 brcmfmac: Fix memory leak in brcmf_p2p_create_p2pdev()
c4d0a90b5029 cpu/hotplug, stop_machine: Fix stop_machine vs hotplug order
4d7f8ca608b2 clk: meson: pll: Fix by 0 division in __pll_params_to_rate()
343fc9a26887 media: meson: add missing allocation failure check on new_buf
85275286d118 f2fs: call f2fs_balance_fs outside of locked page
678b25bfd983 f2fs: preallocate DIO blocks when forcing buffered_io
255edefeb0b8 rcu: Fix data-race due to atomic_t copy-by-value
b7725deb9d61 rcu: Fix missed wakeup of exp_wq waiters
3ece067c12e1 rcu/nocb: Fix dump_tree hierarchy print always active
2339f7a55c84 drm/qxl: Complete exception handling in qxl_device_init()
3deb6e993ec4 wil6210: fix break that is never reached because of zero'ing of a retry counter
281ebbcdee49 ath10k: Fix qmi init error handling
726196728c2c drm/gma500: Fixup fbdev stolen size usage evaluation
60e055d59d0e net/sched: flower: add missing validation of TCA_FLOWER_FLAGS
58cd462bc5b1 net/sched: matchall: add missing validation of TCA_MATCHALL_FLAGS
d9bc012b4a47 net: dsa: tag_qca: Make sure there is headroom for tag
42dd56266b9f net/smc: fix leak of kernel memory to user space
f1f2eea30d19 enic: prevent waking up stopped tx queues over watchdog reset
8f22873582a7 core: Don't skip generic XDP program execution for cloned SKBs
2d636a1263be Linux 5.4.21
c10cfc131c0b mmc: core: Rework wp-gpio handling
b0ad23142a2a gpio: add gpiod_toggle_active_low()
2cbbe28c734b KVM: x86/mmu: Fix struct guest_walker arrays for 5-level paging
ac3aea49cc35 ext4: choose hardlimit when softlimit is larger than hardlimit in ext4_statfs_project()
9275ae515385 jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer
f09998f7a11f jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()
0e365eafbcaa Revert "drm/sun4i: drv: Allow framebuffer modifiers in mode config"
590d35beddcc NFSv4.1 make cachethis=no for writes
7bee7eabf0ed perf stat: Don't report a null stalled cycles per insn metric
1164c3380958 KVM: x86: Mask off reserved bit from #DB exception payload
ec86856b4672 arm64: dts: fast models: Fix FVP PCI interrupt-map property
51a610a5c88d cifs: fix mount option display for sec=krb5i
db5a68ffad2a mac80211: fix quiet mode activation in action frames
671338889e8f hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
98509dfe6f25 perf/x86/intel: Fix inaccurate period in context switch for auto-reload
1d2a31baf6b6 spmi: pmic-arb: Set lockdep class for hierarchical irq domains
9f6f61c61a84 sched/uclamp: Reject negative values in cpu_uclamp_write()
115402ee80ce s390/time: Fix clk type in get_tod_clock
ae88de70c254 RDMA/core: Fix protection fault in get_pkey_idx_qp_list
2c753af06f23 RDMA/rxe: Fix soft lockup problem due to using tasklets in softirq
8662e612ae4c RDMA/hfi1: Fix memory leak in _dev_comp_vect_mappings_create
b860a4524217 RDMA/iw_cxgb4: initiate CLOSE when entering TERM
c60c4b4b6bf2 RDMA/core: Fix invalid memory access in spec_filter_size
8a14f01c4d0f IB/umad: Fix kernel crash while unloading ib_umad
6603342a6060 IB/rdmavt: Reset all QPs when the device is shut down
b16dfda32ca5 IB/hfi1: Close window for pq and request coliding
327f33e54c7f IB/hfi1: Acquire lock to release TID entries when user file is closed
e30e30c042fe IB/mlx5: Return failure when rts2rts_qp_counters_set_id is not supported
cf0ea974b6a2 drivers: ipmi: fix off-by-one bounds check that leads to a out-of-bounds write
5e9f573dc8e7 nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info
fa3c053b8313 bus: moxtet: fix potential stack buffer overflow
279c15b917ec drm/panfrost: Make sure the shrinker does not reclaim referenced BOs
3ea7f138cec1 drm/vgem: Close use-after-free race in vgem_gem_create
9ea66515918e s390/uv: Fix handling of length extensions
9e6874da9446 s390/pkey: fix missing length of protected key on return
ebc3ddc1a255 perf/x86/amd: Add missing L2 misses event spec to AMD Family 17h's event map
db6f68908bce KVM: nVMX: Use correct root level for nested EPT shadow page tables
ce8b9b8032bd EDAC/mc: Fix use-after-free and memleaks during device removal
b2e977a9731f EDAC/sysfs: Remove csrow objects on errors
03f6c2bf9562 cifs: make sure we do not overflow the max EA buffer size
ff04f342f8c4 xprtrdma: Fix DMA scatter-gather list mapping imbalance
22f15745c4e7 arm64: ssbs: Fix context-switch when SSBS is present on all CPUs
4267ba3bac6d gpio: xilinx: Fix bug where the wrong GPIO register is written to
8791bb8f8471 ARM: npcm: Bring back GPIOLIB support
cafaf6bcce60 btrfs: log message when rw remount is attempted with unclean tree-log
2655c88c03e8 btrfs: print message when tree-log replay starts
f3cdf024ed19 btrfs: ref-verify: fix memory leaks
bf4a9715a914 Btrfs: fix race between using extent maps and merging them
c43f560acc85 ext4: improve explanation of a mount failure caused by a misconfigured kernel
94f0fe04da78 ext4: add cond_resched() to ext4_protect_reserved_inode
5b0a26514d6c ext4: fix checksum errors with indexed dirs
449e607322d7 ext4: fix support for inode sizes > 1024 bytes
f080204b677d ext4: don't assume that mmp_nodename/bdevname have NUL
86c30da1b684 ALSA: usb-audio: Add clock validity quirk for Denon MC7000/MCX8000
67d49871f8e4 ALSA: usb-audio: sound: usb: usb true/false for bool return type
c3b35c87e5b6 ACPI: PM: s2idle: Prevent spurious SCIs from waking up the system
303740645567 ACPICA: Introduce acpi_any_gpe_status_set()
0671627a5faa ACPI: PM: s2idle: Avoid possible race related to the EC GPE
b9f78af90d92 ACPI: EC: Fix flushing of pending work
25487999ca3a ALSA: usb-audio: Apply sample rate quirk for Audioengine D1
2b7e7004970a ALSA: hda/realtek - Fix silent output on MSI-GL73
1e73c5eae8c6 ALSA: hda/realtek - Add more codec supported Headset Button
c28273b42c95 ALSA: usb-audio: Fix UAC2/3 effect unit parsing
2323beb68436 Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list
efca0d73501a Input: synaptics - enable SMBus on ThinkPad L470
c6426ba5731b Input: synaptics - switch T470s to RMI4 by default
(From OE-Core rev: aef943886969fb4c411eb4dc2fd6fb5063ce0064)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The specific issue here is rpc/rpc.h, but its likely more general.
/usr/include is searched for rpc/rpc.h and if it exists on the
system, it changes behavior. If you are using the extended buildtools
tarball on a machine that has /usr/include/rpc/rpc.h, it will decide
that is good enough and not continue to search. nis fails to build
because /usr/include and /usr/lib are not part of the include/link
paths for the buildtools tarball compiler(nor should they be).
This makes it so python3-native will not build if you are using the
extended buildtools tarball, but from a larger issue perspective it
is building in likely different ways depending on what machine it
is building on.
libtirpc is already a depend so we shouldn't need the hosts rpc/rcp.h.
(From OE-Core rev: f37dfc7907ae7bac08d40468ddde2e5b8bba030c)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't happen with make install, hence all the -license packages
are missing, since they'd otherwise be empty.
(From OE-Core rev: 456a1431dd7d8472830b8716e80e64a888617354)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copying the source tree over was missing important symlinks
that since recent updates can only be created with make install.
(From OE-Core rev: 8764cc85f3ef570f1c220c3c200d6e02d3e7a260)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_kernel_checkout and do_symlink_kernsrc are both modifying ${S}, they
could conflict with eacher other, move do_kernel_checkout after
do_symlink_kernsrc does fix that.
(From OE-Core rev: 965090f42bc0576e938a0575b7938a1ff60b0018)
Signed-off-by: Ming Liu <liu.ming@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virtual/crypt-native is assume provided in bitbake.conf, so
buildtools-extended-tarball shoud provide crypt since it doesn't
use the host's headers/libraries.
[YOCTO #13714]
(From OE-Core rev: da948b25d5ef452fb35275d108e18d2a2829f4fb)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
legitimize_package_name wants the actual value of KERNEL_REVISION, so
use d.getVar() to fetch it as is done elsewhere in the file. Failing to
do so can result it weird errors at parsing time.
(From OE-Core rev: 9bff4d14693c1890fc181ec68c9f883dc4e4accf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, delete html docs as they have sysroot
paths in them, and adjust build configuration to not
refer to host paths either.
(From OE-Core rev: 7f58aed9d7b07d9f86717fc0c45b31b1887eb36a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport from git.kernel.dk. Changed shebangs to use python3.
(From OE-Core rev: 2c0ca4632f6c2ce645412ca975a70b3088c27916)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The number of threads used, and the amount of memory allowed
to be used, should not affect sstate signatures, as they
don't affect the outcome of the compression if xz operates
in multi-threaded mode [1].
Otherwise, it becomes impossible to re-use sstate from
automated builders on developer's machines (as the former
might execute bitbake with certain constraints different
compared to developer's machines).
This is in particular a problem with the opkg package writing
backend, as the OPKGBUILDCMD depends on XZ_DEFAULTS. Without
the vardepexclude, there is no re-use possible of the
package_write_ipk sstate.
Whitelist the maximum number of threads and the memory limit
given assumptions outlined in [2] below.
(From OE-Core rev: 7927d5f6eaab48578b23db9a4c38e2f87f011353)
Signed-off-by: André Draszik <git@andred.net>
[1] When starting out in multi-threaded mode, the output is always
deterministic, as even if xz scales down to single-threaded later,
the archives are still split into blocks and size information is
still added, thus keeping them compatible with multi-threaded mode.
Also, when starting out in multi-threaded mode, xz never scales
down the compression level to accomodate memory usage restrictions,
it just scales down the number of threads and errors out if it
can not accomodate the memory limit.
[2] Assumptions
* We only support multi-threaded mode (threads >= 2), builds
should not try to use xz in single-threaded mode
* The thread limit should be set via XZ_THREADS, not via
modifying XZ_DEFAULTS or XZ_OPTS, or any other way
* The thread limit should not be set to xz's magic value
zero (0), as that will lead to single-threaded mode on
single-core systems.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xz archives can be non-deterministic / non-reproducible:
a) archives are created differently in single- vs
multi-threaded modes
b) xz will scale down the compression level so as to
be try to work within any memory limit given to
it when operating in single-threaded mode
This means that due to bitbake's default of using as many
threads as there are cores in the system, files compressed
with xz will be different if built on a multi-core system
compared to single-core systems. They will also potentially
be different if built on single-core systems with different
amounts of physical memory, due to bitbake's default of
limiting xz's memory consumption.
Force multi-threaded operation by default, even on single-core
systems, so as to ensure archives are created in the same
way in all cases.
(From OE-Core rev: d96aa8594c8d7531da34645cadbac4f7549d8ae6)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will be needed for making xz compression more deterministic,
as xz archives are created differently in single- vs multi-threaded
modes.
This means that due to bitbake's default of using as many threads
as there are cores in the system, files compressed with xz
will be different if built on a multi-core system compared to
single-core systems.
Allowing cpu_count() here to return a lower bound, will allow
forcing xz to always use multi-threaded operation.
(From OE-Core rev: c6dda204e15c5b27559f7617b18a7b3ce604e2f8)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
version 2.x.x will be added with a new babeltrace2 recipe
(From OE-Core rev: 0616a5dbc61561fefcd1822ce263837437466df2)
Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It seems this service needs both Requires: and After: according to the definitions
in the systemd docs, else we see boot race failures.
(From OE-Core rev: d6b1809e8cd7ca78c5b442177393d4299a96ec65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linux Kernel 4.4 is an LTS kernel so people may still
build it with OE.
Thus make copying of some files optional:
- arm64 module.lds file first appeared with kernel v4.6 commit
fd045f6cd98e arm64: add support for module PLTs"
- arm32 *.tbl files first appeared in kernel v4.10 in
commit 96a8fae0fe09 "ARM: convert to generated
system call tables"
(From OE-Core rev: 3329dd6ea914c5fadbf63ecbfde9c66472df19ee)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update SRCREV to pick up:
c359546 Fix psplash-systemd failures
3c0a4f3 Remove generated psplash-poky-img.h
Also:
* set the unit type in psplash-start.service to "notify" to
complete the psplash-systemd race fix
* remove the rest of the now unnecessary has_png logic bits
* change the generated image header destination to B instead of S
since that now works after the recent makefile changes, and will
avoid unnecessarily polluting the source tree
(From OE-Core rev: 6f31da5632220a09ac65b8f361cdc9c64e64ce35)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building lzip-native just for being able to build make is not
worth saving 1 MB download, especially since this creates a
bottleneck for the whole build.
(From OE-Core rev: 136314ffd107654b7673d937acafb7f4a81ac5a9)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add pixmap to PACKAGECONFIG defaults to allow consumers to
render color emojis without distro changes.
(From OE-Core rev: 01d404302238b0ad570192118617083440d1d50a)
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the requested partition does not exist in this request "wic ls {path}:pnum"
display a nice message not a trackback
Also fix displaying the pnum and not "%s"
(From OE-Core rev: 15d1722950a22649905cf8a5789d3cfe48a2a892)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wayland-protocols 1.20 is now available.
This release is a brown paper bag release adding the missing README.md,
GOVERNANCE.md and MEMBERS.md files to the tarball. Distributions that
distribute one or more of these files should ignore the 1.19 release and
move directly to 1.20.
https://lists.freedesktop.org/archives/wayland-devel/2020-February/041269.html
(From OE-Core rev: 7bd664600cce0fba4e256c690078ef69e39be299)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Relicensed under the BSD-3-Clause license since v2.1
Remove patches applied upstream.
Since version v2.1, klogd was removed from the sysklogd project since
syslogd performs logging of kernel messages.
So, this patch remove klogd support.
(From OE-Core rev: c28457322eb6a141d0e8c66fc1c7eee681c0fe88)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed ffsb copying file and associated runtest file fs_ext4
(both removed in this release).
Added LIBS=-lfts for MUSL.
Removed patches (accepted upstream)
* 0001-mkswap01.sh-Add-udevadm-trigger-before-swap-verifica.patch
* 0001-testcases-fix-an-absent-format-string-issue.patch
* 0001-nm01-Remove-prefix-zeros-of-the-addresses-output-by-.patch
Merged patches
* 0006-rt_tgsigqueueinfo-disable-test-on-musl.patch
(into 0001-build-Add-option-to-select-libc-implementation.patch as they
touch the same files)
Refreshed patches (some tests have been fixed for musl)
* 0001-Add-more-musl-exclusions.patch
* 0001-build-Add-option-to-select-libc-implementation.patch
* 0002-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch
IMHO this one shouldn't be needed not, but CI still fails without it
Updated status
* 0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
* 0001-syscalls-Check-for-time64-unsafe-syscalls-before-usi.patch
(From OE-Core rev: 62e2063698477a13c55ae370451e52a2f1e18e45)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for example a tinfoil connection edits the datastore, a subsequent
connection can be "corrupted" by those changes. By setting the parse
status of the caches as False at exit, the behaviour becomes the same
as a newly setup server as a new data store is setup.
This avoids problems in tests when BB_SERVER_TIMEOUT is set as the
server is properly reset between connections.
[YOCTO #13812]
(Bitbake rev: e66759106e21da2b34a6cdec7aa681ad2204da54)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently bitbake will list many checksums for a recipe when none are
present, encouraging users to add them all to a recipe. We don't
need/want them all.
We used to show md5 and sha256 but given the concerns about md5,
switch to showing just sha256 going forward which seems like the
sensible one to standardise upon.
There will be no change to existing recipe functionality.
(Bitbake rev: 47f0c849ed13ba554d9523b926d92405e8251702)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
since commit 03154d2cf25c1d5ce908da9e72d324004b8d5722 ("sfdisk: add -J between mutually exclusive options")
in util-linux [1], the '-J' can't be used with the '-d' option anymore.
So, since we're using json format output, drop the '-d' option.
Fixes:
ERROR: _exec_cmd: <snip>/usr/sbin/sfdisk -dJ <snip>/core-image-minimal-qemux86-64.wic returned '1' instead of 0
output: sfdisk: mutually exclusive arguments: --list-free --json --dump
[1] - 03154d2cf2 (diff-31d5cc325380dbdafe64d0e019846f12)
(From OE-Core rev: 49e7f3e8e3a775510d8b0e2826a06d000934706b)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: add GPLv3 text in README.licensing
Also:
- Drop upstreamed patch
- Backport an upstream patch to fix an issue with 'sfdisk'
- Use 'disable-hwclock-gplv3' explicitly.
Since commit 7a3000f7ba548cf7d74ac77cc63fe8de228a669e ("hwclock: use parse_date function") hwclock is linked
with parse_date.y from gnullib. This gnulib code is distributed with GPLv3.
So, we have to use '--disable-hwclock-gplv3' to exclude this code.
See full changelog https://lore.kernel.org/util-linux/20200131095846.ogjtqrs7ai774tka@ws.net.home/T/#u
(From OE-Core rev: 324f33ba5a77d498cfff81c6857c78ad13b27125)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is no longer needed with the upgraded glibc version.
(From OE-Core rev: 2d51abf53e063ce6328290de728b5870530aa86a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc version has moved on to 2.31.x
(From OE-Core rev: ef681222a918030d726a79cf04111fb5d0b66355)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should fix the mips make 4.3 issue on target
Changes in this delta
* 71f2b249a2 malloc/tst-mallocfork2: Kill lingering process for unexpected failures
* 5d31b083e4 riscv: Avoid clobbering register parameters in syscall
* f4f8843515 microblaze: Avoid clobbering register parameters in syscall
* aa638b86b2 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523]
* ae1b6b13d4 mips: Use 'long int' and 'long long int' in linux syscall code
(From OE-Core rev: 79b23077288dd557842f987e558262d7d8522e25)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Downloading a file called "LICENSE" into DL_DIR is 'problematic' and collides with the
file from other versions of the recipe at best.
Rename it to something more specific to avoid collision problems.
(From OE-Core rev: 3ef237f2cd1836f4c9f584837fb25762fe4d4332)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will be needed again when using patchlevel versions again.
Also make it more generic.
(From OE-Core rev: 7939288700ad35ed43e5988371e16d5afc594a57)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Image files are always generated now so make the gdk-pixbuf dependency
required.
(From OE-Core rev: f273684f75c050ce3c7c4d93d73a27c973f84df5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patch to fix missing sys/time.h include in tests/atk_test_util.h
Release notes:
043b793de2/NEWS
License-Update: Changed to LGPL-2.1+
(From OE-Core rev: dd78eeef75cb94f14dda8ae50c0a0bee1fcfca07)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After make-4.3 migration child_execute_job function started
using posix_spawn function, which happens to be broken on mips.
It manifests itself as when make executed by root, it switches
real user id to wrong value because of some issues with direct
setresuid system call done in glibc __spawni_child function
through inline assemble and/or gcc compiling it produces wrong
code. I.e instead of passing -1 posix_spawn function incorrectly
passes 127 as ruid. Subsequently job started by make can fail
with permission issue because they run under wrong user.
For now workaround is used by explicitly disabling posix_spawn
call use by make on mips through configure variable.
(From OE-Core rev: de5572deff36ecf7dd209600a94b3b7fb991cdc1)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Announcement: https://lists.gnu.org/archive/html/bug-make/2020-01/msg00057.html
1) Remove upstream provided patches 0001-glob-Do-not-assume-glibc-glob-internals.patch
and 0002-glob-Do-not-assume-glibc-glob-internals.patch.
2) License has been changed to GPLv3 only
3) Important bug-fix is
* https://lists.gnu.org/archive/html/bug-make/2018-09/msg00006.html
4) Backward-incompatibilities:
* Number signs (#) appearing inside a macro reference or function invocation
no longer introduce comments and should not be escaped with backslashes
* Previously appending using '+=' to an empty variable would result in a value
starting with a space. Now the initial space is only added if the variable
already contains some value. Similarly, appending an empty string does not
add a trailing space.
Fix incompatibility issues between gnulib bundled with updated make fix issues
in w32 compat sources.
(From OE-Core rev: 4a5d4cf0cc8a4a6af76f23dd8a29627042230f98)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow sstate use in Tumbleweed and other distros as they update glibc.
(From OE-Core rev: ccb374c279b260b1fd3460f6bfd1567240816055)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
"
0.4231 - Wed Jan 29 08:47:56 CET 2020
- Released 0.42_30 without code changes
0.42_30 - Wed Jul 31 13:15:39 CEST 2019
- Add dependency on ExtUtils::PL2Bat
"
Add ptest RDEPENDS:
- ExtUtils::Command::MM for t/compat.t
- gcc, make didn't seem like enough for ptest, replace with
packagegroup-core-buildessential which definitely works
- perl-dev for EXTERN.h in t/xs.t
Add INSANE_SKIP dev-deps for the -ptest package because of perl-dev
Five tests from t/help.t are skipped because they are TODO
t/par.t is skipped because PAR::Dist (0.17+) is not present
t/ppm.t is skipped because "HTML support not installed"
All other tests pass.
(From OE-Core rev: 7c22dc2e34af2530a73f3af2876f0f5f5b65c7c8)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bfd_stdint.h encodes the name of the compiler in the header
which is different between mutlilibs. Remvoe target prefix to
make the headers match.
(From OE-Core rev: 62cd67ac4ca39edac3c57f648669f1427b6fe7dd)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cups-config encodes the library dir in the script.
(From OE-Core rev: 0e19b25fbf1d760c06dd6a2cb8e291c7482330c4)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
apu-1-config encodes library path in to script
27c27
< libdir="/usr/lib64"
(From OE-Core rev: 3682d0ca3ffeb84fd2f935a9c9b253e015c9e137)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have had similar problems with missing atomics on arm6 that arm5
has.
(From OE-Core rev: 3971b6278f88b7f780f6d03847c2fed6bfd98d8c)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
buildtools-extended does not provide libcrypt, and some native
applications require it, like clang. While it would likely make sense to
include nativesdk-libxcrypt in the buildtools it would also likely make
sense to remove the dependancy on the host libcrypt for those
applications that need it.
(From OE-Core rev: 4fa12fac6d320723d08fa7ab1635f63fbe01ad4d)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
ef3886a722c8 Linux 5.2.32
ce5a5accc87e dm thin: fix use-after-free in metadata_pre_commit_callback
9aafc6574336 cifs: Fix memory allocation in __smb2_handle_cancelled_cmd()
e177f6d8471e drm/amd/display: add default clocks if not able to fetch them
dba8b53f1ef4 drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()
bd427585578d drm/radeon: fix r1xx/r2xx register checker for POT textures
b56603ead990 drm/i915/fbc: Disable fbc by default on all glk+
5ce9d8bdf796 drm/nouveau/kms/nv50-: Limit MST BPC to 8
86bdcc48feb0 drm/nouveau/kms/nv50-: Store the bpc we're using in nv50_head_atom
b039a9b6d8f4 drm/nouveau/kms/nv50-: Call outp_atomic_check_view() before handling PBN
03e122dbc136 scsi: qla2xxx: Fix incorrect SFUB length used for Secure Flash Update MB Cmd
8bf5409573de scsi: qla2xxx: Correctly retrieve and interpret active flash region
7af719a2ca84 scsi: qla2xxx: Change discovery state before PLOGI
1fea09aa4b42 scsi: qla2xxx: Added support for MPI and PEP regions for ISP28XX
30205f999d12 scsi: qla2xxx: Initialize free_work before flushing it
39ec6bc75116 scsi: qla2xxx: Ignore NULL pointer in tcm_qla2xxx_free_mcmd
1f08dd5fa5c5 scsi: iscsi: Fix a potential deadlock in the timeout handler
42a2fbbc708f dm thin: Flush data device before committing metadata
56d35c21552b dm thin metadata: Add support for a pre-commit callback
d658f6349a2f dm btree: increase rebalance threshold in __rebalance2()
3aca6fce0d4e dm mpath: remove harmful bio-based optimization
2363f92cde9c drm: meson: venc: cvbs: fix CVBS mode matching
2878bba5052a dma-buf: Fix memory leak in sync_file_merge()
b10d7f86b5ca vfio/pci: call irq_bypass_unregister_producer() before freeing irq
099085c85deb ARM: tegra: Fix FLOW_CTLR_HALT register clobbering by tegra_resume()
674f30df2798 ARM: dts: s3c64xx: Fix init order of clock providers
7fe7993bd757 cifs: Fix retrieval of DFS referrals in cifs_mount()
6fef05311f57 CIFS: Fix NULL pointer dereference in mid callback
42d37a87a332 CIFS: Do not miss cancelled OPEN responses
ca8deb792b01 CIFS: Close open handle after interrupted close
df192003fb6b CIFS: Respect O_SYNC and O_DIRECT flags during reconnect
40ae22555ce3 cifs: Don't display RDMA transport on reconnect
969925ff652b cifs: smbd: Return -ECONNABORTED when trasnport is not in connected state
82fe0b779a89 cifs: smbd: Return -EINVAL when the number of iovs exceeds SMBDIRECT_MAX_SGE
d88fc76297a7 cifs: smbd: Add messages on RDMA session destroy and reconnection
f1bede222a44 cifs: smbd: Only queue work for error recovery on memory registration
118c2599caf3 cifs: smbd: Return -EAGAIN when transport is reconnecting
2c3c6e2691ff rpmsg: glink: Free pending deferred work on remove
7286d52aa88c rpmsg: glink: Don't send pending rx_done during remove
eed61c8c6667 rpmsg: glink: Fix rpmsg_register_device err handling
00b748a63488 rpmsg: glink: Put an extra reference during cleanup
ebb78ad8b431 rpmsg: glink: Fix use after free in open_ack TIMEOUT case
b3f09043fc81 rpmsg: glink: Fix reuse intents memory leak issue
5bfb2ef7a181 rpmsg: glink: Set tail pointer to 0 at end of FIFO
63045fa07fba xtensa: fix syscall_set_return_value
9247f95643ef xtensa: fix TLB sanity checker
c848ea0969ce gfs2: fix glock reference problem in gfs2_trans_remove_revoke
eb30a9e18f47 xtensa: use MEMBLOCK_ALLOC_ANYWHERE for KASAN shadow map
adff286a3be5 PCI: Apply Cavium ACS quirk to ThunderX2 and ThunderX3
f28f30c5255c PCI: rcar: Fix missing MACCTLR register setting in initialization sequence
cb5cb799bf0b PCI: Do not use bus number zero from EA capability
d291c94f8e57 PCI/MSI: Fix incorrect MSI-X masking on resume
eb24be2871ad PCI: Fix Intel ACS quirk UPDCR register address
06ad330304d2 PCI: pciehp: Avoid returning prematurely from sysfs requests
5d558c8b1439 PCI/PM: Always return devices to D0 when thawing
84dfe86a3851 PCI/switchtec: Read all 64 bits of part_event_bitmap
0db244d3995f mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response
845b2cbece34 mmc: block: Make card_busy_detect() a bit more generic
5db0e71cbee1 libertas: make lbs_ibss_join_existing() return error code on rates overflow
36e460a8c861 libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held
2aabb3fcd7fe libertas: Fix two buffer overflows at parsing bss descriptor
8866a53c5e7a Linux 5.2.31
33a9ecf23bdb hsr: fix a NULL pointer dereference in hsr_dev_xmit()
c5eba532e308 gre: refetch erspan header from skb->data after pskb_may_pull()
8477c46262fa tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE()
d46e87f84fd4 tcp: tighten acceptance of ACKs not matching a child socket
06b27e9e4496 tcp: fix rejected syncookies due to stale timestamps
d3ce127be5c7 net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup
31ecfe259fba net: ipv6: add net argument to ip6_dst_lookup_flow
1a45655b78c5 net/mlx5e: Query global pause state before setting prio2buffer
10ac0045c8a7 tipc: fix ordering of tipc module init and exit routine
f8089e38f286 tcp: md5: fix potential overestimation of TCP option space
c9b8428b8b42 openvswitch: support asymmetric conntrack
ab45bc5d7c6f net/tls: Fix return values to avoid ENOTSUPP
aaa20d4352a1 net: thunderx: start phy before starting autonegotiation
aebf8e234674 net: sched: fix dump qlen for sch_mq/sch_mqprio with NOLOCK subqueues
876e02c6b8de net: ethernet: ti: cpsw: fix extra rx interrupt
75b099157e3b net: dsa: fix flow dissection on Tx path
b8c2a07d7fc9 net: bridge: deny dev_set_mac_address() when unregistering
ef141fca118c mqprio: Fix out-of-bounds access in mqprio_dump
a0484dba9932 inet: protect against too small mtu values.
7d923144ef6e net_sched: validate TCA_KIND attribute in tc_chain_tmplt_add()
c0f777b6c28d SUNRPC: Fix another issue with MIC buffer space
cce35a47eb7c raid5: need to set STRIPE_HANDLE for batch head
2b15565d1a62 workqueue: Fix missing kfree(rescuer) in destroy_workqueue()
2fb67c1da0c0 blk-mq: make sure that line break can be printed
588d5a85b106 ext4: fix a bug in ext4_wait_for_tail_page_commit
87b234005394 splice: only read in as much information as there is pipe buffer space
de86c841c81b rtc: disable uie before setting time and enable after
d4e7102cc326 mm/shmem.c: cast the type of unmap_start to u64
922a48c3e94d s390/kaslr: store KASLR offset for early dumps
3b7d69248f06 s390/smp,vdso: fix ASCE handling
546e9a689d3e firmware: qcom: scm: Ensure 'a0' status code is treated as signed
a9b6310e93a4 ext4: work around deleting a file with i_nlink == 0 safely
609a4e56145d mm: memcg/slab: wait for !root kmem_cache refcnt killing on root kmem_cache destruction
3d5c91034234 mfd: rk808: Fix RK818 ID template
fbac2f7aa1c3 mm, memfd: fix COW issue on MAP_PRIVATE and F_SEAL_FUTURE_WRITE mappings
118197756683 powerpc: Fix vDSO clock_getres()
9ba5c6dcb3b7 powerpc: Avoid clang warnings around setjmp and longjmp
7c36247732a2 omap: pdata-quirks: remove openpandora quirks for mmc3 and wl1251
1eff30510478 omap: pdata-quirks: revert pandora specific gpiod additions
5dbe853560e4 iio: ad7949: fix channels mixups
7df6007288fd iio: ad7949: kill pointless "readback"-handling code
109dbc91c5a8 iio: imu: st_lsm6dsx: fix ODR check in st_lsm6dsx_write_raw
6305866e630c iio: imu: st_lsm6dsx: move odr_table in st_lsm6dsx_sensor_settings
9073b0be6589 scsi: lpfc: Fix bad ndlp ptr in xri aborted handling
13f83b3a2688 reiserfs: fix extended attributes on the root directory
e026fc523a75 ext4: Fix credit estimate for final inode freeing
b09b4d152aa2 quota: fix livelock in dquot_writeback_dquots
513bcf5ee8e0 seccomp: avoid overflow in implicit constant conversion
ae57738ec38a ext2: check err when partial != NULL
b7c24d8c06b8 quota: Check that quota is not dirty before release
42e495b46f80 video/hdmi: Fix AVI bar unpack
6739872abdfd powerpc/xive: Skip ioremap() of ESB pages for LSI interrupts
7d55c5e73263 powerpc: Allow flush_icache_range to work across ranges >4GB
be0cd7e9b258 powerpc/xive: Prevent page fault issues in the machine crash handler
99d2164e4865 powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB
f0f08beb3fa0 stm class: Lose the protocol driver when dropping its reference
c0919315b735 ppdev: fix PPGETTIME/PPSETTIME ioctls
86de25118e9c RDMA/core: Fix ib_dma_max_seg_size()
f5aae41d4eac ARM: dts: omap3-tao3530: Fix incorrect MMC card detection GPIO polarity
5cc72ba36683 mmc: host: omap_hsmmc: add code for special init of wl1251 to get rid of pandora_wl1251_init_card
f15fa36b9c6b pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init
da352a4b5493 pinctrl: samsung: Fix device node refcount leaks in init code
738e8de6b8d2 pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init
53149343fc98 pinctrl: samsung: Fix device node refcount leaks in Exynos wakeup controller init
43cb61f4878b pinctrl: samsung: Add of_node_put() before return in error path
72f6c3180468 pinctrl: armada-37xx: Fix irq mask access in armada_37xx_irq_set_type()
e264e3ae1165 pinctrl: rza2: Fix gpio name typos
61a4f44dc075 ACPI: PM: Avoid attaching ACPI PM domain to certain devices
0a041ba2564a ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data()
b56eca6bf2e4 ACPI: OSL: only free map once in osl.c
2ba38c34447d ACPI / hotplug / PCI: Allocate resources directly under the non-hotplug bridge
0a4cab60dde2 ACPI: LPSS: Add dmi quirk for skipping _DEP check for some device-links
487afadea2fd ACPI: LPSS: Add LNXVIDEO -> BYT I2C1 to lpss_device_links
9af85668040a ACPI: LPSS: Add LNXVIDEO -> BYT I2C7 to lpss_device_links
e055c1890429 ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPI
5eac1d4c2450 ALSA: oxfw: fix return value in error path of isochronous resources reservation
33e6efad9334 cpufreq: powernv: fix stack bloat and hard limit on number of CPUs
7240e6e25891 PM / devfreq: Lock devfreq in trans_stat_show
92741be9a736 intel_th: pci: Add Tiger Lake CPU support
69d1163cd0f4 intel_th: pci: Add Ice Lake CPU support
5ac267cabcd9 intel_th: Fix a double put_device() in error path
a3784ad079c6 powerpc/perf: Disable trace_imc pmu
08ded9339d52 cpuidle: teo: Fix "early hits" handling for disabled idle states
30b23caa5deb cpuidle: teo: Consider hits and misses metrics of disabled states
0df48241b6ab cpuidle: teo: Rename local variable in teo_select()
db302e3bb162 cpuidle: teo: Ignore disabled idle states that are too deep
ade564919a0c cpuidle: Do not unset the driver if it is there already
f2a7f16026f9 media: cec.h: CEC_OP_REC_FLAG_ values were swapped
342c964a9895 media: radio: wl1273: fix interrupt masking on release
780fe9f19c38 media: bdisp: fix memleak on release
348cecf72f8e s390/mm: properly clear _PAGE_NOEXEC bit when it is not supported
9ec8636ef00a ar5523: check NULL before memcpy() in ar5523_cmd()
6fc971f1d831 wil6210: check len before memcpy() calls
ba29035eb4bc cgroup: pids: use atomic64_t for pids->limit
873f0623fcbe blk-mq: avoid sysfs buffer overflow with too many CPU cores
758af427f60f md: improve handling of bio with REQ_PREFLUSH in md_flush_request()
3882ad8fadb0 ASoC: fsl_audmix: Add spin lock to protect tdms
141bba39e422 ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report
a99f0045c434 ASoC: rt5645: Fixed typo for buddy jack support.
1ecdb55a6de6 ASoC: rt5645: Fixed buddy jack support.
d78e1588f356 workqueue: Fix pwq ref leak in rescuer_thread()
86226c42d8f7 workqueue: Fix spurious sanity check failures in destroy_workqueue()
7b79872cb160 dm zoned: reduce overhead of backing device checks
b7c4feffa872 dm writecache: handle REQ_FUA
fa700de0abd2 hwrng: omap - Fix RNG wait loop timeout
903867fe506a ovl: relax WARN_ON() on rename to self
8b2e7fec9f26 ovl: fix corner case of non-unique st_dev;st_ino
c73fe5396edf ovl: fix lookup failure on multi lower squashfs
15fe8b7f7962 lib: raid6: fix awk build warnings
b8f32a0e26fb rtlwifi: rtl8192de: Fix missing enable interrupt flag
0917a96e2d3a rtlwifi: rtl8192de: Fix missing callback that tests for hw release of buffer
32c6c1de1c05 rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address
f1da748f078d btrfs: record all roots for rename exchange on a subvol
017f00a09704 Btrfs: send, skip backreference walking for extents with many references
f08e9d661548 btrfs: Remove btrfs_bio::flags member
f01ca4344ffe btrfs: Avoid getting stuck during cyclic writebacks
07383f0fced7 Btrfs: fix negative subv_writers counter and data space leak after buffered write
69608bab8b1b Btrfs: fix metadata space leak on fixup worker failure to set range as delalloc
6bab2f18b421 btrfs: use refcount_inc_not_zero in kill_all_nodes
b703482bc2ec btrfs: check page->mapping when loading free space cache
11b102bc593e iwlwifi: pcie: fix support for transmitting SKBs with fraglist
7a569d85c92b usb: typec: fix use after free in typec_register_port()
254d37011ab2 phy: renesas: rcar-gen3-usb2: Fix sysfs interface of "role"
26593100f6a1 usb: dwc3: ep0: Clear started flag on completion
d2e949f9d6c5 usb: dwc3: gadget: Clear started flag for non-IOC
077399428186 usb: dwc3: gadget: Fix logical condition
545da1614800 usb: dwc3: pci: add ID for the Intel Comet Lake -H variant
393edc8f15ca virtio-balloon: fix managed page counts when migrating pages between zones
15c579c3d104 virt_wifi: fix use-after-free in virt_wifi_newlink()
3891c22e7b74 mtd: rawnand: Change calculating of position page containing BBM
175a15f4c288 mtd: spear_smi: Fix Write Burst mode
5738119a60ed brcmfmac: disable PCIe interrupts before bus reset
ab35b8b9a235 EDAC/altera: Use fast register IO for S10 IRQs
deda3f6b06dc tpm: add check after commands attribs tab allocation
ebb7dae402e3 usb: mon: Fix a deadlock in usbmon between mmap and read
650d955bc548 usb: core: urb: fix URB structure initialization function
d54daa869ed5 USB: adutux: fix interface sanity check
3e4a4cb54c04 usb: roles: fix a potential use after free
14fa9bcb6a07 USB: serial: io_edgeport: fix epic endpoint lookup
174f3783b4f0 USB: idmouse: fix interface sanity checks
6facde75d1c8 USB: atm: ueagle-atm: add missing endpoint check
b4972eba6831 iio: adc: ad7124: Enable internal reference
b609ee0b3024 iio: adc: ad7606: fix reading unnecessary data from device
bc27d17532dd iio: imu: inv_mpu6050: fix temperature reporting using bad unit
edfeae1a5a70 iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
76a78a37799d iio: adis16480: Fix scales factors
a8f0c5837cca iio: adis16480: Add debugfs_reg_access entry
a02348d262b3 ARM: dts: pandora-common: define wl1251 as child node of mmc3
43a05d85e421 interconnect: qcom: sdm845: Walk the list safely on node removal
3ea35e60e8c8 xhci: make sure interrupts are restored to correct state
0df691c29da9 xhci: handle some XHCI_TRUST_TX_LENGTH quirks cases as default behaviour.
d10974513d17 xhci: Increase STS_HALT timeout in xhci_suspend()
40ccc7fb3125 xhci: fix USB3 device initiated resume race with roothub autosuspend
8f015d20b7d5 xhci: Fix memory leak in xhci_add_in_port()
de53955ea0d3 usb: xhci: only set D3hot for pci device
13d723a6c22c staging: gigaset: add endpoint-type sanity check
ed9145e7d4a4 staging: gigaset: fix illegal free on probe errors
a193faef6209 staging: gigaset: fix general protection fault on probe
a48994561cab staging: vchiq: call unregister_chrdev_region() when driver registration fails
38beaaec130c staging: rtl8712: fix interface sanity check
238af85b081b staging: rtl8188eu: fix interface sanity check
9517a9f133fd binder: fix incorrect calculation for num_valid
a65c5b1d8762 usb: host: xhci-tegra: Correct phy enable sequence
0da1ca92c578 usb: Allow USB device to be warm reset in suspended state
fa74b02fa20f USB: documentation: flags on usb-storage versus UAS
46f840a92233 USB: uas: heed CAPACITY_HEURISTICS
9cc58d6fb42e USB: uas: honor flag to avoid CAPACITY16
19ccc7083566 media: venus: remove invalid compat_ioctl32 handler
6f4b7b312148 scsi: zfcp: trace channel log even for FCP command responses
6975c6beb5f0 usb: gadget: pch_udc: fix use after free
6f10fa4a113c rpmsg: char: release allocated memory
f01eedaf4e09 mac80211: Do not send Layer 2 Update frame before authorization
38b2d9bb7b57 libertas: fix a potential NULL pointer dereference
2789290efc0b mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()
fd820abb0696 Linux 5.2.30
10f017c26642 spi: dw: Correct handling of native chipselect
9e79f5ae512f spi: cadence: Correct handling of native chipselect
db91ee312ada drm/sun4i: tcon: Set RGB DCLK min. divider based on hardware model
9eeb986b4809 clk: samsung: exynos5420: Keep top G3D clocks enabled
99232a68c619 block: fix "check bi_size overflow before merge"
f54449c00a10 EDAC/ghes: Do not warn when incrementing refcount on 0
4f18ed319605 ALSA: hda: Fix regression by strip mask fix
a550c8d05657 io_uring: ensure req->submit is copied when req is deferred
7b57a96cf3b7 Input: Fix memory leak in psxpad_spi_probe
a006a5ae6b91 ALSA: hda: hdmi - fix pin setup on Tigerlake
85435506e9e0 EDAC/ghes: Fix locking and memory barrier issues
81a005d25b01 watchdog: aspeed: Fix clock behaviour for ast2600
c3f6c163ac89 md/raid0: Fix an error message in raid0_make_request()
e90488c1856c ALSA: hda - Fix pending unsol events at shutdown
ac5a40962daf KVM: x86: fix out-of-bounds write in KVM_GET_EMULATED_CPUID (CVE-2019-19332)
949540e93943 binder: Handle start==NULL in binder_update_page_range()
75a11437a803 binder: Prevent repeated use of ->mmap() via NULL mapping
e0a0299acecb binder: Fix race between mmap() and binder_alloc_print_pages()
ba5d71130445 thermal: Fix deadlock in thermal thermal_zone_device_check
cf162b1f1d6f iomap: Fix pipe page leakage during splicing
1ede48d1d47e RDMA/qib: Validate ->show()/store() callbacks before calling them
6df074625c15 can: ucan: fix non-atomic allocation in completion handler
1233eadb99a9 spi: Fix NULL pointer when setting SPI_CS_HIGH for GPIO CS
cad0ca361138 spi: Fix SPI_CS_HIGH setting when using native and GPIO CS
25ac2d29646a spi: atmel: Fix CS high support
efd56e6b1fbd spi: stm32-qspi: Fix kernel oops when unbinding driver
dfbd2a22d8b1 spi: spi-fsl-qspi: Clear TDH bits in FLSHCR register
d7e9115f21e0 spi: spi-fsl-qspi: change i.MX7D RX FIFO size
76cde0d7ff39 crypto: ecdh - fix big endian bug in ECC library
36759ce37925 crypto: ccp - fix uninitialized list head
8ba8fa9fc2db crypto: geode-aes - switch to skcipher for cbc(aes) fallback
86a44e8938be crypto: af_alg - cast ki_complete ternary op to int
9ff009403999 crypto: atmel-aes - Fix IV handling when req->nbytes < ivsize
2cbf74169383 crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr
f6981b364dae KVM: x86: Grab KVM's srcu lock when setting nested state
c08ddad72e7b KVM: x86: Remove a spurious export of a static function
317fd0a0c93d KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES
7f70f6380882 KVM: x86: do not modify masked bits of shared MSRs
6384ad0ab29b KVM: arm/arm64: vgic: Don't rely on the wrong pending table
bdcecb6dd8e8 KVM: nVMX: Always write vmcs02.GUEST_CR3 during nested VM-Enter
3600a4189d12 KVM: PPC: Book3S HV: XIVE: Set kvm->arch.xive when VPs are allocated
34e8d4a0ef05 KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path
4ebdbf4ff503 KVM: PPC: Book3S HV: XIVE: Free previous EQ page when setting up a new one
cc73381579f9 arm64: dts: exynos: Revert "Remove unneeded address space mapping for soc node"
1d19cc75f715 drm/i810: Prevent underflow in ioctl
16f54bf33fce drm: damage_helper: Fix race checking plane->state->fb
20a0047cdca4 drm/msm: fix memleak on release
6c34f27046e3 jbd2: Fix possible overflow in jbd2_log_space_left()
5b1ab9f1a2c0 kernfs: fix ino wrap-around detection
910116ce4349 nfsd: restore NFSv3 ACL support
6589961e5ec7 nfsd: Ensure CLONE persists data and metadata changes to the target file
574498a02845 tty: vt: keyboard: reject invalid keycodes
c75342d33dd5 CIFS: Fix SMB2 oplock break processing
c8c867906145 CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks
2199093ff906 x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect
4d34c238f6ee x86/mm/32: Sync only to VMALLOC_END in vmalloc_sync_all()
64a582385b92 media: rc: mark input device as pointing stick
70fd4e1972e8 coresight: etm4x: Fix input validation for sysfs.
55c0be64071e Input: goodix - add upside-down quirk for Teclast X89 tablet
2405495a00f8 Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers
868c29a7efd0 Input: synaptics-rmi4 - re-enable IRQs in f34v7_do_reflash
0e606e3626e6 Input: synaptics - switch another X1 Carbon 6 to RMI/SMbus
94adc53b2c47 ALSA: hda: Modify stream stripe mask only when needed
a527c3df9f54 ALSA: hda - Add mute led support for HP ProBook 645 G4
accc2add3da3 ALSA: pcm: oss: Avoid potential buffer overflows
55f6418b7ae3 ALSA: hda/realtek - Dell headphone has noise on unmute for ALC236
bbad17075fe3 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
fcfb4bce22aa ALSA: hda/realtek - Enable internal speaker of ASUS UX431FLC
83753976cfae fuse: verify attributes
a6f6439eb10f fuse: verify nlink
31aa652b9a69 i2c: core: fix use after free in of_i2c_notify
92084c0b356d net: ep93xx_eth: fix mismatch of request_mem_region in remove
f75cb980f0ab afs: Fix race in commit bulk status fetch
26167b5cf5df net: hns3: fix ETS bandwidth validation bug
037e0cbe8863 net: hns3: reallocate SSU' buffer size when pfc_en changes
423f97775629 ravb: implement MTU change while device is up
ba49aa6bccbb rsxx: add missed destroy_workqueue calls in remove
6dbf3b9cc169 selftests: kvm: fix build with glibc >= 2.30
334204bdbd89 drm/sun4i: tcon: Set min division of TCON0_DCLK to 1.
d2001cf2e8d3 x86/resctrl: Fix potential lockdep warning
7bf14c3c120b ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed()
57dbe72b9638 perf/core: Consistently fail fork on allocation failures
24a8ce6100ab sched/pelt: Fix update of blocked PELT ordering
cadf46055b6f sched/core: Avoid spurious lock dependencies
b8a654dde72b Input: cyttsp4_core - fix use after free bug
9bcb8316e536 block: check bi_size overflow before merge
f05d37196a77 xfrm: release device reference for invalid state
e630f0eab8b3 NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error
14f8f24bfcbc ALSA: hda: Add Cometlake-S PCI ID
85deda956139 ecryptfs: fix unlink and rmdir in face of underlying fs modifications
7a7b13483234 audit_get_nd(): don't unlock parent too early
6f26d186c431 exportfs_decode_fh(): negative pinned may become positive without the parent locked
d5a9bd7dc9c2 cgroup: don't put ERR_PTR() into fc->root
5490ae827b29 iwlwifi: pcie: don't consider IV len in A-MSDU
5bc1282dfb21 RDMA/hns: Correct the value of srq_desc_size
9b0df7c7e42c RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
bf7d03571100 MIPS: SGI-IP27: fix exception handler replication
b578c711e5e7 autofs: fix a leak in autofs_expire_indirect()
81559b396efa aio: Fix io_pgetevents() struct __compat_aio_sigset layout
03bd68a92f82 signal: simplify set_user_sigmask/restore_user_sigmask
88300b370dbc serial: ifx6x60: add missed pm_runtime_disable
06eb5d963912 serial: serial_core: Perform NULL checks for break_ctl ops
c811b133b3e7 serial: pl011: Fix DMA ->flush_buffer()
d451358ffe85 tty: serial: msm_serial: Fix flow control
5b10978724e0 tty: serial: fsl_lpuart: use the sg count from dma_map_sg
c38c3a52315f usb: gadget: u_serial: add missing port entry locking
b30c295d649b time: Zero the upper 32-bits in __kernel_timespec on 32-bit
9f06fb5da07e lp: fix sparc64 LPSETTIMEOUT ioctl
068341cb7952 sparc64: implement ioremap_uc
932b771c65b6 arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator
edc3ff235784 net: fec: fix clock count mis-match
ed9b79600a5d platform/x86: hp-wmi: Fix ACPI errors caused by passing 0 as input size
952328f5193b platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer
da62cf911005 HID: core: check whether Usage Page item is after Usage ID items
fb85a234fc39 tipc: fix link name length check
0867e153690e selftests: bpf: test_sockmap: handle file creation failures gracefully
cd73a77a2288 net/tls: use sg_next() to walk sg entries
55c1ea6758d8 net/tls: remove the dead inplace_crypto code
c824b8c9957b net: skmsg: fix TLS 1.3 crash with full sk_msg
45c795cbee84 net: sockmap: use bitmap for copy info
c1c89460bda2 net/tls: free the record on encryption error
1468022cc8f2 net/tls: take into account that bpf_exec_tx_verdict() may free the record
a3157970686f openvswitch: remove another BUG_ON()
bacb11535532 openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info()
744916544dba sctp: cache netns in sctp_ep_common
f4312b9ba27c sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook
8d442143ccd4 openvswitch: fix flow command message size
b834278b4d0a net: sched: fix `tc -s class show` no bstats on class with nolock subqueues
2f47935914f8 net: psample: fix skb_over_panic
8fc3ccb35fba net: macb: add missed tasklet_kill
9243823cd73a net: dsa: sja1105: fix sja1105_parse_rgmii_delays()
1e7ff496e195 mdio_bus: don't use managed reset-controller
f458119c914d macvlan: schedule bc_work even if error
442b4bac7514 xfrm: Fix memleak on xfrm state destroy
d06561a292bf thunderbolt: Power cycle the router if NVM authentication fails
97a4d0528c98 mei: me: add comet point V device id
aa6a4bfabb1a mei: bus: prefix device names on bus with the bus name
fb94cd58ee14 USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P
33c6adbab912 staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids
34820fb849a8 staging: rtl8723bs: Drop ACPI device ids
18ff3bb126fe staging: rtl8192e: fix potential use after free
955068eb7918 staging: wilc1000: fix illegal memory access in wilc_parse_join_bss_param()
afe6f4526509 usb: dwc2: use a longer core rest timeout in dwc2_core_reset()
4b15bd43d8ed clk: at91: fix update bit maps on CFG_MOR write
6ed6cd2d7f8a i40e: Fix for ethtool -m issue on X722 NIC
ddcdd3cc96f1 i40e: Fix for missing "link modes" info in ethtool
ae4d08f3a69b iavf: initialize ITRN registers with correct values
12c0db2518f8 ice: fix potential infinite loop because loop counter being too small
c105a4b2019d pwm: bcm-iproc: Prevent unloading the driver module while in use
66f3f3c4da1e block: drbd: remove a stray unlock in __drbd_send_protocol()
11748bed1eeb mac80211: fix station inactive_time shortly after boot
2df48b15a9ca net/fq_impl: Switch to kvmalloc() for memory allocation
1332a34432a5 ceph: return -EINVAL if given fsc mount option on kernel w/o support
218333cf3e5b net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in AV
e8fec331b7e3 net: stmmac: xgmac: Fix TSA selection
f7e0994188b2 net: stmmac: gmac4: bitrev32 returns u32
d99d2e2d5c7d drm/amdgpu: add warning for GRBM 1-cycle delay issue in gfx9
3db9d787fbbe net: mscc: ocelot: fix __ocelot_rmw_ix prototype
23d1a942d638 net/mlx5e: Fix eswitch debug print of max fdb flow
c26064b7eda5 drm/amdgpu: dont schedule jobs while in reset
d61b5d11db4b net: bcmgenet: reapply manual settings to the PHY
303f8e7b7d18 net: bcmgenet: use RGMII loopback for MAC reset
82077751014a scripts/gdb: fix debugging modules compiled with hot/cold partitioning
7b20840690f5 mm/gup_benchmark: fix MAP_HUGETLB case
c7816d20058f ASoC: SOF: topology: Fix bytes control size checks
1b3afeddab4a ARM: dts: stm32: Fix CAN RAM mapping on stm32mp157c
4de26c8cbe50 ALSA: hda: hdmi - add Tigerlake support
f43786eb3acb ASoC: stm32: sai: add restriction on mmap support
36fa7d5299c2 watchdog: bd70528: Add MODULE_ALIAS to allow module auto loading
f023dd202f6b watchdog: meson: Fix the wrong value of left time
9054f01030f8 watchdog: pm8916_wdt: fix pretimeout registration flow
2c25aa88640f nvme-multipath: fix crash in nvme_mpath_clear_ctrl_paths
6fdb636145b0 nvme-rdma: fix a segmentation fault during module unload
43bd0bf71860 can: mcp251x: mcp251x_restart_work_handler(): Fix potential force_quit race condition
7091bcbccb6b perf scripting engines: Iterate on tep event arrays directly
7371326920db x86/tsc: Respect tsc command line paraemeter for clocksource_tsc_early
8efe12d76d7e can: flexcan: increase error counters if skb enqueueing via can_rx_offload_queue_sorted() fails
4a3333ea25b1 can: rx-offload: can_rx_offload_irq_offload_fifo(): continue on error
a26a27d53b40 can: rx-offload: can_rx_offload_irq_offload_timestamp(): continue on error
39b89fc6625f can: rx-offload: can_rx_offload_offload_one(): use ERR_PTR() to propagate error value in case of errors
f6b5da01db2f can: rx-offload: can_rx_offload_offload_one(): increment rx_fifo_errors on queue overflow or OOM
acb9095493be can: rx-offload: can_rx_offload_offload_one(): do not increase the skb_queue beyond skb_queue_len_max
189c1239632b can: rx-offload: can_rx_offload_queue_tail(): fix error handling, avoid skb mem leak
7ac97e4ef4d9 can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open
1ac0d4885a34 can: peak_usb: report bus recovery as well
b542266496fa stacktrace: Don't skip first entry on noncurrent tasks
afe7ff5be406 bridge: ebtables: don't crash when using dnat target in output chains
a19d86990335 netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT
17db97a8e7d5 netfilter: ipset: Fix the last missing check of nla_parse_deprecated()
5f4ada6390b6 net: fec: add missed clk_disable_unprepare in remove
0b283b59a62f clk: ti: clkctrl: Fix failed to enable error with double udelay timeout
b70eae1c4480 clk: ti: dra7-atl-clock: Remove ti_clk_add_alias call
aab6b68e53eb ASoC: hdac_hda: fix race in device removal
b23f8d6ca25f fbdev: c2p: Fix link failure on non-inlining
51c019bf2c42 arm64: dts: zii-ultra: fix ARM regulator GPIO handle
819ee4651182 x86/resctrl: Prevent NULL pointer dereference when reading mondata
4d71464d5830 idr: Fix idr_alloc_u32 on 32-bit systems
9956dbb774e4 idr: Fix integer overflow in idr_for_each_entry
a530ec599a8a idr: Fix idr_get_next_ul race with idr_remove
6909ddf4276c powerpc/bpf: Fix tail call implementation
957928006316 samples/bpf: fix build by setting HAVE_ATTR_TEST to zero
d3a556320b11 bpf: Allow narrow loads of bpf_sysctl fields with offset > 0
4fd976da64d7 ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend
1d6d86b21245 clk: sunxi-ng: a80: fix the zero'ing of bits 16 and 18
440f439c1041 clk: sunxi: Fix operator precedence in sunxi_divs_clk_setup
b4c8fc7dcab9 clk: at91: avoid sleeping early
c42ce4122e86 ASoC: ti: sdma-pcm: Add back the flags parameter for non standard dma names
32ea5f2ae3b6 arm64: dts: imx8mm: fix compatible string for sdma
4071d8976ac5 reset: fix reset_control_ops kerneldoc comment
b178a6e8f8f3 soc: imx: gpc: fix initialiser format
0a751a005ded ARM: dts: imx6qdl-sabreauto: Fix storm of accelerometer interrupts
946654641741 pinctrl: cherryview: Allocate IRQ chip dynamic
66c7b484cae0 clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume
30c758e0a731 arm64: dts: ls1028a: fix a compatible issue
ba3e13683df7 ASoC: kirkwood: fix device remove ordering
d7ee3bbc1085 ASoC: kirkwood: fix external clock probe defer
7a754f5e5751 clk: samsung: exynos542x: Move G3D subsystem clocks to its sub-CMU
2361cffc9775 clk: samsung: exynos5433: Fix error paths
e1fc074e8178 reset: Fix memory leak in reset_control_array_put()
b01838b0ca64 ASoC: compress: fix unsigned integer overflow check
41360b33fec2 ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX
e7fc8cc79377 soundwire: intel: fix intel_register_dai PDI offsets and numbers
82b111a092b1 clocksource/drivers/mediatek: Fix error handling
85c26d3b879d thunderbolt: Fix lockdep circular locking depedency warning
a41faef2aef6 thunderbolt: Read DP IN adapter first two dwords in one go
0b4d76ea32e5 clk: at91: sam9x60: fix programmable clock
3ac5085a98ba clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate
922eddf892e2 XArray: Fix xas_next() with a single entry at 0
(From OE-Core rev: 34278c33bf1f2f3a7810946ca07765014f228c9d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
woff2 is now available in meta-webkit.
(From OE-Core rev: a5beb977a57e7b1941a2a1c5c130881b74da3b6b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
x11 can be replaced with wayland.
opengl is mandatory only with wayland.
Without x11, use gles2 for opengl.
(From OE-Core rev: 1408c00d619d862d4da63882a86ff096a891ad5d)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also adjust them to what OptionsGTK currently checks.
(From OE-Core rev: 082ccd85589a230810621425ddbf438a03df437e)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For GUI automation purposes, strong motivation for accessibility (a11y)
via python3-dogtail and python3-pyatspi2, so taking over from Anuj.
(From OE-Core rev: fb0a7ab133434febc78ce4f4d00f1192935ad95e)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This needs __UAPI_DEF_ETHHDR to be set to 0 which now
taken care by CFLAGS
(From OE-Core rev: fc0593839f9bec7e0c21665ab6d9d742252f4210)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without the proper default tune in TUNE_FEATURES, certain variables
won't expand correctly. MACHINEOVERRIDES won't add cortexa72-cortexa53:
TUNE_CCARGS won't add -mtune=cortexa72.cortexa-53, generating the toolchain
incorrectly.
Adding missing 'cortexa72-cortexa53' to both
TUNE_FEATURES_tune-cortexa72-cortexa53 and
TUNE_FEATURES_tune-cortexa72-cortexa53-crypto
(From OE-Core rev: eee65bed5ee39051541a0a3f2a311396d6e7326c)
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>
Remove timestamp from gzipped manpage.
(From OE-Core rev: bd0236d1b35831b23882e1f1af86504d62e5d0b9)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
logsave is a duplicate from e2fsprogs, which was already removed,
but the man page remained which is also a duplicate. However it
does not get modifed on install so it conflicts with the e2fsprogs
version.
(From OE-Core rev: 90ee5557c0e1d7088b5d9b7e66d70ff7fccac9a3)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are added as dependencies by mime class, which could be inherited
along with allarch and dependencies silently go into target specific
recipes and which then can result in sstate hash signature mismatches
when the allarch recipes are reused for another arch
[YOCTO #13805]
(From OE-Core rev: 510015ac81df969f690d6c8661b00bebe73b7fca)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible for sysvinit to be installed before the passwd/group
files are installed from base-passwd. This results in an warning that
the shutdown group can't be found.
Adding a dependeny on base-passwd will resolve this issue.
This has similar symptoms to the problem that oe-core commit
0227e929021263c51d2e7db36224000fecb01f1c fixed. The fix is simular in that
it ensures that base-passwd is installed first, just at runtime vs setscene
time.
(From OE-Core rev: c4fb899b19a905a2b027f33947b6ec56f55b81a6)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years and holders
(From OE-Core rev: f59334e70313676c7ab3216cb9583eefb27835e6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
DISTRO_FEATURES_remove = "wayland"
$ bitbake weston
clients/meson.build:141:4: ERROR: Problem encountered: weston-simple-dmabuf-egl
requires option renderer-gl which is not enabled. If you rather not build this,
drop "dmabuf-egl" from simple-clients option.
WARNING: exit code 1 from a shell command.
(From OE-Core rev: 9b1d30810eeecb46b977c8eed68be69aef891312)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13296]
The lib/warnings test fails on certain images such as
core-image-sato. The upstream has already fixed this issue, thus
submitting the relevent backport patch.
(From OE-Core rev: 5198aa954ad0bffb7d6609e5118f642a59595b18)
Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
--
Mingde (Matthew) Zeng
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ignore the ones ending in .90x as they are -rc releases.
(From OE-Core rev: db02bd43d84d7ece3ed214a25e114e04c966e6c5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
THis release is a mix of improvements and fixes:
https://github.com/SCons/scons/blob/3.1.2/src/RELEASE.txt
* Changed to inherit pypi rather than relying on SOURCEFORGE_MIRROR.
* Add SRC_URI for LICENSE file (not included in pypi tarball).
* Make it more obvious that RDEPENDS are for class-target and
drop empty RDEPENDS from -native
* python3-scons-native now DEPENDS on python3-setuptools-native
* Tested with core-image-base + packagegroup-core-buildessential
with "scons" oe-selftest via testimage.
* Tested build of "serf" (which uses python3-scons-native via the
scons.bbclass).
License-Update: Added "MIT License" text, updated copyright years
(From OE-Core rev: 44b46ae6c65448901477def57a45d5a4ecc2d246)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After update to 2.7.0, it fails to start ptest of ruby with errors:
| ./test/runner.rb:11:in `require_relative': cannot load such file --
/usr/lib64/ruby/ptest/tool/test/runner (LoadError)
and
| test/rdoc/test_rdoc_attr.rb: cannot load such file -- rdoc/version
| test/did_you_mean/spell_checking/test_key_name_check.rb: cannot load
such file -- /usr/lib64/ruby/ptest/lib/did_you_mean
Install the required files for the ptest.
(From OE-Core rev: be161be40c88fbac8ac17776daf3bf178a2e8f5e)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only md5sum and sha256sum are currently provided by HOSTTOOLS. Trying
to use any other checksum conversion will result in a build failure.
Fix it by adding other supported checksum utilities to HOSTTOOLS.
(From OE-Core rev: 78155e5fcff9362049b576d20e31c3519c48485b)
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've found we need a way to cause a change in signatures and move
to a new hash 'namespace' with hashequiv. This introduces a variable
which allows us to do this.
(From OE-Core rev: 1c2d5aeae2fa2dfc16bc60b6cf0b310f826337fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file /usr/share/man/man3/history.3 conflicts between attempted installs of libedit-doc-20191231+3.1-r0.corei7_64 and readline-doc-8.0-r0.corei7_64
(From OE-Core rev: 23ad05b98a2e1ced47aac3b1d7689c7146ff8c91)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can be useful with a more specific, targeted and robust set of ptest
packages; the benefit is that ptest regressions are caught as they happen
and can be more easily traced to changes that caused them.
The existing AB ptest image continues to be expected to fail, my observation
of the AB runs is that the full set of ptests is not robust enough
(particularly around socket/network related tests) and sporadically fails
in random places. This can probably be addressed by making ptests exclusive
to a worker (e.g. there is no other workload happening at the same time as
ptests).
(From OE-Core rev: 102afcc7ea7d7673183f272a29ab233084ad168b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to using the tarballs of tagged releases.
WHENCE changed due to firmware filename changes.
(From OE-Core rev: 746438e5e75d9fd4ccb461f92887a7b02a1c27d1)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even versions are shipped in Ubuntu LTS and Debian releases.
(From OE-Core rev: e190bf44ed2aef03ce8922dfbb0bb90a762bb41d)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sadly, meson makes it very difficult to install tests: the test
configuration is written into host-specific binary files, which
can't be transferred to the target. (unlike autotools where
at least everything happens via Makefiles which can be patched
and tweaked via sed and env vars)
So the configuration has to be entirely recreated in shell.
I managed this for wayland, but weston proved too difficult.
I had filed bugs asking upstream to make the tests installable:
https://gitlab.freedesktop.org/wayland/wayland/issues/146https://gitlab.freedesktop.org/wayland/weston/issues/368
(From OE-Core rev: 296ee10bb8491278f050fb9d55f42b0bcf663382)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ClutterActors can crash with strange segfaults when built without the GDK
backend but run ontop of GDK. To fix this let's add a PACKAGECONFIG to
enable/disable GDK backend support and enable it by default.
(From OE-Core rev: cb03ccec2926eae6d8eaf1606a7d11fcc54f1820)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 52971eeaaf.
The original problem was later fix by
psmisc: revert to default autopoint exclusion
(From OE-Core rev: 007df9bba56f885dd847b2f8b24fb250bcdd386f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are no users left in OE-core.
(From OE-Core rev: 2c5d140a8a2b794b36ed9535afc278cec2ef306f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid:
qemux86-64 psplash-systemd[135]: Error unable to open fifo
by adding the missing dependency on /run/ where the fifo resides.
Also, psplash-systemd requires psplash-start, not the other way around
as the splash creates the fifo which the other then needs to open.
(From OE-Core rev: e31ad1b58e8dbac2e299bc0cb872c3a82db14717)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make use of the recently added systemd support in psplash. The utility
psplash-systemd communicates boot progress to the splash screen. The
splash is disabled once systemd consideres the system fully booted
(progress is at 1.0). Note that this can take a while if systemd is
stuck on a failing unit.
This change adds two systemd services. One service starts psplash itself
(psplash-start.service) and the second service starts the helper utility
psplash-systemd (psplash-systemd.service). The units are written such
that psplash-systemd.service can be used indepenendenly. This is useful
when starting psplash in initramfs (not using systemd).
(From OE-Core rev: b4063b16082604554c7c19b369ebddd27061f372)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several variables used by the task are not included in the hash, as highlighted
by recent changes to MAINTAINERS not causing rebuilds. Fix this.
(From OE-Core rev: 0bfb2e984062e2a00f8989d26aebb89b112d81d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the plain variable X is also added to the dependencies
as well as X_<pkg>.
Allow the funciton to be called with a different variable list too.
(From OE-Core rev: c392401e10ff43d10b7e57c9d552522a02c91878)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are two primary reasons for this:
1. mdadm test suite tends to work like this
do_action
sleep arbitrary_amount
check_result
This is unreliable, and arbitrary_amount may or may not be enough.
I have confirmed this by increasing the amount, and seeing more tests
pass than before.
2. The test suite aborts half way through because one of the mdadm binaries
segfaults. This indicates that upstream isn't actually running the suite
anymore, and in this situation we shouldn't be relying on it either.
(From OE-Core rev: e21021dc00ec76c76cc361e15bc83a89083c9e72)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly:
1. set $dir, so supplementary utilities can be found
2. disable integrity checks as they take more time than any other test
(From OE-Core rev: a8983d659b27219a0d70e56882727ceddd0f4331)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
valgrind's test suite isn't generally run by upstream on arm64,
so let's simply disable the failing test and establish a set
that works.
(From OE-Core rev: f9c953295a44f74c6394d155dfa080384f637806)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This addresses a ptest failure in particular that the submitted
patch caused.
(From OE-Core rev: 4e9d46a570f7d7d1981a24f90c5e919b1f73c8b5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.4 is the next LTS kernel, so we drop the 4.19 recipes from master.
(From OE-Core rev: bb5c2b8d6a875a773271d7cae08f55f0fd8e9156)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids warnings due to kernel version mismatches
(From meta-yocto rev: 4d8122bca9e5a8788521537610411fe59b1ba8a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the SRCREVs for the h/w references to v5.4.20, which includes
the binutils fix for perf.
(From meta-yocto rev: 9fcac872e5f2cc05409cb06640c0f625bea6e8ba)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.4 is the new LTS kernel, so we drop the 4.19 bbappens as the 4.19
kernel will be removed.
(From meta-yocto rev: 36e7756b89a2adb0df470e862a71fbfda98a8682)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the 5.4 LTS kernel is the preferred version for all poky
boards.
(From meta-yocto rev: 966faa29f0540f9262704621b9f639fb1129a781)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested with cortex-a9 machine
* before this patch -> no gir
* after: gir was built without issues
(From OE-Core rev: 0f4f69d1b238b2c22c30ef306358a055d3aa39cb)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make the native python3 always used,
- Use sed one-liner instead
- Add substitution for ${S}/scripts/bpf_helpers_doc.py to fix the
following warning.
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'
This issue is first reported by Joel Stanley <joel@jms.id.au>
The sed one-liner is credited to Anuj Mittal <anuj.mittal@intel.com>
(From OE-Core rev: 3f93173130a94310255389cfc62c67102a4fb21b)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This override was applying to binutils-native meaning it would behave differently
depending upon the host it was building on. This is not a good idea and we have
tests to detect it which failed:
oe-selftest -r sstatetests.SStateTests.test_sstate_32_64_same_hash
binutils-native already enables all targets so we can avoid issues by not setting this
option in the native case.
(From OE-Core rev: bbf9e8ae5e0ce2968e4fef071d3de3ddfdc7463c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Details of changelog [1]
Removing bfd/ld patch to enable PE targets, instead use
specific emulations via --enable-targets for x86_64
Re-arrange/forward-port patches and upgrade libctf configure to libtool 2.4 patch
rpaths are no longer emitted into elfedit/readelf therefore no need of
chrpath anymore
Instead of pre-generating configure scripts and house them in libtool
patch, generate them during configure. This also ensures that we do not
patch configure directly but rather the sources which generate it
Package newly added libctf library
[1] https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00000.html
(From OE-Core rev: 82f7d5cfc2ab02f39b69c0f8697d660936422d4a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop amd64 patch, the bsfq has been replaced with bsfl for count_trailing_zeros
Forward port rest of patches to 6.2.0
(From OE-Core rev: 35c052db4e081d363bcca350383adb0ac8c321d3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installing on centos7, which the extended version of the
buildtools tarball is supposed to fix and with reproducable
builds turned on, all the time stamps are for epoch. This
results in the following output for every file:
tar: ./sysroots/x86_64-pokysdk-linux/usr/include/c++/9.2.0/cstdalign: implausibly old time stamp 1969-12-31 16:00:00
tar: ./sysroots/x86_64-pokysdk-linux/usr/lib/libstdc++.so.6: implausibly old time stamp 1969-12-31 16:00:00
Ignore the timestamps during the uncompession step.
(From OE-Core rev: 319ca22ea4465c56c63730847378a7aee4f5935a)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I spotted this by noticing ptests started to unexpectedly pass,
which shouldn't happen yet.
(From OE-Core rev: 1cd6e9a8fdfef927916c6cea2371fc0430b1ffdf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the 5.4 recipes are available, we bump the default versions
to use them.
(From OE-Core rev: c250dbd2a68048f83837e7cbdfb53bc38623e4a2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -rt11 changes into the linux-yocto-rt branches:
e3a0470f1ebe (HEAD -> v5.4/standard/preempt-rt/base, origin/v5.4/standard/preempt-rt/base) v5.4.19-rt11
2748be173948 bpf/stackmap: Don't trylock mmap_sem with PREEMPT_RT and interrupts disabled
d721d73cb752 bpf, lpm: Make locking RT friendly
dc53d4c7fad3 bpf: Prepare hashtab locking for PREEMPT_RT
a13a53a8ae75 bpf: Factor out hashtab bucket lock operations
96a25d8a5a2d bpf: Use migrate_disable() in sys_bpf()
bb8a96d7e701 bpf: Use migrate_disable() in hashtab code
615cc5998661 bpf: Use migrate_disable/enable in array macros and cgroup/lirc code.
c3a06a1ab3d4 bpf/tests: Use migrate disable instead of preempt disable
0717741a61e6 trace/bpf: Use migrate disable in trace_call_bpf()
b528161bf4e0 bpf: Use BPF_PROG_RUN_PIN_ON_CPU() at simple call sites.
a3b5b903f04f bpf: Replace cant_sleep() with cant_migrate()
dd708fd4fb18 bpf: Provide BPF_PROG_RUN_PIN_ON_CPU() macro
6ccad68939c7 bpf: Don't iterate over possible CPUs with interrupts disabled
055b62ad0b2c perf/bpf: Remove preempt disable around BPF invocation
7848f4a45054 bpf/tracing: Remove redundant preempt_disable() in __bpf_trace_run()
caf8a5d6b42f bpf: Update locking comment in hashtab code
2ddd1653369d sched: Provide cant_migrate()
37b6c8361d28 sched: Provide migrate_disable/enable() inlines
2a1c4980a1e6 drm/i915/gt: use a LOCAL_IRQ_LOCK in __timeline_mark_lock()
84a119be5c68 v5.4.19-rt10
bb5e8418fb66 v5.4.17-rt9
bf976f5d86e7 locallock: Include header for the `current' macro
7a00b04683bd mm/memcontrol: Move misplaced local_unlock_irqrestore()
b647f8807169 sched: migrate_enable: Remove __schedule() call
2b321530c794 sched: migrate_enable: Use per-cpu cpu_stop_work
22b448083286 locking: Percpu-rwsem rewrite
f5d550cc9950 v5.4.17-rt8
(From OE-Core rev: dd407673d7091cb49ed41bef750c33bbcb53a1c3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the SRCREVs to pickup the VDSO fix by Victor Kamensky. We
need it to avoid segfaults in SDK testing as well as the standard
mips image test cases.
(From OE-Core rev: 8dfaf1abe9f2292b5c357a62d6fa4c0660a5c47c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 6ec14aa7a58a1c2fb303692f8cb1ff82d9abd10a [objtool: Silence build output]
was added to -stable in v5.4.19.
This change was meant to ensure that build output was truly silent when required.
But the trailing "cd -" in the tools script was ensuring that a success return
code was always returned from the sync script. As such, some missing files for
x86 were being masked.
We add those files to ensure that objtool can be regenerated as required
(From OE-Core rev: 3009e82f65bcf0988b4400552afd554ff91f024b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For whatever reason, the creation of the 5.4 recipes missed the
PV that we've always had in linux-yocto. PV follows the LINUX_VERSION
variable and clearly indicates that we have git commits in our tree
above the -stable releases.
(From OE-Core rev: e597fe76a710cc6bb833ee50c235c5c565eb23fa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
928ea9c56927 Linux 5.2.29
4e41907620bc slip: Fix use-after-free Read in slip_open
d11814f97a05 can: slcan: Fix use-after-free Read in slcan_open
01313dcf66e7 can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices
7f006e58efc2 scsi: libsas: stop discovering if oob mode is disconnected
0e5c48d6b011 staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error
d8b3d5fb8765 USB: serial: option: add support for Foxconn T77W968 LTE modules
c4fe1d495f9c USB: serial: option: add support for DW5821e with eSIM support
4ac031b15d86 USB: serial: mos7840: fix remote wakeup
4d44a218aea6 USB: serial: mos7720: fix remote wakeup
3561f4d3242f USB: serial: mos7840: add USB ID to support Moxa UPort 2210
13a33fb9debe appledisplay: fix error handling in the scheduled work
0cd437d7c16b USB: chaoskey: fix error case of a timeout
2136119fde46 usb-serial: cp201x: support Mark-10 digital force gauge
3a71173a4a45 usbip: tools: fix fd leakage in the function of read_attr_usbip_status
726510907c68 USBIP: add config dependency for SGL_ALLOC
7dd553573bc5 media: mceusb: fix out of bounds read in MCE receiver buffer
1e4921f684ca media: imon: invalid dereference in imon_touch_event
d482dfe2776a media: cxusb: detect cxusb_ctrl_msg error in query
ab4952849dd8 media: b2c2-flexcop-usb: add sanity checking
e2aa61cda115 media: uvcvideo: Fix error path in control parsing failure
115fa3afd4d1 cpufreq: Add NULL checks to show() and store() methods of cpufreq
767facdefa23 media: usbvision: Fix races among open, close, and disconnect
ba90b62cb0bd media: usbvision: Fix invalid accesses after device disconnect
829b703e9706 media: vivid: Set vid_cap_streaming and vid_out_streaming to true
57f2b5c44f02 nfc: port100: handle command failure cleanly
5fc4dc967e06 ALSA: usb-audio: Fix NULL dereference at parsing BADD
c938307a439a futex: Prevent robust futex exit race
8b0f13ee2b7b nbd: prevent memory leak
1bfd67a1c47b ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
a634776bcd5e md/raid10: prevent access of uninitialized resync_pages offset
40c0b4538c8b Revert "dm crypt: use WQ_HIGHPRI for the IO and crypt workqueues"
53eaf5993eea ath9k_hw: fix uninitialized variable data
5a1b959a78ea ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe
8b16c7096bc9 ath10k: Fix HOST capability QMI incompatibility
ceee3b64b0b5 ath10k: restore QCA9880-AR1A (v1) detection
08c0402ed497 Bluetooth: Fix invalid-free in bcsp_close()
c1ed057fbe33 drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
5ec5ba44bd85 drm/i915/pmu: "Frequency" is reported as accumulated cycles
c7ceeaf80706 drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs
1c3fb0c8357e drm/amdgpu: disable gfxoff on original raven
ccd9d21f783e drm/amdgpu: disable gfxoff when using register read interface
6e745cbc5051 mm/ksm.c: don't WARN if page is still mapped in remove_stable_node()
79194b4a342c mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span()
01d151b7e74e virtio_balloon: fix shrinker count
caae62219805 virtio_ring: fix return code on DMA mapping fails
272ed6b7ca4a virtio_console: allocate inbufs in add_port() only if it is needed
abce58c3af15 nbd:fix memory leak in nbd_get_socket()
2601193dc253 tools: gpio: Correctly add make dependencies for gpio_utils
3608aa07bac2 gpio: max77620: Fixup debounce delays
c6bf6af12a68 vhost/vsock: split packets to send using multiple buffers
95a617d1f70c net/mlx5: Update the list of the PCI supported devices
febceda6db3f net/mlx5e: Do not use non-EXT link modes in EXT mode
f8bddf0e192a net/mlx5e: Fix error flow cleanup in mlx5e_tc_tun_create_header_ipv4/6
e049e3c43308 taprio: don't reject same mqprio settings
8345d40b83bf ipv6/route: return if there is no fib_nh_gw_family
1edfc6649c92 net/tls: enable sk_msg redirect to tls socket egress
27845a1dd06b net/mlx5: Fix auto group size calculation
ec6d299939c3 net/mlx5e: Fix set vf link state error flow
bab144f2a957 net/mlxfw: Verify FSM error code translation doesn't exceed array size
3eb4c2e70dce sfc: Only cancel the PPS workqueue if it exists
a03585b724bc net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key
285a19d8dde0 net/sched: act_pedit: fix WARN() in the traffic path
8e40158af458 net: rtnetlink: prevent underflows in do_setvfinfo()
1afad75b2dba net/mlx4_en: Fix wrong limitation for number of TX rings
ce1291041c39 net/mlx4_en: fix mlx4 ethtool -N insertion
2a7ad86813a4 mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel
da957117e731 fbdev: Ditch fb_edid_add_monspecs
1f043415c4f5 arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault
0063e9b69796 mm/memory_hotplug: fix updating the node span
d27074543286 mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span()
62ca688436d3 block, bfq: deschedule empty bfq_queues not referred by any process
045a481acd16 slcan: Fix memory leak in error path
22bc38eae704 mmc: sdhci-of-at91: fix quirk2 overwrite
8505966cdc7e mm/page_io.c: do not free shared swap slots
349d5ccf8971 mm: hugetlb: switch to css_tryget() in hugetlb_cgroup_charge_cgroup()
cb4df7d810ac mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm()
eec30082ea78 mm: mempolicy: fix the wrong return value and potential pages leak of mbind
c4b3eaf0585b iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros
5a705e36d350 net: ethernet: dwmac-sun8i: Use the correct function in exit path
50d4170ffddd ntp/y2038: Remove incorrect time_t truncation
f701a893aba0 ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either
97dd5923ba23 ecryptfs_lookup_interpose(): lower_dentry->d_inode is not stable
3c130e6cddae x86/quirks: Disable HPET on Intel Coffe Lake platforms
a0f63a47ab13 i2c: acpi: Force bus speed to 400KHz if a Silead touchscreen is present
ca7d1676d537 IB/hfi1: Use a common pad buffer for 9B and 16B packets
b8b6479e3cc9 IB/hfi1: Ensure full Gen3 speed in a Gen4 system
72ff837e69c5 IB/hfi1: TID RDMA WRITE should not return IB_WC_RNR_RETRY_EXC_ERR
3c1db8a639ac IB/hfi1: Calculate flow weight based on QP MTU for TID RDMA
d2f5dd2fd992 IB/hfi1: Ensure r_tid_ack is valid before building TID RDMA ACK packet
e88f0707f216 KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved
9e35e5bc4a04 Input: synaptics-rmi4 - destroy F54 poller workqueue when removing
2eaf311ccd38 Input: synaptics-rmi4 - clear IRQ enables for F54
f05aacf5a7b9 Input: synaptics-rmi4 - do not consume more data than we have (F11, F12)
7e649c757a1a Input: synaptics-rmi4 - disable the relative position IRQ in the F12 driver
4b482d7281a6 Input: synaptics-rmi4 - fix video buffer size
74e0752ee79e cgroup: freezer: call cgroup_enter_frozen() with preemption disabled in ptrace_stop()
a9cae67b7a20 Btrfs: fix log context list corruption after rename exchange operation
011e452b4d84 ALSA: usb-audio: not submit urb for stopped endpoint
c7801593d92a ALSA: usb-audio: Fix missing error check at mixer resolution test
ff24b83d0f73 dpaa2-eth: free already allocated channels on probe defer
21790068a579 tcp: remove redundant new line from tcp_event_sk_skb
364436976763 slip: Fix memory leak in slip_open error path
b75c75d36816 net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules
c8a648ae5f96 net/smc: fix fastopen for non-blocking connect()
b392b2d28e58 net: gemini: add missed free_netdev
612aeedfe77d ipmr: Fix skb headroom in ipmr_get_route().
5fa89b3526c5 ax88172a: fix information leak on short answers
609d02229b16 scsi: core: Handle drivers which set sg_tablesize to zero
efa2c8c477dd x86/entry/32: Fix FIXUP_ESPFIX_STACK with user CR3
a0f6ee27e686 x86/pti/32: Calculate the various PTI cpu_entry_area sizes correctly, make the CPU_ENTRY_AREA_PAGES assert precise
60418beeefd7 selftests/x86/sigreturn/32: Invalidate DS and ES when abusing the kernel
777b0ee4fd79 selftests/x86/mov_ss_trap: Fix the SYSENTER test
07b7c6191853 x86/entry/32: Fix NMI vs ESPFIX
62433c16a282 x86/entry/32: Unwind the ESPFIX stack earlier on exception entry
4a2364594599 x86/entry/32: Move FIXUP_FRAME after pushing %fs in SAVE_ALL
0593a806b430 x86/entry/32: Use %ss segment where required
26ce03ac3327 x86/entry/32: Fix IRET exception
f74d7e9547de x86/cpu_entry_area: Add guard page for entry stack on 32bit
41cb303e1436 x86/pti/32: Size initial_page_table correctly
2d2e7fe408eb x86/doublefault/32: Fix stack canaries in the double fault handler
1fd0ff871abe x86/xen/32: Simplify ring check in xen_iret_crit_fixup()
68ef02e30623 x86/xen/32: Make xen_iret_crit_fixup() independent of frame layout
ef15170227e2 x86/stackframe/32: Repair 32-bit Xen PV
37880a369c68 x86/speculation: Fix redundant MDS mitigation message
459c71f82b48 x86/speculation: Fix incorrect MDS/TAA mitigation status
c77d64c158c6 x86/insn: Fix awk regexp warnings
41bbdde13b43 x86: Use CONFIG_PREEMPTION
217d051d8efd x86/entry/32: Pass cr2 to do_async_page_fault()
1ecceee4c859 x86/entry/64: Prevent clobbering of saved CR2 value
8ccce28352fe x86/mm, tracing: Fix CR2 corruption
8873fea5f2d4 x86/entry/64: Update comments and sanity tests for create_gap
7801660649a0 x86/entry/64: Simplify idtentry a little
5d305a697f40 x86/entry/32: Simplify common_exception
216401f82bef x86/paravirt: Make read_cr2() CALLEE_SAVE
bf8b9dd0d0bf x86/asm: Move native_write_cr0/4() out of line
222093f0acfd x86/pgtable/32: Fix LOWMEM_PAGES constant
7998b2c4801a x86/alternatives: Fix int3_emulate_call() selftest stack corruption
e4a8155be9bd x86/ldt: Initialize the context lock for init_mm
f07a9a3a9ad4 x86/alternatives: Add int3_emulate_call() selftest
29b042bbfab8 x86/stackframe/32: Allow int3_emulate_push()
22334402db00 x86/stackframe/32: Provide consistent pt_regs
ed6c118e4451 x86/stackframe, x86/ftrace: Add pt_regs frame annotations
7159ebba55a4 x86/stackframe, x86/kprobes: Fix frame pointer annotations
ba09efb8b35b x86/stackframe: Move ENCODE_FRAME_POINTER to asm/frame.h
c2f632a32c05 x86/entry/32: Clean up return from interrupt preemption path
ce394d5e28c6 x86/asm: Pin sensitive CR0 bits
b3327106585c x86/asm: Pin sensitive CR4 bits
e3534ce1de0c Documentation/x86: Fix path to entry_32.S
487a6cb63d71 x86/asm: Remove unused TASK_TI_flags from asm-offsets.c
2bd8a406516b x86/entry/64: Don't compile ignore_sysret if 32-bit emulation is enabled
(From OE-Core rev: d320a03b697679dfe223883b23480b70f89ad649)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
27dfbcc2f53d Linux 5.4.20
2d8fdc5744ff selinux: fall back to ref-walk if audit is required
ae7f404d9227 libertas: make lbs_ibss_join_existing() return error code on rates overflow
61087dce64a5 libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held
3c822e1f3118 mwifiex: Fix possible buffer overflows in mwifiex_cmd_append_vsie_tlv()
c5b071e3f44d mwifiex: Fix possible buffer overflows in mwifiex_ret_wmm_get_status()
2cf2b620af7b dmaengine: axi-dmac: add a check for devm_regmap_init_mmio
eada328f7f9b clk: meson: g12a: fix missing uart2 in regmap table
3cfb0b360b37 mfd: max77650: Select REGMAP_IRQ in Kconfig
3b9586e82c90 regmap: fix writes to non incrementing registers
4eb12ef7491d pinctrl: sh-pfc: r8a7778: Fix duplicate SDSELF_B and SD1_CLK_B
7b07d15aa5b4 pinctrl: sh-pfc: r8a77965: Fix DU_DOTCLKIN3 drive/bias control
875e01dd8a97 selinux: fix regression introduced by move_mount(2) syscall
3b2e595dfe2b selinux: revert "stop passing MAY_NOT_BLOCK to the AVC upon follow_link"
837c36e0451f bcache: avoid unnecessary btree nodes flushing in btree_flush_write()
7c71d438e7e5 dt-bindings: iio: adc: ad7606: Fix wrong maxItems value
d15a2930f6d7 media: i2c: adv748x: Fix unsafe macros
30dd20c6d0e3 drivers: watchdog: stm32_iwdg: set WDOG_HW_RUNNING at probe
8dfa11837606 crypto: caam/qi2 - fix typo in algorithm's driver name
1f42c6de7b94 crypto: atmel-sha - fix error handling when setting hmac key
fb42d3f4ec86 crypto: artpec6 - return correct error code for failed setkey()
ee1c6b1aa9dc crypto: testmgr - don't try to decrypt uninitialized buffers
771fd0b2e8bf mtd: sharpslpart: Fix unsigned comparison to zero
1765aaef1753 mtd: onenand_base: Adjust indentation in onenand_read_ops_nolock
7df80a021f66 arm64: nofpsmid: Handle TIF_FOREIGN_FPSTATE flag cleanly
0ec337059d71 KVM: arm64: Treat emulated TVAL TimerValue as a signed 32-bit integer
a17d21640453 KVM: arm64: pmu: Fix chained SW_INCR counters
a6229d1b5c22 KVM: arm64: pmu: Don't increment SW_INCR if PMCR.E is unset
93a509cf1182 KVM: arm: Make inject_abt32() inject an external abort instead
9cce31930ad3 KVM: arm: Fix DFSR setting for non-LPAE aarch32 guests
48f9ec2020b3 KVM: arm/arm64: Fix young bit from mmu notifier
537493f1460a arm64: ptrace: nofpsimd: Fail FP/SIMD regset operations
37014cee458c arm64: cpufeature: Set the FP/SIMD compat HWCAP bits properly
1a2b07a2c3dd arm64: cpufeature: Fix the type of no FP/SIMD capability
ba95651cefe1 sched/uclamp: Fix a bug in propagating uclamp value in new cgroups
5d42957c9045 ARM: 8949/1: mm: mark free_memmap as __init
199808393ef7 KVM: arm/arm64: vgic-its: Fix restoration of unmapped collections
c406e5352155 ARM: at91: pm: use of_device_id array to find the proper shdwc node
69f08f44b4c1 ARM: at91: pm: use SAM9X60 PMC's compatible
451b91d88a1d iommu/arm-smmu-v3: Populate VMID field for CMDQ_OP_TLBI_NH_VA
c4faf627c76e powerpc/pseries: Allow not having ibm, hypertas-functions::hcall-multi-tce for DDW
cff30edec932 powerpc/pseries/vio: Fix iommu_table use-after-free refcount warning
5ca556d5edfd powerpc/papr_scm: Fix leaking 'bus_desc.provider_name' in some paths
05a23f436471 powerpc/ptdump: Only enable PPC_CHECK_WX with STRICT_KERNEL_RWX
17f37249d7db powerpc/ptdump: Fix W+X verification call in mark_rodata_ro()
6d7edac1469e Revert "powerpc/pseries/iommu: Don't use dma_iommu_ops on secure guests"
45c764da005a soc: qcom: rpmhpd: Set 'active_only' for active only power domains
0bf48acf4338 tools/power/acpi: fix compilation error
5d3453a5660b ARM: dts: at91: sama5d3: define clock rate range for tcb1
581a5fbf4f6d ARM: dts: at91: sama5d3: fix maximum peripheral clock rates
8e8802c93509 ARM: dts: meson8b: use the actual frequency for the GPU's 364MHz OPP
16665fffafee ARM: dts: meson8: use the actual frequency for the GPU's 182.1MHz OPP
3d2d8cd29c1b arm64: dts: marvell: clearfog-gt-8k: fix switch cpu port node
c44134c2a287 arm64: dts: renesas: r8a77990: ebisu: Remove clkout-lr-synchronous from sound
6f9da85057c1 ARM: dts: am43xx: add support for clkout1 clock
bd13285419b9 ARM: dts: at91: Reenable UART TX pull-ups
d01521db86ac arm64: dts: uDPU: fix broken ethernet
5ee40005f420 arm64: dts: qcom: msm8998: Fix tcsr syscon size
bc684844e7e0 platform/x86: intel_mid_powerbtn: Take a copy of ddata
b09e3d3e79cf ARC: [plat-axs10x]: Add missing multicast filter number to GMAC node
2de1af2bcba0 watchdog: qcom: Use platform_get_irq_optional() for bark irq
f599ae7529e6 rtc: cmos: Stop using shared IRQ
7a3aa58c0e02 rtc: hym8563: Return -EINVAL if the time is known to be invalid
ffad5982ce58 x86/boot: Handle malformed SRAT tables during early ACPI parsing
f4818129947c NFSv4.0: nfs4_do_fsinfo() should not do implicit lease renewals
cf360732f811 NFSv4: try lease recovery on NFS4ERR_EXPIRED
5d0a6d77b69c NFSv4: pnfs_roc() must use cred_fscmp() to compare creds
86065de0eb0a NFS: Fix fix of show_nfs_errors
5d7030939d22 NFS/pnfs: Fix pnfs_generic_prepare_to_resend_writes()
1ef47a06d2d4 NFS: Revalidate the file size on a fatal write error
b7560b5b72a2 nfs: NFS_SWAP should depend on SWAP
7842c7b30d75 bpf, sockmap: Check update requirements after locking
45d7b0e316d9 bpf: Improve bucket_log calculation logic
cb675fde4c44 selftests/bpf: Test freeing sockmap/sockhash with a socket in it
1098f9696152 bpf, sockhash: Synchronize_rcu before free'ing map
657a17ce530e bpf, sockmap: Don't sleep while holding RCU lock on tear-down
1dfc34bd009a bpftool: Don't crash on missing xlated program instructions
ec81471a70d1 iwlwifi: mvm: avoid use after free for pmsr request
b706a4986382 PCI/AER: Initialize aer_fifo
b51ac6e721d5 PCI: Don't disable bridge BARs when assigning bus resources
67016624a0be PCI: tegra: Fix afi_pex2_ctrl reg offset for Tegra30
df26f04f23bd PCI/switchtec: Fix vep_vector_number ioread width
b72b8d0725b0 PCI/switchtec: Use dma_set_mask_and_coherent()
15818c08ca79 ath10k: pci: Only dump ATH10K_MEM_REGION_TYPE_IOREG when safe
4f0e6425a2da PCI/IOV: Fix memory leak in pci_iov_add_virtfn()
da268240fb0a scsi: ufs: Fix ufshcd_probe_hba() reture value in case ufshcd_scsi_add_wlus() fails
21702236f352 RDMA/umem: Fix ib_umem_find_best_pgsz()
56b22525ab80 RDMA/cma: Fix unbalanced cm_id reference count during address resolve
b73401025a14 RDMA/uverbs: Verify MR access flags
78923675151e RDMA/core: Fix locking in ib_uverbs_event_read
33daaea78a1f RDMA/i40iw: fix a potential NULL pointer dereference
b1f90d263a3b RDMA/netlink: Do not always generate an ACK for some netlink operations
839fb9e04cd7 IB/mlx4: Fix leak in id_map_find_del
996dc3d50add IB/srp: Never use immediate data if it is disabled by a user
56f5f41e80b3 IB/mlx4: Fix memory leak in add_gid error flow
b96c27b1891b hv_sock: Remove the accept port restriction
f7775193b643 ASoC: pcm: update FE/BE trigger order based on the command
d6591ea2dd1a Linux 5.4.19
866323ccc138 powerpc/kuap: Fix set direction in allow/prevent_user_access()
3556d66be3f1 regulator fix for "regulator: core: Add regulator_is_equal() helper"
0f51165c22e4 rxrpc: Fix service call disconnection
743823969080 perf/core: Fix mlock accounting in perf_mmap()
d1318034e9e9 clocksource: Prevent double add_timer_on() for watchdog_timer
d15b033e9603 x86/apic/msi: Plug non-maskable MSI affinity race
b64d7f7af8f9 cifs: fail i/o on soft mounts if sessionsetup errors out
3e3e8551a5a2 KVM: Play nice with read-only memslots when querying host page size
7426ddf01f16 KVM: Use vcpu-specific gva->hva translation when querying host page size
09bd0033df05 KVM: nVMX: vmread should not set rflags to specify success in case of #PF
1d6cfa003c21 KVM: x86: fix overlap between SPTE_MMIO_MASK and generation
8a1cd01bee30 KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on 32-bit KVM
fc46f8a115e5 KVM: x86: use CPUID to locate host page table reserved bits
f805ec37828b KVM: x86/mmu: Apply max PA check for MMIO sptes to 32-bit KVM
59593aed7e9e drm/dp_mst: Remove VCPI while disabling topology mgr
498742625716 btrfs: free block groups after free'ing fs trees
26ca39ac5593 btrfs: use bool argument in free_root_pointers()
d0d327fe37cc x86/timer: Don't skip PIT setup when APIC is disabled or in legacy mode
8fbabd15bdbc mfd: bd70528: Fix hour register mask
555b3025e8fa mfd: rn5t618: Mark ADC control register volatile
3cf5733a2db7 mfd: da9062: Fix watchdog compatible string
9af68afd832f ASoC: Intel: skl_hda_dsp_common: Fix global-out-of-bounds bug
207014751cd1 net/mlx5: Deprecate usage of generic TLS HW capability bit
70b68add8d65 net/mlx5: Fix deadlock in fs_core
0fea83e06f12 drop_monitor: Do not cancel uninitialized work item
2b2de489c823 qed: Fix timestamping issue for L2 unicast ptp packets.
036ecba2eb99 ipv6/addrconf: fix potential NULL deref in inet6_set_link_af()
7fd6c4da37d4 taprio: Fix dropping packets when using taprio + ETF offloading
a5b959885c45 taprio: Use taprio_reset_tc() to reset Traffic Classes configuration
ee6adcf2c318 taprio: Add missing policy validation for flags
d544302521af taprio: Fix still allowing changing the flags during runtime
47578c894979 taprio: Fix enabling offload with wrong number of traffic classes
4c4153375b67 net: macb: Limit maximum GEM TX length in TSO
96ad794892e7 net: macb: Remove unnecessary alignment check for TSO
9211b26dcfee net/mlx5: IPsec, fix memory leak at mlx5_fpga_ipsec_delete_sa_ctx
0be678f179e0 net/mlx5: IPsec, Fix esp modify function attribute
74888191bb13 net: systemport: Avoid RBUF stuck in Wake-on-LAN mode
8526c3b6e753 net: stmmac: fix a possible endless loop
ebf9cdfbcd38 net_sched: fix a resource leak in tcindex_set_parms()
6994d92ed59a net: mvneta: move rx_dropped and rx_errors in per-cpu stats
76e828ceafee net: dsa: microchip: enable module autoprobe
07d7fcb1dd29 net: dsa: bcm_sf2: Only 7278 supports 2Gb/sec IMP port
84e4db766fc6 net: dsa: b53: Always use dev->vlan_enabled in b53_configure_vlan()
fddb5a50801a dpaa_eth: support all modes with rate adapting PHYs
3f90dce11916 devlink: report 0 after hitting end in region read
6978e2935c74 bonding/alb: properly access headers in bond_alb_xmit()
0a56a2e1624a ASoC: sgtl5000: Fix VDDA and VDDIO comparison
67d5b7a1f971 regulator: core: Add regulator_is_equal() helper
c533cf50fdf6 ubifs: Fix memory leak from c->sup_node
fa70d4f7f8e0 ubi: Fix an error pointer dereference in error handling code
6f362620793b ubi: fastmap: Fix inverted logic in seen selfcheck
c6d07f6e50e4 virtio_balloon: Fix memory leaks on errors in virtballoon_probe()
3ac13462f55a virtio-balloon: Fix memory leak when unloading while hinting is in progress
7eece787ed82 nfsd: Return the correct number of bytes written to the file
e94829641e69 nfsd: fix jiffies/time_t mixup in LRU list
9f3fa8bea96d nfsd: fix delay timer on 32-bit architectures
0d1dacfda0e5 IB/core: Fix ODP get user pages flow
320a24fae280 IB/mlx5: Fix outstanding_pi index for GSI qps
b4d104ce6dfe net: tulip: Adjust indentation in {dmfe, uli526x}_init_module
9b14bd934ce3 net: smc911x: Adjust indentation in smc911x_phy_configure
761b51409246 ppp: Adjust indentation into ppp_async_input
bd1bac782d92 NFC: pn544: Adjust indentation in pn544_hci_check_presence
da535ca18ef5 drm: msm: mdp4: Adjust indentation in mdp4_dsi_encoder_enable
bf45386cef7e powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize
0a7473b27eb9 ext2: Adjust indentation in ext2_fill_super
421b77ae26f4 phy: qualcomm: Adjust indentation in read_poll_timeout
55a268cf341f mtd: spi-nor: Split mt25qu512a (n25q512a) entry into two
3c9edf55817a scsi: ufs: Recheck bkops level if bkops is disabled
5f8c02d32223 scsi: qla4xxx: Adjust indentation in qla4xxx_mem_free
bdc7651e6164 scsi: csiostor: Adjust indentation in csio_device_reset
454db8d6163b scsi: qla2xxx: Fix the endianness of the qla82xx_get_fw_size() return type
05dceb5a62ce ASoC: meson: axg-fifo: fix fifo threshold setup
7c662f69fa05 percpu: Separate decrypted varaibles anytime encryption can be enabled
59c458d51099 broken ping to ipv6 linklocal addresses on debian buster
07fbef9a6e18 fix up iter on short count in fuse_direct_io()
e0fc65ef8a60 virtio-pci: check name when counting MSI-X vectors
f603b3714e4e virtio-balloon: initialize all vq callbacks
fe84d084b2e9 drm/amd/dm/mst: Ignore payload update failures
f4bda8b61e7c clk: tegra: Mark fuse clock as critical
806cabd3117f mm/mmu_gather: invalidate TLB correctly on batch allocation failure and flush
091c96151279 arm64: dts: qcom: qcs404-evb: Set vdd_apc regulator in high power mode
ed53278ee834 mm/page_alloc.c: fix uninitialized memmaps on a partially populated last section
03c03090c3aa ocfs2: fix oops when writing cloned file
6e41b5499960 KVM: s390: do not clobber registers during guest reset/store status
b1f9f9b84374 KVM: x86: Revert "KVM: X86: Fix fpu state crash in kvm guest"
58e1e7514f06 KVM: x86: Ensure guest's FPU state is loaded when accessing for emulation
a6ff6e0546d0 KVM: x86: Handle TIF_NEED_FPU_LOAD in kvm_{load,put}_guest_fpu()
e3a37628c46d KVM: x86: Free wbinvd_dirty_mask if vCPU creation fails
9d9933f7f3f4 KVM: x86: Don't let userspace set host-reserved cr4 bits
715f9f9a0768 KVM: VMX: Add non-canonical check on writes to RTIT address MSRs
2aebc6ed84ef x86/KVM: Clean up host's steal time structure
f7c1a6c67ff3 x86/kvm: Cache gfn to pfn translation
d71eef9fcc0b x86/KVM: Make sure KVM_VCPU_FLUSH_TLB flag is not missed
a3db2949904b x86/kvm: Introduce kvm_(un)map_gfn()
68460ceba319 x86/kvm: Be careful not to clear KVM_VCPU_FLUSH_TLB bit
d0671151c2b9 kvm/svm: PKU not currently supported
9213699efd1f KVM: PPC: Book3S PR: Free shared page if mmu initialization fails
b2301deda8ce KVM: PPC: Book3S HV: Uninit vCPU if vcore creation fails
0718e2d3dc54 KVM: x86: Fix potential put_fpu() w/o load_fpu() on MPX platform
72324a1db6a1 KVM: x86: Protect MSR-based index computations in fixed_msr_to_seg_unit() from Spectre-v1/L1TF attacks
2fb35312c070 KVM: x86: Protect x86_decode_insn from Spectre-v1/L1TF attacks
f2a514318263 KVM: x86: Protect MSR-based index computations from Spectre-v1/L1TF attacks in x86.c
a07fdd5fcb30 KVM: x86: Protect ioapic_read_indirect() from Spectre-v1/L1TF attacks
c09be769b48d KVM: x86: Protect MSR-based index computations in pmu.h from Spectre-v1/L1TF attacks
2f8a13754e05 KVM: x86: Protect ioapic_write_indirect() from Spectre-v1/L1TF attacks
c8a6b5918942 KVM: x86: Protect kvm_hv_msr_[get|set]_crash_data() from Spectre-v1/L1TF attacks
bf13472e5c05 KVM: x86: Protect kvm_lapic_reg_write() from Spectre-v1/L1TF attacks
8b73ccf4b475 KVM: x86: Protect DR-based index computations from Spectre-v1/L1TF attacks
c2b02d093a08 KVM: x86: Protect pmu_intel.c from Spectre-v1/L1TF attacks
79777eb82c23 KVM: x86: Refactor prefix decoding to prevent Spectre-v1/L1TF attacks
443fd0049dcf KVM: x86: Refactor picdev_write() to prevent Spectre-v1/L1TF attacks
8dcbf26833cc aio: prevent potential eventfd recursion on poll
844d2025b68d eventfd: track eventfd_signal() recursion depth
d5d6b5887241 bcache: add readahead cache policy options via sysfs interface
f158399c1fe9 watchdog: fix UAF in reboot notifier handling in watchdog core code
c157da57304e xen/balloon: Support xend-based toolstack take two
726599c63799 tools/kvm_stat: Fix kvm_exit filter name
7a19bd6fe21b media: rc: ensure lirc is initialized before registering input device
fd52d88c1dd8 media: iguanair: fix endpoint sanity check
ae116f21b24a drm/rect: Avoid division by zero
5b442859ab80 drm: atmel-hlcdc: prefer a lower pixel-clock than requested
d065ae83dff8 drm: atmel-hlcdc: enable clock before configuring timing engine
6421785d17e1 drm: atmel-hlcdc: use double rate for pixel clock only if supported
ae35ac3c4b08 gfs2: fix O_SYNC write handling
637348690865 gfs2: move setting current->backing_dev_info
c61b93fae603 gfs2: fix gfs2_find_jhead that returns uninitialized jhead with seq 0
65afa6958134 sunrpc: expiry_time should be seconds not timeval
301763168c5f mwifiex: fix unbalanced locking in mwifiex_process_country_ie()
535a755d6e6d iwlwifi: don't throw error when trying to remove IGTK
cbe53807a14d ARM: tegra: Enable PLLP bypass during Tegra124 LP1
9e78c0e74261 btrfs: Correctly handle empty trees in find_first_clear_extent_bit
d82ff2d6406d btrfs: flush write bio if we loop in extent_write_cache_pages
5e7a9ad78d56 Btrfs: fix race between adding and putting tree mod seq elements and nodes
ce066845584a btrfs: drop log root for dropped roots
7baf8f665b77 btrfs: set trans->drity in btrfs_commit_transaction
78748f249199 Btrfs: fix infinite loop during fsync after rename operations
79a29dee9024 Btrfs: make deduplication with range including the last block work
ddb36ab79b11 Btrfs: fix missing hole after hole punching and fsync when using NO_HOLES
f0edd3abee0d ext4: fix race conditions in ->d_compare() and ->d_hash()
d44fa04f0864 ext4: fix deadlock allocating crypto bounce page from mempool
b19f130269c0 jbd2_seq_info_next should increase position index
6282102dbcbf nfsd: fix filecache lookup
4544a6912416 NFS: Directory page cache pages need to be locked when read
293cdcd89b6c NFS: Fix memory leaks and corruption in readdir
8d313c04b425 scsi: qla2xxx: Fix unbound NVME response length
246a54895ac6 powerpc/futex: Fix incorrect user access blocking
eee7a67c0391 crypto: picoxcell - adjust the position of tasklet_init and fix missed tasklet_kill
e057d64f86d4 crypto: api - Fix race condition in crypto_spawn_alg
12a15e1c544e crypto: atmel-aes - Fix counter overflow in CTR mode
2c4d8203ff0c crypto: pcrypt - Do not clear MAY_SLEEP flag in original request
ded7c73a2b8c crypto: arm64/ghash-neon - bump priority to 150
3a35871603a6 crypto: ccp - set max RSA modulus size for v3 platform devices as well
58d8f2dec6ab crypto: hisilicon - Use the offset fields in sqe to avoid need to split scatterlists
a791fc62a574 crypto: api - fix unexpectedly getting generic implementation
1f5f3f65f956 selftests: bpf: Ignore FIN packets for reuseport tests
44a522bf5edc selftests: bpf: Use a temporary file in test_sockmap
da43712a7262 selftests/bpf: Skip perf hw events test if the setup disabled it
49437ecf9f30 selftests/bpf: Fix test_attach_probe
c0ada6ad3ec5 samples/bpf: Xdp_redirect_cpu fix missing tracepoint attach
a69af866bd35 samples/bpf: Don't try to remove user's homedir on clean
fbee8f61747f tc-testing: fix eBPF tests failure on linux fresh clones
f7a2ccc00a36 libbpf: Fix realloc usage in bpf_core_find_cands
ab48c14a444b bpf, devmap: Pass lockdep expression to RCU lists
77bb53cb0948 selftests/bpf: Fix perf_buffer test on systems w/ offline CPUs
5b0e9b563c01 riscv, bpf: Fix broken BPF tail calls
f3107a3c9b84 btrfs: Handle another split brain scenario with metadata uuid feature
dd9837259de0 btrfs: fix improper setting of scanned for range cyclic write cache pages
b4c8ed0bf977 crypto: pcrypt - Avoid deadlock by using per-instance padata queues
c8e9dafe668d ftrace: Protect ftrace_graph_hash with ftrace_sync
6a652ed941aa ftrace: Add comment to why rcu_dereference_sched() is open coded
c9dc142b39a8 tracing: Annotate ftrace_graph_notrace_hash pointer with __rcu
024537c7548f tracing: Annotate ftrace_graph_hash pointer with __rcu
df57920d6e18 ASoC: SOF: core: release resources on errors in probe_continue
3145862d8f9e ASoC: SOF: Introduce state machine for FW boot
0b84591fdd5e scsi: qla2xxx: Fix stuck login session using prli_pend_timer
78cbd2c397bf dm: fix potential for q->make_request_fn NULL pointer
1426201af047 dm thin metadata: use pool locking at end of dm_pool_metadata_close
40d3d8d6eb64 dm crypt: fix benbi IV constructor crash if used in authenticated mode
b805ec7d089f dm crypt: fix GFP flags passed to skcipher_request_alloc()
1781fa54a4ea dm writecache: fix incorrect flush sequence when doing SSD mode commit
a8d99d630117 dm space map common: fix to ensure new block isn't already in use
188f9b710ff1 dm zoned: support zone sizes smaller than 128MiB
ad7c38abe8ba ARM: dma-api: fix max_pfn off-by-one error in __dma_supported()
bae74e7ac842 of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc
f5f68d165dc0 cpufreq: Avoid creating excessively large stack frames
7dce99d3182a PM: core: Fix handling of devices deleted during system-wide resume
e9116299ffac f2fs: fix race conditions in ->d_compare() and ->d_hash()
6d722cd2e387 f2fs: fix dcache lookup of !casefolded directories
f4803553aae6 f2fs: code cleanup for f2fs_statfs_project()
b1de9ec0e788 f2fs: fix miscounted block limit in f2fs_statfs_project()
ae2cb41583a9 f2fs: choose hardlimit when softlimit is larger than hardlimit in f2fs_statfs_project()
08846286bf28 ovl: fix lseek overflow on 32bit
809e16a6eeb3 ovl: fix wrong WARN_ON() in ovl_cache_update_ino()
03572189d61c power: supply: ltc2941-battery-gauge: fix use-after-free
6f33d59ae165 power: supply: axp20x_ac_power: Fix reporting online status
4eed5d3bb14a cpupower: Revert library ABI changes from commit ae2917093fb60bdc1ed3e
2b27acfde9b2 scsi: qla2xxx: Fix mtcp dump collection failure
edd15b154653 scsi: megaraid_sas: Do not initiate OCR if controller is not in ready state
3728834fff19 erofs: fix out-of-bound read for shifted uncompressed block
3ebbfdf41d26 scripts/find-unused-docs: Fix massive false positives
a421f513779c fs: allow deduplication of eof block into the end of the destination file
5fefc9b3e358 padata: Remove broken queue flushing
5f63963669ec crypto: ccree - fix PM race condition
5e33535cf13c crypto: ccree - fix FDE descriptor sequence
d8760030e701 crypto: ccree - fix pm wrongful error reporting
70439e8b7ccf crypto: ccree - fix AEAD decrypt auth fail
80c660892c24 crypto: ccree - fix backlog memory leak
d2b1dcd5430f crypto: api - Check spawn->alg under lock in crypto_drop_spawn
0ed43162f578 nvmem: core: fix memory abort in cleanup path
6bdd1a0ed111 mfd: axp20x: Mark AXP20X_VBUS_IPSOUT_MGMT as volatile
385c61a41cf9 hv_balloon: Balloon up according to request page number
570a29b1f75b ASoC: SOF: core: free trace on errors
84c9efd2f855 mmc: sdhci-of-at91: fix memleak on clk_get failure
65e6f63ebfb9 ubifs: Fix deadlock in concurrent bulk-read and writepage
e3a561aa5376 ubifs: Fix FS_IOC_SETFLAGS unexpectedly clearing encrypt flag
91f96a9cdd82 ubifs: Fix wrong memory allocation
0119c617ebb6 ubifs: don't trigger assertion on invalid no-key filename
9220bf17ae18 fscrypt: don't print name of busy file when removing key
ad270734193e alarmtimer: Unregister wakeup source when module get fails
05b147599f9d ACPI / battery: Deal better with neither design nor full capacity not being reported
7b86d05d1b02 ACPI / battery: Use design-cap for capacity calculations if full-cap is not available
93bba324c28a ACPI / battery: Deal with design or full capacity being reported as -1
832d6f76f268 ACPI: video: Do not export a non working backlight interface on MSI MS-7721 boards
44f6e43924f8 mmc: spi: Toggle SPI polarity, do not hardcode it
47bdd025b921 PCI: keystone: Fix error handling when "num-viewport" DT property is not populated
a8b56e222300 PCI: keystone: Fix link training retries initiation
6700c0d9ae92 PCI: keystone: Fix outbound region mapping
05d56da81d94 PCI: tegra: Fix return value check of pm_runtime_get_sync()
38b67e60b6b5 tracing: Fix now invalid var_ref_vals assumption in trace action
5b92f86c8492 powerpc/32s: Fix CPU wake-up from sleep mode
4135a03fdf2e powerpc/32s: Fix bad_kuap_fault()
1bd3b871af57 powerpc/pseries: Advance pfn if section is not present in lmb_is_removable()
02c4699fb664 powerpc/xmon: don't access ASDR in VMs
796085dbe323 powerpc/ptdump: Fix W+X verification
2cabe61ab8ae powerpc/mmu_gather: enable RCU_TABLE_FREE even for !SMP case
63098a93063a s390/mm: fix dynamic pagetable upgrade for hugetlbfs
e25f00c69039 MIPS: boot: fix typo in 'vmlinux.lzma.its' target
bd9abdfd68b2 MIPS: fix indentation of the 'RELOCS' message
6b29d4a1f832 MIPS: syscalls: fix indentation of the 'SYSNR' message
6cca9100db90 KVM: arm64: Only sign-extend MMIO up to register width
4dd5c62d2e4c KVM: arm/arm64: Correct AArch32 SPSR on exception entry
b0e01e9d2353 KVM: arm/arm64: Correct CPSR on exception entry
cc7931dc766f KVM: arm64: Correct PSTATE on exception entry
5222ded5c72c arm64: acpi: fix DAIF manipulation with pNMI
79c56db06547 ALSA: hda: Add JasperLake PCI ID and codec vid
3d938d9febd1 ALSA: hda: Add Clevo W65_67SB the power_save blacklist
6cb7581f5702 ALSA: hda: Apply aligned MMIO access only conditionally
68efc422c547 platform/x86: intel_scu_ipc: Fix interrupt support
5bf25f3828a2 x86/cpu: Update cached HLE state on write to TSX_CTRL_CPUID_CLEAR
146f086a409b irqdomain: Fix a memory leak in irq_domain_push_irq()
db165906cad5 lib/test_kasan.c: fix memory leak in kmalloc_oob_krealloc_more()
9cbcbfc67b25 media: v4l2-rect.h: fix v4l2_rect_map_inside() top/left adjustments
965ccdedf1bf media: v4l2-core: compat: ignore native command codes
d2db1cbc751f media/v4l2-core: set pages dirty upon releasing DMA buffers
d364e9b37cc9 mm: move_pages: report the number of non-attempted pages
95419e7ef266 mm: thp: don't need care deferred split queue in memcg charge move path
aab4189dfdb1 mm/memory_hotplug: fix remove_memory() lockdep splat
cb33e477a50b utimes: Clamp the timestamps in notify_change()
73031a617ac3 mmc: sdhci-pci: Make function amd_sdhci_reset static
af823232b018 mm/sparse.c: reset section's mem_map when fully deactivated
c2c814fc9aee memcg: fix a crash in wb_workfn when a device disappears
39fac95159b4 ALSA: dummy: Fix PCM format loop in proc output
6edf790e9e51 ALSA: usb-audio: Annotate endianess in Scarlett gen2 quirk
85dbab63b461 ALSA: usb-audio: Fix endianess in descriptor validation
2068fbb20b9f usb: gadget: f_ecm: Use atomic_t to track in-flight request
a7d00597e0b7 usb: gadget: f_ncm: Use atomic_t to track in-flight request
683b53b5aa12 usb: gadget: legacy: set max_speed to super-speed
063daad1412e usb: gadget: f_fs: set req->num_sgs as 0 for non-sg transfer
47dbff795049 objtool: Silence build output
72a533fc29e1 usb: typec: tcpci: mask event interrupts when remove driver
91cfedb762bd usb: dwc3: gadget: Delay starting transfer
1dc0d21fc1e6 usb: dwc3: gadget: Check END_TRANSFER completion
4e5d1bf6e68f brcmfmac: Fix memory leak in brcmf_usbdev_qinit
1c8c75275f97 Bluetooth: btusb: Disable runtime suspend on Realtek devices
1bfecb50771d Bluetooth: btusb: fix memory leak on fw
21780d1fd65b nvmet: Fix controller use after free
6243cb9e32d2 nvmet: Fix error print message at nvmet_install_queue function
6a4fea54ab46 rcu: Use READ_ONCE() for ->expmask in rcu_read_unlock_special()
c71706a5ffff srcu: Apply *_ONCE() to ->srcu_last_gp_end
dcad7270b2c7 rcu: Avoid data-race in rcu_gp_fqs_check_wake()
a523031513b7 rcu: Use *_ONCE() to protect lockless ->expmask accesses
d42b2370f28a tracing: Fix sched switch start/stop refcount racy updates
e39351c52efb tracing/kprobes: Have uname use __get_str() in print_fmt
59b2e64b16bb ipc/msg.c: consolidate all xxxctl_down() functions
8ce07d95d67a netfilter: ipset: fix suspicious RCU usage in find_set_and_id
7bad0dda8164 mfd: dln2: More sanity checking for endpoints
6fcbff54ded1 media: uvcvideo: Avoid cyclic entity chains due to malformed USB descriptors
9f5c4fac341c bnxt_en: Fix logic that disables Bus Master during firmware reset.
fddd3f73ad08 netdevsim: fix stack-out-of-bounds in nsim_dev_debugfs_init()
f146529c0049 MAINTAINERS: correct entries for ISDN/mISDN section
096df4720ab6 ionic: fix rxq comp packet type mask
b6a7ba0e8622 tcp: clear tp->segs_{in|out} in tcp_disconnect()
31fceaf08597 tcp: clear tp->data_segs{in|out} in tcp_disconnect()
2fc4773b6af7 tcp: clear tp->delivered in tcp_disconnect()
c9b6c6d07e5c tcp: clear tp->total_retrans in tcp_disconnect()
269a3c472a6f rxrpc: Fix NULL pointer deref due to call->conn being cleared on disconnect
843e115de475 rxrpc: Fix missing active use pinning of rxrpc_local object
524cba2f8de5 rxrpc: Fix insufficient receive notification generation
62221a9b1c9a rxrpc: Fix use-after-free in rxrpc_put_local()
5fa06c956821 bnxt_en: Fix TC queue mapping.
8566221e46eb net: stmmac: Delete txtimer in suspend()
dd8142a6fa52 net_sched: fix an OOB access in cls_tcindex
919f13c56485 net: hsr: fix possible NULL deref in hsr_handle_frame()
f3dea4cea67a l2tp: Allow duplicate session creation with UDP
b080bc8481d9 gtp: use __GFP_NOWARN to avoid memalloc warning
0f8f0429a299 cls_rsvp: fix rsvp_policy
097ef8be69a3 bnxt_en: Move devlink_register before registering netdev
aaf5369c72e9 sparc32: fix struct ipc64_perm type definition
(From OE-Core rev: cdbe18840fcd8d3f863a6198b33fc27731a4a7f0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lists of ptests are defined via PTESTS_FAST and PTESTS_SLOW;
specifying 'ptests-pkgs' also pulls in additional ptests that
are specifically excluded from those lists due to causing issues with
ptesting. (particularly bash-ptest is one such item)
(From OE-Core rev: 1d8e5d1bc1aa8fdaf967395e27b13cc989717fb7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg also depends on libsolv and can needlessly pull in rpm even if
the O_P_M does not desire to use rpm
(From OE-Core rev: 007d693a3c51026a9265f8e0bd09af086bcd8252)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dnf depends on libsolv, and libsolv does not have and easy way to
jusr enable rpmdb support, it either has full rpm or nothing, perhaps it
could be improved in libsolv and we can use that but from now we have
no other option
dnf support only rpm backend and wont work with opkg or dpkg/apt anyway
(From OE-Core rev: aa56c5dcdea152bee62bb480ccaae177f6c69b9b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 8380df6566.
Giving BUILDNAME a static default in reproducible_build_simple.bbclass
to have /etc/version be generated with that name lead to other users
of BUILDNAME no longer working as expected. E.g., buildstats.bcclass
would now write its information in a single directory, overwriting the
statistics for each build.
(From OE-Core rev: dcd1fbe153369634c73370cbe22e1dbdac080146)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Do-not-check-for-validity-of-shell-executable.patch
CVE-2019-19882.patch
Removed since they are included in 4.8.1.
(From OE-Core rev: de9cceb13e264434eb0b8393c3b0c0217b8d505e)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
refresh the following patch:
0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
(From OE-Core rev: 534e82abbb33e7c02c183ab0290572b2dc599447)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the correct variable so options actually get used and
use the correct qt option name to prevent errors.
(From OE-Core rev: fbaf9afcbeb031860c249d73650649f8d032310d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Maybe armv7a can be re-enabled either but due to limited resources there is no
chance for me to test.
(From OE-Core rev: 8fe34dd8ee8e213ad954a8534bdfb737676d7c9a)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch to fix strndup being detected as present incorrectly
when building for MinGW.
(From OE-Core rev: ffa91ff19f73c3ed4060a6ecd3b6da7f46732cb3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace an autotools-specific .pc adjustment patch with a meson-specific one.
(From OE-Core rev: 88494d118b8ae85b3946df716cfa242a1858f270)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On the autobuilder a ptest log with 2.1 million lines took around 18 hours to
process. This is clearly crazy.
We can tweak the processing code to:
a) Stop repeatedly joining large strings together (append to a list instead)
b) Use one startswith expression instead of multiple re.search() operations
With this change it takes 18 hours down to around 12s.
[YOCTO #13696]
(From OE-Core rev: 01c9f40b979e36a53e789a6bedd89b6d9557dce3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change of settimeofday() systemcall since Glibc 2.31
will cause "hwclock -s" doesn't work with error:
"hwclock: settimeofday() failed: Invalid argument"
Backport a upstream patch to fix this issue.
(From OE-Core rev: b80bf70748609b92ce766d11380353fdfbb1d916)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Don-t-build-tools-with-CC_FOR_BUILD.patch
Removed since it is included in 2.4.3.
refresh the following patch:
0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch
(From OE-Core rev: fcaca33d458449379eeb2f99b613f8be1e6a44ce)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Resolve:
combo-layer:83: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead.
(From OE-Core rev: 7b43e04424985cf71b9263969830c9e4e9d72e01)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following changes:
ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config
(From OE-Core rev: 174cd0d15fb8879a28b9a069a2e504617c0be1a7)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Acked-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fbdev backend is not documented, and not the default;
as the emulated hardware in qemu now supports DRM/KMS
(both std and virtio), we should align with upstream default
and vast majority of users. Empty init file will cause
weston to default to the KMS backend.
Note that 3D acceleration via virgl is not required; the backend
renders fine via the software driver in mesa. However, kvm
is more or less required to keep the UI responsive.
Also, other qemu targets (mips and arm in particular) continue
to use the fbdev backend, as in the absence of kvm, the performance
of software GL paths falls to unacceptable level.
(From OE-Core rev: 1bddd7ac64bc0a863dec38bf4d9671f9f1a51b03)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
webkit nowadays requires a couple of supplementary libraries for this,
so bring them in (courtesy of meta-webkit[1], which will hopefully
adjust without a lot of trouble).
[1] https://github.com/Igalia/meta-webkit/
[RP: Add missing maintainers entries]
(From OE-Core rev: 85431fe5c16ce1aa0916e57e820ff69c5aa0612a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also enabling wayland if x11 is not enabled is not necessarily
the correct decision.
(From OE-Core rev: 9d447fc61dca53bf41b31acb6e4083a10935ca8c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now selftest is using its own copied build directory, we can stop worrying about
copying files around as backup, and drop the SIGTERM handler to try and restore
them, simplifying the code.
(From OE-Core rev: b8ea8a910267fee4bb9e57f24ba829064e22d016)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently oe-selftest reuses the current build directory and the concurrent
version run with -j does not.
Standardise and use a separate new build directory in both cases. This will lead
to simpler code and more reliable user run tests.
(From OE-Core rev: 50238b0717b04e0a1fa69d618e8c8aa8445a80b0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can see tracebacks where the SIGTERM handler catches things
it shouldn't. Avoid exit(1) unless we're the process that
it was intended for.
[YOCTO #13664]
(From OE-Core rev: d9c62ffac611310efd47ed6397d31dccb72fe868)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13663
Prior to this fix, the try/except block in OEScriptTests' setUpClass
did both the import and the raise unittest.SkipTest for the
subsequent OEPybootchartguyTests. The consequence of the this meant
that, when cairo was not available on the test host, the raise was
counted only once as a class setup issue, instead of once for each
of the tests to be run, resulting in incorrect skip counts in the
test results.
Instead of raising unittest.SkipTest in setUpClass, the more
proper method is to use the unittest.skipUnless method along with
importlib.util.find_spec to check for the presence of the
python3-cairo module. This allows the entire class to be skipped
if cairo is not present, while also correctly passing along the
skip state for each of the class's tests, and avoiding the UNKNOWN
results to appear in cases where the -j option was provided to
oe-selftest, but the tests were still skipped.
(From OE-Core rev: 10c2216cb6fb61c74babd8bd17cb3481754b7475)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update codepath would trigger:
Exception: UnboundLocalError: local variable 'svnfetchcmd' referenced before assignment
Fix this so the code functions as intended in both fetch and update cases.
[YOCTO #13798]
(Bitbake rev: 16c4e930ff37ea6eac2ac0cb2197908ce3a1cc53)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an option to avoid builds depending on the presence of setcap
from the host system.
[YOCTO #13786]
(From OE-Core rev: 182910321971cb87e54c2a92cb8ea6c531a743ee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a missing makefile dependency which can cause differences in
configuration (submitted upstream).
[YOCTO #13800]
(From OE-Core rev: fe97845a45434902c5a994e253a127a462d7d3b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes jquery in the output directory to make the diffoscope output
easier to navigate
(From OE-Core rev: ff7c386455848e497ef40f9fee2be87d5171e203)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a recipe that packages jQuery in a manner borrowed from debian. The
primary purpose is to make the diffoscope output from the autobuilder
easier to navigate.
(From OE-Core rev: 9fdfff92e5f6b56657802c06c698ef37a95fd449)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When bitbake-layers fetch-layerindex clones the repositories, these are
full clones. Allow the user to specify '-s' and do shallow clones
instead for faster downloads.
(Bitbake rev: a0c8b27675a590d9deeb3cbc462c0eb0e113cf3b)
Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Documentation says:
"path_spec": A specific directory in which to checkout the specified
svn module.
but existing svn fetcher uses "module" always as path of checked out
svn-module, regardless whether path_spec was given or not.
(Bitbake rev: 75223644ab9bc94fc268f1bab775e66c4188f279)
Signed-off-by: Jens Rehsack <sno@NetBSD.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It printed duplicated ones when there are multiple similar recipes in
differrent layers, for example, if python-lockfile in different layers,
and there is no python3-lockfile:
$ bitbake python3-lockfile
ERROR: Nothing PROVIDES 'python3-lockfile'. Close matches:
python-lockfile
python-lockfile
python3-aiofiles
Remove the duplicated ones to fix the problem.
(Bitbake rev: 5612192cec9f467e2ab5a86482cb34876d198bc6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parsing, reset the loghandler when finished, else the messages
can be misleading.
(Bitbake rev: 7af80cd1dd577b05d39a3cc5d5c547a2549e39df)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While usually a programming error, the behavior can cause a Parser
instance to eventually gobble up a significant amount of memory,
greatly affecting system performance. Try to avoid getting into
that situation and alert the user about what they attempted to do.
(Bitbake rev: 01bf0912eef5700d61c6e3c9138cb4b6825ee782)
Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark any keys used to cache the srcrevs for a recipe as "dontcache" if
BB_DONT_CACHE is set for the recipe. Remove any such keys upon the
next bitbake run even if BB_SRCREV_POLICY is set to "cache". This will
make sure the srcrev is updated as expected if ${AUTOREV} is used.
(Bitbake rev: ba093a38539960e645e994a66ed7872a604c00a9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This seems to have been broken for a very long time. Now it also works
regardless of BB_SRCREV_POLICY.
(Bitbake rev: ffd663a8e07e2e39e8ca2d2493f4f98037c5f9e4)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This matches the other bb.command.Command* events and without it,
running `bitbake --revisions-changed` will hang indefinitely if there
are changed revisions.
(Bitbake rev: 40520d229c8ea51ee9784184ab5d13a82dd1eb61)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are a number of ptest failures due to executables not found in
the image. Since these executables are in FILES_${PN}-dev, depending
all of -dev which is an overkill. We take them out of -dev and put in
-utils, then depend on the latter instead.
When starting a glib ptest but decided to Ctrl-c interrupt midway,
./run-ptest cannot be restarted unless running `userdel glib2-test`
manually. Therefore adding a check prior to ptest will ensure the
ptest can be restarted.
(From OE-Core rev: b649cf5c09a45df2df9a8f8f0920c6dfb07b8d76)
Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script is attempting to read binary data from an rpm file.
If any of the bytes it is attempt to read is the binary value 0xa
(i.e. a newline) then the script does not properly deal with this
special case. Due to the behavior of command substitution, instead of
fetching the value 0xa, the script makes an error and get the value 0
instead.
The fix and the following explantion was taken from this post...
https://unix.stackexchange.com/questions/10801/
how-to-use-bash-script-to-read-binary-file-content
Command substitution $(…) strips final newlines in the command output.
There's a fairly easy workaround. Make sure the output ends in a
character other than a newline, then strip that one character.
(From OE-Core rev: a40a93e81766513cf710e713093ab74c6ec936c3)
Signed-off-by: Lori Hikichi <lori.hikichi@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By passing --disabled-newlib-supplied-syscalls, newlib will disable the
generation of builtin syscalls and move this to libgloss. (This also
affects the generation of crt0.o.)
libgloss SHOULD then provide the syscalls, crt0.o and other functions that
are no longer part of newlib itself. This now means that you must link
with both newlib and libgloss, whereas before newlib would run in many
configurations by itself.
(From OE-Core rev: f495e1f771b60d2db11ffa351adf56ba664fe7e1)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code is encoding host compiler parameters into target builds. Avoid
this for our target builds. This should resolve builds which aren't
reproducible between hosts with different compilers.
(From OE-Core rev: 71cdbf426e46e3ca1b5038f40e9f7ba958abc537)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass bits/endianness.h and bits/struct_rwlock.h to oe_multilib_header in
glibc-package.inc to fix files conflict:
| Error: Transaction check error:
| file /usr/include/bits/endianness.h conflicts between attempted installs of lib32-libc6-dev-2.31-r0.armv7vet2hf_vfp and libc6-dev-2.31-r0.aarch64
| file /usr/include/bits/struct_rwlock.h conflicts between attempted installs of lib32-libc6-dev-2.31-r0.armv7vet2hf_vfp and libc6-dev-2.31-r0.aarch64
(From OE-Core rev: 0af9ff84348197b8b314f7c0d3757cab629daa94)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
see: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13663
When running oe-selftest in concurrency mode (e.g. with oe-selftest
--run-tests oescripts.OEPybootchartguyTests -j 4), if a skip occurred
during setUpClass() rather than within individual tests, the entire
suite would show "UNKNOWN" as each test's result. This is because
subunit doesn't know how to handle skips outside of individual tests.
An example of where this occurs is when running the above call to
oe-selftest in concurrency mode on a host machine that does not have
python3-cairo installed.
Patch subunit inside concurrencytest.py to provide a method called
outSideTestaddSkip, which will allow subunit to correctly detect the
skip in setUpClass().
(From OE-Core rev: 9b8734b584d6e8d9c32ff2a721b29f3f3e61cca7)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In systemd enabled builds this was failing with unpackaged unit files.
Fix this.
(From OE-Core rev: 81010555a29fe4ddae9a9c3abe35fcbddd8887b2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe hasn't built correctly since we removed "python" from HOSTTOOLS
when api-documentation is enabled.
Add in an extra symlink to "python" rather than trying to fix the multiple
scripts in webkit to refer to python3.
The autobuilder didn't detect this as wekbkit was excluded from the API docs
world build but that is changed now so this fixes build failures.
(From OE-Core rev: c9e520e0996ab524e38de19a22b64395d14c635a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop all systemd-boot patches and use an additional cross-file instead
to pick up EFI cc and objcopy. For EFI ld, we can use the command line
efi-ld option, but have to ensure it's something which can be exec'd
directly.
Commits from v244-stable:
c4280c342bbf Revert "Support Plugable UD-PRO8 dock"
bb598b56eb3c hibernate-resume-generator: wait "infinitely" for the resume device
77c04ce5c270 hwdb: update to v245-rc1
b4eb8848240c Fix typo in function name
e2d4cb9843c5 polkit: when authorizing via PK let's re-resolve callback/userdata instead of caching it
83bfc0d8dd02 sd-bus: introduce API for re-enqueuing incoming messages
5926f9f1723f polkit: use structured initialization
0697d0d972c8 polkit: on async pk requests, re-validate action/details
2589995acdb2 polkit: reuse some common bus message appending code
5b2442d5c3ec bus-polkit: rename return error parameter to ret_error
0a19ff7004e4 shared: split out polkit stuff from bus-util.c → bus-polkit.c
1325dfb5778d test: adapt to the new capsh format
3538fafb4714 meson: update efi path detection to gnu-efi-3.0.11
3034855a5b62 presets: "disable" all passive targets by default
c2e304681929 shared/sysctl-util: normalize repeated slashes or dots to a single value
6f4364046f90 dhcp6: do not use T1 and T2 longer than one provided by the lease
0ed6cda28dff network: fix implicit type conversion warning by GCC-10
f6a5c02d26b1 bootspec: parse random-seed-mode line in loader.conf
ddc5dca8a73b sd-boot: fix typo
2bbbe9ae41ab test: Synchronize journal before reading from it
072485d661d7 sd-bus: fix introspection bug in signal parameter names
80af3cf5e36b efi: fix build.
d7ede1ade564 generator: order growfs for the root fs after systemd-remount-fs
e9904998213d loginctl: use /org/freedesktop/login1/session/auto when "lock-session" is called without argument
82dd4caf014c Documentation update for x-systemd.{before,after}
a60459764d9d man: fix typo in systemd.netdev Xfrm example
fc053e2dfb3f timesyncd: log louder when we refuse a server due to root distance
af0e630693fa resolved: drop DNSSEC root key that is not valid anymore
ae59f1666ca6 journal: don't use startswith() on something that is not a NUL-terminated string
536ef6d72bc6 test: add test for https://github.com/systemd/systemd/issues/14560
b78fe3c1b1a8 core: make sure StandardInput=file: doesn't get dup'ed to stdout/stderr by default
a1561a08f2d5 pkgconf: add full generator paths
e5f2d11489ec tree-wide: we forgot to destroy some bus errors
ea67fd42067b mount: make checks on perpetual mount units more lax
2f23c648bce4 core: never allow perpetual units to be masked
9ba11dffb09a typo: "May modify to" -> "May modify"
84c048799a78 Disable reading SystemdOptions EFI Var when in SecureBoot mode
4c2d72b53091 sysctl: downgrade message when we have no permission
c001a285a3a2 Clarify journald.conf MaxLevelStore documentation
45d52c7615fd logind: refuse overriding idle hint on tty sessions
b1a0be45b4ee cgroup: update only siblings that got realized once
e6d694254fe1 mount: mark an existing "mounting" unit from /proc/self/mountinfo as "just_mounted"
d8fd38769c36 journalctl: Correctly handle combination of --reverse and --lines (fixes#1596)
cd19bd31d808 journalctl: Correctly handle --show-cursor in combination with --until or --since and --reverse
1320aa92dc0a core: fix re-realization of cgroup siblings
14164ec6bc77 core: propagate service state to socket in more load states
c22bf6b31a45 man: describe "symlink" and "systemctl link" explicitly in UNIT FILE LOAD PATH
26f3a534f1ab core: be more restrictive on the dependency types we allow to be created transiently
377cc5d91ea5 udev: don't import parent ID_FS_ data on partitions
7d5060d53994 man: fix option name
98c03090274a Support Plugable UD-PRO8 dock
e9687d09dccf gpt-auto: don't assume XBOOTLDR is vfat
7057fe863007 man: fix documentation of IBM VIO device naming
f8d1df1045be man: slightly extend documentation on difference between ID_NET_NAME_ONBOARD and ID_NET_LABEL_ONBOARD
1faf5dde4d4a boot: fix osrel parser
65d247af1786 udev: do not use exact match of file permission
6da978f89b48 network: lower the log-level of harmless message
5d8a614f926c hwdb: ignore keys added in kernel 5.5
8b1bd1746989 systemctl: skip non-existent units in the 'cat' verb
b2f342f92b54 systemd.exec: document the file system for EnvironmentFile paths
945f3a231f6f systemd-analyze: fixed typo in documentation
2c8ae283b0ee test-condition: fix group check condition
6b48479f4582 umount: show correct error message
faba5b2ba8c9 Revert "Drop dbus activation stub service"
3dd98f1998f9 man: add section about user manager units
1c80a8ced006 man: add remote-*.targets to the bootup sequence
9afd65f15e93 time-util: also use 32bit hack on EOVERFLOW
561923291383 [man] note which UID ranges will get user journals
588a23ef2684 [man] fix URL
0130a03179f6 analyze: badness if neither of RootImage and RootDirectory exists
93074c962e3a network: introduce AddPrefixRoute= and deprecate PrefixRoute=
a8ad020ea0ba shared/dropin: fix assert for invalid drop-in
946cdba156dd initrd: make udev cleanup service confict trigger and settle too
c0a8a92e6027 man: we support growing xfs too these days
608d88273494 time-util: deal with systems where userspace has 64bit time_t but kernel does not
cfced59a4bd8 [import] fix stdin/stdout pipe behavior in import/export tar/raw
73435b219553 systemctl: show what verbs support --dry-run in the help page
dc56b94e1308 cryptsetup-generator: unconfuse writing of the device timeout
0757ad565573 shared/install: log syntax error for invalid DefaultInstance=
d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values
(From OE-Core rev: 59dbb6d8ed32227c26db1982099ea845d92fff81)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corrections:
- environment
- accommodate
- conversion
- compatible
(From OE-Core rev: 9797d3b45b4e1b9d77f0f2ee299c17b48d8d3cf6)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test is checking that weston is able to start.
(From OE-Core rev: 57700767f90eea8f2b78187c42581aca42d50bbf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I am not sure if this has ever worked, but uvesafb is a really
outdated (VBE from the 1990s), awkward (needs v86d) and limited
(no support for high resolutions) way to do it.
The specific reason 640x480-32 was introduced (ages ago) was
to force 32 bit mode with vmware driver, as 16bit had rendering issues.
The modern, supported option is video=... kernel parameter documented here:
https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDIDhttps://github.com/torvalds/linux/blob/master/Documentation/fb/modedb.rst
which can be passed directly to runqemu and doesn't require special
kernel modules.
Sato under X will continue to use 640x480 as that is hardcoded into
xorg.conf under qemu.
(From OE-Core rev: 1cf26f69fd89b43be24cd1232c43e5050b9d718a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added ages ago to enable GL passthrough with
vmware driver, and is no longer relevant, as std or virgl is used
instead nowadays.
Original commit:
commit 072545b111
Author: Richard Purdie <rpurdie@linux.intel.com>
Date: Wed Jan 21 17:40:51 2009 +0000
scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 images
(From OE-Core rev: 857078ba8eda153f4a097683db551a7d310ecc01)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parsing recipes its apparent the memory usage of bitbake rises linearly
with number of recipes parsed. It shouldn't.
Using tracemalloc (thanks for the tip Joshua Lock) it was clear that the
dependency information left behind in siggen was the culprit. Add a new
method to allow us to drop this information. We don't need it after the recipe
has been parsed and hashes calculated (at runtime its different but only the
currently executing task would be in memory).
This should give signficant memory usage improvements for bitbake and that
in turn should help speed on more constrained systems, as well as when used in
multiconfig environments.
(Bitbake rev: 5d98d8e39bba42f458532b1eef3619f2321d8a2b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports from upstream:
0001-Manually-applied-upstream-fix-for-openssh-test.patch
0001-seccomp-Allow-clock_gettime64-in-sandbox.patch
openssh-8.1p1-seccomp-nanosleep.patch
(From OE-Core rev: c9b5802bbe1de609450f509edf4721ab0a7a70aa)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
APPEND is used to add additional parameters to kernel by features, such
as read-only-rootfs. So we should honor this variable when we compose
the kernel parameter in wic. I know we also can resolve this kind of
issue by using the .wks.in template introduced by commit 42e870c5ed
("image_types.bbclass: support template .wks.in files for wic"), but the
APPEND is needed by all the wks, it would seems pretty ridiculous to me
to change all the .wks to .wks.in and then foist the APPEND into them.
So the APPEND is definitely deserved to export to the wic directly.
[Yocto #12809]
(From OE-Core rev: 18981b8a457104391dfd94938c247eac04e4ed50)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The APPEND is an optional variable, so add it to the optional variables
list to make the wic selftest happy.
(From OE-Core rev: 7c8b3a1b920fd4cc1598357985eef0e5e0e0ac79)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is already a relocate.patch for native which is used for reading
GNUPG_BINDIR from environment variables, now also enable it for nativesdk.
Otherwise, command like the following one doesn't work for nativesdk:
$ gpg-connect-agent --homedir ../keys/ reloadagent /bye
gpg-connect-agent: no running gpg-agent - starting '/opt/path/to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent'
gpg-connect-agent: failed to start agent '/opt/path/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent': No such file or directory
(From OE-Core rev: c6b00b5594adec0a7d7a7f3617fb99b65ea8d9f1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we now have an example recipe on meta-skeleton to
build baremetal applications using OpenEmbedded, a user
produced SDK should be able to run such application.
Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its
built inside the newlib based SDK.
(From OE-Core rev: 9521c66e0edb2b36c3d5c777ec7a7158b40452d4)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we now have an example recipe on meta-skeleton to
build baremetal applications using OpenEmbedded, a user
produced SDK should be able to run such application.
Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its
built inside the baremetal based SDK.
(From OE-Core rev: 2c6a249f3e1ad9c160f59d2d0b38749c85e7ff3a)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
x11perfcomp encodes the library paths in the script.
(From OE-Core rev: 2c7d8251a56a73a94c1f868e33eeee197c5ffa57)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All of the .pc files contain the path to ${libdir} which fails
in a multilib rpm image.
(From OE-Core rev: c96c56476fe9025884c7ea96f15f41694a6908fe)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
assuan.h is generated and can differ between mutlilibs.
(From OE-Core rev: 21043a168a2c68dd9a2f2f14f404b6f66fc05cf7)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sndfile.h can differ depending on the combined architectures.
(From OE-Core rev: 0373b0b40d004fb9900249bd1ba65dea54495960)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xsltconfig.h is generated and can be different between multilibs
(From OE-Core rev: 966a8d95da1d1bbf59d2d4068c27821e8a54ee5f)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This error handling didn't work as expected since upon failure it would
inject bytestreams back into the code leading to tracebacks.
Instead, ignore the decode errors. Fixes:
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 78, in <module>
sys.exit(main())
File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 72, in main
ret = args.func(args, logger)
File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/store.py", line 70, in store
resultutils.save_resultsdata(results, tempdir, ptestlogs=True)
File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/resultutils.py", line 178, in save_resultsdata
f.write(sectionlog)
TypeError: write() argument must be str, not bytes
(From OE-Core rev: 3aa0d0fd0bbf8c9c13719251a2fd1e85a22c7336)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When currently specified, the branch is used to verify the versioning of
the meta layer, but the master branch is checked out. This change
allows for the branch to be specified. Now it is easy to specify all
of the meta layers being added are of the same version, without having
to do it in each individual git tree. Also, it will error if there are
branches without a matching version. Finally, this allows for meta
layer git trees without a master branch.
(Bitbake rev: 4ec49f42f327068890e7aad8553d7f282e2ffaa1)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Minor rework of the patch to use the layerBranch actual_branch since
the layerindex referenced branch may be different then the overall
release branch.
Also adjust the patch to use the default git checkout branch instead of
master if no branch was specified. (Some repositories don't have a
master branch.)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer expect a "python" binary in PATH so update the eSDK's
expectations to match. This was the only failure on autobuilder test
systems with python missing.
(From OE-Core rev: 946ce21b10dcad506edcaadb4e4242c049e4c316)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should fix the vdso crashes seen with kernel 5.0+
python3[11312] general protection fault ip:b7e966b0 sp:bf8175cc error:0 in libc.so[b7e8b000+6b000]
(From OE-Core rev: a85afec1115f2a09cd750a4554f44fb8af96975c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-License-Update: "PDX-License-Identifier: LGPL-2.1-only OR MPL-1.1"
is added
(From OE-Core rev: 79c940c4df9891932367186c76652887f5aa881b)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps compiling with musl on 32bit arches now that musl has
switched to 64bit time_t
(From OE-Core rev: 8c3a220a91f90202233765a3b4eb1697c8be18f7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0003-configure.ac-check-finite-isinf-isnan-as-macros-firs.patch
Removed since it is included in 2.7.0.
refresh the following patch:
0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
add the following patch to solve build error:
0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
[error message]
ERROR: ruby-2.7.0-r0 do_package_qa: QA Issue:
/usr/lib/ruby/gems/2.7.0/gems/racc-1.4.16/bin/y2racc contained in
package ruby requires /usr/local/bin/ruby, but no providers found in
RDEPENDS_ruby? [file-rdeps]
format of file COPYING is updated.
LEGAL notice information is updated.
(From OE-Core rev: 3cdf5da514b424a6d78ba4e1412331b6cf2b3bff)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update strace to 5.5. This includes a small change in the license file
to change the date to 2020.
(From OE-Core rev: 3e1e8d24ce122ddb5897418d1bae123051e1f450)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe is intended to be run manually or via oeqa.
[YOCTO #13737]
(From OE-Core rev: eadbe01bb8232de79e0827e6c6b3411f69ea7303)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This task is not intended to be run as this recipe does not produce any
packages or install any sysroot content. Additionally running this task
behaves differently from a normal glibc build, and can result in issues.
[YOCTO #13737]
(From OE-Core rev: 2b51252cb8bd9badfa28794f9ef9431b48752e3d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has a patch [1] to fix musl builds, Prior to this it would not
build on musl due to missing GNU extentions for fnmatch
[1] 4280e74de1
(From OE-Core rev: 2de44715a15880bb4a9f78e7ff5814b75938b27c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a long standing issue where a binary could be installed into the
sysroot before its library dependencies. We've always argued nothing should
use the binary until it has been installed by a dependency but there are issues
around binaries which conflict with the host system, for example patch,
python3, gzip and more.
With the recent patch changes we've seen issues like:
ERROR: gdb-cross-canadian-powerpc-8.3.1-r0 do_patch: Command Error: 'quilt --quiltrc /home/pokybuild/yocto-worker/qemuppc/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-powerpc/8.3.1-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0009-Change-order-of-CFLAGS.patch
patch: /lib64/libattr.so.1: version `ATTR_1.3' not found (required by patch)
Patch 0009-Change-order-of-CFLAGS.patch does not apply (enforce with -f)
which is a symptom of this issue (libattr-native is a dependency of patch-native).
There are other ways to fix this such as disabling libattr in patch, installing
patch to a subdirectory and requiring PATH manipulation and so on.
We can simply fix the staging code to handle /bin/ after everything else so
do that and avoid all these other complications.
(From OE-Core rev: 29d17fe23265bf0c7defa14ffc0f677af15c6818)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build and boot test for the beaglebone and edgerouter.
(From meta-yocto rev: db4247b8c95ec997fa90226a49df36d7366c469f)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-License-Update: Copyright year updated from 1998-2019 to 1998-2020.
(From OE-Core rev: 19711adc45cf57fc007a7d1e052726fd45157f98)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While we are upgrading let's refresh patches and remove the outdated
patches.
(From OE-Core rev: ca276b77904429a1ff3188d2373535a462afe266)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If an append adds a patch or file with SRC_URI += , the spaceless
append causes the file listings to concatinate and cause failures
in the nativesdk-binutils parse/build.
(From OE-Core rev: 227bacec59501b6ef0aca50c62ad1f4acd167b5d)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove patch which have been merged upstream
(From OE-Core rev: c48e2f4e93a5aae1c4dec1511297c88f494bcc5d)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When processing overlays, the base device tree must be compiled with
symbols, otherwise attempting to apply overlays in U-Boot will fail
with:
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
base fdt does did not have a /__symbols__ node
make sure you've compiled with -@
(From OE-Core rev: d075e39c05ace6dad2c66a5e8c4b1e75aa751b6a)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the order of dtb/dtbo files in the generated fitimage is
reproducible.
Fixes: 71bfa9838cbf ("kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE")
(From OE-Core rev: 9e4a91b63dd8e0c1708da2ac7de461b35fb0b011)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This feature includes paravirtualized KVM guest support, including
KVMCLOCK for enhancing clock accuracy of guest OS. With it we can prevent
the following error.
"clocksource: timekeeping watchdog on CPU3: Marking clocksource 'tsc' as
unstable because the skew is too large"
(From OE-Core rev: 74ffa7730e194e7b5dc71e63939b4a4a9843be93)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable PACKAGECONFIG[tk], we should install _tkinter.*.so to
python3-tkinter package rather than python3-misc package.
Fixes:
ERROR: python3-3.8.1-r0 do_package_qa: QA Issue:
/usr/lib/python3.8/lib-dynload/_tkinter.cpython-38-x86_64-linux-gnu.so
contained in package python3-misc requires libtk8.6.so()(64bit), but no
providers found in RDEPENDS_python3-misc? [file-rdeps]
(From OE-Core rev: 991d7ced7262a1340878bada307c6d021ea9cb77)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are differing packages and they are being saved for review,
automatically run diffoscope on them and include the output in the saved
output. The output is currently done in HTML format since these are
typically published on a webpage by the autobuilder.
(From OE-Core rev: 6e1d5e8b58f0940ba6dfd99536159dd974e6f24c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various dependencies don't build for musl so exclude this recipe too, at
least for now until the issues are resolved to avoid build failures in
world builds.
(From OE-Core rev: 085b0a3337e04e14e0d922a9028a7748dc81c4d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffoscope is the universal diff tool, capable of comparing many
different formats.
(From OE-Core rev: c92cf366c301a98ff1546d80d6c3a138f952252a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python-magic module is used by diffoscope tool to make
build comparisons.
(From OE-Core rev: 64560fcbe7c9658fcca86010502d00998d88f418)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libarchive python module is used by diffoscope tool to
make build comparisons.
(From OE-Core rev: 288becda36dcc9f5435ec00258c0d0594e0011c1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the official release for Wayland 1.18. The main new features in
this release are:
- Add support for the Meson build system (autotools is still supported
but will be removed in a future release)
- Add API to tag proxy objects to allow applications and toolkits to
share the same Wayland connection
- Track wayland-server timers in user-space to prevent creating too
many FDs
- Add wl_global_remove, a new function to mitigate race conditions with
globals
https://lists.freedesktop.org/archives/wayland-devel/2020-February/041207.html
2 upstreamed patches are dropped.
(From OE-Core rev: c127e7ac7c6da11417a599384002fd7c1420c7c2)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd is enabled, ensure iputils detects it correctly. Split out
IPv6 only features based on ipv6 enabled in DISTRO_FEATURES.
(From OE-Core rev: e742e5f711d46b1664cc5bec2f788dc0e020ccaa)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gold is not supporting risc-v yet and, this will cause subltle errors
during build e.g. autoconf not finding certain features like visibility
and it could take a while to unwind the problem. Its better to error out
early
Remove dwp and ld.gold for rv32 as well
(From OE-Core rev: 5ee10b10b3316a368cea73df470befd587ef1cd0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, normal distro features e.g. ld-is-gold is impacting
crosssdk recipes, which actually should not be the case, since
that feature is essentially intended for target packages and not
nativesdk packages
(From OE-Core rev: aec9f9bd9549938a6ed42e9879f3a2fdcc89463d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps it compile on musl
Fixes
| tst_clocks.c:31:17: error: 'SYS_clock_getres' undeclared (first use in this function); did you mean 'tst_clock_getres
(From OE-Core rev: 8b6c22a0dc61579d112161fd49da855a678cc58b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
since the versions of autotools might differ on target and build host, plus difference in
timestamps for configure and system can result in reconfigure lets avoid
that by disabling maintainer mode
Avoids
error: newly created file is older than distributed files!
[YOCTO #13779]
Suggested-by: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: 3dc4e27e7633ce3ca6b9647810d0996bdee48771)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
running ptests on qemuarm returns fails since it finds errors in kernel
logs like below
***********************
Central error: [ 4.338465] pci-host-generic 4010000000.pcie: ECAM ioremap failed
***********************
Since its a 32bit kernel 4010000000 address is truncated to 10000000 and ends up
in conflicts with VIRT_PCIE_MMIO, which ranges from 0x10000000 to 0x3efeffff
This is happening because the linux-yocto kernel is not compiled with
LPAE support, however, virt machine for qemuarm assumes that by default
Should LPAE be enabled by default in kernel config is a separate
question
(From OE-Core rev: 4486f4523f6671841ffa65ce2419b9e3e018ad76)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recent opkg-utils change didn't update all the packages since its
marked as ABISAFE (and has to be due to update-alternatives).
Fix a minor import issue to avoid multiple imports of glob which
also causes packages to re-generate.
(From OE-Core rev: ef24a545d11febb96d1c0f02c60d9701295ef592)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no other version of pkgconfig to have a preference against,
remove the unneeded variable.
(From OE-Core rev: 837cd3c0ee318ff22065b77c6cc72b4d50abbf27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable reporting selected test case result given the user provided
the selected test case id. If both test result id and test case id
were provided, report the selected test case result from the
selected test result id.
(From OE-Core rev: 7161310ce32d6e0c397d0132808d556bdc80d183)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python3native.bbclass set PYTHON_{LIBRARY, INCLUDE_DIR} pointing to
python target build, a patch was add to use target _sysconfigdata too [1]
but is not available without python3 dependency.
Fixes waffle build when trying to find _sysconfigdata module,
...
| Program python3 found: YES (/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
|
| meson.build:36:0: ERROR: <ExternalProgram 'python3' -> ['/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3']> is not a valid python or it is missing setuptools
|
| A full log can be found at /home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/build/meson-logs/meson-log.txt
| WARNING: exit code 1 from a shell command.
...
[1] http://git.openembedded.org/openembedded-core/commit/?id=02714c105426b0d687620913c1a7401b386428b6
(From OE-Core rev: d3032809136707b584e7938c01e77da36abc1b00)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fw_setenv and fw_printenv binaries should be on a specific package
as some systems may require just the library.
The upgrade path was kept using the RPROVIDES for the -bin package.
(From OE-Core rev: a60bf84b15be85ae0f16b5f85fec98b3365f15de)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the features are processed by a python fragment, we need to explicitly
list the variables that should affect the resulting hash, and thus sstate
re-use.
(From OE-Core rev: c7c12efba87c803d94a7c9c2f8c98b66aeba6d43)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using EXTERNAL_KERNEL_DEVICETREE, collect DTB overlays too (*.dtbo)
as well as iterating down into sub-directories so using the behaviour
for naming which matches KERNEL_DEVICETREE.
(From OE-Core rev: 169ebd59f11845a3a5a7157719217ccf0844e448)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to start the xserver, a non-root user should have the
cap_sys_admin capability to set the drm master. We try to get
the cap_sys_admin capability by setting it in both the thread
and file inheritable set. The side effect of this is that we
would have to add the "pam" to the distro features if we want
use the xserver-nodm-init for a non-root user.
[Yocto #11526]
(From OE-Core rev: cfd71a68a4931c8bda15357ebb1e9ebcf0e302dc)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current runtime infrastructure contains hardcoded values which Ill refer to
as patterns, these patterns are either searched through or sent via the serial
terminal to communicate between HOST and TARGET.
These patterns are required since they allow us to check when a device has
finished booting, to log in, and to check whether a command sent from our tests
has returned, this way we are able to check both the status of the commands that
were sent along with its output.
The testing process goes somewhat as follows:
1. Launch QEMU and start booting.
2. Check when the device has booted by looking for the pattern login:.
3. Log in as the root user (default for our images).
4. Check that we were able to log in succesfully.
5. Start running the runtime test cases defined by TEST_SUITES.
6. One of such test cases could send a command to the QEMU target.
7. Check whether that command returned.
8. Check its output and status, return whether the test case passed or failed.
This patch allows this set of patterns to be defined instead of being hardcoded,
but it also automatically sets the defaults that we have been using in the past
if they have not been manually defined, for this reason, the patch is less
invasive and should not affect in any way how tests are currently being run.
Cases that can be enabled with this patch:
- A customized image that does not use the root user (or maybe we want to check
what happens if we dont use the root user).
- An image where the PS1 env variable has been modified, and the prompt pattern
wouldnt match the default.
- Baremetal applications, which do not follow the conventional way of booting
Linux and would probably not show a prompt for a user to log in, same applies
for testing bootloaders.
- poky-tiny: Using DISTRO=poky-tiny and an image such as the core-image-tiny
from meta-intel, which boots directly to RAM, and does not show a log in prompt
since it does not contain a conventional init process.
The code itself contains comments that should be self explanatory but here is an
example on how these patterns can be defined in a hypothetical case where we
want to run test cases as the webserver user instead:
TESTIMAGE_BOOT_PATTERNS = "send_login_user search_login_succeeded"
TESTIMAGE_BOOT_PATTERNS[send_login_user] = "webserver\n"
TESTIMAGE_BOOT_PATTERNS[search_login_succeeded] = "webserver@[a-zA-Z0-9\-]+:~#"
The variable TESTIMAGE_BOOT_PATTERNS defines which patterns to override when
used to communicate with the target when booting, anyone familiar with the
PACKAGECONFIG syntax should have no trouble setting these.
Other patterns would still be set up as default, e.g.
search_reached_prompt would still be login:
The accepted flags for TESTIMAGE_BOOT_PATTERNS are the following:
search_reached_prompt, send_login_user, search_login_succeeded,
search_cmd_finished.
They are prefixed with either search/send, to differentiate if the pattern is
meant to be sent or searched to/from the target terminal.
A working example of this code that falls under the baremetal case mentioned
above along with a test case is present on the meta-freertos layer, which tests
an RTOS image built with OpenEmbedded and automatically runs a test case on it
after booting such image:
As usual, INHERIT += "testimage" needs to be present on local.conf
$ bitbake freertos-demo -c testimage
RESULTS:
RESULTS - freertos_echo.FreeRTOSTest.test_freertos_echo: PASSED (2.00s)
SUMMARY:
freertos-demo () - Ran 1 test in 2.006s
freertos-demo - OK - All required tests passed (successes=1, skipped=0,
failures=0, errors=0)
(From OE-Core rev: 3ab2cbfeff371e8791b031a2852eeef80101a831)
Signed-off-by: Alejandro Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commmit 6cde67d0a8 enables the use of qemurunner on machines that
only have a single serial port, but still sets the default value
as serial_ports=2 if not provided.
The testimage class does not call qemurunner with a serial_ports
argument, hence always defaulting to two.
Pass the serial_ports argument from the testimage class to allow
tests to run on QEMU machines with a single serial port.
(From OE-Core rev: a50d0163770f0b405a8de8a8a9cccd48c1de4112)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
refresh the following patch:
configure.patch
(From OE-Core rev: 498e0f83040fe2e83805d8b13d69c17c74a520ba)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweaks include:
- hyphenation
- rewording for brevity or clarification
- adding <firstterm> markup where appropriate
(Bitbake rev: bc84ce7e6542dac1a150b9733411190cff591948)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the proper spelling is, in fact, 'BitBake', might as well make
it consistent throughout the user manual.
(Bitbake rev: 79ada807de0b202c3d568fc4365a1d3f17ba1bce)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If locked sigs are in use this function makes little sense, need to
avoid generating mismatch warnings.
(Bitbake rev: 27ad9c1d468fba858a4adeb56b605227b415ae0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add unihash cache of values to speed up cache lookup.
This avoids the overhead of the disk based check functions.
(Bitbake rev: 5c9cc45b60904a1c355db9bf9c4495f1b25aca37)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the cache can grow huge since any previously used hash is
retained in the cache. This change moves to use one hash per task
which improves the speed of the functions considerably. Currently
performance is an issue, as are very large cache files and cache
load time.
By moving to a single hash per task, the shorted filename as a key
is no longer usable as the same recipe has multiple variants for
the same filename so this has to change.
(Bitbake rev: ed764e7fcf04b6d0ba6b4cac7415b1ee8f492865)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch a
variant on which was introduced in 2c10473109 ("Upgrade to systemd
211+") in 2014. The oldest supported build machine is now CentOS 7 which
has --relative support in ln, so there no longer appears to be any need
for this change.
Rebase/refresh musl patches:
- replace missing.h with specific missing_... header
- fix additional WRITE_STRING_FILE_DISABLE_BUFFER
- fix more places that need netinet/if_ether.h
(From OE-Core rev: 44a4ac2294da0f53cbbfabc7ece836fe97f4d3f7)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Fix-a-NSUPDATE-compiling-issue.patch
0001-master-Added-includes-of-new-BIND9-compatibility-hea.patch
Removed since they are included in 4.4.2.
refresh the following patch:
0004-Fix-out-of-tree-builds.patch
(From OE-Core rev: d3c6f7e689a743fd060755eceb60353093013e84)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Fix-out-of-tree-builds.patch since it has been merged
upstream.
(From OE-Core rev: c3df7eec1ba99a34b4037da786863de87073576d)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Get the sys.lib from python3 itself and do not use
hardcoded value of 'lib' for distutils.
Solve the error below that occurs when run "python3 setup.py
install"
on lib64 multilib platform:
[Errno 2] No such file or directory:
'/usr/lib/python3.7/site-packages/test-easy-install-1828.write-test'
(From OE-Core rev: fb33127de5d80f5bcb84edf6cf4007bca73fa863)
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>
Fix the installation path of libpython3.7m.a on mulitlib lib64
platform to lib64 instead of lib
(From OE-Core rev: 3081d3993095d2e4817bbef33c9c90dd814a45d7)
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>
Minor upgrade on 3.5 release series
(From OE-Core rev: da9b363acea2545721702fc7c39c4589b666c61b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When moving to python3, divison using '/' now returns float instead of
an integer. In upstream commit b8025e9720
sstate filenames longer than the limit are changed to just include
necessary info + 3 fields just for information. The space left over
after the necessary info is divided into 3 for each of the fields.
Using '//' instead to do the division to solve the following error
message:
avail = (254 - len(hash + "_" + taskname + extension) -
len(components[0]) - len(components[1]) - len(components[5]) -
len(components[6]) - 7) / 3
> components[2] = components[2][:avail]
components[3] = components[3][:avail]
TypeError: slice indices must be integers or None or have an __index__
method
(From OE-Core rev: 2acfee61a062c6520a413b2a797544d968bb0c76)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, we won't copy and strip static libraries. However, this
functionality can be useful in some cases where people are doing
development on the target, and don't generally want the larger debug
capable static libraries. To enable the new functionality set:
PACKAGE_DEBUG_STATIC_SPLIT = '1'
Add a new function splitstaticdebuginfo. Thus function will copy the
unmodified static library into the specific debug directory location.
By keeping an unmodified version, it is possible for a user trying
to debug something to use -L /usr/lib/.debug-static and their existing
build commands to switch from stripped to full debug versions.
The PACKAGE_DEBUG_SPLIT_STYLE will select between two different
approaches, /usr/lib/debug-static or <path>/.debug-static.
Additionally you can now choose to strip static libraries to conserve
space. If either 'PACKAGE_DEBUG_STATIC_SPLIT' or 'PACKAGE_STRIP_STATIC'
is set to 1, the static library will be stripped. (This is not on by
default, as it could make diagnosing static library usage difficult in
some cases.)
Add to insane.bbclass a skip to the staticdev warning for the specific
-dbg package versions.
(From OE-Core rev: 17fa66c8199d73f0b59b2b3e609075933bf1e74b)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the order of the skip processing to happen before any .ko and static
library processing. This will allow these types of files to be individually
skipped if necessary.
(From OE-Core rev: c50fcd54ffe60b63d042d05e6cf538a593dc410f)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Format of the sources list is the [ (file, [source, ...]), ... ] before
this change, the static libraries were processed but the items were
included incorrectly causing no sources for static libraries to be
included.
(From OE-Core rev: fa356b23c2f4599681693bba50d36659b07a8125)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
chkconfig is one of the options for virtual/update-alternatives,
however opkg-utils have been used as the default for a very long time,
while chkconfig isn't anymore tested in any way, and is stuck
at a very old version due to newer versions requiring selinux.
[YOCTO #11264]
(From OE-Core rev: 61efc1e287326f52810a439ccde996f45ef89733)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some instances, attempts to remove the qemu pidfile within the
stop() method fail despite the os.path.exists() call immediately
before implying that the file is present. Add a try/except block
to log a warning if this occurs, rather than failing outright,
since the process simply appears to be exiting at an inconvenient
time.
[YOCTO #13675]
(From OE-Core rev: eadb899e23b18eb9eaff145c3bf5b20fb417c3e8)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cpio 2.12 was released in 2015 and might have used older autotools
which could result in errors like
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13779
Bumping to 2.13 will help in matching the tool versions
A good change on top would be to run
aclocal -I .; autoheader; autoconf; automake --add-missing -c
before running configure step perhaps
[YOCTO #13779]
(From OE-Core rev: 84eb1dc4fe8a11cd2d05b703070a6fb6de05b873)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To ensure that the kernel linker is used when allno/mod/yes config
merge_config steps were executed, the call to make was tweaked to
explicitly pass LD.
But since the variable wasn't quoted, any parameters to LD (like
the sysroot) were mistakenly passed to make, and hence could trigger
an error on some architectures.
We also tweak the logging to hightlight errors like this in the
future and avoid losing it in the noise of merge configs sometimes
overly verbose output.
(From OE-Core rev: a60c4c116efecd7a6ee5a11b1d366bb00b9d23ce)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code would cause a file like "config.bin" to added to the
config sources list. I am sure the intention was to add any files with
defconfig in its name and not the other way around.
(From OE-Core rev: 06577d49c50b7e9f1f40fe5b52ec88d1bdc1430c)
Signed-off-by: Gavin Li <gavinli@thegavinli.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* for whatever reason, instead of silently continuing to build default kernel config
(From OE-Core rev: ec281a948a23365bd4536139dac077fb1a5eae6d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* when ld-is-gold is used, merge_config.sh silently fails and doesn't generate anything
useful in .config (and also include directory isn't created):
tmp-glibc-bfd-qemux86-do_kernel_configme/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build:
total 164K
drwxr-xr-x 4 martin martin 4.0K Feb 5 02:27 .
drwxrwxr-x 7 martin martin 4.0K Feb 5 02:27 ..
-rw-rw-r-- 1 martin martin 133K Feb 5 02:28 .config
-rw-rw-r-- 1 martin martin 39 Feb 5 02:27 .gitignore
drwxr-xr-x 4 martin martin 4.0K Feb 5 02:27 include
-rw-rw-r-- 1 martin martin 201 Feb 5 02:27 Makefile
drwxrwxr-x 4 martin martin 4.0K Feb 5 02:27 scripts
lrwxrwxrwx 1 martin martin 61 Feb 5 02:27 source -> /OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source
tmp-glibc-gold-qemux86-do_kernel_configme/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build:
total 28K
drwxr-xr-x 3 martin martin 4.0K Feb 5 02:26 .
drwxrwxr-x 7 martin martin 4.0K Feb 5 02:26 ..
-rw-rw-r-- 1 martin martin 74 Feb 5 02:26 .config
-rw-rw-r-- 1 martin martin 39 Feb 5 02:26 .gitignore
-rw-rw-r-- 1 martin martin 201 Feb 5 02:26 Makefile
drwxrwxr-x 4 martin martin 4.0K Feb 5 02:26 scripts
lrwxrwxrwx 1 martin martin 61 Feb 5 02:26 source -> /OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source
$ cat tmp-glibc-gold-qemux86-do_kernel_configme/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/.config
CONFIG_LOCALVERSION="-yocto-standard"
* and because the failure is silent, it will happily start building
kernel with default defconfig, which even builds OK for qemux86-64
but on qemux86 I've noticed this issue, because incorrectly
configured kernel build fails with:
$ tail -n 20 tmp-glibc-gold-qemux86/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/temp/log.do_compile
LD /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/tools/objtool/libsubcmd-in.o
AR /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/tools/objtool/libsubcmd.a
HOSTCC scripts/mod/mk_elfconfig
CC scripts/mod/devicetable-offsets.s
CC scripts/mod/empty.o
cc1: error: code model 'kernel' not supported in the 32 bit mode
cc1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/scripts/Makefile.build:99: scripts/mod/devicetable-offsets.s] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: error: code model 'kernel' not supported in the 32 bit mode
cc1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/scripts/Makefile.build:266: scripts/mod/empty.o] Error 1
make[1]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/Makefile:1111: prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
LD /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/tools/objtool/objtool-in.o
/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/tools/objtool
LINK /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/tools/objtool/objtool
make: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/Makefile:179: sub-make] Error 2
WARNING: exit code 1 from a shell command.
* the issue happens in log.do_kernel_configme, but the log is completely useless:
cat tmp-glibc-gold-qemux86-do_kernel_configme/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/temp/log.do_kernel_configme
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/bison/bison_3.5.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/binutils/binutils-cross_2.33.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_9.2.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['bison-native', 'bc-native', 'binutils-cross-i686', 'gcc-cross-i686', 'autoconf-native', 'xz-native', 'flex-native', 'gnu-config-native', 'automake-native', 'libtool-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'readline-native', 'zlib-native', 'gmp-native', 'libmpc-native', 'mpfr-native', 'linux-libc-headers', 'm4-native', 'ncurses-native', 'pkgconfig-native']
NOTE: Skipping as already exists in sysroot: ['kern-tools-native', 'quilt-native']
DEBUG: sed -e 's:^[^/]*/:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/:g' /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/bison-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/gcc-cross-i686/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/autoconf-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/gnu-config-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/automake-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/libtool-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/gmp-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/ncurses-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/pkgconfig-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/OE/build/oe-core/tmp-glibc/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/OE/build/oe-core/tmp-glibc/pkgdata/qemux86:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/temp/fifo.10476:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_kernel_configme
DEBUG: Shell function do_kernel_configme finished
]because merge_config.sh is redirected to work-shared/qemux86/kernel-source/.kernel-meta/cfg/merge_config_build.log
and bbfatal_log called in do_kernel_configme only when merge_config.sh fails which it should in this case
but doesn't.
The merge_config_build.log shows 5.4 specific error:
scripts/Kconfig.include:39: gold linker 'i686-oe-linux-ld' not supported
but then it happily continues reporting what isn't applied in not created
.config file
--- tmp-glibc-bfd-qemux86-do_kernel_configme/work-shared/qemux86/kernel-source/.kernel-meta/cfg/merge_config_build.log 2020-02-05 02:28:01.455520207 +0100
+++ tmp-glibc-gold-qemux86-do_kernel_configme/work-shared/qemux86/kernel-source/.kernel-meta/cfg/merge_config_build.log 2020-02-05 02:26:30.656470909 +0100
@@ -171,586 +171,5113 @@
HOSTCC scripts/kconfig/symbol.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --alldefconfig Kconfig
-./.tmp.config.jDjIEYi9Yq:2208:warning: unexpected data: #
-./.tmp.config.jDjIEYi9Yq:2209:warning: unexpected data: # Generic Driver Options
-./.tmp.config.jDjIEYi9Yq:2210:warning: unexpected data: #
-./.tmp.config.jDjIEYi9Yq:3102:warning: symbol value 'm' invalid for SAMPLE_SECCOMP
-./.tmp.config.jDjIEYi9Yq:3119:warning: symbol value 'm' invalid for NF_CT_PROTO_GRE
-./.tmp.config.jDjIEYi9Yq:3120:warning: symbol value 'm' invalid for NF_CT_PROTO_SCTP
-./.tmp.config.jDjIEYi9Yq:3121:warning: symbol value 'm' invalid for NF_CT_PROTO_UDPLITE
-#
-# configuration written to .config
-#
+scripts/Kconfig.include:39: gold linker 'i686-oe-linux-ld' not supported
+make[2]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/scripts/kconfig/Makefile:73: alldefconfig] Error 1
+make[1]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/Makefile:567: alldefconfig] Error 2
make[1]: Leaving directory '/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build'
+make: *** [Makefile:179: sub-make] Error 2
+grep: /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/.config: No such file or directory
+Value requested for CONFIG_LOCALVERSION not in final .config
+Requested value: CONFIG_LOCALVERSION=""
+Actual value:
+
+grep: /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/.config: No such file or directory
+Value requested for CONFIG_LOCALVERSION_AUTO not in final .config
+Requested value: # CONFIG_LOCALVERSION_AUTO is not set
+Actual value:
* I don't know why merge_config.sh uses separate more difficult to find merge_config_build.log
instead of leaving the output to end in log.do_kernel_configme, I'll send it as separate
commit so that it can be discussed there.
(From OE-Core rev: 36fe2efc91fec5a52374a2dc4814a69076a2d28e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CONFIG_LOCALVERSION may already be set in a defconfig or config fragment
and this should not be unconditionally overridden.
(From OE-Core rev: 613c43f910cbdf5e03ef3d5bbf92de69082a30c9)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The machine_branch and machine_srcrev variables were set but not used in
do_kernel_metadata.
(From OE-Core rev: ee358e03b1ad6eb0624cee0306fef807de0116a6)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the kernel-yocto bbclass to be inherited in a recipe without
needing to include linux-yocto.inc. The bbclass should stand on its own
and linux-yocto.inc does a few things which may not be desired in other
kernel recipes (such as modifying KERNEL_FEATURES).
The LINUX_VERSION_EXTENSION default is not moved as other kernel recipes
may not want this setting in place.
(From OE-Core rev: 48d8f97975c0b167c0f4f32145813f00b8c8a7a8)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the SRCREV to pickup the following fix:
Author: Martin Jansa <Martin.Jansa@gmail.com>
Date: Wed Feb 5 03:26:57 2020 +0100
merge_config.sh: pass LD variable from shell environment to make
* since 5.4 kernel Kconfig will fail immediately when it detects
that LD points to gold linker:
scripts/Kconfig.include:39: gold linker 'i686-oe-linux-ld' not supported
* in OE we already pass bfd linker in KERNEL_LD variable to merge_config.sh
but we need to pass it also into the make call here
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(From OE-Core rev: fa964575f9e00d8530563e61075992c5b69df137)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the SRCREV to pickup tweaks to symbol_why.py to be
python3 safe:
- we explicitly call /usr/bin/env python3
- we full specifiy our symbols
- do not assume that 'None' can be converted to a string
(From OE-Core rev: eaa83453fe206567253257fcefdbf6feb6d53d72)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was deciding whether to rename manpages based upon the presence of
/etc/debian_version. Be explicit about the configuration instead and
ensure determinism.
[YOCTO #13781]
(From OE-Core rev: 09c8a28893e7ca94a44232d802e1cb02a8f34b87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to sort python dict output to be deterministic and generate consistent
header files.
(From OE-Core rev: 75e4cedb986379db2e8a897df52ee1363f9a9a80)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With a sequence like:
bitbake sysvinit
bitbake sysvinit -c clean
bitbake sysvinit -c package_write_ipk -f
then the resulting package has two files with group "root/70" rather
than "root/shutdown". The issue is that of do_package is a setscene
task, base-passwd isn't present. This patch fixes that dependency
but there may be other cases of this problem around.
[YOCTO #13776]
(From OE-Core rev: 0227e929021263c51d2e7db36224000fecb01f1c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sudo uses AC_PATH_PROG to find target paths, which means at best
potential host-contamination (and reproducible issues) and at worst it
thinks sh is at /your/build/path/hosttools/sh.
Solve this by explicitly passing the correct paths to configure.
(From OE-Core rev: 61650dd8498a093f3bfa93202c9cd2e9a7fb7834)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was injection git information from the wrong git tree, stop this
to allow reproducible builds.
(From OE-Core rev: 506b36b6d86b3454fcc3cb85f6229cbe8d14f5b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was injection git information from the wrong git tree, stop this
to allow reproducible builds.
(From OE-Core rev: c3f6a6113f562ecdb13386c3ff52adb7973980a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The suid/setcap code depends on whether setcap is on the host system or not
with suid as a fallback. Disable this functionality to be deterministic.
(From OE-Core rev: 8b00ec484fb851c301f13145e17707c0167feab1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a build architecture leaking into the target ptest which
could vary depending upon host. Remove it as its cosmetic.
[YOCTO #13770]
(From OE-Core rev: 37db519eedb7eb5cd4f14d05f30f5d580aa7458d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch which handles the following issues:
a) Remove the \n from configure_attr.sh since it gets quoted differently depending on
whether the shell is bash or dash which can cause the test result to be incorrect.
Reported upstream: https://github.com/arsv/perl-cross/issues/87
b) Sort the order of the module lists from configure_mods.sh since otherwise
the result isn't the same leading to makefile differences.
Reported upstream: https://github.com/arsv/perl-cross/issues/88
c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
there for good measure)
This needs to go to upstream perl (not done)
d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash
and "" with dash
Reported upstream: https://github.com/arsv/perl-cross/issues/87
(From OE-Core rev: 482fd0d99f989b5a72a25bdf402fb2f219420b5d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was breaking reproducibility, and the files aren't needed on
target.
[YOCTO #13772]
(From OE-Core rev: 2e0f30c4680221c693495e3a0327378d502a518b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the deprecated methods as it will only cause problems later on,
and since warn() just calls warning(), it shouldn't change anything
(Bitbake rev: a194f275235f22411cb2368f06a44f61ceb6a0f3)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to recent changes to the tune, in order to match config.guess, the name
of the big-endian microblaze architecture was changes to 'microblaze'.
(From OE-Core rev: 6f6a6bbac684ead3fe6d070d61f17c2f611a2c87)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various += were used, refactor these to be either = or .= depending on
usuage.
CONFLICTS should be '=', as no leading space is required and they are not
amending any other conflict settings.
The TUNE_CCARGS should be .= so that if the feature does not define a CCARG
blank spaces are not added to the CFLAGS. This is consistent to how the arm
tuning is implemented.
(From OE-Core rev: 78c38857486d3107ecd95d0ceefabcf5152c3928)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to allow no version to be configured. This should use the GCC default
which is the latest defined version, currently 11.0.
(From OE-Core rev: 0d1551dcc169f2d8dbfbe01b4f1f0ae3ce4770ed)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using microblazeeb breaks a number of autoconf recipes, including newlib
components. 'microblaze' is defined as the big-endian version, while
microblazeel is defined as the little-endian version.
config.sub: 2018-07-03
...
| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
...
| microblaze-* | microblazeel-* \
...
microblaze*)
basic_machine=microblaze-xilinx
...
(From OE-Core rev: c052b0c984b28d64527a66ea8e2936ca28b9406f)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of resources is gathered with $(wildcard) in Make, which isn't
sorted. If this order changes then the generated libraries will differ.
(From OE-Core rev: f3675be6be29426688187a135221431a0941d007)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous tweak for reproducibility didn't handle the duplicate
whitepace left behind, fix this.
[YOCTO #13771]
(From OE-Core rev: 0392fcbdc85180581ce7392212808ebb822cc2e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rsh is insecure and obsolete but tar will enable support if the binary is
on the host system. Some systems point it at ssh. Lets explictly disable it
for now unless someone actually needs/uses this at which point it could
become a packageconfig.
(From OE-Core rev: d14a4b0db92a9a7d1ff72a2e0faca7f1a23a0b68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The host kernel version was being encoded into the Xorg binary. Set
an appropriate configure option to avoid this and be deterministic.
(From OE-Core rev: 39e25b045231385c1e2a442fde2c5d4ee07640a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a bug in patch 2.7.3 and earlier where index lines
in patches can change file modes when they shouldn't:
http://git.savannah.gnu.org/cgit/patch.git/patch/?id=82b800c9552a088a241457948219d25ce0a407a4
This leaks into debug sources in particular (e.g. tcp-wrappers where
source files are read-only). Add the dependency to target recipes
to avoid this problem until we can rely on 2.7.4 or later.
We could try and remove all index lines from patch files but it will be a
losing battle. We could try and identify all the recipes which change
modes on files in patches but again, its a losing battle.
Instead, compromise and have patch-native as a dependency
for target recipes. We use patch-replacement-native since patch-native
is in ASSUME_PROVIDED.
Also add nativesdk-patch to buildtools-tarball.
[YOCTO #13777]
(From OE-Core rev: 5ed0840c93804488cd1c1aba6cb382b2434714a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The man page date can vary depending upon the host perl, e.g. in Russian
some versions print 'июня', others 'Июнь' or Polish 'czerwca' or 'czerwiec'.
Rather than depend upon perl-native to fix this, just remove the date from
the manpages.
(From OE-Core rev: 5553c20f9fa4f35bf711b6b9d5717dcf4bfefafa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This value was floating causing differences in generated files.
Set it determinstically.
(From OE-Core rev: 11d7a9e37c1d3fc21396a98fefc9d34c0b9e784b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding newline characters between the packages in the failure output
massively improves readability.
Also ensure to output ipk failures when there are deb failures by
calling self.fail() at the end, else sometimes only partial differences
are returned.
(From OE-Core rev: 6e2e0480852177db75a6108d77c99c92c4e9950f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a sorting problem with opkg-build where the ipk generated is depending
upon the order of files on disk. The reason is the --sort option to tar only
influences the orders of files tar reads, not those passed by the -T option.
Add in a sort call to resolve this issue. To ensure consistent sorting we
also need to force to a specific locale (C) else the results are still not
deterministic.
(From OE-Core rev: a9b8287984c63420e10329a69f7ac5125f1687f8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Include the version number in a format that is comparable to what we get
from NVD.
(From OE-Core rev: fdb2a95d5e0265de1172940b6dc71fc7d602e8d1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linux kernel compilation for aarch64 triggers ICE if
CONFIG_CC_OPTIMIZE_FOR_SIZE=y.
The rootcause is GCC bug #91102 'aarch64 ICE on Linux kernel with -Os'.
Apply the fix to 9.2.
(From OE-Core rev: 14f34d32bfdaa752f5043e62750d2e7b92c4b419)
Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-pthread is compiler driver option which links in needed dependencies
for pthreads along with -lpthread, this aids in fixing build failures
on rv64
(From OE-Core rev: 94446ea1bfcb175af6fcaf5969a3a4507fdbf470)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
See bug https://bugzilla.yoctoproject.org/show_bug.cgi?id=13632
Autobuilder tests occasionally fail, reporting that a new logfile
could not be created. While this failure did occur multiple times, it
could not be manually reproduced. However, there are issues with the
implementation of the logrotate.py script that can be fixed. These
changes will help make the failures clearer, should they continue to
occur.
Previously, the test_2_logrotate test would, after running the
logrotate tool, use "ls -al $HOME/logrotate_dir | wc -l" to count
the number of files in the rotation directory and determine if the
rotation was successful. The test to see if there are at least three
files is problematic, because depending on the version of ls used, it
may report the target value of 3 even when there are only hidden files
in the directory, potentially reporting a pass for the test when it
should actually fail. An example with coreutils:
root@qemux86-64:~# ls -al emptydir/
total 2
drwxr-xr-x 2 root root 1024 Jan 14 19:50 .
drwx------ 3 root root 1024 Jan 14 19:50 ..
root@qemux86-64:~#
Where "total" is the number of blocks used. Compare with busybox ls:
root@qemux86-64:~# ls -al emptydir/
drwxr-xr-x 2 root root 1024 Jan 14 19:54 .
drwx------ 3 root root 1024 Jan 14 19:54 ..
root@qemux86-64:~#
Instead of using ls to verify that a certain number of files exists
in $HOME/logrotate_dir, the tests have been changed to rotate two
specific logs: the log for wtmp and a new logrotate_testfile created
during the second test. Both tests check that the logs are correctly
rotated into $HOME/logrotate_dir by using find and grep on the
expected filename (e.g. "wtmp" when rotated becomes "wtmp.1", so we
check to see that wtmp.1 is present in $HOME/logrotate_dir). In
addition, should the test fail, the output from logrotate -vf is
included in the test log to aid debugging. It has also been seen that
in some cases, the logrotate test fails because the /var/log/wtmp file
is not yet present. Since the objective of the test is to check the
logrotate functionality and not the presence of certain log files,
test_logrotate_wtmp uses the touch command to help ensure that the
file is present before the call to logrotate is issued.
Finally, note that while the autobuilder failures that this patch
addresses were only seen during core-image-full-cmdline tests, these
changes were successfully tested on core-image-minimal and
core-image-sato with the manual addition of logrotate and openssh-sshd
to the images.
(From OE-Core rev: b9392403e96c6d880de844b44da2c7300fcf411c)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adjust install to pick new files from S
(From OE-Core rev: cdb4b65e1c7d5efeac90feb446ea84a350a18aed)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create HelloWorld examples that run on several of the QEMU architectures
supported by the build system.
This recipe can be used by anyone to understand how baremetal applications
can be built using OpenEmbedded and how the wiring to set them up could be.
This should also facilitate creating/extending the OE testing infrastructure
to allow baremetal applications or RTOSs to be tested in the same way that
Linux currently is.
This can easily be extended to work on other MACHINES in the future.
To run this example:
$ source oe-init-buildenv
$ bitbake-layers add-layer ../meta-skeleton
# TCLIBC="baremetal" would work as well
$ echo "TCLIBC = \"newlib\"" >> ./conf/local.conf
$ echo "MACHINE = \"qemuarm64\"" >> ./conf/local.conf
$ bitbake baremetal-helloworld
$ runqemu
runqemu - INFO - Running bitbake -e ...
runqemu - INFO - Continuing with the following parameters:
KERNEL: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.bin]
MACHINE: [qemuarm64]
FSTYPE: [bin]
ROOTFS: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.bin]
CONFFILE: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.qemuboot.conf]
Hello OpenEmbedded!
(From OE-Core rev: b314e9a0923c8aa95a2f2c3f48d956206e9885a7)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resolves following exceptions in log.do_kernel_configcheck:
DEBUG: Executing python function do_kernel_configcheck
Traceback (most recent call last):
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2776, in _expand_macro
res += args[int(new_args[0])]
ValueError: invalid literal for int() with base 10: 'error-if'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/symbol_why.py", line 295, in <module>
conf = kconfiglib.Kconfig( kconf, show_errors, show_errors )
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 947, in __init__
self._init(filename, warn, warn_to_stderr, encoding)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 1085, in _init
self._parse_block(None, self.top_node, self.top_node).next = None
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2982, in _parse_block
prev = self._parse_block(None, parent, prev)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2907, in _parse_block
while self._next_line():
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2234, in _next_line
self._tokens = self._tokenize(line)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2364, in _tokenize
self._parse_assignment(s)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2604, in _parse_assignment
s, i = self._expand_macro(s, i, ())
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2780, in _expand_macro
res += self._fn_val(new_args)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2843, in _fn_val
return py_fn(self, *args)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 6769, in _error_if_fn
kconf.filename, kconf.linenr, msg))
kconfiglib.KconfigError: scripts/Kconfig.include:39: gold linker 'x86_64-oe-linux-ld --sysroot=/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot ' not supported
Traceback (most recent call last):
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2776, in _expand_macro
res += args[int(new_args[0])]
ValueError: invalid literal for int() with base 10: 'error-if'
* there is still 291 mismatched options in default 5.4.15 builds,
but at least the 11804 lines long log doesn't start with 9022 lines of above exceptions
DEBUG: Executing python function do_kernel_configcheck
[mismatch (291)]: /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/.kernel-meta/cfg/mismatch.txt
There were hardware options requested that do not
have a corresponding value present in the final ".config" file.
This probably means you aren't getting the config you wanted.
WARNING: [kernel config]: specified values did not make it into the kernel's final configuration:
...
(From OE-Core rev: d3083e941578fb343454e106eba349adcc525ad3)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to latest on the 243 stable branch. This includes (amongst other
fixes) seccomp filter changes which fix failures with glibc 2.31, e.g.
systemd-journald[543]: Assertion 'clock_gettime(map_clock_id(clock_id), &ts) == 0' failed at src/basic/time-util.c:55, function now(). Aborting.
Refresh:
0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0001-do-not-disable-buffer-in-writing-files.patch
Drop 0001-unit-file.c-consider-symlink-on-filesystems-like-NFS.patch,
fixed in 5c0224c7bf3c ("Handle d_type == DT_UNKNOWN correctly").
Drop 0001-seccomp-more-comprehensive-protection-against-libsec.patch,
fixed in 70e8c1978a9a ("seccomp: real syscall numbers are >= 0").
Drop 0004-rules-whitelist-hd-devices.patch and
0005-rules-watch-metadata-changes-in-ide-devices.patch which cause
ide-cd to flap with tray open messages (and don't appear to be required
any more)
Commits from v243-stable:
70e8c1978a9a seccomp: real syscall numbers are >= 0
a0a1977d9a5d seccomp: more comprehensive protection against libseccomp's __NR_xyz namespace invasion
7f936c60d597 network: set ipv6 mtu after link-up or device mtu change
b59d88cc62a4 man: fix typo in net-naming-scheme man page
c5e5ac095821 man: fix typos (#14304)
9a2f26564d5a ipv4ll: do not reset conflict counter on restart
bc9e1ebfdd3b Fix typo (duplicate "or")
c6cb71b7e741 network: if /sys is rw, then udev should be around
67dcdfd95629 nspawn: do not fail if udev is not running
a7938a1bc6d3 Create parent directories when creating systemd-private subdirs
53aa44f8738a network: do not return error but return UINT64_MAX if speed meter is disabled
65abf126744f core: swap priority can be negative
b1cf452ff5f6 systemctl: enhance message about kexec missing kernel
07a0e5b42523 man: use mkswap@ instead of makeswap@
57dc017c6bac journald: don't ask for the machine ID if we don't need it
ac392a57c08c journalctl: pager_close() calls fflush(stdout) anyway as first thing
ee7dfadc8237 journald: remove unused field
471073f1b52b journalctl: return EOPNOTSUPP if pcre is not enabled
002ededb61a0 man: drop reference to machined, add one for journald instead
fd3bd4be3bff pid1: make TimeoutAbortSec settable for transient units
eb2ef4d6643e pid1: fix setting of DefaultTimeoutAbortSec
1d75e29b2378 shared/ask-password-api: modify keyctl break value
a16b1ee7e565 cryptsetup: reduce the chance that we will be OOM killed
4836fb010ae8 core: write out correct field name when creating transient service units
3e2c547f6d3c udevd: don't use monitor after manager_exit()
d42f7d45a8e2 Revert "udevd: fix crash when workers time out after exit is signal caught"
c9a287eee8fd man/systemd.link: Add missing verb *be*
a67a3ae04b89 man: document all pager variables for systemctl and systemd
3a8fce3f38b6 core.timer: fix "systemd-analyze dump" and docs syntax inconsistencies wrt OnTimezoneChange=
fdffd284b682 core/service: downgrade "scheduling restart" message to debug
733e7f19d3cf travis: add missing closing quote sign
0d7b7817fc34 systemd-tmpfiles: don't install timer when service isn't installed either
0e7f83cd2b31 pam_systemd: prolong method call timeout when allocating session
e51d9bf9e5ac man: add entry about SpeedMeter=
aa1fc791c7a1 udev: silence warning about PROGRAM+= or IMPORT+= rules
b9a619bb6738 udevadm: ignore EROFS and return earlier
1ec5b9f80cb5 basic: add vmware hypervisor detection from device-tree
7fa7080248aa umount: be happy if /proc/swaps doesn't exist
71ccd774bb33 shutdown: make logging more useful if NULL swap/mount table files are specified
38453c6d42e4 man: share description of $SYSTEMD_COLORS in other tools
b50ca0152681 core: do not propagate polkit error to caller
99b72a66ca55 ask-password: don't hit assert() when we query pw which the user C-d and caching is enabled
288edd686911 man: mention $RUNTIME_DIRECTORY & friends in environment list
37aeadd433d3 cryptsetup-generator: guess whether the keyfile argument is two items or one
a87e8fdc72d7 verify: fix segmentation fault
3aea728cd2d2 timedated: it might be that tzinfo files are just not installed
cc103c72abc1 timedated: handle UTC specially, when generating /etc/localtime
f5a4caa5418b time-util: treat /etc/localtime missing as UTC
2139d58652bb bpf: fix off-by-one in class whitelisting
cb7693595db9 bpf: fix device type filter
56e1ba304b00 core: constify bpf program arrays
b06b7ace92c1 run: propagate return code/status from the child
5db454b8031c udevd: fix crash when workers time out after exit is signal caught
b774282a855e udev: ignore error caused by device disconnection
8d88a2ecd7ce udev: fix error code in the log message
c41484a2f3d7 udev: ignore ENOENT when chmod_and_chown() device node
f218b65b3246 udev: do not append newline when write attributes
ce4d17ddbc16 time-util: uniquify timezone list, in case UTC is listed in timezone1970.tab, too
28f0b34c57bc time-util: always accept UTC as valid timezone
8b888d236007 seccomp: add all *time64 syscalls
53d8feeb2334 libblkid: open device in nonblock mode.
b9478046b03d man: describe ordering in case of Conflicts=
fa3e5bd2bbb4 man: put description of Wants= above Requires=
bdebd2c325fc meson: remove strange dep that causes meson to enter infinite loop
26bc77d8e5af man: fix option typo in pam_systemd man page
9c12127e3d2e man: save pull-raw example file without underscores
4c106cbcf1af man: small grammatical/word choice fixes to crypttab man page
03cc374fca74 shared/format-table: disable ellipsization when piped
0a5497d3fa4b sd-device-enumerator: do not return error when a device is removed
7b0d0331d051 bootctl: create leading dirs when "bootctl random-seed" is called if needed
5aab35aac9db core, job: fix breakage of ordering dependencies by systemctl reload command
cd86ae937305 journalctl: allow running vacuum on remote journals, too
fc0451bc0a3f allow an empty DefaultInstance= in configuration files
587266c24aae man/systemd.net-naming-scheme: fix typo
e0e63f0f9bb9 nspawn: respect quiet on capabilities warning
37e50c05b564 nspawn: mangle slice name
4fefc493541e mkosi: Find hostname command on Arch Linux
c430e8affba4 Fix mkosi on Arch Linux
1765b8d803dd Update to Fedora31
0b9a2a9a9868 sd-boot: Silence compiler warning when building with -O2
24e02f8d49b6 sd-boot: Don't loudly complain if RNG protocol isn't available
14e377ef3519 sd-boot: Only disable optimization on debug builds
a39008ddecb9 meson: correct man page deps
4c1dcc06fa30 sd-event: don't invalidate source type on disconnect
fb89ee34cedc analyze: fix minor memleak
a449299bc087 analyze: sort list of unknown syscalls kernel implements
51ea58a04b18 seccomp: add new Linux 5.3 syscalls to syscall filter lists
819695c8b027 resolved: check for IP in certificate when using DoT with GnuTLS
37f817e21097 resolved: require at least version 3.6.0 of GnuTLS for DNS-over-TLS
32056809baa2 coverity: replace python with jq
d2b4d7ee17de network-generator: Add missing help for --root
f1b18c206208 modules-load: do not fail service if modules are not present
606de6626714 pid1: order .automount units after local-fs-pre.target
1366b81f2bc5 shared/install: failing with -ELOOP can be due to the use of an alias in install_error()
84d5cd699e25 shared/install: fix error codes returned by install_context_apply()
417779c58a86 man: alias names can't be used with enable command
00af6c447f25 resolved: set stream type during DnsStream creation
66dd9d7d25fd sd-device: allow sd_device_get_devtype to be called with NULL arg and do not assert
048f9da1a4b3 Remove unused plymouth_running() function
34fa67bbe732 machine-id-setup: avoid unexpected aborting
24c99fa2ef3d test-socket-util: avoid writing past the defined buffer
ce82233f99b3 test: drop duplicated 's'
75a0e7209114 nspawn: fix handling of --console=help
f41a282875fc Revert "sysusers: properly mark generated accounts as locked"
fc2dceac6172 Remove unprintable non-ASCII char from special glyph ASCII fallback table
dedf5b511e6f logind: fix emission of PropertiesChanged for users
6e3cfe2e58f5 logind: fix emission of PropertiesChanged on seats
a9152084d7e9 resolved: fix connection failures with TLS 1.3 and GnuTLS
961879ed9ddb udev: tag any display devices as master-of-seat when nomodeset is used
8aa7bafa1295 systemd-fsck: fix systemd-fsck/fsck pipe bad closure
19590e289ace ceph is a network filesystem
339606ad9e99 portabled: allow to detach an image with a unit in linked-runtime state
bd9692734ac5 network: ndisc: do not drop all prefixes when a prefix matches a blacklist
5e6d4f8b79e0 systemctl: fix memleak caused by wrong cleanup func
47d0e23d26af udev: fix memleak caused by wrong cleanup function
a6fb0542c5ef parse_hwdb: fix compatibility with pyparsing 2.4.*
cb1d892f1780 parse_hwdb: process files in order
ef677436aa20 test: Pass personality test even when i686 userland runs on x86_64 kernel
3f6398c450b8 docs: fix inadvertent change in uid range
25bb377a73e7 cgroup: fix typo in BPF firewall support warning message
6d97aca0d503 fix build with compilers with default stack-protector enabled
fbad077cec34 nspawn: surrender controlling terminal to PID2 when using the PID1 stub
0553c3c66889 pid1: fix DefaultTasksMax initialization
f406a691a722 src/core/automount: use DirectoryMode when calling mkdir -p
20438f96c326 udevadm trigger: do not propagate EACCES and ENODEV
6480630bc397 hwdb: Correct WWWW Pattern In Documentation Comment
9d8e889810b5 nspawn: consistenly fail if parsing the environment fails
40e169b30423 nspawn: default to unified hierarchy if --as-pid2 is used
b5df1037a0c0 cgroup: Mark memory protections as explicitly set in transient units
f14e3e02cca7 cgroup: Respect DefaultMemoryMin when setting memory.min
ea248e53bf76 cgroup: Check ancestor memory min for unified memory config
de1d25a506db cgroup: docs: memory.high doc fixups
2ab45f38d8c4 cgroup: docs: Mention unbounded protection for memory.{low,min}
19a43dc38a13 Consider smb3 as remote filesystem
5c0224c7bf3c Handle d_type == DT_UNKNOWN correctly
8282bc61df10 util-lib: Don't propagate EACCES from find_binary PATH lookup to caller
9d0ae987a634 network: drop noisy log message
f67f0e4ec45a Updated log message when the timesync happens for the first time (#13624)
e151bf467494 units: make systemd-binfmt.service easier to work with no autofs
2b8e574d8242 Corect man page reference in systemd-nologin.conf comments
a0577353f191 man: Add a missing space in machinectl(1)
693e98398869 log: Add missing "%" in "%m" log format strings
ea7151b8c435 pid1: do not warn if /run/systemd/relabel-extra.d/ doesn't exist
b90549290e33 man: fix typo
(From OE-Core rev: 48a061c1da0745ca2263cfcfb9041d67cd018193)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.inc is used by other versions of recipe as well, therefore putting
checksums in .inc will break them unless the version is same as in
oe-core
(From OE-Core rev: 7515a38d4c2dec6117c1184dab4fbf1e9c02a993)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with 5.4 kernel the do_configure fails when gold is enabled (with ld-is-gold in DISTRO_FEATURES)
* bfd is already being set in KERNEL_LD:
kernel-arch.bbclass:KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
but KERNEL_LD is currently respected only by do_compile and do_compile_kernel modules
and new kernel which contains a check for gold in Kbuild:
https://lore.kernel.org/lkml/alpine.DEB.2.21.1907161434260.1767@nanos.tec.linutronix.de/
more details:
https://lore.kernel.org/r/CAMe9rOqMqkQ0LNpm25yE_Yt0FKp05WmHOrwc0aRDb53miFKM+w@mail.gmail.com
will fail during the configuration even when gold wouldn't be used to
build it in the end, add LD setting to KERNEL_CONFIG_COMMAND to prevent
premature error when configuring
scripts/kconfig/conf --olddefconfig Kconfig
scripts/Kconfig.include:39: gold linker 'x86_64-oe-linux-ld' not supported
make[2]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/scripts/kconfig/Makefile:73: olddefconfig] Error 1
(From OE-Core rev: 66c1f4b0abd3483759f9e4141a80f982eaf8ccfd)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
start_new_session was added to python3 subprocess in v3.2 and
is meant to take the place of the common use of preexec_fn to
call os.setsid() in the child - as done here.
Update to use the new equivalent.
(From OE-Core rev: 0ebb56ff192e9c6db2af83c37db3307a27fe822a)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
start_new_session was added to python3 subprocess in v3.2 and
is meant to take the place of the common use of preexec_fn to
call os.setsid() in the child - as done here.
Update to use the new equivalent.
(From OE-Core rev: c3bd502f31a621394a2f6ea3ae90443ff4ac98a4)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Piglit test suite is approximately 2GB and because it's installed into
$libdir is added to the sysroot archive. Nothing links against Piglit so
there's no reason for this, so remove $libdir from Piglit's sysroot.
(From OE-Core rev: 9cc4dc9cc951157e6e374192c88369432ae5cff1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we don't use the host pod2man (oe-core deda455) the podfix
class is redundant and can be removed.
(From OE-Core rev: 46884b1443d92cea877201296bd480b6cbd71cca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comparison of the stat st_dev is not enough to judge whether
hardlinking will work. One example would be where you try and hardlink
across two bind-mounts of a directory. The st_dev will be the same and
the operation will still fail.
Instead of implementing a check to try and figure out hardlink support
just try hardlinking and fall back to a copy when running into an
exception.
(From OE-Core rev: f5571bda8327f927feb23b167ab4594b7d0c95bc)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow setting custom buildhistory tag prefixes. This allows multiple
build directories to share one buildhistory git repository with multiple
worktrees.
(From OE-Core rev: 1bb2aa53a74e36dc3ba901b9d8ce780e7880cef8)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake 3.12 introduced this environment variable. Prefer it to passing
PARALLEL_MAKE and PARALLEL_MAKEINST on the cmake command line, because
it gets passed to second stage cmake invocations while command-line
arguments do not (for example, multi-stage clang builds)
(From OE-Core rev: cdd44c93f02bb8cc2fa773e13c8ce36e3da23921)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
procps includes support for listing the owning unit of a process, but
this support is disabled by default. Enable support using
a PACKAGECONFIG that depends on the systemd DISTRO_FEATURE.
(From OE-Core rev: 54a5daca450b8be251c45730ae4c0511811b668a)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop musl patch and backport a fix from upstream instead.
(From OE-Core rev: 009dbec9058bf43e63eeabdd24ecad990bf22568)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two things: The -Wl,-rpath-link comment is stale (due to per-recipe
staging), so we no longer need to set our own LDFLAGS to avoid
-Wl,-rpath-link being in there. Second, overriding LDFLAGS should be
done at the recipe level so "bitbake -e" can show what is going on.
Otherwise debugging why one's global LDFLAGS tweaks are being ignored
is needlessly painful.
So pull out the LDFLAGS setting from do_compile, and change it to an
append instead of assignment.
For the benefit of future git blame: the -fuse-ld=bfd setting was
added by ac64c3b96b (glibc: always use bfd linker).
(From OE-Core rev: 4535469d5953b94c9dcad5515be9b807ea7ba621)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without setting this it will vary depending on which directories are present
on the host.
[YOCTO #13778]
(From OE-Core rev: 6217c3a7201b34888aa2fbae8b6e490bea545574)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without setting this it will vary depending on which directories are present
on the host.
[YOCTO #13775]
(From OE-Core rev: 39fe849b56d70689846262c31ab7c182c8443923)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: list of contributors updated.
(From OE-Core rev: 4c6b294b72d74c10b22407d82dee28d553345ec3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is using - to separate version components which
version checker at the moment can't deal with (i.e 1-15-1 when
1.15.1 is meant).
(From OE-Core rev: fe38a5df23a341ecc18f81b96a9b7628dc4b5a61)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream seems to have dropped the odd-even policy
(From OE-Core rev: 3b41a5518b5f51816171daf716fedfe16854b191)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To support on-target module building, we need to include syscall.tbl
for ARM64 (just like we do for other architectures).
We also copy .config with -a to ensure that we don't trigger extra
processing and regen configs.
(From OE-Core rev: 1be199f79479d9c8125bd3548cd4f2354f597640)
Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a symbol doesn't make it into the final analysis is run
using Kconfiglib to show dependencies. v5.4 has introduced Kconfig
elements that Kconfiglib can't parse (hence we get no analysis).
Updating the Kconfiglib snapshot solves our problem.
(From OE-Core rev: 240e0ae13d35469eecafc82d2cd9cfd110095c55)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This creates recipes for the v5.4/* branches of the linux-yocto
reference kernel.
preempt-rt, yaffs2, aufs5 and reference board specific patches are
part of these branches. All major architectures: x86,x86-64,ARM,
ARM64,ppc,mips and mips64 have been feature tested against this
reference.
5.4 is a LTS release, and as such will receive -stable updates
for the duration of upstream korg support.
(From OE-Core rev: 2c2bdd9661e4341178f2d831bb56e961e74e8509)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a long standing 'odd' dependency which we've meant to
resolve. We shouldn't need it and it introduces reproducability issues.
We already have texinfo-dummy-native and texinfo-native which can
provide it but the work to remove the hosttool was never completed.
After cleaning up texinfo.bbclass, this can now be removed with
minimal impact on build time.
[YOCTO #13753]
(From OE-Core rev: 0c58c479af151969dfb84d8763696da657f7248d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pod2man writes the current date into manpages, and while later
versions of it respect SOURCE_DATE_EPOCH and use that instead,
earlier versions do not. This was found to cause reproducibility
issues.
This patch replaces host version of pod2man with one from
perl-native.
[YOCTO #13755]
(From OE-Core rev: deda455b3c1829003a4cc14520f30e616be93dfb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix the crosssdk and cross-canadian cases.
(From OE-Core rev: 95476373b20ba56c2877c70b5b36335446904f37)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we have recipe specific sysroots we don't need this native path
prefix. It was breaking the crosssdk/cross-canadian cases and causing
bugs, removing it is the simplest solution.
(From OE-Core rev: f7c9e4c4cbb2a74a3627dc8da37083eef071e3cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not strip packages when testing reproducible builds. In some cases,
stripped data differs between builds, but then gets removed. However,
the contents affect the generation of the GCC build-id, which then
differs in the resulting ELF files, even though the data that caused
this is no longer there. Inhibit stripping so that their causes can be
evaluated.
(From OE-Core rev: 0e23c6faf8169a333ae29064553705b5d7d6b589)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defers the resolution of the SOURCE_DATE_EPOCH until the variable needs
to be actually realized with a value. The previous method of loading the
value in anonymous python had issues because it could occur before other
anonymous python functions that affect the location of the epoch file,
such as when a recipe uses AUTOINC/AUTOREV or allarch.bbclass.
Also adds more logging to help diagnose issues in the future.
[YOCTO #13763]
(From OE-Core rev: b3313a10a3eb93f0a3710a35de0404fb49cd6202)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
U-Boot no longer requires OpenSBI to include a FDT for the HiFive
Unleashed, so remove the support from OpenSBI.
(From OE-Core rev: 472507b8c446dcfe3cb08deecfbca4e5928ca504)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When opencv is picked in PACKAGECONFIG, plugin fails to locate data
dirs. This is due to meson.build file uses 'test' utility to verify that
the data dirs path is present and not taking sysroot into prefix.
Introduce additional patch, which picks up PKG_CONFIG_SYSROOT_DIR as
prefix for 'test' utility to verify the data dir is actually present.
(From OE-Core rev: 575fca95307dafb3f7d80f9bf0e63605a9328b59)
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was found to have slight variations in order of options
depending on the host. Sorting it helps reproducibility.
[YOCTO #13756]
(From OE-Core rev: 93c7fa3b369c8eb61b65cdd82111c8016d707fb6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New releases of ICU are published on github.
(From OE-Core rev: 1a01c30653c2b0282543aa3cdae8d87af871c24a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's only one user of libc-common now that we don't ship both glibc and
eglibc, so copy the contents directly into the recipe.
[ YOCTO #12135 ]
(From OE-Core rev: a0bff0db1eeb128776757d5f3d0bc1ebdc135498)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the OS is not Linux, the code could end up generating a recursive symlink.
This can happen because the same symlink can be created twice in a row. If this
happenes, the second symlink becomes a link to itself within the directory
pointed to by the original link.
In order to prevent this, verify that the destination does not already exist.
(From OE-Core rev: ef28e5a74d939acc98d6e8e9a0efbeb143b8025f)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The error being corrected looks like:
File: '/home/jenkins/workspace/OEBuild/build-32/oe-core/meta/classes/toaster.bbclass', lineno: 130, function: toaster_package_dumpdata
0126: lpkgdata = {}
0127: datadir = os.path.join(pkgdatadir, 'runtime')
0128:
0129: # scan and send data for each generated package
*** 0130: for datafile in os.listdir(datadir):
0131: if not datafile.endswith('.packaged'):
0132: lpkgdata = _toaster_load_pkgdatafile(datadir, datafile)
0133: # Fire an event containing the pkg data
0134: bb.event.fire(bb.event.MetadataEvent("SinglePackageInfo", lpkgdata), d)
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/workspace/OEBuild/builds/build-32/tmp-glibc/work/core2-64-oe-linux/puzzles/2_0.0+gitAUTOINC+c6e0161dd4-r0/pkgdata/runtime'
There must be a small window before the data is available, but while the monitoring is on-going.
(From OE-Core rev: c7329b17cbbef64984196e2b79a81988db1d2bf3)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For u-boot recipes without menuconfig support, running devtool results
in a do_configure error:
cp: cannot stat '/home/r60874/upstream/fsl-xwayland/tmp/work/imx8mmevk-fsl-linux/u-boot-imx/2018.03-r0/u-boot-imx-2018.03//.config': No such file or directory
The problem arises because u-boot.inc supports recipes with and without
menuconfig.
Fix the problem by properly setting DEVTOOL_DISABLE_MENUCONFIG so that devtool
can control logic that applies only for menuconfig support.
(From OE-Core rev: a6c430b0077eb56b4adbe391a0a05a52133cc8f0)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot.inc supports u-boot recipes with or without menuconfig [1].
However, running devtool on a u-boot recipe that does not support menuconfig
results in an error:
cp: cannot stat '/home/r60874/upstream/fsl-xwayland/tmp/work/imx8mmevk-fsl-linux/u-boot-imx/2018.03-r0/u-boot-imx-2018.03//.config': No such file or directory
The problem is the devtool logic assumes that any recipe with a do_menuconfig task
will generate a .config in do_configure().
Fix the problem by removing the assumption with a flag that the recipe can control,
like this:
do_configure() {
if [ menuconfig-supported ]; then
...
else
DEVTOOL_DISABLE_MENUCONFIG=true
fi
}
[1] 11278e3b2c
(From OE-Core rev: 6cc17e658c3dbadc772353f0f200561d2d988658)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When configuring the cross-candian toolchain for a non-linux target system,
the resulting gcc configuration included:
--enable-initfini-array--without-headers
these should have been two separate options.
(From OE-Core rev: 7b52893632dae7bc9ac75dddc7ad625e19f41050)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If documemtation generation is disabled, the recipe throws warnings about
unpackaged files. Avoid this.
(From OE-Core rev: 811a5b1b4d4da97caaca2779c8aa5687cbf0c609)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, one test is disabled as it is failing everywhere,
two patches that actually cause failures are dropped and
some binaries are prevented from being stripped where that is
expected.
(From OE-Core rev: 64bc13f3c9c96584494f0984da5253a306e8a140)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If OEQA_DEBUGGING_SAVED_OUTPUT is set in the environment, use this location
to store reproducibile build failure output. This aids debugging on the
YP autobuilder in particular.
Use a date in the directory name to make it easier to find failure output.
Also clean up empty directories as they're unnecessary distracting noise.
(From OE-Core rev: 138ed4aa96ec5069f9f7fd02994a42452dbccc2d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This hardware is old/obsolete and unobtainable. Its proving hard to support
with nobody fixing bugs or helping keep the platform running/up to date.
Whilst there is value in real hardware testing, this platform ist just too
old and obsolete to support. This does leave a gap for the power architecture
but at this point there is nobody willing to step up to cover it.
The TSC did discuss and agree support for this platform should be removed.
It calls into question the support/testing of the architecture by Yocto
Project which is being discussed by the TSC and governing board.
(From meta-yocto rev: aa691d49ceb6700eb1881b789fe34f8369bcb0ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a few comment lines in Makefile to commemorate Scott's
contributions
(From yocto-docs rev: 07c88e2724a223b26694c98c0e976d735aee00e6)
Signed-off-by: Jefro <jefro@jefro.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its sad to have this but as the project ages, also perhaps inevitable.
Besides their contributions, remember them here.
(From OE-Core rev: cd9006b20281cef0051ed60a2cfee8c809c24f76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After changing autotools.bbclass, CONFIG_SHELL setting no longer works
resulting in:
grep-3.4-r0 do_package_qa: QA Issue: /bin/fgrep.grep contained in package grep requires /bin/bash, but no providers found in RDEPENDS_grep? [file-rdeps]
The script can use /bin/sh so set this specifically using sed since we
want to use a consistent shell for the rest of the build but not have
the specific bash dependency.
(From OE-Core rev: 9031b66c7c817b65f75b429db6f6527d07196e8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After changing autotools.bbclass, CONFIG_SHELL setting no longer works
resulting in:
xz-5.2.4-r0 do_package_qa: QA Issue: /usr/bin/xzmore contained in package xz requires /bin/bash, but no providers found in RDEPENDS_xz? [file-rdeps]
The script can use /bin/sh so set this specifically.
(From OE-Core rev: 790be4ace4da2e2d7597d4e8ccf75ed7f711184d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At present, CONFIG_SHELL becomes /bin/sh if its bash and /bin/bash if not. This
isn't deterministic and leads to changes in ptest packages which include Makefiles.
At first glance you'd think we'd hardcode to /bin/sh since most system shells are sane.
Sadly the dash vs. bash leads to quoting differences in configure.
The bash default is probably the safest option since configure tries to find bash
and this is what most systems would end up using.
The end result is a more consisent build environment.
[YOCTO #13752]
(From OE-Core rev: 33b1e27c29ed05da783f814cf9c3035675087ecc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Here are some highlights:
- DRM hardware planes should be used more effectively
- The DRM backend now supports HDCP
- Headless backend now supports OpenGL
- DRM backend can now be built without GBM
- EGL_KHR_partial_update is now used when available, reducing memory
bandwidth usage on some GPUs
- Logging framework improvements
- Documentation for weston can now be built
https://lists.freedesktop.org/archives/wayland-devel/2020-January/041147.html
(From OE-Core rev: 1aa123f176f166e8eeaa09dc9b9fda206a92ae87)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* instead of installing all 51 nspr header files directly in ${includedir}
* ubuntu uses /usr/include/nspr as well as shown in:
https://packages.ubuntu.com/xenial/amd64/libnspr4-dev/filelist
and some components assume the same path
* update nss configure to find them, similar change might be needed in
mozjs and ecryptfs-utils
(From OE-Core rev: 274128830a9d52bdd2827cc0a323d575025ce62f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is aware, and will investigate and fix.
(From OE-Core rev: 96c286a1b2f9fc8e8bf4fb29ae62551a323af5c3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, 1G wasn't enough for lttng-tools ptests as
half of that went to /tmp, and lttng-tools needs more.
(From OE-Core rev: abc308a38c6e37afcaf507858a6578c10438c5d8)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is beneficial for parted ptests in particular, as
they expect vfat functionality to work.
(From OE-Core rev: 85eb0cdc16b89dc7d3bce0c0b1c22b68f684ef05)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds a new npmsw fetcher that fetches every npm dependencies
described in a npm shrinkwrap file:
https://docs.npmjs.com/files/shrinkwrap.json.html
The main package must be fetched separately:
SRC_URI = "npm://registry.url;package=foobar;version=1.0.0 \
npmsw://${THISDIR}/npm-shrinkwrap.json"
Since a separation has been created between the package and its
dependencies, the package can also be fetched with a non npm fetcher
without impacting the general behavior:
SRC_URI = "git://github.com/foo/bar.git;protocol=https \
npmsw://${THISDIR}/npm-shrinkwrap.json"
(Bitbake rev: f5223be54450bf20e0bfbd53b372a7748a44b475)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit refactors the npm fetcher to improve some points and fix
others:
- The big change is that the fetcher is only fetching the package
source and no more the dependencies. Thus the npm fetcher act as the
other fetchers e.g git, wget. The dependencies will be handled later.
- The fetcher only resolves the url of the package using 'npm view' and
then forwards it to a proxy fetcher.
- This commit also fixes a lot of issues with the package names (exotic
characters, scoped packages) which were badly handled.
- The validation files - lockdown.json and npm-shrinkwrap.json - are no
longer used by the fetcher. Instead, the downloaded tarball is
verified with the 'integrity' and 'shasum' provided in the 'npm view'
of the package [1][2].
1: https://docs.npmjs.com/files/package-lock.json#integrity
2: https://www.w3.org/TR/SRI
(Bitbake rev: 0f451cdc43130d503ada53ed1b4fc5a24943f6ef)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using a download filename with characters which can be interpreted
by the shell ('(', ')', '&', ';', ...) the command fails. Quoting the
filename fixes the issue.
(Bitbake rev: ed652dce5200161068eccdbfaaaefde33136eb09)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is necessary to introduce proxy fetchers and do not modify
the behavior of existing fetchers.
This commit allows fetchers to forwards the done condition to a
proxy fetcher.
(Bitbake rev: ee3a2545e99e6e99559a72bcda64797ae674ec71)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is necessary to introduce proxy fetchers and do not modify
the behavior of existing fetchers.
This commit allows fetchers to forwards the "try_mirrors" functions to
a proxy fetcher.
(Bitbake rev: 462c9a2b368a1720da276310b1d5d0423b7cefea)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is necessary to introduce proxy fetchers and do not modify
the behavior of existing fetchers.
This commit allows fetchers to forwards the "verify_donestamp" and
"update_stamp" functions to a proxy fetcher.
(Bitbake rev: f7612c0704b4252bba5157ce9a94d8888c6d0760)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit enables the "sha1", "sha384" and "sha512" hash functions in
the supported checksum list. This allows to use more SRC_URI checksums
functions for a url:
SRC_URI[sha1sum] = "..."
SRC_URI[sha384sum] = "..."
SRC_URI[sha512sum] = "..."
The npm fetcher needs this to support subresource integrity:
https://www.w3.org/TR/SRI/
(Bitbake rev: cd80a646aa841b71e68282bb8d11194abb5df0e4)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit refactors the way checksums are verified to be more generic.
The support of new hash functions is now limited to the update of the
CHECKSUM_LIST variable.
(Bitbake rev: debd9eeaf5638755d8956b2d65b904fe02826966)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our CFLAGS were being lost which was breaking reproducibile builds due to
losee of the debug prefix remapping flags. Fix this.
(From OE-Core rev: 037bef5c7dfe82642d19f07b38f6ccc783958e41)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the test depends on which DISTRO_FEATURES and targets are selected.
Similar to SOURCE_MIRROR_FETCH, add PARSE_ALL_RECIPES to allow the test to see
a much wider range of them. This avoids issues added by the new ucontext musl
specific recipe and allows the current whitelist to be cleared out a bit (more
cleanup can follow).
(From OE-Core rev: c139e058bb2df48c79784cf3fd701e51bbc68427)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recipe specific sysroot, these settings do nothing. Drop
the obsolete code.
(From OE-Core rev: 6269f1935f5fd2d9397045566f2e0e4fc0df85cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rv32 port has bumped its minimum kernel requirement to 5.4
as the userspace ABI is still in flux until glibc port is not
upstreamed.
(From OE-Core rev: 1a7287369e554159914cd9a40c2e023c167fd82a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps clang to do a better job with fortify on but it is better
suited for clang layer
(From OE-Core rev: c4ea8d76db37f21c034d610bfe4e53596e662bb8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop ppc 8xx clear cache optimization, which we have been carrying
through eglibc days, it has been redone in glibc now
(From OE-Core rev: 5c48e655cbd9a45d43c37602db8e09e2e91d2722)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python code underneath is smart and pokes at python installation in
sysroot for compile environment, the overrides from EXTRA_OEMAKE are
ofcourse preferred but it falls back to python3's distutils/sysconfig
for rest of them, and it does use CCLD and LDSHARED for linking, when we
use clang to compile python3 then it encodes these variables to be clang
however, when building perf we inherit kernel which forces gcc to be
used for compiling perf, which then mixes both compilers due to CCLD and
LDSHARED demands. Therefore override CCLD and LDSHARED in make
environment helps python/distutils to use right linker
(From OE-Core rev: f9259da409c2aa92deb71aef0da2405c8d836615)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
one of the build steps ruby has is that it generated rb_mjit_header.h
during configure using gcc preprocessor using -dD which emits built-in
defines as well, problem happens when this header is later included in
subsequent compiles, where compiler errors out stating that an existing
internal define is redefined
| /tmp/20200123-2021083-2c601q.h:13849:9: error: "__has_include" cannot be used as a macro name
| 13849 | #define __has_include __has_include
| | ^~~~~~~~~~~~~
| compilation terminated due to -Wfatal-errors.
Since compiler already will take care of it internally we can edit it
out from this header file
(From OE-Core rev: b4f0df9a0e998af746bcd84cb81ea4ba0107f989)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use NSS_USE_ARM_HW_CRYPTO to detect USE_ARM_GCM, since there are
dependent, without this we control the crypto code function inclusion in
build but do not control the call sites, which can result in undefined
symbols e.g.
Linux_SINGLE_SHLIB/gcm.o: in function `gcmHash_InitContext':
/usr/src/debug/nss/3.49.1-r0/nss-3.49.1/nss/lib/freebl/gcm.c:112: undefined reference to `gcm_HashInit_hw'
(From OE-Core rev: 4f8f2fd72fee6cf5aedbb679b2c29b88f98a5e11)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Help musl based systems provide ucontext APIs, these APIs are used in
some common applications e.g. chromium browser
(From OE-Core rev: 51c329d2d3fbefd5483bb78f471f4c222ad061c1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should address ARM64 specific failures in particular.
eu-objdump is now installed on all architectures;
ptests fail in its absence and pass when it is present, so it's
useful at least in some scenarios in non-x86 architectures and
fails gracefully otherwise.
The original decision to exclude it was here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5283
(From OE-Core rev: 3a3b20df28f6ace6267b68c34faeef3da4d7ef8a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Do not clutter /, create a special-purpose dir
2. Clean up the dir after tests are done (if this is not
performed, disk will overflow later in ptesting).
3. Fix up more locations in ptests to use the dir.
Upstream default /var/tmp is not suitable as it is not
big enough (mdadm needs about 500 Mb)
(From OE-Core rev: cd4fc516ce0f8e4c5cadb7a700fe29643ed9128d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unset LD, and do not set ld in cross file from LD as
new version of meson passes that value directly
to -fuse-ld=... which requires one of lld, bfd, gold.
(From OE-Core rev: e0e30637a139feb744ca284aa63d47efefc5cb5d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds a devtool build test for npm recipe:
- devtool.DevtoolAddTests.test_devtool_add_npm
(From OE-Core rev: af299817c2fe9fa504762c54bd0593f3163399fb)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds a recipetool creation test for npm recipe:
- recipetool.RecipetoolTests.test_recipetool_create_npm
(From OE-Core rev: 61cabc2ccaa6a972b799d19fda8964926cc7ecec)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit removes the 'noverify' parameter which was added to the url
to fix warnings with the shrinkwrap / lockdown file generation. This is
not needed anymore with the new npm fetcher.
(From OE-Core rev: 401a9818c633373854d3c7dec032b9f455f2b2b4)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a recipe using devtool, a workspace is created to store
the new recipe, the recipe source and some append files. These append
files are used by devtool to build the recipe using externalsrc (to use
the source which are in the workspace). They can also have some
additional actions according to the class of the recipe.
This commit updates the append file for the npm recipes. The
devtool / externalsrc files are removed in the npm package directory
instead of the install directory.
(From OE-Core rev: a213a76e56e9bc215a61399ae35a3602863f5850)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The npm_split_package_dirs function was used by the recipetool when
creating npm recipes. This is not the case anymore.
(From OE-Core rev: 6cd834737eaa42592e83300099c152e2cfef568c)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As usual the 'LICENSE' and the 'LIC_FILES_CHKSUM' values reflects all
the license files discovered in the source tree (including the
dependencies).
For npm recipes the 'LIC_FILES_CHKSUM' value contains also the status of
the 'package.json' file of every packages as it contains license
informations.
Finally each package has a separate 'LICENSE_${PN}-package-name' value
which describes its license.
(From OE-Core rev: 9a70d4996c84b277f423eda5aac4acbe344599f4)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit refactors the npm recipe creation handler to use the new npm
behavior. The process is kept as simple as possible and only generates
the shrinkwrap file.
To avoid naming issues the recipe name is now extracted from the npm
package name and not directly mapped.
(From OE-Core rev: 1deccb0f0c204cd02fb8606f180d8a13df9f31db)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building addons, the node-gyp build tool is looking for python. It
is available in the native directory but not directly in the PATH.
This commit configures npm to use the native python executable.
(From OE-Core rev: 946fd69cba6f60c531ff34091cda3b7fee8ee594)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building addons, the node headers are needed to be able to compile
properly. Usually they are downloaded by npm but network access in the
do_compile task are unauthorized. Hopefully the local node headers are
available in the native sysroot so lets use them.
(From OE-Core rev: e4c111dacc808d8c7883f3a36dd5a9f65e7a44cc)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the do_fetch task, every other tasks must not access the network.
In order to ensure this point every npm command must use the offline
configuration. In addition setting an invalid proxy is used as a safety.
(From OE-Core rev: 1133f3ab485031df6e107f826b7398e5133f9c4d)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit splits the npm build in three steps:
1. With the new npmsw fetcher, the sources and dependencies of the
package have been fetched and unpacked. As sources can also be
patched, a local cache must be configured to use these modified
sources.
2. Next, the installation process is run using the local cache only.
Some packages may need to be compiled.
3. The final installation filters the previously installed files to
avoid unnecessary files.
This new version also fixes multiple issues related to npm dependencies
badly handled: package names, scope packages, installation directories
(From OE-Core rev: fb2252ee0777c6d26dea94c7588c323a6b97e961)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the same value of B between u-boot and u-boot-tools.
This patch also enable the out-of-tree builds of u-boot-tools actually.
(From OE-Core rev: 26023b6b0f897842fd98b3e10a8acd5b3ad8f418)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch also helps to build with EXTERNALSRC.
(From OE-Core rev: 8bd7a19b0177cc842d0fabfb9a602208c0617d9e)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The udhcpc script fails to properly set a default route when:
- 'ip' is present ($have_bin_ip -eq 1)
- there are 2 or more interfaces connected to the same network
(e.g. ethernet + wifi on the same home LAN / same DHCP server)
In this case, when the first interface gets an address from DHCP
(e.g. eth0), a default route is set correctly. When the second interface
(e.g. wlan0) gets its address, 'ip route add' without 'dev $interface' sets
the route on the other interface. The result looks like:
# ip route
default via 192.168.1.1 dev eth0 metric 5
default via 192.168.1.1 dev eth0 metric 10 # wrong dev here
192.168.1.0/24 dev eth0 scope link src 192.168.1.20
192.168.1.0/24 dev wlan0 scope link src 192.168.1.30
#
The situation might go unnoticed until eth0 is disconnected, because only
wlan0 is present but there is no route through wlan0.
Fix by explicitly passing "dev $interface" to 'ip route add'. Note that all
other 'ip' invocations already have "dev $interface" passed.
(From OE-Core rev: bb526eee429f25b85372f41e4d6d2865bcc39173)
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch fixes kbd ptest libkbdfile-test08 failure in 64-bit images.
```sh
root@intel-x86-64:/usr/lib64/kbd/ptest# ./run-ptest
make: Entering directory '/usr/lib64/kbd/ptest/tests'
make[1]: Entering directory '/usr/lib64/kbd/ptest/tests'
PASS: libkbdfile-test01
PASS: libkbdfile-test02
PASS: libkbdfile-test03
PASS: libkbdfile-test04
PASS: libkbdfile-test05
PASS: libkbdfile-test06
PASS: libkbdfile-test07
FAIL: libkbdfile-test08
PASS: libkbdfile-test09
...
```
`DATADIR` and `ABS_DATADIR` are compile flags defined in
./kbd/tests/Makefile.am. `DATADIR` is the relative directory of
kbd, i.e `./kbd/ptest/tests` whereas `ABS_DATADIR` is the full
directory path, i.e `/usr/lib/kbd/ptest/tests`. The latter has a
problem when building ptests for a 64-bit image, because the tests
folder is located at `/usr/lib64/kbd/ptest/tests` instead.
Therefore `ABS_DATADIR` is changed to `DATADIR`, also consistent with
what *every other* kbd test is doing.
The test searches DATADIR recursively for a file named `test0.map`,
but it finds the wrong file at
`/findfile/test_0/keymaps/test0.map`,
while it actually needs
`/findfile/test_0/keymaps/i386/qwerty/test0.map`.
Thus appending `/i386` to `dirpath` so that `libkbdfile-test08.c`
finds the right test file.
(From OE-Core rev: bdcda2c4ff3c96f686b8bd30cd17361ff3722a0f)
Signed-off-by: Matthew Zeng<Matthew.Zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale data in the recipe is generated using cpp, which results in
differing amounts of whitespace depending on what compiler is used.
This means that the files may differ in just whitespace, which is
sufficient for RPM's multilib code to consider them different and not
allow lib32-libx11-locale and lib64-libx11-locale to be installed at the
same time.
[ YOCTO #13647 ]
(From OE-Core rev: 6768d0d7988294769a41c7ba40f29874366da00f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shared-mime-info needs itstool-native, not itstool. Fixing this removes itstool
from the rdepends of shared-mime-info-dev.
(From OE-Core rev: c3cafc69340d5bc4ec6840e71d63f54283c44960)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The client depends on readline which is GPLv3. Add a PACKAGECONFIG so users who
don't need the client and are against GPLv3 can disable it.
Also remove the explicit installation of the client in do_install_append, as the
Makefile installs it now.
(From OE-Core rev: 84b082be0a879153d9af8e093b6823d49c2621b8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of the hash equivalence server, the progress bar
for "Checking sstate mirror object availability" is shown
repeatedly. Most of the times the number of objects scanned is very
low and the progress bar completes almost immediately. To avoid all
these unnecessary progress bars, set the minimum number of objects to
100 before the progress bar is shown.
(From OE-Core rev: 114340e8d393cf60d0a596cb0800cf1b7fd198df)
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>
cairo-trace is the only part of cairo that is licensed as GPL-3.0, and
is normally packaged separately in cairo-perf-utils.
The "trace" PACKAGECONFIG is enabled by default for backwards
compatibility.
(From OE-Core rev: e0c4535fb3c347e19d3dada07a97545bfd48239c)
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>
staticdev package defaults to include ${libdir}/${BPN}/*.a, but
for enchant2, the file locates under ${libdir}/echant-2/. So fix
it to avoid the following QA issue.
QA Issue: non -staticdev package contains static .a library: enchant2 path '/.../usr/lib/enchant-2/enchant_aspell.a'
(From OE-Core rev: b92a74d1e0a66dfb87e1e2626df232174151867e)
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 running mandb we end up with files owned by the build user, correct
this. Also pick up non-default locales and relocate their index.db files
to /var/cache.
(From OE-Core rev: 844781c5b260a52e8c06b872c74a13a22689bdb9)
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>
Fix a following compiling issue when seccomp is enabled by
PACKAGECONFIG:
| ../test-seccomp.c: In function 'test_protect_sysctl':
| ../test-seccomp.c:307:5: error: "__NR__sysctl" is not defined, evaluates to 0 [-Werror=undef]
| 307 | #if __NR__sysctl > 0
| | ^~~~~~~~~~~~
Reference:
https://github.com/systemd/systemd/pull/14032
(From OE-Core rev: e0e7a6a8b4041d858e6a5f0e7d32f5df38ac53c5)
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>
The Meson idiom for checks which require running code on the target
(which isn't possible in cross compilation) is to use a cross property,
which the user can set in the cross file:
if cc_can_run
rres = cc.run(test_foo_code)
have_foo = rres.compiled() and rres.returncode() == 0
else
have_foo = meson.get_cross_property('have_foo', false)
endif
The default value may be overly conservative so we should review every
property and explicitly set them as apppropriate. oe-core 669ddaf added
a log message when the default value is used, so look for this message
and emit a warning that the user will see.
(From OE-Core rev: 91b74ee03ada5d4517a5d8ef3895cc60f87780aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a .bbappend file sets GALLIUMDRIVERS then virgl is always being
appended to the list of drivers to be built. Make virgl an optional
component.
(From OE-Core rev: 55256f06173de030a8f5181d72ac31d398edb398)
Signed-off-by: Fred Baksik <fred.baksik@mrcy.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently these tests rely upon multiple uptream webservers which may change
or be unavailable. Add local copies of the test data, copy the httpserver
from OE-Core (used for testing there) and run these tests against a local
server instead.
(Bitbake rev: d5a4a352723258b4d499d3a51f340109c4f36f60)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to search our own libdirs, then fall back to the system ones as our
customised dynamic loader will. Have ld.so.conf reflect that.
This ensures that binutils finds libraries here when linking too.
(From OE-Core rev: 15049c610bcfd0a3e161379651b5ea117ea02715)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the SDK we need the plain symlinks and don't use alternative providers.
When these are missing the toolchain can work incorrectly so fix this.
(From OE-Core rev: 0c06cfaa016d06cc56d80dc1c244a938f3d38a3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need binutils to look at our ld.so.conf file within the SDK to ensure
we search the SDK's libdirs as well as those from the host system.
There add a patch which passes in the directory to the code using a define,
then add it to a section we relocate in a similar way to the way we relocate
the gcc internal paths. This ensures that ld works correctly in our buildtools
tarball.
Standard sysroot relocation doesn't work since we're not in a sysroot,
we want to use both the host system and SDK libs.
(From OE-Core rev: f6c1089642934ad93056ef19a0888965486ee030)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of perl core modules are dual-life modules which exists on CPAN
as well as they do in perl core. Sometime, fixes are uploaded to CPAN
before a new perl is released which contains the fix of the core
module. Also, some modules recent releases aren't fully backported
to earlier releases (out of support, lack of specific feature, ...),
which makes it up to the distribution build to choose between core
or CPAN version, respectively.
(From OE-Core rev: 9dfb3c3dffac467ec0a3751b1a350e01c4759496)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generation of locale-archive depends on the order of the input
files. Fix the order by sorting the file list.
(From OE-Core rev: 3f781ebd9dfbee143907190c6db5b86d501c3e63)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc defines minimum kernel needed to be 3.10.0 for LE ppc64
(From OE-Core rev: c1c296a42920af6725706bdea8e61b8c4f5f14a8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previous refactoring broke the case where save_dir was set. Fix this.
(From OE-Core rev: 9bfa04aa1f1a0b38ffa51f0211f3a46a90e17b0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A typo was preventing the extra data about the reproducible build from
being reported in the test results
(From OE-Core rev: 7c653337360dd5e49809b930f22a999c1d6e09ee)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a flag to control if the reproducible QA test should allow building
from sstate or not. Building from sstate may not be reproducible
depending on how the sstate is populated.
(From OE-Core rev: c24b71e9ec2e518bd24da20ddbb1406910b1b92e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The udhcpc script calls ip addr flush .. which flushes addresses
of any address family, including IPv6. However, busybox udhcpc is
IPv4 only and should not influence IPv6 addressing. Hence use ip
addr flush with family constrait.
The script particularly broke IPv6 SLAAC: Typically when udhcpc
calls the script the kernel already assigned the IPv6 link-local
address. The flush removes the link-local IPv6 address again and
prohibits proper IPv6 operation such as SLAAC since neighbor
discovery protocol relies on IPv6 link-local addressing.
(From OE-Core rev: b77541dbb2f442e51842f9d24c8745a6df2d1478)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* for rpi it's provided by userland recipe and this will make the bbappend
in meta-raspberrypi a bit smaller
(From OE-Core rev: c7f9f71bafff4e89d7c40b460e6668cb6be9405e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fgets is already in stdio.h, and it can confuse the compilers when using
fortified headers, therefore remove the declarations
(From OE-Core rev: 91bb451f60cc62bf6c25a7c36aabc0398729bcf0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson is detecting it does not support 64bit attomics but then when
defining local suppliments confused clang
../mesa-19.3.1/src/util/u_atomic.c:38:1: error: cannot redeclare builtin function '__sync_add_and_fetch_8'
__sync_add_and_fetch_8(uint64_t *ptr, uint64_t val)
^
../mesa-19.3.1/src/util/u_atomic.c:38:1: note: '__sync_add_and_fetch_8' is a builtin with type 'long long (volatile long long *, long long, ...)'
../mesa-19.3.1/src/util/u_atomic.c:38:1: error: definition of builtin function '__sync_add_and_fetch_8'
__sync_add_and_fetch_8(uint64_t *ptr, uint64_t val)
^
(From OE-Core rev: a18ad964d000a15ac4039c893dd9d3f8e545c223)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clang detects that getcwd is being re-declared and signatures don't
match, simple solution is to let clang use overloadable attribute
(From OE-Core rev: d32626c3c5b034b72495c2949b3e94ca55f04a9b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a backported patch to fix musl builds.
(From OE-Core rev: d28f0d41949143cf130e7f73aa8421711dd13914)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is beneficial for parted ptests in particular as they
make use of vfat, and fail otherwise.
(From OE-Core rev: ffbc6dc213abf96b816fc9dd87766c3a36935c2a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly parted is getting confused by udev's automounter
mounting things in background.
(From OE-Core rev: 23da99c731c55839f108f351c5c88de58d244cb8)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are already implicitly excluded by not being built.
This change avoids a confusing failure-but-not-really printed by
run-ptest.
(From OE-Core rev: f3e27d8e23df37fb06f77af1583021f471dede51)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove a couple of entries found by the test :)
(From OE-Core rev: 749f44b3735e4ae3657255b373fa55c357501cc5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a backport, and a patch that causes build errors with
the new version.
Add a patch to make ARM HW crypto optional; upstream for some
reason does not allow disabling it.
(From OE-Core rev: 73a1536a7e2fd5dad7d6855ac5e94f87890a1b95)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly:
[ERROR|FAIL] was matching characters rather than strings.
Using (ERROR|FAIL) requires -r option.
(From OE-Core rev: c041c326a1dbf1b128fc32d887acd73c6f5fb415)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports, rebase other patches.
0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch
is removed as the use case (allowing python 2 and 3 to coexist
in SDKs) is no longer relevant with Python 2.x reaching end of line
and upstream has refactored the code making a rebase difficult.
If needed, please re-add the patch to py2, rather than py3.
Python 3.8 no longer adds "m" to "3.8" in paths, so adjust the recipes
and classes accordingly.
The manifest for the 3.8.0 version is updated; particularly pkgutil
module is now packaged in -core (as other things in core need it);
this also necessitates allowing empty -pkgutil package to avoid
breakage across layers.
(From OE-Core rev: e6ab9f16b92aa1abdae82c535c1a452a1341b0e2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the libc-headers to match the latest LTS kernel.
The delta from previous headers is as follows:
- refreshed one patch for 5.4 context
- added rsync to the native dependencies, since it is used during
header install.
Otherwise, everyting is the same.
(From OE-Core rev: 35e2cd846a13906c5339c0763ab93d68b122ebc7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Resolves:
WARNING: vim-8.2-r0 do_package_qa: QA Issue: package contains desktop
file with key 'MimeType' but does not inhert mime-xdg: vim path
'/work/core2-32-poky-linux/vim/8.2-r0/packages-split/vim/usr/share/applications/vim.desktop'
(From OE-Core rev: 9464b19205c9f88998db7820274c9c0364c79bd9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11e45082ad00 ("rootfs-postcommands.bbclass: improve binary
reproducibility") fixed binary reproducibility of /etc/version, but with
the move to reproducibilty in all builds, setting /etc/version to
anything other than the default fixed timestamp is tricky because
rootfs_reproducible() runs very late.
rootfs.py uses BUILDNAME if set for /etc/version, so introduce a weak
default for BUILDNAME of "REPRODUCIBLE_TIMESTAMP_ROOTFS", when enabling
reproducible builds hence allowing BUILDNAME to be overridden elsewhere.
(From OE-Core rev: bbf28ea9100a4f86b052c5cd53c77f9e1c03fb09)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to fix the following runtime failure.
The latest nm v2.33.1 outputs symbols addresses without prefix zeros
for "nm -f posix", which causes the following error.
nm01 5 TFAIL: Got wrong format with -f bsd
(From OE-Core rev: bfffb32611c6d61286171af7f4b1b2edb227f186)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some baremetal applications might require support from libstdc++
On newlib based toolchains, libstdc++ can be built as a static
library that applications can then link against it.
Pass libsdtc++-(static)dev to LIBC_DEPENDENCIES allowing the
library to be present for cross compilation as well as on
sdk builds.
(From OE-Core rev: 18af9ecef6e247519d8a1573e32208bb69cf81fe)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While the gnu style for symbol versioning is the most usual,
--enable-symvers[=style] can be provided several values,
gnu, gnu-versioned-namespace, darwin, darwin-export, and sun,
depending on users needs.
Introduce the SYMVERS_CONF variable to allow the user to
configure the symbol versioning in shared libraries.
(From OE-Core rev: f850931173fc210ed25706fd8fbfe0a310f99dfc)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An error like the following is thrown when building
baremetal applications on some x86 architectures:
(machine, osabi, abiversion, littleendian, bits) \
= oe.elf.machine_dict(d)[target_os][target_arch]
Exception: KeyError: i686
Since the i686 (target_arch) key does not exist in the dictionary.
Add the key to fix the error.
(From OE-Core rev: e7862d2cdd478556ec0310d2b3c140da9cb2ff0b)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even though we do not expect any legacy ( 32bit ) for LE, linux-yocto
does enable the compat code, so enable 32bit support to get that going
(From OE-Core rev: 8e24fd8dcadc6dd13171a2c4cfec6bcff8db772a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LE is default for modern powerpc64, power8+
PowerPC64 Little Endian Linux ABI specifies Power8 as the minimum ISA.
The basic ABI can run on earlier versions of the 64 bit PowerPC ISA,
but it was helpful to define a new, minimum instruction set for Linux
distribution releases during the switch to Little Endian.
(From OE-Core rev: b9c73fb6d1afb3367d871a3d6bf7d0d6a53968a9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid races, SQLTable::__setitem__ needs an exclusive lock for the
entire transaction, not just the INSERT/UPDATE part.
(Bitbake rev: feb43e7c30f5bfab75d718896c45df621810d06f)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From a SRCREV caching point of view, there is no reason to treat the
following upstreams as different:
SRC_URI = "git://github.com/file/file.git"
SRC_URI = "git://github.com//file/file.git"
(Bitbake rev: 425e21c14955dd38868c6e97637df3bbe0f89fac)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior to this change, two different recipes pulling from the same
exact repo could get a different SRCREV during a single parse session.
This was originally observed using git. For git at least, it still
allows recipes to pull from the same repo, but with different branches
or tags, since the form of the srcrev cache key for git is:
"git:" + ud.host + ud.path.replace('/', '.') + ud.unresolvedrev[name]
Where the 'unresolvedrev' part is the branch or tag name.
(Bitbake rev: 6c938e6fd29beebe09b32be839dae008fe6491d2)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given a start expression, bb.utils.get_referenced_vars returns the
referenced variable names in a quasi-BFS order (variables within the
same level are ordered aribitrarily).
For example, given an empty data store:
bb.utils.get_referenced_vars("${A} ${B} ${d.getVar('C')}", d)
returns either ["A", "B", "C"], ["A", "C", "B"], or another
permutation.
If we then set A = "${F} ${G}", then the same call will return a
permutation of [A, B, C] concatenated with a permutation of [F, G].
This method is like a version of d.expandWithRefs().references that
gives some insight into the depth of variable references.
(Bitbake rev: 076eb5453ca35b8b75b8270efb989d5208095b27)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
amend the code to handle singleton comparisons properly so it only checks
if they only refer to the same object or not, and not bother
comparing the values.
(Bitbake rev: b809a6812aa15a8a9af97bc382cc4b19571e6bfc)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
removed unused imports which made the code harder to read, and slightly
but less efficient
(Bitbake rev: 4367692a932ac135c5aa4f9f2a4e4f0150f76697)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libfm installs mime types we want in our mime-database and it also uses desktop files
containing MimeType.
(From OE-Core rev: bdbb9b7549a8cb2934705f5803294b941ab04421)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE wic plugins create temporary file with the index of the line
tmp file name. This causes race in case several builds run in time.
If source_params['file'] is an absolute path, the cr_workdir prefix
is not applied by os.path.join(). So instead it writes to a ".1"
file next to the original image - this is outside the WORKDIR
and at risk of collision.
(From OE-Core rev: c68d8a37ba4348fe1c0e75c63b5668187d326ec2)
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Suggested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Suggested-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Inherit the new class to avoid warnings about desktop file.
(From OE-Core rev: b632c37581911228d6c9501feada17a215b9b442)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package signals that it can open mime-types but does not inharit mime-xdg,
a warning is created.
(From OE-Core rev: 75b4a377d6e74456bbb4b9966725de7385c74b61)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When opening files by file-browsers on fresh images, user has to choose the
application to open from the pool af ALL known applications even those not
designed to open the file selected. By inheriting this classs in recipes the
assosiations in /usr/share/applications/mimeinfo.cache are build by calling
update-desktop-database.
(From OE-Core rev: 20208d6763e725cea211f933ec1c8e32733a10af)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shared-mime-info-data: is the base for mime database
(From OE-Core rev: 316b14b883ebbee1841d21af6ba538792a78ba9b)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* looking through layers it looks that usage of mime.bbclass is somewhat
orphaned
* now that update-mime-database is called once only at image creation time,
costs of mime.bbclass are limited
(From OE-Core rev: 856ed1dc3b6e4a082546a487818eb4c6cde1c573)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add a short descriptions of class' use case
* remove checks for update-mime-database - it can be considered available:
* at build time by PACKAGE_WRITE_DEPS
* at package upgrade by RDEPENDS chain
pkg -> shared-mime-info-data -> shared-mime-info
* simplify (accelerate?) xml file extension detection
* run update-mime-database once only at image creation to avoid expensive
redundant operations
* allow shared-mime-info to inherit mime.bbclass by avoiding circular
dependencies
(From OE-Core rev: 6467b7b98c9a55e27d1ab9f253ec48da2a722e77)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sources/development moved to freedesktop's gitlab
* patches do not apply any more due to major changes in Makefile.am
* give up bb/inc separation
(From OE-Core rev: 09ef7f8e4b9742b17a0bf7a48970ece2298eaeba)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was not done in meta-oe but shared-mime-info extends to nativesdk either.
(From OE-Core rev: b38bf218f12f2984e2f4bafac720e21fcf1171d2)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent versions of shared-mime-info depend on itstool
(From OE-Core rev: 0bab36c5746dae2e2288244434cafe9cadb4b0c0)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the i686 build fix, this is integrated upstream now.
(From OE-Core rev: ed66833987b674a2403ab8a7d1c4556ff8a2efc4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new yearly snapshot was taken on January 2nd of 2020, this bumps
newlib to 3.2.0.
- Mentor Graphics added tcl license (amdgcn-* targets)
- BSD-Clause-2 was added as well by Dinux (pru-* targets)
(From OE-Core rev: e2d0e36234ba928d0cbcc98d8358b94d8d44412e)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of multilib, the do_package fails with:
ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv: Files/directories were installed but not shipped in any package:
/usr/lib/libubootenv.so
/usr/lib/libubootenv.so.0.2
Issue is fixed in libubootenv repo - this patch updates SRCREV to the
commit with the fix.
(From OE-Core rev: 9e21387ba2bd04ca844481e42a5999e1d748c730)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Reported-by: ChenQi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vim-tiny: update from 8.1.1518 to 8.2
The date in the license was updated to 2020 and
a trailing space was removed from one line.
(From OE-Core rev: 07d23c2d255f74cf9fbb0e917dfd1fe3bd6a65d2)
Signed-off-by: Oleg Polyakov <Oleg.Polyakov@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upgrade to 4.7.0 since there are so many
fixes in the new release such as below commit
which used to fix Yocto Bug 13311
5699fb7 xargs: use GNU_FINDUTILS_FD_LEAK_CHECK as for find
* Drop all patches as it is backported or
useless in new release
* Licence-Update:
- the link in the COPYING has been updated from
http to https
(From OE-Core rev: 2b0fab5a2c06e9525eb7d2f61f4d833390d30e88)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parallel compile maybe failed with error:
error: ../lib/strlcat.o: No such file or directory
Makefile:619: recipe for target 'syslogd' failed
remove previous patch, and backport lastest fix
for this problem
(From OE-Core rev: 6e5be1d240621c5ce2adf4e629bd6b240cefc0e3)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python 2 ceased being maintained on the 1st January 2020. We've already
removed all users of it from oe-core so the final step is to move the
recipe and supporting classes to meta-python2.
The following are removed in this commit:
- python and python-native 2.7.17
- python-setuptools
- The classes pythonnative, pythondir, distutils, setuptools
(From OE-Core rev: 390f3edabfb1f68ed9766245291c5f44ea00cc38)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If gnu hash is enabled for mips then we can not use gold linker since
gnu hash handling is only supported with good old BFD linker alone
Fixes
.gnu.hash is incompatible with the MIPS ABI
See gold/mips.cc in binutils for reference
(From OE-Core rev: 6f30ae2545064267f127bcc12f9cd00f25e0f309)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If getpwduid fails, we don't see which file it failed on which is key information
to aid debugging. Print this information when exceptions are raised.
(From OE-Core rev: 9d7a5219713af8117eda145052c6d9abdf577d8f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unfortunately the ptests assume that $S=$B, and also require
the presence of original source code.
There are still some failures left which require additional investigation.
(From OE-Core rev: f781e2a70ce1086c49e0c3d5ac61b7bf5bd79a9c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. They need to be run under regular user.
2. Some tests genuinely need more time than 30 seconds
3. The Makefile patch erroneously introduced a test-breaking change.
(From OE-Core rev: 3d6bf58c7080c1cacf3ed1f270ff5acf4858c790)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash's test suite prints a ton of warnings like
warning: UNIX versions number signals and schedule processes differently.
warning: If output differing only in line numbers is produced, please
warning: do not consider this a test failure.
or
warning: please do not consider output differing only in the amount of
warning: white space to be an error.
and indeed some of the tests then fail. Rather than fight with this
non-determinism, let's exclude bash from ptesting.
(From OE-Core rev: 192150cf8e5ad212fa8f7ca3a21f06889407bd40)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test needs resources that are built by glib using
hardcoded host tools, that was already disabled, so this
patch adds disabing the test that relies on those resources.
(From OE-Core rev: f3d7b605bac2d2a7a11f4079f57f410a6092c49e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch
as issue fixed upstream.
Rebase other patches.
Adjust ptests, pass rate is now 100% again:
======================
All 206 tests passed
(6 tests were not run)
======================
(From OE-Core rev: dce25738c82335f2a92b32bd52f0c63e2dbd336e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove inet-6-.defn-fix-inverted-checks-for-loopback.patch as
it is difficult to rebase and not clear if still necessary.
(From OE-Core rev: 127cc7193a4d696ca7829fc0b36624ef8a1bc312)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a big pile of backports.
Add a patch to address absent string formatting error.
Additional fixing of builds with musl.
timers group has been merged upstream into syscalls.
(From OE-Core rev: 7126431cc3512e3d7f55300c561339c87283b605)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest release use standard autotools, so drop all
the build system related hacks and patches.
Ptests have been rewritten, with 100% pass rate for both.
(From OE-Core rev: 0417eef364bad6d061b6a02bff27d766f4c1ce96)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nss is a problematic library in many ways, but openssl
seems to work just fine.
rpm was the only user of nss in oe-core, which opens
the possibility of moving it out.
Add a backported patch to enable builds with latest openssl.
(From OE-Core rev: 8c35a01dc771bf48f74129daa58d365100d18081)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They are preventing autotools from checking netinet/sctp.h existence
successfuly which in turn makes configure.ac files with lines similar to
this to fail, even if DEPENDS="lksctp-tools" and netinet/sctp.h is
clearly available under recipe-sysroot/:
AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found))
This is the case for new libosmo-netif versionsi (meta-telephony branch
laforge/nightly), which expects netinet/sctp.h to be available if default
flag --enable-libsctp is used.
Without this patch, do_configure will fail unless following line is used
in the recipe:
CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'libsctp', 'ac_cv_header_netinet_sctp_h=yes', '',d)}"
So removing ac_cv_header_netinet_sctp_h would be enough, but I couldn't
find any good information on why the other 2 variables were set in site
config files, hence no good reason to keep them.
(From OE-Core rev: 6a641e744507c8c17fa3d7273cb2e5b512ca0242)
Signed-off-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In kernel 5.5+ there are python3 scripts that explicitly use
/usr/bin/python3 as the interpreter. That will find the host
python and produce undefined results.
We add that interpreter path to our substitutions to ensure
that our sysroot variant is used.
(From OE-Core rev: 103316d50d4947b3c3500eb5cbc4845702a62d22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also drop unreferenced (already merged) patches.
(From OE-Core rev: 7b1440dff8129a997400cd7d4b5372455ddd1fe4)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in booting weston images ( core-image-weston ) with fbdev
backend, without this westons initialization of fbdev backend fails
because it does not get correct frame buffer settings and exits
pre-maturely
(From OE-Core rev: d95b03ae45b36a9b127ef639322e61b21c328d87)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
b4087338be ("glib-2.0: Fix hardcoded paths in checksums") fixed
embedded paths in task hashes, but if these paths included dots then
these were flattened when COREBASE was computed. Fix this by resolving
our filenames before replacing the path segments with COREBASE.
(From OE-Core rev: 05c514bfdd0f3201f6a516c9dc93dff0592e23db)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages like gst-shark needs this option to be on
Fixes
| checking whether the GStreamer debugging system is enabled... no
| configure: error: Tracers require GStreamer debug support. Rebuild GStreamer core with --enable-gst-debu
g.
(From OE-Core rev: d826022100da5f84e668207b1631fd061accd50b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some plugins such as gstreamer1.0-plugins-base refuse to build if
check is not enabled (which was the case when ptests were disabled).
(From OE-Core rev: ccca0304cf5ee36fc5f79b12ff0578f2ad22c4ed)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gst-plugins-package.inc gstreamer1.0-plugins.inc got replaced by
gstreamer1.0-plugins-packaging.inc and gstreamer1.0-plugins-common.inc,
respectively.
(From OE-Core rev: 238080ed896ea817a23aab2f25c246832ab9c7b3)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not belong in files/, since that subdirectory is where patches
that aren't recipe specific are located. This patch however is gst-validate
specific.
(From OE-Core rev: 70a6eda4ddc071cfb3ad26817a609d054ea8a222)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
fix for GIR support in the meson.build file.
(From OE-Core rev: 63217812467f4d225c80c145edbbceca1dc8efc0)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 specific bits from recipe.
* gettext, gtk-doc, and valgrind support is no longer present in gst-omx,
and arguably never really was (because they were present in the "common"
git submodule that is no longer being used in meson base builds).
(From OE-Core rev: cc56078e2bb793829610225a3f9d66a4454b6880)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 related patch
0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch.
(From OE-Core rev: 5dc07f58832483ae44e8bfb6c3aa1787d607b8f3)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson based builds exclusively rely on external FFmpeg builds. The internal
copy was added at a time when stable FFmpeg releases did not exist. They
do nowadays, so the internal copy is not needed anymore. As a result, large
portions of the recipe are unnecessary, since they set up the internal
copy. Same goes for the patches and the zlib/bzip2/xz dependendencies.
(From OE-Core rev: ab9316367d6c22f7f2d45db41bb7c8ef28e58168)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 related patch
0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: 6e25fcfe56248bef9881c0a81236ccd7c6331681)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 related patch
0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* configure-allow-to-disable-libssh2.patch got replaced by the
-Dcurl-ssh2 option.
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
fix for GIR support in the meson.build file.
* New "closedcaption" packageconfigs added.
* Removed "flite" packageconfig since flite-alsa was removed from
meta-openembedded due it being old and abandoned.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: fec739c764aed866b073f240086ca193dfe2f495)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 related patch
0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore
it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: 10a824383fee1060f6335ceffedf48e165b6d5a2)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* OpenGL packageconfigs now work differently. There are separate ones for
OpenGL API/platform/window system selection. The meson.build script
expects the selected ones as comma separated lists. For example, like
"-Dgl_api=opengl,gles2". The variables OPENGL_APIS / OPENGL_PLATFORMS /
OPENGL_WINSYS are whitespace-separated lists (which is the OE norm) of
the respective packageconfigs. .bbappend files can then extend these
lists with additional possible configs.
"Possible" means that the target can support those packageconfigs. This
does not immediately add them to the PACKAGECONFIG variable - this still
has to be done manually. The get_opengl_cmdline_list() goes through these
lists, and for each entry, checks if it is contained in the PACKAGECONFIG
variable. If so, they get added to the comma separated lists that are
passed to meson.
For example, a Raspberry Pi layer could add "dispmanx" to OPENGL_WINSYS.
* The "ivorbis" packageconfig got renamed to "tremor", since that is the
name of the OE recipe, and now also the name of the meson option.
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch and
0002-meson-Add-variables-for-gir-files.patch are backported fixes for
GIR support in the meson.build files.
* make-gio_unix_2_0-dependency-configurable.patch removed because it is
no longer useful to have.
* link-with-libvchostif.patch removed because the flags it changed are
no longer present in the meson.build scripts. If the related issue
reappears, a similar patch can be applied again.
* 0003-riff-add-missing-include-directories-when-calling-in.patch removed
since the entire gst riff library has been excluded from GObject
introspection due to naming convention issues.
* Removed a number of autotool/M4 related patches and recipe lines.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore
it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: 20614408dc4e0593f2cce2e342d5b8a15f182c14)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Moved 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
from files/ to gstreamer1.0/ since it is gstreamer1.0 recipe specific.
* Removed M4 specific patches:
- 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
- gtk-doc-tweaks.patch
- add-a-target-to-compile-tests.patch
* Added patches:
- 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
Backport for enabling GIR support in meson based cross compilation
- 0002-meson-Add-valgrind-feature.patch
Make valgrind support configurable to be able to control it through
a "valgrind" packageconfig
- 0003-meson-Add-option-for-installed-tests.patch
Add support for installable tests and for generating .test and shell
scripts which can be used with the gnome-desktop-testing suite runner
* PTest support:
By default, GStreamer does not allow for installing tests, and requires
meson to run its unit tests. The 0003 patch fixes this by installing
the binaries themselves and by generating accompanying .test and shell
scripts. The scripts set up the required environment files and then
call the test binaries. The .test file list the shell scripts as
Exec= command line.
(From OE-Core rev: 0db7ba34ca41b107042306d13a6f0162885c123b)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest
file and is designed to use the gnome-desktop-testing suite runner
(which is why the .inc files inherits from ptest-gnome)
(From OE-Core rev: 075aa7a617d38d6a698cee97dcb7550e72741eb5)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should give performance improvements to functions using this list of
tasks (sets are used for most of the other code for this reason, not sure
why this wasn't a set in the first place).
(Bitbake rev: f5daef68703481a3c243dfecc7de404e6ebfdbb6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a new progress bar (using BBProgress), a colon was
appended to the supplied message. However, when updating the message,
no colon was appended.
Change this so that the colon is instead part of the widgets that make
up the progress bar so that it does not matter when and how the
message is updated, it always displays the same.
(Bitbake rev: 08f35c04f6e1ce4c4ca5c2bef4cd8a192e12e682)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of the hash equivalence server, the progress bar
for "Checking sstate mirror object availability" is shown repeatedly
while the tasks are being executed. If the footer is not hidden then,
it will be moved up one line every time, creating a messy interface.
(Bitbake rev: 56b5ec4c2b3e658e73ca6c3a12feeb96df0977fb)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a comparision branch is set we see warnings. If two branches are used,
look for buildstats information from both to avoid this kind of warning:
INFO: Parsing buildstats from 'refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86'
WARNING: Buildstats not found for perf-centos7.yoctoproject.org/master/qemux86/56808-g08220028e52992dcba667fc97bf3afe8be1949fb/0
WARNING: Buildstats not found for perf-centos7.yoctoproject.org/master/qemux86/56808-g08220028e52992dcba667fc97bf3afe8be1949fb/1
INFO: Buildstats were missing for some test runs, please run 'git fetch origin refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86:refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86' and try again
(the warning is due to stats being looked for in both branches, choose
the other branch and different warnings would be shown)
(From OE-Core rev: af58c18fcd0451540dd77ee862956b2b9dee17c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depending on the kernel and coreutils version, mv operations test for existence
of files and can potentially race. It also leads to the file always changing which
leads to potential problems if using and NFS share and there are other readers.
Using ln instead means we don't overwrite the file if it already exists meaning
other readers aren't disrupted and should work more reliably on NFS which is used
for sstate on the autobuilder.
Since we're not overwriting files, touch the file to show activity as would have
been done it it were reused from sstate.
(From OE-Core rev: d8e9a22a4e23616ad01627c1e472296b1e26f13c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 692b2046 (package: Fix race between do_package and
do_packagedata), the path used for do_packagedata[sstate-inputdirs]
was changed from "${PKGDESTWORK}" to "${WORKDIR}/pkgdata-pdata-input".
This commit adapts the path used for pkgdatadir in
toaster_package_dumpdata() accordingly to avoid setscene errors like:
ERROR: libgcc-9.2.0-r0 do_packagedata_setscene: 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:toaster_package_dumpdata(d)
0003:
File: 'meta/classes/toaster.bbclass', lineno: 130, function:
toaster_package_dumpdata
0126: lpkgdata = {}
0127: datadir = os.path.join(pkgdatadir, 'runtime')
0128:
0129: # scan and send data for each generated package
*** 0130: for datafile in os.listdir(datadir):
0131: if not datafile.endswith('.packaged'):
0132: lpkgdata = _toaster_load_pkgdatafile(datadir,
0133: # Fire an event containing the pkg data
0134: bb.event.fire(bb.event.MetadataEvent(
Exception: FileNotFoundError: [Errno 2] No such file or directory:
'tmp/work/mips32r2el-nf-poky-linux/libgcc/9.2.0-r0/pkgdata/runtime'
(From OE-Core rev: 5a0f6f631b86f7107aa72453b6d23f32ba39f713)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The expansion by this function, recently added by the meson site handling code
was causing hardcoded paths to become embedded in the tash hashes. Avoid this
(and hence avoid eSDK failures which exposed this).
(From OE-Core rev: 83899aad423cd36cea7ab2ea210feae5b3359823)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe needs to generate the latest hashes. With unihash we may not
rebuild as previous dependencies may be marked as equivalent.
eSDK which uses this is nostamp already, mark this task as nostamp also
for the same reason.
(From OE-Core rev: e8cfc8525c5d903ee876eafd56521f4a7325a6f5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build systems have a common problem that some tests can only be done by
executing a piece of test code (compared to just compiling or linking test
code). In a cross-compilation the execution of this code isn't possible and the
Meson solution to this is to allow 'cross properties' to be specified in the
cross files.
GLib has a number of these, for example determining the direction the stack
grows, whether /proc/self/cmdline exists, or the behaviour of snprintf().
Previously we'd passed values for these to the Glib build for target builds, but
this misses out nativesdk builds (which are also cross-compiled) and the fact
that some of these values are specific to the platform, some are specific to the
host OS, and some are specific to the libc implementation.
This problem has already been solved for autotools with the siteinfo class,
which turns the target platform/OS/libc variables into filenames (such as common
common-linux common-glibc). We can look for these in FILESDIR and use them as
cross files.
Assuming that there are no problems with this appoach it can be moved into
meson.bbclass so that all Meson recipes can use it for their cross files.
(From OE-Core rev: 5acd9cbc9d5c6355010775250fb25f043441c5cd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When pam is not part of distro, user specific XDG_* environment
variables are not available since PAMName=login is in-effective and as a
result weston can not start because it direly needs XDG_RUNTIME_DIR
defined, therefore launching weston directly in systemd service will not
work, therefore call the helper script weston-start, which is also used
with sysvinit
extend enabling fbdev backend fallback to all qemu machines
Reported-by: Marek Vasut <marex@denx.de>
(From OE-Core rev: ae66cf5e03f04361aad2bd8784fb7d42e0f0bb08)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This coreutils (gnulib) test tests for various bugs that only
exist in ancient versions.
It defaults to assuming buggy behaviour with its own implementation
when cross-compiling.
musl and recent glibc (2.29) are not affected.
(From OE-Core rev: 65d38cc1ce5a106c4c2e5068b8440eb6e5a2b33e)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoconf has a test for strtod(), which assumes non-working
when cross-compiling, but it does work in both musl and
recent glibc.
coreutils (gnulib) does some additional tests on top of that,
but assumes working glibc when >= 2.8 when cross compiling.
It doesn't know about musl where the additional tests also
work, though.
(From OE-Core rev: c8429f707d9ac785f295492470ec8b9ff56c043b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per coreutils' (gnulib's) autotools test, nanosleep()
misbehaves on glibc (2.29), and works fine on musl.
During cross-compile, recent coreutils assume brokenness
when compiling for linux, which pessimises musl.
Set the correct result for musl, and for coherency reasons,
also specify the result for glibc.
(From OE-Core rev: 4522648758dc59f5ece736a0c1c0e95dcc7dafd1)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This coreutils / gnulib autoconf test is for a broken glibc
implementation of utimes from 2003-07-12 to 2003-09-17.
(From OE-Core rev: a60ca6048cc3a4fef862b128a842c70ac0cd2253)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
to set the file to the current time
(From OE-Core rev: 530e01e79e9674d0049b183dc23491eb886b066b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recent coreutils (gnulib) assume yes when cross-compiling
for gnu (glibc), but don't know about musl.
For coherence, just set the result to yes for both.
Note that the old coreutils (from meta-gplv2) doesn't
assume anything and instead that recipe hard-codes to yes.
So behaviour with yocto when using meta-gplv2 is actually
better than when using the latest version (when using musl).
This patch rectifies this shortcoming.
(From OE-Core rev: 692fe85264e599eb659456bd2eebf5f12a1cd30f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This coreutils (gnulib) test checks for an abort() that existed
in glibc before 2.4.90-10 (in 2006) in certain conditions.
Neither libraries exhibit this problem today.
(From OE-Core rev: 506c3b5adaa2fdffa051d83fb99efc00e432156b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In glibc, getcwd() handles long file names properly, on
musl, getcwd() only works up to PATH_MAX directory depths.
Configuring the autotools (gnulib) test result here allows
coreutils to compile more optimised code for both platforms,
rather than being pessimistic and re-implementing everything
itself.
The difference in behaviour is because both do the kernel
getcwd syscall (which only supports up to PATH_MAX), but
glibc implements fallbacks for longer paths, while musl
doesn't.
(From OE-Core rev: 525e33cf99983ee4bc3cf1822364123551aa7c83)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I.e. allocate memory for the pointer returned when the first
argument is NULL.
(From OE-Core rev: fe148da36af2dc086e05e2ebc1c088f1b5485de2)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I.e. shared text that is being executed.
(From OE-Core rev: 1370742d20aaa1a17f3e242ea9bb54df944b6416)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
calloc (N, S) returns non-NULL when N*S is zero,
and returns NULL when N*S overflows.
(From OE-Core rev: ba2bc4b6529013a303dd67abe944ceb619e7466c)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
their mkstemp() passes all tests from the gnulib m4 macro
gl_FUNC_MKSTEMP.
(From OE-Core rev: 2b0905d25fa295fc868bf6df1da89283b9dc1f45)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I.e. a memcmp() that is 8bit clean (like glibc).
(From OE-Core rev: d938ca1b8bc715047d771907c6ea4a1c9aa6594f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I.e. a chown() that works when given -1 as uid / gid
(From OE-Core rev: 226b8b2b1b565ef019b442ad3bf1f5d86704e1d2)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add stdin/stdout/stderr symlinks in case when not using hotplug
Disable ctrl+alt+del, not used much
Mount swap if defined
(From OE-Core rev: b1799bd40dfa3b244ddf2b7fba1fb4dc1f9a7394)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Occasionally the reproducibility selftest fails because perl-pod differs,
specifically that the perltoc.pod file was sometimes missing modules.
Debugging revealed that there are missing dependencies so there is a build race:
building perltoc.pod from an clean build tree results in no modules being listed
at all.
A bug has been filed at https://github.com/arsv/perl-cross/issues/86 to solve
this properly, but for now we can just delete perltoc.pod after make has
finished and re-generate it.
[ YOCTO #13726 ]
(From OE-Core rev: 7e0f6c9ea4f824f29dc30c6631fd8039ebe83a0b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu supports attaching the virtual machine to an existing network
bridge interface via the qemu-bridge-helper program (as long as the
system is correctly configured to give the user permissions). Add
support for runqemu to do this also via the "bridge=<INTERFACE>"
argument. Note that for this to work correctly, the host
qemu-bridge-helper must be used, not the one that might have been built
by qemu-native. In order for qemu to correctly find this program, a
qemu-oe-bridge-helper program has been added to qemu-helper-native, and
runqemu will use this helper as the bridge helper. The helper will look
for the host qemu-bridge-helper first by looking in the
QEMU_BRIDGE_HELPER environment variable, then by search common paths
where the helper is installed.
(From OE-Core rev: 9e7b38c61c6b84b7f137c733ac5da9414025693d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix crossscripts to report the correct "serverbin" value.
While the packaged "cups-config --serverbin" reported
"/usr/libexec/cups" the crossscripts version reported
"/usr/lib/cups", causing packaging issues when building for example
cups-filters.
Also fix FILES_${PN} to use ${libexecdir}; previously it was working
just because "${libexecdir}/*" was part of the default values in
bitbake.conf.
(From OE-Core rev: 2ce6ef29b9bb4f16ed9d78e166d455b7a6d968bf)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This usually helps compiler to not use built-in optimizations
for string functions and mem* functions unnecessarily, since OE's
compiler is hosted for linux cross compile, this also means we instruct
it rightly for building a baremetal application
Refresh the patches to apply without fuzz
Fixes linking errors e.g.
platform/qemu/virt/lib/libplatsbi.a(sbi_string.o): in function `sbi_memset':
| /mnt/b/yoe/build/tmp/work/riscv64-yoe-linux/opensbi/0.5-r0/git/lib/sbi/sbi_string.c:102: undefined reference to `memset'
| collect2: error: ld returned 1 exit status
(From OE-Core rev: f599b6c77f3585c8917f4d685689da4cc8a8bf04)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I moved the ALLOW_EMPTY line next to the line that sets FILES to "".
That makes it easier to see that the package is not only allowed to be
empty, but forced to be empty.
(From OE-Core rev: c6bb27bee2f6f3f363893e59de0373d1532519e8)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The topology configuration files were moved from the alsa-lib repository
to a new alsa-topology-conf repository. The move was accompanied by
a license change from LGPL2.1 to BSD-3-Clause.
(From OE-Core rev: 4dd61230a6d2cc8183a12edc9834cb506b488e3a)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The UCM configuration files were moved from the alsa-lib repository to a
new alsa-ucm-conf repository. The move was accompanied by a license
change from LGPL2.1 to BSD-3-Clause.
(From OE-Core rev: 769354b372a4a60dfec921789d875340b0244406)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelogs:
https://alsa-project.org/wiki/Changes_v1.1.9_v1.2.1https://alsa-project.org/wiki/Changes_v1.2.1_v1.2.1.1https://alsa-project.org/wiki/Changes_v1.2.1.1_v1.2.1.2
This upgrade brings support for the new "UCM2" configuration format.
Another big change is that the UCM and topology configuration files were
moved to separate repositories, so those are removed from alsa-lib and
will need to be packaged separately.
The topology API was moved from libasound to a separate libatopology
library. This seems like a recipe for regressions for applications that
used to use libasound for the topology stuff, but I don't think there
are many applications in existence that use the topology API. I hope the
upstream knows what they are doing.
Patches added:
0001-configure.ac-remove-an-unnecessary-libtool-fix.patch
This fixes a failure during configure.
0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
Backports. I don't know if these are regression fixes, but since the UCM
code was heavily worked on in this upgrade, it seems likely that these
patches fix regressions.
0003-namehint-correct-the-args-check.patch
0004-namehint-improve-the-previous-patch-check-the-return.patch
Backports. A change in alsa-plugins caused a regression in the pulse
plugin, but that was actually due to a bug in alsa-lib, which is fixed
by these patches.
0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
Backport. Fixes a regression with some Intel hardware.
0001-Fix-alsa-sound-.h-for-external-programs.patch
0001-uapi-Move-typedefs-from-uapi-to-sound.patch
Backports. These fix build failures in alsa-tools.
I removed alsa-doc from PACKAGES, because no files were assigned to it.
(From OE-Core rev: 966890009b4dd81abb72534192c688dbd1195d00)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the sanity_info file has moved from the conf directory to the
cache directory, there is no longer any need to clean it away
explicitly in clean_esdk_builddir() since the whole cache directory is
already cleaned away anyway.
(From OE-Core rev: 40c30990e1be72130819c040fe471e2bdc0c6e7d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since this file is written during recipe parsing, having it in the
${BUILDDIR}/conf directory, which is covered by an inotify watcher,
will trigger a re-parse the next time bitbake is run and the resident
bitbake server is enabled. This causes the sanity_info file to be
updated again, which triggers a new parse the next time bitbake is run
ad infinitum. Moving it to ${BUILDDIR}/cache should avoid this.
(From OE-Core rev: f98103b548aa7dba6b1be6c8e02ef41858a8e85c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch has been applied in several Linux distributions
(From OE-Core rev: 8e662fced80c98c5495d49c905cc0008cb812589)
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
webkitgtk does now support the new version.
(From OE-Core rev: aca863fc4259863d6841b25649c6718c64ccfe6b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We define a new method of populating a source mirror using the archiver
bbclass instead of simply copying the contents of the downloads
directory. This allows the archiver features such as copyleft license
filtering and recipe type filtering to be used when preparing a source
mirror.
This new archiver mode is selected by setting `ARCHIVE_MODE[src]` to
'mirror'.
The source mirror mode can either be 'split' (default) or 'combined',
controlled by `ARCHIVER_MODE[mirror]`. Additionally, sources can be
excluded as needed by setting `ARCHIVER_MIRROR_EXCLUDE` to a list of
URI prefixes. These options are described in more detail in the new
entries in the header of archiver.bbclass.
New oeqa selftest cases are added to cover the mirror archiver mode.
(From OE-Core rev: 2c8b31ae0ab95a8b100e8bade23f51574e273c9a)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes connection denials with these syscalls being there on upcoming glibc 2.31 release
(From OE-Core rev: 557d464de217cdf959aa275d20e7b155e4130ec7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup the following entries because these recipes have been removed
from oe-core:
cve-check-tool
gcc-cross-initial
gcc-crosssdk-initial
gcc-source-8.3.0
gccmakedep
gnome-themes-standard
gtk+
gtk-icon-utils-native
libnewt-python
mkfontdir
python3-file-utils
(From OE-Core rev: 993d6033fc11f698f328378d465889ff5d781aa0)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option adds the contents of the given path to a partition built
with the rootfs source plugin. The path is relative to the directory in
which wic is running not the rootfs itself so use of an absolute path
is recommended. This option is most useful when multiple copies of the
rootfs are added to an image and it is required to add extra content to
only one of these copies. This option only has an effect with the
rootfs source plugin.
(From OE-Core rev: d4cd27a9837426e809190548a83c6c7c76505114)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When debugging issues or trying to add new features in wic it's useful
to examine the intermediate files created by the tool such as images of
the individual partitions. Previously these files were created in a
subdirectory of IMGDEPLOYDIR and, deleted by wic itself and then the
working subdirectory completely removed at the end of IMAGE_CMD_wic.
Instead we should work in a staging directory named build-wic and leave
behind intermediate files for analysis if necessary.
This has the added benefit of allowing individual partition images to
be preserved by adding commands to IMAGE_CMD_wic_append() in an image
recipe if needed. This is useful where an update system requires exact
sized and pre-formatted partition images for deployment.
(From OE-Core rev: 07b6b284204e912b5d08bdd0ca51b766ab7dd9c1)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a recipe is selected, automatically select the package that
matches the recipe name (if it exists), otherwise select the first
package.
(From OE-Core rev: 856ca73909b5060c3939f6c55c9c7f38ac699abb)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all widgets were hidden when no package was selected.
(From OE-Core rev: 6e41c16ed41b63dc20e4d0076e7c3c7f6cb7ee27)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly remove a broken detection of skipped tests
(which was marking tests that actually passed), and install
additional artefacts needed for testing.
(From OE-Core rev: dbbce0918617c21d0e43e9727d38372c22dff3dc)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modules actually make use of these files, so they belong in perl-core
other than perl-doc (the immediate failure was ptests for
libmodule-build-perl failing).
(From OE-Core rev: 829e8c49833e4cb8de5db869769eb492c827e8c9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, some modules such as libmodule-build-perl fail to work
properly.
(From OE-Core rev: e4072d53a7fb4fbbdacce9a20968e71ef6cff307)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some assumptions about where data files are needs to be adjusted.
(From OE-Core rev: ae39de0119ac1d21512fe64f7f7969790e396819)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They were failing due to incorrect locale being used.
(From OE-Core rev: c4fdb3a8629c0c230e430a60df850f9c5ed4a423)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In previous testing some tests were skipped due to missing autotools;
when autotools are present on target, additional failures are exposed.
(From OE-Core rev: 9863bb29f481023081b30a55d3304afe1d7b6e8b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This significantly adds to the ptest execution time and isn't
needed, as all tests pass anyway.
(From OE-Core rev: a2932a1a386b89d7bae6b2a197279a2dd9e6d76c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove mdadm-ptest as it is already included in the slow list.
(From OE-Core rev: 18b7e4c05a54ea0dde21b60b8bef8dcb9ccf4e7e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if a ptest does not produce PASS or FAIL, but simply
errors out, this is not caught or reported; I think some ptests
may have silently regressed due to this.
(From OE-Core rev: 4b78b6571a3653d7d8e9dab9512bad5d39483988)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They were not excluded when multilib variants were being built.
(From OE-Core rev: 11d053764338465adbec2d0c31bad0387e36405d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, multilib packages such as lib64-perl aren't properly replaced:
Error:
Problem: package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl provided by lib64-perl-5.30.1-r0.x86_64
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-strict provided by lib64-perl-5.30.1-r0.x86_64
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-warnings provided by lib64-perl-5.30.1-r0.x86_64
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-vars provided by lib64-perl-5.30.1-r0.x86_64
(From OE-Core rev: 1f807b2c51df8a7e66d7aad6e531afef42942e6e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, the package utilizing this architecure does not get
properly prioritized by rpm/dnf. This isn't seen single-lib builds
(as the architecture ends up upfront anyway), but is triggered in
multulib where the architecture may end up in the middle of the list
due to multilib expansion/trimming duplicates.
(From OE-Core rev: a807d54655d7377ef8ac49abd5ab428303831663)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the problem is now fixed with a backported patch to
gettext itself, the patch is no longer needed.
(From OE-Core rev: f1dc63a9129c8f5deafa188065933cf3b220a673)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch over to meson build system, add a patch
to avoid target python3 dependency.
(From OE-Core rev: b8fa017de9b9e5f1057a14b9b13ac0401b94969e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to git, as using debian snapshots makes automated upgrades impossible.
(From OE-Core rev: 0e6b5151480cd03eb96deecc465f16958c41afa2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there are many watched files, keeping track of them using lists
is suboptimal. Using sets improves the performance considerably.
(Bitbake rev: 1e96df260e47d160dbd36bfc92c31ef06266f662)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libubootenv is a replacement for u-boot-fw-utils. It is
hardware-independent and provides fw_printenv and fw_setenv tools that
are full compatible with the ones provided by U-Boot. A library is
provided to access the environment from an own application.
License is LGPL-2.1 and this allow to link the library to proprietary
code. The user of the tools should install the configuration file
"fw_env.config", as he is already used to with u-boot-fw-utils. The
configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on
U-Boot's ML at:
http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none
(From OE-Core rev: 325a8dec3c24723e02c8c7a0b416321adc7a5717)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implement new QB_DRIVE_TYPE="/dev/vdb" which falls back
to virtio block device emulated by qemu.
That is needed to support following qemu command line:
-drive id=disk0,file=%s,if=none,format=%s \
-device virtio-blk-device,drive=disk0'
Real use case is arm64 emulation with qemu with atf+optee+uboot,
so that uboot driver sees this disk and able to load from it.
(From OE-Core rev: 4d72cd395b2dd40dde1f3809e3ab255938e6a7a1)
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GLib 2.60 onwards checks for /proc/self/cmdline instead of assuming that
it exists on Linux (because Cygwin also has it). As this is a runtime
test it doesn't execute in cross builds so defaults to false, but under
Linux this should be true.
Restore the previous behaviour and silence the warning by setting the
cross property appropriately.
(From OE-Core rev: c308116fb7787794512c3153503ddf9da71803a8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Try and avoid errors like:
Exception: bb.process.ExecutionError: Execution of 'build/tmp/work/x86_64-linux/libxslt-native/1.1.34-r0/temp/run.sstate_unpack_package.12343' failed with exit code 1:
touch: setting times of 'build/sstate_devtool/80/4d/sstate:libxslt-native::1.1.34:r0::3:804d33f3f8d032b01ae92207669dd0a8f95a84917d563d122a77df19e786d73c_populate_lic.tgz.siginfo': Stale file handle
WARNING: exit code 1 from a shell command.
by not overwriting existing files.
(From OE-Core rev: b2a389ad5111d587db3f95c6ce13fc2eafc22f27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can have sstate directories which are mixtures of old and new layout entries.
Only use the new format ones since these are the only ones bitbake itself will
look at.
(From OE-Core rev: 610b314ddc757e6ac8ba4d47921aee1f2f35df97)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many filesystems can't cope with filenames longer that 255 characters.
Add code to detect this and truncate non-essential elements of the filename
to stay within the limit.
[YOCTO #13268]
(From OE-Core rev: 90cc3d1ed1a12294a2d3ac97c1ba528ab315605d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the task handling and extension handling into one common filename
construction function.
(From OE-Core rev: c0c158d38583648a801e959d91371f7b43a98da5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the task handling code into the SSTATE_PKGNAME variable using a temporary variable.
This makes the code more understandable as as well as allowing the length of the
final sstate filename to be more easily accesses for following patches.
(From OE-Core rev: be603dad6817948cfa09621d2311046631ec4ab2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're having speed issues on the autobuilder due to the numbers of files in sstate
directories. We previously split these by the first two characters of the hash.
This change extends this to split by the next two characters as well, creating
more layers of directories.
This should signifiantly speed up eSDK builds on the autobuilder as the current
sstate layout simply isn't scaling there but addresses a general complaint.
gen-lockedsig-cache needed to be updated for the new split level sstate.
Also update tests for new layout.
(From OE-Core rev: d05bde16bdad761ed8f4c0a48de60c649aa33e85)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This stack trace is horrible and obscurs the real failure message, avoid that.
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:copy_buildsystem(d)
0003:
File: 'build/meta/classes/populate_sdk_ext.bbclass', lineno: 446, function: copy_buildsystem
0442: sdk_ext_type = d.getVar('SDK_EXT_TYPE')
0443: if (sdk_ext_type != 'minimal' or sdk_include_toolchain or derivative) and not sdk_include_nativesdk:
0444: # Create the filtered task list used to generate the sstate cache shipped with the SDK
0445: tasklistfn = d.getVar('WORKDIR') + '/tasklist.txt'
*** 0446: create_filtered_tasklist(d, baseoutpath, tasklistfn, conf_initpath)
0447: else:
0448: tasklistfn = None
0449:
0450: if os.path.exists(builddir + '/cache/bb_unihashes.dat'):
File: 'build/meta/classes/populate_sdk_ext.bbclass', lineno: 182, function: create_filtered_tasklist
0178: # Clean out residue of running bitbake, which check_sstate_task_list()
0179: # will effectively do
0180: clean_esdk_builddir(d, sdkbasepath)
0181: finally:
*** 0182: os.replace(sdkbasepath + '/conf/local.conf.bak', sdkbasepath + '/conf/local.conf')
0183:
0184:python copy_buildsystem () {
0185: import re
0186: import shutil
Exception: FileNotFoundError: [Errno 2] No such file or directory: 'tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk-ext/image//opt/poky/3.0/conf/local.conf.bak' -> 'tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk-ext/image//opt/poky/3.0/conf/local.conf'
(From OE-Core rev: 5115d2616b0847d521ccbecf1fbbf1f695a04fea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Include-needed-headers-explicitly.patch and CVE-2019-19725.patch
Removed since they are included in 12.2.1
(From OE-Core rev: 1e6f6d0937f136afb629c9c02036b9ba797f96a7)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl does not use cmake/autotools etc. but plane old makefile basded
build system, which means it does not get B defined to be outside S
therefore define B explicitly to be outside S
(From OE-Core rev: 025a7a4007d4f6f64c861dc498dab68eaa650c2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not exploitable when glibc has CVE-2016-10739 fixed,
which is fixed in the upstream version since warrior.
(From OE-Core rev: 0da6e0a232019fe7eccfbdf33a13c1fe0a35cddd)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since get_unihash uses taskhash as a key internally, changing it means
different bebahour when locked sigs are active verses not active. Under
corner cases this leads to a signature mismatch.
Avoid this by by adding a wrapper for the place its externally exposed
and then not changing the internals.
(From OE-Core rev: 23b7484d326cf7fac013384598d7745a042eaa75)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_taskhash will call get_unihash internally in the parent class. We
need to disable our filter of it whilst this runs else incorrect hashes
can be calculated.
This is believed to be causing the locked signatures test to fail under
some circumstances (depending on whether earlier hashes are being
remapped).
[YOCTO #13605]
(From OE-Core rev: 523c093a882f6831ba75b5c4513837554d7e2414)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These messages spam the logs for no good reason, they were useful for debugging
a particular problem long ago but are distracting noise now. Disable them.
(Bitbake rev: 1a9247c468cf09da60e5d396ccb81e950841c99e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hack the hashserv to allow extra data to be injected into the hashserv
method. This allows OE-Core to handle cases where there are multiple
sstate objects for the same taskhash, e.g. native/cross objects based
upon BUILD_ARCH or the host distro (when uninative isn't used).
This has been tested and proven to be very effective. We will likely
rework the code to improve how this is handled but for now this
improves automated builds until we can get to that refactoring and
more invasive changes.
(Bitbake rev: 0a09b0fa03d1afc08037964dc63a18ef7cff9c78)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A corner case was identified where tasks with valid stamps from previous
builds need to be accounted for in the new sanity test in the migration
code. Add a variable to track such completed tasks to ensure the sanity
test works correctly.
(Bitbake rev: d517b1ef13ca7ab2fb4d761d3bd3b9fb7c591514)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen a number of mystery failures where task B would run despite
task A, its dependency not having run. An example would be do_compile
when do_unpack didn't run.
This has been tracked down to this code block. In theory it shouldn't
trigger however it can and has due to bugs elsewhere. When it does, it
causes significant weird failures and possible build corruption.
Change the code to abort the build. This avoids any chance of corruption
and should ensure the issues get reported, putting an end to the weird
build failures.
There may be some cases where this triggers and it shouldn't, we'll work
through those as they arise and are identified.
(Bitbake rev: 7a92b7f58ab187eddfe550bd6fb687240c7b11bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Regardless of whether we remapped the hash on the server or not, we need
to have bitbake work as if we did as we need to match how the stamp files
look.
This change resolves build failures where tasks were rerunning when they
shouldn't.
(Bitbake rev: 40928f6991436cf687821015324483b205abfcb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can have one taskhash which represents multiple native/cross sstate objects
since they're stored by BUILD_ARCH or possibly host distro (or host gcc version).
We need to put these into separate namespaces on hashserv since their outhashes
will never match and we need deterministic lookups for the different namespaces.
Use this extramethod option to handle this. This fixes several problematic
failures on the autobuilder.
(From OE-Core rev: 2a76082363d189880613765ad339718e3614049d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to account for review feedback on list.
(From OE-Core rev: ec788594f3f6a47687c6eb321437f2d2b58b1518)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-configure.ac-Do-not-fatalize-Wmissing-prototypes.patch is no longer
needed
disabling format warnings is no longer needed as well therefore remove
it from recipe and address the warnings (if any in patches)
Ensure that it can build with clang as well on the way via the new clang-warnings.patch
patch
(From OE-Core rev: c22726425a2554a65b17a9daac9350940b2ddd6b)
Signed-off-by: Khem Raj <raj.khem@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 if iotctl() fail, try to use
failback via os.stat() to get block size.
(From OE-Core rev: e219f5175177a640dd62833082ea19adc1c13d42)
Signed-off-by: Kalle lampila <kalle.lampila@lempea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: URLs changed from http to https
(From OE-Core rev: c9f8b48ddae0c951fe4df99fda062526160c0a9f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than update a tarball, I took m4 files directly from an install of 0.20.1.
The patch is dropped as guile has long been removed from oe-core.
(From OE-Core rev: be1fe0120f99e88580cde8fe9004d8135458cac4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use PCRE, this enables using posix extended Regexps on cmdline
(From OE-Core rev: 7a0fd80d8a5f2aedcccb5a52acca46dea3feb3d8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For some aging distros, such as CentOS 7, the native version
of gcc is simply too ancient and is a constant source of
headaches for moving forward.
* Add an extended version of buildtools-tarball which adds all
of build-essential, so that the host is now modernized and
capable of compiling the latest versions of components.
Fixes [YOCTO #13714]
(From OE-Core rev: f0377af2325613b63716b0bb4db1ab253d79f388)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As pointed out by Masahiro Yamada <masahiroy@kernel.org>, ('' or 'custom')
equates to "custom" and this code seems unecesaarily complicated and unused.
It was likely intended to supress the value if XXX_OS was set to '' but the
code doesn't actually do that. Simplify it as we shouldn't have this indirection
if we don't need it, its horrible.
(From OE-Core rev: 66e4c638b942c9832da9e1d578aa03eeafae28db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Users may want to run qemu against a specific multiconfig instead of the
base configuration, so give them the ability to specify which config
should be used with the MULTICONFIG environment variable.
(From OE-Core rev: fda5d9b64fa310173ad949540c54fd693c4f7d3a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_image_wic now depends on the do_image_complete tasks from all it's
dependencies. This allows images recipes specified in WKS_FILE_DEPENDS
(for example, if a machine wants to put a initrd into a boot partition)
to correctly trigger rebuilds for the wic image.
Note that recrdeptask can't be used as was done for do_deploy because
this would cause circular task dependency errors. This shouldn't be
necessary anyway if the dependencies specified in WKS_FILE_DEPENDS are
complete.
(From OE-Core rev: 4b93115a0c6f8686e7a21b992751626844c301d5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit d31ff84a5f47 ("systemd: fix PN-container package splitting"),
d0b2cedfb0 in poky, created a new package for the remote journal,
but introduced a typo during declaration of the systemd unit part
of that package.
Fix it.
(From OE-Core rev: bb6a99f933795a9218051f1cd47c5551352d861c)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade mesa to 19.3 and refresh the patches.
As MESA_EGL_NO_X11_HEADERS was renamed to EGL_NO_X11 in [1] we are going
to change the do_install and add a patch to libepoxy to use the new
define.
1: 6202a13b71
(From OE-Core rev: 7a3d575ba56311c46122dfe9fa88094859fe9713)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new BB_SIGNATURE_LOCAL_DIRS_EXCLUDE allows you to specify a list
of directories to exclude when making taskhash, our specific case
is using SRC_URI that points local VCS directory.
Use bb.fetch.module to set default to: "CVS .bzr .git .hg .osc .p4 .repo .svn"
(Bitbake rev: 923aff060d8aba8456979c35b16d300ba7c13ff9)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that RECIPE_SYSROOT is the same for -native recipes whether
multilib.conf is included or not.
Without this change task signatures for -native recipes change when
switching between MACHINEs that require multilib.conf and those that
don't.
This fix was one of the ones suggested by Khem Raj in
http://lists.openembedded.org/pipermail/openembedded-core/2019-December/290303.html
Add test_sstate_multilib_or_not_native_samesigs test case to
sstatetests.py to ensure that this stays fixed.
(From OE-Core rev: aa05f1ded71366b86eda7fce24d8b5395e85ada2)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While installing perl-doc and tcl-doc to image, there is a file conflicts
at do_rootfs
...
|file /usr/share/man/man3/Thread.3 conflicts between attempted installs of
perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64
...
Use update-alternatives to fix
(From OE-Core rev: 47df8c0dd8ff86af97e6c6d217fb8d69ebec24e5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For buildtools-extended-tarball, where we are adding all of build-essentials
to the nativesdk, we need additional perl modules for autoconf and automake.
(From OE-Core rev: f0f766160663407ea7683d31bbf5f011accc9ba2)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clang is quite a lot more stricter and ends up finding more cases,
these are code format warnings so its safer to disable them here.
(From OE-Core rev: 735eb7f3e0d14be50b17e85af6e6da7fc2921924)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its better for us to disable these extra warnings, upstream should fix
them correctly in code and we can re-enable it
(From OE-Core rev: ebb315955c1ec0cb524d8678ca5af1648f700406)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in constructing right arch for target tuple name for
Little-endian ppc
(From OE-Core rev: b6ac40f1cbabb20896bf113568f7735a462ed1a6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable is used in lot of cmake based packages to denote libdir in
multilib environments, now a days there is a better way to include
GNUInstallDirs module but thats upto these packages to adopt. Defining
this helps compiling a bunch of recipes in extended layers when using
multilibbed builds.
(From OE-Core rev: 24f630ce36e803c54ad6cff00215abd0e7b77b77)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the naming of the loader on armhf to match what glibc expects:
#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT SYSTEMLIBS_DIR "ld-linux.so.3"
#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT SYSTEMLIBS_DIR "ld-linux-armhf.so.3"
(From OE-Core rev: 7ad531093d620f18c04d487d79e9dad9f5a96232)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, only explicitly specified .scc files or patches are applied
to a BSP as part of the patching phase. This allows the reference BSPs
to be integrated into a kernel tree, and use the same meta data for tree
generation and for runtime building. It also greatly simplies the
processing of kernel meta data.
That being said, if an external (and fully standalone) kmeta repository
is used, it very well may contain both patches and configuration. To
allow the BSP definition to supply patches and config, we introduce a
new kernel meta data definition:
define KMETA_EXTERNAL_BSP t
This can be set in any .scc file that wants to specify both patches
and configuration.
If specifying this per-BSP is not desired, a secondary variable is
used:
KMETA_EXTERNAL_BSPS
When that is set in a bbappend, any located BSP definitions will be used
for both patches and configuration.
(From OE-Core rev: 747ad3ca1e987668c8ed444cfc595d751bc0d0b2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
7943d7e69aa7 Linux 5.2.28
b5db992cfdd3 usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit()
a0b637f7868d usb: gadget: configfs: Fix missing spin_lock_init()
aee8c2147a36 net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size()
a04397ac5986 bonding: fix active-backup transition after link failure
0993efbf3f01 ALSA: usb-audio: Fix incorrect size check for processing/extension units
66375457a696 ALSA: usb-audio: Fix incorrect NULL check in create_yamaha_midi_quirk()
c0920628d63f ALSA: hda/ca0132 - Fix work handling in delayed HP detection
e14b1f4b4011 mwifiex: fix possible heap overflow in mwifiex_process_country_ie()
060505a3c9dc io_uring: use current task creds instead of allocating a new one
8d113ae57534 io_uring: async workers should inherit the user creds
4079323e2113 net/ibmvnic: unlock rtnl_lock in reset so linkwatch_event can run
013e927d5204 arm64: errata: Update stale comment
2c8f51168b64 netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets
911f63fa6335 bonding: fix using uninitialized mode_lock
ab3e4e6f92d4 usbip: Fix free of unallocated memory in vhci tx
516423c1395e cgroup,writeback: don't switch wbs immediately on dead wbs if the memcg is dead
2c17159569ee mm/filemap.c: don't initiate writeback if mapping has no dirty pages
a53a54cbee03 ocfs2: protect extent tree in ocfs2_prepare_inode_for_write()
96e3c3553d84 e1000: fix memory leaks
ef2c5f55f92e igb: Fix constant media auto sense switching when no cable is connected
5853c1ae13c9 net: ethernet: arc: add the missed clk_disable_unprepare
330a0ce1737a NFSv4: Don't allow a cached open with a revoked delegation
ecb481d00e39 arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core
c3cc8b365b07 arm64: Brahma-B53 is SSB and spectre v2 safe
87251ea1e89b arm64: apply ARM64_ERRATUM_845719 workaround for Brahma-B53 core
36c2624f9432 usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
93268e187878 arm64: cpufeature: Enable Qualcomm Falkor errata 1009 for Kryo
1498bf362a53 x86, efi: Never relocate kernel below lowest acceptable address
3cfc26fc6f99 efi: libstub/arm: Account for firmware reserved memory at the base of RAM
fc5ffc1e3fdd hv_netvsc: Fix error handling in netvsc_attach()
92b10afd667e SUNRPC: The RDMA back channel mustn't disappear while requests are outstanding
086a81dbfba3 SUNRPC: The TCP back channel mustn't disappear while requests are outstanding
ffdad349b545 drm/amd/display: Passive DP->HDMI dongle detection fix
35be94b64940 drm/amd/display: do not synchronize "drr" displays
7c39460cb5ac drm/amdgpu: If amdgpu_ib_schedule fails return back the error.
78d726f10338 drm/sched: Set error to s_fence if HW job submission failed.
9830f79967bf mt76: dma: fix buffer unmap with non-linear skbs
720d823bdb4b iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41
63fd1ae15909 net: mscc: ocelot: refuse to overwrite the port's native vlan
9016218584da net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up
28c0b80eaf33 net: hisilicon: Fix "Trying to free already-free IRQ"
1ecc30627dde fjes: Handle workqueue allocation failure
e87e60d8b437 nvme-multipath: fix possible io hang after ctrl reconnect
4872894ab801 sched/topology: Allow sched_asym_cpucapacity to be disabled
1da63fea0a7b sched/topology: Don't try to build empty sched domains
70e90b283406 scsi: qla2xxx: stop timer in shutdown path
1cc270775485 hwmon: (ina3221) Fix read timeout issue
45239aea409d RDMA/hns: Prevent memory leaks of eq->buf_list
53fa37993b30 RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
7ff5b79bbbeb usbip: tools: Fix read_usb_vudc_device() error path handling
a2938e175103 USB: ldusb: use unsigned size format specifiers
680a523e29ac USB: Skip endpoints with 0 maxpacket length
e0d7df991267 perf/x86/uncore: Fix event group support
89cc224ca642 perf/x86/amd/ibs: Handle erratum #420 only on the affected CPU family (10h)
3cef7fe493bc perf/x86/amd/ibs: Fix reading of the IBS OpData register and thus precise RIP validity
b2dce44309c3 usb: dwc3: remove the call trace of USBx_GFLADJ
2a3754959b17 usb: gadget: configfs: fix concurrent issue between composite APIs
b97e16bf764c usb: gadget: composite: Fix possible double free memory bug
f28bdd84158d usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode.
5853c961dc7f usb: fsl: Check memory resource before releasing it
95100a241e6d usb: dwc3: select CONFIG_REGMAP_MMIO
108ae240a478 scsi: sd: define variable dif as unsigned int instead of bool
6525d5046fc8 virt_wifi: fix refcnt leak in module exit routine
d7aaa2cc70d4 macsec: fix refcnt leak in module exit routine
9ca46b3266cd bonding: use dynamic lockdep key instead of subclass
09dd999301fe bonding: fix unexpected IFF_BONDING bit unset
b3ba6e2b6620 ipvs: move old_secure_tcp into struct netns_ipvs
d532f1fd8afb ipvs: don't ignore errors in case refcounting ip_vs module fails
70cbcdb17ff0 net: phy: smsc: LAN8740: add PHY_RST_AFTER_CLK_EN flag
0e4ba0c6840e xsk: Fix registration of Rx-only sockets
ef1fdf7f97d0 netfilter: nf_flow_table: set timeout before insertion into hashes
38521edda858 iwlwifi: pcie: 0x2720 is qu and 0x30DC is not
8560aaae6c0e iwlwifi: pcie: fix all 9460 entries for qnj
bd7630c67813 iwlwifi: pcie: fix PCI ID 0x2720 configs that should be soc
dbd6c9966dd8 bpf: Fix use after free in bpf_get_prog_name
86e351f38ec7 scsi: qla2xxx: Initialized mailbox to prevent driver load failure
efb36f318994 scsi: lpfc: Honor module parameter lpfc_use_adisc
9bff69da3b99 net: openvswitch: free vport unless register_netdevice() succeeds
193fa1a4522a bpf: Fix use after free in subprog's jited symbol removal
1ee4522aa93c RDMA/uverbs: Prevent potential underflow
9c018cb9f15b scsi: ufs-bsg: Wake the device before sending raw upiu commands
682f81e5304b scsi: qla2xxx: fixup incorrect usage of host_byte
dca864479cde selftests/bpf: More compatible nc options in test_tc_edt
7ad63e706f31 net/mlx5e: TX, Fix consumer index of error cqe dump
b3c5d67904a8 net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow
de4ed191ea6a IB/core: Use rdma_read_gid_l2_fields to compare GID L2 fields
b4912439edec RDMA/qedr: Fix reported firmware version
8291185a312b iw_cxgb4: fix ECN check on the passive accept
fc84b384eb40 RDMA/mlx5: Clear old rate limit when closing QP
c76d7b0214ee powerpc/32s: fix allow/prevent_user_access() when crossing segment boundaries.
13fecbf4a027 HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring()
e6d91869518a dmaengine: sprd: Fix the possible memory leak issue
55d41c0f1470 dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config
cb7318f2b0e4 dmaengine: xilinx_dma: Fix 64-bit simple AXIDMA transfer
03a1b968775d bpf: lwtunnel: Fix reroute supplying invalid dst
4903f1d1bf8b dmaengine: sprd: Fix the link-list pointer register configuration issue
556cf9124c0a HID: google: add magnemite/masterball USB ids
09e8a1ec600e usbip: Implement SG support to vhci-hcd and stub driver
065245f072da ALSA: usb-audio: Fix copy&paste error in the validator
51db18fc1b06 ALSA: usb-audio: remove some dead code
eeb8753a5329 ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk()
5159d8aab602 ALSA: usb-audio: Clean up check_input_term()
594d9d1e5e17 ALSA: usb-audio: Remove superfluous bLength checks
44db0074cd7c ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects
443cff51a6bb ALSA: usb-audio: Simplify parse_audio_unit()
bcc4dd818640 ALSA: usb-audio: More validations of descriptor units
af26301992ac configfs: fix a deadlock in configfs_symlink()
58e23dc42be6 can: dev: add missing of_node_put() after calling of_get_child_by_name()
b2b42b51675f can: rx-offload: can_rx_offload_queue_sorted(): fix error handling, avoid skb mem leak
35b90e57a289 can: peak_usb: fix a potential out-of-sync while decoding packets
6cc9a0bb94de can: c_can: c_can_poll(): only read status register after status IRQ
78aa7546e343 can: flexcan: disable completely the ECC mechanism
60eb5bed4403 can: usb_8dev: fix use-after-free on disconnect
573872be4f06 SMB3: Fix persistent handles reconnect
a422197a1eab x86/apic/32: Avoid bogus LDR warnings
46279c9462f3 x86/dumpstack/64: Don't evaluate exception stacks before setup
c6c6ac3c04b2 intel_th: pci: Add Jasper Lake PCH support
911ece5b25e1 intel_th: pci: Add Comet Lake PCH support
3f2a73ab3b0a intel_th: gth: Fix the window switching sequence
ecb83032ecac netfilter: ipset: Fix an error code in ip_set_sockfn_get()
343ebeaf5062 netfilter: nf_tables: Align nft_expr private data to 64-bit
97d84484d0e6 cpufreq: intel_pstate: Fix invalid EPB setting
7c985c014425 ARM: sunxi: Fix CPU powerdown on A83T
43a2cca05874 iio: srf04: fix wrong limitation in distance measuring
b870132ec166 iio: imu: inv_mpu6050: fix no data on MPU6050
e48c1fca5974 iio: imu: adis16480: make sure provided frequency is positive
9dca863d3b35 iio: adc: stm32-adc: fix stopping dma
8fc1bf8f2be7 ceph: don't allow copy_file_range when stripe_count != 1
8cfda9695cf9 ceph: don't try to handle hashed dentries in non-O_CREAT atomic_open
4ad07fc427d4 ceph: add missing check in d_revalidate snapdir handling
ef1848480086 ceph: fix RCU case handling in ceph_d_revalidate()
d97f80fd208a ceph: fix use-after-free in __ceph_remove_cap()
dfe4803a9068 ASoC: rsnd: dma: fix SSI9 4/5/6/7 busif dma address
5e23235c9524 arm64: Do not mask out PTE_RDONLY in pte_same()
48c2025b2f09 blkcg: make blkcg_print_stat() print stats only for online blkgs
034d5809a5f4 soundwire: bus: set initial value to port_status
649b8fd670bc soundwire: depend on ACPI || OF
94aa8ee28648 soundwire: depend on ACPI
ee8af21351c4 mm/khugepaged: fix might_sleep() warn with CONFIG_HIGHPTE=y
d66df2eb6b3a HID: wacom: generic: Treat serial number and related fields as unsigned
e1ffbf4ecc06 drm/radeon: fix si_enable_smc_cac() failed issue
69d06ef9e08d perf map: Use zalloc for map_groups
782163d51e60 perf tools: Fix time sorting
3067a7cc476a pinctrl: intel: Avoid potential glitches if pin is in GPIO mode
b69bf236dff2 tools: gpio: Use !building_out_of_srctree to determine srctree
e231278b0d22 btrfs: save i_size to avoid double evaluation of i_size_read in compress_file_range
5e162cf4feec btrfs: tree-checker: Fix wrong check on max devid
3f2943947386 dump_stack: avoid the livelock of the dump_lock
4355d417a94f mm, vmstat: hide /proc/pagetypeinfo from normal users
953014f940f5 mm: thp: handle page cache THP correctly in PageTransCompoundMap
61650775cd53 mm, meminit: recalculate pcpu batch and high limits after init completes
2dcc41fdaf8a mm: memcontrol: fix network errors from failing __GFP_ATOMIC charges
aa9bf5f11454 ALSA: hda/ca0132 - Fix possible workqueue stall
3b82b35a59db ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series
e2ba23d39223 ALSA: timer: Fix incorrectly assigned timer instance
0dc0b91d07e4 vsock/virtio: fix sock refcnt holding during the shutdown
420c2d73c309 net/smc: fix ethernet interface refcounting
d7b3e1639bd7 net: sched: prevent duplicate flower rules from tcf_proto destroy race
343d798fc32d net: prevent load/store tearing on sk->sk_stamp
7dae346fabf5 net: hns: Fix the stray netpoll locks causing deadlock in NAPI path
d8dd70306467 ipv6: fixes rt6_probe() and fib6_nh->last_probe init
28b0701981a4 selftests/tls: add test for concurrent recv and send
e35586c32b38 net/tls: add a TX lock
a440797c1de5 net/tls: don't pay attention to sk_write_pending when pushing partial records
d606d0d99205 net: mscc: ocelot: fix NULL pointer on LAG slave removal
0be7d0f645a9 net: mscc: ocelot: don't handle netdev events for other netdevs
7c406bd7d55b qede: fix NULL pointer deref in __qede_remove()
a09ec9b4cc7d NFC: st21nfca: fix double free
0c0b3ac80ac8 nfc: netlink: fix double device reference drop
90a397f2593f NFC: fdp: fix incorrect free object
cfe446854a9c net: usb: qmi_wwan: add support for DW5821e with eSIM support
8d510fd1378a net/tls: fix sk_msg trim on fallback to copy mode
55a7a495b3fe net: qualcomm: rmnet: Fix potential UAF when unregistering
756e7124cde2 net: fix data-race in neigh_event_send()
212322510b49 net: ethernet: octeon_mgmt: Account for second possible VLAN header
b0855a3ad221 ipv4: Fix table id reference in fib_sync_down_addr
9dfa56e19c37 CDC-NCM: handle incomplete transfer of MTU
86e7bde87d43 bonding: fix state transition issue in link monitoring
(From OE-Core rev: b538fedff2cbd4604a7c73fdee07167f1ad3155a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Khem's gcc10 build fix:
[
Author: Khem Raj <raj.khem@gmail.com>
Date: Fri Dec 20 17:42:02 2019 -0800
x86/boot/compressed/64: Define __force_order only when CONFIG_RANDOMIZE_BASE is unset
kaslr_64.c also defines the same variable, however when both files are
included into final link, linker complains about multiple definition of
`__force_order' which is coming from kaslr_64.o and pgtable_64.o, its
possible that kaslr_64.o is disabled via CONFIG_RANDOMIZE_BASE config
option, therefore define it conditionally only when
CONFIG_RANDOMIZE_BASE is not set
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: d3112fcf7283b9c015e77db1b0a1a78044ed2e23)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit d6065f136f6d ("oeqa/logparser: Various misc cleanups"),
7b17274c30 in poky, the ptest OEQA is unable to detect failures
in any of the test results.
The reason is that the test result string changed from 'fail' to
'FAILED', because the original mapping has been removed as part of
that commit, but the code in here is still trying to match against
the old string, resulting in no matches, i.e. everything is treated
as successful, even if it shouldn't be.
Update the OEQA ptest test to actually work again and report
failure if there was a failure.
Note that the ptest test is marked as @expectedfail, so even though
this test now again starts to fail, the overall OEQA test result is
not affected - but at least the overall OEQA test summary reflects
the correct status again.
In other words:
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.26s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner: PASSED (4.05s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.60s)
SUMMARY:
image-debug () - Ran 3 tests in 4.937s
correctly changes to:
AssertionError: Failed ptests:
{'dummytest': ['check_True_is_True', 'test_basic']}
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.24s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.56s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner: EXPECTEDFAIL (4.13s)
SUMMARY:
image-debug () - Ran 3 tests in 4.937s
instead and we see a summary of the ptest subtests that failed.
(From OE-Core rev: 08ff4b9195a9de91b8090173c5bd03a5ff263616)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch that restores missing declarations for 32 bit x86 builds.
(From OE-Core rev: 3c18dad4035b1f4ba36f4a618f2fee2efe2e8895)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: readme no longer carries a copyright notice, so take it from a source file
(From OE-Core rev: 30fa7e5edb91512a0f5c00db6259f1dcaea4fb2d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With python 2.x reaching EOL and leaving oe-core soon, there is no need to keep
it in ptest lists.
(From OE-Core rev: dcdd618e8393f1344165970d486ff2db557fb729)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting VERBOSE always, while is fine on one hand for debugging, its
coming at an expense of creating lots and lots of logs, e.g. qtwebkit
compile logs alone with VERBOSE is 163MB, there are many other large
packages which use cmake e.g. WPE, webkitgtk etc which are in same range
with out this option on, the logs reduce to 861K and also speeds up
build a notch
If user needs to disable these logs for a recipe or globally
CMAKE_VERBOSE = ""
in recipe or in global metadata e.g. local.conf
(From OE-Core rev: f8d2cd0025f97819898da26041f353d527a27952)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove a patch already present upstream
Add a patch to fix build with upcoming glibc 2.31 where
__ptrace_syscall_info definition is added
(From OE-Core rev: f6670f9c89c7b7a93557f0b6aeffbf88033f0791)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from latest gcc-9-branch to fix an API change in glibc
2.31, this patch wont be needed when upgrading to 9.3 or 10.x
(From OE-Core rev: d089f84d64b90776623e0e43d237ac3fcc6a0d7d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After kbd updated to 2.2.0, it fails to run ptest:
| make: *** No rule to make target 'libkbdfile-test01.c', needed by 'libkbdfile-test01'.
Update sed expression to fix such kind of issues. And also make target
dumpkeys-bkeymap and dumpkeys-bkeymap which are required by ptest.
(From OE-Core rev: 2fb86f46baed43316086ce10de635c326e073c2d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This header is needed for runtime_error element
(From OE-Core rev: 856c26f50fe0d11a22aae9adf9bf12edc6ea9e5e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some mips 64 bit platforms use vmlinux.64 image name
Make a symbol link to vmlinux.64 in arch/mips/boot/
(From OE-Core rev: 70626b52e5e61c80018e9f1f85bc169d0434b986)
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linux system's realpath() remove trailing slashes, but pseudo's doesn't, need
make them identical.
E.g., the following code (rel.c) prints '/tmp' with system's realpath, but
pseudo's realpath prints '/tmp/':
#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
int main() {
char out[PATH_MAX];
printf("%s\n", realpath("/tmp/", out));
return 0;
}
$ bitbake base-passwd -cdevshell # For pseudo env
$ gcc rel.c
$ ./a.out
/tmp/ (but should be /tmp)
This patch fixes the problem.
(From OE-Core rev: 319bbf66e03377adf2db7efa93ef578e3460eb38)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parallel compile maybe failed with error:
error: ../lib/strlcat.o: No such file or directory
Makefile:619: recipe for target 'syslogd' failed
(From OE-Core rev: 197007bac2ad8cba59fa2c68c51bd95e9b66de92)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When you bitbake libsdl2-native and your host had installed fcitx
or ibus, it may cause you bitbake failed in do_compile.
Disable fcitx and ibus check with EXTRA_OECONF in bb file.
-------------snip---------------------
CC build/SDL_sysfilesystem.lo
CC build/SDL_syshaptic.lo
CC build/SDL_systimer.lo
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:52:5:
error: unknown type name ‘SDL_DBusContext’
SDL_DBusContext *dbus;
^~~~~~~~~~~~~~~
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:121:8:
error: unknown type name ‘DBusHandlerResult’
static DBusHandlerResult
^~~~~~~~~~~~~~~~~
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:122:20:
error: unknown type name ‘DBusConnection’;
------------snip----------------------
(From OE-Core rev: eb286172e413e9d6449dc13ccec1b78c04481eb5)
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When some hosttool is a dead symlink, bitbake any recipe will
fail with error like below.
FileExistsError: [Errno 17] File exists: '/usr/bin/chrpath' -> '/path/to/builddir/tmp-glibc/hosttools/chrpath'
So we remove dead symlink under hostools/ directory to avoid
such error.
(From OE-Core rev: b03577cf85784fc052b89083054d911816f8c6e1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure self.data isn't accessed without assignment. Also clean up old style
popen use and replace with modern/simpler subprocess.
(From OE-Core rev: 39825cba4761a6b4b2473825705975f9f421ec8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't just use HOST_OS, as in meta-mingw SDKs that is 'mingw32' but Meson
expects 'windows'.
(From OE-Core rev: f408bbb1cc72b84905b22d100f52c0a9f54ff3fe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable libpng as that's only used in the tests and demos, that we don't build.
Drop iwmmxt disabling, we can add this back again if it fails. Loongsoon
remains disabled as the build fails for edgerouter.
Drop the Neon/VFP2 mojo, this is a micro-optimisation. If the size improvement
is significant then this can be added back.
(From OE-Core rev: dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds PACKAGECONFIG for glusterfs. glusterfs is not required f-
or runqemu, so it should be optional to reduce build time.
(From OE-Core rev: f5ffd6ce6e7431b17a291980843752e2d2fb0b44)
Signed-off-by: Shohei Maruyama <shohei.maruyama@cybertrust.co.jp>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop two backports.
Remove 0001-useradd.c-create-parent-directories-when-necessary.patch
as upstream has addressed the issue:
b3b6d9d77c
Rebase the rest of the paches.
Add a patch to remove the check for validity of login shells
which does not work in our environment.
Disable sssd cache support as that needs Fedora-specific tooling.
(From OE-Core rev: fee6c063dfb80425caa7080083c61d1544d929c6)
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>
Otherwise bitbake is unable to expand it if the main
variant is not using a SCM fetcher.
(From OE-Core rev: 24e59094de42b4b0bed3584ca8571c4c19080428)
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>
If devupstream is in use by the recipe, then that
variant has SRCPV, but the main variant may not,
in which case bitbake throws an expansion error.
(From OE-Core rev: 740e3f5e1d4a8abb07c7a4e4aedd804d679c7562)
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>
License-Update: formatting, dropped the gpl texts, as they're
not anymore in source tree, and the main file is specific enough.
(From OE-Core rev: 15ca6acb87299ffc770d35b075024f0ccaace61f)
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>
Remove 0001-Skip-when-testapp-is-not-present.patch as it is unclear
whether it needs to be rebased, and difficult to rebase.
Remove 0001-check-for-gettid-API-during-configure.patch as it
is no longer needed.
Ptests still seem to run ok, however they are rather slow,
so I did not wait for their completion.
(From OE-Core rev: 015aea5d93614676decd18578a8ae2d68417cfc5)
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>
Only new x.y versions will be reported, as upstream creates a new
x.y.z tag for every commit.
(From OE-Core rev: 99558e667e4e04934943476472bd9919b5d07855)
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>
Change SRC_URI to the new location, drop no longer
supported/unneeded options.
(From OE-Core rev: 7df632664b94d2b5df6e8734937eaefb91e6ff18)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest version (3.34) of sysprof have a hard dependency on polkit,
which in turn requires mozjs, which pulls in a number of other
meta-oe packages including python2. This makes it difficult
to keep sysprof in oe-core, so for the time being it is moved to
meta-oe.
(From OE-Core rev: 48332e8d214ace84c54f4924cb05f4b47d030cf7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
d0be30663e55 Linux 5.2.26
a5f01eb4ae19 can: mcba_usb: fix use-after-free on disconnect
d440c83adfe2 x86/fpu: Don't cache access to fpu_fpregs_owner_ctx
d0a6ac8ee861 can: peak_usb: fix slab info leak
bbbf7603e285 Input: ff-memless - kill timer in destroy()
91356b4afa6c media: rc: prevent memory leak in cx23888_ir_probe
51637609104e Revert "ALSA: hda: Flush interrupts on disabling"
9a4445b878a9 powerpc/powernv: Fix CPU idle to be called with IRQs disabled
9193213c9e4e sched/fair: Fix -Wunused-but-set-variable warnings
c43cfdeb169a ALSA: usb-audio: Add DSD support for Gustard U16/X26 USB Interface
897a94da5ae1 ALSA: usb-audio: Update DSD support quirks for Oppo and Rotel
7e58efc63bf7 ALSA: usb-audio: DSD auto-detection for Playback Designs
210ea1053fbd sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices
55f7e1c999df iwlwifi: exclude GEO SAR support for 3168
0d8c60339f82 net: sched: sch_sfb: don't call qdisc_put() while holding tree lock
0adbd50f981b sch_netem: fix rcu splat in netem_enqueue()
8efcc97c3e42 net: usb: sr9800: fix uninitialized local variable
45e162b87d41 netfilter: conntrack: avoid possible false sharing
3fe6d57d9149 bonding: fix potential NULL deref in bond_update_slave_arr
a8b0fd3f931d NFC: pn533: fix use-after-free and memleaks
7ad6fbf0576a rxrpc: Fix trace-after-put looking at the put peer record
5e24e1198eea rxrpc: rxrpc_peer needs to hold a ref on the rxrpc_local record
1a6bd945690b rxrpc: Fix call ref leak
203ec8334e5b llc: fix sk_buff leak in llc_conn_service()
c438c3900aba llc: fix sk_buff leak in llc_sap_state_process()
c18d44740378 batman-adv: Avoid free/alloc race when handling OGM buffer
58d94f9f31f2 NFS: Fix an RCU lock leak in nfs4_refresh_delegation_stateid()
02da3016e993 drm/amdgpu/powerplay/vega10: allow undervolting in p7
7722152c2d83 dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle
ee388389576c dmaengine: imx-sdma: fix size check for sdma script_number
55c55744a28e dmaengine: tegra210-adma: fix transfer failure
f9343260a427 dmaengine: qcom: bam_dma: Fix resource leak
bd8f667e3a9c KVM: vmx, svm: always run with EFER.NXE=1 when shadow paging is active
cdee2de27735 rtlwifi: rtl_pci: Fix problem of too small skb->len
ab8c920166a5 virtio_ring: fix stalls for packed rings
26579ee95eaa arm64: cpufeature: Enable Qualcomm Falkor/Kryo errata 1003
54a879fbe1b3 arm64: Ensure VM_WRITE|VM_SHARED ptes are clean by default
8efd0c50367a IB/hfi1: Avoid excessive retry for TID RDMA READ request
335bff30e808 ARC: perf: Accommodate big-endian CPU
ee5a9c33330f s390/idle: fix cpu idle time calculation
60af342e8b0d s390/cmm: fix information leak in cmm_timeout_handler()
c86c49b94246 s390/unwind: fix mixing regs and sp
df9c6fcddce0 um-ubd: Entrust re-queue to the upper layers
4a1a26a4bf91 HID: logitech-hidpp: do all FF cleanup in hidpp_ff_destroy()
f6fa66f01aa8 HID: logitech-hidpp: rework device validation
7fe194de644b HID: logitech-hidpp: split g920_get_config()
2049b4bb9f81 HID: fix error message in hid_open_report()
63e52b01254f HID: Fix assumption that devices have inputs
a3a9f34b88cb HID: i2c-hid: add Trekstor Primebook C11B to descriptor override
e90905647a5a scsi: target: cxgbit: Fix cxgbit_fw4_ack()
ac372582cc42 scsi: qla2xxx: Fix partial flash write of MBI
e57315b44301 USB: serial: whiteheat: fix line-speed endianness
1f92660c8acf USB: serial: whiteheat: fix potential slab corruption
00bd2baf8dc4 usb: xhci: fix __le32/__le64 accessors in debugfs code
098f7b186cbb usb: xhci: fix Immediate Data Transfer endianness
1b576e218d1e USB: ldusb: fix control-message timeout
2b3c8a8ec1b4 USB: ldusb: fix ring-buffer locking
6d678d6fa0d2 usb-storage: Revert commit 747668dbc061 ("usb-storage: Set virt_boundary_mask to avoid SG overflows")
e32f12632c9f USB: gadget: Reject endpoints with 0 maxpacket value
3390a1c10bc9 nl80211: fix validation of mesh path nexthop
c890ae5aac42 UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segments")
e382a68d7aed ALSA: hda/realtek - Add support for ALC623
f7a4541160d1 ALSA: hda/realtek - Fix 2 front mics of codec 0x623
1ef6d8090939 ALSA: timer: Fix mutex deadlock at releasing card
0d261a4dc4d2 ALSA: bebob: Fix prototype of helper function to return negative value
c217d9f666ec fuse: truncate pending writes on O_TRUNC
7bb177bda49b fuse: flush dirty data/metadata before non-truncate setattr
270aa285a332 ath6kl: fix a NULL-ptr-deref bug in ath6kl_usb_alloc_urb_from_pipe()
0278c9083bcd thunderbolt: Use 32-bit writes when writing ring producer/consumer
eb73fb79781c thunderbolt: Correct path indices for PCIe tunnel
d87fc8124793 s390/pci: fix MSI message data
913f0293d40e rtw88: Fix misuse of GENMASK macro
f85ce6c2ac9f perf/aux: Fix tracking of auxiliary trace buffer allocation
6bdd6dbc529f perf annotate: Fix multiple memory and file descriptor leaks
5680844af670 tracing: Initialize iter->seq after zeroing in tracing_read_pipe()
81fdb3a267a8 s390/uaccess: avoid (false positive) compiler warnings
b6c9dce7fde4 NFSv4: Fix leak of clp->cl_acceptor string
b1b57fae22d2 nbd: fix possible sysfs duplicate warning
da80a689e9e5 MIPS: fw: sni: Fix out of bounds init of o32 stack
3f5c4e2276b7 MIPS: include: Mark __xchg as __always_inline
f0bde95d77c1 iio: imu: st_lsm6dsx: fix waitime for st_lsm6dsx i2c controller
1a5843dc8c0c drm/amdgpu: fix memory leak
868397e6c42c perf/x86/amd: Change/fix NMI latency mitigation to use a timestamp
81fc7990a0c5 perf/core: Fix corner case in perf_rotate_context()
721fa4a46fc9 perf/core: Rework memory accounting in perf_mmap()
f182d51db406 sched/vtime: Fix guest/system mis-accounting on task switch
4d182255c178 sched/fair: Scale bandwidth quota and period without losing quota/period ratio precision
9f951480df73 x86/cpu: Add Comet Lake to the Intel CPU models header
cc5d1ac88699 arm64: armv8_deprecated: Checking return value for memory allocation
becc2d395df8 btrfs: silence maybe-uninitialized warning in clone_range
33fff851e503 fs: ocfs2: fix a possible null-pointer dereference in ocfs2_write_end_nolock()
32503fb41c44 fs: ocfs2: fix a possible null-pointer dereference in ocfs2_info_scan_inode_alloc()
db2a5874c6ed ocfs2: clear zero in unaligned direct IO
ceaf6a8c4ea9 x86/xen: Return from panic notifier
2f921acb80bf riscv: Correct the handling of unexpected ebreak in do_trap_break()
97cb8b84f1c3 riscv: avoid sending a SIGTRAP to a user thread trapped in WARN()
a300b6885c64 riscv: avoid kernel hangs when trapped in BUG()
da43a3822b64 MIPS: include: Mark __cmpxchg as __always_inline
373c1dd11b45 efi/x86: Do not clean dummy variable in kexec path
f9041dd022cb efi/cper: Fix endianness of PCIe class code
f722f7ecf089 serial: mctrl_gpio: Check for NULL pointer
a6ff1233680e fs: cifs: mute -Wunused-const-variable message
c1c06adaa024 gpio: max77620: Use correct unit for debounce times
a5b546c50f27 RDMA/mlx5: Order num_pending_prefetch properly with synchronize_srcu
cbbee24f43c9 RDMA/mlx5: Do not allow rereg of a ODP MR
5c113e817535 RDMA/cm: Fix memory leak in cm_add/remove_one
735a98c89faf RDMA/core: Fix an error handling path in 'res_get_common_doit()'
c643e93dc992 tty: n_hdlc: fix build on SPARC
bf1a30450492 serial/sifive: select SERIAL_EARLYCON
9b216ebaa0ff tty: serial: rda: Fix the link time qualifier of 'rda_uart_exit()'
af0e484e2aea tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'
ccc0779a474d arm64: ftrace: Ensure synchronisation in PLT setup for Neoverse-N1 #1542419
eba84370623a arm64: Fix incorrect irqflag restore for priority masking for compat
6d4308365bdd nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request
ba5505b64fff selftests/kselftest/runner.sh: Add 45 second timeout per test
5611d30695ff kselftest: Fix NULL INSTALL_PATH for TARGETS runlist
2332b66b6d48 kselftest: exclude failed TARGETS from runlist
a007910420b3 HID: hyperv: Use in-place iterator API in the channel callback
d9f1bbf18881 RDMA/iwcm: Fix a lock inversion issue
97410d49b2c1 RDMA/iw_cxgb4: fix SRQ access from dump_qp()
812b81500a5a staging: rtl8188eu: fix null dereference when kzalloc fails
8a9ea260d651 perf script: Fix invalid LBR/binary mismatch error
e623c8e7aa71 perf annotate: Don't return -1 for error when doing BPF disassembly
ebf5e2ee8a97 perf annotate: Return appropriate error code for allocation failures
219422c0e09c perf annotate: Fix arch specific ->init() failure errors
2dd48965796f perf annotate: Propagate the symbol__annotate() error return
d58fb414acc7 perf annotate: Fix the signedness of failure returns
7956b781a7b7 perf annotate: Propagate perf_env__arch() error
d6f9043d8173 perf tools: Propagate get_cpuid() error
b2737fe8cbf0 perf jevents: Fix period for Intel fixed counters
dda1e196d61e perf script brstackinsn: Fix recovery from LBR/binary mismatch
8b5ae52f9852 perf map: Fix overlapped map handling
8680453e5d99 perf tests: Avoid raising SEGV using an obvious NULL dereference
c484a2c277d2 libsubcmd: Make _FORTIFY_SOURCE defines dependent on the feature
13121b2d6844 iio: fix center temperature of bmc150-accel-core
2f86da9d6403 iio: adc: meson_saradc: Fix memory allocation order
58374086dd4d btrfs: qgroup: Always free PREALLOC META reserve in btrfs_delalloc_release_extents()
da3cb2dc1dce Btrfs: fix inode cache block reserve leak on failure to allocate data space
0f0914c95877 dm snapshot: rework COW throttling to fix deadlock
8355852edf97 dm snapshot: introduce account_start_copy() and account_end_copy()
c69d2a1ac851 dm snapshot: fix oversights in optional discard support
80fe585a3c4f dm snapshot: add optional discard support features
(From OE-Core rev: 2103b4234595399f441b58f4d96dfe1b22260b06)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
174651bdf802 Linux 4.19.87
6938a9da7ff8 PM / devfreq: Fix kernel oops on governor module load
345712c95eec KVM: PPC: Book3S HV: Flush link stack on guest exit to host kernel
0a60d4bddc0b powerpc/book3s64: Fix link stack flush on context switch
19d98b4d55b0 powerpc/64s: support nospectre_v2 cmdline option
b7e2a040d9fc staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error
4101916e9f08 USB: serial: option: add support for Foxconn T77W968 LTE modules
62aca6645c08 USB: serial: option: add support for DW5821e with eSIM support
3349ed266ae2 USB: serial: mos7840: fix remote wakeup
abbda35d6a6e USB: serial: mos7720: fix remote wakeup
84743898d60b USB: serial: mos7840: add USB ID to support Moxa UPort 2210
356440a79b6b appledisplay: fix error handling in the scheduled work
0439d6b90187 USB: chaoskey: fix error case of a timeout
a18675e5d5f7 usb-serial: cp201x: support Mark-10 digital force gauge
61f6a3fac394 usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit()
375b26a86481 usbip: tools: fix fd leakage in the function of read_attr_usbip_status
e70448b92253 USBIP: add config dependency for SGL_ALLOC
5d0b56f6725d virtio_ring: fix return code on DMA mapping fails
78260a294c04 media: imon: invalid dereference in imon_touch_event
94a94b605916 media: cxusb: detect cxusb_ctrl_msg error in query
8b42c263ec1a media: b2c2-flexcop-usb: add sanity checking
56be9f1b8733 media: uvcvideo: Fix error path in control parsing failure
61e73cf57ed8 cpufreq: Add NULL checks to show() and store() methods of cpufreq
f217cef919da media: usbvision: Fix races among open, close, and disconnect
467052f6ea5a media: vivid: Fix wrong locking that causes race conditions on streaming stop
b73b28b1b2cb media: vivid: Set vid_cap_streaming and vid_out_streaming to true
af8071f50f46 nfc: port100: handle command failure cleanly
3510fb7947d5 ALSA: usb-audio: Fix NULL dereference at parsing BADD
2819f4030f43 futex: Prevent robust futex exit race
d3f8c58d701c y2038: futex: Move compat implementation into futex.c
344966da99c9 nbd: prevent memory leak
ed7a3dde0aa2 x86/speculation: Fix redundant MDS mitigation message
0af5ae268e24 x86/speculation: Fix incorrect MDS/TAA mitigation status
ed7312096a1f x86/insn: Fix awk regexp warnings
99b933bbc7b0 ARC: perf: Accommodate big-endian CPU
e02f1448282b ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
046f0fcf7397 ocfs2: remove ocfs2_is_o2cb_active()
36bef080b55f net: phy: dp83867: increase SGMII autoneg timer duration
87997a7800a1 net: phy: dp83867: fix speed 10 in sgmii mode
5779cbc98369 mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span()
a268d985f089 md/raid10: prevent access of uninitialized resync_pages offset
f8dc0350d32b ath9k_hw: fix uninitialized variable data
f0cfe98332d6 ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe
4ae7392ab6f4 KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved
03bf4876a593 Bluetooth: Fix invalid-free in bcsp_close()
006360ec33d9 mm/page_io.c: do not free shared swap slots
16a300fb1dbb cfg80211: call disconnect_wk when AP stops
2b3541ffdd05 ipv6: Fix handling of LLA with VRF and sockets bound to VRF
091ed093c9c8 mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock
896f7398152b i2c: uniphier-f: fix timeout error after reading 8 bytes
1efa17ab9cb8 spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
1b0f1b2dde06 nvme-pci: fix surprise removal
597a37d01b69 PCI: keystone: Use quirk to limit MRRS for K2G
c0418c4a61aa pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD
0858006cda38 pinctrl: lpc18xx: Use define directive for PIN_CONFIG_GPIO_PIN_INT
5efa36e7f04a pinctrl: bcm2835: Use define directive for BCM2835_PINCONF_PARAM_PULL
bad4da12b797 pinctrl: qcom: spmi-gpio: fix gpio-hog related boot issues
c24fe7807320 cfg80211: Prevent regulatory restore during STA disconnect in concurrent interfaces
ee7d2473812b tools: bpftool: pass an argument to silence open_obj_pinned()
367e64ce11fc of: unittest: initialize args before calling of_*parse_*()
e4547e028547 of: unittest: allow base devicetree to have symbol metadata
1303c938c953 net: bcmgenet: return correct value 'ret' from bcmgenet_power_down
1d6a0dd6aa53 ACPICA: Use %d for signed int print formatting instead of %u
d15b8b691725 clk: tegra20: Turn EMC clock gate into divider
91c5f99d131e vrf: mark skb for multicast or link-local as enslaved to VRF
5c2a3997ae5b dlm: don't leak kernel pointer to userspace
afb4717ab81b dlm: fix invalid free
30fc13ae88b2 usb: typec: tcpm: charge current handling for sink during hard reset
5e989b6cad68 scsi: lpfc: Correct loss of fc4 type on remote port address change
a391709b636e scsi: lpfc: Fix odd recovery in duplicate FLOGIs in point-to-point
05678af01a33 scsi: lpfc: fcoe: Fix link down issue after 1000+ link bounces
e6d0262e1628 scsi: megaraid_sas: Fix goto labels in error handling
83e679606e78 scsi: megaraid_sas: Fix msleep granularity
ff997bf13c1e scsi: mpt3sas: Fix driver modifying persistent data in Manufacturing page11
80224e3b08ff scsi: mpt3sas: Don't modify EEDPTagMode field setting on SAS3.5 HBA devices
5553e2bdcb02 scsi: mpt3sas: Fix Sync cache command failure during driver unload
5f2dc610eb28 net: dsa: bcm_sf2: Turn on PHY to allow successful registration
2ac94b9e902f rtlwifi: rtl8192de: Fix misleading REG_MCUFWDL information
13d434fed1a2 wireless: airo: potential buffer overflow in sprintf()
fad934bb2e47 brcmsmac: never log "tid x is not agg'able" by default
bdb61fa50b70 rtl8xxxu: Fix missing break in switch
06ed77066838 wlcore: Fix the return value in case of error in 'wlcore_vendor_cmd_smart_config_start()'
c68a499448e1 ath10k: snoc: fix unbalanced clock error handling
c262dc0655df wil6210: fix locking in wmi_call
ccb2390e8933 wil6210: fix RGF_CAF_ICR address for Talyn-MB
0e1304ae42c2 wil6210: fix L2 RX status handling
aa2112d57152 wil6210: fix debugfs memory access alignment
ea136e61e4df btrfs: avoid link error with CONFIG_NO_AUTO_INLINE
4a035f2643c6 media: ov13858: Check for possible null pointer
3ee72f30c163 nds32: Fix bug in bitfield.h
e6c6c0439a93 net: bpfilter: fix iptables failure if bpfilter_umh is disabled
811c8141d663 sock_diag: fix autoloading of the raw_diag module
3c69a033b416 audit: print empty EXECVE args
5dc441fbef91 soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL
9cdfff0a5e61 clk: sunxi-ng: enable so-said LDOs for A64 SoC's pll-mipi clock
a2e6fe1f647f ARM: dts: imx6sx-sdb: Fix enet phy regulator
465073e44fda openvswitch: fix linking without CONFIG_NF_CONNTRACK_LABELS
31bced01fe77 sched/fair: Don't increase sd->balance_interval on newidle balance
ed023646c2cf sched/topology: Fix off by one bug
f9fca78e6cf2 net: do not abort bulk send on BQL status
0d3b9ac2844f ocfs2: fix clusters leak in ocfs2_defrag_extent()
6c150df9c2e8 ocfs2: don't put and assigning null to bh allocated outside
6fd469d06eb8 ocfs2: don't use iocb when EIOCBQUEUED returns
abc7968b86b1 ocfs2: without quota support, avoid calling quota recovery
6a2245d828e4 mm: handle no memcg case in memcg_kmem_charge() properly
08f07d9f5b17 tools/power turbosat: fix AMD APIC-id output
b167fee4e45d arm64: makefile fix build of .i file in external module case
fa7f1bce27c0 nvme-pci: fix conflicting p2p resource adds
0bbb8382db4c irq/matrix: Fix memory overallocation
ad8298fccd70 ntb: intel: fix return value for ndev_vec_mask()
3bd4422af874 ntb_netdev: fix sleep time mismatch
8dbecf6c2f17 net: hns3: bugfix for hclge_mdio_write and hclge_mdio_read
12eeb72afac2 net: hns3: bugfix for is_valid_csq_clean_head()
e3345108409c net: hns3: bugfix for reporting unknown vector0 interrupt repeatly problem
b0465d06d4c6 net: hns3: bugfix for buffer not free problem during resetting
3d9bc014c519 fm10k: ensure completer aborts are marked as non-fatal after a resume
2fed73906e97 igb: shorten maximum PHC timecounter update interval
3081ae5e378f powerpc/powernv: hold device_hotplug_lock when calling device_online()
17523d7a1cc8 mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lock
02735d5987b9 mm/memory_hotplug: make add_memory() take the device_hotplug_lock
023c071f101c kernel/panic.c: do not append newline to the stack protector panic string
1914e5edd811 fs/hfs/extent.c: fix array out of bounds read of array extent
a9f38975eb98 hfs: update timestamp on truncate()
0013adceb521 hfsplus: update timestamps on truncate()
38e7b916daa2 hfs: fix return value of hfs_get_block()
550da9ee35fd hfsplus: fix return value of hfsplus_get_block()
8687d57d247a hfs: prevent btree data loss on ENOSPC
0b54b59d8541 hfsplus: prevent btree data loss on ENOSPC
7beaf6105e2e hfs: fix BUG on bnode parent update
1df96949ebfb hfsplus: fix BUG on bnode parent update
08751e477f0e lib/bitmap.c: fix remaining space computation in bitmap_print_to_pagebuf
1d5834945945 linux/bitmap.h: fix type of nbits in bitmap_shift_right()
8deaaf77ce2e linux/bitmap.h: handle constant zero-size bitmaps correctly
30598425aecc mm/gup_benchmark.c: prevent integer overflow in ioctl
9663d294ae28 block: call rq_qos_exit() after queue is frozen
a125df22d134 selftests/powerpc/cache_shape: Fix out-of-tree build
024cd793bbe1 selftests/powerpc/switch_endian: Fix out-of-tree build
a4a660f7abd9 selftests/powerpc/signal: Fix out-of-tree build
f74f406bbd0b selftests/powerpc/ptrace: Fix out-of-tree build
57aab8f0a33d powerpc/xmon: Relax frame size for clang
32d7474b7a08 ipv4/igmp: fix v1/v2 switchback timeout based on rfc3376, 8.12
691bd94c15b1 vfs: avoid problematic remapping requests into partial EOF block
cdc45f204775 um: Make line/tty semantics use true write IRQ
a17e3bbfb97c i2c: uniphier-f: fix race condition when IRQ is cleared
a118403a5ecc i2c: uniphier-f: fix occasional timeout error
1466eae37a9f i2c: uniphier-f: make driver robust against concurrency
10807b374663 block: fix the DISCARD request merge
b948d56951be macsec: let the administrator set UP state even if lowerdev is down
f5bdad7106fc macsec: update operstate when lower device changes
4291e97c69f6 mm: thp: fix MADV_DONTNEED vs migrate_misplaced_transhuge_page race condition
ac1cad79bcad tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage
2d9d6c099eaf mm/page-writeback.c: fix range_cyclic writeback vs writepages deadlock
bcba80f38a00 fs/ocfs2/dlm/dlmdebug.c: fix a sleep-in-atomic-context bug in dlm_print_one_mle()
99b3146b799a arm64: lib: use C string functions with KASAN enabled
b84e965c7edb sparc64: Rework xchg() definition to avoid warnings.
4e4cad4365e0 powerpc/process: Fix flush_all_to_thread for SPE
54299e1cf379 bpf, btf: fix a missing check bug in btf_parse
8044e741eee4 bpf: devmap: fix wrong interface selection in notifier_call
7b557dbdc519 net: ethernet: cadence: fix socket buffer corruption problem
3681b901e94a thermal: rcar_thermal: Prevent hardware access during system suspend
436e610bf195 thermal: rcar_thermal: fix duplicate IRQ request
51aa1a10fbac selftests: fix warning: "_GNU_SOURCE" redefined
c62be4108883 selftests: kvm: Fix -Wformat warnings
5802cb25de86 selftests: watchdog: Fix error message.
74685702363c selftests: watchdog: fix message when /dev/watchdog open fails
58ceffabad41 selftests/ftrace: Fix to test kprobe $comm arg only if available
adcb6d9ff121 spi: uniphier: fix incorrect property items
6c2075f792c6 fs/cifs: fix uninitialised variable warnings
c5621fbd6560 net: socionext: Stop PHY before resetting netsec
0a6fa6119ab1 mfd: max8997: Enale irq-wakeup unconditionally
5a04242e8c23 mfd: intel_soc_pmic_bxtwc: Chain power button IRQs as well
dd72391c9a53 mfd: mc13xxx-core: Fix PMIC shutdown when reading ADC values
02c9ec11860f mfd: arizona: Correct calling of runtime_put_sync
e79d230832d0 net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
7c011435110f qlcnic: fix a return in qlcnic_dcb_get_capability()
321c40dce581 mISDN: Fix type of switch control variable in ctrl_teimanager
074af1668038 f2fs: spread f2fs_set_inode_flags()
e7f81efae3b5 f2fs: fix to spread clear_cold_data()
733fddc34651 thermal: armada: fix a test in probe()
bb925b9bece2 RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap
829aa617bf6e rtc: s35390a: Change buf's type to u8 in s35390a_init
8112f3d4ed03 ceph: only allow punch hole mode in fallocate
146fb4b0d4fe ceph: fix dentry leak in ceph_readdir_prepopulate
083757d84859 tools: bpftool: fix completion for "bpftool map update"
570c05378d97 selftests/bpf: fix return value comparison for tests in test_libbpf.sh
3173e226ca41 powerpc/64s/radix: Fix radix__flush_tlb_collapsed_pmd double flushing pmd
b43c5287f6bc powerpc/mm/radix: Fix small page at boundary when splitting
b499fa070ee4 powerpc/mm/radix: Fix overuse of small pages in splitting logic
434551e9fd44 powerpc/mm/radix: Fix off-by-one in split mapping logic
ee35e01b0f08 powerpc/pseries: Export raw per-CPU VPA data via debugfs
9ed143cf730d scsi: hisi_sas: Fix NULL pointer dereference
ff6618e06cb4 sparc: Fix parport build warnings.
3d02e3bb3cfe x86/intel_rdt: Prevent pseudo-locking from using stale pointers
b6e44f743951 spi: omap2-mcspi: Set FIFO DMA trigger level to word length
ad9a4e963c92 swiotlb: do not panic on mapping failures
9b572e8bc038 s390/perf: Return error when debug_register fails
641f1f798c80 atm: zatm: Fix empty body Clang warnings
f9304c6277ed sunrpc: safely reallow resvport min/max inversion
7983dea8c368 SUNRPC: Fix a compile warning for cmpxchg64()
a0ec7f6eabe8 selftests/bpf: fix file resource leak in load_kallsyms
56b8b1832122 dm raid: avoid bitmap with raid4/5/6 journal device
4de506d51177 sctp: use sk_wmem_queued to check for writable space
1f7f2a0666a3 usbip: tools: fix atoi() on non-null terminated string
283d9618e22b USB: misc: appledisplay: fix backlight update_status return code
80a23f70d546 PCI: vmd: Detach resources after stopping root bus
b0f69ccfff3a macintosh/windfarm_smu_sat: Fix debug output
86f63146f886 ALSA: i2c/cs8427: Fix int to char conversion
46729b27706a PM / Domains: Deal with multiple states but no governor in genpd
cf800f2b630b ACPI / scan: Create platform device for INT33FE ACPI nodes
cb6a3096ec2f kprobes, x86/ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack
f0f842a1a9f9 xfs: clear ail delwri queued bufs on unmount of shutdown fs
bb64349b6f56 xfs: fix use-after-free race in xfs_buf_rele
e0e8d83e4878 net: ena: Fix Kconfig dependency on X86
7ac437558e4a net: fix warning in af_unix
5e110ec2d924 net: dsa: mv88e6xxx: Fix 88E6141/6341 2500mbps SERDES speed
274726bcf5ba scsi: zorro_esp: Limit DMA transfers to 65535 bytes
1f13afca914f scsi: dc395x: fix DMA API usage in sg_update_list
e95ec662b126 scsi: dc395x: fix dma API usage in srb_done
95655b10529d ASoC: tegra_sgtl5000: fix device_node refcounting
f1f1002a9987 clk: at91: audio-pll: fix audio pmc type
f15b802890bb clk: mmp2: fix the clock id for sdh2_clk and sdh3_clk
6391dd5eb0ef PCI: mediatek: Fixup MSI enablement logic by enabling MSI before clocks
305c262fb8ee nvme-pci: fix hot removal during error handling
4e4b97f59050 nvmet-fcloop: suppress a compiler warning
2f1e4e65ba41 nvmet: avoid integer overflow in the discard code
30ca1af49481 crypto: ccree - avoid implicit enum conversion
5bbeb4fcf39a scsi: iscsi_tcp: Explicitly cast param in iscsi_sw_tcp_host_get_param
06815ae5e27f scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event
f4bf2dc77826 scsi: isci: Change sci_controller_start_task's return type to sci_status
3a40068dc831 scsi: isci: Use proper enumerated type in atapi_d2h_reg_frame_handler
6288f52ed258 clk: tegra: Fixes for MBIST work around
5a487f40e717 KVM/x86: Fix invvpid and invept register operand size in 64-bit mode
7392aa08f8a4 KVM: nVMX: move check_vmentry_postreqs() call to nested_vmx_enter_non_root_mode()
9fe573d539a8 KVM: nVMX: reset cache/shadows when switching loaded VMCS
cec14148c1a9 nfp: bpf: protect against mis-initializing atomic counters
bfe01cddb81a scsi: ips: fix missing break in switch
073f454cc28c qed: Align local and global PTT to propagate through the APIs.
45f89cf0f329 amiflop: clean up on errors during setup
4043bc0f634b pwm: lpss: Only set update bit if we are actually changing the settings
ad78a958663a pinctrl: sunxi: Fix a memory leak in 'sunxi_pinctrl_build_state()'
fae3cf8874c3 RDMA/bnxt_re: Avoid resource leak in case the NQ registration fails
b1bf1e424dcb RDMA/bnxt_re: Fix qp async event reporting
2f241e333f7b RDMA/bnxt_re: Avoid NULL check after accessing the pointer
bbeeadb7bab4 scsi: hisi_sas: Free slot later in slot_complete_vx_hw()
628cae51693a scsi: hisi_sas: Fix the race between IO completion and timeout for SMP/internal IO
d10b7dd14a37 scsi: hisi_sas: Feed back linkrate(max/min) when re-attached
92ac0e324974 m68k: fix command-line parsing when passed from u-boot
4ab1594e699e w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
d11d985d0a82 misc: mic: fix a DMA pool free failure
a2204a295554 gsmi: Fix bug in append_to_eventlog sysfs handler
cc08097f2619 btrfs: handle error of get_old_root
1b49c453a564 btrfs: defrag: use btrfs_mod_outstanding_extents in cluster_pages_for_defrag
9325e8f4688c PCI: mediatek: Fix class type for MT7622 to PCI_CLASS_BRIDGE_PCI
dfffae314a02 mmc: mediatek: fix cannot receive new request when msdc_cmd_is_ready fail
e2c158f58522 mmc: mediatek: fill the actual clock for mmc debugfs
e3fa491211c4 spi: sh-msiof: fix deferred probing
2cd0b70c55b0 cdrom: don't attempt to fiddle with cdo->capability
0c5c34c1aaf3 skd: fixup usage of legacy IO API
196b007ac0a6 ath10k: allocate small size dma memory in ath10k_pci_diag_write_mem
17fbe3c91ad4 ath10k: set probe request oui during driver start
8111f99f7c44 brcmsmac: AP mode: update beacon when TIM changes
20e42ddf6c1d mt76x0: phy: fix restore phase in mt76x0_phy_recalibrate_after_assoc
8cb568162524 mt76: do not store aggregation sequence number for null-data frames
b95998fb6c50 EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr()
97aab1a43a2f powerpc/eeh: Fix use of EEH_PE_KEEP on wrong field
bd2a7e53cd6e powerpc/eeh: Fix null deref for devices removed during EEH
16e4657a1d25 powerpc/boot: Disable vector instructions
5346c8403733 powerpc/boot: Fix opal console in boot wrapper
4505cff2ef4a powerpc: Fix signedness bug in update_flash_db()
93b943c0602f synclink_gt(): fix compat_ioctl()
8d67a4ecb473 pty: fix compat ioctls
fa3fe5f442ab gfs2: Fix marking bitmaps non-full
26a4c6a562ce PCI: cadence: Write MSI data with 32bits
ca71f9c8adc2 pinctrl: madera: Fix uninitialized variable bug in madera_mux_set_mux
4465a916eaa7 printk: fix integer overflow in setup_log_buf()
90d73768ddb6 printk: lock/unlock console only for new logbuf entries
8888689bd433 crypto: testmgr - fix sizeof() on COMP_BUF_SIZE
3757657af27e ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback
49a9643b5e8d mwifiex: Fix NL80211_TX_POWER_LIMITED
e80e88ef6057 drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
a0ee03bb5269 drm/i915/pmu: "Frequency" is reported as accumulated cycles
8a67fbf65971 drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs
e8d355befc42 mm/ksm.c: don't WARN if page is still mapped in remove_stable_node()
b28da9da6e51 Revert "fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()"
67380639dfdb virtio_console: allocate inbufs in add_port() only if it is needed
65d153c8ed65 nbd:fix memory leak in nbd_get_socket()
036588ec6888 tools: gpio: Correctly add make dependencies for gpio_utils
7cb8ee734c18 gpio: max77620: Fixup debounce delays
70d594d17ebb vhost/vsock: split packets to send using multiple buffers
48bc34efbc65 net/mlx5: Fix auto group size calculation
28a4cc2b5d6f net/mlxfw: Verify FSM error code translation doesn't exceed array size
7c1a53817782 net/mlx5e: Fix set vf link state error flow
1ff2a0f8692f sfc: Only cancel the PPS workqueue if it exists
13512a5eb818 net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key
2ba6a4f5402e net/sched: act_pedit: fix WARN() in the traffic path
9f6de5cf5390 net: rtnetlink: prevent underflows in do_setvfinfo()
ebcb0840a76b net/mlx4_en: Fix wrong limitation for number of TX rings
5408138df1db net/mlx4_en: fix mlx4 ethtool -N insertion
baa888ca02db mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel
14260788bbb9 Linux 4.19.86
2e1f151cd2d9 x86/resctrl: Fix rdt_find_domain() return value and checks
d64b58520670 mmc: tmio: fix SCC error handling to avoid false positive CRC error
e2a37708cfca powerpc/time: Fix clockevent_decrementer initalisation for PR KVM
ff36ace6c107 tools: PCI: Fix broken pcitest compilation
4039b5dd0f67 PM / devfreq: Fix static checker warning in try_then_request_governor
903cfafe0874 ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate
6491a2d26c08 tcp: start receiver buffer autotuning sooner
ef0811ef95ea ARM: dts: omap5: Fix dual-role mode on Super-Speed port
183f9ae8c4d2 mlxsw: spectrum_switchdev: Check notification relevance based on upper device
16ad1c43196a spi: rockchip: initialize dma_slave_config properly
f28abe5a3695 mac80211: minstrel: fix sampling/reporting of CCK rates in HT mode
83ea4ccdb9eb mac80211: minstrel: fix CCK rate group streams value
8bbedf4dffe9 mac80211: minstrel: fix using short preamble CCK rates on HT clients
5d017065cec9 misc: cxl: Fix possible null pointer dereference
9089b2f0049e netfilter: nft_compat: do not dump private area
e6c540bf9786 net: sched: avoid writing on noop_qdisc
b80939a47413 selftests: forwarding: Have lldpad_app_wait_set() wait for unknown, too
a119952d4be6 hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255
4bbc8deedd89 hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros
5bdad12ab211 hwmon: (pwm-fan) Silence error on probe deferral
0cb6525b75e1 hwmon: (nct6775) Fix names of DIMM temperature sources
a58d5770493c hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh processors
1301b861cf50 scsi: arcmsr: clean up clang warning on extraneous parentheses
b0c75ea8d372 pinctrl: gemini: Fix up TVC clock group
2a6c8fc0af64 orangefs: rate limit the client not running info message
336793832f26 x86/mm: Do not warn about PCI BIOS W+X mappings
1eeb7407d233 ARM: 8802/1: Call syscall_trace_exit even when system call skipped
e616dd603c29 spi: spidev: Fix OF tree warning logic
4fabd2e530ab pinctrl: gemini: Mask and set properly
8aa36b8a7684 spi: fsl-lpspi: Prevent FIFO under/overrun by default
07ed61a0a711 gpio: syscon: Fix possible NULL ptr usage
312de5a09d10 net: fix generic XDP to handle if eth header was mangled
014045888a74 bpf: btf: Fix a missing check bug
85f996c36e15 x86/kexec: Correct KEXEC_BACKUP_SRC_END off-by-one error
3f4f4c639f29 lightnvm: pblk: consider max hw sectors supported for max_write_pgs
d4ab0df8d5dd lightnvm: pblk: fix error handling of pblk_lines_init()
cdf73455471a lightnvm: do no update csecs and sos on 1.2
1fb60da4d736 lightnvm: pblk: guarantee mw_cunits on read buffer
1e9796622bc7 lightnvm: pblk: fix write amplificiation calculation
d56fe8f59a23 lightnvm: pblk: guarantee emeta on line close
c7e49f73152f lightnvm: pblk: fix incorrect min_write_pgs
ced6b5dae1dc lightnvm: pblk: fix rqd.error return value in pblk_blk_erase_sync
e99956093f70 ALSA: hda/ca0132 - Fix input effect controls for desktop cards
9c30ea2dda5d media: venus: vdec: fix decoded data size
5b388c45c3e5 media: cx231xx: fix potential sign-extension overflow on large shift
4d7cf69b77ce GFS2: Flush the GFS2 delete workqueue before stopping the kernel threads
1adde6589b4a media: isif: fix a NULL pointer dereference bug
3404019d6d0f printk: Give error on attempt to set log buffer length to over 2G
b2d6db3e572a mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable
b0c6a78a8a5a backlight: lm3639: Unconditionally call led_classdev_unregister
94764e3ae569 proc/vmcore: Fix i386 build error of missing copy_oldmem_page_encrypted()
e78c55ad6657 s390/kasan: avoid user access code instrumentation
ef5ad4f11e74 s390/kasan: avoid instrumentation of early C code
5228d07c4f92 s390/kasan: avoid vdso instrumentation
0046af383099 mmc: mmci: expand startbiterr to irqmask and error check
322f530fd959 x86/intel_rdt: CBM overlap should also check for overlap with CDP peer
36cf91317ca9 x86/intel_rdt: Introduce utility to obtain CDP peer
f9a2a8b8a5d4 mtd: devices: m25p80: Make sure WRITE_EN is issued before each write
6664533b4fc1 mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single
370dbbc7b5cb media: cx18: Don't check for address of video_dev
76765353043b media: dw9807-vcm: Fix probe error handling
96134bbea649 media: dw9714: Fix error handling in probe function
2103ebde9ac0 platform/x86: mlx-platform: Properly use mlxplat_mlxcpld_msn201x_items
04d38fa8436b bcache: recal cached_dev_sectors on detach
65910055b560 bcache: account size of buckets used in uuid write to ca->meta_sectors_written
16c2d36b1123 reset: Fix potential use-after-free in __of_reset_control_get()
84b787e35482 fbdev: fix broken menu dependencies
21bb43c0dd86 fbdev: sbuslib: integer overflow in sbusfb_ioctl_helper()
e57ba9db8c5f fbdev: sbuslib: use checked version of put_user()
964cd867ef63 atmel_lcdfb: support native-mode display-timings
a3a76b5d22f0 mmc: renesas_sdhi_internal_dmac: set scatter/gather max segment size
e8853ef02e2d mmc: tmio: Fix SCC error detection
01395b5f089b mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1
500c933055e7 x86/fsgsbase/64: Fix ptrace() to read the FS/GS base accurately
b17ddbdc6035 xsk: proper AF_XDP socket teardown ordering
29fda86178fe iwlwifi: mvm: don't send keys when entering D3
d43b7b99fe77 ACPI / SBS: Fix rare oops when removing modules
7f02606367b3 xfrm: use correct size to initialise sp->ovec
6b9c4eddb3be crypto: mxs-dcp - Fix AES issues
70ecd0459d03 crypto: mxs-dcp - Fix SHA null hashes and output length
fef30612e23c dmaengine: rcar-dmac: set scatter/gather max segment size
af23231acaf6 x86/olpc: Fix build error with CONFIG_MFD_CS5535=m
624cd074631a kexec: Allocate decrypted control pages for kdump if SME is enabled
59e5269c692e remoteproc: qcom: q6v5: Fix a race condition on fatal crash
4b8c7bce49ca remoteproc: Check for NULL firmwares in sysfs interface
e4aecc15d7c4 tc-testing: fix build of eBPF programs
d653bd939cb1 net: hns3: Fix for rx vlan id handle to support Rev 0x21 hardware
3bef7420e129 soc: fsl: bman_portals: defer probe after bman's probe
090122baa262 Input: silead - try firmware reload after unsuccessful resume
c13b00c39464 Input: st1232 - set INPUT_PROP_DIRECT property
205ae6b06288 i2c: zx2967: use core to detect 'no zero length' quirk
1698ed9f0e2f i2c: tegra: use core to detect 'no zero length' quirk
d511166558a4 i2c: qup: use core to detect 'no zero length' quirk
e0d9c58c49e6 i2c: omap: use core to detect 'no zero length' quirk
f3afad5d1eff gfs2: slow the deluge of io error messages
35c8125cbea4 media: cec-gpio: select correct Signal Free Time
58d0a3dbad2b media: ov5640: fix framerate update
47dd538e9c44 dmaengine: ioat: fix prototype of ioat_enumerate_channels
90d73c1cadb8 NFSv4.x: fix lock recovery during delegation recall
799c98cba071 printk: Correct wrong casting
e7ff1141b60c i2c: brcmstb: Allow enabling the driver on DSL SoCs
8b3e444fe8d0 clk: samsung: Use clk_hw API for calling clk framework from clk notifiers
599d5350f123 clk: samsung: exynos5420: Define CLK_SECKEY gate clock only or Exynos5420
06da39429640 clk: samsung: Use NOIRQ stage for Exynos5433 clocks suspend/resume
fe46630cd2a1 qtnfmac: drop error reports for out-of-bounds key indexes
4ecc631d975c qtnfmac: inform wireless core about supported extended capabilities
28d5342b2ae4 qtnfmac: pass sgi rate info flag to wireless core
5554e47a2946 qtnfmac: request userspace to do OBSS scanning if FW can not
75a1e8dec421 brcmfmac: fix full timeout waiting for action frame on-channel tx
c01258a2ad7d brcmfmac: reduce timeout for action frame scan
89cf2472a295 cpu/SMT: State SMT is disabled even with nosmt and without "=force"
8fce141f4805 mtd: physmap_of: Release resources on error
d46cd42b4ffa usb: dwc2: disable power_down on rockchip devices
3ad0531dbe0c USB: serial: cypress_m8: fix interrupt-out transfer length
24ce099a5388 KVM: PPC: Book3S PR: Exiting split hack mode needs to fixup both PC and LR
8b6021ca47a3 bnxt_en: return proper error when FW returns HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED
6e454b0ad02d ALSA: hda/sigmatel - Disable automute for Elo VuPoint
6925a5afc148 media: i2c: adv748x: Support probing a single output
a02bad04d110 media: rcar-vin: fix redeclaration of symbol
14dc7aeef3f4 media: pxa_camera: Fix check for pdev->dev.of_node
7672ca60a14a media: rc: ir-rc6-decoder: enable toggle bit for Kathrein RCU-676 remote
01e9e39f4f61 qed: Avoid implicit enum conversion in qed_ooo_submit_tx_buffers
d1dff747758f ata: ep93xx: Use proper enums for directions
6a70c66a84e0 powerpc/64s/radix: Explicitly flush ERAT with local LPID invalidation
9e4649e443e2 powerpc/time: Use clockevents_register_device(), fixing an issue with large decrementer
d7e546d06182 ASoC: qdsp6: q6asm-dai: checking NULL vs IS_ERR()
27ab8f1648ac cpuidle: menu: Fix wakeup statistics updates for polling state
38ad2aa9331b ACPICA: Never run _REG on system_memory and system_IO
216929d15b2c OPP: Return error on error from dev_pm_opp_get_opp_count()
3d0c72f99efc msm/gpu/a6xx: Force of_dma_configure to setup DMA for GMU
674b223d7a48 rpmsg: glink: smem: Support rx peak for size less than 4 bytes
ec9fc981de57 IB/mlx4: Avoid implicit enumerated type conversion
d5d78049b7a4 RDMA/hns: Limit the size of extend sge of sq
010af7a8d0ae RDMA/hns: Bugfix for CM test
5b7064adfb4b RDMA/hns: Submit bad wr when post send wr exception
af76265532a8 RDMA/hns: Bugfix for reserved qp number
350703fae672 IB/rxe: avoid srq memory leak
e3db306d1fda IB/mthca: Fix error return code in __mthca_init_one()
1b86b8ad6e47 ixgbe: Fix crash with VFs and flow director on interface flap
0e1fd69cff75 i40e: Use proper enum in i40e_ndo_set_vf_link_state
22b8d7e3bcb5 ixgbe: Fix ixgbe TX hangs with XDP_TX beyond queue limit
b69cfc4f2665 md: allow metadata updates while suspending an array - fix
4aa110048087 ice: Fix forward to queue group logic
d97a02b84879 clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines
31fb5ea6ed1b clocksource/drivers/sh_cmt: Fixup for 64-bit machines
0e8855ba9f9a tools: PCI: Fix compilation warnings
9372023e10ee PM / hibernate: Check the success of generating md5 digest before hibernation
ed896ddfae94 mtd: rawnand: sh_flctl: Use proper enum for flctl_dma_fifo0_transfer
83cda9ea1876 ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets
10551e574d79 ARM: dts: at91: at91sam9x5cm: fix addressable nand flash size
825d176a1049 ARM: dts: at91: sama5d4_xplained: fix addressable nand flash size
ab9928588283 powerpc/xive: Move a dereference below a NULL test
38d7fa28157e powerpc/pseries: Fix how we iterate over the DTL entries
a3576a228404 powerpc/pseries: Fix DTL buffer registration
b28aa87d081c cxgb4: Use proper enum in IEEE_FAUX_SYNC
efdacf2b7aa7 cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update
743ccf759e8e mei: samples: fix a signedness bug in amt_host_if_call()
cc7d996a4428 x86/PCI: Apply VMD's AERSID fixup generically
6cedfaffb4ac sunrpc: Fix connect metrics
7e4602eac666 clk: keystone: Enable TISCI clocks if K3_ARCH
6c487c0e877a ext4: fix build error when DX_DEBUG is defined
f2877a3c332d ALSA: hda: Fix mismatch for register mask and value in ext controller.
ae3765a0a33d dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
0c21aa9b5651 dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction
671ce9f892b9 printk: CON_PRINTBUFFER console registration is a bit racy
cd120df118d7 printk: Do not miss new messages when replaying the log
5a6f7274e67b KVM: PPC: Inform the userspace about TCE update failures
38374aa3c916 watchdog: w83627hf_wdt: Support NCT6796D, NCT6797D, NCT6798D
96505abd2435 watchdog: sama5d4: fix timeout-sec usage
26d6e542dc47 watchdog: renesas_wdt: stop when unregistering
f4cfb7eeae62 watchdog: core: fix null pointer dereference when releasing cdev
a9f36455edc1 irqchip/irq-mvebu-icu: Fix wrong private data retrieval
be4f5457a5fd nl80211: Fix a GET_KEY reply attribute
21ba66937e0d usb: dwc3: gadget: Check ENBLSLPM before sending ep command
639fce0bc8b5 usb: gadget: udc: fotg210-udc: Fix a sleep-in-atomic-context bug in fotg210_get_status()
f22a4d8cf049 selftests/tls: Fix recv(MSG_PEEK) & splice() test cases
475398b72984 ath9k: fix reporting calculated new FFT upper max
f6ec4fccbf9a PM / devfreq: stopping the governor before device_unregister()
fc491a1e77be PM / devfreq: Fix handling of min/max_freq == 0
b5add975c871 PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.
5f5a8d36749f ata: ahci_brcm: Allow using driver or DSL SoCs
4cfcb5379a9c rtlwifi: btcoex: Use proper enumerated types for Wi-Fi only interface
e5895e41aeb3 ath10k: fix vdev-start timeout on error
06cb99e6399d arm64/numa: Report correct memblock range for the dummy node
256a29480733 kvm: arm/arm64: Fix stage2_flush_memslot for 4 level page table
bae080e72e92 iommu/arm-smmu-v3: Fix unexpected CMD_SYNC timeout
2bab3df8f506 iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
741a445a88e4 mt76: fix handling ps-poll frames
ddb4299f1d78 mt76x2: disable WLAN core before probe
b14825a5c652 mt76x2: fix tx power configuration for VHT mcs 9
449b9ae3504c IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds
e0dee1c839e3 IB/hfi1: Error path MAD response size is incorrect
8d93707e7195 f2fs: keep lazytime on remount
a5f7bf0379d3 ACPI / LPSS: Resume BYT/CHT I2C controllers from resume_noirq
aa39d53f2b89 ACPI / LPSS: Make acpi_lpss_find_device() also find PCI devices
9372a40b54d0 SUNRPC: Fix priority queue fairness
43876b1ce42b tcp: up initial rmem to 128KB and SYN rwin to around 64KB
d2cacb6ac4ff ARM: dts: sun8i: h3: bpi-m2-plus: Fix address for external RGMII Ethernet PHY
ed220d3dcc79 ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block
ac02379889e2 f2fs: return correct errno in f2fs_gc
7cbac9d598a7 net: hns3: Fix loss of coal configuration while doing reset
af98283da9e9 net: hns3: Fix for netdev not up problem when setting mtu
7a1f314e3c80 ARM: dts: omap5: enable OTG role for DWC3 controller
789d29044793 ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode
6d286faeee74 net: xen-netback: fix return type of ndo_start_xmit function
c234566f1ea0 net: ovs: fix return type of ndo_start_xmit function
d51d9605888d bpf, x32: Fix bug for BPF_JMP | {BPF_JSGT, BPF_JSLE, BPF_JSLT, BPF_JSGE}
f3c40792cf4b bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_K shift by 0
a085f797449e bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_X shift by 0
860a7d18b9e6 bpf, x32: Fix bug for BPF_ALU64 | BPF_NEG
03543b9c5573 fbdev: Ditch fb_edid_add_monspecs
703662598b9c arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault
f8b09a043685 mm/memory_hotplug: fix updating the node span
6631def3ee38 mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span()
a16a3669273b idr: Fix idr_get_next race with idr_remove
4c62337d8f17 net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size()
17a82bc67728 Revert "OPP: Protect dev_list with opp_table lock"
4f4ab0b49cf2 tee: optee: add missing of_node_put after of_device_is_available
2008d0e3d364 i2c: mediatek: modify threshold passed to i2c_get_dma_safe_msg_buf()
976e944e005f spi: mediatek: use correct mata->xfer_len when in fifo transfer
c63ee2939dc1 Linux 4.19.85
e99d64837815 slcan: Fix memory leak in error path
e4cc9c81e230 memfd: Use radix_tree_deref_slot_protected to avoid the warning.
914834a73b16 net: phy: mdio-bcm-unimac: mark PM functions as __maybe_unused
2ed924f2782f s390/vdso: correct vdso mapping for compat tasks
1b904b2eb9c1 media: ov2680: fix null dereference at power on
0c3e32230bcc IB/iser: Fix possible NULL deref at iser_inv_desc()
d7b412e1448e fuse: use READ_ONCE on congestion_threshold and max_background
2e72489c822e usb: usbtmc: uninitialized symbol 'actual' in usbtmc_ioctl_clear
eb9b6c203870 usb: xhci-mtk: fix ISOC error when interval is zero
8ddec6aaad86 netfilter: masquerade: don't flush all conntracks if only one address deleted on device
ba8c4cc746a5 rtc: armada38x: fix possible race condition
44bb1b1256b5 rtc: tx4939: fixup nvmem name and register size
e7ab2bab7e60 rtc: isl1208: avoid possible sysfs race
70f0ead5c6af ARM: dts: lpc32xx: Fix SPI controller node names
8e359bce724c arm64: dts: lg: Fix SPI controller node names
f52a34b5b111 arm64: dts: amd: Fix SPI bus warnings
b26edaa53496 scsi: NCR5380: Check for bus reset
080b37aacd2b scsi: NCR5380: Handle BUS FREE during reselection
aa45f4ab86a2 scsi: NCR5380: Don't call dsprintk() following reselection interrupt
23635cf271a3 scsi: NCR5380: Don't clear busy flag when abort fails
aeb0ed2e5bb9 scsi: NCR5380: Check for invalid reselection target
98c6d8f8a401 scsi: NCR5380: Use DRIVER_SENSE to indicate valid sense data
1a46e4d3da31 scsi: NCR5380: Withhold disconnect privilege for REQUEST SENSE
624f60251f1a scsi: NCR5380: Have NCR5380_select() return a bool
873506e566ef scsi: NCR5380: Clear all unissued commands on host reset
fe5ef5fe3e19 iwlwifi: mvm: Allow TKIP for AP mode
c4a3dcb0a273 iwlwifi: mvm: use correct FIFO length
d395b6f51cf7 iwlwifi: pcie: fit reclaim msg to MAX_MSG_LEN
08d2000d2162 iwlwifi: pcie: gen2: build A-MSDU only for GSO
f4f0909f3d3f iwlwifi: api: annotate compressed BA notif array sizes
e455ecaf52da iwlwifi: pcie: read correct prph address for newer devices
c5eafde04ad3 iwlwifi: fix non_shared_ant for 22000 devices
f73c75560ffd iwlwifi: dbg: don't crash if the firmware crashes in the middle of a debug dump
98ca4f397feb crypto: fix a memory leak in rsa-kcs1pad's encryption mode
975b3c8dd182 crypto: s5p-sss: Fix Fix argument list alignment
ef089d9b58a7 crypto: s5p-sss: Fix race in error handling
d34465e722e7 x86/hyperv: Suppress "PCI: Fatal: No config space access function found"
23a4059cd6b8 Bluetooth: btrsi: fix bt tx timeout issue
245b2765e87c Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS
2c8946462f07 Bluetooth: hci_serdev: clear HCI_UART_PROTO_READY to avoid closing proto races
f416fe070ec1 firmware: dell_rbu: Make payload memory uncachable
5d3675e3e6d1 ARM: dts: realview: Fix SPI controller node names
57b78e41a397 EDAC: Raise the maximum number of memory controllers
352668d32cd5 RDMA: Fix dependencies for rdma_user_mmap_io
36ffc9a76df9 f2fs: mark inode dirty explicitly in recover_inode()
a4bd303d6774 f2fs: fix to recover inode's project id during POR
7bae8b6b73e4 f2fs: update i_size after DIO completion
9de276a804c7 PCI/ERR: Run error recovery callbacks for all affected devices
8738fd312e63 net: faraday: fix return type of ndo_start_xmit function
8ff333f3f819 net: smsc: fix return type of ndo_start_xmit function
4481669a3a95 ARM: dts: paz00: fix wakeup gpio keycode
4e9cf62e8ffb ARM: tegra: colibri_t30: fix mcp2515 can controller interrupt polarity
63c28c08e485 ARM: tegra: apalis_t30: fix mcp2515 can controller interrupt polarity
2241b82d7b3f ARM: tegra: apalis_t30: fix mmc1 cmd pull-up
1717eca134f2 ARM: dts: tegra20: restore address order
619f46726e66 ARM: dts: tegra30: fix xcvr-setup-use-fuses
70c4b0fb4fd5 arm64: tegra: I2C on Tegra194 is not compatible with Tegra114
e821b710b58d ARM: dts: imx51-zii-rdu1: Fix the rtc compatible string
a09b6731c4dd arm64: dts: fsl: Fix I2C and SPI bus warnings
2d6b885ba741 phy: lantiq: Fix compile warning
6fce50c100c8 f2fs: fix remount problem of option io_bits
c4a33c4ecc1f scsi: libsas: always unregister the old device if going to discover new
2f9d0f703b9c iw_cxgb4: Use proper enumerated type in c4iw_bar2_addrs
1ae5bfee6cff vfio/pci: Mask buggy SR-IOV VF INTx support
dde3433de9a0 vfio/pci: Fix potential memory leak in vfio_msi_cap_len
86f886e91dcf vmbus: keep pointer to ring buffer page
728a7552dc49 misc: genwqe: should return proper error value.
6707b1ba53be misc: kgdbts: Fix restrict error
890bee675729 silmbus: ngd: register controller after power up.
932980ed5b77 slimbus: ngd: return proper error code instead of zero
9874abd5c878 slimbus: ngd: register ngd driver only once.
614744f4e80e coresight: dynamic-replicator: Handle multiple connections
36aa9cd28c59 coresight: tmc: Fix byte-address alignment for RRP
0bb87d413aef coresight: etm4x: Configure EL2 exception level when kernel is running in HYP
a0e0ec0a5544 coresight: tmc-etr: Handle driver mode specific ETR buffers
1099665125ed coresight: perf: Disable trace path upon source error
87e382c3f706 coresight: perf: Fix per cpu path management
25deeb3c1b9f coresight: Fix handling of sinks
59a488998caf coresight: Use ERR_CAST instead of ERR_PTR
240293e02123 usb: gadget: uvc: Only halt video streaming endpoint in bulk mode
bb7c36e91d45 usb: gadget: uvc: Factor out video USB request queueing
c4635c27d3ac ARM: dts: imx6ull: update vdd_soc voltage for 900MHz operating point
a9c11660389c phy: phy-twl4030-usb: fix denied runtime access
6e176dd0e4c2 phy: renesas: rcar-gen3-usb2: fix vbus_ctrl for role sysfs
f0525581df5f phy: brcm-sata: allow PHY_BRCM_SATA driver to be built for DSL SoCs
ff0eabfaf4a4 ARM: at91: pm: call put_device instead of of_node_put in at91_pm_config_ws
1b23c28d87e7 gpiolib: Fix gpio_direction_* for single direction GPIOs
ec0b30347e4a i2c: aspeed: fix invalid clock parameters for very large divisors
de2875336ee8 ARM: dts: exynos: Correct audio subsystem parent clock on Peach Chromebooks
4e6c65624090 usb: gadget: uvc: configfs: Sort frame intervals upon writing
d036103870c6 usb: gadget: uvc: configfs: Prevent format changes after linking header
e6e1ad1e2537 usb: gadget: uvc: configfs: Drop leaked references to config items
b7ffda42d720 ARM: dts: rockchip: explicitly set vcc_sd0 pin to gpio on rk3188-radxarock
0b08daf034cc media: davinci: Fix implicit enum conversion warning
0994d0cb86ec media: au0828: Fix incorrect error messages
0e63f5db54d8 media: pci: ivtv: Fix a sleep-in-atomic-context bug in ivtv_yuv_init()
2dacea472335 media: imx: work around false-positive warning, again
1b73ea8377da mlxsw: Make MLXSW_SP1_FWREV_MINOR a hard requirement
9d2ce0611ad5 arm64: dts: rockchip: Fix microSD in rk3399 sapphire board
46a9bbe9d579 MIPS: kexec: Relax memory restriction
3b9528b302a6 EDAC: Correct DIMM capacity unit symbol
e897dd4cfdde x86/CPU: Change query logic so CPUID is enabled before testing
d26ad73be70f x86/CPU: Use correct macros for Cyrix calls
fd3f592b2af6 net: freescale: fix return type of ndo_start_xmit function
cab175f881c5 net: micrel: fix return type of ndo_start_xmit function
590ee2e0aec7 net: phy: mdio-bcm-unimac: Allow configuring MDIO clock divider
73cb54858021 samples/bpf: fix compilation failure
3536c05af6f4 PCI/ERR: Use slot reset if available
0729c5944eee PCI/AER: Don't read upstream ports below fatal errors
f3f55d83ea0d PCI/AER: Take reference on error devices
40ebd8b31fea bnx2x: Ignore bandwidth attention in single function mode
0769f445afa4 ARM: dts: stm32: Fix SPI controller node names
c6305dfb214b ARM: dts: clearfog: fix sdhci supply property name
b939d8b914d8 ARM: dts: stm32: enable display on stm32mp157c-ev1 board
098e12f385f9 x86/mce-inject: Reset injection struct after injection
aa190837bec5 ARM: dts: marvell: Fix SPI and I2C bus warnings
ccc8bf41dac8 crypto: arm/crc32 - avoid warning when compiling with Clang
9e70da12d01f cpufeature: avoid warning when compiling with clang
ad28c2ba4318 crypto: chacha20 - Fix chacha20_block() keystream alignment (again)
af4749d23d46 spi: pic32: Use proper enum in dmaengine_prep_slave_rg
c2f76a19fbc8 ARM: dts: ste: Fix SPI controller node names
4d22878d5894 ARM: dts: ux500: Fix LCDA clock line muxing
8be4d596d3f2 ARM: dts: ux500: Correct SCU unit address
dfc81686a642 f2fs: fix to recover inode's uid/gid during POR
c783946ea9b1 f2fs: avoid infinite loop in f2fs_alloc_nid
caab324d1b01 ARM: dts: ti: Fix SPI and I2C bus warnings
2cf6352a6d4c ARM: dts: am335x-evm: fix number of cpsw
1eeee2fd2e0c PCI: portdrv: Initialize service drivers directly
38bee3f3f280 mlxsw: spectrum: Init shaper for TCs 8..15
636cbdec5cf4 brcmsmac: Use kvmalloc() for ucode allocations
2980b6a81378 brcmfmac: increase buffer for obtaining firmware capabilities
59d6e59f32cc s390/vdso: correct CFI annotations of vDSO functions
84bfa03445bc s390/vdso: avoid 64-bit vdso mapping for compat tasks
3d510bdf35c2 s390/zcrypt: enable AP bus scan without a valid default domain
5e9923e85e1c usb: usbtmc: Fix ioctl USBTMC_IOCTL_ABORT_BULK_OUT
92aeb3756c43 usb: chipidea: Fix otg event handler
979f541851d9 usb: chipidea: imx: enable OTG overcurrent in case USB subsystem is already started
b39e733da3f8 nfp: provide a better warning when ring allocation fails
883843b5a912 net: hns3: Fix parameter type for q_id in hclge_tm_q_to_qs_map_cfg()
a1b2c39f3ec7 net: hns3: Fix client initialize state issue when roce client initialize failed
20f2b72faff0 net: hns3: Clear client pointer when initialize client failed or unintialize finished
ae95237256de net: hns3: Fix cmdq registers initialization issue for vf
110de23fc502 net: hns3: Fix for setting speed for phy failed problem
bd23121daecf net: sun: fix return type of ndo_start_xmit function
5d52c10c345d net: amd: fix return type of ndo_start_xmit function
0cd3edaf82e6 net: broadcom: fix return type of ndo_start_xmit function
63a0e0512dba net: xilinx: fix return type of ndo_start_xmit function
df9f5c799d85 net: toshiba: fix return type of ndo_start_xmit function
e50d7274104c net: marvell: fix return type of ndo_start_xmit function
28fae2d588be net: mvpp2: fix the number of queues per cpu for PPv2.2
0ede78b3576c power: supply: twl4030_charger: disable eoc interrupt on linear charge
773fb69e4307 power: supply: twl4030_charger: fix charging current out-of-bounds
0729f87b840a libfdt: Ensure INT_MAX is defined in libfdt_env.h
e000de3f01c5 of/unittest: Fix I2C bus unit-address error
4c64ce947cfa OPP: Protect dev_list with opp_table lock
51e509caf5fa ARM: dts: atmel: Fix I2C and SPI bus warnings
7cfb3b04d096 RDMA/i40iw: Fix incorrect iterator type
eb355ccfdf1d powerpc: Fix duplicate const clang warning in user access code
e7b37640916f powerpc/pseries: Disable CPU hotplug across migrations
9271304c26fc powerpc/pseries/memory-hotplug: Only update DT once per memory DLPAR request
0ab2545aa404 powerpc/64s/hash: Fix stab_rr off by one initialization
a3581509e890 selftests/powerpc: Do not fail with reschedule
089b169ceb80 powerpc/iommu: Avoid derefence before pointer check
13d5bc50f405 net: ibm: fix return type of ndo_start_xmit function
efe22c12087d net: cavium: fix return type of ndo_start_xmit function
279a4f77546a net: hns3: fix return type of ndo_start_xmit function
dd4b87a945c1 ipmi: fix return value of ipmi_set_my_LUN
ea944c71360f ipmi:dmi: Ignore IPMI SMBIOS entries with a zero base address
438bf726def0 ipmi_si: fix potential integer overflow on large shift
78538bae1dab ipmi_si_pci: fix NULL device in ipmi_si error message
5ab64c1633f6 ASoC: rt5682: Fix the boost volume at the begining of playback
6237e9d0715a spi: mediatek: Don't modify spi_transfer when transfer.
779c96ef3fac spi/bcm63xx-hsspi: keep pll clk enabled
eaa4d5ac4403 samples/bpf: fix a compilation failure
feb52253d738 arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2
1ea4603cc812 tty: serial: qcom_geni_serial: Fix serial when not used as console
87153f7a04c9 serial: mxs-auart: Fix potential infinite loop
400caa3d02ea serial: samsung: Enable baud clock for UART reset procedure in resume
30cfa3ebc0ed serial: uartps: Fix suspend functionality
bad4e6d3d40d ARM: dts: xilinx: Fix I2C and SPI bus warnings
d15e5038213e PCI: mediatek: Fix unchecked return value
80ec7fcb04a0 net: socionext: Fix two sleep-in-atomic-context bugs in ave_rxfifo_reset()
176f6203a4f4 PCI/ACPI: Correct error message for ASPM disabling
525552a0e849 media: ov2680: don't register the v4l2 subdevice before checking chip ID
f4683c89808f media: vsp1: Fix YCbCr planar formats pitch calculation
ee5a1460f271 media: vsp1: Fix vsp1_regs.h license header
2d7578285958 s390/qeth: invoke softirqs after napi_schedule()
66fb291b264d s390/qeth: uninstall IRQ handler on device removal
ccc1e600844d ath9k: Fix a locking bug in ath9k_add_interface()
e97d09277b77 netfilter: nf_tables: avoid BUG_ON usage
d1440f1a38eb ACPI / LPSS: Exclude I2C busses shared with PUNIT from pmc_atom_d3_mask
75fd1aec33c6 arm64: dts: rockchip: Fix I2C bus unit-address error on rk3399-puma-haikou
5fc9af407fc5 ARM: dts: rockchip: Fix erroneous SPI bus dtc warnings on rk3036
0592c2178e3c scsi: ufshcd: Fix NULL pointer dereference for in ufshcd_init
6745591c8da9 ip_gre: fix parsing gre header in ipgre_err
ada2a0f1ac54 kernfs: Fix range checks in kernfs_get_target_path
5fba81510697 component: fix loop condition to call unbind() if bind() fails
925c19a8c6bb power: supply: max8998-charger: Fix platform data retrieval
82d8a34470e9 power: reset: at91-poweroff: do not procede if at91_shdwc is allocated
1fb3d279a384 power: supply: ab8500_fg: silence uninitialized variable warnings
c9398259cf85 arm64: dts: meson: Fix erroneous SPI bus warnings
89f4d27c1bcd blok, bfq: do not plug I/O if all queues are weight-raised
6c9a79651bff block, bfq: inject other-queue I/O into seeky idle queues on NCQ flash
6d7757f04866 arm64: fix for bad_mode() handler to always result in panic
7f49a2210e85 cxgb4: Fix endianness issue in t4_fwcache()
b0cb2d8164d0 android: binder: no outgoing transaction when thread todo has transaction
31e470f92d9e ARM: dts: sun9i: Fix I2C bus warnings
0989aa65bc37 pinctrl: at91: don't use the same irqchip with multiple gpiochips
d1b9d321df35 ARM: dts: sunxi: Fix I2C bus warnings
8ac08053744c ARM: dts: socfpga: Fix I2C bus unit-address error
e70ccd8a13a9 powerpc/vdso: Correct call frame information
11d7842812f8 ARM: dts: aspeed: Fix I2C bus warnings
5a8130ed237f ARM: dts: bcm: Fix SPI bus warnings
08ffefc8e7ed arm64: dts: broadcom: Fix I2C and SPI bus warnings
174e8262f08a drivers: qcom: rpmh-rsc: clear wait_for_compl after use
09c8a33ed766 soc: qcom: apr: Avoid string overflow
6651ecf92f3c soc: qcom: wcnss_ctrl: Avoid string overflow
4a2c4d1a0b6b soc: qcom: geni: geni_se_clk_freq_match() should always accept multiples
331ed266987e soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()
b0826d4774c2 ARM: dts: qcom: ipq4019: fix cpu0's qcom,saw2 reg value
9a484516a410 llc: avoid blocking in llc_sap_close()
50e40ebcaa32 pinctrl: at91-pio4: fix has_config check in atmel_pctl_dt_subnode_to_map()
3f57f7387db2 arm64: dts: renesas: r8a77965: Fix clock/reset for usb2_phy1
7ed1974d2b03 arm64: dts: renesas: r8a77965: Fix HS-USB compatible
dc521bf8ffda arm64: dts: renesas: r8a77965: Attach the SYS-DMAC to the IPMMU
1badf45f08b3 arm64: dts: renesas: salvator-common: adv748x: Override secondary addresses
20f93eb9194c ALSA: intel8x0m: Register irq handler after register initializations
e80e83fb0106 arm64: dts: meson-axg: use the proper compatible for ethmac
2694107888a5 arm64: dts: meson: libretech: update board model
3804f9dd8f76 net: bcmgenet: Fix speed selection for reverse MII
914282c62ab2 media: dvb: fix compat ioctl translation
03056f8c725a media: fix: media: pci: meye: validate offset to avoid arbitrary access
fe384ab1496c ALSA: hda: Fix implicit definition of pci_iomap() on SH
6281d021bbb3 media: dt-bindings: adv748x: Fix decimal unit addresses
88e9f8198dd5 nvmem: core: return error code instead of NULL from nvmem_device_get
b0d54e40f3c4 Drivers: hv: vmbus: Fix synic per-cpu context initialization
a1d374ea1e95 net: aquantia: fix hw_atl_utils_fw_upload_dwords
a9cab0fe6e26 kprobes: Don't call BUG_ON() if there is a kprobe in use on free list
7aea0bd886ae scsi: pm80xx: Fixed system hang issue during kexec boot
a66a544dca32 scsi: pm80xx: Corrected dma_unmap_sg() parameter
ac892349e21b ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set
86d5ceaea04c scsi: sym53c8xx: fix NULL pointer dereference panic in sym_int_sir()
66b2e4c7afd0 scsi: lpfc: Fix errors in log messages.
87c32dbd7eff scsi: lpfc: Correct invalid EQ doorbell write on if_type=6
8caed6a5d385 scsi: lpfc: Fix GFT_ID and PRLI logic for RSCN
050e019c2d69 scsi: qla2xxx: Fix duplicate switch's Nport ID entries
c7ddd7ba1d05 scsi: qla2xxx: Fix dropped srb resource.
8c32664a6a0d scsi: qla2xxx: Fix port speed display on chip reset
3e3a2c5c4569 scsi: qla2xxx: Check for Register disconnect
3a7ec92a5b2a scsi: qla2xxx: Increase abort timeout value
5320b946687a scsi: qla2xxx: Fix deadlock between ATIO and HW lock
6f6e01ff7413 scsi: qla2xxx: Terminate Plogi/PRLI if WWN is 0
f91811dd9501 scsi: qla2xxx: Defer chip reset until target mode is enabled
667bdc46aa4e scsi: qla2xxx: Fix iIDMA error
ca35c5a1cb21 scsi: qla2xxx: Use correct qpair for ABTS/CMD
a1f14df33c05 f2fs: fix setattr project check upon fssetxattr ioctl
7b55102cdc61 f2fs: fix memory leak of percpu counter in fill_super()
883037308018 f2fs: fix memory leak of write_io in fill_super()
e5b515f56626 signal: Properly deliver SIGSEGV from x86 uprobes
91c3a88054c1 signal: Properly deliver SIGILL from uprobes
3b5681d39fa4 signal: Always ignore SIGKILL and SIGSTOP sent to the global init
93ae4ded2abe IB/hfi1: Missing return value in error path for user sdma
45d0ddf97448 RDMA/hns: Fix an error code in hns_roce_v2_init_eq_table()
8edddc2cf3c1 dmaengine: at_xdmac: remove a stray bottom half unlock
9234fbbd7782 ath9k: add back support for using active monitor interfaces for tx99
82663f99cbdf rtc: pl030: fix possible race condition
5a869e9828e8 rtc: mt6397: fix possible race condition
0773f03aebdd EDAC, sb_edac: Return early on ADDRV bit and address type test
fc7be6308364 dmaengine: dma-jz4780: Further residue status fix
f6d4561cae3a dmaengine: dma-jz4780: Don't depend on MACH_JZ4780
a34ea3ddc763 usb: mtu3: disable vbus rise/fall interrupts of ltssm
a5d1ffee2f2f ARM: dts: exynos: Disable pull control for PMIC IRQ line on Artik5 board
67e477d8eaa0 arm64: dts: rockchip: Fix VCC5V0_HOST_EN on rk3399-sapphire
4c884128b414 firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings
d786bf93f0c5 sched/debug: Use symbolic names for task state constants
e4e522609854 sched/debug: Explicitly cast sched_feat() to bool
0ddcbbf4cd47 failover: Fix error return code in net_failover_create
eca5b74e0080 f2fs: submit bio after shutdown
0f9c9a216288 ARM: dts: omap3-gta04: keep vpll2 always on
d59817b0ca62 ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot
6b268c233df7 ARM: dts: omap3-gta04: fix touchscreen tsc2007
96907aa1ab3c ARM: dts: omap3-gta04: tvout: enable as display1 alias
8f03a5116e9d ARM: dts: omap3-gta04: fixes for tvout / venc
5cacb026fe26 ARM: dts: omap3-gta04: give spi_lcd node a label so that we can overwrite in other DTS files
69116e3bae2b of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC
cc5f462c1b08 ata: Disable AHCI ALPM feature for Ampere Computing eMAG SATA
3d5d2f7806a9 ASoC: Intel: hdac_hdmi: Limit sampling rates at dai creation
0376916b7b2c ASoC: dapm: Avoid uninitialised variable warning
0204720dde67 udf: Fix crash during mount
52cda4c1d9cd mips: txx9: fix iounmap related issue
f63587cbb091 RDMA/core: Follow correct unregister order between sysfs and cgroup
6b827d38cead RDMA/core: Rate limit MAD error messages
a618cca0438b IB/ipoib: Ensure that MTU isn't less than minimum permitted
2543eeba256a IB/mlx5: Don't hold spin lock while checking device state
4d8d651e1c5f i2c: mediatek: Use DMA safe buffers for i2c transactions
d0d8f0efb6bd ath10k: wmi: disable softirq's while calling ieee80211_rx
14c9bc4be084 ARM: dts: exynos: Disable pull control for S5M8767 PMIC
588822fcb313 ath10k: avoid possible memory access violation
34293775f117 ASoC: sgtl5000: avoid division by zero if lo_vag is zero
6cbd0932ab9a rtnetlink: move type calculation out of loop
4b702fdd6e7e net: lan78xx: Bail out if lan78xx_get_endpoints fails
23ad83c399b0 f2fs: avoid wrong decrypted data from disk
b6410b95c224 cfg80211: validate wmm rule when setting
8d705195a9a3 mac80211: fix saving a few HE values
4d146d72687e qxl: fix null-pointer crash during suspend
f5ee703ff92c IB/mlx5: Change TX affinity assignment in RoCE LAG mode
5128ea974c22 mtd: rawnand: qcom: don't include dma-direct.h
d6ebf70120c6 mtd: rawnand: fsl_ifc: fixup SRAM init for newer ctrl versions
29535bafb64b mtd: rawnand: fsl_ifc: check result of SRAM initialization
6ae8c86ee458 mtd: rawnand: marvell: use regmap_update_bits() for syscon access
6c7644ad22ae ARM: dts: meson8b: fix the clock controller register size
e39779f6ea67 ARM: dts: meson8: fix the clock controller register size
6da9a4a98215 net: phy: mscc: read 'vsc8531, edge-slowdown' as an u32
77f9e263e296 net: phy: mscc: read 'vsc8531,vddmac' as an u32
5dc1cbcff700 net/mlx5: Fix atomic_mode enum values
b5f6d6de5b12 net: hns3: Change the dst mac addr of loopback packet
f995b2efa439 net: hns3: Fix for loopback selftest failed problem
d01caf35564c net: hns3: Fix error of checking used vlan id
4aea8f76727e net: hns3: Fix for multicast failure
e5f48f8eff66 ASoC: rsnd: ssi: Fix issue in dma data address assignment
0b8e8bddc5c0 soc: imx: gpc: fix PDN delay
7f88d806443f mt76: Fix comparisons with invalid hardware key index
1f54ec5b3047 brcmfmac: fix wrong strnchr usage
f05f8607622c mwifex: free rx_cmd skb in suspended state
6c27b9267a84 mwifiex: do no submit URB in suspended state
cd554b025c09 rtl8187: Fix warning generated when strncpy() destination length matches the sixe argument
c495a8c78b50 ARM: dts: pxa: fix power i2c base address
72e13203c56d ARM: dts: pxa: fix the rtc controller
fe9048c7bb38 media: ov772x: Disable clk on error path
b489c1e010e4 media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers
5a21c7a0b592 media: vicodec: fix out-of-range values when decoding
17743861edc7 iwlwifi: mvm: avoid sending too many BARs
75de80e11e6b iwlwifi: don't WARN on trying to dump dead firmware
ecedae02e89d iwlwifi: drop packets with bad status in CD
02adbecf542e IB/rxe: fixes for rdma read retry
cad889676bdb IB/rxe: avoid back-to-back retries
ac0ab821c4d5 i40e: Prevent deleting MAC address from VF when set by PF
712d35e0d2c1 i40evf: cancel workqueue sync for adminq when a VF is removed
e5d3afbe3a5c i40e: hold the rtnl lock on clearing interrupt scheme
f9a84bbd3ca6 i40evf: Don't enable vlan stripping when rx offload is turned on
fe301cf64f7e i40e: Check and correct speed values for link on open
8d7e6ab3b5d2 i40evf: set IFF_UNICAST_FLT flag for the VF
015fc5251996 i40e: use correct length for strncpy
a90fcbdb9b22 i40evf: Validate the number of queues a PF sends
2da61f212f4d ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks
d4e5c8aeb198 arm64: dts: stratix10: i2c clock running out of spec
b0bac46b52a9 liquidio: fix race condition in instruction completion processing
b2e427c268f3 ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook
0b53b56287ab ARM: dts: exynos: Fix HDMI-HPD line handling on Arndale
0baa3fe5805e ARM: dts: exynos: Use i2c-gpio for HDMI-DDC on Arndale
8e6acc5ee14d MIPS: BCM47XX: Enable USB power on Netgear WNDR3400v3
7c68184fced7 pinctrl: ingenic: Probe driver at subsys_initcall
8ddea21d4c0b ASoC: AMD: Change MCLK to 48Mhz
bdb7368ac333 ASoC: meson: axg-fifo: report interrupt request failure
aac9381b2ca8 ASoC: dpcm: Properly initialise hw->rate_max
ac66c0c470a3 ASoC: dapm: Don't fail creating new DAPM control on NULL pinctrl
d3a45d4d6f2d ice: Fix and update driver version string
48b128cddb91 gfs2: Don't set GFS2_RDF_UPTODATE when the lvb is updated
9ca72984d7c0 ice: Prevent control queue operations during reset
a881088f512e ice: Update request resource command to latest specification
f71230e6898e ath10k: limit available channels via DT ieee80211-freq-limit
8cad5d80f8d0 wil6210: fix invalid memory access for rx_buff_mgmt debugfs
bcaabaa75eeb wil6210: prevent usage of tx ring 0 for eDMA
acf041edec0a wil6210: set edma variables only for Talyn-MB devices
be039c973093 wil6210: drop Rx multicast packets that are looped-back to STA
1b0581bf379f ath9k: fix tx99 with monitor mode interface
a618e2069783 ath10k: skip resetting rx filter for WCN3990
f7b2312c68a8 ALSA: seq: Do error checks at creating system ports
c2f459d3340f cfg80211: Avoid regulatory restore when COUNTRY_IE_IGNORE is set
d377d63a9228 extcon: cht-wc: Return from default case to avoid warnings
7575a34ed101 remoteproc/davinci: Use %zx for formating size_t
c2dca83e9e83 rtc: rv8803: fix the rv8803 id in the OF table
5a408693b414 rtc: sysfs: fix NULL check in rtc_add_groups()
a01d6a320440 ARM: dts: at91/trivial: Fix USART1 definition for at91sam9g45
ea6a25cd2d41 ARM: dts: rcar: Correct SATA device sizes to 2 MiB
32d3fe68d20e y2038: make do_gettimeofday() and get_seconds() inline
5a830803b593 arm64: dts: tegra210-p2180: Correct sdmmc4 vqmmc-supply
a124e7f2fecf soc/tegra: pmc: Fix pad voltage configuration for Tegra186
90cfef191a30 ALSA: pcm: signedness bug in snd_pcm_plug_alloc()
e84cb5882da6 arm64: dts: allwinner: a64: NanoPi-A64: Fix DCDC1 voltage
3bbce894d52d arm64: dts: allwinner: a64: Olinuxino: fix DRAM voltage
d304218f959e arm64: dts: allwinner: a64: Orange Pi Win: Fix SD card node
030f6397eb89 soundwire: intel: Fix uninitialized adev deref
4b4153b7d6af soundwire: Initialize completion for defer messages
38d1ecc23e3e clk: sunxi-ng: h6: fix PWM gate/reset offset
6c0fcc727ff0 iio: dac: mcp4922: fix error handling in mcp4922_write_raw
f125d1831402 ath10k: fix kernel panic by moving pci flush after napi_disable
75a600d7f062 tee: optee: take DT status property into account
cd3de5870c80 iio: adc: max9611: explicitly cast gain_selectors
a6bb63183de2 mmc: sdhci-of-at91: fix quirk2 overwrite
b4bc6498c39b mm: hugetlb: switch to css_tryget() in hugetlb_cgroup_charge_cgroup()
bb1bc2d8231c mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm()
653d9e0c55bf mm: mempolicy: fix the wrong return value and potential pages leak of mbind
5b1c342fc3e0 iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros
29dcbbb5ab0a net: ethernet: dwmac-sun8i: Use the correct function in exit path
bdae2f7b2031 ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either
beb3860c2e0e ecryptfs_lookup_interpose(): lower_dentry->d_inode is not stable
1a48aaabf1cd i2c: acpi: Force bus speed to 400KHz if a Silead touchscreen is present
9ace24bba657 IB/hfi1: Use a common pad buffer for 9B and 16B packets
6ec4a5498ee5 IB/hfi1: Ensure full Gen3 speed in a Gen4 system
1f3bbf9f0adc Input: synaptics-rmi4 - destroy F54 poller workqueue when removing
5c9fd709c5f5 Input: synaptics-rmi4 - clear IRQ enables for F54
fbe9849f79aa Input: synaptics-rmi4 - do not consume more data than we have (F11, F12)
924a8f2c745a Input: synaptics-rmi4 - disable the relative position IRQ in the F12 driver
8e347aa4e04b Input: synaptics-rmi4 - fix video buffer size
c02230815282 Input: ff-memless - kill timer in destroy()
47d06a15f25a Btrfs: fix log context list corruption after rename exchange operation
f2465526866a ALSA: usb-audio: Fix incorrect size check for processing/extension units
420433f6cf5c ALSA: usb-audio: Fix incorrect NULL check in create_yamaha_midi_quirk()
ab2ee4299b7e ALSA: usb-audio: not submit urb for stopped endpoint
a2c763cd9609 ALSA: usb-audio: Fix missing error check at mixer resolution test
edc471038b48 slip: Fix memory leak in slip_open error path
4cd50a31ac9e net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules
0a772b2ac696 net: gemini: add missed free_netdev
66daa05750a9 ipmr: Fix skb headroom in ipmr_get_route().
20beeb30083e ax88172a: fix information leak on short answers
c4a0f567e652 scsi: core: Handle drivers which set sg_tablesize to zero
81adf034d5d6 MIPS: BCM63XX: fix switch core reset on BCM6368
dbf1ef2dc0d5 KVM: x86: introduce is_pae_paging
(From OE-Core rev: 064811c18fe26c7d9bc84f86047325e25e2a1001)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
67c4ef96da8e Linux 5.2.24
b65008090e4e blk-rq-qos: fix first node deletion of rq_qos_del()
660039a1505a opp: of: drop incorrect lockdep_assert_held()
915ff97f555d PCI: PM: Fix pci_power_up()
160278e4d967 xen/netback: fix error path of xenvif_connect_data()
cb67e6c61f1b ceph: just skip unrecognized info in ceph_reply_info_extra
216d0d68a639 cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown
e1f8c7185612 memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()'
2a25e88d19a9 KVM: PPC: Book3S HV: XIVE: Ensure VP isn't already in use
83a4472477a0 btrfs: tracepoints: Fix bad entry members of qgroup events
f861e5d90514 btrfs: tracepoints: Fix wrong parameter order for qgroup events
e9ee3be6143d Btrfs: check for the full sync flag while holding the inode lock during fsync
dea5fb68615d Btrfs: fix qgroup double free after failure to reserve metadata for delalloc
e79a8938b3db btrfs: don't needlessly create extent-refs kernel thread
ea54be3ae39e Btrfs: add missing extents release on file extent cluster relocation error
350af44ebf89 btrfs: block-group: Fix a memory leak due to missing btrfs_put_block_group()
2598b914d8e7 pinctrl: armada-37xx: swap polarity on LED group
c2c5f397f100 pinctrl: armada-37xx: fix control of pins 32 and up
e7592916ea17 pinctrl: cherryview: restore Strago DMI workaround for all versions
d799e86fafb6 x86/hyperv: Make vapic support x2apic mode
a1b5e414e2f0 x86/apic/x2apic: Fix a NULL pointer deref when handling a dying cpu
753cf99522be x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area
6112a6de4c94 irqchip/sifive-plic: Switch to fasteoi flow
e0b798bf1f89 dm cache: fix bugs when a GFP_NOWAIT allocation fails
01201d4129db fs/dax: Fix pmd vs pte conflict detection
26b699f52cdd tracing: Fix race in perf_trace_buf initialization
20c15650fac8 perf/aux: Fix AUX output stopping
a4c470b4ce43 cifs: Fix missed free operations
ef349a5dbe21 CIFS: avoid using MID 0xFFFF
9153eea1aef9 EDAC/ghes: Fix Use after free in ghes_edac remove path
2c05afe496d9 parisc: Fix vmap memory leak in ioremap()/iounmap()
c422c3941ebd s390/kaslr: add support for R_390_GLOB_DAT relocation type
4d81f7b538a9 s390/zcrypt: fix memleak at release
b641f048fd85 xtensa: fix change_bit in exclusive access option
63ef015fd0d6 xtensa: drop EXPORT_SYMBOL for outs*/ins*
607aad67d79e zram: fix race between backing_dev_show and backing_dev_store
fa13957c99d1 mm/memory-failure: poison read receives SIGKILL instead of SIGBUS if mmaped more than once
ef506f2a8158 hugetlbfs: don't access uninitialized memmaps in pfn_range_valid_gigantic()
9585141a3645 mm: memblock: do not enforce current limit for memblock_phys* family
2da60e78efbf mm: memcg: get number of pages on the LRU list in memcgroup base on lru_zone_size
1c72ac7b41e4 mm, compaction: fix wrong pfn handling in __reset_isolation_pfn()
714213ef3a7a mm/page_owner: don't access uninitialized memmaps when reading /proc/pagetypeinfo
5180116dff45 mm/slub: fix a deadlock in show_slab_objects()
224b4490619c mm/memory-failure.c: don't access uninitialized memmaps in memory_failure()
94d4f140cfb9 mmc: sdhci-omap: Fix Tuning procedure for temperatures < -20C
a76022591624 mmc: cqhci: Commit descriptors before setting the doorbell
ca380ac56424 mmc: mxs: fix flags passed to dmaengine_prep_slave_sg
6bc5498c702e fs/proc/page.c: don't access uninitialized memmaps in fs/proc/page.c
ff7e418c7e8e drivers/base/memory.c: don't access uninitialized memmaps in soft_offline_page_store()
f364590d8ab4 drm/amdgpu/uvd7: fix allocation size in enc ring test (v2)
363471d25d92 drm/amdgpu/uvd6: fix allocation size in enc ring test (v2)
78bc8daa826d drm/amdgpu/vcn: fix allocation size in enc ring test
edd872deff06 drm/amdgpu/vce: fix allocation size in enc ring test
d1f35310fac2 drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1
1f2551687ba9 drm/panfrost: Handle resetting on timeout better
5c2e8711136e drm/ttm: Restore ttm prefaulting
59a21feaf42c drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50
180a1b6fef83 mac80211: Reject malformed SSID elements
930b9ba2a46d iwlwifi: pcie: change qu with jf devices to use qu configuration
de326ae7e864 ACPI: CPPC: Set pcc_data[pcc_ss_id] to NULL in acpi_cppc_processor_exit()
136bd113a26a ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting
11861621576c Input: st1232 - fix reporting multitouch coordinates
1ac8d0c02e34 Input: synaptics-rmi4 - avoid processing unknown IRQs
0337cdfd1172 Input: da9063 - fix capability and drop KEY_SLEEP
38d23aa7eaeb scsi: ch: Make it possible to open a ch device multiple times again
ea6645c4fb39 scsi: core: try to get module before removing device
77957d171255 scsi: core: save/restore command resid for error handling
1feb8a7203f8 scsi: sd: Ignore a failure to sync cache due to lack of authorization
9f1c82f12b62 scsi: zfcp: fix reaction on bit error threshold notification
e8c96fb7e7f3 staging: kpc2000: fix integer overflow with left shifts
529ca74d5730 staging: wlan-ng: fix exit return when sme->key_idx >= NUM_WEPKEYS
5f65debeb6f6 MIPS: tlbex: Fix build_restore_pagemask KScratch restore
0a496dac91ac binder: Don't modify VMA bounds in ->mmap handler
b7a359f53d87 USB: ldusb: fix read info leaks
72665117bd21 USB: ldusb: fix memleak on disconnect
a93c0f8a448e USB: serial: ti_usb_3410_5052: fix port-close races
e6c0a2973542 usb: udc: lpc32xx: fix bad bit shift operation
609978137cc2 ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers
7ebfbd60d38b ALSA: hda/realtek - Enable headset mic on Asus MJ401TA
33bac14d01de ALSA: hda/realtek - Add support for ALC711
d46df68073e6 USB: legousbtower: fix memleak on disconnect
7585815e0141 io_uring: fix bad inflight accounting for SETUP_IOPOLL|SETUP_SQTHREAD
b0c129ccba46 rxrpc: use rcu protection while reading sk->sk_user_data
5cfde84829d4 netdevsim: Fix error handling in nsim_fib_init and nsim_fib_exit
b8ce2c4f92e3 net: phy: micrel: Update KSZ87xx PHY name
61ece488ec6a net: phy: micrel: Discern KSZ8051 and KSZ8795 PHYs
2e2eadc05885 net: aquantia: correctly handle macvlan and multicast coexistence
10ebf6d7c7ab net: aquantia: do not pass lro session with invalid tcp checksum
b48166bebe46 net: aquantia: when cleaning hw cache it should be toggled
1d3a96408673 net: aquantia: temperature retrieval fix
ef857690724a sctp: change sctp_prot .no_autobind with true
8748438651fe sched: etf: Fix ordering of packets with same txtime
502ead97c900 rxrpc: Fix possible NULL pointer access in ICMP handling
0f0957b39c65 net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow
c96d1c298473 net: ipv6: fix listify ip6_rcv_finish in case of forwarding
792dffb6c25f net/ibmvnic: Fix EOI when running in XIVE mode.
1eff1ddb41d1 net: i82596: fix dma_alloc_attr for sni_82596
789b5b2296d0 net: bcmgenet: Set phydev->dev_flags only for internal PHYs
26b5aad017f8 net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3
39b4db2c205f net: avoid potential infinite loop in tc_ctl_action()
f6e58b1a1237 ipv4: Return -ENETUNREACH if we can't create route but saddr is valid
15136dd27a2a ipv4: fix race condition between route lookup and invalidation
04a68067f471 nvme: change nvme_passthru_cmd64 to explicitly mark rsvd
7e42a8fc20bc nvme-pci: Set the prp2 correctly when using more than 4k page
f6a8d244495e ocfs2: fix panic due to ocfs2_wq is null
dd9fa2a089de Revert "drm/radeon: Fix EEH during kexec"
8129be7b7cf1 md/raid0: fix warning message for parameter default_layout
8cf008b91833 libata/ahci: Fix PCS quirk application
22d516a43782 net_sched: fix backward compatibility for TCA_ACT_KIND
ba69d901e036 net_sched: fix backward compatibility for TCA_KIND
b826ad4c7669 filldir[64]: remove WARN_ON_ONCE() for bad directory entries
9df0c66d5143 uaccess: implement a proper unsafe_copy_to_user() and switch filldir over to it
30043672b8e6 Make filldir[64]() verify the directory entry filename is valid
2fcaa9a2e8c9 elf: don't use MAP_FIXED_NOREPLACE for elf executable mappings
a9397425edf9 Convert filldir[64]() from __put_user() to unsafe_put_user()
0c03d3d9a998 namespace: fix namespace.pl script to support relative paths
e5df7c23ef1c net: phy: fix write to mii-ctrl1000 register
e6378e134543 net: phy: allow for reset line to be tied to a sleepy GPIO controller
3951482af0d5 r8152: Set macpassthru in reset_resume callback
85e2c81d8964 s390/mm: fix -Wunused-but-set-variable warnings
fbd0915567ea lib: textsearch: fix escapes in example code
2cf2b8c86277 selftests: kvm: Fix libkvm build error
54cccd9f3fd0 net: hisilicon: Fix usage of uninitialized variable in function mdio_sc_cfg_reg_write()
8f634c4755d6 mips: Loongson: Fix the link time qualifier of 'serial_exit()'
009d3d7135af drm/amd/display: memory leak
d0d9f70beb32 drm/amdgpu: fix multiple memory leaks in acp_hw_init
9cac23841d31 RISC-V: Clear load reservations while restoring hart contexts
a1fffbb6cfd8 net: stmmac: Correctly take timestamp for PTPv2
b115b9832dc2 net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name
45f3a8886a6a netfilter: nft_connlimit: disable bh on garbage collection
420a015ed643 mac80211: fix txq null pointer dereference
51340f3579a0 nl80211: fix null pointer dereference
0e53662be2aa loop: change queue block size to match when using DIO
0ce37f356397 xen/efi: Set nonblocking callbacks
fe4b184d832e MIPS: dts: ar9331: fix interrupt-controller size
fa7e74d07aaa net: dsa: qca8k: Use up to 7 ports for all operations
12afa6d96de4 ARM: dts: am4372: Set memory bandwidth limit for DISPC
c41a0bf4ba4d ieee802154: ca8210: prevent memory leak
4cbc0b08406d nvme-rdma: fix possible use-after-free in connect timeout
61c456e74461 nvme: allow 64-bit results in passthru commands
e3e3c343b869 Added QUIRKs for ADATA XPG SX8200 Pro 512GB
e3f58f778cee nvme: fix an error code in nvme_init_subsystem()
902c726061a9 nvme-tcp: fix wrong stop condition in io_work
9f1ce805b4fc ARM: OMAP2+: Fix warnings with broken omap2_set_init_voltage()
64719bd78a0b ARM: OMAP2+: Add missing LCDC midlemode for am335x
4b6e2a327e7c ARM: OMAP2+: Fix missing reset done flag for am3 and am43
db825fd99455 ARM: dts: Fix gpio0 flags for am335x-icev2
0e65dece86ca scsi: qla2xxx: Fix unbound sleep in fcport delete path.
950b905e2cbe scsi: qla2xxx: Silence fwdump template message
276ae12e3b8d scsi: megaraid: disable device when probe failed after enabled device
e8d688a3f957 scsi: ufs: skip shutdown if hba is not powered
a1318847f2d5 nvme-pci: Fix a race in controller removal
f1f8bc4e1d87 ARM: dts: Fix wrong clocks for dra7 mcasp
d1a356d53545 clk: ti: dra7: Fix mcasp8 clock bits
6e16a5de5c09 drm: Clear the fence pointer when writeback job signaled
5cc2a052ef35 RDMA/cxgb4: Do not dma memory off of the stack
60f32e5e3ae6 usb: dwc3: pci: prevent memory leak in dwc3_pci_probe
7a745fd3fdc5 ASoC: SOF: ipc: Fix memory leak in sof_set_get_large_ctrl_data
240452393720 net: dsa: sja1105: Prevent leaking memory
c9ed1ddd76de iwlwifi: pcie: fix memory leaks in iwl_pcie_ctxt_info_gen3_init
(From OE-Core rev: c54b02ab238fe7682a0beac2f2afeb418406dd48)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
c555efaf1402 Linux 4.19.84
46a4a014c48e kvm: x86: mmu: Recovery of shattered NX large pages
6082f2e28887 kvm: Add helper function for creating VM worker threads
5219505fcbb6 kvm: mmu: ITLB_MULTIHIT mitigation
db77548b1652 KVM: vmx, svm: always run with EFER.NXE=1 when shadow paging is active
37dfbc8ba763 KVM: x86: add tracepoints around __direct_map and FNAME(fetch)
9ef1fae24d58 KVM: x86: change kvm_mmu_page_get_gfn BUG_ON to WARN_ON
b182093d1c70 KVM: x86: remove now unneeded hugepage gfn adjustment
e79234ce5765 KVM: x86: make FNAME(fetch) and __direct_map more similar
8aaac3068623 kvm: mmu: Do not release the page inside mmu_set_spte()
30d8d8d6cd92 kvm: Convert kvm_lock to a mutex
a991063ce576 kvm: x86, powerpc: do not allow clearing largepages debugfs entry
580c79e7e3e5 Documentation: Add ITLB_MULTIHIT documentation
db5ae6596ae2 cpu/speculation: Uninline and export CPU mitigations helpers
955607466ace x86/cpu: Add Tremont to the cpu vulnerability whitelist
f9aa6b73a407 x86/bugs: Add ITLB_MULTIHIT bug infrastructure
415bb221a070 x86/speculation/taa: Fix printing of TAA_MSG_SMT on IBRS_ALL CPUs
4ad7466ddf2d x86/tsx: Add config options to set tsx=on|off|auto
e3bf6b3ff55a x86/speculation/taa: Add documentation for TSX Async Abort
2402432d5557 x86/tsx: Add "auto" option to the tsx= cmdline parameter
a0808f06dfa1 kvm/x86: Export MDS_NO=0 to guests when TSX is enabled
15dfa5d706df x86/speculation/taa: Add sysfs reporting for TSX Async Abort
6c58ea8525bf x86/speculation/taa: Add mitigation for TSX Async Abort
b8eb348ae408 x86/cpu: Add a "tsx=" cmdline option with TSX disabled by default
37cf9ef900cc x86/cpu: Add a helper function x86_read_arch_cap_msr()
4002d16a2ae1 x86/msr: Add the IA32_TSX_CTRL MSR
dbf38b17a892 KVM: x86: use Intel speculation bugs and features as derived in generic x86 code
fee619bb8136 drm/i915/cmdparser: Fix jump whitelist clearing
255ed51599de drm/i915/gen8+: Add RC6 CTX corruption WA
011b7173cbdb drm/i915: Lower RM timeout to avoid DSI hard hangs
a7bda639a17f drm/i915/cmdparser: Ignore Length operands during command matching
6e53c71a6913 drm/i915/cmdparser: Add support for backward jumps
f27bc2b5950d drm/i915/cmdparser: Use explicit goto for error paths
cdd77c6b4be4 drm/i915: Add gen9 BCS cmdparsing
fea688c5dd81 drm/i915: Allow parsing of unsized batches
7ce726b61c57 drm/i915: Support ro ppgtt mapped cmdparser shadow buffers
fc3510fe6f6b drm/i915: Add support for mandatory cmdparsing
fba4207cf15e drm/i915: Remove Master tables from cmdparser
f1ff77080fa1 drm/i915: Disable Secure Batches for gen6+
b4b1abdc6b18 drm/i915: Rename gen7 cmdparser tables
e238e05ec2dc vsock/virtio: fix sock refcnt holding during the shutdown
2e7e3f16901d iio: imu: mpu6050: Fix FIFO layout for ICM20602
99ea48af7bd9 net: prevent load/store tearing on sk->sk_stamp
d32629dcd1e5 netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets
5833560d54fd usbip: Fix free of unallocated memory in vhci tx
6890b4bc3d2b cgroup,writeback: don't switch wbs immediately on dead wbs if the memcg is dead
d3b3c0a14615 mm/filemap.c: don't initiate writeback if mapping has no dirty pages
285eb6af4351 iio: imu: inv_mpu6050: fix no data on MPU6050
d888a80727ab iio: imu: mpu6050: Add support for the ICM 20602 IMU
522128128dec blkcg: make blkcg_print_stat() print stats only for online blkgs
30b969392cf2 pinctrl: cherryview: Fix irq_valid_mask calculation
ca79bb7e1168 ocfs2: protect extent tree in ocfs2_prepare_inode_for_write()
2c655a111968 pinctrl: intel: Avoid potential glitches if pin is in GPIO mode
713adf6dd327 e1000: fix memory leaks
4a05571772cc igb: Fix constant media auto sense switching when no cable is connected
1baab8352d80 net: ethernet: arc: add the missed clk_disable_unprepare
24523745ed41 NFSv4: Don't allow a cached open with a revoked delegation
440a748ed6df usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
e66f52eb3f29 hv_netvsc: Fix error handling in netvsc_attach()
99d5f18cebbf drm/amd/display: Passive DP->HDMI dongle detection fix
e5edbf9c45ce drm/amdgpu: If amdgpu_ib_schedule fails return back the error.
b651ddc15e7a iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41
214e4f0ecdd1 net: mscc: ocelot: refuse to overwrite the port's native vlan
5aedcc8aa8be net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up
3b956e63e2f3 net: hisilicon: Fix "Trying to free already-free IRQ"
f09b99c883e8 fjes: Handle workqueue allocation failure
6376736d016f nvme-multipath: fix possible io hang after ctrl reconnect
1372527e6876 scsi: qla2xxx: stop timer in shutdown path
f2bab3ed456c RDMA/hns: Prevent memory leaks of eq->buf_list
55ca08347487 RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
e36be7959326 usbip: tools: Fix read_usb_vudc_device() error path handling
cd9561a53d26 USB: ldusb: use unsigned size format specifiers
c753113ae714 USB: Skip endpoints with 0 maxpacket length
ef38f4d123d0 perf/x86/uncore: Fix event group support
f14751658a01 perf/x86/amd/ibs: Handle erratum #420 only on the affected CPU family (10h)
5b99e97b275a perf/x86/amd/ibs: Fix reading of the IBS OpData register and thus precise RIP validity
45944c4a7743 usb: dwc3: remove the call trace of USBx_GFLADJ
dff38149cec4 usb: gadget: configfs: fix concurrent issue between composite APIs
10eb9abd21ba usb: dwc3: pci: prevent memory leak in dwc3_pci_probe
c73ccf65e169 usb: gadget: composite: Fix possible double free memory bug
26d31e1c3ab2 usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode.
88912019b49c usb: fsl: Check memory resource before releasing it
3a2675a2d97a macsec: fix refcnt leak in module exit routine
0d0ca85ad424 bonding: fix unexpected IFF_BONDING bit unset
50e31318b525 ipvs: move old_secure_tcp into struct netns_ipvs
102f4078fbdd ipvs: don't ignore errors in case refcounting ip_vs module fails
81de0b500baa netfilter: nf_flow_table: set timeout before insertion into hashes
d45fc2ed472b scsi: qla2xxx: Initialized mailbox to prevent driver load failure
b6612a3dbad8 scsi: lpfc: Honor module parameter lpfc_use_adisc
4e80e5614770 net: openvswitch: free vport unless register_netdevice() succeeds
027253315d70 RDMA/uverbs: Prevent potential underflow
d582769add68 scsi: qla2xxx: fixup incorrect usage of host_byte
42de3a902443 net/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq
7dfdcd9407f3 net/mlx5e: TX, Fix consumer index of error cqe dump
48dd71289ca3 RDMA/qedr: Fix reported firmware version
6208c2bfe224 iw_cxgb4: fix ECN check on the passive accept
89aa9e2626f4 RDMA/mlx5: Clear old rate limit when closing QP
d6706b2ec108 HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring()
113a154ef2f2 dmaengine: sprd: Fix the possible memory leak issue
6040f96d5147 dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config
78e7e0248eb8 HID: google: add magnemite/masterball USB ids
8181146cd7de PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
e2dd254bde5c usbip: Implement SG support to vhci-hcd and stub driver
f865ae473c16 usbip: Fix vhci_urb_enqueue() URB null transfer buffer error path
e9c0fc4a7ccd sched/fair: Fix -Wunused-but-set-variable warnings
502bd151448c sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices
4ebee4875eab ALSA: usb-audio: Fix copy&paste error in the validator
e0051889243d ALSA: usb-audio: remove some dead code
4f6c52002699 ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk()
3a0cdf210b94 ALSA: usb-audio: Clean up check_input_term()
9feeaa50e5b4 ALSA: usb-audio: Remove superfluous bLength checks
f0e164f66e75 ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects
dae4d839e549 ALSA: usb-audio: Simplify parse_audio_unit()
17821e2fb167 ALSA: usb-audio: More validations of descriptor units
5e36cf8edb58 configfs: fix a deadlock in configfs_symlink()
0dfc45be875a configfs: provide exclusion between IO and removals
25c118d8d158 configfs: new object reprsenting tree fragments
65524d647e9d configfs_register_group() shouldn't be (and isn't) called in rmdirable parts
2bd63490c1dd configfs: stash the data we need into configfs_buffer at open time
a7be2debb769 can: peak_usb: fix slab info leak
ce9b94da0e04 can: mcba_usb: fix use-after-free on disconnect
5a9e37f2029f can: dev: add missing of_node_put() after calling of_get_child_by_name()
9289226f6982 can: gs_usb: gs_can_open(): prevent memory leak
9f5c59428843 can: rx-offload: can_rx_offload_queue_sorted(): fix error handling, avoid skb mem leak
ef502d5a84d6 can: peak_usb: fix a potential out-of-sync while decoding packets
7ae08111ca70 can: c_can: c_can_poll(): only read status register after status IRQ
0327c7818da2 can: flexcan: disable completely the ECC mechanism
46265660e5ba can: usb_8dev: fix use-after-free on disconnect
d8a76e300e37 SMB3: Fix persistent handles reconnect
caddaf43b024 x86/apic/32: Avoid bogus LDR warnings
dc1a91dc4917 intel_th: pci: Add Jasper Lake PCH support
f9d3aea1dca2 intel_th: pci: Add Comet Lake PCH support
64997ee49c8c netfilter: ipset: Fix an error code in ip_set_sockfn_get()
1b0e60f6a48b netfilter: nf_tables: Align nft_expr private data to 64-bit
2dae80b5b666 ARM: sunxi: Fix CPU powerdown on A83T
20b9e094dcd3 iio: srf04: fix wrong limitation in distance measuring
bee45b44b13e iio: imu: adis16480: make sure provided frequency is positive
a428996147e2 iio: adc: stm32-adc: fix stopping dma
78a1d6cdd302 ceph: add missing check in d_revalidate snapdir handling
6f9657793a6e ceph: fix use-after-free in __ceph_remove_cap()
3840610d60b2 arm64: Do not mask out PTE_RDONLY in pte_same()
56f270a1d72c soundwire: bus: set initial value to port_status
9a06efc745c3 soundwire: depend on ACPI
a81a4637456b HID: wacom: generic: Treat serial number and related fields as unsigned
e3fdd0c1a3d0 drm/radeon: fix si_enable_smc_cac() failed issue
f39fbd05f921 perf tools: Fix time sorting
66d53cd683a8 tools: gpio: Use !building_out_of_srctree to determine srctree
8e358a027611 dump_stack: avoid the livelock of the dump_lock
6c944fc51f0a mm, vmstat: hide /proc/pagetypeinfo from normal users
2686f71fdcc5 mm: thp: handle page cache THP correctly in PageTransCompoundMap
7dfa51beacac mm, meminit: recalculate pcpu batch and high limits after init completes
8e6bf4bc3a88 mm: memcontrol: fix network errors from failing __GFP_ATOMIC charges
6ecc16351a84 ALSA: hda/ca0132 - Fix possible workqueue stall
6921b1609912 ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series
b85472244b70 ALSA: timer: Fix incorrectly assigned timer instance
107451b87ea5 net: hns: Fix the stray netpoll locks causing deadlock in NAPI path
26e398dcb3f1 ipv6: fixes rt6_probe() and fib6_nh->last_probe init
05b761423d67 net: mscc: ocelot: fix NULL pointer on LAG slave removal
1cfc967ef584 net: mscc: ocelot: don't handle netdev events for other netdevs
a6fdbaeef1f2 qede: fix NULL pointer deref in __qede_remove()
956b38853517 NFC: st21nfca: fix double free
1143496c9632 nfc: netlink: fix double device reference drop
760a1f7f22ee NFC: fdp: fix incorrect free object
5580091ce7d9 net: usb: qmi_wwan: add support for DW5821e with eSIM support
4fd218071f21 net: qualcomm: rmnet: Fix potential UAF when unregistering
b9bda52f8f3e net: fix data-race in neigh_event_send()
2fbfdb2de4a1 net: ethernet: octeon_mgmt: Account for second possible VLAN header
88f8c39912bc ipv4: Fix table id reference in fib_sync_down_addr
0ddabef89067 CDC-NCM: handle incomplete transfer of MTU
27b5f4bf5ba9 bonding: fix state transition issue in link monitoring
7d8dbefc22ff Linux 4.19.83
818c96ac80be usb: gadget: udc: core: Fix segfault if udc_bind_to_driver() for pending driver fails
b06f37eaa2b3 arm64: dts: ti: k3-am65-main: Fix gic-its node unit-address
54ee5ccd0251 ASoC: pcm3168a: The codec does not support S32_LE
3ddf2a70cf6d selftests/powerpc: Fix compile error on tlbie_test due to newer gcc
e7aaa8dd60c5 selftests/powerpc: Add test case for tlbie vs mtpidr ordering issue
ec199b24aa5c powerpc/mm: Fixup tlbie vs mtpidr/mtlpidr ordering issue on POWER9
06e8438eddf8 platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table
2d830cf287a5 wireless: Skip directory when generating certificates
558d2bdad5f6 net/flow_dissector: switch to siphash
f6ef35998fb0 r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2
c33f7efec3b3 net: dsa: fix switch tree list
6b5bf3f37f72 net: usb: lan78xx: Connect PHY before registering MAC
07c62fc7bf28 net: bcmgenet: reset 40nm EPHY on energy detect
6d3ccc2a5b19 net: phy: bcm7xxx: define soft_reset for 40nm EPHY
97cc6827f418 net: bcmgenet: don't set phydev->link from MAC
57e286f67554 net: dsa: b53: Do not clear existing mirrored port mask
db91be8e27c8 net/mlx5e: Fix ethtool self test: link speed
5eb1967bfde3 r8169: fix wrong PHY ID issue with RTL8168dp
9e7c4fa275cf net/mlx5e: Fix handling of compressed CQEs in case of low NAPI budget
0c3355cc8e19 selftests: fib_tests: add more tests for metric update
b166e8838a97 ipv4: fix route update on metric change.
cd3bcb44ee3b net: add READ_ONCE() annotation in __skb_wait_for_more_packets()
4f3df7f1eaa7 net: use skb_queue_empty_lockless() in busy poll contexts
eaf548feaa17 net: use skb_queue_empty_lockless() in poll() handlers
afa1f5e98c11 udp: use skb_queue_empty_lockless()
d5ac4232c376 net: add skb_queue_empty_lockless()
83532eb48049 vxlan: check tun_info options_len properly
a8a5adbbf779 udp: fix data-race in udp_set_dev_scratch()
12fab1634ab1 selftests: net: reuseport_dualstack: fix uninitalized parameter
321c99155f4b net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol()
9da271c1cdc1 net: usb: lan78xx: Disable interrupts before calling generic_handle_irq()
40400fdd312a netns: fix GFP flags in rtnl_net_notifyid()
1d72dbb4ca2f net/mlx4_core: Dynamically set guaranteed amount of counters per VF
f05975d9f393 net: hisilicon: Fix ping latency when deal with high throughput
1d5cb12a2539 net: fix sk_page_frag() recursion from memory reclaim
189982d111c0 net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum
5536fc891221 net: dsa: bcm_sf2: Fix IMP setup for port different than 8
2c50a36d0b78 net: annotate lockless accesses to sk->sk_napi_id
0cfaf03c5d58 net: annotate accesses to sk->sk_incoming_cpu
07de738901d6 inet: stop leaking jiffies on the wire
163901dc945b erspan: fix the tun_info options_len check for erspan
96df1ec22b97 dccp: do not leak jiffies on the wire
f291613ff140 cxgb4: fix panic when attaching to ULD fail
1f032ca298dd nbd: handle racing with error'ed out commands
82b7c99ee141 nbd: protect cmd->status with cmd->lock
80b42f4381c2 cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs
a7448991fa3e i2c: stm32f7: remove warning when compiling with W=1
86fd9e339ab4 i2c: stm32f7: fix a race in slave mode with arbitration loss irq
d746ce649556 i2c: stm32f7: fix first byte to send in slave mode
18e7fae372a1 irqchip/gic-v3-its: Use the exact ITSList for VMOVP
39637aafa173 MIPS: bmips: mark exception vectors as char arrays
fcc3f7c810c3 of: unittest: fix memory leak in unittest_data_add
c56b9da70d09 ARM: 8926/1: v7m: remove register save to stack before svc
fa18f803d1f7 tracing: Fix "gfp_t" format for synthetic events
63571a1f375e scsi: target: core: Do not overwrite CDB byte 1
1df8da335d40 drm/amdgpu: fix potential VM faults
3cd2b6492cde ARM: davinci: dm365: Fix McBSP dma_slave_map entry
e18bf407ea3f perf kmem: Fix memory leak in compact_gfp_flags()
05dd6283b8fc 8250-men-mcb: fix error checking when get_num_ports returns -ENODEV
81809424cad7 perf c2c: Fix memory leak in build_cl_output()
7a79420034e0 ARM: dts: imx7s: Correct GPT's ipg clock source
e601e103cfed scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE
3dd0be3eeeb0 scsi: sni_53c710: fix compilation error
cf372c60ed13 scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions
3ee6a8bdae81 scsi: qla2xxx: fix a potential NULL pointer dereference
9d27ba401eca ARM: mm: fix alignment handler faults under memory pressure
f0eabc9e9acb pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable()
9a5d5ffb3245 ARM: dts: logicpd-torpedo-som: Remove twl_keypad
d7e2a8e271aa ASoc: rockchip: i2s: Fix RPM imbalance
513474f59001 ASoC: wm_adsp: Don't generate kcontrols without READ flags
bab5c14b5c89 regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized
6ef17b446081 ASoC: rt5682: add NULL handler to set_jack function
772c18df9f3d regulator: ti-abb: Fix timeout in ti_abb_wait_txdone/ti_abb_clear_all_txdone
c4c0e64deb9a arm64: dts: Fix gpio to pinmux mapping
0d3aef1ea7e8 arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay
a3a208ac4608 arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay
dc24ac36f304 ASoC: wm8994: Do not register inapplicable controls for WM1811
0f037d0a62b0 regulator: of: fix suspend-min/max-voltage parsing
b17eae5a0e16 kbuild: add -fcf-protection=none when using retpoline flags
5ee93551c703 Linux 4.19.82
914a7d429da5 Revert "ALSA: hda: Flush interrupts on disabling"
8f5603029223 powerpc/powernv: Fix CPU idle to be called with IRQs disabled
92930e922399 ALSA: usb-audio: Add DSD support for Gustard U16/X26 USB Interface
c08182dbf057 ALSA: usb-audio: Update DSD support quirks for Oppo and Rotel
d8808d2e79b5 ALSA: usb-audio: DSD auto-detection for Playback Designs
831317430693 ALSA: timer: Fix mutex deadlock at releasing card
145fadf6d99a ALSA: timer: Simplify error path in snd_timer_open()
a6c91087f5d5 sch_netem: fix rcu splat in netem_enqueue()
3ecf8529d52a net: usb: sr9800: fix uninitialized local variable
14a703ef2dc4 bonding: fix potential NULL deref in bond_update_slave_arr
24aaf7f4528f NFC: pn533: fix use-after-free and memleaks
8d9c4a9b8677 rxrpc: Fix trace-after-put looking at the put peer record
e8e51ce79c15 rxrpc: rxrpc_peer needs to hold a ref on the rxrpc_local record
570ab0dd35f9 rxrpc: Fix call ref leak
d634bd01b3a0 llc: fix sk_buff leak in llc_conn_service()
3f3f7409f028 llc: fix sk_buff leak in llc_sap_state_process()
948e8eba656f batman-adv: Avoid free/alloc race when handling OGM buffer
74001646d47c NFS: Fix an RCU lock leak in nfs4_refresh_delegation_stateid()
fd9a708c7bde drm/amdgpu/powerplay/vega10: allow undervolting in p7
3e285a5c1401 dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle
a0e406be17e5 dmaengine: qcom: bam_dma: Fix resource leak
64efcbc7a5a3 rtlwifi: Fix potential overflow on P2P code
a81669161528 arm64: Ensure VM_WRITE|VM_SHARED ptes are clean by default
8dd6066066a2 s390/idle: fix cpu idle time calculation
ced8cb0230d0 s390/cmm: fix information leak in cmm_timeout_handler()
be87ee689106 nl80211: fix validation of mesh path nexthop
14e0dd84db60 HID: fix error message in hid_open_report()
8a01c4b908cf HID: Fix assumption that devices have inputs
cf143d65c556 HID: i2c-hid: add Trekstor Primebook C11B to descriptor override
6608702bec70 scsi: target: cxgbit: Fix cxgbit_fw4_ack()
45e7acdff38e USB: serial: whiteheat: fix line-speed endianness
b7ad5aa67058 USB: serial: whiteheat: fix potential slab corruption
36e02e1fba89 usb: xhci: fix __le32/__le64 accessors in debugfs code
8e2cccd6c5d1 USB: ldusb: fix control-message timeout
3f1a7d903b8d USB: ldusb: fix ring-buffer locking
f1b94b60bb1c usb-storage: Revert commit 747668dbc061 ("usb-storage: Set virt_boundary_mask to avoid SG overflows")
d1c188d330ca USB: gadget: Reject endpoints with 0 maxpacket value
ceb6b658f0bd UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segments")
a58cdc35d3a0 ALSA: hda/realtek - Add support for ALC623
101bb262ba43 ALSA: hda/realtek - Fix 2 front mics of codec 0x623
3ae205d7a0a2 ALSA: bebob: Fix prototype of helper function to return negative value
62e42369de37 fuse: truncate pending writes on O_TRUNC
72c913fdde9d fuse: flush dirty data/metadata before non-truncate setattr
696da0225946 ath6kl: fix a NULL-ptr-deref bug in ath6kl_usb_alloc_urb_from_pipe()
1a124f16b594 thunderbolt: Use 32-bit writes when writing ring producer/consumer
f2cc221b6515 USB: legousbtower: fix a signedness bug in tower_probe()
083322455c67 nbd: verify socket is supported during setup
e0064f8de3f5 iwlwifi: exclude GEO SAR support for 3168
5a445f805afc ALSA: hda/realtek: Reduce the Headphone static noise on XPS 9350/9360
ce005e5d6e9f ARM: 8914/1: NOMMU: Fix exc_ret for XIP
394c90d9ce13 tracing: Initialize iter->seq after zeroing in tracing_read_pipe()
12e132664f92 s390/uaccess: avoid (false positive) compiler warnings
da24be886ff6 NFSv4: Fix leak of clp->cl_acceptor string
cad4448dfc9c nbd: fix possible sysfs duplicate warning
c2ea451f22f1 virt: vbox: fix memory leak in hgcm_call_preprocess_linaddr
5865397db6c3 MIPS: fw: sni: Fix out of bounds init of o32 stack
317b6f68abb1 MIPS: include: Mark __xchg as __always_inline
4a4206a83fc6 iio: imu: adis16400: release allocated memory on failure
f2824a020746 drm/amdgpu: fix memory leak
a1112c465593 perf/x86/amd: Change/fix NMI latency mitigation to use a timestamp
2cd003a820fe sched/vtime: Fix guest/system mis-accounting on task switch
58d33d4a4a1d x86/cpu: Add Comet Lake to the Intel CPU models header
6258745b311b arm64: armv8_deprecated: Checking return value for memory allocation
c3689876f5b9 fs: ocfs2: fix a possible null-pointer dereference in ocfs2_info_scan_inode_alloc()
4de544b42c7a fs: ocfs2: fix a possible null-pointer dereference in ocfs2_write_end_nolock()
c18d86047622 fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()
2141f777e6e1 ocfs2: clear zero in unaligned direct IO
af140367ae66 x86/xen: Return from panic notifier
0169198631e7 MIPS: include: Mark __cmpxchg as __always_inline
9b7591cf6cf6 efi/x86: Do not clean dummy variable in kexec path
318885aa154d efi/cper: Fix endianness of PCIe class code
02c1fb11b6a0 serial: mctrl_gpio: Check for NULL pointer
497fd98a50b2 fs: cifs: mute -Wunused-const-variable message
579249a08348 gpio: max77620: Use correct unit for debounce times
7f3306a3b2df tty: n_hdlc: fix build on SPARC
14a4689f8847 tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'
d21a5d4a7339 arm64: ftrace: Ensure synchronisation in PLT setup for Neoverse-N1 #1542419
ca2cc4b47d01 nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request
aeb242943505 HID: hyperv: Use in-place iterator API in the channel callback
9c75c230ded2 RDMA/iwcm: Fix a lock inversion issue
962cff4f3f89 RDMA/hfi1: Prevent memory leak in sdma_init
dfc1daba843b staging: rtl8188eu: fix null dereference when kzalloc fails
3545c018d0c3 perf annotate: Return appropriate error code for allocation failures
f8304a9310c3 perf annotate: Propagate the symbol__annotate() error return
4e2ca0c9143c perf annotate: Fix the signedness of failure returns
ec783e28e72d perf annotate: Propagate perf_env__arch() error
f0ba7ab26bfc perf tools: Propagate get_cpuid() error
c022c7f6171e perf jevents: Fix period for Intel fixed counters
5ecf35ed5d17 perf script brstackinsn: Fix recovery from LBR/binary mismatch
262ed71096ba perf map: Fix overlapped map handling
d975e5970965 perf tests: Avoid raising SEGV using an obvious NULL dereference
e3dc77d662ca libsubcmd: Make _FORTIFY_SOURCE defines dependent on the feature
915eb63dac7b iio: fix center temperature of bmc150-accel-core
78e6415d4f9a iio: adc: meson_saradc: Fix memory allocation order
1b6901f3c600 power: supply: max14656: fix potential use-after-free
a0d8a590d983 drm/amd/display: fix odm combine pipe reset
a897f54e921c PCI/PME: Fix possible use-after-free on remove
0e23eeb0fc58 net: dsa: mv88e6xxx: Release lock while requesting IRQ
646e5c77b418 exec: load_script: Do not exec truncated interpreter path
f251c83d6c08 ext4: disallow files with EXT4_JOURNAL_DATA_FL from EXT4_IOC_SWAP_BOOT
cc4d8283f6e9 media: vimc: Remove unused but set variables
c629fed0347e ALSA: hda/realtek - Apply ALC294 hp init also for S4 resume
b73132b74d25 cifs: add credits from unmatched responses/messages
ee4d28a716e8 CIFS: Respect SMB2 hdr preamble size in read responses
2a2022688a91 scsi: lpfc: Correct localport timeout duration error
1df87fc5e468 mlxsw: spectrum: Set LAG port collector only when active
e32271519bb9 arm64: kpti: Whitelist HiSilicon Taishan v110 CPUs
6021dd86ca38 arm64: Add MIDR encoding for HiSilicon Taishan CPUs
9190141529fb rtc: pcf8523: set xtal load capacitance from DT
961ba81d08d8 usb: handle warm-reset port requests on hub resume
3a77562e18bf ALSA: usb-audio: Cleanup DSD whitelist
a0608eec296d usb: dwc3: gadget: clear DWC3_EP_TRANSFER_STARTED on cmd complete
d0e8b35e915e usb: dwc3: gadget: early giveback if End Transfer already completed
335d4f818246 samples: bpf: fix: seg fault with NULL pointer arg
c41f30e8d233 HID: steam: fix deadlock with input devices.
4c8ae7221bcc HID: steam: fix boot loop with bluetooth firmware
ce05beb3b402 NFSv4: Ensure that the state manager exits the loop on SIGKILL
952b0285826e HID: Add ASUS T100CHI keyboard dock battery quirks
24ec7c1b9b17 staging: mt7621-pinctrl: use pinconf-generic for 'dt_node_to_map' and 'dt_free_map'
b064e272023c scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks
9aafa2996921 clk: boston: unregister clks on failure in clk_boston_setup()
1ba6488775f1 ath10k: assign 'n_cipher_suites = 11' for WCN3990 to enable WPA3
a6af54d4ad0d platform/x86: Fix config space access for intel_atomisp2_pm
8694ceba9338 platform/x86: Add the VLV ISP PCI ID to atomisp2_pm
8c1b1d3c7593 HID: i2c-hid: Add Odys Winbook 13 to descriptor override
3db3961160f6 HID: i2c-hid: Ignore input report if there's no data present on Elan touchpanels
e0bcac994ad8 HID: i2c-hid: Disable runtime PM for LG touchscreen
d8187ff32b23 netfilter: ipset: Make invalid MAC address checks consistent
cb38a17cc880 Btrfs: fix deadlock on tree root leaf when finding free extent
33970cf511c8 PCI: Fix Switchtec DMA aliasing quirk dmesg noise
437de04184bc bcache: fix input overflow to writeback_rate_minimum
be488566ef2f drm/msm/dpu: handle failures while initializing displays
b5b3bb03c372 x86/cpu: Add Atom Tremont (Jacobsville)
ab0888699734 tools/power turbostat: fix goldmont C-state limit decoding
4da8b5f8a71d usb: dwc2: fix unbalanced use of external vbus-supply
649ee6f0c677 HID: i2c-hid: add Direkt-Tek DTLAPY133-1 to descriptor override
ce43554395a3 f2fs: fix to recover inode->i_flags of inode block during POR
b619de076f9c f2fs: fix to recover inode's i_gc_failures during POR
23848022460f powerpc/powernv: hold device_hotplug_lock when calling memtrace_offline_pages()
bff91a961a05 sc16is7xx: Fix for "Unexpected interrupt: 8"
157c391babd7 scsi: lpfc: Fix a duplicate 0711 log message number.
6b2fbfacd74b f2fs: flush quota blocks after turnning it off
e5641f02dc9e wil6210: fix freeing of rx buffers in EDMA mode
d8ab4185ea55 btrfs: tracepoints: Fix wrong parameter order for qgroup events
6bcbe35027e2 btrfs: qgroup: Always free PREALLOC META reserve in btrfs_delalloc_release_extents()
96b9b94647b0 Btrfs: fix memory leak due to concurrent append writes with fiemap
692aa7d55ff8 Btrfs: fix inode cache block reserve leak on failure to allocate data space
a8afda7774a3 dm snapshot: rework COW throttling to fix deadlock
223f1af69da8 dm snapshot: introduce account_start_copy() and account_end_copy()
0ca37291020e zram: fix race between backing_dev_show and backing_dev_store
ef244c308885 Linux 4.19.81
27414f90ff6e RDMA/cxgb4: Do not dma memory off of the stack
054441182b51 blk-rq-qos: fix first node deletion of rq_qos_del()
2ada40308a0d PCI: PM: Fix pci_power_up()
ccb02adf3293 xen/netback: fix error path of xenvif_connect_data()
89ab39da1452 cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown
5f19cbb3ab3f memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()'
0b95aaae783f btrfs: tracepoints: Fix bad entry members of qgroup events
1b921b5bc47f Btrfs: check for the full sync flag while holding the inode lock during fsync
ac6bae2b524d Btrfs: add missing extents release on file extent cluster relocation error
6cd5be9832eb btrfs: block-group: Fix a memory leak due to missing btrfs_put_block_group()
a5a10f7800ed pinctrl: armada-37xx: swap polarity on LED group
e0e489aa5bd0 pinctrl: armada-37xx: fix control of pins 32 and up
5e9d71802ddc pinctrl: cherryview: restore Strago DMI workaround for all versions
4dedaa73c4c4 x86/apic/x2apic: Fix a NULL pointer deref when handling a dying cpu
1709917289cd x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area
e49c84c51c3a dm cache: fix bugs when a GFP_NOWAIT allocation fails
5ce7528c4d4a tracing: Fix race in perf_trace_buf initialization
96202569b9fe perf/aux: Fix AUX output stopping
01332b037066 CIFS: Fix use after free of file info structures
71cf88165ff0 CIFS: avoid using MID 0xFFFF
4292745536d2 arm64: Enable workaround for Cavium TX2 erratum 219 when running SMT
d97e4a6d2b2f EDAC/ghes: Fix Use after free in ghes_edac remove path
ca65fe21981b parisc: Fix vmap memory leak in ioremap()/iounmap()
19e2ed7bfabe xtensa: drop EXPORT_SYMBOL for outs*/ins*
30cff8ab6ed7 mm/memory-failure: poison read receives SIGKILL instead of SIGBUS if mmaped more than once
91eec7692b94 hugetlbfs: don't access uninitialized memmaps in pfn_range_valid_gigantic()
f712e3066f75 mm/page_owner: don't access uninitialized memmaps when reading /proc/pagetypeinfo
bb6932c5a473 mm/slub: fix a deadlock in show_slab_objects()
9792afbd630b mm/memory-failure.c: don't access uninitialized memmaps in memory_failure()
01a44055a48a mmc: cqhci: Commit descriptors before setting the doorbell
6ea856efef9f fs/proc/page.c: don't access uninitialized memmaps in fs/proc/page.c
43a2a6c2f0fb drivers/base/memory.c: don't access uninitialized memmaps in soft_offline_page_store()
4d5307c099af drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1
11377c3e997e drm/ttm: Restore ttm prefaulting
33af2a8ee304 drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50
24ca62892032 mac80211: Reject malformed SSID elements
73c066a9552a cfg80211: wext: avoid copying malformed SSIDs
83dc16707f6d ACPI: CPPC: Set pcc_data[pcc_ss_id] to NULL in acpi_cppc_processor_exit()
8e367b029e61 ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting
b0dd6a24255e Input: synaptics-rmi4 - avoid processing unknown IRQs
aa9402c14df6 Input: da9063 - fix capability and drop KEY_SLEEP
e254d4359259 scsi: ch: Make it possible to open a ch device multiple times again
0c6905197c5b scsi: core: try to get module before removing device
2a675e73dfec scsi: core: save/restore command resid for error handling
0cea86f270e9 scsi: sd: Ignore a failure to sync cache due to lack of authorization
3638ccda1009 scsi: zfcp: fix reaction on bit error threshold notification
d07c028d2bc9 staging: wlan-ng: fix exit return when sme->key_idx >= NUM_WEPKEYS
4034a5030589 MIPS: tlbex: Fix build_restore_pagemask KScratch restore
9f7e157464cd USB: ldusb: fix read info leaks
3b73a0e453bd USB: usblp: fix use-after-free on disconnect
28ab2c5f5899 USB: ldusb: fix memleak on disconnect
edd3e9c71cc8 USB: serial: ti_usb_3410_5052: fix port-close races
068fcbe895cd usb: udc: lpc32xx: fix bad bit shift operation
7ed43d2eb0ec ALSA: hda - Force runtime PM on Nvidia HDMI codecs
7dda74810c9a ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers
6c8a9a46ec57 ALSA: hda/realtek - Enable headset mic on Asus MJ401TA
30a83eb0a09d ALSA: hda/realtek - Add support for ALC711
5366778bf0ed USB: legousbtower: fix memleak on disconnect
99b45e7a1ba1 memfd: Fix locking when tagging pins
2770f80afde7 sctp: change sctp_prot .no_autobind with true
cd8c21ca7022 net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow
da4f0aed87d5 net: ipv6: fix listify ip6_rcv_finish in case of forwarding
cc2d858b3f73 net/ibmvnic: Fix EOI when running in XIVE mode.
3f9d4e3c2954 net: i82596: fix dma_alloc_attr for sni_82596
da0baae9a725 net: bcmgenet: Set phydev->dev_flags only for internal PHYs
c0f5839a483f net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3
16d67acad815 net: avoid potential infinite loop in tc_ctl_action()
2fa80e64de33 ipv4: Return -ENETUNREACH if we can't create route but saddr is valid
2ec0df4e3fee ipv4: fix race condition between route lookup and invalidation
0d3ad773b445 ocfs2: fix panic due to ocfs2_wq is null
0933b0db7fb2 Revert "drm/radeon: Fix EEH during kexec"
9457994a53d1 md/raid0: fix warning message for parameter default_layout
51f0c10890aa libata/ahci: Fix PCS quirk application
9bc5a4db9aa9 namespace: fix namespace.pl script to support relative paths
6acbcd1429f1 r8152: Set macpassthru in reset_resume callback
0cb5c7b06a0a lib: textsearch: fix escapes in example code
50699af3609c net: hisilicon: Fix usage of uninitialized variable in function mdio_sc_cfg_reg_write()
db1e664e2d80 mips: Loongson: Fix the link time qualifier of 'serial_exit()'
b43bf6b10344 net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name
a16a9c10b2b0 netfilter: nft_connlimit: disable bh on garbage collection
13104599d07f mac80211: fix txq null pointer dereference
09c5a5bb0f26 nl80211: fix null pointer dereference
90a886b68faa xen/efi: Set nonblocking callbacks
5d880444955e MIPS: dts: ar9331: fix interrupt-controller size
6d0da953bd8e net: dsa: qca8k: Use up to 7 ports for all operations
1cd24f5edab8 ARM: dts: am4372: Set memory bandwidth limit for DISPC
960019214539 ieee802154: ca8210: prevent memory leak
ec3817c62ede ARM: OMAP2+: Fix warnings with broken omap2_set_init_voltage()
a23cd06c2cd2 ARM: OMAP2+: Fix missing reset done flag for am3 and am43
fcff55e25593 scsi: qla2xxx: Fix unbound sleep in fcport delete path.
c3d475c7d9b9 scsi: megaraid: disable device when probe failed after enabled device
c6d91bd3fa35 scsi: ufs: skip shutdown if hba is not powered
db783e05df55 nvme-pci: Fix a race in controller removal
c3038e718a19 Linux 4.19.80
0603d82bcae4 perf/hw_breakpoint: Fix arch_hw_breakpoint use-before-initialization
91849adc9f90 PCI: vmd: Fix config addressing when using bus offsets
cd4b60e57a7a x86/asm: Fix MWAITX C-state hint value
99ada52ce213 hwmon: Fix HWMON_P_MIN_ALARM mask
b9040fab5f36 tracing: Get trace_array reference for available_tracers files
a6c9fb2c2ce4 ftrace: Get a reference counter for the trace_array on filter files
b7f758631d69 tracing/hwlat: Don't ignore outer-loop duration when calculating max_latency
6271cbff9309 tracing/hwlat: Report total time spent in all NMIs during the sample
3766c9d9c47c arm64/sve: Fix wrong free for task->thread.sve_state
6f64aa703c0c media: stkwebcam: fix runtime PM after driver unbind
664ec2db3b1f Fix the locking in dcache_readdir() and friends
a64241ba496c arm64: topology: Use PPTT to determine if PE is a thread
b098a4cd99ff ACPI/PPTT: Add support for ACPI 6.3 thread flag
a73306414fcd ACPICA: ACPI 6.3: PPTT add additional fields in Processor Structure Flags
34ab38cd8098 MIPS: elf_hwcap: Export userspace ASEs
aaa81d9e6523 MIPS: Disable Loongson MMI instructions for kernel build
e9360f393d7b NFS: Fix O_DIRECT accounting of number of bytes read/written
e0805d7f7f1b btrfs: fix uninitialized ret in ref-verify
f7313de46e46 btrfs: fix incorrect updating of log root tree
a8de7090805d cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic
f6c715708fb8 iio: adc: stm32-adc: fix a race when using several adcs with dma and irq
a9968a4d6399 iio: adc: stm32-adc: move registers definitions
410ab742a503 gpiolib: don't clear FLAG_IS_OUT when emulating open-drain/open-source
b41013b51870 firmware: google: increment VPD key_len properly
491a39dcee44 mm/vmpressure.c: fix a signedness bug in vmpressure_register_event()
7bbe6eefdbb3 kernel/sysctl.c: do not override max_threads provided by userspace
230b339a7c75 CIFS: Force reval dentry if LOOKUP_REVAL flag is set
0bc78de461b4 CIFS: Force revalidate inode when dentry is stale
d72c2115108f CIFS: Gracefully handle QueryInfo errors during open
345c03a0defb blk-wbt: fix performance regression in wbt scale_up/scale_down
d855a5f2dec7 perf inject jit: Fix JIT_CODE_MOVE filename
47a4e4decddd perf llvm: Don't access out-of-scope array
ee7ee6cfc3af efivar/ssdt: Don't iterate over EFI vars if no SSDT override was specified
c9a182ddf2d4 iio: light: opt3001: fix mutex unlock race
811616a6400d iio: adc: axp288: Override TS pin bias current for some models
99757b1d9c17 iio: adc: ad799x: fix probe error handling
2cb6f0417ee1 iio: adc: hx711: fix bug in sampling of data
2f9a82e2d2e6 staging: vt6655: Fix memory leak in vt6655_probe
df455ed36901 Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc
d58d477c5852 gpio: eic: sprd: Fix the incorrect EIC offset when toggling
ce20fd3e1530 mei: avoid FW version request on Ibex Peak and earlier
d7e57796b6c0 mei: me: add comet point (lake) LP device ids
f931791751d3 USB: legousbtower: fix use-after-free on release
e3f445666f51 USB: legousbtower: fix open after failed reset request
99c0c615ff98 USB: legousbtower: fix potential NULL-deref on disconnect
fe471bf16720 USB: legousbtower: fix deadlock on disconnect
4fde6c982393 USB: legousbtower: fix slab info leak at probe
dff3bc5edcf6 usb: renesas_usbhs: gadget: Fix usb_ep_set_{halt,wedge}() behavior
55efffb294d2 usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}()
3b089cef3cc1 USB: dummy-hcd: fix power budget for SuperSpeed mode
ab8d87d14d82 USB: microtek: fix info-leak at probe
0f14e44ebc0e USB: usblcd: fix I/O after disconnect
58c2b4c5610d USB: serial: fix runtime PM after driver unbind
8dcda04939fd USB: serial: option: add support for Cinterion CLS8 devices
f7ab1c54c1a4 USB: serial: option: add Telit FN980 compositions
13b0420eb2ea USB: serial: ftdi_sio: add device IDs for Sienna and Echelon PL-20
a463d20a5772 USB: serial: keyspan: fix NULL-derefs on open() and write()
21917fcb05d1 serial: uartlite: fix exit path null pointer
0c999b4b00db USB: ldusb: fix NULL-derefs on driver unbind
39fe586c4069 USB: chaoskey: fix use-after-free on release
2f2b039530ea USB: usblp: fix runtime PM after driver unbind
2095532522d1 USB: iowarrior: fix use-after-free after driver unbind
7f93c8c89541 USB: iowarrior: fix use-after-free on release
2fdcf7e19bde USB: iowarrior: fix use-after-free on disconnect
ab162d331cc1 USB: adutux: fix use-after-free on release
ca9c18c00a95 USB: adutux: fix NULL-derefs on disconnect
316f51d77597 USB: adutux: fix use-after-free on disconnect
ea7255663398 xhci: Increase STS_SAVE timeout in xhci_suspend()
cbc5abaa6f30 xhci: Prevent deadlock when xhci adapter breaks during init
fde058a17c18 usb: xhci: wait for CNR controller not ready bit in xhci resume
13e793da4f70 xhci: Fix USB 3.1 capability detection on early xHCI 1.1 spec based hosts
d6bdd4686ffc xhci: Check all endpoints for LPM timeout
faa0502a5be5 xhci: Prevent device initiated U1/U2 link pm if exit latency is too long
077855ba2df2 xhci: Fix false warning message about wrong bounce buffer write length
31604075ceb4 USB: usb-skeleton: fix NULL-deref on disconnect
dcabc48fe0ac USB: usb-skeleton: fix runtime PM after driver unbind
571a14063619 USB: yurex: fix NULL-derefs on disconnect
a8fe336f20b9 USB: yurex: Don't retry on unexpected errors
86575b7f636f USB: rio500: Remove Rio 500 kernel driver
95bcc0d980ae f2fs: use EINVAL for superblock with invalid magic
7d1688c6731b panic: ensure preemption is disabled during panic()
dafd634415a7 Linux 4.19.79
1bd17a737c9e nl80211: validate beacon head
527ba5d7634b cfg80211: Use const more consistently in for_each_element macros
ad180cace853 cfg80211: add and use strongly typed element iteration macros
3dab5ba6d7ae staging: erofs: detect potential multiref due to corrupted images
8b4341f9b80b staging: erofs: add two missing erofs_workgroup_put for corrupted images
596bbc4e0edf staging: erofs: some compressed cluster should be submitted for corrupted images
e7c44410387c staging: erofs: fix an error handling in erofs_readdir()
1b94c1e80ca8 coresight: etm4x: Use explicit barriers on enable/disable
effad578c23f vfs: Fix EOVERFLOW testing in put_compat_statfs64
d976344d27f7 arm64/speculation: Support 'mitigations=' cmdline option
af33d746286c arm64: Use firmware to detect CPUs that are not affected by Spectre-v2
17d1acc4c61d arm64: Force SSBS on context switch
fe22ea561ce0 arm64: ssbs: Don't treat CPUs with SSBS as unaffected by SSB
dada3a4abb43 arm64: add sysfs vulnerability show for speculative store bypass
f41df38898ec arm64: add sysfs vulnerability show for spectre-v2
9d1bb39cdd96 arm64: Always enable spectre-v2 vulnerability detection
b1a33cfd8034 arm64: Advertise mitigation of Spectre-v2, or lack thereof
59a6dc262c85 arm64: Provide a command line to disable spectre_v2 mitigation
c131623b1e9d arm64: Always enable ssb vulnerability detection
47a11f2eafcc arm64: enable generic CPU vulnerabilites support
512158d0c67e arm64: add sysfs vulnerability show for meltdown
047aac35fd1a arm64: Add sysfs vulnerability show for spectre-v1
edfc026626d6 arm64: fix SSBS sanitization
09c22781dd2c arm64: docs: Document SSBS HWCAP
a59d42ac50a1 KVM: arm64: Set SCTLR_EL2.DSSBS if SSBD is forcefully disabled and !vhe
1eaff33e2441 arm64: ssbd: Add support for PSTATE.SSBS rather than trapping to EL3
d286a37471b6 riscv: Avoid interrupts being erroneously enabled in handle_exception()
5b67a4721ddd perf stat: Reset previous counts on repeat with interval
15c57bf9dcf8 perf tools: Fix segfault in cpu_cache_level__read()
e5331c37c08b tick: broadcast-hrtimer: Fix a race in bc_set_next
140acbb09384 tools lib traceevent: Do not free tep->cmdlines in add_new_comm() on failure
d1e4b4cc3bba powerpc/book3s64/radix: Rename CPU_FTR_P9_TLBIE_BUG feature flag
f5f31a6ea558 powerpc/pseries: Fix cpu_hotplug_lock acquisition in resize_hpt()
c688982ffaeb nbd: fix crash when the blksize is zero
63bb8b76ed62 KVM: nVMX: Fix consistency check on injected exception error code
34b13ff69668 KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP
1b155b4fe8b4 drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passed
04e0c84f137d nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
575a5bb3d372 perf unwind: Fix libunwind build failure on i386 systems
b0aaf65bb16a kernel/elfcore.c: include proper prototypes
bab46480e6f9 perf build: Add detection of java-11-openjdk-devel package
46ff0e2f869f sched/core: Fix migration to invalid CPU in __set_cpus_allowed_ptr()
6cb7aa1b4f94 sched/membarrier: Fix private expedited registration check
e250f2b6aa9e sched/membarrier: Call sync_core only before usermode for same mm
9f33b178cbb2 libnvdimm/nfit_test: Fix acpi_handle redefinition
7b4f541fcd1c fuse: fix memleak in cuse_channel_open
2e93d24ac75e libnvdimm/region: Initialize bad block for volatile namespaces
9025adf37ee8 thermal_hwmon: Sanitize thermal_zone type
c01a9dbec18a thermal: Fix use-after-free when unregistering thermal zone device
55ebeb4e865d ntb: point to right memory window index
9dabade5c197 x86/purgatory: Disable the stackleak GCC plugin for the purgatory
65348659535d pwm: stm32-lp: Add check in case requested period cannot be achieved
19b1c70e911c pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors
1c70ae6a91f9 drm/amdgpu: Check for valid number of registers to read
e0af3b19ad77 drm/amdgpu: Fix KFD-related kernel oops on Hawaii
f7ace7f25214 netfilter: nf_tables: allow lookups in dynamic sets
f217883bbc92 watchdog: aspeed: Add support for AST2600
520c2a64fc78 ceph: reconnect connection if session hang in opening state
0275113fc09a ceph: fix directories inode i_blkbits initialization
2bc2a90a083a xen/pci: reserve MCFG areas earlier
18dd2b05f349 9p: avoid attaching writeback_fid on mmap with type PRIVATE
07f3596ce344 9p: Transport error uninitialized
448deb13ab9e fs: nfs: Fix possible null-pointer dereferences in encode_attrs()
4753e7a824cb ima: fix freeing ongoing ahash_request
b69c3085fcc6 ima: always return negative code for error
6df3c66de09d arm64: cpufeature: Detect SSBS and advertise to userspace
3a0e673305e2 cfg80211: initialize on-stack chandefs
16c75eb13a72 s390/cio: avoid calling strlen on null pointer
3f41e88f4bd4 ieee802154: atusb: fix use-after-free at disconnect
975859bb69b2 xen/xenbus: fix self-deadlock after killing user process
e409b81d9ddb Revert "locking/pvqspinlock: Don't wait if vCPU is preempted"
7ed2867ceb41 mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence
4509a19d5082 mmc: sdhci: improve ADMA error reporting
873f49d6a4e8 drm/i915/gvt: update vgpu workload head pointer correctly
198bc7040c48 drm/nouveau/kms/nv50-: Don't create MSTMs for eDP connectors
7a85c8673551 drm/msm/dsi: Fix return value check for clk_get_parent
0e45633f49ef drm/omap: fix max fclk divider for omap36xx
90ac4028739c perf stat: Fix a segmentation fault when using repeat forever
22f28afd3d77 watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout
e7cf8cc79f93 PCI: Restore Resizable BAR size bits correctly for 1MB BARs
956ce989c41f PCI: vmd: Fix shadow offsets to reflect spec changes
06f250215beb timer: Read jiffies once when forwarding base clk
12c6c4a50f66 usercopy: Avoid HIGHMEM pfn warning
e010c9835183 tracing: Make sure variable reference alias has correct var_ref_idx
022ca58f109e power: supply: sbs-battery: only return health when battery present
5cb6dd823127 power: supply: sbs-battery: use correct flags field
fb93ccde081e MIPS: Treat Loongson Extensions as ASEs
a0dc60ac6bef crypto: ccree - use the full crypt length value
f5c087a0d9a0 crypto: ccree - account for TEE not ready to report
561bf9309209 crypto: caam - fix concurrency issue in givencrypt descriptor
3683dd7074dc crypto: cavium/zip - Add missing single_release()
cd8e0a5d94fb crypto: skcipher - Unmap pages after an external error
9349108ae499 crypto: qat - Silence smp_processor_id() warning
532920b26678 tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file
4aaea17d3c31 can: mcp251x: mcp251x_hw_reset(): allow more time after a reset
9124eac41a67 powerpc/book3s64/mm: Don't do tlbie fixup for some hardware revisions
19c12f12093e powerpc/powernv/ioda: Fix race in TCE level allocation
032ce7d766a9 powerpc/powernv: Restrict OPAL symbol map to only be readable by root
ba3ca9fcb0e7 powerpc/mce: Schedule work from irq_work
ee6eeeb88e79 powerpc/mce: Fix MCE handling for huge pages
1284f2073415 ASoC: sgtl5000: Improve VAG power and mute control
50090b75fa89 ASoC: Define a set of DAPM pre/post-up events
42b888f63333 PM / devfreq: tegra: Fix kHz to Hz conversion
9f0f39c92e4f nbd: fix max number of supported devs
eff3a54aae68 KVM: nVMX: handle page fault in vmread fix
21874027e1de KVM: X86: Fix userspace set invalid CR4
30fbe0d380aa KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9
4faa7f05af75 KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
577a5119d7af KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
46cb14a57088 s390/cio: exclude subchannels with no parent from pseudo check
9aa823b3c0a6 s390/topology: avoid firing events before kobjs are created
ddfef75f877b KVM: s390: Test for bad access register and size at the start of S390_MEM_OP
8b41a30f91db s390/process: avoid potential reading of freed stack
(From OE-Core rev: e23a86fa40be2e1dfe50baeebe787e98f793cc5b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
6e5893ab1fe2 Linux 5.2.23
86ac741509b1 kvm: x86: mmu: Recovery of shattered NX large pages
c553a0a399c9 kvm: Add helper function for creating VM worker threads
f2bf2c447af6 kvm: mmu: ITLB_MULTIHIT mitigation
f06ad290c8f0 KVM: x86: make FNAME(fetch) and __direct_map more similar
18b180d7a0f1 kvm: x86, powerpc: do not allow clearing largepages debugfs entry
ff893d92a664 Documentation: Add ITLB_MULTIHIT documentation
f9adaf5c4457 cpu/speculation: Uninline and export CPU mitigations helpers
0b2c4ab2b97c x86/cpu: Add Tremont to the cpu vulnerability whitelist
eaa0b155027e x86/bugs: Add ITLB_MULTIHIT bug infrastructure
dccf9a56da2e x86/speculation/taa: Fix printing of TAA_MSG_SMT on IBRS_ALL CPUs
32bd35cc9e6c x86/tsx: Add config options to set tsx=on|off|auto
c4ed63015b6a x86/speculation/taa: Add documentation for TSX Async Abort
43e4f038964c x86/tsx: Add "auto" option to the tsx= cmdline parameter
995c701aa712 kvm/x86: Export MDS_NO=0 to guests when TSX is enabled
085db27a9d8a x86/speculation/taa: Add sysfs reporting for TSX Async Abort
0d7366963e51 x86/speculation/taa: Add mitigation for TSX Async Abort
10d64704b2e6 x86/cpu: Add a "tsx=" cmdline option with TSX disabled by default
e97aa6c96e2e x86/cpu: Add a helper function x86_read_arch_cap_msr()
817956f7cd90 x86/msr: Add the IA32_TSX_CTRL MSR
4ad18dc35ed7 x86/cpu: Move arch_smt_update() to a neutral place
(From OE-Core rev: 441e9dc823fdf4fd9da2332ec63afcf6098773af)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
0bea818b6e18 Linux 5.2.22
5f1126e23315 nbd: verify socket is supported during setup
4888496abcfe USB: usblp: fix use-after-free on disconnect
0ba545e8fda8 USB: legousbtower: fix a signedness bug in tower_probe()
4c6f2341bb9f CIFS: Fix use after free of file info structures
f9c400068647 scsi: mpt3sas_ctl: fix double-fetch bug in _ctl_ioctl_main()
14c5cace4634 wcd9335: fix a incorrect use of kstrndup()
da7b0f2312c9 clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup()
ee72fe755500 cfg80211: wext: avoid copying malformed SSIDs
fc86526a556d rtlwifi: Fix potential overflow on P2P code
0ebeef211891 io_uring: only flush workqueues on fileset removal
e6a26dac8182 x86/asm: Fix MWAITX C-state hint value
65113f3d3937 mtd: rawnand: au1550nd: Fix au_read_buf16() prototype
31012d874e0c hwmon: Fix HWMON_P_MIN_ALARM mask
3abf2667e95a tracing: Get trace_array reference for available_tracers files
be0e6c911005 ftrace: Get a reference counter for the trace_array on filter files
a2a980deef30 tracing/hwlat: Don't ignore outer-loop duration when calculating max_latency
225fca30418d tracing/hwlat: Report total time spent in all NMIs during the sample
19b6d82baabe arm64/sve: Fix wrong free for task->thread.sve_state
2473b968eecb media: stkwebcam: fix runtime PM after driver unbind
eecc5223277d drm/i915: Mark contents as dirty on a write fault
04887f273e41 drm/i915: Whitelist COMMON_SLICE_CHICKEN2
60624198d203 Fix the locking in dcache_readdir() and friends
c5325876ceb9 arm64: topology: Use PPTT to determine if PE is a thread
393cf2726151 ACPI/PPTT: Add support for ACPI 6.3 thread flag
daa13a4b0635 RDMA/vmw_pvrdma: Free SRQ only once
6243ecc8cab6 MIPS: elf_hwcap: Export userspace ASEs
ae0799a4da1b MIPS: Disable Loongson MMI instructions for kernel build
f0f81c9999ab NFS: Fix O_DIRECT accounting of number of bytes read/written
7a80e6581ea9 btrfs: fix uninitialized ret in ref-verify
ddf6cef435f0 btrfs: fix incorrect updating of log root tree
1296b41cc1d3 Btrfs: fix memory leak due to concurrent append writes with fiemap
810f5770978a btrfs: fix balance convert to single on 32-bit host CPUs
7816678e3934 btrfs: allocate new inode in NOFS context
74ec5aa2c30a btrfs: relocation: fix use-after-free on dead relocation roots
bc1f6ac176a6 firmware: google: increment VPD key_len properly
9fc11ae5dee9 IB/core: Fix wrong iterating on ports
fee3c62537ff mm/vmpressure.c: fix a signedness bug in vmpressure_register_event()
e3a378783419 mm/page_alloc.c: fix a crash in free_pages_prepare()
e4891ccaef9e mm/z3fold.c: claim page in the beginning of free
7831f5a6c097 kernel/sysctl.c: do not override max_threads provided by userspace
44481a12c9bf cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic
16ae17c41281 CIFS: Force reval dentry if LOOKUP_REVAL flag is set
2c272ff0cbd5 CIFS: Force revalidate inode when dentry is stale
43273ccd3283 CIFS: Gracefully handle QueryInfo errors during open
ca814325c659 selinux: fix context string corruption in convert_context()
ad8d7e2a7a26 blk-wbt: fix performance regression in wbt scale_up/scale_down
1b64f52e03de perf inject jit: Fix JIT_CODE_MOVE filename
5cc59bf53d49 perf llvm: Don't access out-of-scope array
7f9ed4c203f0 efivar/ssdt: Don't iterate over EFI vars if no SSDT override was specified
5ef016833bac iio: accel: adxl372: Perform a reset at start up
9f77cc5a7309 iio: accel: adxl372: Fix push to buffers lost samples
d3db274a52ef iio: accel: adxl372: Fix/remove limitation for FIFO samples
a9ab504bfa61 iio: adc: stm32-adc: fix a race when using several adcs with dma and irq
29166478ab00 iio: adc: stm32-adc: move registers definitions
05505674fad5 iio: adc: axp288: Override TS pin bias current for some models
f418fb5e545d iio: adc: ad799x: fix probe error handling
dc9b7ddfd0e5 iio: adc: hx711: fix bug in sampling of data
5f711a67527d staging: vt6655: Fix memory leak in vt6655_probe
e72f973d2600 staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E()
34a95338fd57 Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc
b83f3fd3dc3c staging: bcm2835-audio: Fix draining behavior regression
fe77671d3437 staging/fbtft: Depend on OF
597abe928ec2 gpio: eic: sprd: Fix the incorrect EIC offset when toggling
5e7c238cfafe mei: avoid FW version request on Ibex Peak and earlier
4e68c8ad0d11 mei: me: add comet point (lake) LP device ids
74a2ab15fa03 USB: legousbtower: fix use-after-free on release
d5a37b79b977 USB: legousbtower: fix open after failed reset request
470d1d920d61 USB: legousbtower: fix potential NULL-deref on disconnect
b1c95308efbb USB: legousbtower: fix deadlock on disconnect
0d7afcc3e67d USB: legousbtower: fix slab info leak at probe
2164d586fe13 usb: typec: ucsi: displayport: Fix for the mode entering routine
ed9dc2e12645 usb: typec: tcpm: usb: typec: tcpm: Fix a signedness bug in tcpm_fw_get_caps()
ae07c4d583f0 usb: renesas_usbhs: gadget: Fix usb_ep_set_{halt,wedge}() behavior
59f9a556d12c usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}()
c73e4656e029 USB: dummy-hcd: fix power budget for SuperSpeed mode
8604ad319705 USB: microtek: fix info-leak at probe
942d159f33d5 USB: usblcd: fix I/O after disconnect
45e6742b3543 USB: serial: fix runtime PM after driver unbind
f07e614a1eae USB: serial: option: add support for Cinterion CLS8 devices
60efccd42001 USB: serial: option: add Telit FN980 compositions
96464fe403ed USB: serial: ftdi_sio: add device IDs for Sienna and Echelon PL-20
e05502d06a6e USB: serial: keyspan: fix NULL-derefs on open() and write()
eb98769b935a serial: uartps: Fix uartps_major handling
7dba6bf5f7d8 serial: uartlite: fix exit path null pointer
46f1bfcd1c4e USB: ldusb: fix NULL-derefs on driver unbind
536e1ab01853 USB: chaoskey: fix use-after-free on release
2443d5a06e95 USB: usblp: fix runtime PM after driver unbind
78941115be20 USB: iowarrior: fix use-after-free after driver unbind
52f1bf2513ae USB: iowarrior: fix use-after-free on release
259a1454a1c4 USB: iowarrior: fix use-after-free on disconnect
63ee1fedd6de USB: adutux: fix use-after-free on release
b6c09eee2d43 USB: adutux: fix NULL-derefs on disconnect
0c72bbbe474a USB: adutux: fix use-after-free on disconnect
a12a9cd6c351 xhci: Increase STS_SAVE timeout in xhci_suspend()
a260279b7617 xhci: Prevent deadlock when xhci adapter breaks during init
c8d9f36aa6b1 usb: xhci: wait for CNR controller not ready bit in xhci resume
6885498721be xhci: Fix USB 3.1 capability detection on early xHCI 1.1 spec based hosts
137c690e919a xhci: Check all endpoints for LPM timeout
2cef9b4aef68 xhci: Prevent device initiated U1/U2 link pm if exit latency is too long
fc87747823b9 xhci: Fix false warning message about wrong bounce buffer write length
861e3b12fed9 USB: usb-skeleton: fix NULL-deref on disconnect
9f4070d847cf USB: usb-skeleton: fix runtime PM after driver unbind
968a3ec8e2de USB: yurex: fix NULL-derefs on disconnect
f2f71a47512c USB: yurex: Don't retry on unexpected errors
f12a275ccbf6 panic: ensure preemption is disabled during panic()
f80586c5fc9e coresight: etm4x: Use explicit barriers on enable/disable
f38e48b51908 vfs: Fix EOVERFLOW testing in put_compat_statfs64
a74f766b8f43 riscv: Avoid interrupts being erroneously enabled in handle_exception()
185f61b3655a perf stat: Reset previous counts on repeat with interval
1479778a1947 tick: broadcast-hrtimer: Fix a race in bc_set_next
a41c9cac2d45 KVM: nVMX: Fix consistency check on injected exception error code
b52c034939de Btrfs: fix selftests failure due to uninitialized i_mode in test inodes
a125322d48ac drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passed
ea9d6a619d30 nfp: abm: fix memory leak in nfp_abm_u32_knode_replace
1f9e6c30c7ef mlxsw: spectrum_flower: Fail in case user specifies multiple mirror actions
cd2fdf60a063 perf unwind: Fix libunwind build failure on i386 systems
161dda893af0 i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga C630
86b33efd649a bpf: Fix bpf_event_output re-entry issue
aaa8c1b8daa9 blk-mq: move lockdep_assert_held() into elevator_exit
fc1b4d3e8239 kernel/elfcore.c: include proper prototypes
6b2721b403ee include/trace/events/writeback.h: fix -Wstringop-truncation warnings
cee4aad767a2 perf build: Add detection of java-11-openjdk-devel package
043372e0afa3 sched/core: Fix migration to invalid CPU in __set_cpus_allowed_ptr()
adf80f2feec5 sched/membarrier: Fix private expedited registration check
61fa5ee7216c sched/membarrier: Call sync_core only before usermode for same mm
096f6c8487c3 libnvdimm/nfit_test: Fix acpi_handle redefinition
12a9a49442b2 fuse: fix memleak in cuse_channel_open
7912cdc163b2 libnvdimm: Fix endian conversion issues
4db2cd0d1ce5 libnvdimm/region: Initialize bad block for volatile namespaces
6fda5a687329 iommu/amd: Fix downgrading default page-sizes in alloc_pte()
3a019ac29c6b thermal_hwmon: Sanitize thermal_zone type
5d08f30e96d8 thermal: Fix use-after-free when unregistering thermal zone device
a429d11015c3 ntb: point to right memory window index
5aec3da44913 x86/purgatory: Disable the stackleak GCC plugin for the purgatory
833db2db7272 selftests/seccomp: fix build on older kernels
407e0ee74d22 pwm: stm32-lp: Add check in case requested period cannot be achieved
52e5ea59746f SUNRPC: Don't try to parse incomplete RPC messages
c0636eed33f0 pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors
18fce724c0ea drm/amdgpu: Check for valid number of registers to read
aecbaa9bc7af drm/amdgpu: Fix KFD-related kernel oops on Hawaii
342e564c9b0f netfilter: nf_tables: allow lookups in dynamic sets
4c53aef11956 watchdog: aspeed: Add support for AST2600
fa83953efe4b SUNRPC: RPC level errors should always set task->tk_rpc_status
f835934a6275 ceph: reconnect connection if session hang in opening state
7403dda16eb9 ceph: fetch cap_gen under spinlock in ceph_add_cap
5c3e30081baa ceph: fix directories inode i_blkbits initialization
e821008425d5 fuse: fix request limit
92549d8ceef5 xen/pci: reserve MCFG areas earlier
e99fd0070701 9p: avoid attaching writeback_fid on mmap with type PRIVATE
5f374721b520 9p: Transport error uninitialized
d9b57935af8d xprtrdma: Send Queue size grows after a reconnect
d478e5024a78 xprtrdma: Toggle XPRT_CONGESTED in xprtrdma's slot methods
111e51fcf8b3 fs: nfs: Fix possible null-pointer dereferences in encode_attrs()
b3703c37a780 ima: fix freeing ongoing ahash_request
4752354b2b94 ima: always return negative code for error
9370b48fcb79 drivers: thermal: qcom: tsens: Fix memory leak from qfprom read
38ab9316e558 cfg80211: initialize on-stack chandefs
bc518ad5972a cfg80211: validate SSID/MBSSID element ordering assumption
b1515120bb24 nl80211: validate beacon head
dc1118edbc7c ieee802154: atusb: fix use-after-free at disconnect
dd72ec13bbe3 xen/xenbus: fix self-deadlock after killing user process
ffbd4ae78614 xen/balloon: Set pages PageOffline() in balloon_add_region()
fb019e226331 DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again
fd5a2a47f144 libnvdimm/altmap: Track namespace boundaries in altmap
f6e67e8fdfac Revert "locking/pvqspinlock: Don't wait if vCPU is preempted"
9898906f5274 mmc: sdhci: Let drivers define their DMA mask
8968e606a47f mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence
56ced5e6024c mmc: sdhci: improve ADMA error reporting
ba5d052c4e62 mmc: tegra: Implement ->set_dma_mask()
31565ffd9d5d mac80211: keep BHs disabled while calling drv_tx_wake_queue()
c5fcd037a2b2 drm/i915/gvt: update vgpu workload head pointer correctly
359d2cb5c30a drm/nouveau/kms/nv50-: Don't create MSTMs for eDP connectors
0b1757e6f255 drm/msm/dsi: Fix return value check for clk_get_parent
00eccaeb55aa drm/omap: fix max fclk divider for omap36xx
88f34afe2774 drm: mali-dp: Mark expected switch fall-through
ccc3bc0df68d drm/atomic: Take the atomic toys away from X
d88c0c23427b drm/atomic: Reject FLIP_ASYNC unconditionally
6aecce20a2cd perf stat: Fix a segmentation fault when using repeat forever
1b4371e819e8 perf tools: Fix segfault in cpu_cache_level__read()
7311201faf48 watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout
79f5df7f2f92 selftests/tpm2: Add the missing TEST_FILES assignment
a895c40ca633 PCI: Restore Resizable BAR size bits correctly for 1MB BARs
0ea26a3c4336 PCI: vmd: Fix shadow offsets to reflect spec changes
7dfe1d4b949d PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
2bd27a041f5b PCI: vmd: Fix config addressing when using bus offsets
04576078716b timer: Read jiffies once when forwarding base clk
d964d65c20ae usercopy: Avoid HIGHMEM pfn warning
37fdb252a315 tracing: Make sure variable reference alias has correct var_ref_idx
212d21abd0f9 power: supply: sbs-battery: only return health when battery present
1cee0eb9f606 power: supply: sbs-battery: use correct flags field
51b90fe021de MIPS: Treat Loongson Extensions as ASEs
b127de42d3ea crypto: ccree - use the full crypt length value
f244496b19f2 crypto: ccree - account for TEE not ready to report
de6922d9ab63 crypto: caam - fix concurrency issue in givencrypt descriptor
4fd6651142be crypto: caam/qi - fix error handling in ERN handler
c4b56f7746ff crypto: cavium/zip - Add missing single_release()
a2edd8487639 crypto: skcipher - Unmap pages after an external error
85a3e980d873 crypto: qat - Silence smp_processor_id() warning
f00ae50250a7 tools lib traceevent: Do not free tep->cmdlines in add_new_comm() on failure
623451aba2cf tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file
3dcc2fed6e40 can: mcp251x: mcp251x_hw_reset(): allow more time after a reset
82262ec35ddb powerpc/mm: Fixup tlbie vs mtpidr/mtlpidr ordering issue on POWER9
ff2880ac0da2 powerpc/mm: Fix an Oops in kasan_mmu_init()
5a2987852f46 powerpc/mm: Add a helper to select PAGE_KERNEL_RO or PAGE_READONLY
45a769de36eb powerpc/book3s64/radix: Rename CPU_FTR_P9_TLBIE_BUG feature flag
cf2b70b6b656 powerpc/book3s64/mm: Don't do tlbie fixup for some hardware revisions
2685e06f19a6 powerpc/kasan: Fix shadow area set up for modules.
5e7044ab7567 powerpc/kasan: Fix parallel loading of modules.
5e56a0800d67 powerpc/powernv/ioda: Fix race in TCE level allocation
e0f04cdca674 powerpc/pseries: Fix cpu_hotplug_lock acquisition in resize_hpt()
e76223f82362 powerpc/powernv: Restrict OPAL symbol map to only be readable by root
dae12b5175c7 powerpc/ptdump: Fix addresses display on PPC32
1552ecc37cf8 powerpc/32s: Fix boot failure with DEBUG_PAGEALLOC without KASAN.
aeea368a2c97 powerpc/603: Fix handling of the DIRTY flag
838485d94fac powerpc/mce: Schedule work from irq_work
5a707634e866 powerpc/mce: Fix MCE handling for huge pages
789e9c0c699d powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race
f7f281ee8c8d ASoC: sgtl5000: Improve VAG power and mute control
917b868fc1db ASoC: Define a set of DAPM pre/post-up events
f153e91caf36 PM / devfreq: tegra: Fix kHz to Hz conversion
883dbbc1e7ca nbd: fix max number of supported devs
f3a500b77c59 KVM: X86: Fix userspace set invalid CR4
15153db63642 KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9
a0bc470fc62e KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
9772769d3990 KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
93fd3eab6a8a KVM: PPC: Book3S HV: Don't push XIVE context when not using XIVE device
2d09838ea088 KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP
1da0d7bce2bc KVM: PPC: Book3S: Enable XIVE native capability only if OPAL has required functions
ed90a05c0b1b KVM: s390: fix __insn32_query() inline assembly
87a6398ef7b8 s390/cio: exclude subchannels with no parent from pseudo check
bd54ca01c976 s390/cio: avoid calling strlen on null pointer
fbba7e0326fe s390/topology: avoid firing events before kobjs are created
8892a0c67e9a KVM: s390: Test for bad access register and size at the start of S390_MEM_OP
dac32cc04e95 s390/sclp: Fix bit checked for has_sipl
d08741d62973 s390/process: avoid potential reading of freed stack
(From OE-Core rev: 73c8fc8c9bf4b0fe0e485c12bee9922a64aa1cdd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
e91ef5bcdeda Linux 5.2.21
(From OE-Core rev: 1f51f1505cdeec5cc464bbbc14f5514d7440a426)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported patches and explicitly pass -std=gnu99 to native CFLAGS
to make sure build passes on older and still supported OSes like CentOS 7.
(From OE-Core rev: cc84d4dcc775c371389e1d351256946cbd003545)
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>
- Drop open_inner.patch
- Drop opkg_archive.patch
- Remove "remove_test_binaries" function
(From OE-Core rev: e795ba18613a3f45a81617207abc68f93039cbe5)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop 00001-Switch-all-scripts-to-use-Python-3.x.patch
- Drop 00001-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch
- Drop pipefail.patch
(From OE-Core rev: bf51a4a1312562cc9b5944b7dfccba0b3d11dc3c)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This inc file isn't used anymore since the X.org protocol packages
merged into xorgproto.
(From OE-Core rev: 438f21ae14499e1f61d6e0c020153448d6ffa84c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of trying to change the RPATH in every file under the binary
directories, check that the file is an ELF first.
This means that we don't attempt to change the RPATH on the entire
Python standard library, for example.
Also return early if the directory to iterate doesn't exist.
(From OE-Core rev: 977f4baacf7c8d06d9cfe5c5e39bb8bc19f27028)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass --build-base so the build tree is a location we specify, which we
can ensure is empty when building.
This means we can stub out do_configure entirely and use cleandirs
instead.
When installing we need to tell it to do a build so that we can pass
--build-base, so also pass --skip-build to avoid the potential rebuild.
(From OE-Core rev: de1b57acedaaf01e10059792eb0031ceafcc8b97)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable isn't used by the build task, despite it's name.
(From OE-Core rev: 497ddaca42f805c119c022d77960d1eecc01436b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These staging tasks haven't been used since ~2010, so remove them.
(From OE-Core rev: d0eba7ccf54101e708ea50afb072f1bd2cf8fb6d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the pkgdata
database at your leisure. By being graphical it is easier to explore and can
follow links between packages.
This is very much a work in progress, so be gentle and patches are welcome.
(From OE-Core rev: 169634473a14dc025803e55382c187dc660ae2a2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using kernel-devsrc for older kernels do_install fails with:
| cp: failed to get attributes of 'arch/x86/entry': No such file or directory
In the Linux kernel commit 1f57d5d85
"x86/asm/entry: Move the arch/x86/syscalls/ definitions to arch/x86/entry/syscalls/"
moved some files copied in the kernel-devsrc recipe. Commit 1f57d5d85 was added in
v4.2.
To be able to use kernel-devsrc for kernels older than v4.2 this commit make use of find
for the files that shall be copied.
(From OE-Core rev: 53cccd5b5145c23cac3e227ef71edaf4609c11b5)
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>
Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk. In
this codepath there is no point to using cachedpath.
(From OE-Core rev: 460222c54e4c65352c0687f2b6c70527cc9a2b4b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk. In
this codepath there is no point to using cachedpath.
(From OE-Core rev: 765e0c3410d6bf3b4a50c4a036f555eae760acd2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch from 81485be19b ("gnutls: don't use HOSTTOOLS_DIR/bash as a
shell on target") as upstream now honours POSIX_SHELL when set as the
primary target shell.
(From OE-Core rev: bc487ced3be40569157fb40c99bfa68871f74744)
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>
With out these changes, a traceback displayed when a file
is listed in the SRC_URI but the file does not exist.
raise FileNotFoundError and print the patch then mark the task as failed.
(From OE-Core rev: d4926c11a4ab9148bdb640a9367c9e1891491a5b)
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>
While multilib enabled, it builds vulkan-demos failed
...
|CMake Error at tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/
recipe-sysroot/usr/lib64/cmake/assimp-5.0/assimpTargets.cmake:85 (message):
| The imported target "assimp::assimp" references the file
| "tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/recipe-sysroot/usr/lib/libassimp.so.5"
| but this file does not exist. Possible reasons include:
...
Since oe-core set ASSIMP_LIB_INSTALL_DIR to baselib, use it rather than
hardcoded `/lib' to search library
(From OE-Core rev: 2f37056cc6380a6dbc6e43152d2c7a4846526904)
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>
Patches are currently, crossing across repo boundaries, between glibc
and localedef, therefore it is better to divide the patches
accordiningly, with this patchset makery patch is spun out since that
applies to localedef alone.
There are no other code changes
(From OE-Core rev: 85b86bc810dcde3357d681ca8043883f2f4fdba0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This regex uses \ so is actually parsed incorrectly, mark it up as a raw
string.
(From OE-Core rev: 120e687bad03ad2cf4df4092e8a3f35a569e09f4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to ensure the correct working directory is used for this
tar command to succeed.
(Bitbake rev: e1a2a0e29a75dead3426ae083387181ad52da91f)
Signed-off-by: Christian Herzig <cherzig@gauselmann.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds core-image-sato and core-image-full-cmdline to the list of images
that the reproducible build test builds.
(From OE-Core rev: d6c62cc0305ab082e990041da104fedb5798e0e4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop all patches as they are no longer necessary with autotools,
fix problems that are addressed upstream, or (in case of no-vectorization.patch)
don't apply to the old version either, which means no one is using that hw target
anymore.
Remove custom systemd configs (provided by upstream), and custom
syslog config (also provided by upstream but not installed by default).
Adjust parselogs to not error out on not being able to find
System.map file during boot (that is packaged into kernel-dev
and is not normally installed).
License-Update: various tweaks; the license terms are the same.
(From OE-Core rev: dcf0bd14d78b0848f206eb35355f05bfbd51c02d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scrubbed so subsequent releases are relevant to the
initial release only.
(From yocto-docs rev: 7bb2c4f851aa968eb05b11c5471b81962f268eba)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have bb.debug(2, xxx) messages in cooker which are useful for debugging
but have really bad effects on performance, 640,000 calls on recent profile
graphs taking tens of seconds.
Rather than commenting out debug which can be useful for debugging, don't
create events for debug log messages from cooker which would never be seen.
We already stop the messages hitting the IPC but this avoids the overhead
of creating the log messages too, which has been shown to be signficiant
on the profiles. This allows the code to perform whilst allowing debug
messages to be availble when wanted/enabled.
(Bitbake rev: f04cd931091fb0508badf3e002d70a6952700495)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't save much time but does make the profile counts for the
function more accurate which is in itself useful.
(Bitbake rev: d446fa89d206fbc6d098215163c968ea5a8cf4a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were seeing this running thousands of times with hashequiv, do
the filtering where it makes more sense and make it persist.
(Bitbake rev: 2cfeb9998a8ad5b1dcda0bb4e192c5e4306dab17)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the calls to difference_update out a code level which improves efficiency
significantly.
Also further combine the outer loop for efficiency too.
These two changes remove a bottleneck from the performance charts.
(Bitbake rev: e28ec69356f1797de3e4e3fca0fef710bc4564de)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Creating a new sorted list of sstate tasks each iteration through runqueue is
extremely ineffecient and was compounded by the recent change from a list to set.
Create one sorted list instead of recreating it each time.
(Bitbake rev: de18824996841c3f35f54ff5ad12f94f6dc20d88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are two operations happening in get_taskhash, the building of the
underlying data and the calculation of the hash.
Split these into two funtions since the preparation part doesn't need
to rerun when unihash changes, only the calculation does.
This split allows sigificant performance improvements for hashequiv
in builds where many hashes are equivalent and many hashes are changing.
(Bitbake rev: 6a32af2808d748819f4af55c443578c8a63062b3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "no dependencies" task case was not being correctly considered in this
code and seemed to be the cause of occasionaly task hash mismatch errors
that were being seen as the dependencies were never accounted for properly.
(Bitbake rev: 608b9f821539de813bfbd9e65950dbc56a274bc2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The looping over multiple changed hashes causes many calls to get_taskhash
and get_unihash which are potentially slow and then overwritten.
Instead, batch up all the tasks which have changed unihashes and then
do one big loop over the changed tasks rather than each in turn.
This makes worlds of difference to the performance graphs and should speed
up build where many tasks are being rehashed.
(Bitbake rev: c9c68d898985cf0bec6fc95f54c151cc50255cac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Discovered with a recipe under devtool. The ${S}/singletask.lock file (added by
externalsrc.bbclass) was leaked, giving a warning like:
WARNING: <PN>+git999-r0 do_populate_lic: /home/laplante/yocto/sources/poky/bitbake/lib/bb/build.py:582: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/laplante/yocto/build/workspace/sources/<PN>/singletask.lock' mode='a+' encoding='UTF-8'>
exec_func(task, localdata)
(Bitbake rev: 6beddf6214e22b4002626761031a9e9d34fb04db)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The local hash equivalence server used by bitbake requires python 3.5,
so bump up the minimum required version.
[YOCTO #13678]
(Bitbake rev: 1412dcc077b1bea10b72fc8b525d6258dca46d97)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of reporting ${LICENSE} when a package cannot be installed
into an image because it is using an incompatible license, report the
license(s) that are actually incompatible.
(From OE-Core rev: b1863e570d4b169cd2f0ea7b4fe7c2348943cb2c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When excluding a package from being packaged due to incompatible
licenses, report the license(s) that are actually incompatible.
(From OE-Core rev: 7d5c07e4a32a0968942ae538023c2891b59d8ab5)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of reporting ${LICENSE} when a package is identified as using
an incompatible license, report the license(s) that are actually
incompatible.
(From OE-Core rev: fb3405fac7b933a3f9d23e5faf6a3cf2d1990982)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After a number of rewrites, the code checking if a package has been
whitelisted for an incompatible license was calculating the
whitelisted packages twice (as 'whitelist' and as 'incompatwl').
(From OE-Core rev: 01dcc8c94b882d865fc72a067a90d9721ac5fea7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it possible to report the incompatible licenses.
(From OE-Core rev: 02a3189b4902e616f5b4277ee3d0fca10b73b4dc)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SRC_DISTRIBUTE_LICENSES variable and its static list of licenses
has been replaced by AVAILABLE_LICENSES, which automatically contains
all available licenses.
(From OE-Core rev: 64daaf29e2c12c8b587bafdebf9409433187ddf7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, there was SRC_DISTRIBUTE_LICENSES, an undocumented
variable that contained a static list of licenses. It was used by
expand_wildcard_licenses() to expand any wildcards used in, e.g.,
INCOMPATIBLE_LICENSE. However, since this static list of licenses has
not been kept up-to-date, many licenses were missing, with the result
that if one tried to use any of those licenses with a wildcard, no
licenses would be found, effectively ignoring that they should be
marked as incompatible.
This introduces a new (documented) variable, AVAILABLE_LICENSES, that
is automatically updated to contain all licenses found in any
directories specified by ${COMMON_LICENSE_DIR} and ${LICENSE_PATH},
and uses it instead of SRC_DISTRIBUTE_LICENSES when expanding
wildcards.
(From OE-Core rev: 8c9ef587fe499c612a878a1ab42092eb79b334ef)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream mesa can either be built as a debug release (the default) or a
production release. This patch allows the user to choose which one they
want by setting MESA_BUILD_TYPE to either 'production' or 'debug' as
they see fit. Under OpenEmbedded a production build will be performed by
default.
(From OE-Core rev: 6a6b775d69aa59102e1f6a68c88276be6d54a8e6)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some upstream projects are employing the buildtype parameter so users
can create, say, "production" versus "debug" builds. Therefore create a
configurable parameter so recipes/users can tweak it.
(From OE-Core rev: 5b12211ef7856bedafd356f6b7a03add46eca6c7)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches have been refreshed and all of meta-oe and oe-core was sucessfully built.
(From OE-Core rev: 469bcfbfe25afd9c480c26f117b81d65cc305fbe)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user specified an http port to use for serving
files, use that instead of a random one. At the same
time, have the http server bind to all interfaces.
Binding to the server_ip might not always be possible,
e.g. in the case of running bitbake / oeqa from within
a docker container. In this case, the ip address is valid
outside the container, but not inside, and hence can't
be bound to. So switch to simply binding to all interfaces.
(From OE-Core rev: da529e6522959c2024023e90de52b5e42f160596)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow tests to access the listening port as just introduced.
Note that when using qemu this infrastructure shouldn't be
needed, but we still need to set the port to 0 so that
a listening port is determined automatically (e.g. by the
python http server).
(From OE-Core rev: ca58559fc30842c123907fb5cc68b3356c530862)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the existing possibility to specify a port in
TEST_TARGET_IP, allow TEST_SERVER_IP to also contain a
port.
The intention is for this port to be passed into e.g.
the http server from the apt / dnf / opkg tests, or
any other (custom) tests that might need the target to
connect to a service spawned by bitbake / oeqa, where
bitbake is actually running inside a docker container.
(From OE-Core rev: 9f401cd8b010ca613a151d0323b251f2243f399f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Being able to specify the listening port is useful when
running OEQA from within a docker container, e.g.
crops or any other solution.
In that case, a port on the outside must be mapped to a
specific port inside the container. If no port is specified
for the http server module in this case, the http server
would choose a random port, which is unlikely to be mapped
and thus won't be reachable from the outside.
(From OE-Core rev: e54391ca9068661693275fbfcfded9bc0b2606f3)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nf_tables_inet.ko and nf_tables_ipv4.ko and nf_tables_ipv6.o
(and nf_tables_arp.ko and nf_tables_netdev.ko) were merged into
the core nf_tables.ko before v4.17 in kernel commit
02c7b25e5f54 netfilter: nf_tables: build-in filter chain type
nf_meta.ko was merged to be a builtin of nf_tables.ko before
v4.18 in kernel commit
8a22543c8e70 netfilter: nf_tables: make meta expression builtin
(From OE-Core rev: 98715c9dc8dd925cffce9bd5d57172206d1e2a7b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a mere 24KB (on 32bit arm), avoiding to pull in
all of the remainder +300KB in small initramfs images
when not needed.
Add this new package to RDEPENDS of e2fsprogs so as to
not break existing users.
Also, remove a stale reference to the non-existent
e2fsprogs-fsck package which was removed in 2012 from here
in commit 98b1b9f047ef ("e2fsprogs: Drop fsck binary"),
commit 93d6471727 in poky, and sort some of the lists
alphabetically.
(From OE-Core rev: 19dd3453da39066564d899d561e4814822dcbd18)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script scans for services, parses them and makes sure those targets are still
there. The exists file check fails if the target is an alias, such as default.target
so add an additional test.
[YOCTO #13685]
(From OE-Core rev: 10bdbf033e51c97f6408c9114d480372135a2c2e)
Signed-off-by: Werner Grift <sky.captin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Unset-need_charset_alias-when-building-for-musl.patch is no longer
necessary as upstream has removed the code.
dm_check.patch is replaced with 0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch
Rework ptests, in particular remove the generated Makefile
from the layer, and use the upstream Makefile.
Ptest pass rate is 100%.
(From OE-Core rev: 5dc6529d0b5b8b1bef12b90008f0a25612bd453e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-Use-labs-instead-of-abs.patch as problem is fixed upstream.
(From OE-Core rev: 6ecc17f83d57d08bbeb6366cb586993a8844c8a6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Optimise the call into the parent function to be only when needed.
(From OE-Core rev: 198bacaa1068fd68075d9182318fe64e9809dd36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On test machines we have python3 available at alternative locations. Use
these rather from the evnrionment rather than a hardcoded path.
(From OE-Core rev: 81ee68f39a155c79443d45321ce4b81d9bf6675e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With hashequiv the get_taskhash function is called much more regularly
and contains expensive operations. This these don't change based upon
hash in a given build, improve the caching within the function to
reduce overhead.
(From OE-Core rev: de98cfe3cde4b8d5f4b163b5fba3f129651ef06a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use wic instead of the live/hddimg filesystem type for x86 machines, as it
produces better filesystems and doesn't have a hard limit of 4GB.
(From OE-Core rev: 04e4e93efa4d8e2bdde950fe95c2fd95f89c13e7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python 3.8 has started to throw this as a warning but usage is wrong see
[1], it seems to be working by accident and not design.
Fixes
SyntaxWarning: "is" with a literal. Did you mean "=="?
[1]: https://bugs.python.org/issue34850
(From OE-Core rev: c3cb6bc21f3f84e2ed103b6438516ab85222faa9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configures the options passed to nasm to remove build paths in the
generated object files.
(From OE-Core rev: 9119a882adbf19df9f47f66cebaa7f730d3e9462)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to nasm to change the prefix for file paths encoded in
the object files. This allows builds to be reproducible regardless of
the build directory.
(From OE-Core rev: ad5c914933c7b38296dcb8bba3c36aed45aacc32)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
goarch is used in all classes of recipes ranging from native to target,
therefore its best to contain the variables and not spill over into
recipe classes where they can adversely affect shared state reuse e.g.
go-native currently gets TUNE_FEATURES into dependency chain of
referenced variables which means go-native gets rebuilt when we change
from qemuarm to qemux86 machine types since TUNE_FEATURES is defined
with DEFAULTTUNE which would change as machines are switched
These variables are specific to arm/mips/x86 so marking them with
appropriate overrides for native recipes will be right thing here
Chose 'hardfloat' for mips which is default too, 7 for arm and sse2 for x86
somehow go-native bootstrap compiler (1.4) still needs them so feed
commonly used values or defaults.
Fixes
ERROR: go-native different signature for task do_configure.sigdata between qemux86copy and qemuarm
...
List of dependencies for variable TUNE_FEATURES changed from '{'DEFAULTTUNE', 'TUNE_FEATURES_tune-core2-32'}' to '{'DEFAULTTUNE', 'TUNE_FEATURES_tune-armv7vethf-neon'}'
changed items: {'TUNE_FEATURES_tune-core2-32', 'TUNE_FEATURES_tune-armv7vethf-neon'}
(From OE-Core rev: 83eebf5577dd0a23be937375c1a8a15e3da4fa64)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the log very large and breaks the ptest result
parser.
(From OE-Core rev: 78221af4c0297e0278c042eed390ad0e53f2548a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a big pile of backports.
Disable zsh completions, as they're unlikely to be useful.
(From OE-Core rev: dad8cd50bcc4203a65d153dc2445502c1e728975)
(From OE-Core rev: 1a31a31a3bd68f027ba0a13f8e66ce92104a4d4c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox as well as vlock utility from meta-oe provides vlock utility
which can conflict when with kbd if pam is a enabled distro_feature
Fixes image build errors
update-alternatives: Error: not linking <rootfs>/usr/bin/vlock to /bin/busybox.suid since <rootfs>/usr/bin/vlock exists and is not a link
ERROR: yoe-qt5-wayland-image-1.0-r0 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.
(From OE-Core rev: 08636708f6ca677a6ee6c88fa2999c7b70b7d474)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The vlock doesn't exist if PAM isn't enabled.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When doing reproducible builds inherit podfix to remove the possibility
of differing Perl versions causing manpages to change.
(From OE-Core rev: 5dc43edab4787906f2c9f51e51bf78d1dc966286)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manpages generated by Pod::Man contain the version number, which isn't
reproducible if we're using the host Perl to generate manpage.
One option is to always depend on perl-native when generating manpages
but this is a heavy dependency, so instead strip out the versions in
do_install().
(From OE-Core rev: 18d8e5ac689d6eb6098f68ac785f43e9d5f5938a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we fail to run the command to generate the tap devices then we should
show a reasonable message and then exit, without showing a traceback.
"return 1" at this point in the code does nothing because the caller
doesn't check the return, so just use sys.exit().
(From OE-Core rev: 47e40fdd7dd58bde4e017e2375c16450fcb14eca)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is not a good idea to mix logging and calls to print() - if the
output is being captured the result can be that the two types of output
are not recorded contiguously; this could be observed if an error
occurred running runqemu from inside testimage:
---------- snip ----------
ERROR: core-image-minimal-1.0-r0 do_testimage: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:
runqemu - INFO - Setting up tap interface under sudo
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
runqemu - ERROR - Setting up tap device failed:
Command '('sudo', '/home/paul/poky/poky/scripts/runqemu-ifup', '1000', '1000', '/home/paul/poky/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin')' returned non-zero exit status 1.
Run runqemu-gen-tapdevs to manually create one.
runqemu - INFO - Cleaning up
KERNEL: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.2.20+git0+bd0762cd13_dd25a04fc5-r0-qemux86-64-20191205213021.bin]
MACHINE: [qemux86-64]
FSTYPE: [ext4]
ROOTFS: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4]
CONFFILE: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.qemuboot.conf]
---------- snip ----------
What we should see here is the KERNEL, MACHINE, etc. lines appearing
immediately after the "Continuing with the following parameters:" line
as they do when you run runqemu directly. If we put all of the lines
through the logger instead then it works properly.
(From OE-Core rev: ca64a3d490fbe1bf87c9f1dd6d87a1ecdeba8325)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we get here in the code it's because runqemu has failed, this is not
a debug situation - we need to see the output, so print it as an error.
Fixes [YOCTO #13681].
(From OE-Core rev: c1def38c680d64c992839166bbf9bec51eb0788a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If runqemu fails, there is some logic to run a set of commands to dump
various bits of information that might help debug the issue
(particularly in a busy situation such as on the autobuilder). One of
those commands is "top -bn1", however top restricts the output to the
width of the calling terminal, and for whatever reason this is a little
restrictive when called from inside testimage, so set COLUMNS in the
environment to a high value to fix it. (Another way is to use the -w
option, but that is not supported by our default busybox configuration
so it will then fail when this same list of commands is used on the
target).
(From OE-Core rev: 07da998f5aa6c3f5ffeee5150fc579e8a1051ba4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If runqemu fails, there is some logic to run a set of commands to dump
various bits of information that might help debug the issue
(particularly in a busy situation such as on the autobuilder). However,
when we try to run these we are inside the normal build environment
which restricts commands to be run on the host to those specified in
HOSTTOOLS. Since this isn't a place where host contamination is going to
be a problem, override PATH to a reasonable default so that we run the
actual host tools directly to avoid the issue. (Logically we would want
to use the original PATH value here, but it is not easily accessible.)
(From OE-Core rev: 3f6dcf67bccb4f0fc1a9a64e02bd0e2da620ad0e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If mtools isn't present on the underlying system this test would fail.
Ensure wic-tools is available in a similar way to other wic selftests
in OE-Core.
(From meta-yocto rev: 5d48d41a3f93ca0e7085ce3c0f646b1d0c8d52d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
replace .wks with .wks.in and refer loader to EFI_PROVIDER
to enable different bootloader.
soft assign default EFI_PROVIDER "grub-efi" for genericx86.
(From meta-yocto rev: 11ecd2febed95e923c8cc68e2c438cd846a88d02)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a significant performance issue in get_unihash(). The issue turns out
to be the lookups of setscene tasks. We can fix this by using a set() instead of
the current list.
(Bitbake rev: 1e561672d039ebfb8cd0e0654a44dcf48513317c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit c4b8440f730c33eaf9f818b856ae81b2f1017fec.
The logic in this change is flawed and needs to be re-thought.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing huge slowdowns on large builds on the autobuilder. A qemux86 world
build was running really slowly, a primary feature was lots of rehashing going on
due to an sstate change which caused a rebuild when all output should be identical.
This was traced to the hundreds of thousands of calls to get_unihash() from
get_taskash(). If we simplify the unitaskhashes data structure, we can bypass
the function call and access the data directly. In local profile charts,
this significanly sped up process_possible_migrations(), both on profiles
and visually.
Whilst this change doesn't aid readability, it does solve an otherwise
huge performance issue.
(Bitbake rev: c4b8440f730c33eaf9f818b856ae81b2f1017fec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Batch all updates to scenequeue data together in a single invocation
instead of checking each task serially. This allows the checks for
sstate object to happen in parallel, and also makes sure the log
statement only happens once (per set of rehashes).
(Bitbake rev: db033a8f8a276d864bdb2e1eef159ab5794a0658)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids a directory not present error.
Fix a comment typo whilst here.
(From OE-Core rev: 1360d8d7d99b70a80c8cdbc1fc6d9e6752483139)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patches meant the mkdir might no longer match the final target
directory. Fix this.
(From OE-Core rev: 0af4dae84099e8632a9ea6a4afdbea2f232bb170)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
STATE_PKG may have been changed by sstate_report_unihash so don't
cache the variable's value.
(From OE-Core rev: be29a25400c4ea285ab3f588c5831f00ba5d4f63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit dad8cd50bcc4203a65d153dc2445502c1e728975.
It is causing performance problems in ptest, taking hours (~18) to parse the ptest runner logs.
Log output increased from ~4MB to ~65MB. Revert until we can deal with the performance issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its rather antisocial to overwrite SSTATE_PKG with an expanded form for the variable
and it stops the value of BB_UNIHASH being changed when the package is written out.
Instead of expanding the variable, append to it instead to avoid this rather
hard to figure out behaviour and allow the siggen code to behave as expected.
(From OE-Core rev: 62eca02024b4c44d618ab9bcf87a3166c886dadb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible the new unihash may not exist in sstate. Currently the code
would create an sstate object with the old hash however this updates it to
create the object with the new unihash.
(Bitbake rev: abcaa1398031fa5338a43859c661e6d4a9ce863d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to recently released version 1.1 of NVD CVE JSON feed, as in
https://nvd.nist.gov/General/News/JSON-1-1-Vulnerability-Feed-Release
it is mentioned that
Due to changes required to support CVSS v3.1 scoring, the JSON
vulnerability feeds must be modified. This will require the consumers
of this data to update their internal processes. We will be providing
the JSON 1.1 schema on the data feeds page and the information below
to prepare for this transition.
...
The JSON 1.1 data feeds will be available on September 9th, 2019. At
that time the current JSON 1.0 data feeds will no longer available.
This change was tested briefly by issuing 'bitbake core-image-minimal'
with 'cve-check.bbclass' inherited via local.conf, and then comparing
the content between the resulting two
'DEPLOY_DIR_IMAGE/core-image-minimal-qemux86.cve' files, which did not
seem to contain any other change, except total of 167 entries like
CVSS v3 BASE SCORE: 0.0
were replaced with similar 'CVSS v3 BASE SCORE:' entries which had
scores that were greater than '0.0' (up to '9.8').
(From OE-Core rev: cc20e4d8ff2f3aa52a2658404af9a0ff358cc323)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Updates to poky.ent
* Updates to mega-manual.sed
* Updates to all <manual>.xml files for date
(From yocto-docs rev: 5f752ef0193cb60cd5d46a63e99ffcd02107e0c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Unset-need_charset_alias-when-building-for-musl.patch
as the problematic code is gone.
Rebase the other patches.
License-Update: http links changed to https
(From OE-Core rev: b234a4ed4d6a9c2e00f5fa38cf04867c7ada24a0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile used for flex-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: 3cce2d1c36b0859186139d650fd50d2a56e91abd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For ptest only RDEPENDS is needed, and packaging glibc-locale
slowed down builds with ptest disabled.
(From OE-Core rev: 53f61ca73e69508bff6ea75da666d6873b5384f5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should help debug which part of this selftest is failing.
We can not tell which outloop is failing so split the tests into
systemd and sysvinit.
[YOCTO #13650]
(From OE-Core rev: 5f49ac73ca38ae711e093b35ae0feb5a0674198a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop CVE patches which are already available on binutils-2_33-branch
Forward port rest of the patches
(From OE-Core rev: 7bcfce05045fb7e10456aa1f5301e70c178f20d7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch also helps to build with EXTERNALSRC.
(From OE-Core rev: e63dc57f0950dbfc594efe8570333a16baadf51a)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 674596421320de08142e010fdd65ec6f0a0f34e9 and
9dc1aaed83f0627db65f387de0b1e51503ab07b1.
The headers provided by libtirpc are not drop in replacements for the
RPC header files previously provided by glibc, so do not install them
as if they were. Additionally, they clash with the header files
installed by glibc if an older version of glibc is used.
Any problems related to the lack of the old header files from glibc
should be addressed in the application/library that expects them.
(From OE-Core rev: 8311e8b399fda66deee980dfd36068fafed2a2aa)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable assembly for vulkan-loader, as it tries to execute
a target binary (previously it would fail to detect a working
assembler and do the same fallback quietly).
(From OE-Core rev: fe2db77803846faa29226b821aaa985e009ac3cc)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is only a problem with older Apache versions.
(From OE-Core rev: 492d43296b15514ec72dfb15f37c6d2ab1fbbae3)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One Windows-only CVE that cannot be fixed, and two CVEs
where upstream agreement is that they are not vulnerabilities.
(From OE-Core rev: 56d5b181f3b119f2bbd310dedd6d3b26e76f5944)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson has support for downloading subprojects using something called
wraps. This interferes with bitbake's expectations of all downloads
being done by the fetch task. To avoid this, tell meson to not
download any wraps.
Suggested-by: Mattias Jernberg <mattias.jernberg@axis.com>
(From OE-Core rev: b547637ad84bad8f7fe27193bf636541f8588ae8)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that, support is not enabled for machines which do not
support VSX
(From OE-Core rev: cd38be40cd2d65787dd6f6f6667c320f4865716e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar fix was applied already upstream but not extended to all the
cases
(From OE-Core rev: ec6d1e337f36d75588133d5b6988ee438600b8ad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-This-fixes-an-issue-that-clang-reports-about-mutlipl.patch,
the problem has been fixed upstream.
Rebase the other patches.
License-Update: copyright years
(From OE-Core rev: 5372e1acdd68367e64d13e19d1beb2d7b3e3c224)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch over to meson, and add an option for wayland support.
(From OE-Core rev: 5ca54ccab8c7a10072be84d9335fbc71e2f73042)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkfontdir utility has been merged into mkfontscale source tree,
so a separate recipe is no longer needed (and clashes on install).
License-Update: additional copyright claims from Red Hat and Open Group
(From OE-Core rev: d4d403bb1d116751c676eab121698c7e09f070ee)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patch.
tls-check merely checks at configure time whether glib-networking has tls
support enabled (by running a target executable which doesn't work for us);
it does not affect the actual build.
(From OE-Core rev: 2537fcf3143153e272630c42fc1d7ce85b463590)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a big pile of backports.
Disable zsh completions, as they're unlikely to be useful.
(From OE-Core rev: dad8cd50bcc4203a65d153dc2445502c1e728975)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop fix-setgroup.patch as the upstream has fixed the issue.
(From OE-Core rev: 45edc6d23e20f7634c50db71e419c7e3bb7f393e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase set-proper-path-of-resources.patch
Add a patch to address a string format error; as it modifies
a .l file, add a dependency on flex which is processing that into
C source code.
License-Update: file with copyright statements was replaced with original GPLv2 text
(From OE-Core rev: 729ac34dce472378cec5447c366a28de2081e7de)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds the option to disable DTD validation when building wayland-scanner,
which makes libxml2 optional.
(From OE-Core rev: d821415ab09248a894d58f6e5a5749e822d30939)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this change, python 2.x recipes are ready to be moved to an external layer.
Once that happens, they will be removed from oe-core.
(From OE-Core rev: 3f8d803b76254e3bd2294cfd96a6a53859053423)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As Alex Kanavin found, dependencies aren't always populated, particularly
with the hash equivalence server enabled locally:
'bitbake core-image-minimal' with gtk+ disabled.
can confirm with: $ tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -display gtk
qemu-system-x86_64: Display 'gtk' is not available.
Enable gtk in local.conf with: PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"
'bitbake core-image-minimal', without deleting tmp/
$ tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -display gtk
qemu-system-x86_64: Display 'gtk' is not available.
This change ensures the dependencies are correctly handled as the full
sysroot is always depended upon even if things come from sstate.
(From OE-Core rev: d40853b10dd9f01d6a8dd4edcb941cfa8a544922)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables depend on TUNE_FEATURES variable and that creeps into
dependencies for native as well as a result, which means go-native gets
recompiled everytime machine/arch is changed.
Fixes sstate differences found e.g.
basehash changed from 600fb6be571fa4853232a7fed78945ee19b324e54b1b94cff93ef472b6290103 to 994de861190a56064d3e186d9c411152127e230bf2f77b17e59b2c5932a41249
List of dependencies for variable TUNE_FEATURES changed from '{'TUNE_FEATURES_tune-core2-32', 'DEFAULTTUNE'}' to '{'TUNE_FEATURES_tune-armv7vethf-neon', 'DEFAULTTUNE'}'
changed items: {'TUNE_FEATURES_tune-core2-32', 'TUNE_FEATURES_tune-armv7vethf-neon'}
(From OE-Core rev: 4825eede606b075d0d529b38d6162999f1dec506)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change all recipes to https where we get an http 301 permanent redirect.
(From OE-Core rev: e514acda9e12bccde6d3974e0fd1a37b3837191a)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
Removed since it is included in 5.7
(From OE-Core rev: 18799b309e4ae221aef6a8e70ec5f1c1a3d11475)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ldconfig should be prior to glibc-utils in PACKAGES variable, or else
ldconfig binary would not be split to its own package, hence will lead
to runtime issues for the packages that depending on ldconfig, like
systemd.
(From OE-Core rev: 5101aecacfb5a8e48bba74b538742bef9409b999)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a patch to prevent the gzip'ed man pages from including the build
date
(From OE-Core rev: 5cdb34cee19271b104e1debed8d740996f3447d9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps fix an issue where python interpreter in hg script could
overflow the BINPRM_BUF_SIZE which is 128 on most of systems, because
interpreter is hardcoded and build paths can be deep.
This patch helps, because now the absolute python interp path in hg can
be replaced with '/usr/bin/env python3' and it will ensure that python3
from native install is used instead of the one on host.
(From OE-Core rev: 3adaaab787bd105cc0049d36c7b8caeaa9b633e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstream backport of integer overflow in XMSS private key parsing.
Add PACKAGECONFIG for kerberos, libedit and ldns. If api-documentation
is enabled then install man(7) manpages rather than catman pages.
License-Update: convert to UTF-8
(From OE-Core rev: b084fa095800c090389b9c00d66f109d7cd11455)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix wrong path of command "ln -sf", the file should under folder
rpcsvc
(From OE-Core rev: 9dc1aaed83f0627db65f387de0b1e51503ab07b1)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
imp was replaced by importlib as it's deprecated, but the import
line was left, so remove this useless line.
(From OE-Core rev: 95574a7d18a8acfbed1b956677e72044bdfa7ebc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the generation of the testglibc script which could be used to run
the glibc test suite with a remote target. The same functionality can
now be achieved with the 'do_check' task of glibc-testsuite or with
oe-selftest (for automation of execution against qemu-user/qemu-system
targets).
(From OE-Core rev: 6d6fb46631d7d551cc2de48b51172cfcf36e8dd3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the generation of the testgcc script which could be used to run
the gcc test suite against a cross compiler with a remote execution
target. The same functionality can now be achieved with the 'do_check'
task of gcc-runtime or with oe-selftest (for automation of execution
against qemu-user/qemu-system targets).
(From OE-Core rev: 1a6801c4d0850e9f1b6d993f1d6a2492f5bbea85)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the gcc embedded checksum from containing a checksum that was
computed with build specific paths. The checksum-options file included
the value of LINKER/LDFLAGS which contains DEBUG_PREFIX_MAP and
STAGING_DIR_TARGET.
(From OE-Core rev: 0ead8cbdfb96c4fcbefd24c6647d0f50599f45b3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the full recipe-sysroot path from leaking into configargs.h. The
configargs.h header is intended to be static and unchanged as the
content is used as a means of determining that a gcc plugin is built for
the same gcc. This also effects the output of 'gcc -v'. Due to per
recipe sysroots and staging, the sysroot path would be replaced with the
sysroot local to the recipe thus changing the content of configargs.h.
This change also improves gcc binary reproducibility. The sysroot path
is replaced with the base target root "/".
(From OE-Core rev: b8d6e2ab68ee5e341fe970b191bfd334e6d2c40b)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids some tracebacks we've seen on failed autobuilder builds which would
allow the real error to be seen.
(From OE-Core rev: a4031935a7b8ea4f61b9020c1aa5598e186e7ad7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing huge delays on the autobuilder during oe-selftest builddir
deletion. For example there is a currently running selftest we could do
with the results from and its been going 13 hours, at least 8 of which
was in deletion of the builddirs.
There are a variety of ways we could solve this problem however the
autobuilder has a mechanism for deferred deletion, "clobberdir" which
it already uses for this kind of work.
Whilst in general hardcoding things like this is horrible, I believe
in this case the benefits (and resulting improvements on my sanity
if nothing else) mean this is a case where we should do it.
If/as/when someone can come up with a better solution that is fine
and this can be replaced.
(From OE-Core rev: 51a84937d32a85cbdb7d5b1d1ec69a290d0c303b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An example:
NOTE: recipe binutils-cross-testsuite-2.32.0-r0: task do_check: Started
ERROR: Taskhash mismatch b074da4334aff8aa06572e7a8725c941fa6b08de4ce714a65a90c0c0b680abea versus 17375278daed609a7129769b74a1336a37bdef14b534ae85189ccc033a9f2db4 for /home/pokybuild/yocto-worker/qemux86-64/build/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.32.bb:do_check
NOTE: recipe binutils-cross-testsuite-2.32.0-r0: task do_check: Succeeded
Is caused by a rehash in a dependency happening somewhere earlier in the build
and the taint being reset.
Change the code so that nostamp taints are preserved to avoid the issue.
(Bitbake rev: 61624a3fc38e8546e01356d5ce7a09f21e7094ab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen cases where a task can execute with a given pid, complete
and a new task can start using the same pid before the UI handler has
had time to adapt.
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/qemux86-alt/build/bitbake/lib/bb/ui/knotty.py", line 484, in main
helper.eventHandler(event)
File "/home/pokybuild/yocto-worker/qemux86-alt/build/bitbake/lib/bb/ui/uihelper.py", line 30, in eventHandler
del self.running_tasks[event.pid]
KeyError: 13490
This means using pids to match up events on the UI side is a bad
idea. Change the code to use task ids instead. There is a small
amount of fuzzy matching for the progress information since there
is no task information there and we don't want the overhead of a task
ID in every event, however since pid reuse is unlikely, we can live
with a progress bar not quite working properly in a corner case like
this.
[YOCTO #13667]
(Bitbake rev: e427eafa1bb04008d12100ccc5c862122bba53e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures cmake uses the correct python binary rather than
potentially, the host system one.
(From OE-Core rev: afb8d456360d86254ab00f05866c34d947d02749)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These aren't needed and just enlarge the patch.
(From OE-Core rev: ba540681ee2965c7222b9725f3755d5e8496f844)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Run gettextize and autoreconf and fix up the resulting problem so that
it builds more-or-less cleanly and "make dist" works. Some of the
existing patches that contained particular point fixes are now rolled
into a single big patch.
(From OE-Core rev: b045f83519807d645a22f74c590c037a4ebc4fbe)
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add Zstandard (or just Zstd) compression support. This allows to
create Zstd compressed tarballs by using tar.zst as IMAGE_FSTYPES.
(From OE-Core rev: 77e0f502020085875bbc74da66815c89f19a9351)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency isn't in OE-Core so we need to disable this test.
(From OE-Core rev: 3646499cb34e91c1d012d057eedfdeff08a4f06c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop both patches as they are no longer necessary.
Rewrite ptest support as it has been refactored upstream.
Ptest results:
TOTAL: 67
PASS: 59
SKIP: 8 (due to missing valgrind)
(From OE-Core rev: bd40260cbacf660e7390f4f5ef5e096e75774b05)
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>
Add libtasn-native dependency as meson builds need asn1Parser executable.
(From OE-Core rev: 3d80c598b0677e84c493ff1a928653ded843e0ba)
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>
Add a couple patches to address ppc(64) build failures.
License-Update: copyright years
(From OE-Core rev: 9aab37ac40c8da5121a931f5979fcc88489021d2)
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>
Drop backports.
Drop 0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch and
0001-lib-dns-gen.c-fix-too-long-error.patch as problem is fixed
upstream.
(From OE-Core rev: 6965ec5c491e71d5951dfb58fc060bd0b717e33d)
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>
Commit bc66b2f45a added systemd helper
unit for automatic IPv4 rule loading. Complement the effort by adding
systemd helper unit also for automatic IPv6 rule loading.
(From OE-Core rev: 3b8df6b6aba3632de7c3c01c8468fbcedb032493)
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>
In some cases a distribution may want to install rules file into a
location other than /etc/iptables/ so introduce custom recipe-level
IPTABLES_RULES_DIR parameter which allows conveniently overriding
the rules directory location.
(From OE-Core rev: 64eeedcdc586c221e3684861ba85e8e4bc9c5dd1)
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>
Introduce cosmetic changes to recipe content, most notably
- Change indentation style to four spaces in task statements
- Reorder several entries according to oe-stylize.py suggestions
(From OE-Core rev: c1d162b6165f11b7b5ae5c6066e7683d5e1379fc)
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>
If the pthread.h header is found, make sure library containing
"pthread_atfork" is added to the list of libraries against which to
link. On some hosts (e.g. openSUSE 15.1) "-lpthread" needs to be
explicitly added in order for the code to compile correctly.
We already had a workaround for this for native builds, but using some
external toolchains, we can be bit by this for the target recipe as
well.
Most of this is courtesy Trevor Woerner <twoerner@gmail.com>, via his
patch at stevegrubb/libcap-ng#10, the last thanks to Khem Raj.
(From OE-Core rev: 8d84fdea1c26ed5f8f8261c89070df44da3f1855)
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>
This doesn't particularly change performance but allows users to have
build speedup doing rebuilds during local development so should be
useful and enabled by default.
(From meta-yocto rev: 6a6a8cb38899ee4c09bb2592a67085b422b6b525)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on the hashserv's new ability to accept hash mappings, update runqueue
to use this through a helper function in siggen.
This addresses problems with meta-extsdk-toolchain and its dependency on
gdb-cross which caused errors when building eSDK. See the previous commit
for more details.
(Bitbake rev: 39098b4ba2133f4d9229a0aa4fcf4c3e1291286a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reason for this should be recorded in the commit logs. Imagine
you have a target recipe (e.g. meta-extsdk-toolchain) which depends on
gdb-cross. sstate in OE-Core allows gdb-cross to have the same hash
regardless of whether its built on x86 or arm. The outhash will be
different.
We need hashequiv to be able to adapt to the prescence of sstate artefacts
for meta-extsdk-toolchain and allow the hashes to re-intersect, rather than
trying to force a rebuild of meta-extsdk-toolchain. By this point in the build,
it would have already been installed from sstate so the build needs to adapt.
Equivalent hashes should be reported to the server as a taskhash that
needs to map to an specific unihash. This patch adds API to the hashserv
client/server to allow this.
[Thanks to Joshua Watt for help with this patch]
(Bitbake rev: 674692fd46a7691a1de59ace6af0556cc5dd6a71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test was failing to split the URL list to individual URLs, so if
SRC_URI is something like this then the test incorrectly triggers:
SRC_URI = "git://github.com/foo http://example.com/archive/foo"
Fix this by splitting the SRC_URI list and iterating through the URIs
one at time.
[ YOCTO #13660 ]
(From OE-Core rev: ddd2c5624404848ee668dabec0f61599ab5003e4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix this error seen when using dosfsck -l to list fs contents:
CP437: Invalid argument
(From OE-Core rev: 8a5fdac3c2d207b2cfac64ec2a2626c3ef154d84)
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>
This project doesn't require target flex or bison, just the natives,
and it uses m4 explicitly in its configuration.
(From OE-Core rev: a1c227ad41b091aaf9c53750554a17beae54b4cb)
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>
There's already a variable for "the host python to use during the build
when cross-compiling", so there's no need to add another.
(From OE-Core rev: 1ede9777478469fbdb633782e0ffb2ae68b1a578)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use EXTRA_OECONF and CACHED_CONFIGUREVARS as nature intended.
(From OE-Core rev: 260804462766116941a1d9100ef8be3e66b93300)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upgrade from 2.7.3 to 2.7.9 in oe-core cb02ecb introduced some
copy-paste errors which inadvertandly disabled the generation of
optimised bytecode (.pyo files).
Restore the intended behaviour and bring back .pyo files.
(From OE-Core rev: f49077af44969212530a7f1b5cb9370fefb85434)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifest parsing code was only adding .py and .pyc paths to FILES,
generalise the latter to .py? so it catches .pyo files too.
(From OE-Core rev: 1e0ef76dcccfa10cdf473670acd2c52332bb3412)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of passing the same five variables to oe_runmake repeatedly, add them to
EXTRA_OEMAKE once.
(From OE-Core rev: c4ae09134732e4e95f17d6e572756bec49a9e3d0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to patch in HOSTPGEN when we can just override PGEN directly.
(From OE-Core rev: d274a3d3bd90d8726752c3a18bc15fdf6bc2f37d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package python3-misc is not in the manifest file
so it needs to be added explicitely to RPROVIDES_class-native.
(From OE-Core rev: 95c6a1180f14e1db815ff92f7a1dce8506bdb294)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package python-misc is not in the manifest file
so it needs to be added explicitely to RPROVIDES for native class.
(From OE-Core rev: f6164cc210d584efb702445dcd2167aa352b40af)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the native(sdk) sysroot path from leaking into configargs.h. The
configargs.h header is intended to be static and unchanged as the
content is used as a means of determining that a gcc plugin is built for
the same gcc. This also effects the output of 'gcc --version'. Due to
per recipe sysroots and staging, the sysroot path would be replaced with
the sysroot local to the recipe thus changing the content of
configargs.h.
The sysroot path is replaced with a generic "/host" prefix which
represents the host sysroot (e.g. native or nativesdk).
(From OE-Core rev: 84a78f46d59447eeec3d69532a7506148f64c979)
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>
Without relocating PREFIX/EXEC_PREFIX the system can not do runtime
relocation for the path to the usr/lib/gcc directory, and other components.
While this is not a normal or supported use-case it does work in the upstream
gcc. This is difficult to test with the regular OE SDKs, as it requires
running the components with the correct LD_LIBRARY_PATH and ld.so.
Without this update, gcc will typically not be able to find the gcc
provided include file for stddef.h and similar. This is due to certain
relocations being based on the PREFIX and/or EXEC_PREFIX locations which
are hardcoded at compilation time.
(From OE-Core rev: b879fe730bc2cbce99704705cb53fa9ee958b311)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When kernel-devicetree is in RRECOMMENDS such as via variable
MACHINE_EXTRA_RRECOMMENDS for some bsp, it shows QA warning of multilib:
| WARNING: lib32-packagegroup-base-1.0-r83 do_package: QA Issue:
| lib32-packagegroup-base package lib32-packagegroup-machine-base
| - suspicious values 'kernel-devicetree' in RRECOMMENDS [multilib]
Add kernel-devicetree to exceptions to fix the QA issue. Because there
are already 3 kernel related criteria, simplify them by judging package
names whether start with 'kernel-'. And also refactor to remove
duplicate 'not'.
(From OE-Core rev: 5e4504026c6358c7d5649843dc354247f5972558)
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>
Fix the following errors for newlib and baremetal libcs:
ld: unrecognized option '--hash-style=sysv'
ld: unrecognized option '--hash-style=gnu'
(From OE-Core rev: 8ae998fa8dd216d008cc9ddbea98bbb945501e41)
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>
When follow the instructions of multiconfig from Yocto dev manual that
set in core-image-sato recipe:
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"
it show too many annoying warnings look like:
| WARNING: Deferring mc:x86:virtual:native:/buildarea6/kkang/poky/meta/recipes-support/libxslt/libxslt_1.1.33.bb:do_populate_sysroot
| after mc:arm: virtual:native:/buildarea6/kkang/poky/meta/recipes-support/libxslt/libxslt_1.1.33.bb:do_populate_sysroot
Treat them as infomations rather than warnings.
(Bitbake rev: 0fb4b5153237af4a13b2c65711ab798b0de06c2f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is essential for sensible use of hash equivalence which we also plan
to enable by default in the next release.
(From meta-yocto rev: aa1405c864b1dda82da5bea0c5b96bcb9ca1aea0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
traceback2 adds traceback for python2. Rather than depend on traceback2, we're
python3 only so just use traceback.
This caused breakage in oe-selftest -j which uses testtools on the autobuilder
using buildtools-tarball.
[YOCTO #13652]
(From OE-Core rev: ee80a06c107375e3cf0d246ea17c09dda4536dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm 4.15 no longer allows it, which makes sense.
(From OE-Core rev: 017d0f34619cf56dd223ba8c075af5f7e128e61b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're about to need to use this variable in the main include file so
restructure the users of it to all set it appropriately.
(From OE-Core rev: 4a247e7c961286cbed73b6dc0f4074ecf856402a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When cross-compiling Python 2 you need a native pgen binary, but the cross
recipe can't do this on it's own so we build it in python-native and install it.
The rule to build pgen was also causing a complete rebuild of all of the
generated sources, which meant that building Python 2 needs a *host* Python 2.
This can be fixed by simply building pgen, as this is all we need to install.
[ YOCTO #13645 ]
(From OE-Core rev: 04f7e28963b413b88724c80f67787b440793570e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LICENSE file contains all the license information so there is no
need to also include it from the png.h file (and additionally some
lines were left out from the latter).
License-Update: Remove duplicate license information
(From OE-Core rev: 5a0df07de5f18e701bdcb6004c9883838cb0d5c9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 11ec4435da94e345d98fc7a9077c1fce526b5f71)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 2fbb2d74042902b91aa29c0719bca105de644bdd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 714d9a89dde0bbb10cf3aca8c0635c593b249a6b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 new test cases are added to cover the various archiver modes
documented at the top of archiver.bbclass. Each test sets the
appropriate configuration options, runs the `do_deploy_archives` task
for the selftest-ed recipe and checks for the presence of the expected
archive file.
(From OE-Core rev: d3bf1012e918109e958cf78c89feda0f4dfe17c5)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
currently 'wic cp' only works for copy file from local storage to
wic image.
enhance 'wic cp' to copy file/directory from wic image to local storage.
include selftest and 'wic help' updates.
[YOCTO#12169]
(From OE-Core rev: bd669c1809a378f93580eb9e0679a26ec6746cb8)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a combined backport from upstream patches for added risc-v
support
Upstream code has been re-organised before risc-v support was added to
its mix of two commits
primarily
171b533800680a752c83
(From OE-Core rev: 7356ae622bd71ba1a022a9ed18c4cf085e948b38)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Find lists files in the order that the filesystem has registered them,
which can vary. Adding a sort should have minimal performance impact.
Also use the --reproducible option to cpio.
(From OE-Core rev: 930c1f69c928e21bda6bef7aad926d335195e107)
Signed-off-by: Ernst Sjöstrand <ernst.sjostrand@verisure.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the GccCrossSelfTest testcase into separate testcases for 'gcc'
and 'g++' respectively. In order to split them use the "check-gcc-*"
language make check targets.
(From OE-Core rev: 84cc08942fd3d17fb603e90f362a1ee5653a225d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all QEMU machines are capable of having more than one serial port,
this is due to the machine emulating a physical device/board.
Rework QemuRunner to handle machines that only have 1 serial port, where
the serial port shares output of the kernel log buffer and a login
console. In this case the output is mixed but enables the machine to
boot and have QemuRunner detect the login prompt.
QemuTarget uses SERIAL_CONSOLES to determine the number of available
serial ports.
(From OE-Core rev: 333897c4a00b41681ffe34312a08cae09274327e)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that the (newer) /dev/pts/ptmx is accessible by users. This
is useful e.g. when running containers which symlink /dev/ptmx to
/dev/pts/ptmx on start. The default mode (000) does not allow to
create ptys inside the container.
Using 666 when symlinking /dev/ptmx is also recommended by the kernel
documentation when /dev/ptmx is symlinked:
https://www.kernel.org/doc/Documentation/filesystems/devpts.txt
Also buildroot uses ptmxmode=0666. The patch introducing the change
explains related use cases why this is necessary a bit more in depth:
8196b299ba (diff-2d4604b9e565eb19fa52ce31f282f06c)
(From OE-Core rev: c999bc5ddd9beb5274f77b885e2ac71205e42266)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is python gdb script for static libstdc++ archives as well
fixes
ERROR: gcc-runtime-9.2.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
/usr/lib/libstdc++.a-gdb.py
(From OE-Core rev: 9becb6c1ea68096930fe77cc0e4126ff204d0592)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/13.0/
Dropped intltool-native from DEPENDS. The .desktop file translations
don't need intltool any more, gettext is enough.
Dropped upstreamed patches:
0001-alsa-Fix-inclusion-of-use-case.h.patch
0001-introduce-a-special-build-flag-to-explicitly-disable.patch
Added a new package: pulseaudio-pa-info. It contains the new pa-info
script.
BlueZ 4 support was removed in this version. That's not visible in the
recipe, but I noticed that the BlueZ 4 modules were still being built in
12.2, since they hadn't been explicitly disabled in the recipe.
(From OE-Core rev: e4b9e98100cdeb74d4898afcab2d76f2e0855960)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In most cases, the RPATH is stripped out when the ELF file is packages,
but by then the damage is done from a reproducible perspective because
this absolute path is hashed as part of the build-id generated at link
time ([1] has a good explanation). Fortunately, newer cmake has an
option to generated relative RPATHs that use $ORIGIN to set the path, so
set it in the toolchain file.
[1]: https://gitlab.kitware.com/cmake/cmake/issues/18413
(From OE-Core rev: 44e77d3f97af4cd4ad8bc0984f093a116a830986)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a patch to fix to make the -src packages reproducible
(From OE-Core rev: 42458635b52f5cff6448d7440a44b03114e6842d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch to fix the build reproducibility of the -src package.
(From OE-Core rev: 372793803f31ccd7cfa8c6cc79cb2340b0ebc3d3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
librsvg was encoding the path to the build directory in order to find a
font file for testing. This wouldn't work in OE anyway since the build
directory isn't present at that exact location on the target, so remove
the offending path to make the build reproducible.
(From OE-Core rev: b79a2cec587a1f9f3d6a6f979f5c5504baccd75f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not reset libdir and base_libdir in sysroot_strip, and just pass crude
paths as they will be reset later in strip_execs.
(From OE-Core rev: eab7f448aa537539b45ee21df4ea25de97e60a7e)
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use upstream systemd service files instead of our own service files.
This also makes sure that /run/rpcbind.sock is used which fixes the
following systemd warning:
/usr/lib/systemd/system/rpcbind.socket:5: ListenStream= references a
path below legacy directory /var/run/, updating /var/run/rpcbind.sock
\xe2\x86\x92 /run/rpcbind.sock; please update the unit file accordingly.
(From OE-Core rev: ad08385393bb0d072f2f27f5a189041037e06195)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a hash is reported to the hash server, the stamp written out by the
current task didn't account for any new hash the server may have provided.
Fix this so the correct stamp is written. This means "bitbake X; bitbake X"
no longer rebuilds lots of things when hashequiv is active.
(Bitbake rev: 9dc5178f56ab8ae37e1a646c09117c503e48d072)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setscene hard dependencies were not being correctly handled during task migration.
For example, do_package of recipe X might become valid due to hashequiv yet we're
still rebuilding pseudo-native, a harddep of do_package. This would mean
it would try to execute that setscene task despite pseudo not being present.
Fix this by ignoring tasks with failed harddependencies. This does mean
stlightly more rebuilds than is optimal but it avoids build crashes. Ultimately
the new runqueue model can likely better handle these cases than the older codebase
could but that is for another more invasive patch.
(Bitbake rev: 0dc61e8b9964f7fe41d51b6a481ca7aeaacd8bce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server is now restarting when running commands which doesn't make
sense. Only restart if its configuration has changed. This should
potentially fix various memory resident bitbake usages too.
(Bitbake rev: 0d2c67abf8c92386802eccfbb6b124dd65597941)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As a recipe for zbar was added 2016-12-26,
we can add an option in PACKAGECONFIG for it.
(From OE-Core rev: 655e46772c7f93469e42e791037013338bdcf787)
Signed-off-by: Norbert Wesp <n.wesp@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found in all versions of ghostscript 9.x before 9.28,
where the `.charkeys` procedure, where it did not properly secure
its privileged calls, enabling scripts to bypass `-dSAFER` restrictions.
An attacker could abuse this flaw by creating a specially crafted
PostScript file that could escalate privileges within the Ghostscript
and access files outside of restricted areas or execute commands.
References:
https://nvd.nist.gov/vuln/detail/CVE-2019-14869
Upstream patches:
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=485904
(From OE-Core rev: 0bb88ac63b4e1728373c6425477a32f7a6362b2c)
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_configure() essentially calls autogen.sh to generate some sources and then
autoreconf, but autogen.sh also calls autoreconf.
Pass a magic variable so that autogen.sh doesn't autoreconf for us.
(From OE-Core rev: 19e18446c09fef14c3dd54b0de12a8d21b280c93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Grub uses pkg-config but is only in the sysroot via dependencies. Be explicit
and inherit pkgconfig directly.
(From OE-Core rev: 6cdf9a0712b136a1002e8a814274e23ee7a5f06d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For cross-platform, chkconfig can't work, so should remove check for it.
This can only be reproduced on some platform with chkconfig(e.g. CentOS
Linux release 7.2.1511), and need with --enable-install-cron and without
--enable-copy-only.
Fixed:
| if [ "n" == "n" ]; then \
| if [ -x "/usr/sbin/chkconfig" ]; then \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/init.d && /usr/sbin/chkconfig --add sysstat; \
| else \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d; \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d; \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d && ln -s -f ../init.d/sysstat S01sysstat; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d && ln -s -f ../init.d/sysstat S01sysstat; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d && ln -s -f ../init.d/sysstat S01sysstat; \
| fi \
| fi \
| elif [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d ]; then \
| ...
| fi
| error reading information on service sysstat: No such file or directory
| Makefile:382: recipe for target 'install_all' failed
(From OE-Core rev: d193caa4bd94661b87393719d72d6e9cacc60439)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests that use at and acl tool were removed in release 20190115.
See ltp commit 0fc9b8624bea8acfdb408bf5ff4916b1453e3daa
(From OE-Core rev: 256479b01b6dfdd1e2a35f41a5fbcde799ba2742)
Signed-off-by: Joerg Vehlow <joerg.vehlow@aox-tech.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has a patch that replaces "install -s" with an INSTALL_STRIP
make variable, which can be used to replace the custom patch being
carried.
License checksum change was due to a date in the license text being
updated. The actual contents are unchanged.
(From OE-Core rev: 0f261c26131b24f2b39c51232132dd9ace546c96)
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 last user of this obsolete recipe (abandoned upstream in 2010, removed from
oe-core build dependencies in 2012) has now been deleted from oe-core, so delete
the recipe too.
(From OE-Core rev: 3be906bad55fb44228a2aa2b8fa3c567c3d01b83)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
texi2html isn't a build requirement and hasn't been since 2012 (oe-core
aa1c451).
(From OE-Core rev: 362fcae816e6985193c06e3848c20b6fa0bd1180)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Very little software needs intltool to build, and we don't need it on the host
to build Poky.
(From OE-Core rev: 0ba27bd08e9e5b20edbcb00316f785184c9d9fc7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Intltool is deprecated these days, as gettext can handle almost everything
intltool could. Remove it from the SDK packagegroups, if it is needed then the
user can add it explicitly.
(From OE-Core rev: 52558efc0f401b665e5060c51d956e2337c47da8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The last release of this was in 2002(!), kbd is the modern,
supported alternative.
(From OE-Core rev: 320319f24dd1be300bc89c52b97d1703eab83029)
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>
Add default values for go environment variables to go-common.inc.
Override where appropriate in other go*.inc files, and use
host/target tuples from goarch for setting CC flags.
(From OE-Core rev: 1e3f040b1f68fa1f808851ecd9623544e935e9ad)
Signed-off-by: Alex Kube <alexander.j.kube@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The opkg-utils change didn't trigger a full repackage due to its mention
in layer.conf for update-alternatives hash exclusion. Do it manually
to invalidate broken ipks.
(From OE-Core rev: 6dd59dffd73618e4c0979b284a7968055a4eb8fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Older versions break opkg-build when reproducible builds are enabled.
Rather than trying to be selective based on which features are enabled,
lets just make this a minimum version.
(From OE-Core rev: 0fdc43da005c3c6102cf07383ad6f451d2203fa5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The key problem is that currently running setscene tasks are not
accounted for when processing task migrations. This means can allow
two of the same task to execute at the same time with unpredictable
effects.
This change allows us to stop doing that and refactor the code slightly
to make it clearer that these conditions don't arrive even with
deferred tasks.
(Bitbake rev: ac1922d348613ca46a1047ad5ddf755eac16d568)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move bitbake.vim from bitbake/contrib/vim/indent to contrib/vim/indent.
(Bitbake rev: d2654a4ad8b0b885feac697448128baf7bf8a1c9)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/clearcase.py:148: SyntaxWarning: "is" with a literal. Did you mean "=="?
if command is 'mkview':
bitbake/lib/bb/fetch2/clearcase.py:155: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif command is 'rmview':
bitbake/lib/bb/fetch2/clearcase.py:159: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif command is 'setcs':
Python 3.8 is quite correct and we so mean "==" here, fix it to
avoid the warnings.
(Bitbake rev: 1fab03f6e10eaa13b8a89ce0b2f9fe8ce5157189)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
md5_file() uses a mmap() window to improve performance when hashing files, so
refactor the code and do the same for SHA1 and SHA256.
(Bitbake rev: ecf87437ff796e17c3e4f210b5803b0136a9e8a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Less was coming from busybox in these images, add the full version.
[YOCTO #13630]
(From OE-Core rev: 42047185d55fc878821defec4908b119884d3d07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg-build was failing on hosts where tar < 1.28 and reproducibile builds
were enabled but it was doing this silently and generating corrupted
(empty) ipk files. Add a fix for this (submitted upstream).
The fix requires bash but if you're building ipk files this shoudn't be
a problem.
(From OE-Core rev: ff9ec19b02650a3ae230e4d1bdc99ec686cc4c81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An ipk with a zero size data.tar file caused opkg to crash with a
double free abort. Add the upstream fixes for this.
(From OE-Core rev: aa17a8096263934f5c1877f3ef749df595486a9c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the reproducible_build class is inherited then there may be a
"source-date-epoch" subdirectory in a fetched source tree; devtool
upgrade was not expecting that in the upgraded source. Take a small
snippet of code from recipetool create which already handles this,
and make it a shared function that can be used in both places.
Additionally, fix an assumption that the source is always in a
subdirectory in the cleanup code that blocked debugging this.
[YOCTO #13635]
(From OE-Core rev: 0d642861cd9cf034b8d4951433980addc215d4fd)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should be no longer needed. if needed then meta-clang might be
better suited
(From OE-Core rev: ad9dd755646fdb42b88440e9464f1d94e244c316)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a regression in this functionality that went unnoticed
due to lack of tests.
(From OE-Core rev: a75e4eceb703b2b13ddd4ba3dea3a86af0b0a9eb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code used to construct a single SQL statement that fetched the NVD data for
every CVE requested. For recipes such as the kernel where there are over 2000
CVEs to report this can hit the variable count limit and the query fails with
"sqlite3.OperationalError: too many SQL variables". The default limit is 999
variables, but some distributions such as Debian set the default to 250000.
As the NVD table has an index on the ID column, whilst requesting the data
CVE-by-CVE is five times slower when working with 2000 CVEs the absolute time
different is insignificant: 0.05s verses 0.01s on my machine.
(From OE-Core rev: 53d0cc1e9b7190fa66d7ff1c59518f91b0128d99)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove obsolete Python 2 code, and use convenience methods for neatness.
(From OE-Core rev: f19253cc9e70c974a8e21a142086c13d7cde04ff)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A previous optimisation was premature and resulted in false-negatives in the report.
Rewrite the checking algorithm to first get the list of potential CVEs by
vendor:product, then iterate through every matching CPE for that CVE to
determine if the bounds match or not. By doing this in two stages we can know
if we've checked every CPE, instead of accidentally breaking out of the scan too
early.
(From OE-Core rev: d61aff9e22704ad69df1f7ab0f8784f4e7cc0c69)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
urllib handles adding proxy handlers if the proxies are set in the environment,
so call bb.utils.export_proxies() to do that and remove the manual setup.
(From OE-Core rev: 6b73004668b3b71c9c38814b79fbb58c893ed434)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create an index on the PRODUCTS table which contains a row for each CPE,
drastically increasing the performance of lookups for a specific CVE.
(From OE-Core rev: b4048b05b3a00d85c40d09961f846eadcebd812e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the database filename, there's a variable for this in
cve-check.bbclass.
(From OE-Core rev: 0d188a9dc4ae64c64cd661e9d9c3841e86f226ab)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As upstream has released a new stable version,
the exception is no longer needed.
(From OE-Core rev: fa99c061275cd96cf375ff60d1c73a6e818dca25)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 41d225f4a3.
Unfortunately this change broke 'devtool upgrade' functionality,
causing 'devtool finish' to write out an upgraded recipe that no
longer includes the original upstream source in SRC_URI.
(From OE-Core rev: 2d6e55192dba0bf7f6e23e5ab5b3dbc68835bb28)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports, rebase a couple of patches.
This is the second last release of py 2.x; upstream support ends on
1 January 2020, there will be one final 2.x afterwards.
Note that the only thing that still needs python 2.x in oe-core is
u-boot; when the next u-boot update arrives, we should find out
where the py3 migration is for that component before merging the
update.
(From OE-Core rev: 184b60eb905bb75ecc7a0c29a175e624d8555fac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extra diretory created by reproducibile_builds was confusing recipetool
and hence devtool. Ignore this directory to restore the correct behaviour and
allow it to work with the class.
(From OE-Core rev: 188ba30ef290efab6d5a9b95fba8e991b779ab33)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
inherits can be unset resulting in:
UnboundLocalError: local variable 'inherits' referenced before assignment
which can mask real errors. Avoid this.
(From OE-Core rev: 29a0502e101ed0667e960f9f8591b0a2d60a4bcb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a native recipe so won't be installed as root.
If the string 'root' is part of the username then the install script
can get tricked into thinking we are root (regardless of the actual
uid or permissions) resulting in attempts to run chown/chgrp
inappropriately.
(From OE-Core rev: 5db7b80140410cd3c164e4522dc87df92fac93b0)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ltpstress was removed in Oct 2018
e752f7c196 (diff-5231627fc8640e0adb955f9e69c3c08d)
Remove LTP stress tests
ltpstress.sh runs stress.part[1-3]. But these runtest files just
duplicate definitions:
* stress.part1: fs, mm, nfs
* stress.part2: ipc, math, nptl
* stress.part3: net.multicast, pty, syscalls
The definitions are outdated anyway. There is no point trying
to keep them sync.
(From OE-Core rev: 85b3f9ef568a8a11569898c6637b0e80c057fbfb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
done as part of IncompatibleLicensePerImageTests
(From OE-Core rev: b6e66d388001cdbb833a18056781f69a6f8c82fb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit: d336110b94 boost: update to 1.67.0
dropped the patch that ensured boost doesn't over-ride the architecture flags
set by us resulting in errors:
| build/tmp/work/x86_64_x32-poky-linux-gnux32/boost/1.69.0-r0/recipe-sysroot/usr/include/bits/long-double.h:44:10: fatal error: bits/long-double-64.h: No such file or directory
| #include <bits/long-double-64.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
Remove the relevant part from gcc.jam again to ensure we are passing
them correctly again.
Fixes [YOCTO #13598]
(From OE-Core rev: aad28f42b1c8aa1335c040630ebff4a69be07e35)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade mesa and mesa-gl to 19.2.4.
The license hash change was a trivial new line removal.
The glx-tls option was removed as it isn't included in the meson.build
file. It has been replaced with 'use-elf-tls' instead.
I have backported the asm removal as an attempt to fix the musl build
issue.
(From OE-Core rev: 82c2acc1f658f039becac04aa3dae696418bd1de)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
selftest to make sure wic rm with -r flag for ext partition
could remove directory and all its content.
(From OE-Core rev: d7ccbb393a71501424b7c0d4c1d78e4bac1ecccf)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic currently unable to remove non-empty directory in ext* partition.
enable wic rm to remove non-empty directory and all the sub-content
with -r flag.
update help documents for 'wic rm'.
[YOCTO #12404]
(From OE-Core rev: 5cb7a329d0aaac8fe5328eb2001692c540aa5ade)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 50-systemd-user.sh which is packaged to sub-package
${PN}-xorg-xinitrc, it exports environment variables DISPLAY and
XAUTHORITY to systemd. It fails to start systemd services which require
these environment variables such as thunar.service:
root@qemux86-64:~# systemctl --user status thunar
● thunar.service - Thunar file manager
Loaded: loaded (/usr/lib/systemd/user/thunar.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:Thunar(1)
Nov 14 07:47:29 qemux86-64 systemd[352]: Starting Thunar file manager...
Nov 14 07:47:29 qemux86-64 Thunar[873]: cannot open display:
Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Main process exited, code=exited, status=1/FAILURE
Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Failed with result 'exit-code'.
Nov 14 07:47:29 qemux86-64 systemd[352]: Failed to start Thunar file manager.
It is not convenient to make all such kind of packages require package
${PN}-xorg-xinitrc, so remove the sub-package and merge the only file
provided by it to main package.
No recipe depends on ${PN}-xorg-xinitrc in oe-core and meta-openembedded
now, so no need to set rprovides for it.
(From OE-Core rev: 9b7d65aa52171cb559cc12ca3fdeaee54b9022c1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Besides checking DISTRO_FEATURES for required or conflicting features,
being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also
be useful at times.
Temporarily support the old class name with a warning about future
deprecation.
(From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should have been removed together with expanded_data in commit
e3694e73 (cooker/command: Drop expanded_data).
(Bitbake rev: 33197db8abf82be240d7c1c5c9d2484a08a90849)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With PRSERV_HOST = "localhost:0", this message would occasionally pop up
during the initial cache read:
WARNING: /home/matic/ambayocto/poky/bitbake/lib/bb/cache.py:446: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 45655)>
value = pickled.load()
The file location stated is irrelevant; it just happens to be wherever
CPython decides to run the garbage collector. The issue is that after we
fork off a PRServer, self.socket is also duplicated. The parent side of
it also needs to be closed.
(Bitbake rev: c45b0140c37f2d68c4fa08cd17f0321b8d6524a8)
Signed-off-by: Gavin Li <gavin@matician.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some installation rules have been seen to run chgrp for native recipes
which leads to 'Operation not permitted' errors. To prevent this we
need a chgrp intercept script to go with the existing chown intercept.
(From OE-Core rev: dfb3b566412fb704c5ce67c2dec74c5b1a20921f)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that its using linux headers for matching the syscall
structures
(From OE-Core rev: 3f91512ffc8c1c3374b3a67df5f86e884c78d7a1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes a race where it tries to build version res file in build directory
before it has even been created. Prevents intermittent errors on
autobuilder when building for mingw:
| /bin/bash ../SDL2-2.0.10/build-scripts/updaterev.sh
| /bin/bash ../SDL2-2.0.10/build-scripts/mkinstalldirs build
| mkdir -p -- build
| x86_64-pokysdk-mingw32-windres --include-dir=/home/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/x86_64-nativesdk-mingw32-pokysdk-mingw32/nativesdk-libsdl2/2.0.10-r0/recipe-sysroot/opt/poky/3.0/sysroots/x86_64-pokysdk-mingw32/us
| /include ../SDL2-2.0.10/src/main/windows/version.rc build/version.o
| x86_64-pokysdk-mingw32-windres: build/version.o: No such file or directory
| Makefile:692: recipe for target 'build/version.o' failed
| make: *** [build/version.o] Error 1
| make: *** Waiting for unfinished jobs....
| touch build/.created
| WARNING: exit code 1 from a shell command.
(From OE-Core rev: 1cb3c64b70e0b16aabd2fe9cd6012564165ac476)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-libedit/0001-readline.c-fix-cannot-get-history.patch
Removed since this is included in 20191025-3.1.
(From OE-Core rev: a29bb560de072e669835e16d65ef50b72583a081)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xserver testing is done at runtime and selftest via sato image
(From OE-Core rev: 0146b3a0b60f54fa6ea84461e4ced6fae59aafa7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some test should not be run in QEMU systems so
add some checks to make that easier
(From OE-Core rev: 1b1e53c4ad33a71d526887d1133598f255a476ec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There have been a number of changes back and forth as to when and how
to use the systemd unit files provided by the package. The correct
condition is actually that both cron and systemd need to be enabled
for them to be installed.
(From OE-Core rev: d6c975160197f67937dfbe91b08100b0f597c589)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 8862f21e (sysstat: 12.1.3 -> 12.1.6), sa_lib_dir was changed
from "${libdir}/sa" to "${libexecdir}/sa" to avoid problems with
multilib. However, the systemd unit file was not changed accordingly,
which lead to the following error when trying to start the service:
systemd[4698]: sysstat.service: Failed at step EXEC spawning
/usr/lib/sa/sa1: No such file or directory
(From OE-Core rev: 0fd691b9801b5313ff2e2c2cd5ca13fd50063235)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes some issues with reproducible builds. Adds a patch to allow the
configure arguments to be omitted from the build and also explicitly
setting some autoconf paths that were picking up hosttools.
(From OE-Core rev: f54d60ee8f15229aa515e168b9c7d248663b48fe)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Icecream environment creation script runs when the SDK is installed
and uses patchelf to fix up executables. Rather than rely on the host
system to provided patchelf (which often can be older versions that
produce buggy executables), mark the OE version of patchelf as a
dependency of icecc-create-env when included in the SDK.
(From OE-Core rev: b0293d9734372c90a0b4eec7967b55e0db96102e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the option to add extra test environment data to the
configuration of each test result (as optional).
Example of optional test environment data include:
- custom packages included for runtime test
- detail machine specification used as target
- detail host environment used for bitbake
(From OE-Core rev: 3cc887a72c5726024c3699e6a3deb72fad4992a9)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add total passed, failed, and skipped statistic to test result.
(From OE-Core rev: 7ad74f99b6105f23bcf930712627aac279c6af10)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of debugging, report user need to acccess the raw
test result. Instead of going back to source file/directory/URL
to manually pull out the raw result, provide alternative
way to let report showing raw test results by providing
the result id (optional).
(From OE-Core rev: 8b2485bc0d0fa2f72b37e8bafbfa663d456ea98c)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, report will use the store_map to generate the key
to reference each result set. In some situation when using store_map
with multiple set of tests sharing similar test configurations,
the report will only showing partial result set for results
that having identical result_id (use of multiconfig to run tests
where it generate identical result_id).
Enable report to have the option to use the regression_map (optional)
instead of the default store_map, where it will take larger
set of configurations to generate the key to reference each
result set, this will prevent the report from only showing
partial result set.
(From OE-Core rev: 8577abce6feb1f529537da554d39e86a5b05ca2d)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We already fetch the yearly CVE metadata and check that for updates before
downloading the full data, but we can speed up CVE checking further by only
checking the CVE metadata once an hour.
(From OE-Core rev: 50d898fd360c58fe85460517d965f62b7654771a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch scanner works with patch files in the layer, not in the workdir, so it
doesn't need to unpack.
(From OE-Core rev: 2cba6ada970deb5156e1ba0182f4f372851e3c17)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of depending on iasl-native, depend on ovmf-native as iasl was merged
into that recipe some time ago.
bc-native doesn't appear to be a build requirement anymore, and for clarity
merge two overridden DEPENDS into a single DEPENDS.
(From OE-Core rev: 78d2f68a956ff49410b238456ce0a23c5a0667aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream tarballs now have a unified source license of Intel|BSD|GPLv2 and
the old BSD|GPLv2 tarballs are deprecated.
Add the Intel license to the license collection, update the LICENSE field, and
update the license checksum to actually point at a license fragment.
(From OE-Core rev: 84f046187e5794d6723094e3aafab057ea396d3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been merged to master now, so mark as a backport.
(From OE-Core rev: bf8a5c92f2c2a40150159b811fa9d0a12919d43e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the host system is expected to have enough capabilities that the
buildtools-tarball is not required, we don't need to bundle it.
This can save some significant space, especially when using with a minimal
eSDK.
minimal eSDK - core-image-minimal-qemux86-64
with buildtools-tarball - 34 MB installer - 281 MB installed
without buildtoools-tarball - 11 MB installer - 48 MB installed
(From OE-Core rev: e2b215054d11527a05210066b9bfd7d9a2054e01)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
export OPENSSL_CONF to aviod SDK openssl can not find openssl.cnf.
(From OE-Core rev: 0aaf3dd17dcde959e9c0d62543cb91c9b33551b4)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix parentheses placement in the message from:
Package version for package X went backwards which would break package feeds from (Y to Z)
to this one:
Package version for package X went backwards which would break package feeds (from Y to Z)
(From OE-Core rev: 3a5a61fb6b3f811bd4f7232ba902afcfd2019154)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Busybox's implementation of chown and chmod doesn't provide a
"--reference" option used in the latest version of dhclient-script.
This change works around that limitation by using stat to read
ownership and permissions flags and simple chown/chmod calls
supported in both coreutils and busybox.
Patch submitted upstream to ISC, tracked as bug 48771.
(From OE-Core rev: a311013e1fd0e7b874dfe11bb3cdf4839cd91c9f)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import issues are encountered for the python3 aifc module,
on images with python3-misc installed:
|>>> import aifc
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.7/aifc.py", line 254, in <module>
|from chunk import Chunk
|ModuleNotFoundError: No module named 'chunk'
|>>>
The chunk module is part of python3-audio. Add python3-audio
to RDEPENDS for python3-misc to fix the error.
(From OE-Core rev: 9f0e61f6ce1d945226b706f4376a762fcc636703)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_ar_recipe fails on perf recipe on line:
include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)}
1. "${...}" part expands into empty string
2. bb.utils.which() takes empty string and returns first directory name from bbpath
3. shutil.copy() fails on copying directory:
Exception: IsADirectoryError: [Errno 21] Is a directory: ......
Hence, check "incfile" variable on each step.
(From OE-Core rev: 3b393da7d2d15de12e2a8a9c11591078b40b188a)
Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean the displayed path so it clearly shows the package name and path in that
package.
(From OE-Core rev: 46bf5f0db164e88c2effdbf5437f4d0836e4aadd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The whole D-Bus source has no reference to the netdev group. It
seems that the netdev group is nowhere used. Early avahi package
versions used this group for the D-Bus specific rules. However,
today avahi uses --with-avahi-priv-access-group=adm and hence
uses the adm group for its D-Bus policy rules.
If a package is using the netdev group in its D-Bus policy rules,
that package should add the group instead.
(From OE-Core rev: 70354028811c874434fe1a54cbdd9a4d2c267350)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that ldconfig may get installed from a feed, use it when it's
available on the target.
(From OE-Core rev: 0f09f19dc48edf2ac50b554c18c217b7f97d4ae3)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only recommend its installation, if it's enabled in distro features.
(From OE-Core rev: fda7cd9328ba26e0023d7ddfaa23f73b59443a08)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Back in 2010[1] we made pseudo statically link against sqlite3. Since then
the world has changed, pseudo now has separate processes for the database
in the server and the client and they have separate linking commands.
Also, whilst there were concerns about needing specific versions of sqlite3,
in the OE environment, this is always the case.
[1] http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ad0ac0ecd38fc77daf42485489fccc10a5e1e3e7
The static sqlite3-native is causing us problems, in particular:
tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+060058bb29-r0/recipe-sysroot-native/usr/lib/libsqlite3.a(sqlite3.o):(.data.rel+0xb0): undefined reference to `fcntl64'
which occurs if sqlite3-native was built on a machine with glibc 2.28 or later
and pseudo-native is being built on glibc before that. With dyanmical linking,
libc is backwards compatible and works but with static linking it does not.
There appears to be no easy way to avoid this other than adding a copy of
sqlite3 into the pseudo recipe. Given the static linking doesn't seem to
be required any longer due to the separate processes, drop that to fix
those issues.
(From OE-Core rev: a0c238d40a9cc1f87da0607fddaaef0c31d93720)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Instead of overwriting the stamp name with 'dummy', handle
setscene promotion in the default case block
* Merge '*do_image_complete_setscene*' and '*do_image_qa_setscene*'
case handling
(From OE-Core rev: 3fe6574c93a02e2e67d16e66f24be1053af383b7)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
harfbuzz binary package size increased from 624608 bytes in yocto 2.5 to
1365431 bytes in yocto 3.0. Most of the size increase is in the new
libharfbuzz-subset.so* library
https://harfbuzz.github.io/utilities.html#utilities-command-line-hbsubset
Split it to its own binary package which will be installed if anyone needs it.
Effect to harfbuzz binary package size is:
-PKGSIZE = 1476271
+PKGSIZE = 1007424
(From OE-Core rev: eb661eaa2067e91b533fb077479be5432b6e586b)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass `--checksum md5` and `--checksum sha256` to opkg-make-index.
Sha256 checksum enables more reliable install-time validation of IPKs.
This is particularly useful when installing from signed feeds --
I.e. feeds using signed Packages index files that deliver otherwise
unsigned IPKs. Such feeds rely on hash validation of enclosed IPKs to
thwart tampering. After download, opkg verifies IPK's checksum against
the (signed) Packages index file. Weak hashes like md5 are prone to
collision and therefore tampering.
The md5 checksum is purely for backward compatibility. Sha256 validation
was recently added to opkg. Newer builds of opkg will use it. Older
builds still look for an md5 checksum. Md5 is deprecated and should be
removed once old build are phased out.
Testing: I ran `bitbake package-index` after building a few IPKs and
verified MD5Sum and SHA256sum attributes are present in Packages.
Using opkg-utils 0.4.0.
Performance Impact: It takes about 40 seconds to cleanly re-index 8000
IPKs on an Intel Xeon E5-1620 machine. This was previously about
20 seconds.
NOTE: It's recommended to delete all Packages* files after applying this
patch. Otherwise, some IPKs won't have sha256.
(From OE-Core rev: e462f47489f35902b6972f9837d9adfa542fc796)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable nativesdk builds of gnupg and it's dependencies (libksba, npth,
and pinentry) to fix builds of nativesdk-opkg.
This is necessary on distribution which enable gpg signature
verification in opkg and also build SDK images that include opkg.
(From OE-Core rev: e935cba0122a93df611c9a846c16b7841b715fd8)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnupg-gpg is a minimal installation of gnupg with enough functionality
to verify signatures and manage keys. Use this package instead of full
gnupg to slim down opkg installations with "--enable-gpg".
(From OE-Core rev: c0d663da05c5a2c466658246feaa7872756ded2c)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add minimal "gnupg-gpg" package containing just enough binaries to run
gpg and gpg-agent. Add dependency in normal "gnupg" package to preserve
old behavior.
Some applications like opkg don't need all functionality provided by
normal gnupg installations. This minimal package provides just enough
functionality to verify and manage keys in opkg, in order to minimize
disk overhead.
(From OE-Core rev: 6686c64ad30481d4d67af6a7b9bec7e7ae1a83fe)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libevent produces several libraries that might or might not
be used in the end. We can prevent those potentially unused
libraries from being pulled into a file-system by splitting
the individual shared libraries into individual packages.
Because this recipe only provides shared libraries which are
handled automatically by bitbake (shlibs), there is no need
to add the subpackages to the RDEPENDS of PN for backwards
compatibility. The packaging process of dependees will
simply pull in the sub-packages as runtime dependency as
needed.
This also how Debian splits this up.
While updating the packaging, we can also drop event_rpcgen.py
which appears to be a tool for generating rpc bindings, i.e.
something that should normally be in -dev. Given Debian
doesn't package this at all, and given it actually requires
python to run but no runtime dependency is stated at the
moment, it would appear that no users of this exist.
(From OE-Core rev: d10e8384bfa08d928dfec3a00c59006badfc88ee)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add "esp_extra_blocks" plugin parameter so that caller may change
ESP's free space from the default 100 blocks.
(From OE-Core rev: db4be094b0d6741ca4f9e2cbb499fc9c224fa690)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the Sun RPC is deprecated in glibc, the rpc header files
are not provided any more, but it allows alternative RPC
implementations, such as TIRPC or rpcsvc-proto, to be used.
So we create the symbol link for rpc header files for tirpc to
be more compatible with the glibc version and the application usage.
(From OE-Core rev: 674596421320de08142e010fdd65ec6f0a0f34e9)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From announcement:
What's new in the WebKitGTK 2.26.2 release?
===========================================
- Improve performance of querying system fallback fonts.
- Don't use prgname in dbus-proxy socket path.
- Fix thread-safety issues in image decoders.
- Fix the build with WebDriver disabled.
- Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland.
- Fill the objects category in emoji picker.
- Fix several crashes and rendering issues.
(From OE-Core rev: 854a9aa2212cc24620c9ad3d24acc52f686b5c1a)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modern distros (e.g. fedora30) are starting to use the new statx() syscall through
the newly exposed glibc wrapper function in software like coreutils (e.g. the ls
command). Add support to intercept this to pseudo.
(From OE-Core rev: 11694eb59bea347085d6e389df0b46826219c0d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option that can be used to copy the offending packages to a temp
directory for later evaluation. This is useful on the Autobuilder to
investigate failures.
(From OE-Core rev: 54b29bae78d1711074fbd18f0350ef0b83b555d1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix mercurial fetching after breakage from changes to the core fetcher.
Fix username and password usage and setting moddir needed by setup_revisions.
(Bitbake rev: 8962b27abc68427eae085624f26300108ae88aa1)
Signed-off-by: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake-worker child on the SIGTERM signal handling send the SIGTERM to all
processes in it's process group. In cases when the bitbake-worker child got
SIGTERM after registering own SIGTERM handler and before the os.setsid() call
it can send SIGTERM to unwanted processes.
In the worst case during SIGTERM processing the bitbake-worker child can be in
the group of the process that started BitBake itself. As a result it can kill
processes that not related to BitBake at all.
(Bitbake rev: b97b1ef0b1b00848a4a44b34eca123ccf33188f4)
Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bibake is currently too 'chatty' when hash equivalence is enabled. Fix
this by only printing the log output if a rehash happens and it matches
an sstate object.
Also, pass a summary option to the hash checking function. This was
already changed to a mechanism which allows addition of new parameters
so this should be backwards and forwards compatible.
(Bitbake rev: 0c4515603ad08775e3b0404cba5374367e49f236)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There isn't anything specific about the target in these cases an in
general recipes should touch CFLAGS. This ensures people don't
copy/paste bad example usages. In reality, behaviour is mostly
unchanged.
(From OE-Core rev: ae6e7dd19b6da81090a38792dfdf31b459290466)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new package for bcm4366c and include available NVRAM config files
into the corrent bcm* packages.
(From OE-Core rev: dde0f79f32fa6bab045ef60199903f74c4cc3393)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
include stdint.h since the test uses uintptr_t C99 type
(From OE-Core rev: b0791cfeeed3d4346ea5c9285f09b0a532c58bf8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this file is supposed be included via endian.h indirectly, moreover
Future musl versions does not have this file
(From OE-Core rev: 3ef6adbc48ea7d5714d04555f3bc80b6e220efa8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests shouldn't be writing to layers during tests as this could corrupt
other tests running in parallel.
Modify the test to write the bbappend to a separate temporary layer
which is added and removed by the test. This avoids race failures
on the autobuilder.
(From OE-Core rev: 467c72ff2c9fe00c40d04d5d859d860fb267499e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its confusing to keep seeing sstate summary messages when hash equivalency is
active. This adds an option to control it. A default value is given which
maintains compatibility with different bitbake versions.
(From OE-Core rev: 038004866ff6650bcff7bb1bde36de6c0f451d29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if files move between recipes, do_prepare_sysroot can fail with a message like
Exception: FileExistsError: [Errno 17] File exists:
'TMPDIR/sysroots-components/core2-64/libx11/usr/include/X11/extensions/XKBgeom.h' ->
'TMPDIR/work/core2-64-poky-linux/gtk+3/3.24.8-r0/recipe-sysroot/usr/include/X11/extensions/XKBgeom.h'
This is because files are removed and then added per package. What needs to
happen is all removes need to be processed, then all additions.
This patch changes the code to process in two phases, removals first, then additions,
which avoids the problem.
(From OE-Core rev: e3e5ace6e68d5fe68e4add301a44c1a1b8607411)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a weird error in OE-Core where "devtool modify virtual/kernel"
was showing basehash mismatch errors. This was due to SRCPV sometimes being:
AUTOINC+b867b78b50_47b80ef7bd and sometimes AUTOINC+b867b78b50_255a750d28.
The latter hash comes from KBRANCH and meant sometimes the correct branch
was seen, sometimes it was not. The issue was complicated by the execution
using a remote datastore over tinfoil.
The problem turns out to be a fetcher caching error. If the datastore
changes, the cached url data may not be valid.
We therefore ensure we match cached url data against the datastore that
generated it, which appears to fix this issue.
(Bitbake rev: 0540abd338ed2ffd822edbd2947cab2f18873422)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a memory leak that nobody else can replicate and has been rejected by
upstream.
(From OE-Core rev: 2c2f70f0f364474e2d9c7d7e5480e80c77e5dea4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is about race conditions in 'ps' which make it unsuitable for security
audits. As these race conditions are unavoidable ps shouldn't be used for
security auditing, so this isn't a valid CVE.
(From OE-Core rev: b3fa0654abf9ac32f683ac174e453ea5e64b6cb8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is actually a memory leak in gif2png 2.x, so whitelist it in the libpng
recipe.
(From OE-Core rev: 341e43ebd935daeb592cb073bf00f80c49a8ec2d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* they moved to meson build
* all autotools specific patches must go
* although not inheriting gettext dependency on intltool-native can go
* tested with all variants of PACKAGECONFIG
* need it for gnome-terminal 3.34
(From OE-Core rev: 6e7cfd2edd7b35201478e66d47b21547a1032e30)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change in 5cea0448c5c75b9defc5fc2582e9b0c14e26a4e9 cases the
following to be printed during boot:
/etc/rcS.d/S00psplash.sh: line 28: [: -q: binary operator expected
and the volume is thus never mounted, neither when invoked during
boot nor shutdown/reboot.
(From OE-Core rev: 7a84ef8effcbb4770b27f0af59d84db343d05701)
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we apply the same patches to native and target builds of file, we can verify
that the patches are not breaking by executing the test suite during the build
of file-native.
(From OE-Core rev: 03591b9945bf04baca794e221b93ac66568b0609)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tag has been removed, so we don't need to work around it anymore.
(From OE-Core rev: 1ab9fc04d6666de0c5c176f546f64c11dffe2106)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list-pkgs currently print packages in unordered format.
Enable list-pkgs to print ordered packages that will ease
viewing.
(From OE-Core rev: ab661f96e2fd529588692c978274a840f34ee7cf)
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>
Existing tests check that adding a specific gpl3 package (bash)
to core-image-minimal results in expected behaviour.
These tests check the ability to build two common images
without gpl3 components in them:
1. core-image-minimal needs no further tweaks and works
out of the box.
2. core-image-full-cmdline requires dropping the GNU packages
that it pulls in; for good measure this tweaked image is
verified with runtime tests.
These two tests allow dropping meta-gplv2 from being tested
on the autobuilder, however there should be a community consensus
first.
(From OE-Core rev: a181f46b8aae066a4b8a26a8045797c38a63e834)
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>
recipeutils-test has virtual/libx11 as a DEPENDS, but this will cause errors if
the recipe is built in an environment without x11 in DISTRO_FEATURES.
This dependency isn't actually used for anything so we could remove it, but to
save updating the test cases too just swap virtual/libx11 for zlib.
[ YOCTO #13611 ]
(From OE-Core rev: 7dbd72a08a81436d9ddd168f44e5c13e28eaff99)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the sdl frontend, qemu isn't able to even boot fully,
so let's skip the test early.
(From OE-Core rev: 7b0708da20e4f04070837e5696e4fa3ee5990e8f)
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>
Upgrade libgcrypt. Upstream repo now has a pkg-config
feature. The new patch for compatibility with oe-core
is a replacement for a patch that added pkg-config as
a feature when upstream did not have it.
(From OE-Core rev: 53b73a39ae4a4c8db19fb18ef1881033f6b9ff51)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some GStreamer recipes like gstreamer1.0-vaapi already use HTTPS instead
of http. Also, access to http:// is simply redirected by the freedesktop
server to https://, and using HTTPS is anyway generally recommended over
plain HTTP for security reasons. So, normalize the URLs to use HTTPS only.
(From OE-Core rev: c10cd9a54c5df7c5afddfa553b28a62fb0e80ff3)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed gtkdoc-no-tree.patch since its changes are now included in 1.16.1
(From OE-Core rev: d8efb46efbc47049c43d366ad7f73183474ee1b2)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
* headerfix.patch
Removed since these changes are already included in 1.16.1
(From OE-Core rev: 46dcf91b5ff6dc495cb9550a539eb7aa16d6170b)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copy of the kernel's top level include directory is not
required to build perf. We have both the linux-libc-headers and
perf's captured/copied headers for what it requires.
The copy of the kernel's headers is leading us to multiple smaller
fixes to ensure that the various .h files are in sync. We can
remove the copy and all of the sync checks, and perf still builds
and executes correctly.
(From OE-Core rev: 79bfd5515887e5faf315a581d98bda63899760da)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perf can use libcap when available, so we add a packageconfig
for those that want the support.
(From OE-Core rev: 9a35c61d2218e139aa4420ef25f8cf4a0c4c2cfc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we need to copy a single file from the linux source tree into
the perf source tree, we need to ensure that the directory structure
it requires has been created first.
(From OE-Core rev: 7c33f0b1ee35031aa97e5e5231f53d8502b583c9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building perf for 5.4+, we have some new files that need to
be copied (and synchronized) due to structural changes in the
kernel source tree.
Some of the issues these fixes are warnings, but none the less,
they are worth fixing.
- We copy arch/${ARCH}/Makefile, since it is source by some perf
Makefiles
- We copy scripts/, since the perf utilities are looking for files
in that directory stucture.
- We have *three* copies of ctypes.h in the tools/* hierarchy
during the build. If the tools/perf/util/include/linux/ variant
is used, it will trigger build errors since it is not complete.
We copy the kernel's main include/linux/ctype.h to ensure they
are in sync.
(From OE-Core rev: 6a000d734c2fe57b4a601fe7e7373096345b02b4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
56fd0c9f5473 Linux 5.2.20
6f375cee0394 vfs: set fs_context::user_ns for reconfigure
fbad63fcf7f8 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie
23721140761c KVM: hyperv: Fix Direct Synthetic timers assert an interrupt w/o lapic_in_kernel
f6e1c74f5664 kexec: bail out upon SIGKILL when allocating memory.
a761ba725477 NFC: fix attrs checks in netlink interface
08519f370a57 dm raid: fix updating of max_discard_sectors limit
069a73c93447 smack: use GFP_NOFS while holding inode_smack::smk_lock
73cf33180fd5 Smack: Don't ignore other bprm->unsafe flags if LSM_UNSAFE_PTRACE is set
e4875cfb207f soundwire: fix regmap dependencies and align with other serial links
455807823191 arm: use STACK_TOP when computing mmap base address
a7d44c89fb47 arm: properly account for stack randomization and stack guard gap
d474fced6704 mips: properly account for stack randomization and stack guard gap
5edc5cfcd1ce arm64: consider stack randomization for mmap base only when necessary
0499bb1b61cd kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K
b71617b36dc6 ocfs2: wait for recovering done after direct unlock request
5f63ef732675 kbuild: clean compressed initramfs image
26235380e633 crypto: hisilicon - Fix double free in sec_free_hw_sgl()
ef1bb2f3c68c hypfs: Fix error number left in struct pointer member
86fa1c1b3ab1 pktcdvd: remove warning on attempting to register non-passthrough dev
30ef03cb2c46 fat: work around race with userspace's read via blockdev while mounting
049e9c72a671 ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address
68a14319be38 ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer
b10ee4270915 PCI: Use static const struct, not const static struct
88b4b5b7e2a8 security: smack: Fix possible null-pointer dereferences in smack_socket_sock_rcv_skb()
0728352751bb PCI: exynos: Propagate errors for optional PHYs
6eb7a0a0eb86 PCI: imx6: Propagate errors for optional regulators
130642ed27a6 PCI: histb: Propagate errors for optional regulators
dc35055b644f PCI: rockchip: Propagate errors for optional regulators
06f8fc7effb5 HID: apple: Fix stuck function keys when using FN
1c8c46bdfcde PCI: Add pci_info_ratelimited() to ratelimit PCI separately
400a250cc06f selinux: fix residual uses of current_security() for the SELinux blob
30f8969d6265 rtc: pcf85363/pcf85263: fix regmap error in set_time
1a5f22226ad0 rtc: snvs: fix possible race condition
6edfcbdc24be ARM: 8875/1: Kconfig: default to AEABI w/ Clang
5a58f0bf27ff soundwire: intel: fix channel number reported by hardware
175f4efcb12a ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes
cf4e9c2472ac mips/atomic: Fix smp_mb__{before,after}_atomic()
a7ef43bf9064 livepatch: Nullify obj->mod in klp_module_coming()'s error path
677540cb39e0 PCI: layerscape: Add the bar_fixed_64bit property to the endpoint driver
97c3d2a3dd8f PCI: pci-hyperv: Fix build errors on non-SYSFS config
57e4c0e0efce mips/atomic: Fix loongson_llsc_mb() wreckage
11daaf5c38f2 HID: wacom: Fix several minor compiler warnings
503aae8dcc18 PCI: tegra: Fix OF node reference leak
b0a68c638875 mfd: intel-lpss: Remove D3cold delay
b6cb1efe18cc i2c-cht-wc: Fix lockdep warning
d1d45f98a6e6 MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean
7bd355196324 MIPS: Don't use bc_false uninitialized in __mm_isBranchInstr
cac61f5b7d95 MIPS: Ingenic: Disable broken BTB lookup optimization.
b67fd3bfeec5 ext4: fix potential use after free after remounting with noblock_validity
ad849db7534b f2fs: fix to drop meta/node pages during umount
ce7adbbc06e3 dma-buf/sw_sync: Synchronize signal vs syncpt free
99a2037bec11 scsi: core: Reduce memory required for SCSI logging
cbd9a87fbdf9 clk: sprd: add missing kfree
4d5a7f001acc mbox: qcom: add APCS child device for QCS404
910d8b71530c powerpc: dump kernel log before carrying out fadump or kdump
04dddb1ca7ad clk: Make clk_bulk_get_all() return a valid "id"
b6185efcf241 clk: imx: clk-pll14xx: unbypass PLL by default
d54c3307cac1 clk: imx: pll14xx: avoid glitch when set rate
9b538d38aa92 clk: at91: select parent if main oscillator or bypass is enabled
39a3ff30b6ad arm64: fix unreachable code issue with cmpxchg
15786d677bbc mailbox: mediatek: cmdq: clear the event in cmdq initial flow
1496f3d15934 pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c
112f51caf1b6 powerpc/pseries: correctly track irq state in default idle
f87906966831 clk: qcom: gcc-sdm845: Use floor ops for sdcc clks
e5169c0043af powerpc/eeh: Clean up EEH PEs after recovery finishes
c25829e2e7de pstore: fs superblock limits
b32e4cc264c8 powerpc/64s/exception: machine check use correct cfar for late handler
f939cc03668f drm/amdgpu/si: fix ASIC tests
bfbc57ef3481 selftests/powerpc: Retry on host facility unavailable
73bffb99ddca drm/amd/display: support spdif
18184bd06a69 clk: renesas: cpg-mssr: Set GENPD_FLAG_ALWAYS_ON for clock domain
b4b220dfcd36 clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
b5c5e7dfde66 pinctrl: amd: disable spurious-firing GPIO IRQs
b1a330db3cc3 drm/nouveau/volt: Fix for some cards having 0 maximum voltage
ecce6020a052 drm/nouveau/kms/tu102-: disable input lut when input is already FP16
6ad134a33083 vfio_pci: Restore original state on release
169edc8a1b8b powerpc/eeh: Clear stale EEH_DEV_NO_HANDLER flag
0b54040780ce pinctrl: tegra: Fix write barrier placement in pmx_writel
a16c6638d760 powerpc/perf: fix imc allocation failure handling
4ce5f278af62 powerpc/pseries/mobility: use cond_resched when updating device tree
714886254f3c powerpc/64s/radix: Fix memory hotplug section page table creation
de37ad13aca1 powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function
f2118bfd0259 powerpc/rtas: use device model APIs and serialization during LPM
26c32f58d8eb powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL
fa702b72cbf9 clk: zx296718: Don't reference clk_init_data after registration
5772dedde987 clk: sprd: Don't reference clk_init_data after registration
3c384b661818 clk: meson: axg-audio: Don't reference clk_init_data after registration
8e9a12894cc3 clk: sirf: Don't reference clk_init_data after registration
5a90971761cd clk: actions: Don't reference clk_init_data after registration
672ce7241a40 powerpc/powernv/ioda2: Allocate TCE table levels on demand for default DMA window
97641efe039e drm/amd/display: reprogram VM config when system resume
075ad48409c1 drm/amd/display: Fix frames_to_insert math
73de2baa5b3c drm/amd/display: fix issue where 252-255 values are clipped
98ecf758e63f clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
60e5b94e4fe6 clk: qoriq: Fix -Wunused-const-variable
99340b4cad30 ipmi_si: Only schedule continuously in the thread in maintenance mode
dc8331fb5397 pinctrl: stmfx: update pinconf settings
49b23a7d976d PCI: rpaphp: Avoid a sometimes-uninitialized warning
d1deded18c3e clk: imx8mq: Mark AHB clock as critical
22acd1a64d95 gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()
0cb2ddf9a3a0 drm/radeon: Fix EEH during kexec
a86a8e6ef256 drm/amdgpu: Fix hard hang for S/G display BOs.
d8847b4b3a24 drm/rockchip: Check for fast link training before enabling psr
d85e0b4ef1f2 drm/panel: check failure cases in the probe func
f85634c3ffd2 drm/stm: attach gem fence to atomic state
0b271676816a drm/tinydrm/Kconfig: drivers: Select BACKLIGHT_CLASS_DEVICE
21eee05ca2c8 video: ssd1307fb: Start page range at page_offset
b51bb2f57998 drm/amd/display: add monitor patch to add T7 delay
d7c8317943b5 drm/panel: simple: fix AUO g185han01 horizontal blanking
bdcef6cd4c94 drm/vkms: Avoid assigning 0 for possible_crtc
29079f2260ff drm/bridge: tc358767: Increase AUX transfer length limit
b66b85d54494 drm/vkms: Fix crc worker races
c036f925087e net: sched: taprio: Avoid division by zero on invalid link speed
411184eda7d0 net: sched: cbs: Avoid division by zero when calculating the port rate
90053e8de295 ptp_qoriq: Initialize the registers' spinlock before calling ptp_qoriq_settime
4437b0b5d236 xen-netfront: do not use ~0U as error return value for xennet_fill_frags()
04e6fa02cc6e net/rds: Fix error handling in rds_ib_add_one()
d6870bbdacd6 udp: only do GSO if # of segs > 1
da0f508134bb tcp: adjust rto_base in retransmits_timed_out()
c5994847e736 net: dsa: rtl8366: Check VLAN ID and not ports
11432777d98b vsock: Fix a lockdep warning in __vsock_release()
fba0b06b5941 udp: fix gso_segs calculations
9af774bcc460 tipc: fix unlimited bundling of small messages
c01fc241d449 sch_dsmark: fix potential NULL deref in dsmark_init()
392053bb2328 sch_cbq: validate TCA_CBQ_WRROPT to avoid crash
e752bb81ed39 rxrpc: Fix rxrpc_recvmsg tracepoint
7fc879a38f81 qmi_wwan: add support for Cinterion CLS8 devices
600c91857832 nfc: fix memory leak in llcp_sock_bind()
50b26ba8938f net: Unpublish sk from sk_reuseport_cb before call_rcu
4e71bbe0fdc8 net: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte
a087259d42ba net: qlogic: Fix memory leak in ql_alloc_large_buffers
ff917e2d2c8d net: ipv4: avoid mixed n_redirects and rate_tokens usage
3e586883beb4 ipv6: Handle missing host route in __ipv6_ifa_notify
a0efe1cbadc4 ipv6: drop incoming packets having a v4mapped source address
93b1f9364559 hso: fix NULL-deref on tty open
7edcdec673dc erspan: remove the incorrect mtu limit for erspan
a203f2d6b4ea cxgb4:Fix out-of-bounds MSI-X info array access
076d9f965e56 Linux 5.2.19
8c4f7f403e79 platform/chrome: cros_ec_rpmsg: Fix race with host command when probe failed
d4ecc0a011cc mt76: mt7615: fix mt7615 firmware path definitions
7dcd2e608bd3 mt76: mt7615: always release sem in mt7615_load_patch
c959aebdc313 md/raid0: avoid RAID0 data corruption due to layout confusion.
cb2daf3e8cef drm/amd/display: Restore backlight brightness after system resume
5bd1ab51d4c7 CIFS: Fix oplock handling for SMB 2.1+ protocols
b90f653c964e CIFS: fix max ea value size
bc3a3e7c695c i2c: riic: Clear NACK in tend isr
ba86f3d55fc1 hwrng: core - don't wait on add_early_randomness()
fa0c86d48184 quota: fix wrong condition in is_quota_modification()
6c8042e92499 ext4: fix punch hole for inline_data file systems
7c7aff67e841 ext4: fix warning inside ext4_convert_unwritten_extents_endio
026f900e102a mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option
afe3a71e655d ipmi: move message error checking to avoid deadlock
b0df636473e5 xfs: Fix stale data exposure when readahead races with hole punch
b56335c486f7 mm: Handle MADV_WILLNEED through vfs_fadvise()
a775ad97ce77 fs: Export generic_fadvise()
f811fce3971f /dev/mem: Bail out upon SIGKILL.
84a85e7ec32e cfg80211: Purge frame registrations on iftype change
d1e007a497f6 md: only call set_in_sync() when it is expected to succeed.
c4ab81dab3b0 md: don't report active array_state until after revalidate_disk() completes.
801070ab8ad5 md/raid6: Set R5_ReadError when there is read failure on parity disk
82dd0828253a ACPI / LPSS: Save/restore LPSS private registers also on Lynxpoint
ca1a7debf461 SUNRPC: Fix buffer handling of GSS MIC without slack
89c2c6f70602 SUNRPC: Dequeue the request from the receive queue while we're re-encoding
e5b682d7792f Btrfs: fix race setting up and completing qgroup rescan workers
8e2074d3c283 btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
f2a4259af36d btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
51bae3f5578c btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer
3c6b7c79fe96 btrfs: Relinquish CPUs in btrfs_compare_trees
620cde3fe214 Btrfs: fix use-after-free when using the tree modification log
db66429314dd btrfs: fix allocation of free space cache v1 bitmap pages
0a19609d9a2f ovl: filter of trusted xattr results in audit
ee080509c14e ovl: Fix dereferencing possible ERR_PTR()
e2a5e040a63b smb3: fix leak in "open on server" perf counter
79aeacfeebb5 smb3: allow disabling requesting leases
a98f553d2b78 block: fix null pointer dereference in blk_mq_rq_timed_out()
facb691f45d6 block: mq-deadline: Fix queue restart handling
ab3d89dbec88 i40e: check __I40E_VF_DISABLE bit in i40e_sync_filters_subtask
00cac3533335 ath10k: fix channel info parsing for non tlv target
7228bca11c14 rtw88: pci: Use DMA sync instead of remapping in RX ISR
80e456c82a5c rtw88: pci: Rearrange the memory usage for skb in RX ISR
a8e0442493bf KEYS: trusted: correctly initialize digests and fix locking issue
e1ff89ad3dde mt76: round up length on mt76_wr_copy
d08bb3463d8f lib/lzo/lzo1x_compress.c: fix alignment bug in lzo-rle
482859563c02 memcg, kmem: do not fail __GFP_NOFAIL charges
ef54420b0726 memcg, oom: don't require __GFP_FS when invoking memcg OOM killer
1cbbcacdcdf4 mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zone
5377b8767d64 z3fold: fix memory leak in kmem cache
ed99d2d1af39 z3fold: fix retry mechanism in page reclaim
9a6b2645aa75 gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
9b4f0cba4476 efifb: BGRT: Improve efifb_bgrt_sanity_check
d6acb54716ff regulator: Defer init completion for a while after late_initcall
f11e0e8942f4 iommu/vt-d: Fix wrong analysis whether devices share the same bus
f683465f0564 alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
5d67ad366f2b iommu/arm-smmu-v3: Disable detection of ATS and PRI
7fd38df794c2 arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328
ef2fa63bbe95 arm64: tlb: Ensure we execute an ISB following walk cache invalidation
516d62914766 ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up
b9cbc0df92c3 ARM: samsung: Fix system restart on S3C6410
f1592b754350 ASoC: Intel: Fix use of potentially uninitialized variable
6c03deb9baf9 ASoC: Intel: Skylake: Use correct function to access iomem space
4ccbdceb2e2b ASoC: Intel: NHLT: Fix debug print format
89beb34d7533 binfmt_elf: Do not move brk for INTERP-less ET_EXEC
a24d7c499db0 spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours
f0724e4dc181 spi: ep93xx: Repair SPI CS lookup tables
215019d6ef10 media: don't drop front-end reference count for ->detach
11f20198e922 media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
682dbe2cb5e7 media: videobuf-core.c: poll_wait needs a non-NULL buf pointer
e1bbf7d2cd21 KVM: x86/mmu: Use fast invalidate mechanism to zap MMIO sptes
32076032e7db KVM: x86: Disable posted interrupts for non-standard IRQs delivery modes
fb817d533600 KVM: x86: Manually calculate reserved bits when loading PDPTRS
c5c761130003 KVM: x86: set ctxt->have_exception in x86_decode_insn()
8d1e0c157027 KVM: x86: always stop emulation on page fault
8e422d4af87d platform/x86: intel_int0002_vgpio: Fix wakeups not working on Cherry Trail
c1b3752b5f25 parisc: Disable HP HSC-PCI Cards to prevent kernel crash
3a1f5551534d fuse: fix beyond-end-of-page access in fuse_parse_cache()
99a21e616426 fuse: fix missing unlock_page in fuse_writepage()
831bd6ec1633 fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock
843d38c96532 tpm: Wrap the buffer from the caller to tpm_buf in tpm_send()
d59609b135ac tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts
43e8e81e357c tpm_tis_core: Turn on the TPM before probing IRQ's
830afcbc9391 powerpc/imc: Dont create debugfs files for cpu-less nodes
c9321577cbc9 scsi: implement .cleanup_rq callback
2492d1d7f34a blk-mq: add callback of .cleanup_rq
22b97cad6d67 ALSA: hda/realtek - PCI quirk for Medion E4254
f0028c2bed93 rcu/tree: Fix SCHED_FIFO params
d567e81a20c0 ARM: dts: am3517-evm: Fix missing video
5f8095b682d6 randstruct: Check member structs in is_pure_ops_struct()
03d53cb8acb8 RDMA: Fix double-free in srq creation error flow
3d97d7d688e7 IB/hfi1: Do not update hcrc for a KDETH packet during fault injection
040fc3258d95 IB/hfi1: Define variables as unsigned long to fix KASAN warning
dcbb25d9400b IB/mlx5: Free mpi in mp_slave mode
44602a8a1406 printk: Do not lose last line in kmsg buffer dump
9dfb1ce6b615 scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag
a16791fccaf6 scsi: scsi_dh_rdac: zero cdb in send_mode_select()
6e8f051e504d ALSA: firewire-tascam: check intermediate state of clock status and retry
75c1a117e1f7 ALSA: firewire-tascam: handle error code when getting current source of clock
77567ebc4060 iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
9d9c01542848 ARM: omap2plus_defconfig: Fix missing video
3d226661238e ARM: dts: logicpd-torpedo-baseboard: Fix missing video
2e847a842b2b PM / devfreq: passive: fix compiler warning
8e16bddcc6bd media: omap3isp: Set device on omap3isp subdevs
d6595ad8ca5d kvm: Nested KVM MMUs need PAE root too
37099d7a3e66 btrfs: Detect unbalanced tree with empty leaf before crashing btree operations
3d95c52d789c btrfs: tree-checker: Add ROOT_ITEM check
9ae8394e41d7 btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type
7ee67b37a0bf btrfs: delayed-inode: Kill the BUG_ON() in btrfs_delete_delayed_dir_index()
9e6431c0f2e4 zd1211rw: remove false assertion from zd_mac_clear()
8e9a39559b73 iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems
d6dfca753d7a ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
798b010be17b drm: fix module name in edid_firmware log message
dae45bd9b873 media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
06752109ced1 drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)
33e91a59bf81 ALSA: hda - Drop unsol event handler for Intel HDMI codecs
5397eb1a1fb0 ALSA: hda - Add a quirk model for fixing Huawei Matebook X right speaker
354098b7045d e1000e: add workaround for possible stalled packet
27a2b39359f8 libertas: Add missing sentinel at end of if_usb.c fw_table
9eff1ebe2c90 mmc: mtk-sd: Re-store SDIO IRQs mask at system resume
c5f89ff633d2 raid5: don't increment read_errors on EILSEQ return
7cb4bc790e12 mmc: dw_mmc: Re-store SDIO IRQs mask at system resume
6d9a663aca54 mmc: core: Add helper function to indicate if SDIO IRQs is enabled
d32263d8b9b5 mmc: sdhci: Fix incorrect switch to HS mode
de6fea9fcf1e sched/psi: Correct overly pessimistic size calculation
106af0369442 mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD
f9762c19d883 raid5: don't set STRIPE_HANDLE to stripe which is in batch list
d54de8cfa4a1 block: make rq sector size accessible for block stats
6c7b70e220d5 io_uring: fix wrong sequence setting logic
38b24f688d64 ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
a7963f92406d platform/x86: intel_pmc_core: Do not ioremap RAM
c7e971d4f027 x86/cpu: Add Tiger Lake to Intel family
6e2056c4424c irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
74a94a7e0a01 s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
cf8360a5be18 irqchip/sifive-plic: set max threshold for ignored handlers
1f57c45eaab5 x86/mm: Fix cpumask_of_node() error condition
daecd8d05e3d kprobes: Prohibit probing on BUG() and WARN() address
6265d3c8b96b dmaengine: ti: edma: Do not reset reserved paRAM slots
18a00f37f418 md/raid1: fail run raid1 array when active disk less than one
b92d8e39fa70 hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap'
d57d9213d8b8 hwmon: (k10temp) Add support for AMD family 17h, model 70h CPUs
94a379db627a closures: fix a race on wakeup from closure_sync
4b88669aa2f8 ACPI / PCI: fix acpi_pci_irq_enable() memory leak
70424999fbf1 ACPI: custom_method: fix memory leaks
997c08a49443 x86/amd_nb: Add PCI device IDs for family 17h, model 70h
91180767bba9 ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
a6ff82b2cb60 libtraceevent: Change users plugin directory
4509537c378a iommu/iova: Avoid false sharing on fq_timer_on
b20a5ef80779 libata/ahci: Drop PCS quirk for Denverton and beyond
aecef5f0a4fd ASoC: Intel: Haswell: Adjust machine device private context
a9c3dacf2939 iommu/amd: Silence warnings under memory pressure
4d3f9cdc0f3e ALSA: firewire-motu: add support for MOTU 4pre
311abc6a314c nvme-multipath: fix ana log nsid lookup when nsid is not found
3c971d5dc374 nvmet: fix data units read and written counters in SMART log
07e66eb2a8c0 x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()
6198f3954f15 ASoC: fsl_ssi: Fix clock control issue in master mode
c9e116d055f9 x86/mm/pti: Do not invoke PTI functions when PTI is disabled
6e46d1f16473 perf evlist: Use unshare(CLONE_FS) in sb threads to let setns(CLONE_NEWNS) work
b70a9f2ab2fa arm64: kpti: ensure patched kernel text is fetched from PoU
9093a2e343f2 x86/apic/vector: Warn when vector space exhaustion breaks affinity
12dae85048f1 sched/cpufreq: Align trace event behavior of fast switching
92402bba4f32 ACPI / CPPC: do not require the _PSD method
51f464d8bce7 ASoC: es8316: fix headphone mixer volume table
57869649b230 leds: lm3532: Fixes for the driver for stability
ee3251c9e71f media: ov9650: add a sanity check
826a67380c4a media: aspeed-video: address a protential usage of an unitialized var
c10ea8447736 perf script: Fix memory leaks in list_scripts()
8d70572f69cc perf report: Fix --ns time sort key output
fffe93c89d8b perf trace beauty ioctl: Fix off-by-one error in cmd->string table
723809bb6d16 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate()
1c6a694568db media: cpia2_usb: fix memory leaks
ecc548676360 media: saa7146: add cleanup in hexium_attach()
730e14891202 media: cec-notifier: clear cec_adap in cec_notifier_unregister
b74f2a4c0af2 PM / devfreq: exynos-bus: Correct clock enable sequence
61496a6956d5 PM / devfreq: passive: Use non-devm notifiers
6cf8764ed327 ARM: OMAP2+: move platform-specific asm-offset.h to arch/arm/mach-omap2
7f6346e814ec PM / devfreq: Fix kernel oops on governor module load
0ac4a7a4562b soc: renesas: Enable ARM_ERRATA_754322 for affected Cortex-A9
841ee26cb0eb soc: renesas: rmobile-sysc: Set GENPD_FLAG_ALWAYS_ON for always-on domain
c5a678041db9 ARM: at91: move platform-specific asm-offset.h to arch/arm/mach-at91
45a550e54f0c EDAC/amd64: Decode syndrome before translating address
71e85351f2d3 EDAC/amd64: Recognize DRAM device type ECC capability
e4739ed9e9f4 libperf: Fix alignment trap with xyarray contents in 'perf stat'
28e3cfd1c820 EDAC/amd64: Support more than two controllers for chip selects handling
8c17f6f5d0d6 media: dvb-core: fix a memory leak bug
de23b986dd21 posix-cpu-timers: Sanitize bogus WARNONS
3df4944a75a3 media: dvb-frontends: use ida for pll number
328d309f578d media: mceusb: fix (eliminate) TX IR signal length limit
14944c1cdf66 s390/kasan: provide uninstrumented __strlen
ad856c85132c arm64: entry: Move ct_user_exit before any other exception
919bb091f3bb ACPI / APEI: Release resources if gen_pool_add() fails
8e8821e51180 nbd: add missing config put
cb00bdfdf4a1 ASoC: mchp-i2s-mcc: Fix unprepare of GCLK
fd3a27888511 led: triggers: Fix a memory leak bug
78a5d7570357 ASoC: mchp-i2s-mcc: Wait for RX/TX RDY only if controller is running
cf37fc6525e6 ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK
cfc27d524fe8 tools headers: Fixup bitsperlong per arch includes
0de9cb3ccaf4 powerpc/Makefile: Always pass --synthetic to nm if supported
b72464b49572 ASoC: uniphier: Fix double reset assersion when transitioning to suspend state
a6856ba2704a media: hdpvr: add terminating 0 at end of string
ea9b3fba2de5 media: radio/si470x: kill urb on error
abec08cc8afd x86/platform/intel/iosf_mbi Rewrite locking
5ac00c9194ae ARM: dts: imx7-colibri: disable HS400
d89e114b2f42 ARM: dts: imx7d: cl-som-imx7: make ethernet work again
a510a16fee76 m68k: Prevent some compiler warnings in Coldfire builds
751ac20a3913 net: lpc-enet: fix printk format strings
c3e1334bc47a kasan/arm64: fix CONFIG_KASAN_SW_TAGS && KASAN_INLINE
3c88b089e592 media: imx: mipi csi-2: Don't fail if initial state times-out
cab41bda0849 media: omap3isp: Don't set streaming state on random subdevs
ebe068d7bb79 media: i2c: ov5645: Fix power sequence
3993c8429927 media: vsp1: fix memory leak of dl on error return path
91faaa0e282f perf record: Support aarch64 random socket_id assignment
b8179cfaf017 ARM: xscale: fix multi-cpu compilation
cb2d2b999afe dmaengine: iop-adma: use correct printk format strings
50ab41d72d35 media: rc: imon: Allow iMON RC protocol for ffdc 7e device
b251e979c979 perf unwind: Fix libunwind when tid != pid
2bc1f53cc46a arm64/efi: Move variable assignments after SECTIONS
c0282736b94f media: em28xx: modules workqueue not inited for 2nd device
de122406a437 media: fdp1: Reduce FCP not found message level to debug
b18c1c75b90a media: i2c: tda1997x: prevent potential NULL pointer access
f5d115ba1687 media: mtk-mdp: fix reference count on old device tree
6156280768c3 perf test vfs_getname: Disable ~/.perfconfig to get default output
a056ef7090e2 perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig
b134b502d3b6 media: gspca: zero usb_buf on error
5e1feedf563e blk-mq: Fix memory leak in blk_mq_init_allocated_queue error handling
503ac6efb245 idle: Prevent late-arriving interrupts from disrupting offline
b2ee96a78c9a sched/fair: Use rq_lock/unlock in online_fair_sched_group
fc31f1c241b0 firmware: arm_scmi: Check if platform has released shmem before using
a1a19299a6a5 efi: cper: print AER info of PCIe fatal error
30ff832e9a23 EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
cdfe5e064210 perf tools: Fix paths in include statements
43894a0475c6 loop: Add LOOP_SET_DIRECT_IO to compat ioctl
bb07be974180 ACPI / processor: don't print errors for processorIDs == 0xff
fd8bd7dfb04f ASoC: hdac_hda: fix page fault issue by removing race
338c95ab2187 RAS: Build debugfs.o only when enabled in Kconfig
ff45dc5d103f media: media/platform: fsl-viu.c: fix build for MICROBLAZE
c0053b3c6142 md: don't set In_sync if array is frozen
274971880ff9 md: don't call spare_active in md_reap_sync_thread if all member devices can't work
a1f4fcb88098 md/raid1: end bio when the device faulty
998d765255aa arm64/prefetch: fix a -Wtype-limits warning
912d58f959f1 ASoC: rsnd: don't call clk_get_rate() under atomic context
5da3a9eb8159 EDAC/altera: Use the proper type for the IRQ status bits
873aa4af4fdd ia64:unwind: fix double free for mod->arch.init_unw_table
e89c79710aed ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
42c6b180a7bf base: soc: Export soc_device_register/unregister APIs
383466793900 soc: amlogic: meson-clk-measure: protect measure with a mutex
55b520f85a97 arm64: mm: free the initrd reserved memblock in a aligned manner
bfae8c471054 cpuidle: teo: Allow tick to be stopped if PM QoS is used
c02ec6220cf3 media: iguanair: add sanity checks
db934a6df6d9 EDAC/mc: Fix grain_bits calculation
7b1c5aa61d98 ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls()
0294075e5872 ALSA: hda - Show the fatal CORB/RIRB error more clearly
9107c9b7bcce x86/apic: Soft disable APIC before initializing it
be86447601cb rcu/tree: Call setschedule() gp ktread to SCHED_FIFO outside of atomic region
cc41123523d1 x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails
2965c2e1ec69 sched/deadline: Fix bandwidth accounting at all levels after offline migration
6c4121115c87 x86/apic: Make apic_pending_intr_clear() more robust
e75ff42011f1 sched/core: Fix CPU controller for !RT_GROUP_SCHED
a02f3db8994e sched/fair: Fix imbalance due to CPU affinity
2af6db20ceae time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
5db042229a8c media: i2c: ov5640: Check for devm_gpiod_get_optional() error
7c36a65b2ea1 media: hdpvr: Add device num check and handling
988a38ff1cf0 media: vivid: work around high stack usage with clang
615883ae490f media: vb2: reorder checks in vb2_poll()
4610656c129e media: vivid:add sanity check to avoid divide error and set value to 1 if 0.
7fe87b686cb9 media: exynos4-is: fix leaked of_node references
1a53850754a9 ASoC: SOF: pci: mark last_busy value at runtime PM init
f76aa9d803b6 media: mtk-cir: lower de-glitch counter for rc-mm protocol
5efaf000347a media: dib0700: fix link error for dibx000_i2c_set_speed
8d68efb7e270 leds: leds-lp5562 allow firmware files up to the maximum length
3dee582e6190 dmaengine: bcm2835: Print error in case setting DMA mask fails
5d6d34ade679 firmware: qcom_scm: Use proper types for dma mappings
8e81af05436c ASoC: sgtl5000: Fix charge pump source assignment
57868b5cbc50 ASoC: sgtl5000: Fix of unmute outputs on probe
27879a37f7ad ASoC: tlv320aic31xx: suppress error message for EPROBE_DEFER
dae532b1a1cc spi: dw-mmio: Clock should be shut when error occurs
e534295b4c17 regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg
8c3a9421b2ef cpufreq: ap806: Add NULL check after kcalloc
4defe8b0f2f5 ASoC: SOF: Intel: hda: Make hdac_device device-managed
6646813ee81d ALSA: hda: Flush interrupts on disabling
a269a7a7632b nfc: enforce CAP_NET_RAW for raw sockets
f91ee5bc2100 ieee802154: enforce CAP_NET_RAW for raw sockets
faf60340e231 ax25: enforce CAP_NET_RAW for raw sockets
ef03ebc40bc8 appletalk: enforce CAP_NET_RAW for raw sockets
1ca53dc648e8 mISDN: enforce CAP_NET_RAW for raw sockets
df20d3ce66c5 net/mlx5: Add device ID of upcoming BlueField-2
38be58c880d9 tcp: better handle TCP_USER_TIMEOUT in SYN_SENT state
4378493fed94 net: sched: fix possible crash in tcf_action_destroy()
5f39dd75e078 net/mlx5e: Fix traffic duplication in ethtool steering
6386577b2927 vrf: Do not attempt to create IPv6 mcast rule if IPv6 is disabled
229b983d5221 net_sched: add policy validation for action attributes
629815b9e1eb ipv4: Revert removal of rt_uses_gateway
d5f1d310bb2b net/sched: cbs: Fix not adding cbs instance to list
4bbf97f6c114 net: phy: micrel: add Asym Pause workaround for KSZ9021
3ef1d54a72ca usbnet: sanity checking of packet sizes and device mtu
b5e57553acde usbnet: ignore endpoints with invalid wMaxPacketSize
35ad2e82044d tcp_bbr: fix quantization code to not raise cwnd if not probing bandwidth
afc7190e3847 skge: fix checksum byte order
0102608d70f0 selftests: Update fib_tests to handle missing ping6
da0d6e47c20d sch_netem: fix a divide by zero in tabledist()
9f64c6630929 ppp: Fix memory leak in ppp_write
bd1df844b1f9 openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
b86bd41b767a nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
9561c1351232 nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
ba5f359f2be0 net_sched: add max len check for TCA_KIND
19bd1045958b net/sched: act_sample: don't push mac header on ip6gre ingress
ee8c5c7a6f9a net: qrtr: Stop rx_worker before freeing node
6ee46a2b68fc net/phy: fix DP83865 10 Mbps HDX loopback disable function
d879091836db macsec: drop skb sk before calling gro_cells_receive
d37c96675204 ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule
98f1a3a21500 cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
890984f31888 arcnet: provide a buffer big enough to actually receive packets
0a9d6a58b4ac Linux 5.2.18
c704eb3aaffa f2fs: use generic EFSBADCRC/EFSCORRUPTED
673d1167b40e net/rds: Check laddr_check before calling it
fc5b59770306 net/rds: An rds_sock is added too early to the hash table
719532b9b832 net_sched: check cops->tcf_block in tc_bind_tclass()
bd740eacb1d2 Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices
f63432cd1bb2 netfilter: nft_socket: fix erroneous socket assignment
a2a3638f3e6f xfrm: policy: avoid warning splat when merging nodes
b442b6d3742b xfs: don't crash on null attr fork xfs_bmapi_read
baa3902119f5 drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling
452b129e4876 ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35
62b72c1f7ba5 Bluetooth: btrtl: HCI reset on close for Realtek BT chip
f6983a936fbf net: don't warn in inet diag when IPV6 is disabled
955b7a09bf57 drm/dp: Add DP_DPCD_QUIRK_NO_SINK_COUNT
a7734a035acf drm: Flush output polling on shutdown
453bcdd2432b f2fs: fix to do sanity check on segment bitmap of LFS curseg
d331d4b99fb6 net/ibmvnic: Fix missing { in __ibmvnic_reset
8defaa56897e dm zoned: fix invalid memory access
bca9bfa41e3f Revert "f2fs: avoid out-of-range memory access"
47af17950b03 objtool: Clobber user CFLAGS variable
0f5df0b76e4f platform/x86: i2c-multi-instantiate: Derive the device name from parent
811fc53c37be ALSA: hda - Apply AMD controller workaround for Raven platform
b5215e9269c7 ALSA: hda - Add laptop imic fixup for ASUS M9V laptop
d51c3b844afb ALSA: dice: fix wrong packet parameter for Alesis iO26
bf4d30e9950e ALSA: usb-audio: Add DSD support for EVGA NU Audio
284a30488891 ALSA: usb-audio: Add Hiby device family to quirks for native DSD support
d17860e1e894 Revert "mm/z3fold.c: fix race between migration and destruction"
2de3de21bc8a Revert "HID: logitech-hidpp: add USB PID for a few more supported mice"
807370d02413 clk: imx: imx8mm: fix audio pll setting
bdbf837b89a9 crypto: talitos - fix missing break in switch statement
a1e67dae1599 mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword()
6c6d88dc737a HID: Add quirk for HP X500 PIXART OEM mouse
af5676bf7d89 HID: hidraw: Fix invalid read in hidraw_ioctl
8d88e0d1b3e6 HID: logitech-dj: Fix crash when initial logi_dj_recv_query_paired_devices fails
55c2b2ac2706 HID: logitech: Fix general protection fault caused by Logitech driver
a069e96b5280 HID: sony: Fix memory corruption issue on cleanup.
5f2ba05924ca HID: prodikeys: Fix general protection fault during probe
df3cc96b2049 Revert "net: hns: fix LED configuration for marvell phy"
3349449ae730 drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines
be3b5f44206e powerpc/xive: Fix bogus error code returned by OPAL
606f7f9fc442 drm/amd/display: Don't replace the dc_state for fast updates
0365d15f565a drm/amd/display: Skip determining update type for async updates
891eae79f7a5 drm/amd/display: Allow cursor async updates for framebuffer swaps
f6faeecb3659 net/ibmvnic: free reset work of removed device from queue
cdc112b9cb64 phy: qcom-qmp: Correct ready status, again
b08d7b36f11d phy: qcom-qmp: Raise qcom_qmp_phy_enable() polling delay
3da810f95b86 smb3: fix unmount hang in open_shroot
e6d6a001ed5a Revert "Bluetooth: validate BLE connection interval updates"
(From OE-Core rev: cad18801b7a26e8435734caaca78ec5f6d3a041f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
58fce2064530 Linux 4.19.78
5b0446c8e0a8 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie
d85bc11a6894 kexec: bail out upon SIGKILL when allocating memory.
c8a65ec0602a NFC: fix attrs checks in netlink interface
1b42503211ca smack: use GFP_NOFS while holding inode_smack::smk_lock
ef9744a0218f Smack: Don't ignore other bprm->unsafe flags if LSM_UNSAFE_PTRACE is set
4703593498d3 soundwire: fix regmap dependencies and align with other serial links
322753c78d1d soundwire: Kconfig: fix help format
74e2a311a226 sch_cbq: validate TCA_CBQ_WRROPT to avoid crash
ed9420ddce87 tipc: fix unlimited bundling of small messages
a1afd826e549 xen-netfront: do not use ~0U as error return value for xennet_fill_frags()
36a4043c4bb8 net/rds: Fix error handling in rds_ib_add_one()
012363f5ded0 udp: only do GSO if # of segs > 1
5c08d7e4f1ea net: dsa: rtl8366: Check VLAN ID and not ports
3c1f0704401c vsock: Fix a lockdep warning in __vsock_release()
544aee546174 udp: fix gso_segs calculations
79fd59ae7c2f sch_dsmark: fix potential NULL deref in dsmark_init()
76b552775d60 rxrpc: Fix rxrpc_recvmsg tracepoint
7047aae65456 qmi_wwan: add support for Cinterion CLS8 devices
dd9c580a6d9b nfc: fix memory leak in llcp_sock_bind()
d5b1db1c7ce4 net: Unpublish sk from sk_reuseport_cb before call_rcu
9d0995cc268b net: qlogic: Fix memory leak in ql_alloc_large_buffers
124b64feafa9 net: ipv4: avoid mixed n_redirects and rate_tokens usage
6f8564edf8c1 ipv6: Handle missing host route in __ipv6_ifa_notify
658d7ee4da50 ipv6: drop incoming packets having a v4mapped source address
a495fd19cce2 hso: fix NULL-deref on tty open
7f30c44b7ca4 erspan: remove the incorrect mtu limit for erspan
2b8389112292 cxgb4:Fix out-of-bounds MSI-X info array access
ed568ca73601 bpf: fix use after free in prog symbol exposure
dbb7339cfddf block: mq-deadline: Fix queue restart handling
af10ffa69b06 arm: use STACK_TOP when computing mmap base address
f91a9c6591c0 arm: properly account for stack randomization and stack guard gap
53ba8d4358eb mips: properly account for stack randomization and stack guard gap
e1b391abbfce arm64: consider stack randomization for mmap base only when necessary
30ab799e758e kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K
52132ff52cad ocfs2: wait for recovering done after direct unlock request
d4a546452dcc kbuild: clean compressed initramfs image
d983182d4002 crypto: hisilicon - Fix double free in sec_free_hw_sgl()
22c788ba7a52 hypfs: Fix error number left in struct pointer member
bbd76d9514c7 pktcdvd: remove warning on attempting to register non-passthrough dev
0840daeea6cb fat: work around race with userspace's read via blockdev while mounting
297904ea60a3 ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address
9a87ab2b4d60 security: smack: Fix possible null-pointer dereferences in smack_socket_sock_rcv_skb()
69a32a7306dd PCI: exynos: Propagate errors for optional PHYs
1264d2e7b75b PCI: imx6: Propagate errors for optional regulators
403d6c9284f1 PCI: histb: Propagate errors for optional regulators
ac9c0e2ecc49 PCI: rockchip: Propagate errors for optional regulators
709c4841e51f HID: apple: Fix stuck function keys when using FN
31e98cba55ed rtc: pcf85363/pcf85263: fix regmap error in set_time
607f95788fa9 rtc: snvs: fix possible race condition
078937549f47 ARM: 8875/1: Kconfig: default to AEABI w/ Clang
3039c788d648 soundwire: intel: fix channel number reported by hardware
6a684e002561 ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes
0f0ced702d53 livepatch: Nullify obj->mod in klp_module_coming()'s error path
78a1138672af HID: wacom: Fix several minor compiler warnings
3b7fbbddeb7a PCI: tegra: Fix OF node reference leak
c74a801ded7d mfd: intel-lpss: Remove D3cold delay
70bb4bf9fdfb i2c-cht-wc: Fix lockdep warning
371077ea2e75 MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean
3ed14a8d2fe7 MIPS: Ingenic: Disable broken BTB lookup optimization.
5b400fed74df ext4: fix potential use after free after remounting with noblock_validity
81fbd2327c32 dma-buf/sw_sync: Synchronize signal vs syncpt free
c76e18970d93 scsi: core: Reduce memory required for SCSI logging
c6304d4d7458 clk: sprd: add missing kfree
7cd89b8db60c mbox: qcom: add APCS child device for QCS404
324b0c9efc77 powerpc: dump kernel log before carrying out fadump or kdump
72884423e77f clk: at91: select parent if main oscillator or bypass is enabled
952d1c6d7cf0 arm64: fix unreachable code issue with cmpxchg
b25bd837a637 pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c
b717a47dd913 powerpc/pseries: correctly track irq state in default idle
ae089bf87c57 clk: qcom: gcc-sdm845: Use floor ops for sdcc clks
2c16f72135fb pstore: fs superblock limits
0c09b02842b8 powerpc/64s/exception: machine check use correct cfar for late handler
39b6d05169b2 drm/amdgpu/si: fix ASIC tests
4dcbca872a84 drm/amd/display: support spdif
38dfc974f322 clk: renesas: cpg-mssr: Set GENPD_FLAG_ALWAYS_ON for clock domain
0b5ac607db4b clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
2cfb89832179 pinctrl: amd: disable spurious-firing GPIO IRQs
274d7acb0b81 drm/nouveau/volt: Fix for some cards having 0 maximum voltage
9b2d2f2ad003 vfio_pci: Restore original state on release
c1f7b3fb87cf powerpc/eeh: Clear stale EEH_DEV_NO_HANDLER flag
b2df456c83e3 pinctrl: tegra: Fix write barrier placement in pmx_writel
4c91e678d27c powerpc/pseries/mobility: use cond_resched when updating device tree
6d728a172732 powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function
6aa455b0d0a0 powerpc/rtas: use device model APIs and serialization during LPM
25c501f0f9d9 powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL
2cca24b2cb9a clk: zx296718: Don't reference clk_init_data after registration
efa0fe4cde05 clk: sprd: Don't reference clk_init_data after registration
89dc59fb267d clk: sirf: Don't reference clk_init_data after registration
bd3a445c2717 clk: actions: Don't reference clk_init_data after registration
437399ed906a powerpc/powernv/ioda2: Allocate TCE table levels on demand for default DMA window
782a77f2eb39 drm/amd/display: reprogram VM config when system resume
24ba84ec0016 drm/amd/display: fix issue where 252-255 values are clipped
efb0e1e3d0e1 clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
a2279550f7be clk: qoriq: Fix -Wunused-const-variable
84038a98b904 ipmi_si: Only schedule continuously in the thread in maintenance mode
b351726bb5be PCI: rpaphp: Avoid a sometimes-uninitialized warning
0936c46139cb gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()
6e03bca91f8e drm/radeon: Fix EEH during kexec
441c15582338 drm/rockchip: Check for fast link training before enabling psr
f3d62177dee3 drm/panel: check failure cases in the probe func
9cb3698dcc86 drm/stm: attach gem fence to atomic state
043f0229f442 video: ssd1307fb: Start page range at page_offset
bd5b6a7c89ef drm/panel: simple: fix AUO g185han01 horizontal blanking
db472be8b340 drm/bridge: tc358767: Increase AUX transfer length limit
053d0ec61e33 tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations
d598712712e4 tpm: use tpm_try_get_ops() in tpm-sysfs.c.
6cad9d0cf87b Linux 4.19.77
2c60da90ec44 drm/amd/display: Restore backlight brightness after system resume
4d8bdf7f3a86 mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zone
5bead06b3443 fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock
bbe3e2056d27 md/raid0: avoid RAID0 data corruption due to layout confusion.
4290a9e59323 CIFS: Fix oplock handling for SMB 2.1+ protocols
a3a150895b6f CIFS: fix max ea value size
a0f7fd38acf5 i2c: riic: Clear NACK in tend isr
fec38267a2bf hwrng: core - don't wait on add_early_randomness()
060986096fea quota: fix wrong condition in is_quota_modification()
091c754d5ca9 ext4: fix punch hole for inline_data file systems
775e3e734bd3 ext4: fix warning inside ext4_convert_unwritten_extents_endio
caa6926d94f1 /dev/mem: Bail out upon SIGKILL.
bd3a11af1bde cfg80211: Purge frame registrations on iftype change
5dc86e9574a1 md: only call set_in_sync() when it is expected to succeed.
598a2cda62d3 md: don't report active array_state until after revalidate_disk() completes.
e8323e0ddce1 md/raid6: Set R5_ReadError when there is read failure on parity disk
bacff03bb286 Btrfs: fix race setting up and completing qgroup rescan workers
b5c42ef09df3 btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
c521bfa8e2dc btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
067f82a05c2f btrfs: Relinquish CPUs in btrfs_compare_trees
b08344be3546 Btrfs: fix use-after-free when using the tree modification log
4874c6fe1c9e btrfs: fix allocation of free space cache v1 bitmap pages
934243a72849 ovl: filter of trusted xattr results in audit
e7265adc0a3c ovl: Fix dereferencing possible ERR_PTR()
2e96c9332595 smb3: allow disabling requesting leases
82652c06f976 block: fix null pointer dereference in blk_mq_rq_timed_out()
db5b2fe4d33c i40e: check __I40E_VF_DISABLE bit in i40e_sync_filters_subtask
b4a734a529b8 memcg, kmem: do not fail __GFP_NOFAIL charges
d40b3eafb52e memcg, oom: don't require __GFP_FS when invoking memcg OOM killer
e0c1e6e55bca gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
3620b06b1db0 efifb: BGRT: Improve efifb_bgrt_sanity_check
c4f65c2fb0f5 regulator: Defer init completion for a while after late_initcall
3784576fc639 alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
174bbcc560cc arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328
8cfe3b8aa3b6 arm64: tlb: Ensure we execute an ISB following walk cache invalidation
fc7d6bfdd774 Revert "arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}"
881edc165b8e ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up
2209279439a1 ARM: samsung: Fix system restart on S3C6410
ad884155fb9c ASoC: Intel: Fix use of potentially uninitialized variable
7bdab36455f9 ASoC: Intel: Skylake: Use correct function to access iomem space
3c54f463402f ASoC: Intel: NHLT: Fix debug print format
29ecf8cae5f4 binfmt_elf: Do not move brk for INTERP-less ET_EXEC
02ef5c299d15 media: don't drop front-end reference count for ->detach
589ca8ec4c62 media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
496cf984a60e KVM: x86: Manually calculate reserved bits when loading PDPTRS
933e3e2b5070 KVM: x86: set ctxt->have_exception in x86_decode_insn()
9723e4458604 KVM: x86: always stop emulation on page fault
8225db4a70b2 parisc: Disable HP HSC-PCI Cards to prevent kernel crash
ad41162974c6 fuse: fix missing unlock_page in fuse_writepage()
ecfe4b5f70c8 powerpc/imc: Dont create debugfs files for cpu-less nodes
e94443fc7b64 scsi: implement .cleanup_rq callback
4ec3ca2770e7 blk-mq: add callback of .cleanup_rq
4848fb93243e ALSA: hda/realtek - PCI quirk for Medion E4254
e9bcaf82dd37 ceph: use ceph_evict_inode to cleanup inode's resource
72f0fff3c450 Revert "ceph: use ceph_evict_inode to cleanup inode's resource"
98dc6d958bd9 randstruct: Check member structs in is_pure_ops_struct()
ad6819cd68be IB/hfi1: Define variables as unsigned long to fix KASAN warning
a924850c93d4 IB/mlx5: Free mpi in mp_slave mode
40b071992ca5 printk: Do not lose last line in kmsg buffer dump
28f142b940af scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag
03b75e65ceed scsi: scsi_dh_rdac: zero cdb in send_mode_select()
2e21e5b225ef ALSA: firewire-tascam: check intermediate state of clock status and retry
f5779e4449da ALSA: firewire-tascam: handle error code when getting current source of clock
fdd131eab68f iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
6437ec272eda PM / devfreq: passive: fix compiler warning
814f7fe56ebb media: omap3isp: Set device on omap3isp subdevs
c5dbd74f8259 btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type
2aeeb0a4b440 iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems
291da335040c ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
8630a4d13683 media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
d47636913bda drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)
5370cf8d90ad ALSA: hda - Drop unsol event handler for Intel HDMI codecs
ac1d43a20a08 e1000e: add workaround for possible stalled packet
35b6cba971f5 libertas: Add missing sentinel at end of if_usb.c fw_table
0a43d5d458d5 raid5: don't increment read_errors on EILSEQ return
da87dfca25aa mmc: dw_mmc: Re-store SDIO IRQs mask at system resume
a0dd3d95fb21 mmc: core: Add helper function to indicate if SDIO IRQs is enabled
8ba99d50cb61 mmc: sdhci: Fix incorrect switch to HS mode
869122775782 mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD
a5443cd24063 raid5: don't set STRIPE_HANDLE to stripe which is in batch list
064fba888e77 ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
476eda2539bb platform/x86: intel_pmc_core: Do not ioremap RAM
e836cd2917c6 x86/cpu: Add Tiger Lake to Intel family
b21919eeced6 s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
fad90d4bfa8d kprobes: Prohibit probing on BUG() and WARN() address
213077da3e7c dmaengine: ti: edma: Do not reset reserved paRAM slots
f1db75622996 md/raid1: fail run raid1 array when active disk less than one
76cf93f04c3d hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap'
f0956418d997 closures: fix a race on wakeup from closure_sync
9fcfdff61f74 ACPI / PCI: fix acpi_pci_irq_enable() memory leak
e4467fb6ef54 ACPI: custom_method: fix memory leaks
6fceb241dc76 ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
e4b4280dcd97 libtraceevent: Change users plugin directory
c55659cd1459 iommu/iova: Avoid false sharing on fq_timer_on
223b0481ed4b libata/ahci: Drop PCS quirk for Denverton and beyond
de888e0244cb iommu/amd: Silence warnings under memory pressure
6241c0ac301e ALSA: firewire-motu: add support for MOTU 4pre
ad58ce6cacd1 nvme-multipath: fix ana log nsid lookup when nsid is not found
9edc229b9c90 nvmet: fix data units read and written counters in SMART log
7bbb7a9dd2c3 x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()
5201b4ffc324 ASoC: fsl_ssi: Fix clock control issue in master mode
4b7d9c2a716e x86/mm/pti: Do not invoke PTI functions when PTI is disabled
eb2485e32f90 arm64: kpti: ensure patched kernel text is fetched from PoU
b619496540ba x86/apic/vector: Warn when vector space exhaustion breaks affinity
01e8f487cecb sched/cpufreq: Align trace event behavior of fast switching
2919fa0398ad ACPI / CPPC: do not require the _PSD method
b79922133f9c ASoC: es8316: fix headphone mixer volume table
dd25f76c1f34 media: ov9650: add a sanity check
342a0bee4d94 perf trace beauty ioctl: Fix off-by-one error in cmd->string table
57409ea782e7 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate()
78550c5cfe6d media: cpia2_usb: fix memory leaks
d796c6c1aab4 media: saa7146: add cleanup in hexium_attach()
ab20f38ce522 media: cec-notifier: clear cec_adap in cec_notifier_unregister
d51268d7574b PM / devfreq: exynos-bus: Correct clock enable sequence
7e19b7e0d640 PM / devfreq: passive: Use non-devm notifiers
f9de170eaf7e EDAC/amd64: Decode syndrome before translating address
6f80e91a66e0 EDAC/amd64: Recognize DRAM device type ECC capability
adb97f18b4e7 libperf: Fix alignment trap with xyarray contents in 'perf stat'
4df2427a5148 media: dvb-core: fix a memory leak bug
8d5fccff7b0c posix-cpu-timers: Sanitize bogus WARNONS
9df9652b7345 media: dvb-frontends: use ida for pll number
006a6065c867 media: mceusb: fix (eliminate) TX IR signal length limit
d093d3183ca2 nbd: add missing config put
e497ec26cc43 led: triggers: Fix a memory leak bug
83c2a42b1b84 ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK
5466c30b11cb tools headers: Fixup bitsperlong per arch includes
b1f1b83e2583 ASoC: uniphier: Fix double reset assersion when transitioning to suspend state
e6bc6e2c0d1f media: hdpvr: add terminating 0 at end of string
4a2cb7600b72 media: radio/si470x: kill urb on error
dfaf60580191 ARM: dts: imx7-colibri: disable HS400
c20ee5d906ec ARM: dts: imx7d: cl-som-imx7: make ethernet work again
21927786df27 m68k: Prevent some compiler warnings in Coldfire builds
ba8f56ffaebf net: lpc-enet: fix printk format strings
aa2d05a9de05 media: imx: mipi csi-2: Don't fail if initial state times-out
1b7df445d881 media: omap3isp: Don't set streaming state on random subdevs
0c3802174754 media: i2c: ov5645: Fix power sequence
3dfbac0add22 media: vsp1: fix memory leak of dl on error return path
c47022e019fe perf record: Support aarch64 random socket_id assignment
482c1d0a7cc4 dmaengine: iop-adma: use correct printk format strings
19a1fa140594 media: rc: imon: Allow iMON RC protocol for ffdc 7e device
a527d3d4b513 media: em28xx: modules workqueue not inited for 2nd device
6a1c59a7603d media: fdp1: Reduce FCP not found message level to debug
e3f5f626e17a media: mtk-mdp: fix reference count on old device tree
066afce8d87d perf test vfs_getname: Disable ~/.perfconfig to get default output
96b61fe7a5f7 perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig
db751f6d5241 media: gspca: zero usb_buf on error
511110236089 idle: Prevent late-arriving interrupts from disrupting offline
9addfbd40959 sched/fair: Use rq_lock/unlock in online_fair_sched_group
6e9d45022d26 firmware: arm_scmi: Check if platform has released shmem before using
0dbdc1986bb4 efi: cper: print AER info of PCIe fatal error
4410b8517950 EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
cf8f20a1aacf loop: Add LOOP_SET_DIRECT_IO to compat ioctl
18e5e458c6d8 ACPI / processor: don't print errors for processorIDs == 0xff
465bc6e80fd2 media: media/platform: fsl-viu.c: fix build for MICROBLAZE
371538451c21 md: don't set In_sync if array is frozen
d38aff20c407 md: don't call spare_active in md_reap_sync_thread if all member devices can't work
1cd972e0a107 md/raid1: end bio when the device faulty
7d75275fbfb1 arm64/prefetch: fix a -Wtype-limits warning
829bebdc1ce6 ASoC: rsnd: don't call clk_get_rate() under atomic context
f5bef62df824 EDAC/altera: Use the proper type for the IRQ status bits
87bc43e2a775 ia64:unwind: fix double free for mod->arch.init_unw_table
ca57eca32b3e ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
d76b5ac5016c base: soc: Export soc_device_register/unregister APIs
4a75e77ef1b5 media: iguanair: add sanity checks
fe8fc7d7cb64 EDAC/mc: Fix grain_bits calculation
55a98e872186 ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls()
1af6822f29d6 ALSA: hda - Show the fatal CORB/RIRB error more clearly
b40c15c20e42 x86/apic: Soft disable APIC before initializing it
ce7fdd5cd83e x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails
0f30856944d4 sched/deadline: Fix bandwidth accounting at all levels after offline migration
d29c7b8be599 x86/apic: Make apic_pending_intr_clear() more robust
f381d3d2c39c sched/core: Fix CPU controller for !RT_GROUP_SCHED
417cf53b4b85 sched/fair: Fix imbalance due to CPU affinity
7cebdfa62f22 time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
64f3fb5d751c media: i2c: ov5640: Check for devm_gpiod_get_optional() error
6cc816dd644e media: hdpvr: Add device num check and handling
8bc254d3e6b8 media: exynos4-is: fix leaked of_node references
7ec720763a20 media: mtk-cir: lower de-glitch counter for rc-mm protocol
920acbff8932 media: dib0700: fix link error for dibx000_i2c_set_speed
8f9dc49928c2 leds: leds-lp5562 allow firmware files up to the maximum length
fdcf06a35bc6 dmaengine: bcm2835: Print error in case setting DMA mask fails
e841313b5731 firmware: qcom_scm: Use proper types for dma mappings
ec4815460d81 ASoC: sgtl5000: Fix charge pump source assignment
84bb4024b358 ASoC: sgtl5000: Fix of unmute outputs on probe
a7ace049bddc ASoC: tlv320aic31xx: suppress error message for EPROBE_DEFER
3657e58405fb regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg
3eec108aa879 ALSA: hda: Flush interrupts on disabling
5b6c791f494d nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
33fe1f517e29 nfc: enforce CAP_NET_RAW for raw sockets
dd651ab7a114 ieee802154: enforce CAP_NET_RAW for raw sockets
6f0f18e53269 ax25: enforce CAP_NET_RAW for raw sockets
6fbf86627608 appletalk: enforce CAP_NET_RAW for raw sockets
50dddec689cb mISDN: enforce CAP_NET_RAW for raw sockets
f06b0b3e5d76 net/mlx5: Add device ID of upcoming BlueField-2
3fdcf6a88ded tcp: better handle TCP_USER_TIMEOUT in SYN_SENT state
a749eea97ac9 net: sched: fix possible crash in tcf_action_destroy()
831d0fcba1cf usbnet: sanity checking of packet sizes and device mtu
b7eeccc1c786 usbnet: ignore endpoints with invalid wMaxPacketSize
ff4419d725c7 skge: fix checksum byte order
9a623e1b1d03 sch_netem: fix a divide by zero in tabledist()
1cd663adcece ppp: Fix memory leak in ppp_write
99952b08537c openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
587df35cbf65 nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
195a3ea494d2 net_sched: add max len check for TCA_KIND
c31096dc586e net/sched: act_sample: don't push mac header on ip6gre ingress
abb04d0a9dea net: qrtr: Stop rx_worker before freeing node
6ea3bc412506 net/phy: fix DP83865 10 Mbps HDX loopback disable function
831d082be72c macsec: drop skb sk before calling gro_cells_receive
fd0034688358 cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
0bf79588586c arcnet: provide a buffer big enough to actually receive packets
555161ee1b7a Linux 4.19.76
59a5cea41dd0 f2fs: use generic EFSBADCRC/EFSCORRUPTED
fc3d296491f4 net/rds: Check laddr_check before calling it
3de749d6d7ce net/rds: An rds_sock is added too early to the hash table
07f7ec87b5f6 net_sched: check cops->tcf_block in tc_bind_tclass()
90b0761c1b81 Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices
6934809432d2 netfilter: nft_socket: fix erroneous socket assignment
649836fe946c xfs: don't crash on null attr fork xfs_bmapi_read
91ae87240166 drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling
3717f4a49b34 ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35
46beb6eacef5 Bluetooth: btrtl: HCI reset on close for Realtek BT chip
8ffd7ba9ffb1 net: don't warn in inet diag when IPV6 is disabled
ff0fbfacc94f drm: Flush output polling on shutdown
303f6d6bbc0c f2fs: fix to do sanity check on segment bitmap of LFS curseg
dec09554eba9 net/ibmvnic: Fix missing { in __ibmvnic_reset
dc9118feb472 dm zoned: fix invalid memory access
73d90f57fcc2 Revert "f2fs: avoid out-of-range memory access"
40cdc71e1111 blk-mq: move cancel of requeue_work to the front of blk_exit_queue
313efb253d03 blk-mq: change gfp flags to GFP_NOIO in blk_mq_realloc_hw_ctxs
75448f40b9f6 initramfs: don't free a non-existent initrd
ad16dfef4a44 bcache: remove redundant LIST_HEAD(journal) from run_cache_set()
08fdaee2d97b PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
ef2baa03b7f0 f2fs: check all the data segments against all node ones
ef06c33dc371 irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
52b4947bac50 bpf: libbpf: retry loading program on EAGAIN
a935d78e54cc Revert "drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD"
288831cba980 scsi: qla2xxx: Return switch command on a timeout
2b983f212c68 scsi: qla2xxx: Remove all rports if fabric scan retry fails
6b449e4cf090 scsi: qla2xxx: Turn off IOCB timeout timer on IOCB completion
9423770eb336 locking/lockdep: Add debug_locks check in __lock_downgrade()
0c23335a2d81 power: supply: sysfs: ratelimit property read error message
1456c40aa906 pinctrl: sprd: Use define directive for sprd_pinconf_params values
037d73a6458e objtool: Clobber user CFLAGS variable
952844f31eb7 ALSA: hda - Apply AMD controller workaround for Raven platform
50c9ccffe041 ALSA: hda - Add laptop imic fixup for ASUS M9V laptop
866a1a7e9f23 ALSA: dice: fix wrong packet parameter for Alesis iO26
9829fd27501e ALSA: usb-audio: Add DSD support for EVGA NU Audio
303921276360 ALSA: usb-audio: Add Hiby device family to quirks for native DSD support
8a845c02e495 ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt()
a5e2c65034f8 ASoC: Intel: cht_bsw_max98090_ti: Enable codec clock once and keep it enabled
ec2a3681b30c media: tvp5150: fix switch exit in set control handler
ba6860700d1f iwlwifi: mvm: always init rs_fw with 20MHz bandwidth rates
ced0676fc9c2 iwlwifi: mvm: send BCAST management frames to the right station
b3873e34cbf2 net/mlx5e: Rx, Check ip headers sanity
404f118f2790 net/mlx5e: Rx, Fixup skb checksum for packets with tail padding
c95ebb394d65 net/mlx5e: XDP, Avoid checksum complete when XDP prog is loaded
79e972a89cad net/mlx5e: Allow reporting of checksum unnecessary
8da68f79b3b3 mlx5: fix get_ip_proto()
44da02576b5d net/mlx5e: don't set CHECKSUM_COMPLETE on SCTP packets
6debda97411e net/mlx5e: Set ECN for received packets using CQE indication
e867ef113004 CIFS: fix deadlock in cached root handling
f3160a1d71f7 crypto: talitos - fix missing break in switch statement
c1a7fe486647 mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword()
5fdefdcb92bb HID: Add quirk for HP X500 PIXART OEM mouse
3d072c272b88 HID: hidraw: Fix invalid read in hidraw_ioctl
acc96be807bb HID: logitech: Fix general protection fault caused by Logitech driver
3e785174fb35 HID: sony: Fix memory corruption issue on cleanup.
eb77929769e3 HID: prodikeys: Fix general protection fault during probe
2661d462aaa9 IB/core: Add an unbound WQ type to the new CQ API
70ec2eecc550 drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines
80fc27953e74 powerpc/xive: Fix bogus error code returned by OPAL
4eb92a114834 RDMA/restrack: Protect from reentry to resource return path
373f9092df95 net/ibmvnic: free reset work of removed device from queue
2af977b0d1db Revert "Bluetooth: validate BLE connection interval updates"
d573e8a79f70 Linux 4.19.75
b841a9f58d9c media: technisat-usb2: break out of loop at end of buffer
f35f5a990a07 arm64: kpti: Whitelist Cortex-A CPUs that don't implement the CSV3 field
c0ccb4da26bc binfmt_elf: move brk out of mmap when doing direct loader exec
c3817ffb1036 floppy: fix usercopy direction
9c13e770cca9 ovl: fix regression caused by overlapping layers detection
5e74396d8beb PCI: kirin: Fix section mismatch warning
0d50f7b1e8c8 iommu/amd: Fix race in increase_address_space()
52f32e4aec50 iommu/amd: Flush old domains in kdump kernel
ca77acdf1ac9 keys: Fix missing null pointer check in request_key_auth_describe()
d73515a17c14 x86/hyper-v: Fix overflow bug in fill_gva_list()
371357770c8b x86/uaccess: Don't leak the AC flags into __get_user() argument evaluation
72c762b01eb0 dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()
d04b522a65c0 dmaengine: ti: dma-crossbar: Fix a memory leak bug
6bc421d5a04a net: seeq: Fix the function used to release some memory in an error handling path
83360eb798ca net: aquantia: fix out of memory condition on rx side
30c345bd786a tools/power turbostat: fix buffer overrun
d485c65853de tools/power x86_energy_perf_policy: Fix argument parsing
254b9b2971a7 tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2
a85a0d9f3796 amd-xgbe: Fix error path in xgbe_mod_init()
7ec11cad3fde perf/x86/amd/ibs: Fix sample bias for dispatched micro-ops
560857de3064 perf/x86/intel: Restrict period on Nehalem
65ad72ce10e7 i2c: designware: Synchronize IRQs when unregistering slave client
5a45b14b03f7 sky2: Disable MSI on yet another ASUS boards (P6Xxxx)
6cce2adae3e1 ibmvnic: Do not process reset during or after device removal
080ca754f5db ARM: 8901/1: add a criteria for pfn_valid of arm
c6d779fd8197 usb: host: xhci-tegra: Set DMA mask correctly
b62946852afa cifs: Use kzfree() to zero out the password
325fa2a6729b cifs: set domainName when a domain-key is used in multiuser
9a74f799b99c kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
0f7130177325 NFSv2: Fix write regression
60f0d449601d NFSv2: Fix eof handling
6075729f76da netfilter: nf_conntrack_ftp: Fix debug output
7ac5947f7578 netfilter: xt_physdev: Fix spurious error message in physdev_mt_check
e997c0730520 x86/apic: Fix arch_dynirq_lower_bound() bug for DT enabled machines
688fdaa54a3e r8152: Set memory to all 0xFFs on failed reg reads
d9f79f0ace55 bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
7d4201ff9f73 batman-adv: Only read OGM2 tvlv_len after buffer len check
5b8b66274183 ARM: 8874/1: mm: only adjust sections of valid mm structures
b870f8afc5a5 qed: Add cleanup in qed_slowpath_start()
30881d79de31 xdp: unpin xdp umem pages in error path
55ed0ad50201 Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105
767877deb25a NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
4ac4f4716fba NFSv4: Fix return value in nfs_finish_open()
d7565d51af18 NFSv4: Fix return values for nfs4_file_open()
4e5fbcb9a615 netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info
a02c676c0f03 netfilter: nft_flow_offload: missing netlink attribute policy
a4fa6c68ecc3 netfilter: ebtables: Fix argument order to ADD_COUNTER
634dd5a48627 fpga: altera-ps-spi: Fix getting of optional confd gpio
0d393f23f18e tools: bpftool: close prog FD before exit on showing a single program
c5bb033529f1 selftests/bpf: fix "bind{4, 6} deny specific IP & port" on s390
48d77ca1497f s390/bpf: use 32-bit index for tail calls
999f33c2438c bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()
1a85d5819ade ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack
a8919f8d352f ARM: dts: dra74x: Fix iodelay configuration for mmc3
2ff2bd2c5526 ARM: OMAP2+: Fix omap4 errata warning on other SoCs
73d003274a42 s390/bpf: fix lcgr instruction encoding
c1e0937ef4d5 bus: ti-sysc: Fix using configured sysc mask value
0aee9e118eee ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss
f696ba6b122d ARM: dts: am57xx: Disable voltage switching for SD card
ac8f26f6a035 ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails
c237a050df3b ieee802154: hwsim: Fix error handle path in hwsim_init_module
6a10e87ffca1 nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
941431c491a6 mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings
770cee245191 tty/serial: atmel: reschedule TX after RX was started
4c2f60ed8ed8 serial: sprd: correct the wrong sequence of arguments
2871621518ac firmware: google: check if size is valid when decoding VPD data
232a6462f43f KVM: coalesced_mmio: add bounds checking
7a1bad565ceb net_sched: let qdisc_put() accept NULL pointer
47288968eebd xen-netfront: do not assume sk_buff_head list is empty in error handling
fdd60d80c429 udp: correct reuseport selection with connected sockets
97b5f8c95b75 ip6_gre: fix a dst leak in ip6erspan_tunnel_xmit
4fb95f299504 phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current
abf389e0795a media: tm6000: double free if usb disconnect while streaming
77d4e2a05885 USB: usbcore: Fix slab-out-of-bounds bug during device reset
b01b1eb24c04 powerpc/mm/radix: Use the right page size for vmemmap mapping
289f3c82b116 Input: elan_i2c - remove Lenovo Legion Y7000 PnpID
305c3b497662 RDMA/restrack: Release task struct which was hold by CM_ID object
8993c673d6c4 HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
2a0aa8a06aea netfilter: nf_flow_table: set default timeout after successful insertion
dbc29aff8d04 Linux 4.19.74
9d587fe2cd70 x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning
96c08711fc66 nvmem: Use the same permissions for eeprom as for nvmem
3622d621e9be rsi: fix a double free bug in rsi_91x_deinit()
780f3aadee1e platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table
52bfcc9c8406 modules: fix compile error if don't have strict module rwx
ae415d7a2707 modules: fix BUG when load module with rodata=n
0ae0c43abcbf iio: adc: stm32-dfsdm: fix data type
acf77c411b4e Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
a03ed2891cdb drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto
d13a836d787d drm: panel-orientation-quirks: Add extra quirk table entry for GPD MicroPC
4b30a0698208 firmware: ti_sci: Always request response from firmware
3dfc787f2f50 crypto: talitos - HMAC SNOOP NO AFEU mode requires SW icv checking.
e89d4cb6fba3 crypto: talitos - Do not modify req->cryptlen on decryption.
9aff4077304b crypto: talitos - fix ECB algs ivsize
c4d7148e2d67 crypto: talitos - check data blocksize in ablkcipher.
02ebbb4f8df8 crypto: talitos - fix CTR alg blocksize
39fa02a36bb3 crypto: talitos - check AES key size
e1666bcbae0c driver core: Fix use-after-free and double free on glue directory
72cd230b3231 ubifs: Correctly use tnc_next() in search_dh_cookie()
a65290083b66 gpio: fix line flag validation in lineevent_create
0f4095f33557 PCI: Always allow probing with driver_override
70facf939ba2 mtd: rawnand: mtk: Fix wrongly assigned OOB buffer pointer issue
6da56f8982bb clk: rockchip: Don't yell about bad mmc phases when getting
a63416f39aaf drm/meson: Add support for XBGR8888 & ABGR8888 formats
d9e8b4ba0397 powerpc: Add barrier_nospec to raw_copy_in_user()
eb020b77b646 x86/purgatory: Change compiler flags from -mcmodel=kernel to -mcmodel=large to fix kexec relocation errors
73c31bd92039 KVM: nVMX: handle page fault in vmread
6e60900cfa3e KVM: x86: work around leak of uninitialized stack contents
09a9f894c65b KVM: s390: Do not leak kernel stack data in the KVM_S390_INTERRUPT ioctl
9f8a2825918c KVM: s390: kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()
991b3458da56 genirq: Prevent NULL pointer dereference in resend_irqs()
5b5f14601e0a ixgbe: Prevent u8 wrapping of ITR value to something less than 10us
7cbd49cf0d62 Btrfs: fix assertion failure during fsync and use of stale transaction
22ed1d472811 gpio: fix line flag validation in linehandle_create
705df757e937 gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist
0f4ceb259493 tun: fix use-after-free when register netdev failed
9a4598424e99 tipc: add NULL pointer check before calling kfree_rcu
67fe3b94a833 tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
7c34a29261ee sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
41b624ff83d2 sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'
a9e91767b921 sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
a7f46e18ecfe net: sched: fix reordering issues
3600a311f83d net: phylink: Fix flow control resolution
821302dd0c51 net: gso: Fix skb_segment splat when splitting gso_size mangled skb having linear-headed frag_list
88a46756f016 net: Fix null de-reference of device refcount
b26f489245b3 ixgbe: Fix secpath usage for IPsec TX offload.
2354e925e361 isdn/capi: check message length in capi_write()
ea6ec671c87e ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
a20c8e4ae48d cdc_ether: fix rndis support for Mediatek based smartphones
f57fd58dda42 bridge/mdb: remove wrong use of NLM_F_MULTI
db2d0b7c1dde Linux 4.19.73
ba03ee62aed0 vhost: make sure log_num < in_num
569775bd5364 powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
052bc385f970 powerpc/tm: Remove msr_tm_active()
f193e02265aa PCI: Reset both NVIDIA GPU and HDA in ThinkPad P50 workaround
ff69322509bb ext4: unsigned int compared against zero
292666d2d868 ext4: fix block validity checks for journal inodes using indirect blocks
97fbf573460e ext4: don't perform block validity checks on the journal inode
1e88a1f874ca drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors
b1dd1d06b31d virtio/s390: fix race on airq_areas[]
057cdb6f0f47 drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
b113f98432ae bcache: fix race in btree_flush_write()
f73c35d92976 bcache: add comments for mutex_lock(&b->write_lock)
7989a5026fd1 bcache: only clear BTREE_NODE_dirty bit when it is set
652993a5aae5 NFSv4: Fix delegation state recovery
5026932adb1a iio: adc: gyroadc: fix uninitialized return code
2e7e7c8f9423 mm/migrate.c: initialize pud_entry in migrate_vma()
b8ad18a10f70 i2c: at91: fix clk_offset for sama5d2
4c9170b55f3a i2c: at91: disable TXRDY interrupt after sending data
c9c90711ee88 gpio: don't WARN() on NULL descs if gpiolib is disabled
a532a120a5cd iommu/iova: Remove stale cached32_node
c4fc7cb93e0a powerpc/mm: Limit rma_size to 1TB when running without HV mode
5b9a6ba975c0 ALSA: hda - Fix intermittent CORB/RIRB stall on Intel chips
87c3692172da drm/panel: Add support for Armadeus ST0700 Adapt
ecf99cdea02d dm thin metadata: check if in fail_io mode when setting needs_check
5e9a2ce6d3b4 pstore: Fix double-free in pstore_mkfile() failure path
192b9af8caf0 resource: fix locking in find_next_iomem_res()
485bcc29a200 resource: Fix find_next_iomem_res() iteration issue
9a80dfccade1 resource: Include resource end in walk_*() interfaces
1c13c9c40e31 btrfs: correctly validate compression type
0ca2688bd7cd RDMA/srp: Accept again source addresses that do not have a port number
9541604735b2 RDMA/srp: Document srp_parse_in() arguments
bab0ff2d87db ARM: dts: gemini: Set DIR-685 SPI CS as active low
3a1b79ade460 KVM: PPC: Book3S HV: Fix CR0 setting in TM emulation
3ac718069f7c KVM: PPC: Use ccr field in pt_regs struct embedded in vcpu struct
beeeead95b2f KVM: VMX: check CPUID before allowing read/write of IA32_XSS
891011ca564d KVM: VMX: Fix handling of #MC that occurs during VM-Entry
74ce13331db9 KVM: VMX: Always signal #GP on WRMSR to MSR_IA32_CR_PAT with bad value
74fd8aae19d9 KVM: x86: optimize check for valid PAT value
812810399999 ceph: use ceph_evict_inode to cleanup inode's resource
42fa0e35d6e0 ALSA: hda - Don't resume forcibly i915 HDMI/DP codec
987564c28e8a cifs: Properly handle auto disabling of serverino option
d85e830d8534 scsi: zfcp: fix request object use-after-free in send path causing wrong traces
ba8701d2226c staging: wilc1000: fix error path cleanup in wilc_wlan_initialize()
60b856dc1744 scsi: target/iblock: Fix overrun in WRITE SAME emulation
ba52842de1ad scsi: target/core: Use the SECTOR_SHIFT constant
17111037fdf0 apparmor: reset pos on failure to unpack for various functions
90ca4912e55d IB/hfi1: Avoid hardlockup with flushlist_lock
fa717fc442ff clk: tegra210: Fix default rates for HDA clocks
350503c8982b clk: tegra: Fix maximum audio sync clock for Tegra124/210
acc07941e224 cifs: add spinlock for the openFileList to cifsInodeInfo
1d0648767ccf Btrfs: fix race between block group removal and block group allocation
f276beb324cc drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc
7abeffff7bc3 drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2)
d5f6539381c7 kvm: Check irqchip mode before assign irqfd
90772cf58838 drm/amdkfd: Add missing Polaris10 ID
cacbc85376b6 ARC: mm: SIGSEGV userspace trying to access kernel virtual memory
7edfa9c99d21 ARC: mm: fix uninitialised signal code in do_page_fault
0828438e523e signal/arc: Use force_sig_fault where appropriate
fcb2f1e2ea68 dm crypt: move detailed message into debug level
96b44c20e6f0 cifs: smbd: take an array of reqeusts when sending upper layer data
3f27a14b03d8 PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify code
842da8fac182 mmc: sdhci-pci: Add support for Intel CML
e238e6dc222b blk-mq: free hw queue's resource in hctx's release handler
69409854ba08 dm mpath: fix missing call of path selector type->end_io
0fe097012b6c PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
5659dfca74d0 PCI: Add macro for Switchtec quirk declarations
e4ba157877db dt-bindings: mmc: Add disable-cqe-dcmd property.
eb83f9fa10f7 dt-bindings: mmc: Add supports-cqe property
0a0176f93ea9 ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
445a78ea3f90 ARM: dts: qcom: ipq4019: Fix MSI IRQ type
df1216d8bc86 ARM: dts: qcom: ipq4019: fix PCI range
2fd4629de519 ext4: protect journal inode's blocks using block_validity
f10a92309b83 media: i2c: tda1997x: select V4L2_FWNODE
4061e662c8e9 cifs: Fix lease buffer length error
df5d4ea2d8be KVM: x86: Always use 32-bit SMRAM save state for 32-bit kernels
7a74d806bdaa x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
163b24b1a68c kvm: mmu: Fix overflow on kvm mmu page limit calculation
feced628c068 IB/mlx5: Reset access mask when looping inside page fault handler
37222eaf7eb7 arm64: dts: stratix10: add the sysmgr-syscon property from the gmac's
3cfce8b77aad usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
fba4f7c118e4 drm/i915: Sanity check mmap length against object size
6423a2ad5709 drm/i915: Handle vm_mmap error during I915_GEM_MMAP ioctl with WC set
778d626c6af3 CIFS: Fix leaking locked VFS cache pages in writeback retry
fb2dabeabb17 CIFS: Fix error paths in writeback code
e407b58c3576 drm: add __user attribute to ptr_to_compat()
e1a12c3b6f87 PCI: qcom: Don't deassert reset GPIO during probe
be905d0f2330 PCI: qcom: Fix error handling in runtime PM support
476ecc14cfdb btrfs: init csum_list before possible free
936690bdd8e6 btrfs: scrub: fix circular locking dependency warning
ff55333f5c52 btrfs: scrub: move scrub_setup_ctx allocation out of device_list_mutex
8ba3169dceac btrfs: scrub: pass fs_info to scrub_setup_ctx
df7329207870 mmc: renesas_sdhi: Fix card initialization failure in high speed mode
915c9d0a1d68 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
b3f864b88256 spi: spi-gpio: fix SPI_CS_HIGH capability
1d60902a5448 x86/kvmclock: set offset for kvm unstable clock
716b0cfa88a5 iwlwifi: add new card for 9260 series
213566a9b0de iwlwifi: fix devices with PCI Device ID 0x34F0 and 11ac RF modules
2b76fcb6ba62 drm/nouveau: Don't WARN_ON VCPI allocation failures
173b6557fcbc mt76: fix corrupted software generated tx CCMP PN
0d7f329e2431 iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
4e516b721a50 dt-bindings: iio: adc: exynos-adc: Add S5PV210 variant
7f588a7262b3 iio: adc: exynos-adc: Add S5PV210 variant
cd490d44150d KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
687e470e9123 bcache: treat stale && dirty keys as bad keys
d1cec665de2c bcache: replace hard coded number with BUCKET_GC_GEN_MAX
ee30121fbd78 tpm: Fix some name collisions with drivers/char/tpm.h
c207ac66848e mfd: Kconfig: Fix I2C_DESIGNWARE_PLATFORM dependencies
6fd5e50add36 drm/i915/ilk: Fix warning when reading emon_status with no output
2b4f567912ad drm/vblank: Allow dynamic per-crtc max_vblank_count
71f719105462 crypto: ccree - add missing inline qualifier
72eec6b303f4 crypto: ccree - fix resume race condition on init
f0e286550af8 IB/uverbs: Fix OOPs upon device disassociation
8c6fb55abf2c ARC: mm: do_page_fault fixes#1: relinquish mmap_sem if signal arrives while handle_mm_fault
96af7d92d8d2 ARC: show_regs: lockdep: re-enable preemption
424b75b79994 media: vim2m: only cancel work if it is for right context
be77686f0369 btrfs: Use real device structure to verify dev extent
a2790b9939ae btrfs: volumes: Make sure no dev extent is beyond device boundary
cfbf227e0591 powerpc/pkeys: Fix handling of pkey state across fork()
2ad95be18995 scsi: megaraid_sas: Use 63-bit DMA addressing
3263f78640cc scsi: megaraid_sas: Add check for reset adapter bit
dc4e3ec9d226 scsi: megaraid_sas: Fix combined reply queue mode detection
eb124aaa2e85 btrfs: Fix error handling in btrfs_cleanup_ordered_extents
1669d1d2e696 btrfs: Remove extent_io_ops::fill_delalloc
338a528b7922 Btrfs: fix deadlock with memory reclaim during scrub
fac803479f60 Btrfs: clean up scrub is_dev_replace parameter
d3984e80d7f2 KVM: PPC: Book3S HV: Fix race between kvm_unmap_hva_range and MMU mode switch
d88b01d04c6a drm/i915: Cleanup gt powerstate from gem
b185bde520d5 drm/i915: Restore sane defaults for KMS on GEM error load
f999485109d1 media: vim2m: use cancel_delayed_work_sync instead of flush_schedule_work
a7b6f95f3ca6 media: vim2m: use workqueue
e432a58d7a0d s390/zcrypt: reinit ap queue state machine during device probe
a4f404af3ca8 ARM: davinci: dm644x: define gpio interrupts as separate resources
8d6b2b24ca85 ARM: davinci: dm355: define gpio interrupts as separate resources
d31f2b61e7f9 ARM: davinci: dm646x: define gpio interrupts as separate resources
4883e9e66f76 ARM: davinci: dm365: define gpio interrupts as separate resources
0a6c3bdae2c9 ARM: davinci: da8xx: define gpio interrupts as separate resources
016218ef6bb0 drm/amd/dm: Understand why attaching path/tile properties are needed
853dc0759586 drm/amd/pp: Fix truncated clock value when set watermark
5faabd22ed64 powerplay: Respect units on max dcfclk watermark
11bedb2e77a0 Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up
74ff258346e4 Drivers: hv: kvp: Fix the indentation of some "break" statements
e352d8eb9394 drm/atomic_helper: Disallow new modesets on unregistered connectors
cff9e1e33151 drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
8ccbb1d24c26 drm/i915: Rename PLANE_CTL_DECOMPRESSION_ENABLE
4b2dfc0e2d44 drm/i915: Fix intel_dp_mst_best_encoder()
796469e361ed x86/kvm/lapic: preserve gfn_to_hva_cache len on cache reinit
cdad0f65050e KVM: hyperv: define VP assist page helpers
b0d9043bdbe6 KVM: x86: hyperv: keep track of mismatched VP indexes
f031fd03e22e KVM: x86: hyperv: consistently use 'hv_vcpu' for 'struct kvm_vcpu_hv' variables
0b535f7b95af KVM: x86: hyperv: enforce vp_index < KVM_MAX_VCPUS
8e91cc7f7f91 drm/amdgpu: Update gc_9_0 golden settings.
bcc3bd761ab5 drm/amdgpu/gfx9: Update gfx9 golden settings.
2c2cf2245ff6 remoteproc: qcom: q6v5-mss: add SCM probe dependency
4d9707586ec7 x86, hibernate: Fix nosave_regions setup for hibernation
805e0e46eb54 Drivers: hv: kvp: Fix two "this statement may fall through" warnings
3f3beae22842 keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h
bac1c4edb5c4 scsi: qla2xxx: Move log messages before issuing command to firmware
6e087eae89df media: cec: remove cec-edid.c
851308450a8f media: cec/v4l2: move V4L2 specific CEC functions to V4L2
c09d675f294b drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"
3015291b2fb5 kernel/module: Fix mem leak in module_add_modinfo_attrs
9c49f7811f82 modules: always page-align module section allocations
84ba9ae18fbb remoteproc: qcom: q6v5: shore up resource probe handling
56944c0b9774 clk: s2mps11: Add used attribute to s2mps11_dt_match
480101a4aea2 nvme-fc: use separate work queue to avoid warning
5f147150b753 riscv: remove unused variable in ftrace
8d23872c7539 scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
6c550a5db18f arm64: dts: rockchip: enable usb-host regulators at boot on rk3328-rock64
573370113b24 media: stm32-dcmi: fix irq = 0 case
7f8b23600779 powerpc/64: mark start_here_multiplatform as __ref
85a24825b2e6 x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace_call_replace()
b93aed78eb78 selftests: fib_rule_tests: use pre-defined DEV_ADDR
68829256e1f9 timekeeping: Use proper ktime_add when adding nsecs in coarse offset
1aa38eceb6c0 {nl,mac}80211: fix interface combinations on crypto controlled devices
178d1337a527 blk-iolatency: fix STS_AGAIN handling
5f33e81250a6 Blk-iolatency: warn on negative inflight IO counter
91a71a61da8c hv_sock: Fix hang when a connection is closed
86d5ae21d6b8 batman-adv: Only read OGM tvlv_len after buffer len check
4b5fee457723 batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
47a0f70d7d9a powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
6e7040d65a71 vhost/test: fix build for vhost test - again
4f45483faadf vhost/test: fix build for vhost test
dcd22e14780a drm/vmwgfx: Fix double free in vmw_recv_msg()
38d38d1e0cc5 sched/fair: Don't assign runtime for throttled cfs_rq
044ab4715585 ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
849f85bfdf12 ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL
a956998ac1c2 ALSA: hda/realtek - Add quirk for HP Pavilion 15
d11ca2d79334 ALSA: hda/realtek - Fix overridden device-specific initialization
2c4d2ce8b799 ALSA: hda - Fix potential endless loop at applying quirks
(From OE-Core rev: 085b5b4638bf91e17814e4a1b8c296158ee17433)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A small test to verify that oe-run-native is correctly working.
(From OE-Core rev: 1b577bcc44cbf7a9e94f8770f21841a16ad50c64)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass all of the compiler and linker flags so the build is correctly configured.
(From OE-Core rev: 05151064eb2c0907ebb815c9ae3481a912835b39)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Displaying a help message if help was requested isn't an error.
(From OE-Core rev: 9d98e881de9030d80e451519b054681d4e9d2621)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The coreutils implementation of stdbuf uses LD_PRELOAD
to dynamically load libstdbuf which calls setvbuf().
This can't be implemented simply in busybox since it produces
one or two statically linked executables. Therefore, stdbuf
should be packaged separately for people who are using busybox
instead of coreutils for the other tools.
coreutils depends on the new package,
so nothing changes when installing coreutils.
(From OE-Core rev: 992cec44ad2073cfe05cb2c58936032af189748a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tools are not written in Perl anymore, so they should be in PN no PN-perltools.
(From OE-Core rev: 8a2e4dac4f5086fbfc094fb1f16e91108ee1b247)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVEs that are whitelisted or were not vulnerable when there are version
comparisons were not included in the report, so alter the logic to ensure that
all relevant CVEs are in the report for completeness.
(From OE-Core rev: 98256ff05fcfe9d5ccad360582c36eafb577c264)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to fix the following runtime failure.
mem.c:814: INFO: set overcommit_memory to 0
overcommit_memory.c:213: FAIL: alloc passed, expected to fail
(From OE-Core rev: c4bf0b80ab1be8b4faa2af7708bdca990d94a329)
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>
0.24:
- Add support for extended groups in settings files.
0.25:
- Fix issue with stopping DHCP client and owner notification.
- Fix issue with time calculation overflow and DHCP.
(From OE-Core rev: 8b41a5b0418d1d85741a88b236bbe5ae30ec4355)
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>
reproduce steps:
1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf
2. bitbake mdadm --success
3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf
4. bitbake mdadm -- failed when do_package
it is not proper to change source Makefile during do_install by sed,
fix by pass correct config to EXTRA_OEMAKE
[YOCTO #13493]
(From OE-Core rev: 8eb457bd396592094b59098496d88db0ba03d013)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Elfutils has optional support for bzip2 and xz (lzma). It uses
this for decompressing embedded ELF sections like the .gnu_debugdata
section for "mini debuginfo":
https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html
Previously this support was unconditionally disabled but the reasons for
disabling them seem to no longer apply. Both the target and native
variants of elfutils can build successfully against both bzip2 and xz.
(From OE-Core rev: 37f4b2311eab6736ee92fc6ac39ddcba6d56a38e)
(From OE-Core rev: a898b13763a145f15dfd8ada033ae9f0d60e4185)
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream added support for optional docs, so
0001-Do-not-generate-gtkdoc-or-python-bindings.patch is replaced
with an option to disable gtk-doc (as the modulemd feature is not used
in oe-core anyway).
(From OE-Core rev: cb5bb2b9635ebf709f1eb0b154f28419d548ad70)
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>
gcr uses gettext now, so no need to depend on intltool-native.
(From OE-Core rev: fc300e7adc0ad6e5573744434e5010d177f6c2db)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport changes to tinfo/comp_hash.c, tinfo/parse_entry.c,
and progs/dump_entry.c from upstream to fix CVEs.
(From OE-Core rev: 69c31032f1ec0e300c3247efa71aa9b4ebdaf23d)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows layers adding packages other than locales automatically to
images based on languages selected in IMAGE_LINGUAS.
E.g if a layer has recipes creating packages as:
| ${PN}-foo-en / ${PN}-foo-de / ${PN}-foo-it / ..
it would set
| IMAGE_LINGUAS_COMPLEMENTARY_append = " *-foo-%s"
in its layer.conf to enable auto-adding.
(From OE-Core rev: 3a9e9585aeb67234901b2f842113dbe20c3801b3)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream fix. No upstream release version of
binutils it yet, so backport the fix independently.
(From OE-Core rev: 3693a0a8b9461521b95613a76b7fd79c86a3bf8f)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream fix. No upstream release version of
binutils it yet, so backport the fix independently.
(From OE-Core rev: a4ead72b958ded4941f96741029f4955930ba758)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- remove the inc file
- run oe-stylize on the recipe
(From OE-Core rev: 3bfec923cf717bd1082beb0e026567951c2e99c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core e37a1ecc stopped downloading a LZMA tarball, but the checksums were not
removed at the same time.
(From OE-Core rev: 73a1e1135618a23f3f2a714c311df39c7b809ed5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Automatic generation seems to work fine,
and does not become outdated.
(From OE-Core rev: 8993270f8bc65e152418d84fde03f8ead83c054b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some hosts need -pthread in order to link properly (e.g. openSUSE 15.1).
(From OE-Core rev: 6196e68ffc83ae0655336d3466d950828d42e191)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Part of patch fixed upstream removed.
(From OE-Core rev: 82169fd7684389f9cdedd6f91a00698641741a8c)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When bitbake determines if a git clone needs updating, it only checks for the
needed srcrevs, not the revs listed in BB_GIT_SHALLOW_REVS, which will fail if
using shallow and the needed rev was added to the upstream git repo after a
previous fetch. Ensure that we also check for shallow revs.
[YOCTO #13586]
(Bitbake rev: 93b65e3c6ca64f644946953980595c44fbbcc748)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intention of this commit is so that git history will clearly
show the changes made to the Python indent code.
Taken from Vim commit 7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7
(Bitbake rev: 3eb3ed6b31859e108020e47faee7215841fea8f6)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changing the gl options to qemu doesn't result in a correctly rebuilt
binary, the GL linkage can persist from a build where it was enabled
to one where it was not.
As well as clearly being incorrect and non-reproducible, this caused
some mystery failures on the autobuilder.
Cleaning ${B} at do_configure time avoids this. Most recipes
(e.g. autotools derived ones) already clean ${B} as appropriate and
avoid this issue.
(From OE-Core rev: b91b30c09ffbcd81e8dcaae832b3ae4f61046236)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure /etc/exports exists and is readable before calling exportfs
to avoid errors.
(From OE-Core rev: 723f2464f746624ece06caa9752910a52f290f95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'accept' function on the socket of unfsd daemon
is always in below error state:
accept(4, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
accept(6, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
And 'strace -c -p <the pid of unfsd>' shows:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
70.87 0.005392 0 513886 513886 accept
29.13 0.002216 0 256943 poll
This error state is in the 'for' loop of the daemon, so it consumes 100%
CPU. The reason is that 'listen' is not called for the TCP socket before
'accept'. Actually the called 'svc_tli_create' from libtirpc will not call
'listen' on a bound socket.
(From OE-Core rev: 1f6784d2e839f81749d21ad1b615a9f7bb0e64d6)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches to fix CVE-2019-6471 and CVE-2018-5743 for bind.
CVE-2019-6471 is fixed by 0001-bind-fix-CVE-2019-6471.patch and the
other 6 patches are for CVE-2018-5743. And backport one more patch to
fix compile error on arm caused by these 6 commits.
(From OE-Core rev: 3c39d4158677b97253df63f23b74c3a9dd5539f6)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Like the -dbg package, this package is automatically generated and contains
source filenames. We expect this to change on every upgrade, so don't show the
differences unless the user wants to see all changes.
(From OE-Core rev: 30acbf6f89ba76d6fab8987ed20f72d1fa3d70fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Need it for gnome-settings-daemon 3.34:
| meson.build:91:0: ERROR: Invalid version of dependency, need 'gsettings-desktop-schemas' ['>= 3.33.0'] found '3.32.0'.
(From OE-Core rev: e94ce7ecc80efd41ec496fadf7546ea027f7dafd)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12760]
Updated the cmake.bbclass description to tell what directory
to insall custom CMake toolchain files into. Also, updated
the two areas in the "Writing a New Recipe" section that
mention CMake. Placed a couple notes there concerning the
same directory stuff.
(From yocto-docs rev: a65cd2c4c062d4ae388191b9d6708b4fadffaa3f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
commited a change to these manuals (see
9e79e96cad66316c1b4ee608723edfa763f0f9ef) and did not
use YP documentation standards for the content. I cleaned
up the text and tabbing.
(From yocto-docs rev: 9c95799322e1830a5faae0980384ab10b6504007)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was in a moving to YP version 1.8 migration section.
(From yocto-docs rev: b87f0882c39524747004fafc4d1caf58b3344c3a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using "2.8" throughout the manual set instead
of "3.0". Updated all aspects to "3.0".
(From yocto-docs rev: db19937e98c59d4d2a9ce89877be3c8e0b05991a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turned "2.8" into "3.0". Nobody told me about skipping
2.8 and 2.9.
(From yocto-docs rev: 13819f0651c48adae9d1a8d6d19341ba5ee44978)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The connman-wait-online package currently isn't marked as
systemd-enabled package. This means it is impossible to
auto-enable the service during image creation or package
installation, as no preset files and no pkg_postinst()
snippet is being created.
This change should have been done as part of the
upgrade to v1.31
Note:
connman-wait-online is needed when connman is in use
in more complex network/interface setups for systemd's
network-online.target to report success.
systemd-networkd's systemd-networkd-wait-online.service
alone doesn't work in such scenarios and simply times
out, as it know nothing about the expected network/
interface configuration, meaning the target doesn't
boot successfully (systemctl list-units --failed),
and long delays are seen, caused by waiting for the
systemd-networkd-wait-online.service timeout.
(From OE-Core rev: 1a8d18eeee6dc188d8becc778bfa933031490781)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass installs non-standard kernels (where
KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}.
To achieve this kernel_do_deploy sets the deployDir shell variable to
${DEPLOYDIR} for the standard kernel or
${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels.
kernel-devicetree.bbclass's do_deploy_append ought to do the same
and can do so by using the same shell variable.
(From OE-Core rev: db5752911fe085337b9d3d4af85f89a0c664388e)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass installs non-standard kernels (where
KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}.
To achieve this kernel_do_deploy sets the deployDir shell variable to
${DEPLOYDIR} for the standard kernel or
${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels.
kernel-fitimage.bbclass's kernel_do_deploy_append ought to do the same
and can do so by using the same shell variable.
(From OE-Core rev: d324b22d32eaea9e4337c963c8b1a33b0ba6a2dd)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer
account can bypass certain policy blacklists and session PAM modules,
and can cause incorrect logging, by invoking sudo with a crafted user
ID. For example, this allows bypass of !root configuration, and USER=
logging, for a "sudo -u \#$((0xffffffff))" command.
(From OE-Core rev: 4e11cd561f2bdaa6807cf02ee7c9870881826308)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a backported commit from upstream which helps fix build failures
in meta-oe.
(From OE-Core rev: 6665e84bfba43cd8897b9561b14975ac524fbbe2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PKNAME is NULL when run "lsblk -o+PKNAME /dev/sda1"
backport an upstream patch to fix it.
(From OE-Core rev: a5a987ff5e5e333e28be44a12e729907272ea3cb)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When loading controllers as (external) modules, the code currently
tries to load all files ending with .py. This is a problem when
during development using an editor that creates a lock-file
in the same directory as the .py file, as the lock file is
typically called '.#xxxx.py'.
Python will try to load the lock file and fail miserably with
an exception:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_testimage(d)
0003:
File: 'poky/meta/classes/testimage.bbclass', lineno: 114, function: do_testimage
0110: netstat -an
0111:}
0112:
0113:python do_testimage() {
*** 0114: testimage_main(d)
0115:}
0116:
0117:addtask testimage
0118:do_testimage[nostamp] = "1"
File: 'poky/meta/classes/testimage.bbclass', lineno: 294, function: testimage_main
0290:
0291: # the robot dance
0292: target = OERuntimeTestContextExecutor.getTarget(
0293: d.getVar("TEST_TARGET"), logger, d.getVar("TEST_TARGET_IP"),
*** 0294: d.getVar("TEST_SERVER_IP"), **target_kwargs)
0295:
0296: # test context
0297: tc = OERuntimeTestContext(td, logger, target, host_dumper,
0298: image_packages, extract_dir)
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 116, function: getTarget
0112: # XXX: Don't base your targets on this code it will be refactored
0113: # in the near future.
0114: # Custom target module loading
0115: target_modules_path = kwargs.get('target_modules_path', '')
*** 0116: controller = OERuntimeTestContextExecutor.getControllerModule(target_type, target_modules_path)
0117: target = controller(logger, target_ip, server_ip, **kwargs)
0118:
0119: return target
0120:
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 128, function: getControllerModule
0124: # ImportError raised if a provided module can not be imported.
0125: @staticmethod
0126: def getControllerModule(target, target_modules_path):
0127: controllerslist = OERuntimeTestContextExecutor._getControllerModulenames(target_modules_path)
*** 0128: controller = OERuntimeTestContextExecutor._loadControllerFromName(target, controllerslist)
0129: return controller
0130:
0131: # Return a list of all python modules in lib/oeqa/controllers for each
0132: # layer in bbpath
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 163, function: _loadControllerFromName
0159: # Raise ImportError if a provided module can not be imported
0160: @staticmethod
0161: def _loadControllerFromName(target, modulenames):
0162: for name in modulenames:
*** 0163: obj = OERuntimeTestContextExecutor._loadControllerFromModule(target, name)
0164: if obj:
0165: return obj
0166: raise AttributeError("Unable to load {0} from available modules: {1}".format(target, str(modulenames)))
0167:
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 173, function: _loadControllerFromModule
0169: @staticmethod
0170: def _loadControllerFromModule(target, modulename):
0171: obj = None
0172: # import module, allowing it to raise import exception
*** 0173: module = __import__(modulename, globals(), locals(), [target])
0174: # look for target class in the module, catching any exceptions as it
0175: # is valid that a module may not have the target class.
0176: try:
0177: obj = getattr(module, target)
Exception: ImportError: No module named 'oeqa.controllers.'
Simply ignore those when collecting the list of files to try
to load.
(From OE-Core rev: 682f223cf2e2dabe8cf60634b6779bb2d5e359bd)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the write loop slightly to avoid dict lookups that can easily be
done in the for loop.
(From OE-Core rev: 35c65b7336c52c19810e3e9e87a36a8636ac4120)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace copy-and-if with a filtering list comprehension.
(From OE-Core rev: eb763856be8da854d37c7d4b8e8d645ab1d3fa06)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The PID file referenced in dbus-1.init script was out of date and no longer existed. This meant that dbus could not be restarted via init.d without force removing the old PID file.
(From OE-Core rev: 2ed6f06f30cb54b9c70f1a92d93c920ec4d01ffe)
Signed-off-by: fridgecow <fridgecow@fb.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the (new?) ruby expects some additional compiled libraries
to run, so we need to copy them as part of ptest.
Fixes errors like:
# ruby ./runner.rb ./-ext-/vm/test_at_exit.rb
Run options:
# Running tests:
[1/1] TestVM#test_at_exit = 0.06 s
1) Failure:
TestVM#test_at_exit [/usr/lib/ruby/ptest/test/-ext-/vm/test_at_exit.rb:7]:
1. [1/2] Assertion for "stdout"
| <["begin", "end"]> expected but was
| <[]>.
2. [2/2] Assertion for "stderr"
| <[]> expected but was
| <["-:1:in `require': cannot load such file -- -test-/vm/at_exit (LoadError)",
| "\tfrom -:1:in `<main>'"]>.
* the 'erb' test can't find the erb binary, as we're not
running this from within the build directory
(From OE-Core rev: 158d5285372240f6b3502a6c715a2491e37a3118)
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>
By exporting ICECC_CC, ICECC_CXX, and ICECC_VERSION in a wrapper-script,
and putting this wrapper-script in the PATH, the Makefiles generated by CMake or
the autotools are able to function correctly outside of bitbake.
This provides a convenient developer workflow in which the
modify-compile-unittest cycle can happen directly in the ${B} directory.
The `rm -f $ICE_PATH/$compiler` line is transitional,
and can go at some later date (October 2020 or later, perhaps).
(From OE-Core rev: 40d74cb1d0ddce930267e49764cacb263b244091)
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>
Most patches had to be refreshed
Note that we can now drop
EXTRA_AUTORECONF += "--exclude=aclocal"
from the recipe, as ruby upstream now fully supports
runnning aclocal:
df9bf70cd2ec43478f34
Also note that 'created.rid' is not being installed
anymore since v2.6.0
While additional LICENSEs were added to the recipe,
they should always have been mentioned in this recipe,
i.e. the license checksum was updated only because:
* URLs were updated
* new imported components were mentioned (with no new licenses)
* formatting was changed
* dates were updated
(From OE-Core rev: 7124051b3b2e91e81c7b8565104ae9c5bea10be1)
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>
The find_program command will fail if it is used on a tool that is listed in
ASSUME_PROVIDED. This is because these tools are in the hosttools directory
which is not listed in CMAKE_FIND_ROOT_PATH so cmake will not find them.
Adding the directory HOSTTOOLS_DIR to the CMAKE_FIND_ROOT_PATH variable fixes
the initial issue of needing to search for tools in ASSUME_PROVIDED.
Note that this change alone does not fix the issue because find_program will
by default only look into the subdirectories bin and usr/bin under the paths
in CMAKE_FIND_ROOT_PATH to find the programs and the hosttools directory has
instead the symlinks directly present without these subdirectories.
Set CMAKE_PROGRAM_PATH to by default include the root directory so
find_program can search the hosttools directory without needing the prefix
directories.
(From OE-Core rev: 7847f431cd8db59fce8c9401a603c4b0678ee16d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable --remove-work option for devtool reset command that allows user
to clean up source directory within workspace.
Currently devtool reset command only removes recipes and user is forced
to manually remove the sources directory within the workspace before
running devtool modify again.
Using devtool reset -r or devtool reset --remove-work option, user can
cleanup the sources directory along with the recipe instead of manually
cleaning it.
syntax: devtool reset -r <recipename>
Ex: devtool reset -r zip
devtool finish -r <recipename> <layer-name>
Ex: devtool finish -r zip meta-yocto-bsp
(From OE-Core rev: 0d6dd01b8633ad63d77c24568a4b20852aaa366f)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multilib builds python3-config gets renamed to eg python3-config-lib64 but
this ends up being packaged in python3-core not python3-dev.
The manifest uses an extended glob to package all python* binaries that are not
python-config into python3-core:
"${bindir}/python*[!-config]",
However, this doesn't do what was intended, as [] is a range match.
Replace the globs with more verbose but precise matches, and clear out
FILES_${PN} to ensure that new binaries don't end up in ${PN} (which shouldn't
exist).
[ YOCTO #13592 ]
(From OE-Core rev: c780f21c33b0684dafff3421600cd1c11ddd0c48)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With python3-config using the 'python-config' name, it's possible for
python-config to point at python3-config, which is obviously wrong.
(From OE-Core rev: 80a4a44d4d9da1cacda5f50ea955017502829c6d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was used for build result reporting back in the OE-Classic days. Its
not been touched in years, isn't used as far as I know and can be removed.
(From OE-Core rev: f5d107f2ac448d6fe9fe8e4a2451e5cefdfd892a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New version fixes CVE-2019-17544 as well as various other bugs.
CVE: CVE-2019-17544
RP: Added tweak to fix meta-selftest
(From OE-Core rev: 3b788da31af6296a0404ed6080aef17708d61303)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been the traditional way of enabling systemd services.
It may conflict with presets feature, but other layers, image classes
and recipes add services to be enabled using SYSTEMD_SERVICE
variable also with read-only rootfs, e.g. IMAGE_FEATURES has
stateless-rootfs and systemd_preset_all task is not executed.
Fixes startup of custom services from our recipes using custom
image classes with various BSP layers. In the worst case even
serial console getty service wasn't starting due to dependency
no not enabled services.
(From OE-Core rev: 68a10763e64764a0d43be9162e7b99833f5296db)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't work on read-only-rootfs:
AssertionError: 1 != 0 : SYSTEMD_BUS_TIMEOUT=240s systemctl disable avahi-daemon.service
Failed to disable unit: File /etc/systemd/system/multi-user.target.wants/avahi-daemon.service: Read-only file system
This patch does two things:
1) Decorate the existing test to be skipped if the rootfs is
read-only
2) add a new test to be executed only if the rootfs is
read-only. This new test remounts the rootfs read-write
before continuing to execute the existing test, making
sure to clean up correctly after itself (remount r/o
again).
(From OE-Core rev: ec856301887b1139f93aa54d04bed9b842357b4f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Images can have package management enabled, but be
generally running as read-only. In this case, the
test fails at the moment with various errors due to
that.
Use the new @skipIfFeature decorator to also skip
this test in that case.
(From OE-Core rev: 84640e2b4daf4cf22c5b0324c22332f59e4d51e3)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
skipIfFeature will skip a test if a given DIST_FEATURE
or IMAGE_FEATURE is enabled.
(From OE-Core rev: ff2218f7cc3992725dd35499c14ec3396120dcc5)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When device names are long (more than 20 characters), the
df test will fail with an exception:
self.assertTrue(int(output)>5120, msg=msg)
ValueError: invalid literal for int() with base 10: ''
at least when busybox is in use.
The reason is that busybox breaks the line in that case:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/disk/by-partuuid/8e991e5a-cebd-4f88-9494-c9db4f30cb02
1998672 87024 1790408 5% /
and the code tries to extract the fourth field from the
second line, which is empty of course.
df can be told not to break lines, though, using the -P
flag, which turns on the POSIX output format, and is
supported by busybox df and coreutils df:
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/disk/by-partuuid/8e991e5a-cebd-4f88-9494-c9db4f30cb02 1998672 87024 1790408 5% /
(From OE-Core rev: 8c23c1476d0c64b9bc8806db03414fa914c1e658)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some targets might use ssh to do their power- or serial-
control. In that case, ssh might need access to the
ssh agent, or otherwise won't work.
So export it into the environment.
Note that the (old) oeqa/controllers/masterimage.py
tries to do that as well by exporting all of BB_ORIGENV
into the test environment. Here in testimage.bbclass we
are a bit more strict and only pass the ssh related
environment variables.
(From OE-Core rev: d99617b8f2a9354b7357524fcd2eee16af0677b7)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the introduction of the new runtime framework for target
testing in commit 2aa5a4954d76
("testimage.bbclass: Migrate class to use new runtime framework")
commit 3857e5c91d in poky.git, target controllers have no
access to the global datastore 'd' anymore.
This makes it impossible for a specific OEQA (hardware)
controller to access documented properties like
TEST_POWERCONTROL_CMD, TEST_SERIALCONTROL_CMD, etc,
meaning it's impossible for those controllers to actually
control the hardware.
To solve this, simply add those documented variables into
the target_kwargs[].
(From OE-Core rev: 0ab7e3b573a58cc3a869ef33fd8737ca7fe04550)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG so that readline can be disabled if desired.
(From OE-Core rev: 6958f7e4c6a1c27e823ae0a74c1642d78ca7a45e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-config uses distutils:
Traceback (most recent call last):
File "/usr/bin/python3-config", line 9, in <module>
from distutils import sysconfig
ModuleNotFoundError: No module named 'distutils'
Add the dependency so that distutils is always present.
[ YOCTO #13592 ]
(From OE-Core rev: 04136dbac48986dce5b2b872b2c0b46c673c44f2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
# decode-dimms
Can't locate Carp.pm in @INC (you may need to install the Carp module) (@INC contains: /usr/lib/perl5/site_perl/5.28.1/x86_64-linux /usr/lib/perl5/site_perl/5.28.1 /usr/lib/perl5/vendor_perl/5.28.1/x86_64-linux /usr/lib/perl5/vendor_perl/5.28.1 /usr/lib/perl5/5.28.1/x86_64-linux /usr/lib/perl5/5.28.1 .) at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
Compilation failed in require at /usr/lib/perl5/5.28.1/x86_64-linux/POSIX.pm line 505.
Compilation failed in require at /usr/bin/decode-dimms line 41.
BEGIN failed--compilation aborted at /usr/bin/decode-dimms line 41.
root@qt5222:~# apt-get install perl-module-carp
(From OE-Core rev: c73d2a2c0ecc99f0d6d7e6a1861ecce7a2312a57)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file will automatically enable seccomp if the seccomp headers are available, but
the build will fail on Opensuse Tumbleweed because the include paths are wrong.
Enabling seccomp is a bad idea because it interacts badly with pseudo (causing
build failures), so explicitly and globally disable seccomp.
(From OE-Core rev: a752faa152df031df5acaa40491299ac115109a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the source file is located in a subdirectory of DEPLOY_DIR
rawcopy will currently fail in sparse_copy function on
open(dst_fname, 'wb'), as the parent directory for destination
file does not exist.
This patch helps to avoid that by recursively creating
parent directories.
(From OE-Core rev: 073c435644091c2801e45c6d02afa917de575082)
Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case multiple builds share UNINATIVE_DLDIR's location, one build
might be in the process of downloading the tarball while another is
just checking whether the tarball exists. Check for the done file
instead and rely on the fetchers lockfile mechanism in case two
builds are running.
(From OE-Core rev: a1c95580549cb4f77601e62c7f026b19c752d853)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SDK_VENDOR isn't formatted as -foosdk and is instead for example -foo-sdk
then the triple that are constructed are not in fact triples, which results in
mysterious compile errors.
Check in sanity.bbclass so this failure is detected early.
[ YOCTO #13573 ]
(From OE-Core rev: b0efd8d4d0dbc30e6505b42f5603f18fa764d732)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
PACKAGECONFIG_append_pn-bluez5 = ' btpclient'
$ bitbake bluez5
btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function)
(From OE-Core rev: e72cd2950b38a5fc45908c9601679e601cf60559)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_prepare_recipe_sysroot may perform groupadd, which requires pseudo.
However, do_prepare_recipe_sysroot does not depend on pseudo explicitly,
which sometimes causes a build error when building a recipe that adds
groups.
This issue only occurs when executing do_prepare_recipe_sysroot for a
recipe that adds groups before finishing a task that depends on pseudo
for a recipe that doesn't add groups.
(From OE-Core rev: 427320d7621846d57649af46bf57c88f86cac612)
Signed-off-by: Mattias Hansson <mattihn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libOptRemarks has been renamed as libRemarks
RISC-V backend is now supported
(From OE-Core rev: 7f4870132ece9efa7f1404e2620a2e05055bca12)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-fribidi/meson.patch
Removed since this is included in 1.0.7.
(From OE-Core rev: 79297c6041342f4cb67131d08368a103d9791a9a)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license of the two libraries are BSD-3-Clause.
(From OE-Core rev: 04849897a3152d0fe7ffa2e86e6bf1a6faba8e88)
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a warning message during startup caused by referencing the legacy
directory /var/run instead of /run. An extra parameter is passed to the
configure script to achiveve this. Upstream cannot provide a fix due to
another Linux distribution (Slackware) uses /var/run and /run as
different directories.
Refer to https://gitlab.freedesktop.org/dbus/dbus/issues/282 for
details.
(From OE-Core rev: f31896504c0e5619f77555689e87b8324f9ccbd8)
Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous homepage and issue tracker is no longer available.
Remove some trailing whitespace
(From OE-Core rev: 1c60c5744b02c5c4eefb240923db5c4cd7959606)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 2 of the recipe is not actually required by anything; the
lidmodulemd dependency in createrepo-c is optional, and the
libmodulemd feature is not used in YP.
(From OE-Core rev: e5bf0814f565458c1c13d305dfc80a70a060555e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has split version 1 of the libmodulemd recipe into
its own branch and removed version 1 from the master
branch and 2.x releases; as libdnf requires v1 of libmodulemd,
this commit introduces a v1-specific revipe.
(From OE-Core rev: e0678765b1fb66df6ec37da1d32836bee2237af1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the patch that has been merged upstream.
(From OE-Core rev: 5bcf7ab7d9c45bdef6c55195d5a648cc0a773762)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patches:
- 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch - this
has been a pain to rebase for a while as upstream keeps shifting and
changing the code that needs to be modified. If the issue the patch
is addressing is still relevant, please work with upstream to fix it
at the source
- 0001-gstreamer-add-a-missing-format-string.patch, narrowing.patch
are integrated upstream
- detect-gstreamer-gl.patch is adjusting something that is better done
from the yocto package configuration
Add an option to disable an enabled-by-default sandbox that requires
a component that oe-core does not have.
(From OE-Core rev: d9e3ff36af9e06c1bc94c7a4c37ae87afceea5ca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported 0001-meson-do-a-build-time-check-for-strlcpy-before-attem.patch
and 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch where
upstream has removed the problematic bit.
(From OE-Core rev: 5a0de7b1ee37d52f3bf013301030a2679a8c0a9f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has removed autotools support entirely, so we can drop
the chunks of patches that touch it.
(From OE-Core rev: a41ee35a709b7e5b66b18f91a062ae56eae5b562)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some host distributions (opensuse for example) are using 'pkgconf',
which, unlike the original pkg-config, appends PKG_CONFIG_SYSROOT_DIR
to every directory from the .pc file.
(From OE-Core rev: 2d5ecc560dcfbaaaff307f8367d789d8c7e00dcf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is setting INCOMPATIBLE_LICENSE per image,
rather than as an awkward, and too strict global setting.
This for example would allow building development images with gplv3 tools,
but production images without them, and checking that nothing gpl3-licensed
gets into the latter.
Examples are provided via the selftest: four scenarios are tested:
- bash is added to the image, with a default gpl3 license; this is rejected
- bash is added to the image, with a "gpl3 & other" license; this is also rejected
- bash is added to the image, with a "gpl3 | other" license; this is accepted, but
only 'other' is added to the license manifest (this was already handled correctly
previously).
- bash is added to the image with a default gpl3 license, and is additionally
whitelisted for that image; this is accepted.
Eventually, this would allow deprecating the meta-gplv2 layer, while still
enforcing the no-gpl3 rule where possible and needed.
(From OE-Core rev: fd50395bc0783a3cce7b5b0d7398f22783ebbeca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This would help with checking incompatible licenses at do_rootfs step
in image creation, where it is beneficial to pass the license string
directly to the function.
(From OE-Core rev: 8a0f342e4fc33b1aa53089b1de583d45d2951476)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in the target installation actually needs it.
(From OE-Core rev: 0357b2d2cdcbcef89a346126969ec3e1856bda95)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is as well allowing gpl3-free builds without
pulling in outdated meta-gpl2 recipes.
(From OE-Core rev: 1f9610b33b18e0aa160da41e4cecf57c177fbc1e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows not pulling in gawk, which is gplv3 licensed when
only the libcheck library itself is needed. checkmk is a
development tool that writes out a C boilerplate for tests.
(From OE-Core rev: 61adf39b552e9a94226c998c81e6a411ccaf9476)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the readline module would have been built regardless of
readline's presence in the sysroot, and the recipe would
fail at package_qa.
(From OE-Core rev: 79ebbca6943bc66b619671f93ac283ed2cfc8e5c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is building a gpl3-free image, without having
to rely on outdated recipes from meta-gplv2 layer.
(From OE-Core rev: 02eb487c8145e0f3d957c39cf16f6f805e95e536)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent versions of gdbm are gplv3, so in some scenarios
it is beneficial to not depend on it.
(thanks Ross for leading the way with the db option :)
(From OE-Core rev: 88cf0b10d2e6c7f0cd08838ebe90ecdb95f31b2b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSuse's libreadline has extra symbol information which upsets our uninative
loader as our libreadline is missing symbols with the appropriate versions.
The simplest solution is to add the version information as they're harmless.
(From OE-Core rev: 4dc83cd3110e2cc103b29769629e91c38187a6f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids failures seen on the autobuilder when generating eSDKs
and release sstate copies.
(From OE-Core rev: 8ffe6ca984e034976322beea9b16c92d46708d15)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-libpcap/0001-pcap-usb-linux.c-add-missing-limits.h-for-musl-syste.patch
Removed since this is included in 1.9.1.
(From OE-Core rev: d42f381c4f5f9ec248e5b464a2aab39fdc9a7644)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If this test fails then the output doesn't help in any meaningful way, so
improve the test to output the unparsable JSON and display unexpected output.
(From OE-Core rev: 6a710ad0b445295991b17545f634684f4f317099)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test-gobject-header test suite needs UTF-16 encoding:
test_decode_header_name_ascii:
assertion failed (err == NULL):
Unicode conversion failed:
Conversion from character set ?UTF-16BE? to ?UTF-8? is not supported (g-obex-error-quark, 256)
Add gconv-utf-16 to the bluez5-ptest RDEPENDS.
(From OE-Core rev: c75707bbd24552e72ae2e564c0d6f72823b63b8c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
after gcc upgrade to 9.1.0, with this flags will make below error:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
remove it as workaround, after remove it, powerpc can compile successfully
(From OE-Core rev: 487eb18928c26e7781bb86a972369f3594ecdcca)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A perl module recipe extending to provide native version causes target
perl dependencies to be pulled into native build if the module recipe
has RDEPENDS_${PN} = "perl-module-XXXX" e.g. libxml-sax-base-perl
recipe.
The reason is that native bbclass empties out PACKAGES_DYNAMIC and
perl's PACKAGES_DYNAMIC_class-target is greedy enough to usurp native
modules as well.
Eventually we end up with errors like when sstate is used across
machines
* ERROR: libxml-sax-base-perl-native different signature for task do_populate_sysroot.sigdata between qemux86copy and qemuarm
Therefore, to fix this native case needs to handled specially when
re-assigning module dependencies in split_perl_packages(), where the
modules are named correctly for native case and have a single dependency
on perl-native, secondly, PACKAGES_DYNAMIC for target case needs to be
reined in to spare, -native modules, thirdly, let perl-native take over
the case for providing native modules
This will fix several sstate signature errors like above with external
perl modules providing native variants and having runtime dependencies on
modules which are provided by perl proper
(From OE-Core rev: 34834d06ceb84221dd53defd27eb94201723d6c5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check package busybox which is required by cases test_dnf_installroot
and test_dnf_installroot_usrmerge.
(From OE-Core rev: 0f09c5b7a9a66af825951354b436b69dd9a596a4)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk builds such as nativesdk-dnf are installing systemd
service files, leading bitbake to throw installed-vs-shipped
warnings, but these are not needed in nativesdk:
WARNING: nativesdk-dnf-4.2.2-r0 do_package: QA Issue: nativesdk-dnf: Files/directories were installed but not shipped in any package:
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-makecache.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic.service
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-makecache.service
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-notifyonly.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-download.service
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-download.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-notifyonly.service
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-install.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-install.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nativesdk-dnf: 13 installed and not shipped files. [installed-vs-shipped]
Rather than have each recipe remove the files, an RMINITDIR case
for nativesdk builds should be added to systemd.bbclass.
(From OE-Core rev: 86092fdac2ed2935b25a6c05f16055df77a10575)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We now build Pango with Meson which doesn't use libtool, so we can remove the
FILES that packages up non-existant .la files.
(From OE-Core rev: f8e3a294eaa475db3b1126de708294b8162b66c9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping SRCREVs to pickup the following kernel commit:
[
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Tue Oct 8 13:15:46 2019 +0000
signal/ptrace: fix cgroup2/freezer long runtimes
As reported in the thread: https://lkml.org/lkml/2019/10/1/789, in
kernels with commit 76f969e8948d82 [cgroup: cgroup v2 freezer], we
were seeing much longer runtime in strace/ptrace tests (4 minutes
versus 4 seconds).
The issue only manifests if CONFIG_PREEMPT is enabled, which is in
all of the default configurations.
As sugggested in the thread, the movement of preempt_enable_no_resched()
until after the cgroup is frozen returns the behaviour to pre-5.2
runtimes.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
With this change in place, our times are back to normal:
root@qemux86-64:~# cd /usr/lib/strace/ptest/tests
root@qemux86-64:/usr/lib/strace/ptest/tests# time ../strace -o log -qq -esignal=none -e/clock ./printpath-umovestr>ttt
real 0m3.909s
user 0m0.534s
sys 0m3.342s
This will eventually loop around via -stable, or may need future
tweaks, but it does address the immediate issue/symptom that we are
seeing, with no obvious side effects.
[YOCTO #13556]
(From OE-Core rev: 55a54aed27ffa94a235da526a39aeea59caa3417)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to 5.2-rt9. Which comprises the following fixes:
90a5890111ca v5.2.17-rt9
7700ef5f6438 sched: migrate disable: Protect cpus_ptr with lock
11d09bb2607b sched: Remove dead __migrate_disabled() check
ceb75897bca0 sched: __set_cpus_allowed_ptr: Check cpus_mask, not cpus_ptr
70d3cef7a488 printk: devkmsg: read: Return EPIPE when the first message user-space wants has gone
eef2411714d4 drm/i915: Drop the IRQ-off asserts
f063808d4629 drm/i915: Don't disable interrupts for intel_engine_breadcrumbs_irq()
d3136b34629a rcutorture: Avoid problematic critical section nesting on RT
ded0345350a6 rcu: Use rcuc threads on PREEMPT_RT as we did
ea804ff7a3de sched: migrate_dis/enable: Use sleeping_lock…() to annotate sleeping points
5221cc57007f rcu: Acquire RCU lock when disabling BHs
b05b0d20c207 posix-timers: Unlock expiry lock in the early return
066bbfed5243 v5.2.17-rt8
163d8462f622 v5.2.14-rt7
41f51767f77d hrtimer: Add a missing bracket and hide `migration_base' on !SMP
8d0056d6bd7a v5.2.14-rt6
(From OE-Core rev: aba70cbbc1ef6139aad862160427eb70faafda84)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Verify that the build inside the SDK is detected as a cross compilation.
(From OE-Core rev: 3dc75ab44c23c4ff26502b96abded3c1c0b94e38)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The readelf binary is prefixed, so export READELF in the SDKs so that the
correct readelf binary can be used.
This fixes problems with the symbol extractor in Meson with multilib SDKs where
readelf can't be found correctly.
(From OE-Core rev: 2795e3bfdefc9f48294802ea7301dae1910553dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add Fedora 30 and Ubuntu 19.04.
Swap openSUSE 42.3 for Leap 15.1.
Remove huge comment of old distributions.
(From yocto-docs rev: 8fe3040a68c0aee44c4a6dcd5088b61d6908b0f9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The syntax to use multiconfig builds changed from multiconfig:foo:target
to mc:foo:target, change the syntax on bitbakes documentation.
Clarify that BBMULTICONFIG defines additional configurations along with
the one coming from local.conf.
(Bitbake rev: 648ec12d776d801a6839f759975c91a93aa3a36e)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The syntax to use multiconfig builds changed from multiconfig:foo:target
to mc:foo:target.
Clarify that BBMULTICONFIG defines additional configurations along with
the one coming from local.conf.
Fix these changes on both the dev manual and the reference manual.
(From yocto-docs rev: 9e79e96cad66316c1b4ee608723edfa763f0f9ef)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster directly supports the last two stable branches of Yocto
Project. With "Zeus" being released, it is time to replace "Thud".
[YOCTO #13579]
(Bitbake rev: 29374386fd7fcfac9d4070584dff76327845595e)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Bugzilla Bug 13201] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=13201
Newer versions of gnome-terminal (3.32.0 and up) are not starting
as expected for commands e.g. "bitbake -c devshell zlib". This
manifests as the instance appearing as a new tab rather than a
new window. Fix this (and maintain new window preferred behavior)
by changing the "-x" option to "--" as per the warning message,
avoiding deprecated options:
# Option “--command” is deprecated and might be removed in a later version of gnome-terminal.
# Use “-- ” to terminate the options and put the command line to execute after it.
(From OE-Core rev: d5fd205239c8e3a1d68649562a7e91c8fbbc805e)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE does not provide libpaper recipe, and the configure check looks for
libpaper if not disabled, this causes problems especially when shared
state is built on a machine which has libpaper installed on host but the
consumer machine although running same OS, but does not have libpaper
installed, the artifact from sstate are re-used but then native binary
./obj/aux/packps fails to execute
./obj/aux/packps: error while loading shared libraries: libpaper.so.1: cannot open shared object file: No such file or directory
So either we need to provide libpaper in OE or we disable it, disabling
is best for now
(From OE-Core rev: 11e85220d97299be5f65d5208ec21d4ad215317a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd throws a warning about the value of PIDFile:
systemd[1]: /usr/lib/systemd/system/watchdog.service:11: PIDFile=
references a path below legacy directory /var/run/, updating
/var/run/watchdog.pid → /run/watchdog.pid; please update the
unit file accordingly.
This is actually due to patch file 0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch
setting PIDFile=/var/run/watchdog.pid. Modify PIDFile in the patch
to be correctly set to /run/watchdog.pid.
(From OE-Core rev: c279c9d7f0c948856052015cad59310a55274b92)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perlocal.pod is an index file of locally installed modules and so shouldn't be
installed by any distribution packages. cpan.bbclass already sets NO_PERLOCAL
to stop this file being generated by most Perl recipes, but if a recipe is using
MakeMaker directly (such as rrdtool) then they might not be doing this
correctly.
To avoid multiple packages shipping this file and then failing to install
together, add a QA test to check if this file exists and by default emit an
error if it does.
[ YOCTO #13491 ]
(From OE-Core rev: 5d16d265cc61c4e279fe3bf66016a00d9daa4068)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This service file is designed to do first-boot initialisation of the udev hwdb
database, but the condition logic to fire it is suboptimal: it can fire if not
needed, and can also not fire if needed. Specifically it will always fire on
first boot, even though as part of rootfs generation we build the hwdb database.
On slow machines this can take a significant amount of time, the pathological
case being qemumips where the service can time out after 90 seconds of
processing.
Other distributions have also noticed this problem (specifically, at least
Debian and Clear) and solve it by using traditional postinst scripts to generate
the hwdb (which we already do) and deleting the service file (which we don't).
Finish the fix and improve boot times across all boards by deleting the service
file.
[ YOCTO #13504 ]
(From OE-Core rev: b1fffd407029d5936e01ba6988b9e82279d98285)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is already installed by the install target to $datadir/pkgconfig, so
there's no need to install it again to $libdir/pkgconfig.
(From OE-Core rev: 9f0f688cecbd2bad28c46f8dc467eb88486a3f6e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson 0.51 onwards detects if a build is cross by whether the host and build
machines match. However this doesn't work in a number of cross compilation
cases: notably where host is Windows but build is Linux, but also the common
OpenEmbedded case where the host and build machine are both x86-64.
Previously we'd patched this to instead look at whether an executable wrapper is
needed: our cross files always set this to true so all cross builds would be
identified as cross. However, this breaks build on the target as without a
cross file the early cross build detection fails as we don't yet know if an exe
wrapper is needed.
The neater solution is to simply go back to the older logic: a cross build has
cross files defined.
[ YOCTO #13571 ]
(From OE-Core rev: 9aa543aa9bd78c63343ae28fc85113ca2c9e0094)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson needs python3-pkg-resources to work to add to RDEPENDS.
Remove python3-core as this is automatically pulled in by python3-modules.
(From OE-Core rev: d253b061fbe45ae965af71008e9a6c6fe5037cd3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wks describes extra partitions that aren't in the partition
table (e.g. boot loader) and exactly four primary MBR partitions, the
last partition gets added to fstab as partition #5 instead of #4.
[YOCTO #13560]
(From OE-Core rev: 7537580b3dd21bd512fb26e56e92b6553c549fa8)
Signed-off-by: Michael Cooper <michaelcooper81@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All devtool commands right now are filtering out the devtool workspace
bbappends in build/workspace/appends when calling parse_recipe. While
this may make sense for devtool add and modify, we need devtool finish
to include those appends.
A specific breakage that is caused because devtool finish filters devtool
appends is the cmake/cml1 flow where a file is created in the WORKDIR
that finish needs access to, to commit those files. Particularly for
git packages with SRCPV in PV, SRCPV is only changed to 999 when using
external source, hence when creating the cfg or cmake config files using
for instance bitbake -c diffconfig, these files are created in the
git999 workdir correctly (as in the devtool bbapends, we are inheriting
externalsrc class). But when devtool finish is run, the devtool appends
are not parsed, hence SRCPV is not changed to 999 and devtool is looking
for the fragment files in the wrong WORKDIR.
Changing the parse_recipe call just in devtool finish to not filter out
the devtool workspace.
Fixes [YOCTO #13533]
(From OE-Core rev: aa94f00eec64ef936acc80dfa826fd309daa294f)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* in oe-core commit 1860d9d3c62e2e94cd68a809385873ffd8270b6d I've accidentally
removed the backshash here
Reported-By: "Hilsdorf, Jan (LAWO)" <Jan.Hilsdorf@lawo.com>
(From OE-Core rev: 44f0047c0268f3e9f9fdf78f93bdad9bfe491174)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default URI returns a gzip-compressed index page
which browsers can auto-detect, but we can't.
(From OE-Core rev: 73eb644db1121ccbc205b8fe3e60fa918fa5bbed)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2.7 release updates glibc to version 2.30. Recently added to openSUSE
Tumbleweed and needed for Fedora Core 31.
(From OE-Core rev: a87c3e425dd0292d29e71ea1fdfa753ff1b74cd8)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows metadata to depend on SignatureGeneratorUniHashMixIn which was recently added.
(Bitbake rev: f0f814407fdd2fffa7071c36c011b489bfcd53da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need SignatureGeneratorUniHashMixIn from newer bitbake so bump the minimum
version.
(From OE-Core rev: 178e2d0ba8e645c5cd962b07bd7b31839cb269d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turn:
ERROR: Unable to parse Var <OE_IMPORTED[:=]>
Traceback (most recent call last):
File "Var <OE_IMPORTED[:=]>", line 1, in <module>
File "/media/build1/poky/meta/classes/base.bbclass", line 35, in oe_import(d=<bb.data_smart.DataSmart object at 0x7f1d941ad208>):
for toimport in oe.data.typed_value("OE_IMPORTS", d):
> imported = __import__(toimport)
inject(toimport.split(".", 1)[0], imported)
File "/media/build1/poky/meta/lib/oe/sstatesig.py", line 267, in <module>:
>class SignatureGeneratorOEEquivHash(SignatureGeneratorOEBasicHashMixIn, bb.siggen.SignatureGeneratorUniHashMixIn, bb.siggen.SignatureGeneratorBasicHash):
name = "OEEquivHash"
bb.data_smart.ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception AttributeError: module 'bb.siggen' has no attribute 'SignatureGeneratorUniHashMixIn'
into:
ERROR: Error importing OE modules: module 'bb.siggen' has no attribute 'SignatureGeneratorUniHashMixIn'
which can then trigger a version mismatch error message.
(From OE-Core rev: 5b01726d1cf478aba8d1acc73e29f6cab0c9371e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packagegroups whose dependencies are affected by MACHINE_FEATURES
need to be marked as MACHINE_ARCH *before* inheriting the
packagegroup class, not after.
This has changed in commit 9c826962ec8f
("packagegroup: Make allarch inherit conditional"),
commit 4f3f34deaf in poky but the comment here
wasn't updated at the time.
(From OE-Core rev: 7eae2502936aa36401491cd1e0e5975db96529ae)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create bash-completion-pkgs image feature to load *-bash-completion packages
into an image. The packages are created by the bash-completion
bbclass but are currently never loaded.
(From OE-Core rev: d47c5981877555a5a6b9aeb93ea6f3c1aa97fc44)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't have a compiler, so no icecc.
Silences a spew of warnings of the form:
do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
(From OE-Core rev: 0315aabeff8e6483b737d0e23d6841f1394ad3c8)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd is built without internal resolver, it does not make
sense to expose it as a resolv-conf alternative and can even break
images where this alternative would be chosen, because of an
invalid symlink.
(From OE-Core rev: 91efc50723229672b6e8187b69b183cba525f199)
Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there is now a new version of binutils,
upstream version check works again.
(From OE-Core rev: c63c7fb890ab356c747d6948ca9e13e0c3b83dfb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using the glob function to map signatures to sstate files is very slow
when the sstate is large and accessed over nfs. The lookup now only
loads the necessary prefixes and doesn't use glob as all.
Unfortunately I don't have access to the systems where the performance
isse was noticed and on my test system the glob is fast enough that
the performance numbers aren't useful. I could verify that file list
returned by the new code is the same.
[YOCTO #13539]
(From OE-Core rev: ad36335b8592e0387dd36066920cd5ffefd375f8)
Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Creates the source data epoch file destination directory when restoring
from sstate
(From OE-Core rev: f5259a62d444dfc221a9ba592dbca35564f794ac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the objects that bitbake reports to Toaster as dependencies to packages
are known objects that are not packages, for example library files and kernel
modules. In the Toaster logs, mark these as "Info" instead of "Warning".
[YOCTO #13386]
(Bitbake rev: 0d66f644d647900e8f5afa526a6d9cee687c41cc)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were three issues in this one bug.
1) The Add Layer button allows empty layers
2) The internal XHR URL was wrong, which caused a hidden AJAX error
and did not correctly complete the action nor disable the button
after an add.
3) There was a race condition between typing in the dependent layer
select text box (which would normally disable the add button), and
the typeahead pull-down selection (which would normally enable the
add button). This forced the user to select the typedahead layer twice.
[YOCTO #13385]
(Bitbake rev: c4ccf3a792ae7e8549b879ba77ff7f7edb0e665a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates the local.conf sample file to reference the variables required
to enable a local hash equivalence server.
(From meta-yocto rev: 29c3a4087c4f358ab88193fdf3787f731a4f4913)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hashserve can delete its socket whilst the cleanup us happening leading to
backtraces and test failures.
Add code to avoid this race condition.
[YOCTO #13542]
(Bitbake rev: efd7b025cee25d0ee668c09476395d08fcf5ae1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When IPv6 support is disabled, this recipe mis-configures
ruby so that it end up non-working:
--enable-wide-getaddrinfo instructs ruby to re-implement
the standard getaddinfo(), but IPv6 support is still
automatically detected via ext/socket/extconf.rb
independently of that flag.
To re-implement getaddrinfo(), ruby uses the obsolete
getipnodebyaddr() and getipnodebyname() functions - i.e.
according to the man-page, glibc provided those only in
glibc 2.1.91-95; and of course compilation fails. [1]
Switch to ruby's standard --enable-ipv6= configure
options to make the build work without warnings, and
ruby work at runtime as well.
[1] Compilation and linking actually succeed, albeit with
a warning regarding implicit declaration / unresolved
symbols. The error is only obvious at runtime due to the
unresolved symbols...
(From OE-Core rev: 6ff71dd308b1611df7a8ea811a79b7cb884c99e9)
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>
The configure script does not detect isnan/isinf as macros
as is the case in musl:
checking for isinf... no
checking for isnan... no
Backport an upstream patch from 2.7.0-preview1 to address this:
checking whether isinf is declared... yes
checking whether isnan is declared... yes
(From OE-Core rev: b1afaccdba31341cace4b8d84d118ca76098587e)
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>
The service file was removed in oe-core 23dcf7ea but the inherit was not.
(From OE-Core rev: f5bb06129391b62f7dff400f10a0b4d2934625d2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to the fix possible hang caused by the case of CVE-2017-17052.
CVE: CVE-2017-17052
(From OE-Core rev: 3bde502f612f17b6ed928b04cf5c4ba9ad54d598)
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>
The testiter test case fails if libthai support isn't enabled because it
execises codepaths that need libthai to be correct. Backport a patch to skip
this test if libthai isn't enabled.
(From OE-Core rev: 7472bdb6ed1039b7f38afc728c034a13d0bbee0e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The runpy module is used to implement 'python3 -m foo', so move it to
python3-core as it's an essential part of the CLI.
(From OE-Core rev: eba857d3e52f83d426e95fa8373799da058f9484)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
ERROR: python-2.7.16-r0 do_package_qa: QA Issue:
/usr/lib/python2.7/lib-dynload/_tkinter.so contained in package
python-tkinter requires libtk8.6.so, but no providers found in
RDEPENDS_python-tkinter? [file-rdeps]
(From OE-Core rev: f78248a2380bbbbf271b5bb02c762f5bc7a3a92e)
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>
The previous commit <shadow: use relaxed usernames> works only for
target. When test with configuration:
INHERIT += 'extrausers'
EXTRA_USERS_PARAMS += "useradd -p '' aBcD; "
and run "bitbake core-image-minimal", error occurs:
NOTE: core-image-minimal: Performing useradd with [
-R .../build/tmp-glibc/work/qemux86_64-wrs-linux/core-image-minimal/1.0-r0/rootfs -p '' aBcD]
useradd: invalid user name 'aBcD'
Here move the patch for using relaxed usernames from class_target to
the source code for all.
(From OE-Core rev: 8adf98e63fefeaf2c841a038a4497f9845bc7b04)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The full paths make the cache useless in the sdk. They also bloat the
cache size. They're for human debugging benefit only so compromise and
reduce this to the filename.
(Bitbake rev: 3b275c4083eae1d3781f0862919af9de83932b0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A minor performance optmisation to keep lists smaller when running large
builds. We can do this since once a task has been built, we don't need
to worry about it. This improves a major bottleneck that shows up on
performance profile charts in dryruns.
(Bitbake rev: cd6b89230823707c3c9bb9e6883bf5a971916581)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some runqueue code paths where the unihash cache would not be
saved where for example only parsing or an occurred. Save the cache at the
end of runqueue generation to ensure entries are cached.
(Bitbake rev: 9eee0d36870c11dd303894a6151c33a83bd3a1bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the unihash in the output filename of sigdata files else the contents
of stamp directories is misleading. Write the unihash into the singature to
make it clear what happened.
(Bitbake rev: feb01ee54d3706fe93768f332054c7532f7209e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to set the setscene tasklist before we call into the
taskhash/unihash code else the behaviour is inconsistent.
Avoid reporting hashes for non setscene tasks since we'd never
query that.
(Bitbake rev: 419a7840b8627278db694029c25df00214d01d96)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently runqueue will rerun setscene tasks multiple times as hashes
change. This has caused numerous problems since a setscene task may
become "unavailable" for some future signature combination and the code
then can't easily "unskip" tasks its already passed into the execution
queue.
At least for now, only run setscene once and assume they're equivalent
at that point. In practise that has been much more stable in testing.
Tweak the test to match the change in behaviour.
(Bitbake rev: 4205a3ef23834f317642bba155d67cd772176fb6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The setscenetasks list needs to be available in the worker contexts
else the signature behaviour there mismatches what the server does.
Add the data to get/set_taskdata to ensure this happens.
(Bitbake rev: 632980ef90fe126b7ba3d138f4d574ae05914779)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tasks were not migrating consistently, particularly:
* if a task was rehashed which had already run
* if a task which was valid became invalid due to a rehash
We need to always run the migration code for rehashed tasks and then
reprocess them for hash validity. This means rearranging the code.
It also means several tests are no longer correct and can't be written
correctly to work on all possible workflows so those are removed.
(Bitbake rev: 8443989ee41e9b162972935513e437b5c66ea74d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently systemd cannot boot correctly on NFS. This is because
the code uses readdir which returns DT_UNKNOWN instead of DT_LNK
on NFS. So consider DT_UNKNOWN to fix this problem.
(From OE-Core rev: 9973f89dafdf9d21f4021f59f1f4669f4ac13aff)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lighttpd builds fail if "fam" (and therefore gamin) is enabled.
In conf/local.conf:
CORE_IMAGE_EXTRA_INSTALL += "lighttpd"
PACKAGECONFIG_append_pn-lighttpd = " fam"
bitbake error:
ERROR: Nothing PROVIDES 'gamin' (but /yow-lpggp31/tgamblin/oe-core.git/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'gamin']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'lighttpd', 'gamin']
Since gamin hasn't been maintained for several years, this should
be removed from the list of lighttpd PACKAGECONFIG options.
--without-fam is hard-coded in EXTRA_OECONF for good measure.
(From OE-Core rev: ea714fff3869ef19cf1dc94bdffbca2c69658954)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the packagegroups violate the allarch policy therefore the ones
which do so, should be marked as TUNE specific
Fixes QA errors
packagegroup-self-hosted-1.0: Package version for package packagegroup-self-hosted-graphics went backwards which would break package feeds from (0:1.0-r13.12 to 0:1.0-r13.9) [version-going-backwards]
(From OE-Core rev: c26569320817263a487eceb610e3c70badba0b52)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 8689e561 (lib/oe/lsb: attempt to ensure consistent distro id
regardless of source), the distro ID returned by
oe.lsb.distro_identifier() was lowercased, but only if a release
version is also present.
This changes the code to always lowercase the distro ID, including the
default distro ID "unknown", which is used if no other ID can be
identified.
(From OE-Core rev: 4ba7ef79d23a4cf688d7a794064893fe5f2f473b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not decode the log content into a string only to re-encode it as
binary data again. Some logs might un-intentionally contain bytes that
do not decode as utf-8, as such preserve the log file content as it was
on disk.
Handle the decoding on the resulttool side, but also handle the failure
to decode the data.
(From OE-Core rev: 20531dc0b8f76a6e37cc856f36cd94077b6aba50)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle the streaming of exception content with details data. The
testtools package allows both 'err' and 'details' kwargs but can only
pass one of them to the parent.
To handle the passing of exception traceback and details data at the
same time, encode the traceback into the details object and remove the
'err' arg from the add* result call. This encodes the traceback similar
to how 'err' is handled without any details object. Decoding is already
done by testtools when the traceback is encoded in the details object.
(From OE-Core rev: 3613451825b251784b7673d89db465b9782c3a31)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Write out the hash equiv cache file into any eSDK so that it doesn't rely
on having to call the hash server for the basic data requests.
(From OE-Core rev: 05c6842e747261b3350d6325e238429cf8728ca0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locked sigs class needs to be inherited after the hashequiv mixin so
that get_unihash can correctly wrap the underlying hashequiv function.
To do this turn the locked sigs class into a second mixin, then the order
can be correctly handled. Tweak the get/set_taskdata to match.
(From OE-Core rev: 73d3414ecf594e426e6024b71931038a201eca52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two issues with the test one is that an equivalent hash
could come from the server meaning the signature didn't change when it
should. A uuid string is injected to ensure this does not happen.
If there were multiple warnings the test would also fail as only the
first is prefixed with WARNING. Tweak the string to avoid that failure
mode.
(From OE-Core rev: e58eaf5b8c93521dc311b77593e0dd7debca602d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using locked signatures with the hash equivalency server ran into
problems. We need to:
a) Ensure the lockedhashes data object is passed from the core to
any individual tasks using the get/set_taskdata methods
b) Return a locked singature instead of a unihash
c) Write the unihash being used to locked signature lists rather than
the calculated taskhash
d) Skip warnings of hash mismatch if the hash is a unihash
These changes fix esdk builds (which use locked sigs) when a hash equivalence
server is in use.
(From OE-Core rev: 25dc3d78de01dffa77a3a2452d6a97d741b446d9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the reference BSP SRCREVs and versions to 5.2.17 to match
the latest for qemu* and to pickup some reference board specific
patches.
(From meta-yocto rev: fcc920580380a2b57b5b8e1649b4ad94bd3d15b7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hash server process is terminated and waited on with join(), so it
should not be a daemon. Daemonizing it cause races with the server
cleanup, especially in the selftest because the process may not have
terminated and cleanup up its socket before the test cleanup runs and
tries to do it.
[YOCTO #13542]
(Bitbake rev: 7c829675581818f92d57056b57fbd3880829b6bd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The HashConnectionError class was moved to the client module and needs
to be updated.
[YOCTO #13537]
(Bitbake rev: 9fb862685e5e5a2aa534bc25cab1e4158d708b40)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The os module is required to connect to a unix domain socket
(Bitbake rev: 31a5111bcd0080a583d0d95fad3e09ae78bdf0fa)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variable values that result from parsing multiconfig should be
included in the cooker data hash, otherwise changes to these files won't
be detected, which will allow the parsing cache to be loaded with the
old values for the multiconfigs. This can either manifest as the
variable values simply not updating, or getting basehash changed errors
when building.
This bug was previously undetected because all of the multiconfig base
files were a direct file dependency in all parsed recipes. This was
fixed in 34137a00f60 ("bitbake: bitbake: cooker: Rename __depends in all
multiconfigs"), exposing this bug.
[YOCTO #13541]
(Bitbake rev: c74481aa15226e1bff9d53e4ee4b702ebfa1ad32)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test case to exercise the detection of git-lfs repositories and the
behaviour of the lfs parameter.
(Bitbake rev: a7cf4fc72cce357c425084dc2c5f35b5ed1a4b7b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor the git-lfs checking: this means both clearer code in the download()
function and allows unit testing to monkeypatch the functionality.
(Bitbake rev: 33cf9172ded50a869f7201ba463ab9ecc69b8252)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
set in the ramdisk node the compression property
always to "none", as U-Boot nowadays since commit:
b1307f884a91 ("fit: Support compression for non-kernel components (e.g. FDT)")
decompress non kernel components. Setting compression
to the used comression algorithm now, will end in
fail of your kernel boot with the ramdisk.
This issue is fixed since commit:
bddd98573465 ("fit: Do not automatically decompress ramdisk images")
which now prints a warning in U-Boot, instead of decompressing
the ramdisk, but we should setup compression property correct.
(From OE-Core rev: f963a51544a9a7b1abbaa87c95b3c0279847d697)
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pip3 depends on pickle, so add python3-pickle to RDEPENDS.
Without it, errors such as the following occur:
>>> import pip._internal
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.7/site-packages/pip/internal/init_.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/cmdoptions.py", line 29, in <module>
from pip._internal.utils.ui import BAR_TYPES
File "/usr/lib64/python3.7/site-packages/pip/_internal/utils/ui.py", line 16, in <module>
from pip._internal.utils.logging import get_indentation
File "/usr/lib64/python3.7/site-packages/pip/_internal/utils/logging.py", line 6, in <module>
import logging.handlers
File "/usr/lib64/python3.7/logging/handlers.py", line 26, in <module>
import logging, socket, os, pickle, struct, time, re
ModuleNotFoundError: No module named 'pickle'
(From OE-Core rev: 39f53aae947f08284bf4864934f62c33e4e9be3c)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once use kexec in arm arch, it will throw out the error info as below:
Could not find a free area of memory of 0xc78e744 bytes...
This is because that kexec use kexec_file_load to load image by default
but arm doesn't support it. So add this patch to avoid use kexec_file_load
in arm platforms.
(From OE-Core rev: 952a3fa77c80f16cd6d97f35afdb474876a39483)
Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This update corresponds to 68 commits to the ffmpeg git repo.
52 of these commits are oss-fuzz bug fixes. The remainder include
improved codex handling and some rpi performance tweaks.
(From OE-Core rev: 642b3e79c66779ab2851d978d44cf2e5aab47c68)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test to verify that when multiconfig conf files changed, recipes
are correctly reparsed.
[YOCTO #13541]
(From OE-Core rev: a424ef0a0c49123f4518e8fef993fd10f6fc5f4e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without access to unittest, subunit cannot be imported in python3:
root@qemux86-64:~# python3
Python 3.7.4 (default, Sep 20 2019, 13:38:31)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subunit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/subunit/__init__.py", line 123, in <module>
import unittest
ModuleNotFoundError: No module named 'unittest'
>>>
Adding python3-testtools to python3-subunit's RDEPENDS fixes the
issue. This also implicitly provides the functionality found in
the python3-extras module.
(From OE-Core rev: 7ed7dc39e379c18f757e3c326ec1466c8ab27b41)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This works just like the already existing --no-clean option to the
`devtool reset` command.
(From OE-Core rev: 4433d3133ce53cdf7db17f5e7914fe8c4d78dba3)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _get_patchset_revs() function returns the patches in an
OrderedDict to keep them ordered. However, this information was lost
when the patches were added to the bbappend file.
(From OE-Core rev: 69b7a2ba3af1280cc220ab236032f8466246ee93)
Signed-off-by: Niclas Svensson <niclas.svensson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when built the project in a long path (len(TMPDIR) > 200):
$ bitbake dejagnu-native
[snip]
checking Tcl version 8.5 or greater... *** buffer overflow detected ***:
TOPDIR/tmp-glibc/work/x86_64-linux/dejagnu-native/1.6.2-r0/recipe-sysroot-native/usr/bin/expect terminated
[snip]
(From OE-Core rev: c8d0bf3411846bb3852bffaf59193801d9c7530a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The deployment of the source date epoch file had a race condition where
any task attempting to read from the file would race with creation of
the sstate archive for the do_deploy_source_date_epoch task. The
creation of the sstate archive requires moving the directory to a
temporary location, then moving it back. This means that the file
disappears for a short period of time, which will cause a failure if any
other task is running and trying to open the file to get the current
source date epoch.
The solution is to copy the source date epoch file to a separate
directory when deploying so the file never disappears. When the file is
restored from sstate, it is moved to the correct location after being
extracted.
[YOCTO #13501]
(From OE-Core rev: ac27d12fe5480e9b8cc93de6a32bf9631c52d7f4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's INITRAMFS_FSTYPES that can be set differently.
(From OE-Core rev: 141d02400696020e83df3edcf13021fde139d261)
Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake nativesdk-net-tools
ERROR: nativesdk-net-tools-1.60-26-r0 do_package: QA Issue: nativesdk-net-tools: Files/directories were installed but not shipped in any package:
/usr
/usr/share
/usr/share/man
[snip]
(From OE-Core rev: fd3c46840851651fd737fe50916294cdffb3d718)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake nativesdk-expect
checking for Tcl public headers... configure: error: tcl.h not found. Please specify its location with --with-tclinclude
(From OE-Core rev: bd8ba628b0ff1ad3603b08981467edf5e36ec024)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 8e48b4d6c4 makes wic ignores IMAGE_ROOTFS_SIZE for rootfs
size and makes it uses the computed one only. Re-add support for
IMAGE_ROOTFS_SIZE variable and compute roots size only if the former
is not defined. Moreover the size of a provided directory with
--rootfs-dir="" in the .wks file should always be computed on the fly,
else every partition will be constrained to be the same size as what
ever value was in ROOTFS_SIZE.
(From OE-Core rev: 0217a0392b8cc534fcc0d760b7663a1845b306f5)
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
install_locales() here is actually operating on nativesdk and only glibc
is the default library for nativesdk, since thats what most of
desktop/server distros use, therefore bailing out based on TCLIBC is not
needed here, since nativesdk-glibc would be required for all non-glibc
targetting SDKs as well.
Fixes SDK install time error
ERROR: 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:
Your system needs to support the en_US.UTF-8 locale.
ERROR: SDK preparation failed
(From OE-Core rev: ba2df1fa43b79c4959911c1b0bcad996f255b7a8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
clang 9.x ( which is now default in meta-clang ) supports riscv
(From OE-Core rev: 198689f74915756ce6ae38d6735780a26e9b3f7e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It checked whether busybox is in task-depends.dot after run "bitbake -g
core-image-minimal", but busybox is not a must for core-image-minimal since it
is configurable:
VIRTUAL-RUNTIME_base-utils = ""
VIRTUAL-RUNTIME_base-utils-syslog = ""
VIRTUAL-RUNTIME_base-utils-hwclock = ""
VIRTUAL-RUNTIME_login_manager = "shadow"
VIRTUAL-RUNTIME_syslog = ""
So the case may fail when busybox is not present, check
base-files which is more reliable.
(From OE-Core rev: f73676b07f6d8a4573a5f46c3e082831b34b7d18)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
5e408889e4af Linux 5.2.17
12434939ba58 vfs: Fix refcounting of filenames in fs_parser
d4911cc1f4b6 media: technisat-usb2: break out of loop at end of buffer
19ad4c4fe19c floppy: fix usercopy direction
d7aa8c546ab9 ovl: fix regression caused by overlapping layers detection
52f2aba47d71 Revert "arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}"
785ca708a908 iommu/amd: Fix race in increase_address_space()
ed52f6cf0e84 iommu/amd: Flush old domains in kdump kernel
24962eb0edd0 keys: Fix missing null pointer check in request_key_auth_describe()
16ed4b9b7bf7 dmaengine: rcar-dmac: Fix DMACHCLR handling if iommu is mapped
d604a12cc6d5 dmaengine: sprd: Fix the DMA link-list configuration
d5898d2f06fc iommu/vt-d: Remove global page flush support
5df0a5fd4d1c x86/hyper-v: Fix overflow bug in fill_gva_list()
4bdb9988ad38 x86/uaccess: Don't leak the AC flags into __get_user() argument evaluation
4dabe50389c4 dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()
9de496fe242a dmaengine: ti: dma-crossbar: Fix a memory leak bug
4b898223a979 arm64: dts: renesas: r8a77995: draak: Fix backlight regulator name
4ad64281e4d3 net: seeq: Fix the function used to release some memory in an error handling path
0275857577e5 enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions
d18638671b96 net: dsa: microchip: add KSZ8563 compatibility string
05172612ab3a net: aquantia: fix out of memory condition on rx side
95acd66ba70a net: aquantia: linkstate irq should be oneshot
e4d1449ca4a5 net: aquantia: reapply vlan filters on up
6a6e09b7a519 net: aquantia: fix removal of vlan 0
b5789a160c2d tools/power turbostat: Fix CPU%C1 display value
54f4f3b38133 tools/power turbostat: Add Ice Lake NNPI support
8bae84e5203b tools/power turbostat: Fix Haswell Core systems
0926ee9f5327 tools/power turbostat: fix buffer overrun
94132aca9472 tools/power turbostat: fix file descriptor leaks
0a1ba2cd9d62 tools/power turbostat: fix leak of file descriptor on error return path
caab8b8b3aca tools/power x86_energy_perf_policy: Fix argument parsing
edf8ba32bc2b tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2
e9e492c92d8c netfilter: nf_flow_table: clear skb tstamp before xmit
27264af16969 amd-xgbe: Fix error path in xgbe_mod_init()
8b7bf7b1b2dd i2c: mediatek: disable zero-length transfers for mt8183
316c15048f40 i2c: iproc: Stop advertising support of SMBUS quick cmd
9027939cc8f7 perf/x86/amd/ibs: Fix sample bias for dispatched micro-ops
e1efdaaa9b46 perf/x86/intel: Restrict period on Nehalem
1ffda54f0546 i2c: designware: Synchronize IRQs when unregistering slave client
0910434c455d sky2: Disable MSI on yet another ASUS boards (P6Xxxx)
cd6901e723fc ibmvnic: Do not process reset during or after device removal
3ee4ed9cd3a0 ARM: 8901/1: add a criteria for pfn_valid of arm
eaaa11a4f8d0 RISC-V: Fix FIXMAP area corruption on RV32 systems
22c521335522 usb: host: xhci-tegra: Set DMA mask correctly
97b1d81abc61 libceph: don't call crypto_free_sync_skcipher() on a NULL tfm
b8632186884a cifs: Use kzfree() to zero out the password
8db988a98290 cifs: set domainName when a domain-key is used in multiuser
a8bf51b5c6f5 drm/amd/powerplay: correct Vega20 dpm level related settings
f5c6d0245f97 netfilter: conntrack: make sysctls per-namespace again
6612f6edf1f1 kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
7c1a4283b606 NFS: remove set but not used variable 'mapping'
de932b20ed88 NFSv2: Fix write regression
646d295fdded NFSv2: Fix eof handling
16986c7cf8b5 netfilter: nf_conntrack_ftp: Fix debug output
0dec70d3c249 netfilter: xt_physdev: Fix spurious error message in physdev_mt_check
e3813a30bd6f drm/amdgpu: fix dma_fence_wait without reference
9b914306b0f7 NFS: Fix writepage(s) error handling to not report errors twice
78f0f9007523 NFS: Fix spurious EIO read errors
fa38f165c78a pNFS/flexfiles: Don't time out requests on hard mounts
7999b21e2224 x86/apic: Fix arch_dynirq_lower_bound() bug for DT enabled machines
c19a0d7ef095 r8152: Set memory to all 0xFFs on failed reg reads
f1b6d7c8de4c bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
5e0251d82954 flow_dissector: Fix potential use-after-free on BPF_PROG_DETACH
31320b857d13 batman-adv: Only read OGM2 tvlv_len after buffer len check
9ae47d48cd2d ARM: 8874/1: mm: only adjust sections of valid mm structures
b77b8c17df13 drm/virtio: use virtio_max_dma_size
5a2ffd1ffa54 drm/omap: Fix port lookup for SDI output
fc45ccc7b85b qed: Add cleanup in qed_slowpath_start()
304a65866fbe selftests/bpf: add config fragment BPF_JIT
c963cd4ec138 selftests/bpf: fix test_cgroup_storage on s390
f4a9b28782c6 xdp: unpin xdp umem pages in error path
b484e28554d0 Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105
b8438c08476c NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()
518c9d0158e0 NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
d29a04e98cdb NFSv4: Fix return value in nfs_finish_open()
b8cb57c86f93 NFSv4: Fix return values for nfs4_file_open()
7844dde203db netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info
f30dade2d5d5 netfilter: nft_flow_offload: missing netlink attribute policy
399676d85515 netfilter: ebtables: Fix argument order to ADD_COUNTER
5b0d408d8ad6 fpga: altera-ps-spi: Fix getting of optional confd gpio
52ba08b93fee tools: bpftool: close prog FD before exit on showing a single program
840aec7a8b48 selftests/bpf: fix "bind{4, 6} deny specific IP & port" on s390
99eb87b50faa s390/bpf: use 32-bit index for tail calls
62c3bfff7d9e ARM: dts: Fix incomplete dts data for am3 and am4 mmc
0a3d2a039339 bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()
e92814b0aae1 ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack
3d8729676adb ARM: dts: dra74x: Fix iodelay configuration for mmc3
70af7f6d9e6a ARM: dts: am335x: Fix UARTs length
b6858c94d535 ARM: OMAP2+: Fix omap4 errata warning on other SoCs
71d668a95351 s390/bpf: fix lcgr instruction encoding
f262a47d4bc9 arm64: dts: meson-g12a: add missing dwc2 phy-names
3d3879d57e3b ARM: dts: Fix incorrect dcan register mapping for am3, am4 and dra7
6d326307187b ARM: dts: Fix flags for gpio7
de457d8d0f18 bus: ti-sysc: Fix using configured sysc mask value
84b9540898a9 bus: ti-sysc: Fix handling of forced idle
9f500d6b3df2 ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss
cff4410f5d31 ARM: dts: am57xx: Disable voltage switching for SD card
05b57db138f3 ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails
b090ed1779d8 ieee802154: hwsim: Fix error handle path in hwsim_init_module
6fc6065f5f2c nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
fb91d697f851 mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings
314a961abd99 tty/serial: atmel: reschedule TX after RX was started
3bf0e241c813 serial: sprd: correct the wrong sequence of arguments
3049e5125169 firmware: google: check if size is valid when decoding VPD data
ad0ef1b06e7b KVM: coalesced_mmio: add bounds checking
0d84424bdfcd net: dsa: Fix load order between DSA drivers and taggers
7f4aa339581b xen-netfront: do not assume sk_buff_head list is empty in error handling
82369aa61ec7 udp: correct reuseport selection with connected sockets
a4cb1c43dc6c net_sched: let qdisc_put() accept NULL pointer
81608038502a net/sched: fix race between deactivation and dequeue for NOLOCK qdisc
8a00845c5d64 ip6_gre: fix a dst leak in ip6erspan_tunnel_xmit
8d3dc8dfe890 net: aquantia: fix limit of vlan filters
bd950d777e3a net: hns: fix LED configuration for marvell phy
854c67e19e73 scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
88f16147459f powerpc/mm/radix: Use the right page size for vmemmap mapping
badbf863ed91 nfs: disable client side deduplication
543792290cce media: stm32-dcmi: fix irq = 0 case
1fb6db57b831 SUNRPC: Handle connection breakages correctly in call_status()
5d96613b372d Input: elan_i2c - remove Lenovo Legion Y7000 PnpID
41a22481ec5d HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
7902ff2b8c97 netfilter: nf_flow_table: set default timeout after successful insertion
e9bc4f96c596 net: hns3: adjust hns3_uninit_phy()'s location in the hns3_client_uninit()
32e50e282ea7 phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current
262c7b193cbb media: tm6000: double free if usb disconnect while streaming
1fc15d29540a USB: usbcore: Fix slab-out-of-bounds bug during device reset
(From OE-Core rev: ee7b48e1ca1e4262941f71a1735ec5b4a9cfc11d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
1e2ba4a74fa7 Linux 5.2.16
2508f833875c x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning
8803770b85d3 rsi: fix a double free bug in rsi_91x_deinit()
d8bcd38cb933 platform/x86: pcengines-apuv2: use KEY_RESTART for front button
f7a15c7068f0 platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table
657d4ca80d64 KVM: SVM: Fix detection of AMD Errata 1096
54d782e7c865 kvm: nVMX: Remove unnecessary sync_roots from handle_invept
00ab9eeb0314 modules: always page-align module section allocations
ec93d0db91ce modules: fix compile error if don't have strict module rwx
0a199213f586 modules: fix BUG when load module with rodata=n
63e3de7299ba iio: adc: stm32-dfsdm: fix data type
bb9dee6edb5a iio: adc: stm32-dfsdm: fix output resolution
83ad11d6d7fa Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
7c218ebc7899 mm/z3fold.c: fix lock/unlock imbalance in z3fold_page_isolate
1894d857ce86 mm/z3fold.c: remove z3fold_migration trylock
ead8b4f3b2f9 drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto
009b31923398 drm: panel-orientation-quirks: Add extra quirk table entry for GPD MicroPC
6dbe4b80180c firmware: ti_sci: Always request response from firmware
71f0dafe61ce crypto: talitos - HMAC SNOOP NO AFEU mode requires SW icv checking.
456945703690 crypto: talitos - Do not modify req->cryptlen on decryption.
dcefbf43b003 crypto: talitos - fix ECB algs ivsize
291d9ef44614 crypto: talitos - check data blocksize in ablkcipher.
86545794d2e5 crypto: talitos - fix CTR alg blocksize
808a33cd37dd crypto: talitos - check AES key size
0a7737c960e3 driver core: Fix use-after-free and double free on glue directory
6502d1acbe63 ubifs: Correctly use tnc_next() in search_dh_cookie()
85e398e6aa01 PCI: Always allow probing with driver_override
f5a7b0f01b23 mtd: rawnand: mtk: Fix wrongly assigned OOB buffer pointer issue
7b20eb930bd0 clk: rockchip: Don't yell about bad mmc phases when getting
4111a1f2142e mt76: mt7615: Use after free in mt7615_mcu_set_bcn()
195d154b8a71 mt76: Fix a signedness bug in mt7615_add_interface()
76d64d6d9ed8 clk: Simplify debugfs printing and add a newline
268311c39a7f clk: Fix debugfs clk_possible_parents for clks without parent string names
a9258bc6e0b3 drm/meson: Add support for XBGR8888 & ABGR8888 formats
5924bb61ac94 x86/ima: check EFI SetupMode too
c5699cc857a0 x86/boot: Use efi_setup_data for searching RSDP on kexec-ed kernels
2fd4aaaf615d kernel/module: Fix mem leak in module_add_modinfo_attrs
a9ce57d57155 powerpc: Add barrier_nospec to raw_copy_in_user()
6876bd0c34c8 x86/purgatory: Change compiler flags from -mcmodel=kernel to -mcmodel=large to fix kexec relocation errors
cc0feeebbb3f KVM: nVMX: handle page fault in vmread
9e8659bdca66 KVM: x86/mmu: Reintroduce fast invalidate/zap for flushing memslot
db68c0c83a76 KVM: x86: work around leak of uninitialized stack contents
17cd7cf4b355 KVM: s390: Do not leak kernel stack data in the KVM_S390_INTERRUPT ioctl
0c3ffd500445 KVM: s390: kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()
71661b871973 regulator: twl: voltage lists for vdd1/2 on twl4030
803c7bbc0d5d genirq: Prevent NULL pointer dereference in resend_irqs()
041f865f676b mt76: mt76x0e: disable 5GHz band for MT7630E
fbf07d827d82 Revert "rt2800: enable TX_PIN_CFG_LNA_PE_ bits per band"
868921b1f3d5 ixgbe: Prevent u8 wrapping of ITR value to something less than 10us
c42a7b87b8d7 ixgbe: fix double clean of Tx descriptors with xdp
076566aafd94 ipc: fix sparc64 ipc() wrapper
b2c92cb1d141 ipc: fix semtimedop for generic 32-bit architectures
b68833b65bf0 drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
e0e11df7f249 drm/i915: Limit MST to <= 8bpc once again
8eb5a78c20e8 drm/lima: fix lima_gem_wait() return value
46d1c96a1a5e mmc: tmio: Fixup runtime PM management during remove
f5e9862fedd0 mmc: tmio: Fixup runtime PM management during probe
e5b9762c20a3 Revert "mmc: sdhci: Remove unneeded quirk2 flag of O2 SD host controller"
0699a10fe9ed Revert "mmc: bcm2835: Terminate timeout work synchronously"
c554749c3f7e cgroup: freezer: fix frozen state inheritance
4fa875f06c43 Btrfs: fix assertion failure during fsync and use of stale transaction
09234426db8f gpio: fix line flag validation in lineevent_create
94cd945b2d24 gpio: fix line flag validation in linehandle_create
c54f5198f527 gpio: mockup: add missing single_release()
06477d8e4425 gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist
3c0bf14d186b net: sock_map, fix missing ulp check in sock hash case
f3724b27ca29 sctp: fix the missing put_user when dumping transport thresholds
488eefe22491 net: fixed_phy: Add forward declaration for struct gpio_desc;
e33190acd588 ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()
e854b3329bd9 net-ipv6: fix excessive RTF_ADDRCONF flag on ::1/128 local route (and others)
eddd5617db91 tun: fix use-after-free when register netdev failed
48da78093aa1 tipc: add NULL pointer check before calling kfree_rcu
055102e1467f tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
434e93757f3f sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
91c1460ecbf5 sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'
af241597df3e sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
c36f33d49df7 net: sched: fix reordering issues
69b37604889b net: phylink: Fix flow control resolution
92984818ff8c net: gso: Fix skb_segment splat when splitting gso_size mangled skb having linear-headed frag_list
f8f235f9a5dc net: Fix null de-reference of device refcount
c012f28d7a73 ixgbevf: Fix secpath usage for IPsec Tx offload
dc0921f74221 ixgbe: Fix secpath usage for IPsec TX offload.
3d970bbd8f0d isdn/capi: check message length in capi_write()
2e898bf96a7d ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
4702849bf8af cdc_ether: fix rndis support for Mediatek based smartphones
7b2687fe1142 bridge/mdb: remove wrong use of NLM_F_MULTI
6e282ba6ff6b Linux 5.2.15
e86a7794620a vhost: make sure log_num < in_num
f6b72d0920f4 Btrfs: fix unwritten extent buffers and hangs on future writeback attempts
051d85e1b2d3 drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT
0b50b2beafe7 drm/i915: Add whitelist workarounds for ICL
a22fc7cea6af drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT
abb4c8b10fc7 drm/i915: Support whitelist workarounds on all engines
d05cba91e1de drm/i915: Support flags in whitlist WAs
4b1bac380cdc virtio/s390: fix race on airq_areas[]
8db034bb05b1 usb: chipidea: imx: fix EPROBE_DEFER support during driver probe
e7bc0c0aeb77 usb: chipidea: imx: add imx7ulp support
cb77c43fa0bb mmc: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming
c0e2dbd7d707 drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
07c37f641842 drm/i915: Disable SAMPLER_STATE prefetching on all Gen11 steppings.
c31f3dc4e075 IB/hfi1: Unreserve a flushed OPFN request
bef755d188f5 IB/{rdmavt, qib, hfi1}: Convert to new completion API
9d3d11319bd2 IB/rdmavt: Add new completion inline
16d2d609ff0f bcache: fix race in btree_flush_write()
913855877794 bcache: add comments for mutex_lock(&b->write_lock)
b622ba2bcd4e bcache: only clear BTREE_NODE_dirty bit when it is set
bb70b2729b7a batman-adv: Only read OGM tvlv_len after buffer len check
e2b3974bc4ab batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
398f2c8277f2 powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
7f20c56c0b7a powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
12c6a7776680 powerpc/64e: Drop stale call to smp_processor_id() which hangs SMP startup
6890ea590cb7 vhost/test: fix build for vhost test - again
478e21d516d2 vhost/test: fix build for vhost test
9844e52dd977 drm/nouveau/sec2/gp102: add missing MODULE_FIRMWAREs
ee116fa63272 drm/vmwgfx: Fix double free in vmw_recv_msg()
1f570399e490 sched/fair: Don't assign runtime for throttled cfs_rq
f43cf5ff54a2 ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
b305db85076a ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL
6157216e86f3 ALSA: hda/realtek - Add quirk for HP Pavilion 15
dfdf3c29f72a ALSA: hda/realtek - Fix overridden device-specific initialization
1a413713ee16 ALSA: hda - Fix potential endless loop at applying quirks
d89e8b4684f1 gpio: pca953x: use pca953x_read_regs instead of regmap_bulk_read
b3a1644a19a7 gpio: pca953x: correct type of reg_direction
997fee5473ce Linux 5.2.14
0ccc5c227f88 Revert "mmc: core: do not retry CMD6 in __mmc_switch()"
317a66e24b46 x86/boot: Preserve boot_params.secure_boot from sanitizing
1a7fd193e9d8 Revert "x86/apic: Include the LDR when clearing out APIC registers"
ae96cf9e1e31 libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
8d50b82ea79b x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
852a051ef22b KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
44dfa46aaf7c gpio: Fix irqchip initialization order
157ec0a3f834 RDMA/bnxt_re: Fix stack-out-of-bounds in bnxt_qplib_rcfw_send_message
cf9ec2e9056c afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
3f6685835889 afs: Fix possible oops in afs_lookup trace event
c231241d83b9 afs: Fix leak in afs_lookup_cell_rcu()
7f134d569e1a KVM: arm/arm64: Only skip MMIO insn once
39c62cdaa2d4 ceph: fix buffer free while holding i_ceph_lock in fill_inode()
c4e28be29a45 ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob()
f41cd559f1f3 ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
3ebab463e9f4 drm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl
23da8e9ef69b selftests/kvm: make platform_info_test pass on AMD
666a41848d72 selftests: kvm: fix state save/load on processors without XSAVE
dd53d830bb30 infiniband: hfi1: fix memory leaks
bcb3211656fa infiniband: hfi1: fix a memory leak bug
1e93149659cc IB/mlx4: Fix memory leaks
fc38afc04343 RDMA/cma: fix null-ptr-deref Read in cma_cleanup
d61a256fece2 nvme: Fix cntlid validation when not using NVMEoF
e1031b6c8100 nvme-multipath: fix possible I/O hang when paths are updated
6950d5b64a15 Tools: hv: kvp: eliminate 'may be used uninitialized' warning
195b5aa923ec Input: hyperv-keyboard: Use in-place iterator API in the channel callback
31b60e5c604c scsi: lpfc: Mitigate high memory pre-allocation by SCSI-MQ
aa4bc3a35253 x86/boot/compressed/64: Fix boot on machines with broken E820 table
3091859b0b5e HID: cp2112: prevent sleeping function called from invalid context
e8fd4f47b224 HID: intel-ish-hid: ipc: add EHL device id
d58500c6fcb4 kprobes: Fix potential deadlock in kprobe_optimizer()
9ad89d579c01 sched/core: Schedule new worker even if PI-blocked
086ddc5e7172 ravb: Fix use-after-free ravb_tstamp_skb
37f12b895446 wimax/i2400m: fix a memory leak bug
461f5b613b4d net: cavium: fix driver name
1915dd1826be ibmvnic: Unmap DMA address of TX descriptor buffers after use
895a07a5a03a net: kalmia: fix memory leaks
241a735f5f68 cx82310_eth: fix a memory leak bug
e8f8411a8def vfs: fix page locking deadlocks when deduping files
a4234e27ed05 lan78xx: Fix memory leaks
96ece5798677 clk: Fix potential NULL dereference in clk_fetch_parent_index()
a6cb8dd3664e clk: Fix falling back to legacy parent string matching
7da16490e5a5 net: myri10ge: fix memory leaks
0f1c537cf09c liquidio: add cleanup in octeon_setup_iq()
101743ca0284 selftests: kvm: fix vmx_set_nested_state_test
5aac82ac9c7c selftests: kvm: provide common function to enable eVMCS
926a6e9efce9 selftests: kvm: do not try running the VM in vmx_set_nested_state_test
bf31a46ead59 cxgb4: fix a memory leak bug
46bf670f4455 scsi: target: tcmu: avoid use-after-free after command timeout
8e639df33729 scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
6fe444e60cda drm/mediatek: set DMA max segment size
1e12afb4c60a drm/mediatek: use correct device to import PRIME buffers
2b4a29f04533 netfilter: nft_flow_offload: skip tcp rst and fin packets
1dcb0d4eaf85 gpio: Fix build error of function redefinition
f6bd80bc6223 ibmveth: Convert multicast list size for little-endian system
d45c33d890bc s390/qeth: serialize cmd reply with concurrent timeout
b12691c24ea9 Bluetooth: hci_qca: Send VS pre shutdown command.
113d5ca74866 Bluetooth: btqca: Add a short delay before downloading the NVM
ab0f749707ea net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
37a0be861375 hv_netvsc: Fix a warning of suspicious RCU usage
936315c0c94e ixgbe: fix possible deadlock in ixgbe_service_task()
1dc961de7733 tools: bpftool: fix error message (prog -> object)
ea3c243ce799 netfilter: nf_flow_table: teardown flow timeout race
96a517d0ba5f netfilter: nf_flow_table: conntrack picks up expired flows
586f00143091 netfilter: nf_tables: use-after-free in failing rule with bound set
830b5c3760ff net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
60a4f2b2b6b8 clk: samsung: exynos542x: Move MSCL subsystem clocks to its sub-CMU
c65a2b20a934 clk: samsung: exynos5800: Move MAU subsystem clocks to MAU sub-CMU
f7bd5e9fe13f clk: samsung: Change signature of exynos5_subcmus_init() function
8f37477964e9 net/mlx5e: Fix error flow of CQE recovery on tx reporter
701b89908ba1 netfilter: nf_flow_table: fix offload for flows that are subject to xfrm
b8a132a4c4b6 libbpf: set BTF FD for prog only when there is supported .BTF.ext data
a65fb2895af4 libbpf: fix erroneous multi-closing of BTF FD
fa689968da49 batman-adv: Fix netlink dumping of all mcast_flags buckets
a4c88340b3ea net/rds: Fix info leak in rds6_inc_info_copy()
fdd2bc365fc6 net/sched: pfifo_fast: fix wrong dereference when qdisc is reset
e9cc0513248f net/sched: pfifo_fast: fix wrong dereference in pfifo_fast_enqueue
0b003edac850 net: dsa: tag_8021q: Future-proof the reserved fields in the custom VID
c7f05c1d9bf4 Add genphy_c45_config_aneg() function to phy-c45.c
98ded313ffda net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate
622f16b30519 taprio: Set default link speed to 10 Mbps in taprio_set_picos_per_byte
4f15d0e51268 taprio: Fix kernel panic in taprio_destroy
61f10b1bb84d r8152: remove calling netif_napi_del
5a9ceccb6385 Revert "r8152: napi hangup fix after disconnect"
7e21536433d0 nfp: flower: handle neighbour events on internal ports
f7ec32a4ae5c nfp: flower: prevent ingress block binds on internal ports
64a2a93ba385 tcp: remove empty skb from write queue in error cases
5cef2bfc9e3f tcp: inherit timestamp on mtu probe
939cc35d5f81 net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
505aac7f4e48 net_sched: fix a NULL pointer deref in ipt action
3c6dfd2adb7a net: sched: act_sample: fix psample group handling on overwrite
5038bd027ac3 net: fix skb use after free in netpoll
baa513580b25 mld: fix memory leak in mld_del_delrec()
(From OE-Core rev: c4811bc2eefbeee6b1150559b24353b328469e97)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable for 5.2, which comprises the
following changes:
997fee5473ce Linux 5.2.14
0ccc5c227f88 Revert "mmc: core: do not retry CMD6 in __mmc_switch()"
317a66e24b46 x86/boot: Preserve boot_params.secure_boot from sanitizing
1a7fd193e9d8 Revert "x86/apic: Include the LDR when clearing out APIC registers"
ae96cf9e1e31 libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
8d50b82ea79b x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
852a051ef22b KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
44dfa46aaf7c gpio: Fix irqchip initialization order
157ec0a3f834 RDMA/bnxt_re: Fix stack-out-of-bounds in bnxt_qplib_rcfw_send_message
cf9ec2e9056c afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
3f6685835889 afs: Fix possible oops in afs_lookup trace event
c231241d83b9 afs: Fix leak in afs_lookup_cell_rcu()
7f134d569e1a KVM: arm/arm64: Only skip MMIO insn once
39c62cdaa2d4 ceph: fix buffer free while holding i_ceph_lock in fill_inode()
c4e28be29a45 ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob()
f41cd559f1f3 ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
3ebab463e9f4 drm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl
23da8e9ef69b selftests/kvm: make platform_info_test pass on AMD
666a41848d72 selftests: kvm: fix state save/load on processors without XSAVE
dd53d830bb30 infiniband: hfi1: fix memory leaks
bcb3211656fa infiniband: hfi1: fix a memory leak bug
1e93149659cc IB/mlx4: Fix memory leaks
fc38afc04343 RDMA/cma: fix null-ptr-deref Read in cma_cleanup
d61a256fece2 nvme: Fix cntlid validation when not using NVMEoF
e1031b6c8100 nvme-multipath: fix possible I/O hang when paths are updated
6950d5b64a15 Tools: hv: kvp: eliminate 'may be used uninitialized' warning
195b5aa923ec Input: hyperv-keyboard: Use in-place iterator API in the channel callback
31b60e5c604c scsi: lpfc: Mitigate high memory pre-allocation by SCSI-MQ
aa4bc3a35253 x86/boot/compressed/64: Fix boot on machines with broken E820 table
3091859b0b5e HID: cp2112: prevent sleeping function called from invalid context
e8fd4f47b224 HID: intel-ish-hid: ipc: add EHL device id
d58500c6fcb4 kprobes: Fix potential deadlock in kprobe_optimizer()
9ad89d579c01 sched/core: Schedule new worker even if PI-blocked
086ddc5e7172 ravb: Fix use-after-free ravb_tstamp_skb
37f12b895446 wimax/i2400m: fix a memory leak bug
461f5b613b4d net: cavium: fix driver name
1915dd1826be ibmvnic: Unmap DMA address of TX descriptor buffers after use
895a07a5a03a net: kalmia: fix memory leaks
241a735f5f68 cx82310_eth: fix a memory leak bug
e8f8411a8def vfs: fix page locking deadlocks when deduping files
a4234e27ed05 lan78xx: Fix memory leaks
96ece5798677 clk: Fix potential NULL dereference in clk_fetch_parent_index()
a6cb8dd3664e clk: Fix falling back to legacy parent string matching
7da16490e5a5 net: myri10ge: fix memory leaks
0f1c537cf09c liquidio: add cleanup in octeon_setup_iq()
101743ca0284 selftests: kvm: fix vmx_set_nested_state_test
5aac82ac9c7c selftests: kvm: provide common function to enable eVMCS
926a6e9efce9 selftests: kvm: do not try running the VM in vmx_set_nested_state_test
bf31a46ead59 cxgb4: fix a memory leak bug
46bf670f4455 scsi: target: tcmu: avoid use-after-free after command timeout
8e639df33729 scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
6fe444e60cda drm/mediatek: set DMA max segment size
1e12afb4c60a drm/mediatek: use correct device to import PRIME buffers
2b4a29f04533 netfilter: nft_flow_offload: skip tcp rst and fin packets
1dcb0d4eaf85 gpio: Fix build error of function redefinition
f6bd80bc6223 ibmveth: Convert multicast list size for little-endian system
d45c33d890bc s390/qeth: serialize cmd reply with concurrent timeout
b12691c24ea9 Bluetooth: hci_qca: Send VS pre shutdown command.
113d5ca74866 Bluetooth: btqca: Add a short delay before downloading the NVM
ab0f749707ea net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
37a0be861375 hv_netvsc: Fix a warning of suspicious RCU usage
936315c0c94e ixgbe: fix possible deadlock in ixgbe_service_task()
1dc961de7733 tools: bpftool: fix error message (prog -> object)
ea3c243ce799 netfilter: nf_flow_table: teardown flow timeout race
96a517d0ba5f netfilter: nf_flow_table: conntrack picks up expired flows
586f00143091 netfilter: nf_tables: use-after-free in failing rule with bound set
830b5c3760ff net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
60a4f2b2b6b8 clk: samsung: exynos542x: Move MSCL subsystem clocks to its sub-CMU
c65a2b20a934 clk: samsung: exynos5800: Move MAU subsystem clocks to MAU sub-CMU
f7bd5e9fe13f clk: samsung: Change signature of exynos5_subcmus_init() function
8f37477964e9 net/mlx5e: Fix error flow of CQE recovery on tx reporter
701b89908ba1 netfilter: nf_flow_table: fix offload for flows that are subject to xfrm
b8a132a4c4b6 libbpf: set BTF FD for prog only when there is supported .BTF.ext data
a65fb2895af4 libbpf: fix erroneous multi-closing of BTF FD
fa689968da49 batman-adv: Fix netlink dumping of all mcast_flags buckets
a4c88340b3ea net/rds: Fix info leak in rds6_inc_info_copy()
fdd2bc365fc6 net/sched: pfifo_fast: fix wrong dereference when qdisc is reset
e9cc0513248f net/sched: pfifo_fast: fix wrong dereference in pfifo_fast_enqueue
0b003edac850 net: dsa: tag_8021q: Future-proof the reserved fields in the custom VID
c7f05c1d9bf4 Add genphy_c45_config_aneg() function to phy-c45.c
98ded313ffda net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate
622f16b30519 taprio: Set default link speed to 10 Mbps in taprio_set_picos_per_byte
4f15d0e51268 taprio: Fix kernel panic in taprio_destroy
61f10b1bb84d r8152: remove calling netif_napi_del
5a9ceccb6385 Revert "r8152: napi hangup fix after disconnect"
7e21536433d0 nfp: flower: handle neighbour events on internal ports
f7ec32a4ae5c nfp: flower: prevent ingress block binds on internal ports
64a2a93ba385 tcp: remove empty skb from write queue in error cases
5cef2bfc9e3f tcp: inherit timestamp on mtu probe
939cc35d5f81 net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
505aac7f4e48 net_sched: fix a NULL pointer deref in ipt action
3c6dfd2adb7a net: sched: act_sample: fix psample group handling on overwrite
5038bd027ac3 net: fix skb use after free in netpoll
baa513580b25 mld: fix memory leak in mld_del_delrec()
(From OE-Core rev: ece5ad6200be49d7d187b7f302b11ea1c2f33871)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest -korg -stable relase. A summary of the
changes follows:
ee809c7e0895 Linux 4.19.72
991467a47cf2 Revert "x86/apic: Include the LDR when clearing out APIC registers"
0f134f6e722c libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
5049632bc958 x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
b8727dff55f0 KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
1a31b0d0ddfa afs: Fix leak in afs_lookup_cell_rcu()
111d36b6fb7e KVM: arm/arm64: Only skip MMIO insn once
b84817d96e0f ceph: fix buffer free while holding i_ceph_lock in fill_inode()
5cd1e3552f0e ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob()
dfb8712c7acc ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
ddb55cc39c70 selftests/kvm: make platform_info_test pass on AMD
6cb9f8d60f8f selftests: kvm: fix state save/load on processors without XSAVE
08c2052815e3 infiniband: hfi1: fix memory leaks
d1b7f3252d56 infiniband: hfi1: fix a memory leak bug
adb87027b5ff IB/mlx4: Fix memory leaks
5e416b11b4a9 nvme-multipath: fix possible I/O hang when paths are updated
5bbebceec61d Tools: hv: kvp: eliminate 'may be used uninitialized' warning
1d42e40fe3c5 Input: hyperv-keyboard: Use in-place iterator API in the channel callback
e02aac3edb46 x86/boot/compressed/64: Fix boot on machines with broken E820 table
05d611c4ffb7 HID: cp2112: prevent sleeping function called from invalid context
5e1d50a3eafe kprobes: Fix potential deadlock in kprobe_optimizer()
a5839b6b3a79 ravb: Fix use-after-free ravb_tstamp_skb
54eac3997ee4 wimax/i2400m: fix a memory leak bug
7506e8c4bec8 net: cavium: fix driver name
ea78dc8b5e66 ibmvnic: Unmap DMA address of TX descriptor buffers after use
4fcb9b3f263e net: kalmia: fix memory leaks
1ad45d0f69d2 cx82310_eth: fix a memory leak bug
ac3cc25f380b vfs: fix page locking deadlocks when deduping files
9ea1feadf5e0 lan78xx: Fix memory leaks
375ab446ec76 net: myri10ge: fix memory leaks
f13b7ec5e1c5 liquidio: add cleanup in octeon_setup_iq()
2c3dd20f852a cxgb4: fix a memory leak bug
b8cd0b7b09ed scsi: target: tcmu: avoid use-after-free after command timeout
6c9a1e17d063 scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
b3496367d9cb drm/mediatek: set DMA max segment size
c9f595453bc3 drm/mediatek: use correct device to import PRIME buffers
a54fa5dff8cd netfilter: nft_flow_offload: skip tcp rst and fin packets
6052090280b8 gpio: Fix build error of function redefinition
cc8aa6155611 ibmveth: Convert multicast list size for little-endian system
32e912b91b5d Bluetooth: btqca: Add a short delay before downloading the NVM
7b7a11549dc1 net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
752832f2e8c9 hv_netvsc: Fix a warning of suspicious RCU usage
463d87bc13ff tools: bpftool: fix error message (prog -> object)
5776970fb4ec netfilter: nf_tables: use-after-free in failing rule with bound set
d22ed7b72acf net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
3ddda4f3114b spi: bcm2835aux: fix corruptions for longer spi transfers
fe49c3de7372 spi: bcm2835aux: remove dangerous uncontrolled read of fifo
a4a9ee79036b spi: bcm2835aux: unifying code between polling and interrupt driven code
ee271ead3b61 x86/boot: Preserve boot_params.secure_boot from sanitizing
9484203d254d net/rds: Fix info leak in rds6_inc_info_copy()
5977bc19ce7f tcp: remove empty skb from write queue in error cases
6f3126379879 tcp: inherit timestamp on mtu probe
6f8348f63706 net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
38166934f89c net_sched: fix a NULL pointer deref in ipt action
5ff0ab0c668b net: sched: act_sample: fix psample group handling on overwrite
6a2bd8261630 net: fix skb use after free in netpoll
8a5d27eaba68 mld: fix memory leak in mld_del_delrec()
e7d2672c66e4 Linux 4.19.71
72168ae78629 Revert "Input: elantech - enable SMBus on new (2018+) systems"
0fed55c248d9 Linux 4.19.70
9854d089f790 Revert "ASoC: Fail card instantiation if DAI format setup fails"
e064466cb614 mt76: mt76x0u: do not reset radio on resume
b307f99dca5a x86/ptrace: fix up botched merge of spectrev1 fix
3b26fa9e3ec3 i2c: piix4: Fix port selection for AMD Family 16h Model 30h
4f4be79c9ee7 NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
b5891b624b9a NFS: Pass error information to the pgio error cleanup routine
812de6dee596 NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
57c491fd844d NFS: Clean up list moves of struct nfs_page
79f1b33c53a0 KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WI
ab8ecc278dc8 KVM: arm/arm64: vgic: Fix potential deadlock when ap_list is long
db1841a2dd4c KVM: PPC: Book3S: Fix incorrect guest-to-user-translation error handling
938e383738d9 mac80211: Correctly set noencrypt for PAE frames
4f139c0376fb mac80211: Don't memset RXCB prior to PAE intercept
58f91aac4dfe mac80211: fix possible sta leak
945b35972803 Revert "cfg80211: fix processing world regdomain when non modular"
690a424838ca crypto: ccp - Ignore unconfigured CCP device on suspend/resume
4e77b2ea941b VMCI: Release resource if the work is already queued
2a964875def7 bus: hisi_lpc: Add .remove method to avoid driver unbind crash
649532efef46 bus: hisi_lpc: Unregister logical PIO range to avoid potential use-after-free
68b58d392464 drm/i915: Call dma_set_max_seg_size() in i915_driver_hw_probe()
c7615333645d drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest
6d3003f56449 drm/amdgpu: Add APTX quirk for Dell Latitude 5495
c4616a9b3d3f lib: logic_pio: Add logic_pio_unregister_range()
7faef13e6f68 lib: logic_pio: Avoid possible overlap for unregistering regions
b865c2c6e3f2 lib: logic_pio: Fix RCU usage
79829fc4ff33 fsi: scom: Don't abort operations for minor errors
e44840b7320c typec: tcpm: fix a typo in the comparison of pdo_max_voltage
e91c9c119dba intel_th: pci: Add Tiger Lake support
ce1c894e1e89 intel_th: pci: Add support for another Lewisburg PCH
cad1d3bfdd5d stm class: Fix a double free of stm_source_device
abc42341b6c4 mmc: core: Fix init of SD cards reporting an invalid VDD range
1ecc65e1418b mmc: sdhci-of-at91: add quirk for broken HS200
be8e9fa67ea7 mei: me: add Tiger Lake point LP device ID
5ed36421af24 USB: storage: ums-realtek: Whitelist auto-delink support
f79d1598968b USB: storage: ums-realtek: Update module parameter description for auto_delink_en
f46fd68a541f usb: host: xhci: rcar: Fix typo in compatible string matching
7af7737491ce usb: host: ohci: fix a race condition between shutdown and irq
a209827549da usb: chipidea: udc: don't do hardware access if gadget has stopped
97bec7afb98f usb: hcd: use managed device resources
ebad9fd106da USB: cdc-wdm: fix race between write and disconnect due to flag abuse
cbf5a279a22d usb-storage: Add new JMS567 revision to unusual_devs
8ea639525db6 ftrace: Check for empty hash and comment the race with registering probes
9d98e0f4859d ftrace: Check for successful allocation of hash
f184b16748f4 ftrace: Fix NULL pointer dereference in t_probe_next()
edc454cd5a04 x86/apic: Include the LDR when clearing out APIC registers
959832657c03 x86/apic: Do not initialize LDR and DFR for bigsmp
941d875cd44a uprobes/x86: Fix detection of 32-bit user mode
3c2b4827798e KVM: x86: Don't update RIP or do single-step on faulting emulation
3ec35109c80a kvm: x86: skip populating logical dest map if apic is not sw enabled
cbd905dac535 ALSA: usb-audio: Add implicit fb quirk for Behringer UFX1604
b5d1f31d97af ALSA: usb-audio: Fix invalid NULL check in snd_emuusb_set_samplerate()
98a2017c4a17 ALSA: seq: Fix potential concurrent access to the deleted pool
842317de9797 ALSA: hda - Fixes inverted Conexant GPIO mic mute led
5ef43bdc7321 ALSA: line6: Fix memory leak at line6_init_pcm() error path
c94c0bf878bf ALSA: usb-audio: Check mixer unit bitmap yet more strictly
5dd2db1ab006 mm/zsmalloc.c: fix build when CONFIG_COMPACTION=n
9febfd30aede ipv4/icmp: fix rt dst dev null pointer dereference
0a6a9c473080 tcp: make sure EPOLLOUT wont be missed
3e79bd1e4f9a net/smc: make sure EPOLLOUT is raised
ff129837a5f6 ipv6: Default fib6_type to RTN_UNICAST when not set
02127bdfee97 ipv6/addrconf: allow adding multicast addr if IFA_F_MCAUTOJOIN is set
a1407b26a6ed net: tls, fix sk_write_space NULL write when tx disabled
fdc4400e9628 net/tls: swap sk_write_space on close
f7009bbaff54 net/tls: Fixed return value when tls_complete_pending_work() fails
dc066fd0d073 drm/tilcdc: Register cpufreq notifier after we have initialized crtc
eba86f0a909f scsi: ufs: Fix RX_TERMINATION_FORCE_ENABLE define value
edd40f54736d drm/bridge: tfp410: fix memleak in get_modes()
2fa7c944e11f watchdog: bcm2835_wdt: Fix module autoload
a3eb2eba2f79 drm/i915: fix broadwell EU computation
c61c7246dc1f tools: hv: fix KVP and VSS daemons exit code
0c39d818aae4 tools: hv: fixed Python pep8/flake8 warnings for lsvmbus
39ad18a042ab usb: host: fotg2: restart hcd after port reset
37654abed26f drm/ast: Fixed reboot test may cause system hanged
1cc2ef1cfbd8 i2c: emev2: avoid race when unregistering slave client
7048cd814f4e i2c: rcar: avoid race when unregistering slave client
8bd5426889c2 arm64: cpufeature: Don't treat granule sizes as strict
eb535aaf3cd7 xen/blkback: fix memory leaks
339c1572a266 usb: gadget: mass_storage: Fix races between fsg_disable and fsg_set_alt
122ab8ea641c usb: gadget: composite: Clear "suspended" on reset/disconnect
21ec20f62fae iommu/dma: Handle SG length overflow better
7f4b81365e83 omap-dma/omap_vout_vrfb: fix off-by-one fi value
71d24f45f905 dmaengine: stm32-mdma: Fix a possible null-pointer dereference in stm32_mdma_irq_handler()
377ebe613ed8 auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach
2f87eb895ebd soundwire: cadence_master: fix definitions for INTSTAT0/1
29b064d300a2 soundwire: cadence_master: fix register definition for SLAVE_STATE
4a9829195d9e nvme-pci: Fix async probe remove race
431f579a5349 nvme: fix a possible deadlock when passthru commands sent to a multipath device
32c0b8f10351 nvmet-loop: Flush nvme_delete_wq when removing the port
9c55dc85d890 afs: Only update d_fsdata if different in afs_d_revalidate()
24e093b96905 fs: afs: Fix a possible null-pointer dereference in afs_put_read()
8e5179f982f9 afs: Fix loop index mixup in afs_deliver_vl_get_entry_by_name_u()
dfc438c0bc6d afs: Fix the CB.ProbeUuid service handler to reply correctly
7436dc2adeff nvme-multipath: revalidate nvme_ns_head gendisk in nvme_validate_ns
2013d6ec0bc0 dmaengine: ste_dma40: fix unneeded variable warning
97ab07e11fbf Linux 4.19.69
6d47174198ac rxrpc: Fix local refcounting
ce3f9e194d25 rxrpc: Fix local endpoint replacement
a05354cbb822 rxrpc: Fix read-after-free in rxrpc_queue_local()
f28023c4eedc rxrpc: Fix local endpoint refcounting
32df8a30b734 powerpc: Allow flush_(inval_)dcache_range to work across ranges >4GB
0d5e34c1e263 dm zoned: fix potential NULL dereference in dmz_do_reclaim()
655bb2c4ace4 xfs: always rejoin held resources during defer roll
83a8e6b2f2e3 xfs: Add attibute remove and helper functions
b21ff6cfcc24 xfs: Add attibute set and helper functions
b3a248f2307c xfs: Add helper function xfs_attr_try_sf_addname
a9912f346bdc xfs: Move fs/xfs/xfs_attr.h to fs/xfs/libxfs/xfs_attr.h
17c2b7af71f2 xfs: don't trip over uninitialized buffer on extent read of corrupted inode
11f85d4d77af xfs: fix missing ILOCK unlock when xfs_setattr_nonsize fails due to EDQUOT
ed11e6003314 mm/zsmalloc.c: fix race condition in zs_destroy_pool
b30a2f608e94 mm/zsmalloc.c: migration can leave pages in ZS_EMPTY indefinitely
db67ac031655 mm, page_owner: handle THP splits correctly
42731deff2ea genirq: Properly pair kobject_del() with kobject_add()
c14fe4e8fd01 dm zoned: properly handle backing device failure
4530f2f1a79a dm zoned: improve error handling in i/o map code
8b7c17bb2753 dm zoned: improve error handling in reclaim
ded8e524cfa6 dm table: fix invalid memory accesses with too high sector number
53e73d1079d7 dm space map metadata: fix missing store of apply_bops() return value
2cff6c87a0dc dm raid: add missing cleanup in raid_ctr()
795b0572729b dm integrity: fix a crash due to BUG_ON in __journal_read_write()
8114012de6c1 dm btree: fix order of block initialization in btree_split_beneath
e0fb8135de9e dm kcopyd: always complete failed jobs
f7d157f33001 x86/boot: Fix boot regression caused by bootparam sanitizing
d955601166f8 x86/boot: Save fields explicitly, zero out everything else
e063b03b451a x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h
685e598e447e x86/apic: Handle missing global clockevent gracefully
f9747104a5c8 x86/retpoline: Don't clobber RFLAGS during CALL_NOSPEC on i386
cf13e30c58d4 userfaultfd_release: always remove uffd flags and clear vm_userfaultfd_ctx
a6f236e1bd97 Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE
3783c7ee9920 gpiolib: never report open-drain/source lines as 'input' to user-space
f88c31b43bab drm/nouveau: Don't retry infinitely when receiving no data on i2c over AUX
51f6afddb147 libceph: fix PG split vs OSD (re)connect race
f2951720629e ceph: don't try fill file_lock on unsuccessful GETFILELOCK reply
7bed2889cd18 ceph: clear page dirty before invalidate page
a8f7703f2213 clk: socfpga: stratix10: fix rate caclulationg for cnt_clks
b608a5a238d5 Revert "dm bufio: fix deadlock with loop device"
375c6c72f56c HID: wacom: Correct distance scale for 2nd-gen Intuos devices
8317fe4a3906 HID: wacom: correct misreported EKR ring values
3c4b283a0deb selftests: kvm: Adding config fragments
ef61b79017ff KVM: arm: Don't write junk to CP15 registers on reset
d5cb5b493030 KVM: arm64: Don't write junk to sysregs on reset
590549487679 perf pmu-events: Fix missing "cpu_clk_unhalted.core" event
06ed429b9018 perf cpumap: Fix writing to illegal memory in handling cpumap mask
e49cfed0a8cb perf ftrace: Fix failure to set cpumask when only one cpu is present
7aa8dfa450b4 block, bfq: handle NULL return value by bfq_init_rq()
fa6f4687805a drm/vmwgfx: fix memory leak when too many retries have occurred
923de016dc88 x86/lib/cpu: Address missing prototypes warning
3ca013cd63be libata: add SG safety checks in SFF pio transfers
3b84bbef51c4 libata: have ata_scsi_rw_xlat() fail invalid passthrough requests
e0c030221b1f net: hisilicon: Fix dma_map_single failed on arm64
4ab3052568e5 net: hisilicon: fix hip04-xmit never return TX_BUSY
09ec5bf10749 net: hisilicon: make hip04_tx_reclaim non-reentrant
b8d03c79e403 net: stmmac: tc: Do not return a fragment entry
b6cd6d18423e net: stmmac: Fix issues when number of Queues >= 4
45e7e4e66b08 net: cxgb3_main: Fix a resource leak in a error path in 'init_one()'
db106f695414 s390: put _stext and _etext into .text section
33bdea175df0 SMB3: Kernel oops mounting a encryptData share with CONFIG_DEBUG_VIRTUAL
fab5a1fd17a6 SMB3: Fix potential memory leak when processing compound chain
6cb4997861c8 drm/rockchip: Suspend DP late
1c6ca0921705 HID: input: fix a4tech horizontal wheel custom usage
f6f9c4491ec5 HID: quirks: Set the INCREMENT_USAGE_ON_DUPLICATE quirk on Saitek X52
b6fb2f5b33f2 NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
66daeec347f0 NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
d1ba0b81e709 net/ethernet/qlogic/qed: force the string buffer NULL-terminated
35d9e9211baf can: peak_usb: force the string buffer NULL-terminated
895c8fcfedad can: sja1000: force the string buffer NULL-terminated
a3d1263c9b03 perf bench numa: Fix cpu0 binding
4533d08b6528 net: phy: phy_led_triggers: Fix a possible null-pointer dereference in phy_led_trigger_change_speed()
07efe13b95ab isdn: hfcsusb: Fix mISDN driver crash caused by transfer buffer on the stack
4db2043eec46 rxrpc: Fix the lack of notification when sendmsg() fails on a DATA packet
0d68fbc2d07b rxrpc: Fix potential deadlock
63dd147e7af0 netfilter: ipset: Fix rename concurrency with listing
ea08214d8cd0 netfilter: ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac sets
5a072ef6a296 netfilter: ipset: Actually allow destination MAC address for hash:ip,mac sets too
ba42212ac0a0 mac80211_hwsim: Fix possible null-pointer dereferences in hwsim_dump_radio_nl()
32cbe03539ac isdn: mISDN: hfcsusb: Fix possible null-pointer dereferences in start_isoc_chain()
8a24df575c97 qed: RDMA - Fix the hw_ver returned in device attributes
cb64e86ee0d1 net: usb: qmi_wwan: Add the BroadMobi BM818 card
bfa713f5cec5 ASoC: ti: davinci-mcasp: Correct slot_width posed constraint
dd0ff288e344 ASoC: rockchip: Fix mono capture
c5cb10632c0f st_nci_hci_connectivity_event_received: null check the allocation
0d73ba88f466 st21nfca_connectivity_event_received: null check the allocation
714a8438fc8a ASoC: Fail card instantiation if DAI format setup fails
bd2f4c7c2d6a can: gw: Fix error path of cgw_module_init
3257103502cf can: mcp251x: add error check when wq alloc failed
dbf790dcb8a9 can: dev: call netif_carrier_off() in register_candev()
43d31fd9a8f2 selftests: forwarding: gre_multipath: Fix flower filters
ef52e2b9a621 selftests: forwarding: gre_multipath: Enable IPv4 forwarding
192bbe9d57ed net: mvpp2: Don't check for 3 consecutive Idle frames for 10G links
a1e5a76db8dd bonding: Force slave speed check after link state recovery for 802.3ad
b7038c195fd1 selftests/bpf: fix sendmsg6_prog on s390
e6dc6409f474 ASoC: dapm: Fix handling of custom_stop_condition on DAPM graph walks
71305e8ee503 netfilter: ebtables: fix a memory leak bug in compat
70b4edd74b6d mips: fix cacheinfo
326175aa28fd MIPS: kernel: only use i8253 clocksource with periodic clockevent
a6067c6e630f HID: Add 044f:b320 ThrustMaster, Inc. 2 in 1 DT
def4c11b3131 Linux 4.19.68
7c13983a2860 mmc: sdhci-of-arasan: Do now show error message in case of deffered probe
447f5f48f4fa net/mlx5e: Use flow keys dissector to parse packets for ARFS
fbd8ab680675 net/mlx5e: Only support tx/rx pause setting for port owner
b3410f0f8505 xen/netback: Reset nr_frags before freeing skb
cc4ff0f4f564 tipc: initialise addr_trail_end when setting node addresses
e89bb758c030 team: Add vlan tx offload to hw_enc_features
eeb148d20819 sctp: fix the transport error_count check
227f204ad197 sctp: fix memleak in sctp_send_reset_streams
154e6bc497c9 net/packet: fix race in tpacket_snd()
f588dccfc137 net/mlx4_en: fix a memory leak bug
8905a249448c net: dsa: Check existence of .port_mdb_add callback before calling it
d61d8ea9ca12 bonding: Add vlan tx offload to hw_enc_features
40933af400c5 bnx2x: Fix VF's VLAN reconfiguration in reload.
03d54393e3d7 iommu/amd: Move iommu_init_pci() to .init section
62e023ddd01a Input: psmouse - fix build error of multiple definition
28ff7d3b3fda netfilter: conntrack: Use consistent ct id hash calculation
30b9da0ec2a2 arm64: ftrace: Ensure module ftrace trampoline is coherent with I-side
a1cd2f7015bd dm: disable DISCARD if the underlying storage no longer supports it
4af28b2f19b0 drm/i915/cfl: Add a new CFL PCI ID.
3ca5b7b4afee USB: serial: option: Add Motorola modem UARTs
e480d6cf6f79 USB: serial: option: add the BroadMobi BM818 card
8175fa2987a6 USB: serial: option: Add support for ZTE MF871A
afb677b29995 USB: serial: option: add D-Link DWM-222 device ID
487d66ae8f45 USB: CDC: fix sanity checks in CDC union parser
c02c0249ce55 usb: cdc-acm: make sure a refcount is taken early enough
f417f9715f4c usb: gadget: udc: renesas_usb3: Fix sysfs interface of "role"
7f52d6d2a82d USB: core: Fix races in character device registration and deregistraion
367d103a4a93 iio: adc: max9611: Fix temperature reading in probe
dac96992f00a staging: comedi: dt3000: Fix rounding up of timer divisor
2e394bcfdcf3 staging: comedi: dt3000: Fix signed integer overflow 'divider * base'
8c7053d162d9 KVM: arm/arm64: Sync ICH_VMCR_EL2 back when about to block
c8d95668c4ca arm64: KVM: regmap: Fix unexpected switch fall-through
0755b6b152cb asm-generic: fix -Wtype-limits compiler warnings
7113a1bc19fa ocfs2: remove set but not used variable 'last_hash'
01d8d08f4cd4 Revert "kmemleak: allow to coexist with fault injection"
cf9a18d7bcd0 drm/exynos: fix missing decrement of retry counter
c256729f2695 drm: msm: Fix add_gpu_components
b4f0fee7f77c IB/mad: Fix use-after-free in ib mad completion handling
a0258ff4993f IB/mlx5: Fix MR registration flow to use UMR properly
efb742ce4e27 IB/core: Add mitigation for Spectre V1
4a0d2eeea27a arm64/mm: fix variable 'pud' set but not used
6af9263f685d arm64: unwind: Prohibit probing on return_address()
ffb1a76d1c29 arm64/efi: fix variable 'si' set but not used
48522289bf50 kbuild: Check for unknown options with cc-option usage in Kconfig and clang
b3aebdd46d63 kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules
23bc01f0d955 ata: libahci: do not complain in case of deferred probe
68340db992f6 drm/amdgpu: fix a potential information leaking bug
02d4fe0193d5 scsi: qla2xxx: Fix possible fcport null-pointer dereferences
3435e025ed71 scsi: hpsa: correct scsi command status issue after reset
f833deae2a06 Btrfs: fix deadlock between fiemap and transaction commits
202aa96f052a drm/bridge: lvds-encoder: Fix build error while CONFIG_DRM_KMS_HELPER=m
f69fd790edf7 libata: zpodd: Fix small read overflow in zpodd_get_mech_type()
0a19fff567a0 perf header: Fix use of unitialized value warning
ab5aa579ca82 perf header: Fix divide by zero error if f_header.attr_size==0
a5e40452c916 irqchip/irq-imx-gpcv2: Forward irq type to parent
dcb73180de61 irqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail
e72e6ba17ab4 xen/pciback: remove set but not used variable 'old_state'
ca5b26a8f1d8 clk: renesas: cpg-mssr: Fix reset control race condition
af2ed1a05a7a clk: sprd: Select REGMAP_MMIO to avoid compile errors
3e5f29b66675 clk: at91: generated: Truncate divisor to GENERATED_MAX_DIV + 1
28fd9b37b6bb riscv: Make __fstate_clean() work correctly.
cef0e9eb2231 netfilter: ebtables: also count base chain policies
07d92caeb945 net: usb: pegasus: fix improper read if get_registers() fail
f13de3d677d1 Input: iforce - add sanity checks
08b3af00a161 Input: kbtab - sanity check for endpoint type
b545dc9debe6 HID: hiddev: do cleanup in failure of opening a device
0aab1a4653a6 HID: hiddev: avoid opening a disconnected device
537d957b144f HID: holtek: test for sanity of intfdata
9585f4440cec ALSA: hda - Let all conexant codec enter D3 when rebooting
e58ba88d6c60 ALSA: hda - Add a generic reboot_notify
6c4a536ca97b ALSA: hda - Fix a memory leak bug
1bf5f827564c ALSA: hda - Apply workaround for another AMD chip 1022:1487
58b9f19ee438 ALSA: usb-audio: Fix an OOB bug in parse_audio_mixer_unit
46f9a1bc60a4 ALSA: usb-audio: Fix a stack buffer overflow bug in check_input_term
d5bb12402805 ALSA: hda/realtek - Add quirk for HP Envy x360
61f6ecb75845 xtensa: add missing isync to the cpu_reset TLB code
7c001e5aab6d cpufreq: schedutil: Don't skip freq update when limits change
7f68aa2e3e1b Revert "pwm: Set class for exported channels in sysfs"
056368fc3ef7 mm/usercopy: use memory range to be accessed for wraparound check
c8282f1b5653 mm/memcontrol.c: fix use after free in mem_cgroup_iter()
3c0cb90e9212 mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind
cd825d87140d mm: mempolicy: make the behavior consistent when MPOL_MF_MOVE* and MPOL_MF_STRICT were specified
f0fed8283deb mm/hmm: fix bad subpage pointer in try_to_unmap_one
3858cca150c6 seq_file: fix problem when seeking mid-record
50d15197254a sh: kernel: hw_breakpoint: Fix missing break in switch statement
a5aa80588fcd Linux 4.19.67
ac2951114955 iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support
6a81677a2e65 iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT on version < 41
80bac45e3ad8 iwlwifi: mvm: fix an out-of-bound access
7626b510fc77 iwlwifi: don't unmap as page memory that was mapped as single
b38c56b76dcc mwifiex: fix 802.11n/WPA detection
2bc73d914114 KVM: Fix leak vCPU's VMCS value into other pCPU
d1489f0b4de7 NFSv4: Fix an Oops in nfs4_do_setattr
898c19f1b4c8 smb3: send CAP_DFS capability during session setup
50831f1a2f57 SMB3: Fix deadlock in validate negotiate hits reconnect
2afa6c13e498 dax: dax_layout_busy_page() should not unmap cow pages
a566750c3a78 mac80211: don't WARN on short WMM parameters from AP
af9d64f871cf ALSA: hda - Workaround for crackled sound on AMD controller (1022:1457)
06f0bcaceb8c ALSA: hda - Don't override global PCM hw info flag
1c286e4e13f2 ALSA: hiface: fix multiple memory leak bugs
bc972b6b52e2 ALSA: firewire: fix a memory leak bug
edc388566a1d drm/i915: Fix wrong escape clock divisor init for GLK
a73027204ac5 hwmon: (nct7802) Fix wrong detection of in4 presence
9ce1b3eb5489 can: peak_usb: pcan_usb_fd: Fix info-leaks to USB devices
cab569a44a52 can: peak_usb: pcan_usb_pro: Fix info-leaks to USB devices
d4d904e4e258 ALSA: usb-audio: fix a memory leak bug
e0d262a57fc7 x86/purgatory: Do not use __builtin_memcpy and __builtin_memset
118293070096 HID: sony: Fix race condition between rumble and device remove.
5c4689cbe95a s390/dma: provide proper ARCH_ZONE_DMA_BITS value
d768173982ec perf/core: Fix creating kernel counters for PMUs that override event->cpu
06dc92142b5e tty/ldsem, locking/rwsem: Add missing ACQUIRE to read_failed sleep loop
0ba69e96cc62 test_firmware: fix a memory leak bug
cdd92ebe29c2 scsi: scsi_dh_alua: always use a 2 second delay before retrying RTPG
b620c6d5779a scsi: ibmvfc: fix WARN_ON during event pool release
f254faed4153 scsi: megaraid_sas: fix panic on loading firmware crashdump
bb41940c89bd ARM: dts: bcm: bcm47094: add missing #cells for mdio-bus-mux
19e7df3e4fe7 ARM: davinci: fix sleep.S build error on ARMv4
bdce5621e6b0 nvme: fix multipath crash when ANA is deactivated
b1689742ff4a ACPI/IORT: Fix off-by-one check in iort_dev_find_its_id()
38c919ec7b30 drbd: dynamically allocate shash descriptor
f4e2d182d6a6 perf probe: Avoid calling freeing routine multiple times for same pointer
101a155436fe perf tools: Fix proper buffer size for feature processing
b065f404c946 ALSA: compress: Be more restrictive about when a drain is allowed
30dd700da7de ALSA: compress: Don't allow paritial drain operations on capture streams
f1ea9a638770 ALSA: compress: Prevent bypasses of set_params
b9e2fa1e15b7 ALSA: compress: Fix regression on compressed capture streams
77868c0003cc s390/qdio: add sanity checks to the fast-requeue path
8729fe83b0d5 cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()
991c4756be69 drm: silence variable 'conn' set but not used
ca1b1940a32a hwmon: (nct6775) Fix register address and added missed tolerance for nct6106
56dc57c705ef allocate_flower_entry: should check for null deref
f4cfdd46b356 mac80211: don't warn about CW params when not using them
f2fd89817212 nl80211: fix NL80211_HE_MAX_CAPABILITY_LEN
492c158ab2c0 iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
8d641499bf96 drm/amd/display: Increase size of audios array
f9420bfa29f9 drm/amd/display: Only enable audio if speaker allocation exists
3998e684463a drm/amd/display: Fix dc_create failure handling and 666 color depths
e7a8a794109c drm/amd/display: use encoder's engine id to find matched free audio device
2a5e21adc71b drm/amd/display: Wait for backlight programming completion in set backlight level
056af94d6e10 scripts/sphinx-pre-install: fix script for RHEL/CentOS
36b6458d8541 netfilter: nft_hash: fix symhash with modulus one
6f1d7f0d6689 netfilter: conntrack: always store window size un-scaled
307b6e5d90dc netfilter: Fix rpfilter dropping vrf packets by mistake
6f9dff8d1d58 vfio-ccw: Set pa_nr to 0 if memory allocation fails for pa_iova_pfn
bb312b4aa8b0 netfilter: nfnetlink: avoid deadlock due to synchronous request_module
f61c4d3a1f18 can: peak_usb: fix potential double kfree_skb()
0e9038a26c9b can: rcar_canfd: fix possible IRQ storm on high load
9479a0589923 usb: typec: tcpm: Ignore unsupported/unknown alternate mode requests
3f524b631db7 usb: typec: tcpm: Add NULL check before dereferencing config
bbc2e8206012 usb: typec: tcpm: remove tcpm dir if no children
2ec5c9b785f4 usb: typec: tcpm: free log buf memory when remove debug file
33f2240acfa8 usb: yurex: Fix use-after-free in yurex_delete
49888a4f0ebc usb: host: xhci-rcar: Fix timeout in xhci_suspend()
21344f0575f0 gfs2: gfs2_walk_metadata fix
b674f7914a64 x86/purgatory: Use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS
0a9e41e27659 perf record: Fix module size on s390
f1f662894361 perf db-export: Fix thread__exec_comm()
532db2b9756a perf annotate: Fix s390 gap between kernel end and module start
46b306f3cd7b mm/vmalloc: Sync unmappings in __purge_vmap_area_lazy()
9935d7ed8406 x86/mm: Sync also unmappings in vmalloc_sync_all()
dd524d488f5b x86/mm: Check for pfn instead of page in vmalloc_sync_one()
b8a2169bcad8 Input: synaptics - enable RMI mode for HP Spectre X360
3d180fe5cd76 Input: elantech - enable SMBus on new (2018+) systems
ce7d4fe4e52b Input: usbtouchscreen - initialize PM mutex before using it
c9a1c10487b9 loop: set PF_MEMALLOC_NOIO for the worker thread
d79d76f2bbb0 mmc: cavium: Add the missing dma unmap when the dma has finished.
fd3f902dd1d5 mmc: cavium: Set the correct dma max segment size for mmc_host
9575ba61ba19 sound: fix a memory leak bug
d397091dbac0 usb: iowarrior: fix deadlock on disconnect
b43611cd762c usb: usbfs: fix double-free of usb memory upon submiturb error
6dbc3b74daeb crypto: ccp - Ignore tag length when decrypting GCM ciphertext
30692edea30d crypto: ccp - Add support for valid authsize values less than 16
1c4393df3622 crypto: ccp - Fix oops by properly managing allocated structures
b9de21575a20 staging: android: ion: Bail out upon SIGKILL when allocating memory.
6b8f93b5a4f7 staging: gasket: apex: fix copy-paste typo
fcab37830177 iio: adc: max9611: Fix misuse of GENMASK macro
805bd34ac269 iio: cros_ec_accel_legacy: Fix incorrect channel setting
893af1c79e42 Linux 4.19.66
48fcdaba7b0d spi: bcm2835: Fix 3-wire mode if DMA is enabled
ebda41dd170f cgroup: Fix css_task_iter_advance_css_set() cset skip condition
0a9abd277819 cgroup: css_task_iter_skip()'d iterators must be advanced before accessed
4340d175b898 cgroup: Include dying leaders with live threads in PROCS iterations
370b9e6399da cgroup: Implement css_task_iter_skip()
7528e95b7519 cgroup: Call cgroup_release() before __exit_signal()
e6e9bcef12ca compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
473430ed6117 r8169: don't use MSI before RTL8168d
0ccf47265e4c net/mlx5e: Prevent encap flow counter update async to user query
cd84a10792f0 net/mlx5: Fix modify_cq_in alignment
f378724e10ce tun: mark small packets as owned by the tap sock
5295d6515485 tipc: compat: allow tipc commands without arguments
eaa34bd4f7b5 ocelot: Cancel delayed work before wq destruction
cd7f02fecac1 NFC: nfcmrvl: fix gpio-handling regression
ce58a3655121 net/smc: do not schedule tx_work in SMC_CLOSED state
51d240a144a5 net: sched: use temporary variable for actions indexes
cb20f74135df net sched: update vlan action for batched events operations
d82dc254b967 net: sched: Fix a possible null-pointer dereference in dequeue_func()
44b96a38c2b5 net: qualcomm: rmnet: Fix incorrect UL checksum offload logic
c8b05980c4bf net: phylink: Fix flow control for fixed-link
4dddd08b571d net/mlx5: Use reversed order when unregister devices
858f82c63667 net/mlx5e: always initialize frag->last_in_page
edb7ad69c439 net: fix ifindex collision during namespace removal
a19d4e34f092 net: bridge: mcast: don't delete permanent entries when fast leave is enabled
639239be11ad net: bridge: delete local fdb on device init failure
b3645a487373 mvpp2: refactor MTU change code
ffab47bf69df mvpp2: fix panic on module removal
3c46905fb182 mlxsw: spectrum: Fix error path in mlxsw_sp_module_init()
f186fb5ccf69 ipip: validate header length in ipip_tunnel_xmit
1bb2dd37cb87 ip6_tunnel: fix possible use-after-free on xmit
fdcefa46c5c2 ip6_gre: reload ipv6h in prepare_ip6gre_xmit_ipv6
c4c8899376c2 ife: error out when nla attributes are empty
774358df88f7 bnx2x: Disable multi-cos feature.
cb4626784f39 atm: iphase: Fix Spectre v1 vulnerability
8440cdc77577 IB: directly cast the sockaddr union to aockaddr
608cfdfa9eb7 HID: Add quirk for HP X1200 PIXART OEM mouse
e830c2c3c174 HID: wacom: fix bit shift for Cintiq Companion 2
2364ed0d8ed1 libnvdimm/bus: Fix wait_nvdimm_bus_probe_idle() ABBA deadlock
7f000e7b4490 libnvdimm/bus: Prepare the nd_ioctl() path to be re-entrant
3248536919c1 libnvdimm/region: Register badblocks before namespaces
d16bbdbbcb50 libnvdimm/bus: Prevent duplicate device_unregister() calls
c23106d4276d drivers/base: Introduce kill_device()
7c43f84efd6d driver core: Establish order of operations for device_add and device_del via bitflag
a152a7b411a5 gcc-9: don't warn about uninitialized variable
93d6f0841eef scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
cc4c818b2219 Linux 4.19.65
7634b9cd27e8 Documentation: Add swapgs description to the Spectre v1 documentation
b88241aef6f1 x86/speculation/swapgs: Exclude ATOMs from speculation through SWAPGS
931b6bfe8af1 x86/entry/64: Use JMP instead of JMPQ
23e7a7b3a75f x86/speculation: Enable Spectre v1 swapgs mitigations
befb822c062b x86/speculation: Prepare entry code for Spectre v1 swapgs mitigations
b5dd7f61fce4 x86/cpufeatures: Combine word 11 and 12 into a new scattered features word
16ad0b63f382 x86/cpufeatures: Carve out CQM features retrieval
9e034c61951a scsi: mpt3sas: Use 63-bit DMA addressing on SAS35 HBA
3732a473be54 x86/vdso: Prevent segfaults due to hoisted vclock reads
8320768d26aa gcc-9: properly declare the {pv,hv}clock_page storage
354887ae3168 objtool: Support GCC 9 cold subfunction naming scheme
89f3896b658b ARC: enable uboot support unconditionally
8dd376273fb4 eeprom: at24: make spd world-readable again
a7340d31abac drm/i915/gvt: fix incorrect cache entry for guest page mapping
a1c020ce2669 IB/hfi1: Check for error on call to alloc_rsm_map_table
e9cd4962a85b IB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification
924308d2a6ea IB/mlx5: Fix clean_mr() to work in the expected order
7e5ce9f3943c IB/mlx5: Move MRs to a kernel PD when freeing them to the MR cache
3cfa1087a172 IB/mlx5: Use direct mkey destroy command upon UMR unreg failure
41be1928053a IB/mlx5: Fix unreg_umr to ignore the mkey state
04fdca1f2f65 xen/swiotlb: fix condition for calling xen_destroy_contiguous_region()
eb828241b491 nbd: replace kill_bdev() with __invalidate_device() again
8dfef0f442c7 arm64: cpufeature: Fix feature comparison for CTR_EL0.{CWG,ERG}
2bddc985656a arm64: compat: Allow single-byte watchpoints on all addresses
c385cda0e70a drivers/perf: arm_pmu: Fix failure path in PM notifier
5f80ac50b98c parisc: Fix build of compressed kernel even with debug enabled
001f93d95d6c cgroup: kselftest: relax fs_spec checks
6cb9e0d9ad3e s390/dasd: fix endless loop after read unit address configuration
beb0cc781b8e mm: vmscan: check if mem cgroup is disabled or not before calling memcg slab shrinker
72651bbdf3d5 ALSA: hda: Fix 1-minute detection delay when i915 module is not available
46650ac2e1d8 selinux: fix memory leak in policydb_init()
e7bb4c81b3c7 mtd: rawnand: micron: handle on-die "ECC-off" devices correctly
fafaeae4d356 IB/hfi1: Fix Spectre v1 vulnerability
fdb0fb56addb gpiolib: fix incorrect IRQ requesting of an active-low lineevent
7e3efb655012 mmc: meson-mx-sdio: Fix misuse of GENMASK macro
29841b5c6ab1 mmc: dw_mmc: Fix occasional hang after tuning on eMMC
50d700408a00 Btrfs: fix race leading to fs corruption after transaction abort
009d7a4eb329 Btrfs: fix incremental send failure after deduplication
4c5a442561e8 kbuild: initialize CLANG_FLAGS correctly in the top Makefile
3736612d2582 kconfig: Clear "written" flag to avoid data loss
4c6500b5328f drm/nouveau: fix memory leak in nouveau_conn_reset()
84ce045222e9 x86, boot: Remove multiple copy of static function sanitize_boot_params()
740e0167a382 x86/paravirt: Fix callee-saved function ELF sizes
ba5c072fbf8b x86/kvm: Don't call kvm_spurious_fault() from .fixup
11cb9f8700c9 xen/pv: Fix a boot up hang revealed by int3 self test
d3e36788d9be mlxsw: spectrum_dcb: Configure DSCP map as the last rule is removed
48c5c4f0a47f ipc/mqueue.c: only perform resource calculation if user valid
f87314225294 drivers/rapidio/devices/rio_mport_cdev.c: NUL terminate some strings
35ee8b844845 uapi linux/coda_psdev.h: move upc_req definition from uapi to kernel side headers
dea2ee496a85 coda: fix build using bare-metal toolchain
cf3ddc00a47d coda: add error handling for fget
93b83005ea87 lib/test_string.c: avoid masking memset16/32/64 failures
8e087a2abaf8 lib/test_overflow.c: avoid tainting the kernel and fix wrap size
439c79ed7718 mm/cma.c: fail if fixed declaration can't be honored
1b84e67496d3 x86: math-emu: Hide clang warnings for 16-bit overflow
242666b2b7e2 x86/apic: Silence -Wtype-limits compiler warnings
ade866ad5aed be2net: Signal that the device cannot transmit during reconfiguration
c0cca0e97ce4 ACPI: fix false-positive -Wuninitialized warning
80f58147da0f x86: kvm: avoid constant-conversion warning
d60e8c0cbccb perf version: Fix segfault due to missing OPT_END()
abfe761a5358 scsi: zfcp: fix GCC compiler warning emitted with -Wmaybe-uninitialized
d5568763dd1d ACPI: blacklist: fix clang warning for unused DMI table
c47e25526071 ceph: return -ERANGE if virtual xattr value didn't fit in buffer
b39c377ea08f ceph: fix improper use of smp_mb__before_atomic()
d29fbf677963 cifs: Fix a race condition with cifs_echo_request
f96c70fa810d btrfs: qgroup: Don't hold qgroup_ioctl_lock in btrfs_qgroup_inherit()
d9245dabfce1 btrfs: fix minimum number of chunk errors for DUP
e7fcc587e076 clk: sprd: Add check for return value of sprd_clk_regmap_init()
a093208b4c73 fs/adfs: super: fix use-after-free bug
85d854b42113 clk: tegra210: fix PLLU and PLLU_OUT1
cf0fcc7fe200 dmaengine: rcar-dmac: Reject zero-length slave DMA requests
a3524486535a MIPS: lantiq: Fix bitfield masking
cdee3f53510a firmware/psci: psci_checker: Park kthreads before stopping them
09ec6c6783ff kernel/module.c: Only return -EEXIST for modules that have finished loading
fd53e45a11e9 arm64: dts: rockchip: fix isp iommu clocks and power domain
d8388cbd4327 dmaengine: tegra-apb: Error out if DMA_PREP_INTERRUPT flag is unset
f486088d38ec ftrace: Enable trampoline when rec count returns back to one
ea26b427cb91 ARM: dts: rockchip: Mark that the rk3288 timer might stop in suspend
22befe671728 ARM: dts: rockchip: Make rk3288-veyron-mickey's emmc work again
8c5a33d34be6 ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200
3c1d1bad8a57 ARM: riscpc: fix DMA
b3060a1a313f Linux 4.19.64
4736bb277744 ip_tunnel: allow not to count pkts on tstats by setting skb's dev to NULL
475f7781a804 scsi: core: Avoid that a kernel warning appears during system resume
c58a6507363b block, scsi: Change the preempt-only flag into a counter
9b17512d9165 ceph: hold i_ceph_lock when removing caps for freeing inode
b6c3b6a2c662 Fix allyesconfig output.
135e7737e21f drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl
54695343b491 /proc/<pid>/cmdline: add back the setproctitle() special case
54ffaa53e785 /proc/<pid>/cmdline: remove all the special cases
a5a3915f17ab sched/fair: Use RCU accessors consistently for ->numa_group
48046e092ad5 sched/fair: Don't free p->numa_faults with concurrent readers
02cdc166128c vhost: scsi: add weight support
239910101c4e vhost: vsock: add weight support
3af3b843aee4 vhost_net: fix possible infinite loop
ad5fc8953d61 vhost: introduce vhost_exceeds_weight()
56966212e23f Bluetooth: hci_uart: check for missing tty operations
3a0c22cbc5d0 iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
4fd0eb60bad1 iommu/vt-d: Don't queue_iova() if there is no flush queue
b3836af8560e media: radio-raremono: change devm_k*alloc to k*alloc
afb5340f9438 NFS: Cleanup if nfs_match_client is interrupted
8edcabb2c2e9 media: pvrusb2: use a different format for warnings
8b44cc225e60 media: cpia2_usb: first wake up, then free in disconnect
693019ee7d98 ath10k: Change the warning message string
3cf6a0707088 media: au0828: fix null dereference in error path
f13ee5ae0b2f ISDN: hfcsusb: checking idx of ep configuration
22068d49d09d binder: fix possible UAF when freeing buffer
ba2c247a4515 arm64: compat: Provide definition for COMPAT_SIGMINSTKSZ
b544a6855dfb usb: dwc2: Fix disable all EP's on disconnect
ec58bfa2d412 usb: dwc2: Disable all EP's on disconnect
9e441c7844a6 NFSv4: Fix lookup revalidate of regular files
24acd93f5995 NFS: Refactor nfs_lookup_revalidate()
01eea1cbba9d NFS: Fix dentry revalidation on NFSv4 lookup
8a474bc4e613 vsock: correct removal of socket from the list
9d3586bcdae3 hv_sock: Add support for delayed close
9a9de33a9dfa Linux 4.19.63
408af82309a7 access: avoid the RCU grace period for the temporary subjective credentials
1a547d24ec8a libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl()
b993a66d8ddc powerpc/tm: Fix oops on sigreturn on systems without TM
b9310c56fcfb powerpc/xive: Fix loop exit-condition in xive_find_target_in_mask()
c219444254cf ALSA: hda - Add a conexant codec entry to let mute led work
491483ed70f1 ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1
602744097b2e ALSA: ac97: Fix double free of ac97_codec_device
9845fb5a3f90 hpet: Fix division by zero in hpet_time_div()
e4c91583b39c mei: me: add mule creek canyon (EHL) device ids
3d0a6926e610 fpga-manager: altera-ps-spi: Fix build error
e907b1314481 binder: prevent transactions to context manager from its own process.
7d20e3ba7072 x86/speculation/mds: Apply more accurate check on hypervisor platform
5e87e8b4dc0c x86/sysfb_efi: Add quirks for some devices with swapped width and height
e3dc9ea5464e btrfs: inode: Don't compress if NODATASUM or NODATACOW set
1f37bec82f41 usb: pci-quirks: Correct AMD PLL quirk detection
41d3dbb931c0 usb: wusbcore: fix unbalanced get/put cluster_id
148959cc64e1 locking/lockdep: Hide unused 'class' variable
b07687243d4a mm: use down_read_killable for locking mmap_sem in access_remote_vm
4acb04ef5e42 locking/lockdep: Fix lock used or unused stats error
af0883f9dcf6 proc: use down_read_killable mmap_sem for /proc/pid/maps
0d72bb853afc cxgb4: reduce kernel stack usage in cudbg_collect_mem_region()
6ecdcbcd3091 proc: use down_read_killable mmap_sem for /proc/pid/map_files
3d617da8a956 proc: use down_read_killable mmap_sem for /proc/pid/clear_refs
42beb7b3d446 proc: use down_read_killable mmap_sem for /proc/pid/pagemap
1b3042d0d32b proc: use down_read_killable mmap_sem for /proc/pid/smaps_rollup
a8c568fc4832 mm/mmu_notifier: use hlist_add_head_rcu()
3062448e3ee2 memcg, fsnotify: no oom-kill for remote memcg charging
041b127df733 mm/gup.c: remove some BUG_ONs from get_gate_page()
fa099d6ddf68 mm/gup.c: mark undo_dev_pagemap as __maybe_unused
8be4a30e2d34 9p: pass the correct prototype to read_cache_page
071f2135cfec mm/kmemleak.c: fix check for softirq context
7bd5902a1e18 sh: prevent warnings when using iounmap
af50d6a1c245 block/bio-integrity: fix a memory leak bug
7f775a67abe4 powerpc/eeh: Handle hugepages in ioremap space
e7a41b276974 dlm: check if workqueues are NULL before flushing/destroying
5d59e28c3d1b mailbox: handle failed named mailbox channel request
2140a6b03a61 f2fs: avoid out-of-range memory access
8a1a3d383923 block: init flush rq ref count to 1
4b9dc73a0d4a powerpc/boot: add {get, put}_unaligned_be32 to xz_config.h
549f726fb094 PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB
367cc371a8e3 RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM
4fe7ea29e4a6 perf hists browser: Fix potential NULL pointer dereference found by the smatch tool
915945f3bdc2 perf annotate: Fix dereferencing freed memory found by the smatch tool
b305dcff1518 perf session: Fix potential NULL pointer dereference found by the smatch tool
19cf571c64b7 perf top: Fix potential NULL pointer dereference detected by the smatch tool
995527db41f6 perf stat: Fix use-after-freed pointer detected by the smatch tool
3b8c4eae5541 perf test mmap-thread-lookup: Initialize variable to suppress memory sanitizer warning
dd0a0c72a10f PCI: mobiveil: Use the 1st inbound window for MEM inbound transactions
270972df68fb PCI: mobiveil: Initialize Primary/Secondary/Subordinate bus numbers
9eb4f2886db3 kallsyms: exclude kasan local symbols on s390
4613f46ef472 PCI: mobiveil: Fix the Class Code field
51308ec525cc PCI: mobiveil: Fix PCI base address in MEM/IO outbound windows
05959ed85e34 arm64: assembler: Switch ESB-instruction with a vanilla nop if !ARM64_HAS_RAS
007b01a27d4d IB/ipoib: Add child to parent list only if device initialized
d48720bafd90 powerpc/mm: Handle page table allocation failures
f14537bb81d1 IB/mlx5: Fixed reporting counters on 2nd port for Dual port RoCE
d03aeb8d6b98 serial: sh-sci: Fix TX DMA buffer flushing and workqueue races
48c73b8ee5c9 serial: sh-sci: Terminate TX DMA during buffer flushing
ca730bf0cd67 RDMA/i40iw: Set queue pair state when being queried
52373ab6a6c7 powerpc/4xx/uic: clear pending interrupt after irq type/pol change
74520144700d um: Silence lockdep complaint about mmap_sem
30edc7c1fed5 mm/swap: fix release_pages() when releasing devmap pages
b4e77006d5a7 mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk
9b1691c3f660 mfd: arizona: Fix undefined behavior
d9c74176c275 mfd: core: Set fwnode for created devices
7b24a4a363a9 mfd: madera: Add missing of table registration
e00cf1dac30c recordmcount: Fix spurious mcount entries on powerpc
9fac39480e39 powerpc/xmon: Fix disabling tracing while in xmon
a80f67d5560c powerpc/cacheflush: fix variable set but not used
b150423e0d5e iio: iio-utils: Fix possible incorrect mask calculation
fc9c15c4e3ff PCI: xilinx-nwl: Fix Multi MSI data programming
e3e2bb12c8a7 genksyms: Teach parser about 128-bit built-in types
27f2335e1440 kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGS
1fa94381fdeb i2c: stm32f7: fix the get_irq error cases
f930727faef2 PCI: sysfs: Ignore lockdep for remove attribute
9d45fbee76af serial: mctrl_gpio: Check if GPIO property exisits before requesting it
e7f206f42fb6 drm/msm: Depopulate platform on probe failure
216462fa884f powerpc/pci/of: Fix OF flags parsing for 64bit BARs
5d3ad905af43 mmc: sdhci: sdhci-pci-o2micro: Check if controller supports 8-bit width
bf7cf9fb02db usb: gadget: Zero ffs_io_data
ac380eb479de tty: serial_core: Set port active bit in uart_port_activate
785e11c06db3 serial: imx: fix locking in set_termios()
741f8b39b6d4 drm/rockchip: Properly adjust to a true clock in adjusted_mode
fd0d171c7064 powerpc/pseries/mobility: prevent cpu hotplug during DT update
6a7047471073 drm/amd/display: fix compilation error
709ca46f1d46 phy: renesas: rcar-gen2: Fix memory leak at error paths
725c7b781150 drm/virtio: Add memory barriers for capset cache.
11b4e9f3695c drm/amd/display: Always allocate initial connector state state
1a2425b597fa serial: 8250: Fix TX interrupt handling condition
a0e7d6b7fa55 tty: serial: msm_serial: avoid system lockup condition
e40f5a873fc7 tty/serial: digicolor: Fix digicolor-usart already registered warning
5c0e54839d48 memstick: Fix error cleanup path of memstick_init
0a50a272389f drm/crc-debugfs: Also sprinkle irqrestore over early exits
26a66454541c drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry
4d14323a2eb5 gpu: host1x: Increase maximum DMA segment size
f9bfd6bd8223 drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz
7af9abd7d6bd drm/bridge: tc358767: read display_props in get_modes()
49c7230d8f10 PCI: Return error if cannot probe VF
2a18d76592e0 drm/edid: Fix a missing-check bug in drm_load_edid_firmware()
210dfe630911 drm/amdkfd: Fix sdma queue map issue
db64bc139440 drm/amdkfd: Fix a potential memory leak
6b1d2871fe36 drm/amd/display: Disable ABM before destroy ABM struct
c242a531bb06 drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStE
147137f86b5b drm/amd/display: Fill prescale_params->scale for RGB565
08b0bcc8076b tty: serial: cpm_uart - fix init when SMC is relocated
c901780d9294 pinctrl: rockchip: fix leaked of_node references
a9dfb6e43677 tty: max310x: Fix invalid baudrate divisors calculator
b0084c1b5058 usb: core: hub: Disable hub-initiated U1/U2
19755a124f4c staging: vt6656: use meaningful error code during buffer allocation
b59f7650a507 iio: adc: stm32-dfsdm: missing error case during probe
302e4cdca1f4 iio: adc: stm32-dfsdm: manage the get_irq error case
586946ce83e4 drm/panel: simple: Fix panel_simple_dsi_probe
49fb03de361d hvsock: fix epollout hang from race condition
64f4694072aa Linux 4.19.62
60e9babfda94 net: sched: verify that q!=NULL before setting q->flags
c1d98b766ebe mm: vmscan: scan anonymous pages on file refaults
7560e33369ed KVM: nVMX: Clear pending KVM_REQ_GET_VMCS12_PAGES when leaving nested
967bc679c596 KVM: nVMX: do not use dangling shadow VMCS after guest reset
3a17ca864baf ext4: allow directory holes
caa4e08253eb ext4: use jbd2_inode dirty range scoping
af3812b65c37 jbd2: introduce jbd2_inode dirty range scoping
4becd6c11e9a mm: add filemap_fdatawait_range_keep_errors()
c9ea4620a37f ext4: enforce the immutable flag on open files
29171e82348c ext4: don't allow any modifications to an immutable file
4a5cc64d8a8a perf/core: Fix race between close() and fork()
75100ec5f079 perf/core: Fix exclusive events' grouping
0e6ef184315d MIPS: lb60: Fix pin mappings
dd5994ab1f00 gpio: davinci: silence error prints in case of EPROBE_DEFER
c947cf3e9583 dma-buf: Discard old fence_excl on retrying get_fences_rcu for realloc
95ee55cab118 dma-buf: balance refcount inbalance
b72fb8dec183 net: bridge: stp: don't cache eth dest pointer before skb pull
78701843ecc4 net: bridge: don't cache ether dest pointer on input
41a8df71809e net: bridge: mcast: fix stale ipv6 hdr pointer when handling v6 query
caf4488fc06e net: bridge: mcast: fix stale nsrcs pointer in igmp3/mld2 report handling
bc9a2f36a7d6 sctp: not bind the socket in sctp_connect
fde351aeff4a net/tls: make sure offload also gets the keys wiped
d9571a9f5ec1 net_sched: unset TCQ_F_CAN_BYPASS when adding filters
69cd58454615 netrom: hold sock when setting skb->destructor
dc59a2abd33e netrom: fix a memory leak in nr_rx_frame()
0c5cb5a12623 macsec: fix checksumming after decryption
21252f49cddf macsec: fix use-after-free of skb during RX
a8ba53da071e net/mlx5e: IPoIB, Add error path in mlx5_rdma_setup_rn
a2aa162a6331 vrf: make sure skb->data contains ip header to make routing
1b200acde418 tcp: Reset bytes_acked and bytes_received when disconnecting
c60f57dfe995 tcp: fix tcp_set_congestion_control() use from bpf hook
6323c238bb43 tcp: be more careful in tcp_fragment()
b640ade07295 sky2: Disable MSI on ASUS P6T
d9ee5afd9165 sctp: fix error handling on stream scheduler initialization
bfa7913575b7 rxrpc: Fix send on a connected, but unbound socket
3e4e6b71ece0 r8169: fix issue with confused RX unit after PHY power-down on RTL8411b
97739e5c9e73 nfc: fix potential illegal memory access
f47f68cc9d33 net: stmmac: Re-work the queue selection for TSO packets
201d7d62a82a net: phy: sfp: hwmon: Fix scaling of RX power
c60bce64615d net: openvswitch: fix csum updates for MPLS actions
257441a07201 net: neigh: fix multiple neigh timer scheduling
832d0ea751a8 net: make skb_dst_force return true when dst is refcounted
6ab30a4cc5c6 net: dsa: mv88e6xxx: wait after reset deactivation
5832ef4afd90 net: bcmgenet: use promisc for unsupported filters
c0f4a6447977 ipv6: Unlink sibling route in case of failure
0bd84505f16f ipv6: rt6_check should return NULL if 'from' is NULL
47ce442783d7 ipv4: don't set IPv6 only flags to IPv4 addresses
aee5dd00341b igmp: fix memory leak in igmpv3_del_delrec()
9770fe1b202f hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()
d7cdac6dc418 caif-hsi: fix possible deadlock in cfhsi_exit_module()
8fb37be12046 bnx2x: Prevent load reordering in tx completion processing
7250956f6eaf Linux 4.19.61
025eb12bb4b0 dm bufio: fix deadlock with loop device
404f59e265ac dt-bindings: allow up to four clocks for orion-mdio
03e6a668ea1f net: mvmdio: allow up to four clocks to be specified for orion-mdio
dd87cc633ba5 blkcg: update blkcg_print_stat() to handle larger outputs
73efdc5d7d3b blk-iolatency: clear use_delay when io.latency is set to zero
1ab644bd02ab blk-throttle: fix zero wait time for iops throttled group
91da712ff592 usb: Handle USB3 remote wakeup for LPM enabled devices correctly
152ddf9f0458 Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug
98318cd31b95 intel_th: msu: Fix single mode with disabled IOMMU
d6328d7c1a71 mtd: spinand: read returns badly if the last page has bitflips
94f1db42a968 mtd: rawnand: mtk: Correct low level time calculation of r/w cycle
30c6b34759f6 eCryptfs: fix a couple type promotion bugs
92e23f5fc049 mmc: sdhci-msm: fix mutex while in spinlock
01982f7bcc9d powerpc/pseries: Fix oops in hotplug memory notifier
e725502b8548 powerpc/powernv/npu: Fix reference leak
1e3b61cbc30d powerpc/watchpoint: Restore NV GPRs while returning from exception
237ac0d73b55 powerpc/32s: fix suspend/resume when IBATs 4-7 are used
7961981718d6 parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1
a6a0daa775e8 parisc: Ensure userspace privilege for ptraced processes in regset functions
ef5c2e165ab0 crypto: caam - limit output IV to CBC to work around CTR mode DMA issue
376b80276d84 gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM
ef30c0739439 xfs: abort unaligned nowait directio early
669c867972c0 xfs: serialize unaligned dio writes against all other dio writes
d61d885b17b0 xfs: fix reporting supported extra file attributes for statx()
f614ef7a34b0 xfs: reserve blocks for ifree transaction during log recovery
424543a53ae0 xfs: don't ever put nlink > 0 inodes on the unlinked list
3a895cc066c0 xfs: rename m_inotbt_nores to m_finobt_nores
2ab62234e823 xfs: don't overflow xattr listent buffer
1dc8b13cc66d xfs: flush removing page cache in xfs_reflink_remap_prep
788920d12b95 xfs: fix pagecache truncation prior to reflink
41f64437f030 include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
afa3e571cde3 coda: pass the host file in vma->vm_file on mmap
2c0222b48e77 libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields
656d06dab4d6 HID: wacom: correct touch resolution x/y typo
1c871b4006b2 HID: wacom: generic: Correct pad syncing
46f71a15abe7 HID: wacom: generic: only switch the mode on devices with LEDs
cb4c2b94f629 IB/mlx5: Report correctly tag matching rendezvous capability
4bd953241d81 Btrfs: add missing inode version, ctime and mtime updates when punching hole
fffedf5cf67e Btrfs: fix fsync not persisting dentry deletions due to inode evictions
110850fffeb0 Btrfs: fix data loss after inode eviction, renaming it, and fsync it
6b71c62ea9da PCI: qcom: Ensure that PERST is asserted for at least 100 ms
529e71cae929 PCI: Do not poll for PME if the device is in D3cold
4d8504004c86 PCI: hv: Fix a use-after-free bug in hv_eject_device_work()
f0ff76a42ef5 intel_th: pci: Add Ice Lake NNPI support
66a13b5e4e9c drm/edid: parse CEA blocks embedded in DisplayID
9854e06842bc perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs
82c46f7b0918 perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs
a847a5225432 perf/x86/intel: Fix spurious NMI on fixed counter
0d4c0bb70665 x86/boot: Fix memory leak in default_get_smp_config()
b52807e607f1 9p/virtio: Add cleanup path in p9_virtio_init
1253882d64d0 9p/xen: Add cleanup path in p9_trans_xen_init
007e5aaf287c xen/events: fix binding user event channels to cpus
e380170b3b3a dm zoned: fix zone state management race
1e4247d7958b padata: use smp_mb in padata_reorder to avoid orphaned padata jobs
0489d808a5f2 drm/nouveau/i2c: Enable i2c pads & busses during preinit
c77cbc873586 kconfig: fix missing choice values in auto.conf
2c7b50c7b1d0 fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.
ba271659ad42 arm64: tegra: Fix AGIC register range
ba27a25df6df KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed
87bae91a0fe9 media: videobuf2-dma-sg: Prevent size from overflowing
cb2e2b0ae554 media: videobuf2-core: Prevent size alignment wrapping buffer size to 0
deb78bd24e0c media: coda: Remove unbalanced and unneeded mutex unlock
fc0232e24541 media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()
a4c4c06f1755 ALSA: hda/realtek: apply ALC891 headset fixup to one Dell machine
8ba78e4d564e ALSA: hda/realtek - Fixed Headphone Mic can't record on Dell platform
c92212a81617 ALSA: seq: Break too long mutex context in the write loop
eb6c84e4b4f2 raid5-cache: Need to do start() part job after adding journal device
3f42c0000b23 ASoC: dapm: Adapt for debugfs API change
677b2aa3be5c lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE
0b174bac4e43 pnfs: Fix a problem where we gratuitously start doing I/O through the MDS
f64ff5914f00 pNFS: Fix a typo in pnfs_update_layout
603e7497bf27 pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
5347e61954fc NFSv4: Handle the special Linux file open access mode
6825ff011c7c iwlwifi: fix RF-Kill interrupt while FW load for gen2 devices
a32e2ceca0ef iwlwifi: don't WARN when calling iwl_get_shared_mem_conf with RF-Kill
d9ce0788da91 iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X
04c52c105a38 iwlwifi: pcie: don't service an interrupt that was masked
7ebddd5fe217 arm64: tegra: Update Jetson TX1 GPU regulator timings
042451b921b1 regulator: s2mps11: Fix buck7 and buck8 wrong voltages
8da63aa46e26 Input: alps - fix a mismatch between a condition check and its comment
81368a9a98d9 Input: synaptics - whitelist Lenovo T580 SMBus intertouch
cfb9250619c8 Input: alps - don't handle ALPS cs19 trackpoint-only device
d657077eda7b Input: gtco - bounds check collection indent level
f11ba9df8eed bcache: destroy dc->writeback_write_wq if failed to create dc->writeback_thread
2ab14861d2eb bcache: fix mistaken sysfs entry for io_error counter
3c466df8fc59 bcache: ignore read-ahead request failure on backing device
4fc48cd21a31 bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
ab966241d59a bcache: Revert "bcache: fix high CPU occupancy during journal"
58169c189bd6 Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
c3b7d27f3746 crypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe
a9fd1795fee6 crypto: ccp/gcm - use const time tag comparison.
561c4424f1e3 crypto: ccp - memset structure fields to zero before reuse
13805a5df489 crypto: crypto4xx - block ciphers should only accept complete blocks
17e63172d536 crypto: crypto4xx - fix blocksize for cfb and ofb
4598094d24c7 crypto: crypto4xx - fix AES CTR blocksize value
1c9b0a766513 crypto: chacha20poly1305 - fix atomic sleep when using async algorithm
eb99c084da28 crypto: arm64/sha2-ce - correct digest for empty data in finup
4230e09e61e6 crypto: arm64/sha1-ce - correct digest for empty data in finup
52f07c1ac70e crypto: ccp - Validate the the error value used to index error messages
bed97f646997 crypto: ghash - fix unaligned memory access in ghash_setkey()
ce7ec07abaf7 scsi: mac_scsi: Fix pseudo DMA implementation, take 2
de769c762626 scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
3e9534fa5046 scsi: megaraid_sas: Fix calculation of target ID
1334a3e2d6d0 scsi: core: Fix race on creating sense cache
58f59f6072ab Revert "scsi: ncr5380: Increase register polling limit"
7cfded7a705c scsi: NCR5380: Always re-enable reselection interrupt
d91baba81a6e scsi: NCR5380: Reduce goto statements in NCR5380_select()
e73db096691e xen: let alloc_xenballooned_pages() fail if not enough memory free
ff54c44f1038 floppy: fix out-of-bounds read in copy_buffer
a9444d9d0f6f floppy: fix invalid pointer dereference in drive_name
5b565f3276f3 floppy: fix out-of-bounds read in next_valid_format
6e34fd07484a floppy: fix div-by-zero in setup_format_params
7c16c5eae41a iavf: fix dereference of null rx_buffer pointer
e9896b29d010 net: mvmdio: defer probe of orion-mdio if a clock is not ready
5f6c5f5ae25e gtp: fix use-after-free in gtp_newlink()
141222216438 gtp: fix use-after-free in gtp_encap_destroy()
0a5eca2c949c gtp: fix Illegal context switch in RCU read-side critical section.
e117a04133c6 gtp: fix suspicious RCU usage
202de90df2b7 Bluetooth: validate BLE connection interval updates
ca33af18b5fc gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
0fdb922d0ef0 Bluetooth: Check state in l2cap_disconnect_rsp
3b57b7a3a82a perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
c814f618b799 Bluetooth: 6lowpan: search for destination address in all peers
c82c4910e9e6 Bluetooth: Add new 13d3:3501 QCA_ROME device
1cbce19bd697 Bluetooth: Add new 13d3:3491 QCA_ROME device
578658df21d5 Bluetooth: hci_bcsp: Fix memory leak in rx_skb
9d47bd217539 tools: bpftool: Fix json dump crash on powerpc
2ad04d31bb3e gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
157d1c7a1a00 bonding: validate ip header before check IPPROTO_IGMP
88f751b066f2 selftests: bpf: fix inlines in test_lwt_seg6local
ef5b204336b3 bpf, libbpf, smatch: Fix potential NULL pointer dereference
0f2f2cebe64d rxrpc: Fix oops in tracepoint
ca37b9a74689 net: usb: asix: init MAC address buffers
51216937c319 bnx2x: Prevent ptp_task to be rescheduled indefinitely
e358d2ab42f8 perf stat: Fix group lookup for metric group
a64e018be77a perf stat: Make metric event lookup more robust
7343178ccf7d bpf: fix uapi bpf_prog_info fields alignment
af3790a46a55 iwlwifi: mvm: Drop large non sta frames
036184af23e0 igb: clear out skb->tstamp after reading the txtime
0024b12b776c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift
05592b9b7f25 ath10k: destroy sdio workqueue while remove sdio module
26d86b29e806 net: hns3: add some error checking in hclge_tm module
ddfdbcccd71a net: hns3: fix a -Wformat-nonliteral compile warning
95d084809495 bcache: fix potential deadlock in cached_def_free()
4b7758e9c4ed bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush()
81b88c05bc45 bcache: acquire bch_register_lock later in cached_dev_free()
d81080a0bcf8 bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()
57cfb755c356 bcache: check CACHE_SET_IO_DISABLE in allocator code
e78d1d234469 EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec
e54cc89e6f0a wil6210: drop old event after wmi_call timeout
0388597d0627 crypto: asymmetric_keys - select CRYPTO_HASH where needed
1dea395c9e12 crypto: serpent - mark __serpent_setkey_sbox noinline
b346070c72cd ixgbe: Check DDM existence in transceiver before access
0340c621eca8 rslib: Fix handling of of caller provided syndrome
8ba93c59441a rslib: Fix decoding of shortened codes
dad0b17e4a4e xsk: Properly terminate assignment in xskq_produce_flush_desc
e69fac59c493 clocksource/drivers/exynos_mct: Increase priority over ARM arch timer
12e20eca894b libata: don't request sense data on !ZAC ATA devices
6e6bc34f8570 ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
1182ff224847 perf tools: Increase MAX_NR_CPUS and MAX_CACHES
7201cc227d4a ath10k: fix PCIE device wake up failed
8a808fadc9f7 ath10k: add missing error handling
fe2ceeb4cffc ipvs: fix tinfo memory leak in start_sync_thread
20de38d282b3 mt7601u: fix possible memory leak when the device is disconnected
033577880135 x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c
3f7952b275c8 mt7601u: do not schedule rx_tasklet when the device has been disconnected
6f6e126e1995 rtlwifi: rtl8192cu: fix error handle when usb probe failed
41864adfee2e net: stmmac: sun8i: force select external PHY when no internal one
bce037abc29f media: hdpvr: fix locking and a missing msleep
43b9fdc48377 media: vimc: cap: check v4l2_fill_pixfmt return value
d562537dbf0d media: coda: increment sequence offset for the last returned frame
3697c12c4425 media: coda: fix last buffer handling in V4L2_ENC_CMD_STOP
6fd3e9f65db9 media: coda: fix mpeg2 sequence number handling
c647c00f28af acpi/arm64: ignore 5.1 FADTs that are reported as 5.0
b9f547b7bdd9 timer_list: Guard procfs specific code
d86c0b73f75b ntp: Limit TAI-UTC offset
8d8f0b9009d0 media: i2c: fix warning same module names
6439110fbeee media: s5p-mfc: Make additional clocks optional
57de3c78f0b7 ipvs: defer hook registration to avoid leaks
06a3cd416224 ipsec: select crypto ciphers for xfrm_algo
723ba7938492 arm64: Do not enable IRQs for ct_user_exit
010bfbc93424 lightnvm: pblk: fix freeing of merged pages
762bba1b7ee7 nvme-pci: set the errno on ctrl state change error
c876a66553d7 nvme-pci: properly report state change failure in nvme_reset_work
f0c83dd15ee1 nvme: fix possible io failures when removing multipathed ns
10cc3a65a55b EDAC/sysfs: Fix memory leak when creating a csrow object
f6502ce4f050 ACPICA: Clear status of GPEs on first direct enable
3ae98dc2db1e blk-iolatency: only account submitted bios
a952f7c384aa x86/cacheinfo: Fix a -Wtype-limits warning
3252b29ea41b ipoib: correcly show a VF hardware address
0e2af9b06c00 vhost_net: disable zerocopy by default
4c57957ed6c8 perf evsel: Make perf_evsel__name() accept a NULL argument
9e0bcb59b6c0 x86/atomic: Fix smp_mb__{before,after}_atomic()
dd0260fd1e3a perf/x86/intel/uncore: Handle invalid event coding for free-running counter
7fc96cd2b0de sched/fair: Fix "runnable_avg_yN_inv" not used warnings
d8b7db6c5004 sched/core: Add __sched tag for io_schedule()
930655b01367 xfrm: fix sa selector validation
b7d66bbc8ad3 blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
c8f75e753784 block: null_blk: fix race condition for null_del_dev
1a3706d8f800 net: hns3: fix for skb leak when doing selftest
6a47a42f51cf qed: iWARP - Fix tc for MPA ll2 connection
670fb965da03 x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS
366ae49ed78c rcu: Force inlining of rcu_read_lock()
1fb3ce14f28d ASoC: meson: axg-tdm: fix sample clock inversion
32df4043aed4 x86/cpu: Add Ice Lake NNPI to Intel family
914026d58100 selinux: fix empty write to keycreate file
10e3788e6575 media: s5p-mfc: fix reading min scratch buffer size on MFC v6/v7
7c10f8941b95 bpf: silence warning messages in core
b01bf44c363d regmap: fix bulk writes on paged registers
544cd592ca72 gpio: omap: ensure irq is enabled before wakeup
ddeef7a00050 gpio: omap: fix lack of irqstatus_raw0 for OMAP4
79644b600850 iommu: Fix a leak in iommu_insert_resv_region
f2a4624be8f3 media: fdp1: Support M3N and E3 platforms
63e53991d791 media: uvcvideo: Fix access to uninitialized fields on probe error
c844f4da9b92 irqchip/meson-gpio: Add support for Meson-G12A SoC
eac8b39d089a perf report: Fix OOM error in TUI mode on s390
be32a9dc3f62 perf test 6: Fix missing kvm module load for s390
3662d8bca087 perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode
ac510285d40b ipset: Fix memory accounting for hash types on resize
c7bf2df45044 net: sfp: add mutex to prevent concurrent state checks
fa4059c5497e RAS/CEC: Fix pfn insertion
99dcd701465f s390/qdio: handle PENDING state for QEBSM devices
a76f32cbd38c net: axienet: Fix race condition causing TX hang
9d643358386d net: fec: Do not use netdev messages too early
403c43921479 crypto: inside-secure - do not rely on the hardware last bit for result descriptors
50331c64f3dd net: stmmac: modify default value of tx-frames
1a0a837afc41 net: stmmac: dwmac4: fix flow control issue
713737cac327 perf jvmti: Address gcc string overflow warning for strncpy()
fb83987cbe6b arm64: mm: make CONFIG_ZONE_DMA32 configurable
c360eb592938 cpupower : frequency-set -r option misses the last cpu in related cpu list
cac3032062e5 net: hns3: set ops to null when unregister ad_dev
35407917b0bc media: wl128x: Fix some error handling in fm_v4l2_init_video_device()
2fbde2746597 locking/lockdep: Fix merging of hlocks with non-zero references
909034b8ac64 batman-adv: Fix duplicated OGMs on NETDEV_UP
aa2ad8b6fb2f tua6100: Avoid build warnings.
9072450736d0 crypto: talitos - Align SEC1 accesses to 32 bits boundaries.
9d25aedef08f crypto: talitos - properly handle split ICV.
fc25cfb03ea2 net: phy: Check against net_device being NULL
ef10d46d04a5 media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
e36f25627362 media: saa7164: fix remove_proc_entry warning
ea904c9f6a33 media: mc-device.c: don't memset __user pointer contents
a6dd4862b98f perf annotate TUI browser: Do not use member from variable within its own initialization
71b029a5d908 fscrypt: clean up some BUG_ON()s in block encryption/decryption
2c6acf7478aa xfrm: Fix xfrm sel prefix length validation
0544b64ceb64 af_key: fix leaks in key_pol_get_resp and dump_sp.
b397462a010d signal/pid_namespace: Fix reboot_pid_ns to use send_sig not force_sig
1c8e736115cd qed: Set the doorbell address correctly
df6680de7a20 net: stmmac: dwmac4/5: Clear unused address entries
d3969670cb5a net: stmmac: dwmac1000: Clear unused address entries
810441651a8a media: media_device_enum_links32: clean a reserved field
6fb470ace862 media: vpss: fix a potential NULL pointer dereference
70da38e80509 media: marvell-ccic: fix DMA s/g desc number calculation
add712b63185 media: ov7740: avoid invalid framesize setting
b0e199e13495 crypto: talitos - fix skcipher failure due to wrong output IV
6452712f95e3 media: spi: IR LED: add missing of table registration
94f2b518a788 media: dvb: usb: fix use after free in dvb_usb_device_exit
8f855c09e2af batman-adv: fix for leaked TVLV handler.
83d133c96aad regmap: debugfs: Fix memory leak in regmap_debugfs_init
2b5b12c0c1b7 ath: DFS JP domain W56 fixed pulse type 3 RADAR detection
da153c0c5746 wil6210: fix spurious interrupts in 3-msi
a4bf4fecff16 ath10k: add peer id check in ath10k_peer_find_by_id
83c911f4bd68 ath6kl: add some bounds checking
42dcbf20e182 ath9k: Check for errors when reading SREV register
7e19e658e535 ath10k: Do not send probe response template for mesh
009edc622bba wil6210: fix potential out-of-bounds read
09593c25b975 dmaengine: imx-sdma: fix use-after-free on probe error path
06e15cf5aead scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported
37cb02da44dc arm64/efi: Mark __efistub_stext_offset as an absolute symbol explicitly
73ebefc814ef MIPS: fix build on non-linux hosts
7202df6be6ec MIPS: ath79: fix ar933x uart parity mode
be9b6782a9eb Linux 4.19.60
d173ce091c1a x86/entry/32: Fix ENDPROC of common_spurious
466bdfc6c4d6 drm/udl: move to embedding drm device inside udl device.
af48f7d79fae drm/udl: Replace drm_dev_unref with drm_dev_put
cfd99eccede5 drm/udl: introduce a macro to convert dev to udl.
8f14cf159e9f regmap-irq: do not write mask register if mask_base is zero
820b010743ee crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
b24c6403633d crypto: talitos - fix hash on SEC1.
ff1ce8ef1f88 crypto: talitos - move struct talitos_edesc into talitos.h
b578b87bcab6 s390/qdio: don't touch the dsci in tiqdio_add_input_queues()
b1d52630b12a s390/qdio: (re-)initialize tiqdio list entries
02eb533e940a s390: fix stfle zero padding
9db915738e40 ARC: hide unused function unw_hdr_alloc
fc6975ee932b x86/irq: Seperate unused system vectors from spurious entry again
9494cd392885 x86/irq: Handle spurious interrupt after shutdown gracefully
7897f5a443fb x86/ioapic: Implement irq_get_irqchip_state() callback
6074f6043c49 genirq: Add optional hardware synchronization for shutdown
3f10ccc29780 genirq: Fix misleading synchronize_irq() documentation
578db1aa595b genirq: Delay deactivation in free_irq()
2656ee5a5ad5 linux/kernel.h: fix overflow for DIV_ROUND_UP_ULL
9c875e8556d4 pinctrl: mediatek: Update cur_mask in mask/mask ops
f6e01328cb0e cpu/hotplug: Fix out-of-bounds read when setting fail state
fa99487a43cf pinctrl: mediatek: Ignore interrupts that are wake only during resume
cd2646e57ec5 HID: multitouch: Add pointstick support for ALPS Touchpad
9ea3b131441e HID: chicony: add another quirk for PixArt mouse
94968c37b6d3 x86/boot/64: Add missing fixup_pointer() for next_early_pgt access
729d25f43b64 x86/boot/64: Fix crash if kernel image crosses page table boundary
136847140cc8 dm verity: use message limit for data block corruption message
042be78692ae dm table: don't copy from a NULL pointer in realloc_argv()
0fc080bc9a72 pinctrl: mcp23s08: Fix add_data and irqchip_add_nested call order
00640eb0eafa ARM: dts: imx6ul: fix PWM[1-4] interrupts
a8cc2a2c2841 sis900: fix TX completion
3232bccddeba ppp: mppe: Add softdep to arc4
5ec7753c7c9e be2net: fix link failure after ethtool offline test
2a6ee36917f0 x86/apic: Fix integer overflow on 10 bit left shift of cpu_khz
fdfff855cd36 afs: Fix uninitialised spinlock afs_volume::cb_break_lock
d47f06ab0c0e ARM: omap2: remove incorrect __init annotation
5d3c45538151 ARM: dts: gemini Fix up DNS-313 compatible string
afda29dc5ac6 perf/core: Fix perf_sample_regs_user() mm check
627fdcc9b718 efi/bgrt: Drop BGRT status field reserved bits check
cf4deb2d4de6 clk: ti: clkctrl: Fix returning uninitialized data
ff232a47567f irqchip/gic-v3-its: Fix command queue pointer comparison bug
244db54441a1 firmware: improve LSM/IMA security behaviour
079d7f16a973 drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
68048dce650e nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header
86859ef10d25 Input: synaptics - enable SMBUS on T480 thinkpad trackpad
438a3dc6f2c3 e1000e: start network tx queue only when link is up
8020568b404b Revert "e1000e: fix cyclic resets at link up with active tx"
3bd837bfe431 Linux 4.19.59
70bae382b3dc staging: rtl8712: reduce stack usage, again
b46475ecd930 staging: bcm2835-camera: Handle empty EOS buffers whilst streaming
0ee144effcc3 staging: bcm2835-camera: Remove check of the number of buffers supplied
fcbc6ddcd624 staging: bcm2835-camera: Ensure all buffers are returned on disable
4502c43d7f3b staging: bcm2835-camera: Replace spinlock protecting context_map with mutex
22a20b9f6d9f staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work
cc396afa1959 MIPS: Remove superfluous check for __linux__
d202b5adccfb VMCI: Fix integer overflow in VMCI handle arrays
486c32325caa carl9170: fix misuse of device driver API
524ad00e80b7 binder: fix memory leak in error path
294b893a41cd lkdtm: support llvm-objcopy
5c90a2ecd08a HID: Add another Primax PIXART OEM mouse quirk
c04c751bef87 staging: comedi: amplc_pci230: fix null pointer deref on interrupt
4e49c6c91c18 staging: comedi: dt282x: fix a null pointer deref on interrupt
8419fd562a09 drivers/usb/typec/tps6598x.c: fix 4CC cmd write
63b3028cd590 drivers/usb/typec/tps6598x.c: fix portinfo width
57e16e0d8c68 usb: renesas_usbhs: add a workaround for a race condition of workqueue
aa9a8038ea8b usb: dwc2: use a longer AHB idle timeout in dwc2_core_reset()
cac4a04202fb usb: gadget: ether: Fix race between gether_disconnect and rx_submit
449a8d08a4bc p54usb: Fix race between disconnect and firmware loading
135d9ba3b285 Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
0891268f36a2 USB: serial: option: add support for GosunCn ME3630 RNDIS mode
0a1c811bf033 USB: serial: ftdi_sio: add ID for isodebug v1
bb902b6c87ff mwifiex: Don't abort on small, spec-compliant vendor IEs
ffbbd626e1ce mwifiex: Abort at too short BSS descriptor element
a2a24b57c27a Documentation/admin: Remove the vsyscall=native documentation
8a815007f5fe Documentation: Add section about CPU vulnerabilities for Spectre
bd9604022eb3 x86/tls: Fix possible spectre-v1 in do_get_thread_area()
68ff28291a4f x86/ptrace: Fix possible spectre-v1 in ptrace_get_debugreg()
d8e26651ce8d perf pmu: Fix uncore PMU alias list for ARM64
018524b75852 block, bfq: NULL out the bic when it's no longer valid
ff75e5f41e88 ALSA: hda/realtek - Headphone Mic can't record after S3
87c3262b00d8 ALSA: usb-audio: Fix parse of UAC2 Extension Units
ef374f5a2731 media: stv0297: fix frequency range limit
5db079eb0acd udf: Fix incorrect final NOT_ALLOCATED (hole) extent length
0fc3e9b9b603 fscrypt: don't set policy for a dead directory
e9f76b954336 net :sunrpc :clnt :Fix xps refcount imbalance on the error path
810cfc3d9d2e NFS4: Only set creation opendata if O_CREAT
7075654ce7d0 net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6185_g1_vtu_loadpurge()
606561e16186 quota: fix a problem about transfer quota
5ad566af08c1 scsi: qedi: Check targetname while finding boot target information
37232abb6ea3 net: lio_core: fix potential sign-extension overflow on large shift
740b2ac49518 ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL
a02ac12d2d48 drm: return -EFAULT if copy_to_user() fails
4c938a635fc3 bnx2x: Check if transceiver implements DDM before access
270ae00a0346 md: fix for divide error in status_resync
5533d9ed4112 mmc: core: complete HS400 before checking status
2da80536f629 qmi_wwan: extend permitted QMAP mux_id value range
dc84e98393f7 qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode
dbc6a83cf2bc qmi_wwan: add support for QMAP padding in the RX path
292ba5b1faf4 bpf, x64: fix stack layout of JITed bpf code
4c2ce7addda8 bpf, devmap: Add missing RCU read lock on flush
ab44f8bcf2e5 bpf, devmap: Add missing bulk queue free
8d09e862103b bpf, devmap: Fix premature entry free on destroying map
ba0afe520ee9 mac80211: do not start any work during reconfigure flow
de8cf2c0bc64 mac80211: only warn once on chanctx_conf being NULL
9c2dd6d47131 ARM: davinci: da8xx: specify dma_coherent_mask for lcdc
3bbcc8b9ad37 ARM: davinci: da850-evm: call regulator_has_full_constraints()
443250665388 mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed
512bbb114b99 KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy
41420ac584d7 Input: imx_keypad - make sure keyboard can always wake up system
b71f312e9bf7 riscv: Fix udelay in RV32.
122c6a71c08d drm/vmwgfx: fix a warning due to missing dma_parms
d3861d4ca94c drm/vmwgfx: Honor the sg list segment size limitation
c0b12abd1828 s390/boot: disable address-of-packed-member warning
e71daed5176f ARM: dts: am335x phytec boards: Fix cd-gpios active level
822c2ee81c63 ibmvnic: Fix unchecked return codes of memory allocations
0f06004d16be ibmvnic: Refresh device multicast list after reset
e65dd528bb8e ibmvnic: Do not close unopened driver during reset
374180b11b29 net: phy: rename Asix Electronics PHY driver
473a75c7fab5 can: af_can: Fix error path of can_init()
486954277fc1 can: m_can: implement errata "Needless activation of MRAF irq"
270149f78b9c can: mcp251x: add support for mcp25625
33672c74b484 dt-bindings: can: mcp251x: add mcp25625 support
07c96e8e8021 soundwire: intel: set dai min and max channels correctly
c7e427e28a3a mwifiex: Fix heap overflow in mwifiex_uap_parse_tail_ies()
8e115a079940 iwlwifi: Fix double-free problems in iwl_req_fw_callback()
d4c0f752c1d2 mwifiex: Fix possible buffer overflows at parsing bss descriptor
b8588a0981b7 mac80211: free peer keys before vif down in mesh
acc42e5c2322 mac80211: mesh: fix RCU warning
e3868c1a462f staging:iio:ad7150: fix threshold mode config bit
6b1ce3971e05 soundwire: stream: fix out of boundary access on port properties
6be857082611 bpf: sockmap, fix use after free from sleep in psock backlog workqueue
bc84982f977d mac80211: fix rate reporting inside cfg80211_calculate_bitrate_he()
3c24a931e972 samples, bpf: suppress compiler warning
e7779115bbd9 samples, bpf: fix to change the buffer size for read()
fe01e93c3fd1 Input: elantech - enable middle button support on 2 ThinkPads
2883fc1ece69 soc: bcm: brcmstb: biuctrl: Register writes require a barrier
2f1c962a7416 soc: brcmstb: Fix error path for unsupported CPUs
e8250f730410 crypto: talitos - rename alternative AEAD algos.
7a6bfa08b938 Linux 4.19.58
f37de75cb8eb dmaengine: imx-sdma: remove BD_INTR for channel0
018c968de710 dmaengine: qcom: bam_dma: Fix completed descriptors count
870de1499505 MIPS: have "plain" make calls build dtbs for selected platforms
8957895b35de MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
2b8f8a80ca8b MIPS: Fix bounds check virt_addr_valid
80b25628ff26 svcrdma: Ignore source port when computing DRC hash
8129a10ce78f nfsd: Fix overflow causing non-working mounts on 1 TB machines
f25c06955f8d KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC
f6472f50fbfc KVM: x86: degrade WARN to pr_warn_ratelimited
ac0024baf073 netfilter: ipv6: nf_defrag: accept duplicate fragments again
54e8cf41b20b bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
e6c288f7307e net: hns: fix unsigned comparison to less than zero
4f24801ef50b sc16is7xx: move label 'err_spi' to correct section
318244f3641a netfilter: ipv6: nf_defrag: fix leakage of unqueued fragments
a8891c5e2251 ip6: fix skb leak in ip6frag_expire_frag_queue()
382bc84da904 rds: Fix warning.
7e6af1fa80b8 ALSA: hda: Initialize power_state field properly
c8c88293bf72 net: hns: Fixes the missing put_device in positive leg for roce reset
6bf9677300f3 x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting
b91ec6ae14da selftests: fib_rule_tests: Fix icmp proto with ipv6
e2851c3ee0be scsi: tcmu: fix use after free
04096b3beace mac80211: mesh: fix missing unlock on error in table_path_del()
e2379b044d67 f2fs: don't access node/meta inode mapping after iput
e9fde78c3a4f drm/fb-helper: generic: Don't take module ref for fbcon
7821bcce20aa media: s5p-mfc: fix incorrect bus assignment in virtual child device
3ddc2a100706 net/smc: move unhash before release of clcsock
cd54dc4cd37d mlxsw: spectrum: Handle VLAN device unlinking
a8a296abee36 tty: rocket: fix incorrect forward declaration of 'rp_init()'
fb814f215013 btrfs: Ensure replaced device doesn't have pending chunk allocation
27ce6c2675f6 mm/vmscan.c: prevent useless kswapd loops
c854d9b6ef8d ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()
2e716c3b562d drm/imx: only send event on crtc disable if kept disabled
8ec242fd431b drm/imx: notify drm core before sending event during crtc disable
d2d061351d64 drm/etnaviv: add missing failure path to destroy suballoc
ec5d99e18d30 drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
ec6d8c9e6687 drm/amd/powerplay: use hardware fan control if no powerplay fan table
b6d56f4f6a49 arm64: kaslr: keep modules inside module region when KASAN is enabled
7cab3dfa6d74 ARM: dts: armada-xp-98dx3236: Switch to armada-38x-uart serial node
c8790d7f76be tracing/snapshot: Resize spare buffer if size changed
052b31810085 fs/userfaultfd.c: disable irqs for fault_pending and event locks
ea38007107d6 lib/mpi: Fix karactx leak in mpi_powm
7df1e2f59bde ALSA: hda/realtek - Change front mic location for Lenovo M710q
899377c50e60 ALSA: hda/realtek: Add quirks for several Clevo notebook barebones
d9b6936b134e ALSA: usb-audio: fix sign unintended sign extension on left shifts
7f52af5e9baa ALSA: line6: Fix write on zero-sized buffer
3663bf2baa97 ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages
9d2ac58c1ef9 ALSA: seq: fix incorrect order of dest_client/dest_ports arguments
ae3fa28f0938 crypto: cryptd - Fix skcipher instance memory leak
015c20532ace crypto: user - prevent operating on larval algorithms
54435b7fff7b ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME
600d3712ae12 drm/i915/dmc: protect against reading random memory
2b39351e3844 ftrace: Fix NULL pointer dereference in free_ftrace_func_mapper()
938044171949 module: Fix livepatch/ftrace module text permissions race
220adcc0e0ca tracing: avoid build warning with HAVE_NOP_MCOUNT
79fccb9815db mm/mlock.c: change count_mm_mlocked_page_nr return type
4fce0a79e985 scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
b7747ecb82be cpuset: restore sanity to cpuset_cpus_allowed_fallback()
e33aeb9a7c0a i2c: pca-platform: Fix GPIO lookup code
7cf431edfb71 platform/mellanox: mlxreg-hotplug: Add devm_free_irq call to remove flow
c241f3fbfa1a platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration
f853112772b0 platform/x86: intel-vbtn: Report switch events when event wakes device
2ac96173bee0 platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi
027e043f9c78 drm: panel-orientation-quirks: Add quirk for GPD MicroPC
2446563dd6d7 drm: panel-orientation-quirks: Add quirk for GPD pocket2
8be5629b9622 scsi: hpsa: correct ioaccel2 chaining
c1bef204c70a SoC: rt274: Fix internal jack assignment in set_jack callback
1023af0c069d ALSA: hdac: fix memory release for SST and SOF drivers
26a6acde2a42 usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
9be058f5dd70 usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i]
5284327f4e17 x86/CPU: Add more Icelake model numbers
74929087384f ASoC: sun4i-i2s: Add offset to RX channel select
32475634e8a8 ASoC: sun4i-i2s: Fix sun8i tx channel offset mask
7b7486398a32 ASoC: max98090: remove 24-bit format support if RJ is 0
3b60f98ef496 drm/mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()
34e5e1c4874f drm/mediatek: clear num_pipes when unbind driver
a8a86e9a5533 drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
79e095d234bb drm/mediatek: unbind components in mtk_drm_unbind()
319f4699bcaa drm/mediatek: fix unbind functions
dbd94f4938c6 spi: bitbang: Fix NULL pointer dereference in spi_unregister_master
3f8d3c9506a5 ASoC: ak4458: rstn_control - return a non-zero on error only
3c3dd68c48e8 ASoC: soc-pcm: BE dai needs prepare when pause release after resume
4c31b4b4ba65 ASoC: ak4458: add return value for ak4458_probe
0c19bcdb0db9 ASoC : cs4265 : readable register too low
c549680ed59b netfilter: nft_flow_offload: IPCB is only valid for ipv4 family
041c181e6ba0 netfilter: nft_flow_offload: don't offload when sequence numbers need adjustment
48f611ecea0e netfilter: nft_flow_offload: set liberal tracking mode for tcp
3b2734bc839d netfilter: nf_flow_table: ignore DF bit setting
869eec894663 md/raid0: Do not bypass blocking queue entered for raid0 bios
c9d8d3e9d7a0 block: Fix a NULL pointer dereference in generic_make_request()
5dd6139a0aa2 Bluetooth: Fix faulty expression for minimum encryption key size check
(From OE-Core rev: 885eeb589ed3150a17a8ac62c44632cb02171478)
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:
218ca2e5affe Linux 5.2.13
4c634717d778 Revert "Input: elantech - enable SMBus on new (2018+) systems"
140839fe4e71 Linux 5.2.12
5566d1c61b2f Revert "ASoC: Fail card instantiation if DAI format setup fails"
4d8966020827 hsr: switch ->dellink() to ->ndo_uninit()
072c9337f3a0 hsr: fix a NULL pointer deref in hsr_dev_xmit()
08523d5a2f4a hsr: implement dellink to clean up resources
a282179be747 bpf: fix use after free in prog symbol exposure
0d5014b80e5c x86/ptrace: fix up botched merge of spectrev1 fix
3af8db6a99f6 drm/i915/dp: Fix DSC enable code to use cpu_transcoder instead of encoder->type
b6980646c9ab drm/i915: Do not create a new max_bpc prop for MST connectors
79d5d7317ce3 iwlwifi: pcie: handle switching killer Qu B0 NICs to C0
3146a6de3d58 iwlwifi: pcie: don't switch FW to qnj when ax201 is detected
9e7e685012f2 iwlwifi: pcie: add support for qu c-step devices
c013312ef7a8 iwlwifi: change 0x02F0 fw from qu to quz
feee62efa7ad iwlwifi: add new cards for 9000 and 20000 series
0fdbd727e12a iwlwifi: add new cards for 22000 and change wrong structs
805363e2dfa5 iwlwifi: add new cards for 22000 and fix struct name
e27fc3445751 mmc: sdhci-sprd: add get_ro hook function
9ad0348f708d mmc: sdhci-sprd: Implement the get_max_timeout_count() interface
d100666e3cfc mmc: sdhci-sprd: clear the UHS-I modes read from registers
b018fcb92250 mac80211: Correctly set noencrypt for PAE frames
08392de0ccc7 mac80211: Don't memset RXCB prior to PAE intercept
4e118994cea8 cfg80211: Fix Extended Key ID key install checks
b14f5ba7490e mac80211: fix possible sta leak
3cd42050aac6 Revert "cfg80211: fix processing world regdomain when non modular"
b6a0d1f9bf08 mm: memcontrol: fix percpu vmstats and vmevents flush
bba5bcb0cc0e mm, memcg: partially revert "mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones"
8706ffe20444 mms: sdhci-sprd: add SDHCI_QUIRK_BROKEN_CARD_DETECTION
d7c7531ac9a3 mt76: mt76x0u: do not reset radio on resume
839e96131567 SUNRPC: Don't handle errors if the bind/connect succeeded
90ff6dd4ced6 crypto: ccp - Ignore unconfigured CCP device on suspend/resume
3c3c233738df VMCI: Release resource if the work is already queued
6992ae83866a bus: hisi_lpc: Add .remove method to avoid driver unbind crash
0a6caa4e3f21 bus: hisi_lpc: Unregister logical PIO range to avoid potential use-after-free
3e3bf9dfdaf4 i2c: piix4: Fix port selection for AMD Family 16h Model 30h
712029329a58 drm/i915: Call dma_set_max_seg_size() in i915_driver_hw_probe()
0573f44d42b1 drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest
f78e0d8172f3 drm/amdgpu: fix GFXOFF on Picasso and Raven2
4c7ee7bd4f7e drm/amdgpu: Add APTX quirk for Dell Latitude 5495
71817079db2f lib: logic_pio: Add logic_pio_unregister_range()
0a6e75686543 lib: logic_pio: Avoid possible overlap for unregistering regions
94cfb33438e0 lib: logic_pio: Fix RCU usage
e0e3650991cd Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated"
666a848c6797 NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
3fd824dc16de NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
d3a2180a5720 lkdtm/bugs: fix build error in lkdtm_EXHAUST_STACK
61c6f2b0000a fsi: scom: Don't abort operations for minor errors
d886915cd91b typec: tcpm: fix a typo in the comparison of pdo_max_voltage
82b520267b49 intel_th: pci: Add Tiger Lake support
1c01033684f3 intel_th: pci: Add support for another Lewisburg PCH
d36c706f854c stm class: Fix a double free of stm_source_device
ba3e88a664c8 mmc: sdhci-sprd: add SDHCI_QUIRK2_PRESET_VALUE_BROKEN
77162751167c mmc: sdhci-sprd: fixed incorrect clock divider
a94076eed72e mmc: core: Fix init of SD cards reporting an invalid VDD range
b8dd05ea2e74 mmc: sdhci-cadence: enable v4_mode to fix ADMA 64-bit addressing
096179da39b6 mmc: sdhci-of-at91: add quirk for broken HS200
cb82fa2d124a Revert "mmc: sdhci-tegra: drop ->get_ro() implementation"
31f4eb72692c mei: me: add Tiger Lake point LP device ID
871c867ac423 KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WI
ea93e118ef2e KVM: arm/arm64: vgic: Fix potential deadlock when ap_list is long
d69ebe85e169 KVM: PPC: Book3S: Fix incorrect guest-to-user-translation error handling
3698cd854f43 tools/power turbostat: Fix caller parameter of get_tdp_amd()
2d26f7f401e7 USB: storage: ums-realtek: Whitelist auto-delink support
35f1b0a62c36 USB: storage: ums-realtek: Update module parameter description for auto_delink_en
960ff077477e usb: host: xhci: rcar: Fix typo in compatible string matching
6ca46f45c208 usb: host: ohci: fix a race condition between shutdown and irq
73830b83ece9 usb: chipidea: udc: don't do hardware access if gadget has stopped
0aa1e87affce usb: hcd: use managed device resources
c07f658df19f USB: cdc-wdm: fix race between write and disconnect due to flag abuse
43d94dafbcdd usb-storage: Add new JMS567 revision to unusual_devs
7300afed0334 usbtmc: more sanity checking for packet size
e56b7b3b9256 ftrace: Check for empty hash and comment the race with registering probes
d784aa1a0f13 ftrace: Check for successful allocation of hash
cd419e7c03e9 ftrace: Fix NULL pointer dereference in t_probe_next()
6c781717c5cc HID: logitech-hidpp: remove support for the G700 over USB
602038487748 x86/apic: Include the LDR when clearing out APIC registers
edacccb34680 x86/apic: Do not initialize LDR and DFR for bigsmp
af65ce08ec91 x86/mm/cpa: Prevent large page split when ftrace flips RW on kernel text
861e386d11b5 uprobes/x86: Fix detection of 32-bit user mode
4479763b8436 KVM: x86: Don't update RIP or do single-step on faulting emulation
4344cb8cf72d KVM: x86: hyper-v: don't crash on KVM_GET_SUPPORTED_HV_CPUID when kvm_intel.nested is disabled
7d01c081e861 kvm: x86: skip populating logical dest map if apic is not sw enabled
e824fe6a6750 ALSA: usb-audio: Add implicit fb quirk for Behringer UFX1604
4f3c293ccffe ALSA: usb-audio: Fix invalid NULL check in snd_emuusb_set_samplerate()
ee26f3722d2b ALSA: seq: Fix potential concurrent access to the deleted pool
853ccdea876b ALSA: hda - Fixes inverted Conexant GPIO mic mute led
441f5ecc1e24 ALSA: line6: Fix memory leak at line6_init_pcm() error path
6ff7b2c68d22 ALSA: hda/ca0132 - Add new SBZ quirk
701ff405be9f ALSA: usb-audio: Check mixer unit bitmap yet more strictly
b4b92e95d9e5 mm/zsmalloc.c: fix build when CONFIG_COMPACTION=n
2905d7847cd5 xfrm/xfrm_policy: fix dst dev null pointer dereference in collect_md mode
1c7fbbc0fc3f ipv4/icmp: fix rt dst dev null pointer dereference
fc90789e580b openvswitch: Fix conntrack cache with timeout
c1c3307a832a ipv4: mpls: fix mpls_xmit for iptunnel
ae154dcba8f4 tcp: make sure EPOLLOUT wont be missed
cbc9336afc74 net/smc: make sure EPOLLOUT is raised
5b71ce93d7b1 net: fix __ip_mc_inc_group usage
a6058b22e17e net: cpsw: fix NULL pointer exception in the probe error path
c5df65fd6f06 ipv6: Fix return value of ipv6_mc_may_pull() for malformed packets
dc428ae89cd4 ipv6/addrconf: allow adding multicast addr if IFA_F_MCAUTOJOIN is set
8903c1ed2c14 mt76: usb: fix rx A-MSDU support
962d7207f53b drm/bridge: tfp410: fix memleak in get_modes()
d4ccc1744b55 selftests/bpf: install files test_xdp_vlan.sh
d857dcf1c807 watchdog: bcm2835_wdt: Fix module autoload
eeb6b4a09695 lcoking/rwsem: Add missing ACQUIRE to read_slowpath sleep loop
931424d0781e locking/rwsem: Add missing ACQUIRE to read_slowpath exit when queue is empty
5faa01cc2b1f tools: hv: fix KVP and VSS daemons exit code
b6018c3a79e5 tools: hv: fixed Python pep8/flake8 warnings for lsvmbus
c983df11ed19 usb: host: fotg2: restart hcd after port reset
5a3db3021b17 drm/ast: Fixed reboot test may cause system hanged
68fc8f1e9103 drm/scheduler: use job count instead of peek
7046212603e0 i2c: emev2: avoid race when unregistering slave client
38869e74c3ac i2c: rcar: avoid race when unregistering slave client
6ad482444c98 riscv: fix flush_tlb_range() end address for flush_tlb_page()
325fd0056cc0 arm64: cpufeature: Don't treat granule sizes as strict
2a7a7ff625cd xen/blkback: fix memory leaks
82fcf8a5d8f7 habanalabs: fix device IRQ unmasking for BE host
a1a6c6b4f8d8 habanalabs: fix endianness handling for internal QMAN submission
1900d706b9c4 habanalabs: fix completion queue handling when host is BE
79e338d70c86 habanalabs: fix endianness handling for packets from user
0a18515cc03f habanalabs: fix DRAM usage accounting on context tear down
c041ddb75698 usb: gadget: mass_storage: Fix races between fsg_disable and fsg_set_alt
3f1b93b5a45c usb: gadget: composite: Clear "suspended" on reset/disconnect
4ab6b15a00ca dma-direct: don't truncate dma_required_mask to bus addressing capabilities
583c8d3118e0 iommu/dma: Handle SG length overflow better
4aab45c37962 omap-dma/omap_vout_vrfb: fix off-by-one fi value
7ceddea2da13 dmaengine: stm32-mdma: Fix a possible null-pointer dereference in stm32_mdma_irq_handler()
a4a200842e83 IB/mlx5: Fix implicit MR release flow
a8bd4c018836 btrfs: trim: Check the range passed into to prevent overflow
c1b16e1427f4 auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach
ceac72e0a8cc soundwire: cadence_master: fix definitions for INTSTAT0/1
50b59bb1043b soundwire: cadence_master: fix register definition for SLAVE_STATE
c88a50ced6de nvme-pci: Fix async probe remove race
9dd8dc3d8a79 nvme: fix controller removal race with scan work
be2e81d1d8d4 nvme-rdma: fix possible use-after-free in connect error flow
f3b4b4440a0c nvme: fix a possible deadlock when passthru commands sent to a multipath device
d067f76d2009 nvme-core: Fix extra device_put() call on error path
a7b13f9b376d nvmet-file: fix nvmet_file_flush() always returning an error
938f8292e9ef nvmet-loop: Flush nvme_delete_wq when removing the port
19620ce482fc nvmet: Fix use-after-free bug when a port is removed
a40201a850a8 afs: Fix missing dentry data version updating
fb64ee182656 afs: Only update d_fsdata if different in afs_d_revalidate()
b4988bb90114 afs: Fix off-by-one in afs_rename() expected data version calculation
768edf3604b6 fs: afs: Fix a possible null-pointer dereference in afs_put_read()
3bde518dd5f1 afs: Fix loop index mixup in afs_deliver_vl_get_entry_by_name_u()
3e5fa7f20b76 afs: Fix the CB.ProbeUuid service handler to reply correctly
f902c873cb0f nvme-multipath: revalidate nvme_ns_head gendisk in nvme_validate_ns
76c2a562a193 dmaengine: ste_dma40: fix unneeded variable warning
c3915fe1bf12 Linux 5.2.11
85a55331d9ae rxrpc: Fix local refcounting
fa321a9ce599 rxrpc: Fix local endpoint replacement
d2783ccec7e0 rxrpc: Fix read-after-free in rxrpc_queue_local()
486a72744507 rxrpc: Fix local endpoint refcounting
3981720f800f powerpc: Allow flush_(inval_)dcache_range to work across ranges >4GB
28ad328e672b io_uring: add need_resched() check in inner poll loop
7fe55f17deee io_uring: don't enter poll loop if we have CQEs pending
2b2c2647a19c io_uring: fix potential hang with polled IO
2a50be6e0551 dm zoned: fix potential NULL dereference in dmz_do_reclaim()
b295171cff3f IB/hfi1: Drop stale TID RDMA packets
be46f90b7436 xfs: fix missing ILOCK unlock when xfs_setattr_nonsize fails due to EDQUOT
92aeca3af02a mm/kasan: fix false positive invalid-free reports with CONFIG_KASAN_SW_TAGS=y
f6d997de0883 mm/zsmalloc.c: fix race condition in zs_destroy_pool
e3f9299cbe4c mm/zsmalloc.c: migration can leave pages in ZS_EMPTY indefinitely
199faced432f mm, page_owner: handle THP splits correctly
ef1cb3ee97ec mm: memcontrol: flush percpu vmevents before releasing memcg
2bd82494d1d6 mm: memcontrol: flush percpu vmstats before releasing memcg
27674f5f49a8 mm, page_alloc: move_freepages should not examine struct page of reserved memory
764fa2f4ff59 mm/z3fold.c: fix race between migration and destruction
641c1d8396dc genirq: Properly pair kobject_del() with kobject_add()
f2f89f89e5fe dm zoned: properly handle backing device failure
5d77bfe7e69d dm zoned: improve error handling in i/o map code
544518b023cb dm zoned: improve error handling in reclaim
ace23a455383 dm table: fix invalid memory accesses with too high sector number
23c9e199076a dm space map metadata: fix missing store of apply_bops() return value
f57bbd7c7894 dm raid: add missing cleanup in raid_ctr()
e7b9e2afcc68 dm integrity: fix a crash due to BUG_ON in __journal_read_write()
9e3dcb641f08 dm btree: fix order of block initialization in btree_split_beneath
e92dfd8d1403 dm dust: use dust block size for badblocklist index
a6d64ebeb5eb dm kcopyd: always complete failed jobs
1e2528273532 psi: get poll_work to run when calling poll syscall next time
b9e0cc134d73 IB/hfi1: Drop stale TID RDMA packets that cause TIDErr
a382c2b3d9c2 IB/hfi1: Add additional checks when handling TID RDMA WRITE DATA packet
47a2c4e414fb IB/hfi1: Add additional checks when handling TID RDMA READ RESP packet
b568370cf1d7 IB/hfi1: Unsafe PSN checking for TID RDMA READ Resp packet
f1c2546fff1f x86/boot: Fix boot regression caused by bootparam sanitizing
6659665f0afd x86/boot: Save fields explicitly, zero out everything else
4aa0f3b05a3a x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h
50d3cd159713 x86/apic: Handle missing global clockevent gracefully
60d4af6a0e5f x86/retpoline: Don't clobber RFLAGS during CALL_NOSPEC on i386
accdfad7aed6 userfaultfd_release: always remove uffd flags and clear vm_userfaultfd_ctx
1069617a56d7 Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE
a7ef13769f73 gpiolib: never report open-drain/source lines as 'input' to user-space
b3b7c576df89 scsi: ufs: Fix NULL pointer dereference in ufshcd_config_vreg_hpm()
aaf36ec5aa67 drm/nouveau: Don't retry infinitely when receiving no data on i2c over AUX
be85d2279c5c drm/amdgpu/gfx9: update pg_flags after determining if gfx off is possible
9d87603371b7 libceph: fix PG split vs OSD (re)connect race
bfb7dd36f7b9 ceph: don't try fill file_lock on unsuccessful GETFILELOCK reply
a927f8a9dfd5 ceph: clear page dirty before invalidate page
e9e5f8e96fe6 clk: socfpga: stratix10: fix rate caclulationg for cnt_clks
328380940d3a Revert "dm bufio: fix deadlock with loop device"
2ad350fb4c92 Revert "KVM: x86/mmu: Zap only the relevant pages when removing a memslot"
24c5a3d468b2 HID: wacom: Correct distance scale for 2nd-gen Intuos devices
ccdca005c5a3 HID: wacom: correct misreported EKR ring values
89b925e73610 iwlwifi: mvm: disable TX-AMSDU on older NICs
6c64df946909 selftests: kvm: Adding config fragments
b53832252a68 KVM: arm: Don't write junk to CP15 registers on reset
9b2b6603766b KVM: arm64: Don't write junk to sysregs on reset
2590622af1a6 dt-bindings: riscv: fix the schema compatible string for the HiFive Unleashed board
9941192b06ec perf pmu-events: Fix missing "cpu_clk_unhalted.core" event
40db83cb0c86 perf cpumap: Fix writing to illegal memory in handling cpumap mask
dcd75c90dec1 perf ftrace: Fix failure to set cpumask when only one cpu is present
371879acb44e block, bfq: handle NULL return value by bfq_init_rq()
6bfd59d99133 block: aoe: Fix kernel crash due to atomic sleep when exiting
bcc19f380ecc drm/vmwgfx: fix memory leak when too many retries have occurred
41dddcbf27fd x86/lib/cpu: Address missing prototypes warning
8e88ef54c22a libata: add SG safety checks in SFF pio transfers
9ba76a5214e4 libata: have ata_scsi_rw_xlat() fail invalid passthrough requests
75d360c01f48 NFSv4: Ensure state recovery handles ETIMEDOUT correctly
37f3fc22b32d net: hisilicon: Fix dma_map_single failed on arm64
36ea6d81a99e net: hisilicon: fix hip04-xmit never return TX_BUSY
9e7a5c2730bd net: hisilicon: make hip04_tx_reclaim non-reentrant
39db6b4e6fa1 drm/amdgpu: pin the csb buffer on hw init for gfx v8
84de7cd06750 net: stmmac: tc: Do not return a fragment entry
f0d73daeef24 net: stmmac: Fix issues when number of Queues >= 4
9474322cadfd net: cxgb3_main: Fix a resource leak in a error path in 'init_one()'
4f339c4018a8 ata: rb532_cf: Fix unused variable warning in rb532_pata_driver_probe
976dcd26cb03 s390: put _stext and _etext into .text section
d810001f3e92 s390/mm: fix dump_pagetables top level page table walking
580b216496b6 s390/protvirt: avoid memory sharing for diag 308 set/store
1f54a9b84956 sched/psi: Do not require setsched permission from the trigger creator
9ea2355c3117 sched/psi: Reduce psimon FIFO priority
a343eca8fd92 sched/deadline: Fix double accounting of rq/running bw in push & pull
4fe7ee5ed9b0 SMB3: Kernel oops mounting a encryptData share with CONFIG_DEBUG_VIRTUAL
efb86f76c6c8 SMB3: Fix potential memory leak when processing compound chain
6dfb0916b1fd drm/rockchip: Suspend DP late
ef411a41d35a HID: input: fix a4tech horizontal wheel custom usage
b6f61042d3c5 HID: quirks: Set the INCREMENT_USAGE_ON_DUPLICATE quirk on Saitek X52
3055b274a141 NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
83d99ded4b1d NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
55a76b7b9a5c NFSv4.1: Only reap expired delegations
00cfd19b4aab NFSv4.1: Fix open stateid recovery
5ebc4cb05315 NFSv4: When recovering state fails with EAGAIN, retry the same recovery
8c0391db53ef NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid
1cfb3722bb57 enetc: Select PHYLIB while CONFIG_FSL_ENETC_VF is set
bf92682c476b net/ethernet/qlogic/qed: force the string buffer NULL-terminated
e9da4fc7d8ec ASoC: amd: acp3x: use dma_ops of parent device for acp3x dma driver
ac8bf342add9 can: peak_usb: force the string buffer NULL-terminated
4a17b244620c can: sja1000: force the string buffer NULL-terminated
c7bc59702fa8 spi: pxa2xx: Add support for Intel Tiger Lake
8da2ee75f213 perf bench numa: Fix cpu0 binding
cbffa423f725 net: phy: phy_led_triggers: Fix a possible null-pointer dereference in phy_led_trigger_change_speed()
e17659fd38cf isdn: hfcsusb: Fix mISDN driver crash caused by transfer buffer on the stack
b7737b00b86d enetc: Fix build error without PHYLIB
4784684e960a iwlwifi: mvm: send LQ command always ASYNC
14311a90347b iwlwifi: fix locking in delayed GTK setting
743fa6a7baa8 iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef
250352ddc2b4 iwlwifi: dbg_ini: move iwl_dbg_tlv_load_bin out of debug override ifdef
de0f0564b100 iwlwifi: mvm: avoid races in rate init and rate perform
505d5fc02a34 nvmem: Use the same permissions for eeprom as for nvmem
f1079e415bc1 rxrpc: Fix the lack of notification when sendmsg() fails on a DATA packet
04ce53b00a89 rxrpc: Fix potential deadlock
68c55a2c6c2f netfilter: ipset: Fix rename concurrency with listing
3fb7dc7af067 netfilter: ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac sets
79ebfb394cbe netfilter: ipset: Actually allow destination MAC address for hash:ip,mac sets too
edd7585d6751 net: stmmac: manage errors returned by of_get_mac_address()
79ea14eea8cd mac80211_hwsim: Fix possible null-pointer dereferences in hwsim_dump_radio_nl()
813f42fc5695 habanalabs: fix F/W download in BE architecture
45d6a121c7dc isdn: mISDN: hfcsusb: Fix possible null-pointer dereferences in start_isoc_chain()
c60f443cf039 qed: RDMA - Fix the hw_ver returned in device attributes
349b39f98d1b net: usb: qmi_wwan: Add the BroadMobi BM818 card
7446b2794d9f ASoC: ti: davinci-mcasp: Correct slot_width posed constraint
ec10dcf3ae89 ASoC: rockchip: Fix mono capture
205cd0f91481 ASoC: ti: davinci-mcasp: Fix clk PDIR handling for i2s master mode
7bd8e226cd63 {nl,mac}80211: fix interface combinations on crypto controlled devices
cb2150b718c0 st_nci_hci_connectivity_event_received: null check the allocation
775d026bbfe2 st21nfca_connectivity_event_received: null check the allocation
8f28ebbdf9bc libbpf: silence GCC8 warning about string truncation
46af9cbcf73a Staging: fbtft: Fix GPIO handling
ab4f4d331a98 ASoC: Fail card instantiation if DAI format setup fails
2d0befff4db8 can: gw: Fix error path of cgw_module_init
ad14579d403a can: mcp251x: add error check when wq alloc failed
eae5534465c8 can: dev: call netif_carrier_off() in register_candev()
7dae14d19c4f libbpf: fix using uninitialized ioctl results
890626e2d964 selftests/bpf: add another gso_segs access
24c21fa64560 selftests: forwarding: gre_multipath: Fix flower filters
f4bed7ed14a2 selftests: forwarding: gre_multipath: Enable IPv4 forwarding
82d861e06dc6 net: mvpp2: Don't check for 3 consecutive Idle frames for 10G links
a25bd473e8c9 bonding: Force slave speed check after link state recovery for 802.3ad
1c3e3000de80 ASoC: dapm: fix a memory leak bug
5fa1d7a76dd0 selftests/bpf: fix sendmsg6_prog on s390
5c447c1951cd bpf: sockmap, only create entry if ulp is not already enabled
47032e94979e bpf: sockmap, synchronize_rcu before free'ing map
2a574254d6f5 bpf: sockmap, sock_map_delete needs to use xchg
705409085597 spi: pxa2xx: Balance runtime PM enable/disable on error
bdeaab6261ff ASoC: SOF: use __u32 instead of uint32_t in uapi headers
5cecec718e35 ASoC: dapm: Fix handling of custom_stop_condition on DAPM graph walks
8d376e73adf1 netfilter: ebtables: fix a memory leak bug in compat
0ea865793835 libbpf: sanitize VAR to conservative 1-byte INT
3883ef3b1de6 mips: fix cacheinfo
7afa881dd42a MIPS: kernel: only use i8253 clocksource with periodic clockevent
22c0b70969e3 HID: Add 044f:b320 ThrustMaster, Inc. 2 in 1 DT
e6cca5f2ab53 HID: logitech-hidpp: add USB PID for a few more supported mice
e301eb65c861 ASoC: Intel: bytcht_es8316: Add quirk for Irbis NB41 netbook
af3eab0b3016 ASoC: samsung: odroid: fix a double-free issue for cpu_dai
b3978884ac59 ASoC: samsung: odroid: fix an use-after-free issue for codec
cb7829e5aeb3 regulator: axp20x: fix DCDC5 and DCDC6 for AXP803
7a2ec3fbdcb1 regulator: axp20x: fix DCDCA and DCDCD for AXP806
3861684475d5 ASoC: audio-graph-card: add missing const at graph_get_dai_id()
e5e516915f78 ASoC: audio-graph-card: fix an use-after-free in graph_get_dai_id()
7b83af285ad2 ASoC: audio-graph-card: fix use-after-free in graph_dai_link_of_dpcm()
86827ec32e56 ASoC: simple-card: fix an use-after-free in simple_for_each_link()
9b7f263403ab ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm()
c9479b9717c3 ASoC: simple_card_utils.h: care NULL dai at asoc_simple_debug_dai()
(From OE-Core rev: 94f5f7b3fb8bf7228e6108dfe2e6b6fc773a0fc0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tidy the indentation of EXTRA_OECONF.
Remove the deletion of config.status which hasn't been in the tarballs since
0.12.
(From OE-Core rev: 32b0265a594a22ab4c2aa5d5023551f2e8d59b82)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when build with EXTERNALSRC, checksum of EXTERNALSRC is one of inputs
for generate sigdata of task do_compile. without change any source, the
sigdata will not changed, and buildclean task only do make clean, and
not clean stampfiles like clean task, so the stampfile keep there, then
do_compile after do_buildclean will not rerun, and targetfile
tempdir_mdadm/mdadm will not be generated, report below error:
AssertionError: '/tmp/devtoolqarxv8ct6u/mdadm' does not exist
Fix by add a comments in Makefile to trigger rebuild of compile task
(From OE-Core rev: f4621cf4516f9de9980f3864a193f3f61c4abedc)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if do clean after remove-layer, it will make stamp file not cleaned
since variable STAMP has changed, this will cause error like:
if testcase buildclean failed, when run next testcase modify, since
do_prepare_recipe_sysroot's stamp file exists, sysroot not populated,
then do_compile will fail with error:
/bin/sh: x86_64-poky-linux-gcc: command not found
(From OE-Core rev: 046d7e1de094105db0949c2cf5333ff55d9ad9c8)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If hwdb is disabled, then systemd-hwdb-update.service does not exists.
Do not try to modify it in this case.
(From OE-Core rev: 9f9706d39713f967e10e3a41313ddacb03b0ca94)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Users of distcc are rarely both clients and servers, so split the package.
distcc is the client, the new distcc-server package is the server.
(From OE-Core rev: ca07f88c21094a04f6af1f87bc7d9afa477e30f1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--make-me-a-botnet is worrying, --enable-tcp-insecure is clearer and doesn't
scare people glancing at 'ps'.
(From OE-Core rev: f43ccc8c3a0469358a29b15425e59552f528057d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the local copy of the desktop file, instead apply a patch from upstream
to fix the file. This also fixes the install paths, so update the recipe.
Remove glibc-specific installation as this was due to uclibc failures.
Refresh and submit upstream the out-of-tree build fix.
(From OE-Core rev: f69cb86f4c15497c6324a0e8063f86cc31cfe7aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In recent years AMD CPUs have had various problems with RDRAND
giving either non-random data or no result at all, which is
problematic if either build or target machine has a CPU with
this problem.
The fallback is /dev/urandom, and I'd trust the kernel here.
--enable-rdrand was added in an upgrade to a new upstream
version without mentioning any reason.
[YOCTO #13534]
(From OE-Core rev: abc51bfa8933dda99b6c82ac37692830315325b3)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that opkg-build can build reproducible ipkgs, we can also add those to the
test case.
[ YOCTO #13513 ]
(From OE-Core rev: 3806d38e6194a42534381993fcfcc3ff39550a13)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the case where multiple packages provide the same file, we show an error.
Otherwise, python will generate a different build depending on which provider
appears first in the dictionary. On my system this order changes every time
I run bitbake causing intermittent build differences.
Add a sorted() to fix the determinism issue too.
(From OE-Core rev: 61c41369003444bfbf1c45e7cfd2752a4b7bc22f)
Signed-off-by: Jonathan Marler <johnnymarler@hp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autobuilder type infrastructure can benefit from deletion of certain files as
background IO due to the way Linux filesystem priority works.
We have problems where build directories as part of oe-selftest being
delete starves the running tasks of IO to the point builds take much
longer to compelte.
Having this option of running the deletion at "idle" helps a lot with
that.
(Bitbake rev: 797354d285f6d624d9adb52bab65823572da0e39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to sstate_checkhashes which is defined in sstate.bbclass, the
currentcoun should be a number (0, not None).
Fixed:
$ bitbake base-files -Sprintdiff
> bb.plain("Sstate summary: Wanted %d Found %d Missed %d Current %d (%d%% match, %d%% complete)" % (total, len(found), len(missed), currentcount, match, complete))
TypeError: %d format: a number is required, not NoneType
(Bitbake rev: 45cb73e2846eaffe8964a573875f54808e8f3633)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new 'lfs' option to the git fetcher so that we can optionally not fetch
git-lfs content, for repositories that contain LFS data that we don't
actually need for building.
By default lfs is set to 1, so if the repository has LFS content then git-lfs is
required. Setting lfs to 0 will mean that git-lfs won't be required to fetch,
and some files will be missing.
(Bitbake rev: be0b78ccfc5ede98041bc0545a15092494b12b26)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, show-recipes will append "(skipped)" marker to recipes which
were skipped due these recipes does not satisfied the configurations.
Example: $ bitbake-layers show-recipes -r
ace
backport-iwlwifi
core-image-rt (skipped)
core-image-rt-sdk (skipped)
core-image-tiny
Add -b/--bare to enable output names without "(skipped)" marker.
Example: $ bitbake-layers show-recipes -r -b
ace
backport-iwlwifi
core-image-rt
core-image-rt-sdk
core-image-tiny
(Bitbake rev: 87796e580cd160a535eb5fb9e31846a7cf1a249e)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, show-recipes will show recipes from all configured layers.
Assume, meta-intel layer was added to conf/bblayers.conf.
Example of default $ bitbake-layers show-recipes:
core-image-rt:
meta-intel unknown (skipped)
meta unknown (skipped)
Add -l/--layer to enable showing recipes from user selected layer.
Example: $ bitbake-layers show-recipes -l meta-intel
core-image-rt:
meta-intel unknown (skipped)
(Bitbake rev: 8c38d95c4474ea171cb55b0e336d9090451e89ce)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, show-recipes will show all recipes available (both
recipes with different version and recipes provided by more
than one layer).
Example of default $ bitbake-layers show-recipes:
core-image-rt:
meta-intel unknown (skipped)
meta unknown (skipped)
yajl:
meta-oe 2.1.0
meta-oe 1.0.12
Add -r/--recipes-only to enable showing recipes only. This
provide a focus view on unique recipes available.
Example of $ bitbake-layers show-recipes -r:
core-image-rt (skipped)
yajl
(Bitbake rev: 048bd051a9b422a38c181f57bb5090a05684a5c3)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During restructuring of the packaging in 2af4d6eb (tzdata: Install
everything by default), these two files remained in the tzdata
package, which is supposed to be empty. Move them to tzdata-core where
they belong.
Also simplify the definition of CONFFILES_tzdata-core. As its value
only takes effect for files that actually exist, there is no need to
complicate its definition by checking if a file is created before
adding it to the list of configuration files.
(From OE-Core rev: 3d2d31fed64169f08c0ecfce4c07b8c7ebd052d2)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should have been removed in 3db9d865 (classes/package_rpm.bbclass:
Enhance diagnostic messages) when it was split in two new notes.
Also change the casing of two other notes to align them with the other
notes.
(From OE-Core rev: b40e245795cd19c7d36df096fa1f30c75490ce46)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autobuilder type infrastructure can benefit from deletion of certain files as
background IO due to the way Linux filesystem priority works.
We have problems where build directories as part of oe-selftest being
delete starves the running tasks of IO to the point builds take much
longer to compelte.
Having this option of running the deletion at "idle" helps a lot with
that. Use the new option added to bb.utils.prunedir().
(From OE-Core rev: d41e7018be56902b7a1be4590e468cd15e02a3b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
externalsrc do_configure task watches oe-devtool-tree-sha1 file and its
checksum. That file basically contains the result of `git add -A
${EXTERNALSRC} && git write-tree` which is the hash of temporary
"commit" of the non committed changes. This file is stored in the .git
directory of the git repo of the externalsrc recipe. do_configure then
depends on the checksum of oe-devtool-tree-sha1 file.
If 2+ recipes with different externalsrc paths but same git repo (e.g.
one recipe at /some/path and the other at /some/path/subdir) are parsed,
this oe-devtool-tree-sha1 will be overwritten by those recipes at
parsing time since .git is shared between those recipes.
If there is one non committed git change in /some/path but not in
/some/path/subdir, the oe-devtool-tree-sha1 of both recipes will be
different.
What will happen is that recipe1 will watch over the
oe-devtool-tree-sha1 with a specific checksum, fill in file-checksums
for do_configure correctly, then recipe2 will watch over the identically
named file with different content also fill in the file-checksums
varflag. When do_configure of recipe1 will be evaluated for
re-execution, oe-devtool-tree-sha1 will be of the value of what is
watched over by recipe2, thus triggering a rebuild of recipe1.
This behavior is not always reproducible which I'm guessing is due to a
small window between recipe1 putting info into oe-devtool-tree-sha1 and
calculating the checksum of that file and recipe2 putting its content
into oe-devtool-tree-sha1.
By appending the name of the recipe to oe-devtool-tree-sha1, we make
sure that a recipe won't have its oe-devtool-tree-sha1 overwritten by
another recipe sharing the same externalsrc git repo.
(From OE-Core rev: 1b727dd7295a7a7fe17800f8038242efbf7fe2b7)
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure the task is properly regsistered as an sstate task as this
"half way" state confuses new code in bitbake and it isn't supported.
(From OE-Core rev: 53d6cd98216e3b73c0c90e42223efd1a2b649358)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a temporary workaround to avoid autobuilder failures until
https://github.com/systemd/systemd/issues/13581 is resolved.
Its being done globally even though its a mips problem for simplicity,
it doesn't hurt anything else to have a longer timeout.
(From OE-Core rev: 101d1ea3fe2d40ddde3139952545fa7128478f66)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When doing a devtool build-sdk from within an esdk all nativesdk
components would be rebuilt. This patch introduces SDK_INCLUDE_NATIVESDK
flag to toggle the inclusion of nativesdk packages when creating the
esdk sstate
Currently locked-sigs.inc is generated during do_sdk_depends which
doesn't pull in nativesdk packages. Generating another locked-sigs.inc
in do_populate_sdk_ext and pruning it to only nativesdk* packages by
using a modified version of the already existing function
prune_locked_sigs and merging it with the current locked-sigs.inc
Also adding SDK_INCLUDE_NATIVESDK tasklistfn to the logic surrounding
setting tasklist file to not prune esdk sstate during creation
[YOCTO #13261]
(From OE-Core rev: d046afd12e1c209b29dca6ba402b9aa14680c5ce)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These changes are from meta-96boards primarily
Launch the session via a udev rule based on what kind of display device
is available
delete weston-conf and move the fuctionality into weston-init other
layers are doing same
weston-init installs machine specific weston.ini therefore mark is
machine specific now
(From OE-Core rev: aa3bced2e1de2f4ba507aa014835b06edccc138a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When archiving patched source, WORKDIR should only be changed to
${ARCHIVER_WORKDIR} if the recipe doesn't use a shared work directory.
This matches the behavior of do_unpack_and_patch for these recipes.
This fixes kernel recipes that set S = "${WORKDIR}/git"
(From OE-Core rev: e3caee8f86f2cca1d052f1f1b233018a3d4baa97)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is making releases again.
(From OE-Core rev: e2939592165034d59dd4841f6cb8c9fbfee21f27)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The removal of the supposedly empty /etc when ldconfig is not in
DISTRO_FEATURES seems to be a remnant from a long time ago when nothing
else was installed in /etc. However, that is no longer the case as,
e.g., nscd.conf is always installed to /etc now.
(From OE-Core rev: f66c02130d11154088d86c96fedd88e9d2bca723)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to respect SOURCE_DATE_EPOCH when building ipkgs,
to ensure reproducible archives.
(From OE-Core rev: d50d52188cee7ccc0f40f0bba6da1084410b81cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some devices, udev may sometimes trigger twice the 'add' rule during
boot. Calling the mount.sh script twice will eventually fail for
already mounted partitions, but in that case, the script tries to remove
the created mountpoint, when it shouldn't.
This has been observed on USB sticks connected to a USB hub and may
result in devices not being mounted if plugged-in before booting.
This patch checks for already mounted partitions earlier (before creating
the mount point) and returns with no actions.
(From OE-Core rev: 4cf076879ac038ebf76679a19249ea6363e63e0f)
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible for a service file to accidentally contain mixed line endings, but
the string cleanup code was assuming Unix endings.
[ YOCTO #13535 ]
(From OE-Core rev: 7aaa9200b5ba2cba92ee1ed7003d54848498b37d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check that /etc/gconf exists before trying to find files under it, to avoid
writing find error messages to the rootfs log.
Also use ${sysconfdir}/gconf instead of hardcoding /etc/gconf.
(From OE-Core rev: 70a77b91031388ea29eff6b8885fd25cc35b1dae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sometimes, it is not enough to reproduce a failed build with current
info on error reports web, add local.conf/auto.conf into error
report to make it more easier to reproduce failed build
Note: this need work together with change in repo error-report-web,
which will display local.conf and auto.conf as Error Details
[YOCTO #13252]
(From OE-Core rev: 7adf9707c04d8ef6bcd8d8bda555687f705e6ee6)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define common functions for populating EFI directories in live image by
reusing common code from grub-efi and systemd-boot bbclasses.
(From OE-Core rev: 3728899a0cd543793db258da0976362b4bde7133)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the class.
(From OE-Core rev: 094c272a74b4963ea5c010b9701bb83fa799a558)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the recipe.
(From OE-Core rev: 4acac3560cb819e0cd992e02441621dab1beada7)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the
class.
(From OE-Core rev: 8d15c015d2498d541a6e52fc4e7553e692ff3ac5)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the
recipe.
(From OE-Core rev: e6bb6d31c4285a62b3e9e324c36b2baf439e7bae)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the
recipe.
(From OE-Core rev: b5a97272ba201537a766598d9c9a97c8cbc9ea1d)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create new config file defining common variables for all UEFI-related
packages (bootloaders, test applications, etc).
(From OE-Core rev: 9c4945f1f0607c89e7cb10dda41ab742e169c075)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all servers and repositories have this property set
which results in failures like this when actual svn checkout
command succeeded:
svn: warning: W200017: Property 'svn:externals' not found on ''
svn: E200000: A problem occurred; see other errors for details
(Bitbake rev: 238636f033cbf18e5741f0ea0e64db40e84f5838)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reworks the hash equivalence server to address performance issues that
were encountered with the REST mechanism used previously, particularly
during the heavy request load encountered during signature generation.
Notable changes are:
1) The server protocol is no longer HTTP based. Instead, it uses a
simpler JSON over a streaming protocol link. This protocol has much
lower overhead than HTTP since it eliminates the HTTP headers.
2) The hash equivalence server can either bind to a TCP port, or a Unix
domain socket. Unix domain sockets are more efficient for local
communication, and so are preferred if the user enables hash
equivalence only for the local build. The arguments to the
'bitbake-hashserve' command have been updated accordingly.
3) The value to which BB_HASHSERVE should be set to enable a local hash
equivalence server is changed to "auto" instead of "localhost:0". The
latter didn't make sense when the local server was using a Unix
domain socket.
4) Clients are expected to keep a persistent connection to the server
instead of creating a new connection each time a request is made for
optimal performance.
5) Most of the client logic has been moved to the hashserve module in
bitbake. This makes it easier to share the client code.
6) A new bitbake command has been added called 'bitbake-hashclient'.
This command can be used to query a hash equivalence server, including
fetching the statistics and running a performance stress test.
7) The table indexes in the SQLite database have been updated to
optimize hash lookups. This change is backward compatible, as the
database will delete the old indexes first if they exist.
8) The server has been reworked to use python async to maximize
performance with persistently connected clients. This requires Python
3.5 or later.
(Bitbake rev: 2124eec3a5830afe8e07ffb6f2a0df6a417ac973)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removes all references to the SSTATE_HASHEQUIV_SERVER variable. This
variable is redundant now that BB_HASHSERVE is present.
(From OE-Core rev: 54b3adb6bc90a8e4b9e92952688772ee074d36e5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server no longer uses a "http://" URI, since it has been updated to
use a different protocol.
(From OE-Core rev: 519561172c48bc7f7a61a3d02edd418fc0895b7b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.2 kernel has introduced a significant performance regression
where some of the tests take many minutes to complete (where
previously it was seconds). While we're getting to the bottom
of the issue and working with upstream to resove it, this
change allows tests to proceed instead of getting stuck and
eventually timing out.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13506
(From OE-Core rev: 36670f3989ef129d285b2a17c289f8fc7a44b320)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with openSSL 1.1.1d we start seeing errors like
Error Generating Key
139979727451584:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:../openssl-1.1.1d/crypto/rand/drbg_lib.c:342:
when using openssl from openssl-native on build hosts, this is due to
limiting the random seed to devrandom, to support older hosts, since the
option allows to have a comma separated list of methods to try, we can
try the default first and if that fails then fallback to devrandom, this
will ensure that it keeps working with build systems which dont support
getrandom()
(From OE-Core rev: 8b4edb8552b238680d8dcef565e830a8e28a223c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Adrian Bunk <bunk@stusta.de>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency is for EGL and GLES2 libraries. On some systems these
are not provided by Mesa, list what is actually needed so the system
can choose the correct provider.
(From OE-Core rev: 8c39aa80e3624a225abfa76d459b6ce4da259b64)
Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency is for EGL and GLES2 libraries. On some systems these
are not provided by Mesa, list what is actually needed so the system
can choose the correct provider.
(From OE-Core rev: 83877206bd0ddc453cf3646e998296278d4a62f0)
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency is for EGL and GLES2 libraries. On some systems these
are not provided by Mesa, list what is actually needed so the system
can choose the correct provider.
(From OE-Core rev: 12f887e26c5959ce07af658d3cf8c62fe889744a)
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a useful option but not documented in the help text.
(From OE-Core rev: 95bad67a802f956082bd0af5615c1dbaae01be0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although glx support is turned off, the build still tries to pull in some
x11 components, disable x11 explicitly.
(From OE-Core rev: a96272dc0b5b6b76a4858981461f3bd126dc99b3)
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also move the libogg dependency to the theora PACKAGECONFIG, since
according to the configure script, theora is the specific component
which requires it.
(From OE-Core rev: 7ddfb9374f493bb1cc42a204c80e783baa288152)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Doesn't seem to be referenced by anything in oe-core any more.
(From OE-Core rev: 526188096bc37af3140c9210ece92ed94c3bdfe0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We only have hash equivalence for setscene tasks so only query the server
for those, reducing the number of connections needed.
(Bitbake rev: 22082c7b3ca0cffcedb7d1d8c6681d35286376db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 94c0c7f15c7a6244a8576ed948ffc21afb96ba82.
This ignores the layer priority, making the issue much worse.
E.g. I'm seeing a lot of failures caused by missing users, because
base-passwd bbappends applied in unexpected order caused different
passwd.master to be found in re-ordered FILESPATH.
(Bitbake rev: 2dc862237dba82da37c8ac9289e0a21409b1305c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diffutils runtime dependency was introduced from legacy grub since
the script grub-install invokes cmp command which is from diffutils
package. But in Grub2 the grub-install has been rewritten with C
language. So this package isn't needed anymore.
The freetype runtime dependency is for grub-mkfont but we have
explicitly disabled grub-mkfont build. It is safe to remove it.
(From OE-Core rev: 56e4e05417f8ddba60a8b76fa4c8834aa8ea4692)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DEBUG_PREFIX_MAP can be empty if e.g. old clang
toolchain doesn't support the default poky values for gcc.
Fixes build failure:
ERROR: Logfile of failure stored in: /home/builder/src/base/build/tmp/work/aarch64-poky-linux/busybox/1.31.0-r
0/temp/log.do_configure.14451
Log data follows:
| DEBUG: Executing shell function do_configure
| sed: -e expression #1, char 0: no previous regular expression
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/builder/src/base/build/tmp/work/aarch64-poky-linux/busybox/1.31.0-r0/temp/run.do_configure.14451' failed with exit code 1:
| sed: -e expression #1, char 0: no previous regular expression
| WARNING: exit code 1 from a shell command.
|
This log entry is really useless for debugging problems so
add "set -x" to the configure script so that details can be seen
if something isn't working.
(From OE-Core rev: 20f1a454317ddff8a2e321c1fe55d086ff6fa286)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix error like:
lib32-e2fsprogs-1.45.3-r0 do_package_qa: QA Issue: /usr/sbin/e2scrub_all
contained in package lib32-e2fsprogs-e2scrub requires /bin/bash,
but no providers found in RDEPENDS_lib32-e2fsprogs-e2scrub
For some lib32 packages(eg: lib32-bash, lib32-sed) which probvides files,
extend is not needed
Eg: RPROVIDES of lib32-bash expects to have /bin/bash, with original
extend, it will become lib32-/bin/bash, then will cause above error
Fix by don't extend file dependency, and skip multilib check for file dependency
in do_package_qa to avoid error like:
WARNING: lib32-bash-5.0-r0 do_package: QA Issue: lib32-bash package lib32-bash
- suspicious values '/bin/bash /bin/sh' in RPROVIDES [multilib]
(From OE-Core rev: a9163120ed52534e7dbf4db50dc2b03bbf69f06b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables dont make sense for nativesdk targets which essentially
are target only properties, this helps in avoiding recompile of
nativesdk-libgcc-initial when switch libcs. nativesdk targets are glibc
only for OE
(From OE-Core rev: aff2d1264030a8061fc1b31dae0f369bfd76826b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl based extensible sdk fails to install
ERROR: 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:
Your system needs to support the en_US.UTF-8 locale.
The real reason is that its missing locale-archive in buildtools-tarball
hence python3 from buildtools-tarball fails to run bitbake when
installing esdk
(From OE-Core rev: c6e8e13f910544b2a4435d8b9e6dbc65847ef182)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-glibc should be spared of recompile when the distro features
are changed e.g. ldconfig is not in
DISTRO_FEATURES, this happens when sdk with musl and another one with
glibc is built
Fixes
Variable do_install value changed:
...
-DISTRO_FEATURES{ldconfig} = Set
+DISTRO_FEATURES{ldconfig} = Unset
(From OE-Core rev: e7af0204e6051489ef5646fbca2509a42e04bb72)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
s
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There have been rare errors during the build of adwaita-icon-theme, such as:
Exception: bb.process.ExecutionError: Execution of '.../temp/run.sysroot_stage_all.45186' failed with exit code 2:
cpio: ./icons/Adwaita/32x32/legacy/_inst.34160_: Cannot stat: No such file or directory
cpio: ./icons/Adwaita/32x32/legacy/_inst.33428_: Cannot stat: No such file or directory
cpio: ./icons/Adwaita/32x32/legacy/_inst.35421_: Cannot stat: No such file or directory
cpio: ./icons/Adwaita/32x32/legacy/_inst.34533_: Cannot stat: No such file or directory
cpio: ./icons/Adwaita/32x32/legacy/_inst.35366_: Cannot stat: No such file or directory
The problem was that a previous optimisation (oe-core cd9af17028) to massively
increase the install speed (by parallelling the hundreds of installs) was subtly
wrong. It was essentially doing this:
for i in list; do
install i &
done
wait
In pure shell this does parallelise the install commands and then wait for them
all to finish before exiting, but in Makefiles *each line in a separate shell*. The actual Makefile is closer to this:
for i in list; do \
install i & \
done
wait
The backslashes are required to write a multi-line for loop in a Makefile, but
note that when the loop ends the shell exits and all of the install processes
that are still running are disowned. The wait command then executes in a new
shell, and there are no childen to wait for.
The fix is trivial: add more backslashes so that the wait is part of the same
shell.
(From OE-Core rev: f969a8ff160390726565421d4c9b367e49172487)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tools/include/linux/bits.h was added in v4.20-rc1 with this commit:
commit ba4aa02b417f08a0bee5e7b8ed70cac788a7c854
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Tue Sep 25 10:55:59 2018 -0300
tools include: Adopt linux/bits.h
* also if you're building for such older kernel you will probably see
do_compile failing with:
| config/Makefile:448: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
| config/Makefile:495: Python 3 is not yet supported; please set
| config/Makefile:496: PYTHON and/or PYTHON_CONFIG appropriately.
easiest work around is to disable scripting PACKAGECONFIG, because
since oe-core commit:
commit 584af667e0000129bcb5c9e8108485f2f6590eaf
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Wed Aug 28 22:14:41 2019 -0400
perf: change dependencies on python to python3
The upstream kernel can now handle python3 for the perf scripts, coupled
with the impending EOL of python2, we switch the dependencies in perf
(scripting) to python3.
it now uses python3, but the support for that was added in kernel
v4.17-rc1 with:
commit 66dfdff03d196e51322c6a85c0d8db8bb2bdd655
Author: Jaroslav Skarvada <jskarvad@redhat.com>
Date: Fri Jan 19 21:56:41 2018 +0100
perf tools: Add Python 3 support
Added Python 3 support while keeping Python 2.7 compatibility.
if you really need scripting support than either backport the kernel
patch to your kernel or undo the perf recipe changes.
(From OE-Core rev: d6ee3d3bdf183a9060b5b0c25b97688a4b9d40dc)
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>
Add an empty line to inittab before the line(s) which start getty.
Also cleanup indent in recipe do_install().
(From OE-Core rev: d1955596080f8261efe3b21c5df005648ce207c9)
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>
When using devupstream class the SRCREV_FORMAT variable must be set.
(From OE-Core rev: 5d27db85d269f576929fd3c81f94e54d894cdf69)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To prevent issues with parsing or dependencies, limit this recipe to use
only when the libc is glibc (and libc-locale is glibc-locale).
(From OE-Core rev: 88849a0652f1a9cffd5c1b5caae2878b3a438273)
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>
There is currently no way to automatically load iptables rules in OE.
Add a systemd unit file to automatically load rules on network
connection. This is cribbed from the way ArchLinux handles iptables with
some minor modifications for OE.
New rules can be generated directly on the target using:
# iptables-save -f /etc/iptables/iptables.rules
Good documentation for writing rules offline is lacking, but the basics
are explained here:
https://unix.stackexchange.com/q/400163/49405
(From OE-Core rev: 76d3574d17c38d93ba4660bdae5730ac222994d4)
Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 3613b2780a6b5d5d70ea6802be5060a8214cbdb5 from
git://github.com/renesas-rcar/meta-renesas
The renesas rcar SoC H3/M3 is big.LITTLE architecture(cortex-a57.cortex-a53).
In order to optimize the performance of the code running on SoC H3/M3,
add a tune file for ARM Cortex-A53-Cortex-A57.
Create this tune file by refering GCC doc, 3.18.5 ARM Options.
(From OE-Core rev: 7e0c9290a9971b92bcb313742f126ca7488d91c3)
Signed-off-by: Meng Li <Meng.Li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake ovmf lib32-ovmf
[snip]
ERROR: ovmf-edk2-stable201905-r0 do_deploy_setscene: The recipe ovmf is trying to install files into a shared area when those files already exist.
Those files and their manifest location are:
/buildarea1/lyang1/rebase-work/test_cc/tmp-glibc/deploy/images/qemux86-64/OvmfPkKek1.key
(matched in manifest-qemux86_64-lib32-ovmf.deploy)
[snip]
Add it NON_MULTILIB_RECIPES to fix the problem since it is a firmware, build
multilib for it doens't make much sense.
(From OE-Core rev: 5c685f55ccba9d47a79e8798903b30b90bdf03c6)
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 will allow not having to multiply these options for the sdl
frontend, instead combining them as needed.
(From OE-Core rev: 922eb5012364b1603338cfa617712b941e892bbf)
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>
On qemuarm64 systems, about half of the valgrind tests fail and
often result in defunct processes, eg:
root 819 818 25 00:12 pts/0 00:01:52 /usr/bin/valgrind --command-line-only=yes --memcheck:leak-check=no --tool=memcheck -q --track-origins=
root 861 420 0 00:13 pts/0 00:00:00 [sh] <defunct>
Eventually these processes use so much memory that the
out of memory killer runs.
Hide the tests that fail as a horrid work-around until the
root cause has been resolved since this at least allows the
ptest run to complete. This work-around is done in the run-ptest
script using a sorted list of tests so that they can be easily
restored one by one without a rebuild during testing.
With core-image-minimal on qemuarm64:
Recipe | Passed | Failed | Skipped | Time(s)
valgrind | 333 | 49 | 17 | 7637
(From OE-Core rev: 208023f8fcbf4aee34544a80f962ae25f25ffb8d)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make some changes to the run-ptest script:
- after main tests run integrity check like the pkg Makefile.
- aesthetic and ordering changes
Add the .in_place directory and its contents which allows valgrind
to be run in-place thereby enabling the gdbserver_tests to
complete rather than hang. Unfortunately directory paths embedded
in binaries still cause many of these test to fail.
Add the exp-sgcheck tests.
With core-image-minimal on qemux86-64/kvm:
Recipe | Passed | Failed | Skipped | Time(s)
before | 648 | 12 | 60 | 1541
after | 662 | 20 | 38 | 1429
ppc-no-gdbserv | 415 | 196 | 34 | 10689
Since fewer tests timeout, the overall time has decreased.
With core-image-sato on qemux86-64/kvm the results are now
the same as core-image-minimal.
qemuppc/arm64 runs result in the oom-killer eventually running since
some processes do not terminate properly and accumulate as defunct
processes in memory. Without the gdbserver_tests, the tests
complete without defunct process or the oom-killer running for
ppc but not for arm64.
(From OE-Core rev: 6dbaaeec17eae8329031188b688b33306a871870)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust two memcheck vgtest files to deal with relative paths
that are in test executables when cross-compiling.
Add libgomp to enable OpenMP tests.
Add the bz2 executable for memcheck/tests/vcpu_bz2.
(From OE-Core rev: f75792b28e39e4c393c0a00369d5417e3af75b36)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add valgrind's top level config.h to the ptest package since
it is used by several scripts to determine which tests to run.
Drop the removal of:
none/tests/shell,
the content was already moved to:
none/tests/scripts/shell
so the filter useless and the files no longer cause a problem.
Add a few more test directories that had been omitted.
Add perf/bigcode for test: none/tests/bigcode
Leave .c, .h, .S files in the ptest image since several of them are
needed to run the tests. The overhead is ~13 MB which is high but
keeping all test code is easier than figuring out which source files
are needed and the entire valgrind-ptest package is ~115 MB so in
this context it's an acceptable trade-off.
Add bash dependency for ptest for none/tests/scripts/shell
With core-image-minimal on qemux86-64/kvm:
Recipe | Passed | Failed | Skipped | Time(s)
before | 149 | 1 | 9 | 663
after | 648 | 12 | 60 | 1541
(From OE-Core rev: 083a5dd27d305ecd12214f2665460dbe06b96c2a)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
riscv64 already has gdbserver set as ALLOW_EMPTY, so let's set it for
riscv32 as well.
(From OE-Core rev: 21e748d620022a75c0c2d0ab4a763a5992e8f154)
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>
The gpg commit signing in ostree-native doesn't work properly when
running from sstate. The ostree-native is linked with gpgme-native's
libraries, which have calls into gpg.
Ultimately it turned out the problem was that gpgme calls gpgconf and
some of the other gnupg-native binaries directly. Not all the
binaries have a wrapper which sets the environment variable GNUPG_BIN.
Without this wrapper these binaries it gets the path assignment from
the original compilation which causes a fault when running from sstate
in a new tmp directory because these paths will not exist.
(From OE-Core rev: f93bf3bd051923618ce3949d5686fdb8cf998645)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a client side error "Stale file handle" when mounting from a
nfs server running on 32bit arch.
Steps to reproduce:
1. $ MACHINE=qemux86 bitbake core-image-sato
2. $ runqemu qemux86 kvm nographic qemuparams="-m 1024"
3. $ echo "/nfs_root *(insecure,rw,async,no_root_squash,no_subtree_check)" \
>> /etc/exports
$ /etc/init.d/nfsserver restart
root@qemux86:~# mount -t nfs 127.0.0.1:/nfs_root /mnt
mount: mounting 127.0.0.1:/nfs_root on /mnt failed: Stale file handle
Backport a patch to fix this issue.
(From OE-Core rev: 727e6ce1f904abf1a1059fde759c3aaea37de199)
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>
-tzdata : upgrade from 2019b to 2019c.
-tzcode-native : upgrade from 2019b to 2019c.
-tzdata.bb and tzcode-native.bb require timezone.inc.
(From OE-Core rev: c5a382429d18642d35d40a4df6a58b971c724603)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some udev rules files such as 97-hid2hci.rules from bluez5, it calls
/sbin/udevadm in a rule. eudev provides /usr/bin/udevadm and
/sbin/udevadm which is a link to /usr/bin/udevadm. But systemd only
provides /bin/udevadm. It is not convenient to update the rule file that
udevadm reside in different directories for eudev and system.
So create link file ${base_sbindir}/udevadm in systemd just the same as
eudev to fix such kind of issues.
(From OE-Core rev: c8bf23349af4972a76cb4b13179dac844812d75f)
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>
Fix do_compile failure for libn32. To reproduce, use the following config.
MACHINE = "qemumips64"
require conf/multilib.conf
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
The error message is as following.
numpy/core/include/numpy/npy_common.h:206:10: error: #error Unsupported size for type off_t
(From OE-Core rev: b659b6dcb6be203e8c7bc678c902d4a31ce9fe70)
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>
Remove the broken piece of the API documentation template so the documentation
can be generated again.
(From OE-Core rev: 25a0d1b0b14a4fcd41ca08084a2f22db54dec58e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NO_PROXY can also contain just suffixes that do not start with a "*". We
failed to match those so far. Just add an extra "*" to also match those
suffixes. If one was there we get "**" which does not hurt.
(From OE-Core rev: 12f0cc209aaba48f846c62663e0b9e5efd253d71)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit cbc148d5d9.
The quoting causes H to be one string with spaces, so looping over
multiple entries does not work anymore.
(From OE-Core rev: 0fdc12dac6244be135ea519fe9c39109e7cfc6d6)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The escaping, splitting and matching of NO_PROXY in oe-git-proxy
deserves its own testcase, add it.
(From OE-Core rev: c07134711f97c966d70aaf2798800214d5426005)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use OEPTestResultTestCase to collect results and add logfile collection
and compression.
(From OE-Core rev: b75aced558013a459f29617b53cf477cb9b387ac)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the OEPTestResultTestCase class as a mix-in class to provide helper
functions for interacting with ptestresults within the extraresults
object generated by the test case.
This class also provides default compression of log text and log files.
Also add support to resulttool for decoding/decompressing log files
embedded in the test results.
(From OE-Core rev: 06cba9883a5964320969301fd05eeb6bec3e786d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Process binaries within the build directory before stashing to be
relocatable with ORIGIN relative rpaths. This corrects issues with
rpaths being invalid when trying to use the binaries from an unstashed
build directory (e.g. gcc-runtime).
(From OE-Core rev: 34d9f60a8c2e98fdacbb799af11ec015bc5700f4)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle multiple results series having ptestresults content. The contents
are merged on a per-result basis where duplicates are ignored (with a
warning message printed). The 'ptestresults.sections' collection is also
merged on a per-suite basis.
(From OE-Core rev: 47edd51970ed0c33edbe04fd72abd1cfc6ecd3d1)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Supplemental to commit fb17b46e2. The libevent "regress" test
outputs its own pass/fail results, e.g.
"2/300 TESTS FAILED. (31 skipped)", which will be miscounted
as an extra test fail in the ptest log. Fixed this to ignore
the libevent results line when counting actual pass/fail
results.
Also removed the for loop in run-ptest and targeted only the
libevent "regress" test, as the other tests being run were
related to performance and did not provide a relevant pass/fail
output.
(From OE-Core rev: 86b8a1d534bfcd70775c6e2b59eabe10de29f526)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the break_hardlinks kwarg to break hardlinks when modifying files.
This uses the bb.utils.break_hardlinks function to break hardlinks. The
default is to maintain existing behaviour and leave hardlinks in place.
(From OE-Core rev: 7628f6bdb5704c018d83e284364994b72557eaa5)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the 'append' action of argparse instead of nargs. This changes the
behaviour of the option from "-t foo bar -r" to "-t foo -t bar -r".
Additionally rename the long form options to be consistent with
behaviour, such that they specifying a single tag at a time.
(From OE-Core rev: ffe9e4303fa9799d2e8af9188853a262e15af226)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nowadays bitbake applies overrides dynamically, not at a single
specific point in time during parsing.
(Bitbake rev: 218431b0f7c97764cb2c0b79a3aadfe2007f490b)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The effects of _append/_prepend/_remove are applied when a variable
is expanded, not after parsing has completed.
(Bitbake rev: f9b67433cb4fe5132ab2cf4a9c6bc078b42e1960)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When removed all it did was
inherit gnomebase gtk-icon-cache gconf mime
which would also be the most trivial replacement.
Most of the time not all of these classes were needed,
and it is recommended to use only the ones actually required.
(From yocto-docs rev: a0a3a8318a1488ad2fb00b29f1cf26a9d6701be2)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian 10 is a supported distribution now, so add it to the documentation.
(From yocto-docs rev: 77ff109cf7dbe1858e9959c4b9f1225d0a1c5e32)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bluez4 was removed even from meta-oe 2 years ago,
which made made the bluez5 feature for selecting between
bluez4 and bluez5 mandatory for using the bluetooth feature.
The backfilled bluez5 feature has been removed,
including the bluetooth class that helped recipes
for selecting between bluez4/bluez5.
Recipes can replace ${BLUEZ} with bluez5.
(From yocto-docs rev: 025e2b5797b987b0260d7410e2e6d7283f5a7e91)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This matches the other toolchain tests.
(From OE-Core rev: d41606244c170fd547496e5df9e3d28ce2d2af68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rework the glibc execution into a common base class. Additionally tag
the tests with "toolchain-user" and "toolchain-system".
(From OE-Core rev: 94bf24268108774e022ad247c647e48a781debbb)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the gcc selftest cases into multiple classes one for each test.
This is done in order to make it easy to execute multiple gcc tests in
parallel when using oe-selftest with the '-j' arg.
Additionally tag the user tests with "toolchain-user" and the system
emulation (qemu system) tests with "toolchain-system".
(From OE-Core rev: 7b2f03eff9fc9b4ce48d5ea7e54faa114a6cdcae)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the -t/-T args to be optional so that they can be used together
with the existing -r/-a/... args to run a more flexible filtering of
test tags.
(From OE-Core rev: 55ee27bb07113a45da18711b5509764f62be4d75)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to take advantage of multiprocess execution of tests the
extraresults must be passed through the TestResult. With changes to how
oeqa/core handles test cases the extraresults attribute of the testcase
is passed to the TestResult, with passing across process boundaries
handled automatically.
(From OE-Core rev: 6a1b0c2003a0b4a1983f9494440e6ea02dc25585)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Suffix the ptestresults suite with "-user" for tests that are executing
against usermode qemu.
(From OE-Core rev: 0becf9c1fabb080a2481ebdacef6221f52301621)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not fail the running selftest test case if the test suite has a
failed test case. Currently toolchain tests suites (binutils, gcc,
glibc) fail but this does not indicate failure to execute the tests.
Also remove the logging of each test that failed.
(From OE-Core rev: 073575ff9c06b2791cc2bd88063d815d2220f038)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running the system emulation test case, do not include python3 or
pexpect in the image. The test cases that use these also need gdb (with
python configured).
(From OE-Core rev: 7e5be0803ea0cbfd8e5b052e43b54e16ab3230ed)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a oeqa selftest test case to execute the glibc test suite and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.
An additional subclass is created to separate the execution with qemu
linux-user and qemu system. The GlibcSelfTestSystemEmulated test case
handles setup of the target image, setup of and NFS server as well as
execution with runqemu.
(From OE-Core rev: 730832ebcca305477e1c13248cd35eea095b35c6)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a oeqa selftest test case to execute the gcc test suites and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.
An additional subclass is created to separate the execution with qemu
linux-user and qemu system. The GccSelfTestSystemEmulated test case
handles setup of the target image as well as execution with runqemu.
(From OE-Core rev: 2c86a25f8992243311e7fa1a8654b41f12b749de)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a oeqa selftest test case to execute the binutils test suites and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.
(From OE-Core rev: e5629aa4bd939072208f6eb5b30a98e17eb6a8ae)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These test cases are run by the autobuilder on a machine specific basis.
Add tags to these classes so they can be controlled by the metadata rather
than hardcoded in the autobuilder config.
(From OE-Core rev: de0b761b550d591f301ee5e9c232e0d5bd1342f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the __oeqa_testtags attribute added by OETestTag and display no, one
or more tags separated by a comma. Also change the formatting of the
output so that the list of tests is formatted as "<test> (<tags>)" and
remove the table header for "id" (it is no longer available).
(From OE-Core rev: d62e577a4e1a5f6accbce9f7bff7317a1162d72d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add '--run-only-tags' for running tests which match any of the provided
tags, and '--run-exclude-tags' for running all tests except those that
have any of the provided tags.
(From OE-Core rev: 0dc3caf21c4519ef16c2ac99b93c03e23aab61d9)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rework OETestTag so that it does not rely on the existing decorator code
base and instead inserts the tags into an attribute on the decorated
target (e.g. class/type or method). This allows the use of OETestTag on
classes and method.
In order to filter tagged tests rework the loaders filtering code,
removing the generic-ness (with validation and attributes/etc.) and
replace it with a "tags_filter" parameter which is a function that
filters a test based on the tags it has. This allows the loader user to
filter on tags in more specific ways (e.g. include all untagged tests
and any tests tagged with foo). Plumb all this through the context code
and testing code.
Update the associated tests to pass correctly with the changes.
(From OE-Core rev: b8a4a4c2de68110d74607cb9807c9e741ca9441c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implement handling of extra result (e.g. ptestresult) collection with
the addition of a "extraresults" extraction function in OETestResult. In
order to be able to serialize and deserialize the extraresults data,
allow OETestResult add* calls to take a details kwarg. The subunit
module can handle cross-process transfer of binary data for the details
kwarg. With a TestResult proxy class to sit inbetween to encode and
decode to and from json.
(From OE-Core rev: b0831d43606415807af80e2aa1d0566d0b8c209c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Thanks to wildcards in bbappend filenames, it's possible to have
multiple bbappends that apply to the same recipe in the same directory.
In order to get sstate hits between different workspaces, we want to
apply those bbappend files in a consistent order. Since readdir()
returns files in a non-deterministic order between workspaces (based on
inode number and/or time of creation), we'll need to sort its result in
order to have any consistency.
(Bitbake rev: 94c0c7f15c7a6244a8576ed948ffc21afb96ba82)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.2 reference kernels replace the EOL 5.0 series. So we drop
the named recipes.
(From OE-Core rev: 868e84c57e6725591fa1e93f5ea0a308d49e13f1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libevent ptest used to report only a global pass or a fail result.
Count individual PASS, FAIL, SKIP results. The SKIP results now
include tests that are disabled in the libevent code.
libevent's ptest output did not comply with the automake-style output
"result: testname", and reported a FAIL status at the end of the test
run if any of the libevent tests failed. This patch makes the log
consistent with the automake style:
PASS: http/cancel_by_host_no_ns
PASS: http/cancel_inactive_server
PASS: http/cancel_by_host_no_ns_inactive_server
SKIPPED: http/cancel_by_host_server_timeout
SKIPPED: http/cancel_server_timeout
and provides a summary as follows:
=== Test Summary ===
TOTAL: 316
PASSED: 300
FAILED: 0
SKIPPED: 16
DURATION: 87
END: /usr/lib/libevent/ptest
(From OE-Core rev: fb17b46e202cc08277d3eeb34872067c73a6bfbc)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added perl to the run-time dependency of the recipe for diffutils since
it is required by the test "large-subpot".
The test "strip-trailing-cr" is skipped since it requires valgrind to
work, but valgrind is considered too heavy-weight for diffutils package.
(From OE-Core rev: 802c67c7c27011812d690c41347b38481cdab2e9)
Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is provided by runit which another init system like systemd,
sysvinit, this lets oeqa run on systems which are using runit
(From OE-Core rev: e4eb3ca113985ab2be123eb5b5ea76764761df88)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE file checksum changed because few contributors were mentioned
(see @edbdbbc50beced9c723e7405334583c60a702796).
(From OE-Core rev: 06eb03ad1c0357731496531b290a0a2fdfd10f48)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since TUNE_FEATURES now either contains a CPU or an architecture (but
not both) we can't rely on finding the architecture in TUNE_FEATURES.
Use architecture specific over-rides instead.
(From OE-Core rev: 805dd4807d322dc70cef97edd68fdb3142b60fb1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build with usrmerge enabled:
WARNING: iputils-s20190709-r0 do_package: iputils: alternative target (/usr/bin/ping or /usr/bin/ping.iputils) does not exist, skipping...
WARNING: iputils-s20190709-r0 do_package: iputils: NOT adding alternative provide /usr/bin/ping: /usr/bin/ping.iputils does not exist
ERROR: iputils-s20190709-r0 do_package: QA Issue: iputils: Files/directories were installed but not shipped in any package:
/bin/tftpd
/bin/tracepath
/bin/arping
/bin/clockdiff
/bin/ping
/bin/traceroute6
/sbin/rarpd
/sbin/ninfod
/sbin/rdisc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
iputils: 9 installed and not shipped files. [installed-vs-shipped]
WARNING: iputils-s20190709-r0 do_package: iputils: alt_link == alt_target: /usr/bin/ping == /usr/bin/ping
(From OE-Core rev: 4b2322e90f6a3a4d2c44145aa85b688f28edddaa)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update sysstat from 12.1.3 to 12.1.6.
* make sa_lib_dir refer to ${libexecdir}/sa to fix conflictions when
multilib is enabled
(From OE-Core rev: 8862f21eeb814c64b8b9e662b093ed39474cd55b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Inherit multilib_script to fix file confliction when mutlilib enabled.
| Error: Transaction check error:
| file /usr/bin/texi2any conflicts between attempted installs of
lib32-texinfo-6.5-r0.core2_32 and texinfo-6.5-r0.core2_64
(From OE-Core rev: 08b6a12e674f7a202bb29fbb465997e8303ccb5d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redefine CUPS_SERVERBIN to "$libexecdir/cups" for cups which solves file
confliction when multilib is enabled.
| Error: Transaction check error:
| file /lib/systemd/system/org.cups.cups-lpd@.service conflicts between
attempted installs of cups-2.2.11-r0.core2_64 and lib32-cups-2.2.11-r0.core2_32
(From OE-Core rev: 274bed042b9c2b50a8bdd11b42f1a62405fb5b11)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packages can use
find_package(PythonInterp REQUIRED)
find_package(PythonLibs REQUIRED)
while we control PYTHON pointing to native py3 the libs and include
directories will then point to build host version, which can result in
unexpected combination and if we are lucky we get errors if its quite
different e.g. py2 libs/includes and py3 executable
This variable can be then used to export PYTHON_LIBRARY and
PYTHON_INCLUDE_DIR so that above find_packages can work correctly
see [1] for how it happens in cmake
LLDB uses it see [2]
[1] https://github.com/Kitware/CMake/blob/master/Modules/FindPythonLibs.cmake
[2] https://github.com/llvm/llvm-project/blob/master/lldb/cmake/modules/LLDBConfig.cmake#L226
(From OE-Core rev: e45c06fe6f9a21c2cd06ae003cb112556382f81e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cgitb module in misc package requires pydoc. And the trace
module in misc package requires pickle.
(From OE-Core rev: f7f04c4436f414ab1e57e7fc93349ac77ecf37be)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
it is not proper change source in do_install, it will make
source not updated even local.conf have change the DISTRO_FEATURES
[YOCTO #13493]
(From OE-Core rev: c8b049f43931ac7581b6f57d03e4d1838d394e1f)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 6676411fccff2d331878e4ca1f9411aafb056a80.
This revert restores the original code and adds a comment. The commit
that was reverted broke a number of wic templates and tools which rely
on the initramfs creation dependency and the case where the
INITRAMFS_IMAGE_BUNDLE is not set.
If an end user does not want the INITRAMFS_IMAGE generated, it should
be set to "".
[ Issue: LIN1019-1791 ]
(From OE-Core rev: ab61a11623ac0a25ba1c98d686c79815abab573f)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-meson/0001-Fix-missing-return-statements-that-are-seen-with-Wer.patch
Removed since this is included in 0.51.2.
(From OE-Core rev: 62ea5c31be4a1a5eaba83f81d09b36553febb647)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Adjust patches to comply with weston-7.0.0.
- Also drop the obsolete patch 0001-make-error-portable.patch.
(From OE-Core rev: 1b0ce3ec1d3254afa2cf3ac7ecfd736124d711cc)
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>
systemd has the ability to check the time on boot and if it's earlier than an
epoch determined at build time, set the time to that epoch. This is useful for
systems where the system time is January 1st 1970 (because the unix timestamp
was 0 at boot) as then at least the time is reset to something approximating the
right year at least.
By default systemd uses the mtime of the NEWS file, which is static for tarballs
and corresponds to the time the release was made, but for git checkouts this is
simply the time do_unpack() was executed. Thus, rebuilding systemd will cause
this embedded timestamp to change.
Remove the PACKAGECONFIG time-epoch which has the logic reversed: enabling
time-epoch will set the epoch to the unix timestamp 0). Replace with
set-time-epoch with the following semantics:
- When disabled, the time epoch is set to 0 (1st January 1970), so there is no
time manipulation on boot.
- When enabled, if reproducible builds are configured by setting
SOURCE_DATE_EPOCH then that timestamp is used for the time epoch. If
reproducible builds are not configured then the timestamp of NEWS (thus the
build time) is used.
The set-time-epoch flag is enabled by default.
[ YOCTO #13473 ]
(From OE-Core rev: 29afbd4f02354de7103ee3a88f4ce5336b95b88a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an argument to the log subcommand to extract the raw logs from the
reproducible selftest.
To prevent ambiguity, the "--raw" argument has been renamed
"--raw-ptest", although the old "--raw" argument is kept around for
compatibility.
[YOCTO #13324]
(From OE-Core rev: 7a4ebb361ff1efc22e7dafadfa60c98bc8a79ed4)
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>
PRIVATE_LIBS is used to exclude 'private' libraries from getting added to
automatic runtime dependency resolution. This variable currently has to list
all libraries by name, which becomes a maintenance issue if the list
of such libraries frequently changes, or is very large.
This change allows using shell-style wildcards in the variable, similar
to how FILES lists what gets packaged.
(From OE-Core rev: 732db32714c208d8eeeb90308926dc886ef7b791)
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>
-License-Update:
-file://GPL : Updated mailing address.
-file://libfdt/libfdt.h : Removed part of the copyright description of this file.
(From OE-Core rev: ada36d3e39aba9afec2d5438a80f0b35610ce15d)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a (disabled) PACKAGECONFIG for Graphite2.
Update the license checksum for hb-ucd.cc, which for some reason was
checksumming the entire file and not just the license header.
(From OE-Core rev: 6e097c853f17ec76b61440bb868371ddf6a8e977)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches improve CVE fixes but trip up patch status sanity checks, so add
CVE tags to them.
(From OE-Core rev: b30e060639d99849e27e5136c33c52d27e3288dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When PACKAGECONFIG libcurl is enabled, we would get the following build failure.
ERROR: Nothing PROVIDES 'libcurl' (but perf.bb DEPENDS on or otherwise requires it). Close matches:
The dependency should be curl.
(From OE-Core rev: 531bf25c4e9dda4938f1de6bf7f929ca9d639114)
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>
When PACKAGECONFIG libgcrypt is enabled, we would get the following error.
ERROR: /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config
In oe-core, libgcrypt has been turned to be configured with pkg-config instead
of libgcrypt-config, but qemu configure script does not contain pkg-config
related part for libgcrypt to handle it.
(From OE-Core rev: 37bec7c4ea3ebd17366fbd2ec719de401ec36275)
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>
* Removed the following patches which are already merged by upstream:
0001-Add-support-for-deb-and-ipk-packaging.patch
Rename-rpm-check.sh-to-pkg-diff.sh.patch
functions.sh-improve-deb-and-ipk-checking.patch
functions.sh-remove-space-at-head.patch
functions.sh-run-rpm-once-to-make-it-faster.patch
pkg-diff.sh-check-for-fifo-named-pipe.patch
pkg-diff.sh-check_single_file-return-at-once-when-sa.patch
pkg-diff.sh-remove-space-in-the-end-for-ftype.patch
* Rebased Ignore-DWARF-sections.patch
This version is very outstanding when compare binary packages, e.g.:
PRSERV_HOST = "localhost:0"
INHERIT += "packagefeed-stability"
PACKAGE_CLASSES = "package_ipk
$ bitbake opkg
$ find tmp/deploy/ipk >/tmp/ipk_1
Add a "bbnote 'hello'" to autotools.bbclass' autotools_do_configure.
* BEFORE the upgrading, the result is:
$ diff /tmp/ipk_1 /tmp/ipk_2 -Nur | diffstat
ipk_2 | 1570 +++++++++++++++++++++++++++++++++---------------------------------
1 file changed, 785 insertions(+), 785 deletions(-)
* AFTER the upgrading, the result is:
$ bitbake opkg
$ find tmp/deploy/ipk >/tmp/ipk_2
$ diff /tmp/ipk_1 /tmp/ipk_2 -Nur
No output
And if we really modifed a recipe such as opkg, then it would show that it is
changed.
For a full world build AFTER the upgrading:
$ diff /tmp/ipk_6 /tmp/ipk_7 -Nur | diffstat
ipk_7 | 2090 +++++++++++++++++++++++++++++++++---------------------------------
1 file changed, 1045 insertions(+), 1045 deletions(-)
There are 10968 packages in totall, 1045 ones have been changed, so we can still
improve it in the future.
(From OE-Core rev: 4c77fdfc0b3b31105a4dfd1a4634f8464b52d933)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
warrior only had one gcc so lets be consistent.
This will also reduce our maintenance overhead and we don't build this either
(From OE-Core rev: fa4ecadd980eff95eacd840ba0259f6272daa9aa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several of our patches were merged upstream just beyond our current version.
Update to that version and drop them.
(From OE-Core rev: 815a956f7bf4de031b7764f27f3eac005a15b5ce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not attempt to archive recipes which have no packaging tasks (e.g.
inherits nopackages).
(From OE-Core rev: 8618425e3f5a095a4fd409029c46e770c9526eee)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure glibc-testsuite has the same flags as glibc.
(From OE-Core rev: f8ab08441f90eb75295304c57746c6e5f907ca64)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'process_multilib_options' function of dejagnu also populates the
'multilib_flags' content from the '--target_board=' arguments. The
'ssh.exp' generated is missing this call ('user.exp' includes it).
(From OE-Core rev: 4d3d7cac012a1f53c61a997615a761a7f25dd33f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These recipes don't need to generate packages but did contain the packaging tasks which
would be triggered by a world build. They showed warnings or errors. Simplest fix
is to remove the unneeded tasks with the nopackages class.
Also don't attempt stash_locales task
(From OE-Core rev: a34420e1bdb9a695fe7abd3b26426d7ae6113349)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recipe needs to be created for the test suite due to the dependency
chain between libgcc -> glibc -> libgcc-initial, and the requirements of
the test suite to have libgcc for compilation and execution.
The glibc test suite does not use dejagnu like the gcc test suites do.
Instead a test wrapper script is used along with the assumed dependency
of having the same filesystem available on build host and target. For
qemu linux-user the same filesystem is inherently available, for remote
targets NFS is used. Separate test wrapper scripts are created for qemu
linux-user or ssh targets, with the same TOOLCHAIN_TEST_* variables used for
configuration.
(From OE-Core rev: 6c4d581c35ebd51c4b080ac38175d93f0480f97d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a do_check task to implement execution of the gcc component test
suites. The component test suites require execution of compiled programs
on the target.
The implementation provided allows for execution testing against a host
via SSH or within the local build environment using qemu linux-user
execution. The selection of execution is done via the
TOOLCHAIN_TEST_TARGET variable, and configuration of the remote host is
done with the TOOLCHAIN_TEST_HOST, TOOLCHAIN_TEST_HOST_USER and
TOOLCHAIN_TEST_HOST_PORT variables.
By default the do_check task will execute all check targets, this can be
changed by setting MAKE_CHECK_TARGETS to the desired test suite target
(e.g. check-gcc or check-target-libatomic).
(From OE-Core rev: 9d5d680baa91b34dc97641f98856a51d1bb060c1)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create the do_check task in a new recipe 'binutils-cross-testsuite'.
This recipe is built within a target recipe (not -cross) to ensure
correct testing against target specific libraries/etc. The do_check task
is used to execute the binutils test suite for the cross target
binutils. By default this executes tests for binutils, gas and ld. This
can however be changed by setting CHECK_TARGETS to the desired test
suite target (e.g. 'gas').
The binutils test suites do not require any target execution, as such
the check task can be run without QEMU or a target device. However
since the binutils tests do rely on a C compiler there is dependence on
both gcc and libc in order to run the tests.
(From OE-Core rev: 1fb98bfdccb82474176fe8fca616aea84475942e)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The binutils and gcc test suites use dejagnu for execution. Copy the
dejagnu recipe from meta-oe, and update it to 1.6.2.
(From OE-Core rev: 72692268b0c578450b568cfc2527098673c1dbe0)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Preserves the SSTATE_MIRROR variable for the first build in the
reproducible test. This patch is intended to test the theory that using
the Yocto autobuilder sstate mirror will still be reproducible. The
autobuilder always does clean builds and never rebuilds recipes that
were built previously, thus building with the mirror but not
sharing tmpdir and sstate with previous builds should be reproducible.
There is no guarantee that all sstate caches are populated from clean
builds so this patch cannot be submitted to master, and I'm not
bothering sending it to the mailing list.
(From OE-Core rev: 6b8e0077339a89cb01aa40c1b367a4e41a638892)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corrected the requirements for the KERNEL_DEVCIETREE
variable example.
(From yocto-docs rev: 0502910c81f4d669457155ed5f52d5fa775d8d6d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needed the wording updated.
(From yocto-docs rev: dd9e09273e9e5d5b6b43bf508f50d4d57e0dc569)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gtk is disabled by default as SDL is somewhat quicker to build.
(From meta-yocto rev: d48f63bba98c94171db5da826c35c50ff638d2fb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc's makefile can move files, replacing with the contents "timestamp". This
corrupts the headers and breaks things like the gcc testsuite.
Add in a fix to ensure the headers are not corrupted through their hardlink copies.
(From OE-Core rev: 7e75ed5aec86b94fe7fadbed606619f84a2e58e7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Systemtap has issues with the 5.2 kernel which are fixed in master, we helped
debug and submitted some of the patches. Update to a git version which includes
all the fixes.
(From OE-Core rev: 7054ec111c7a011adb8a39b3a70292b29470e2aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemumips doesn't appear to work well with 512MB of RAM and randomly hangs. As
the bump to 512MB was primarily motivated by the memory needs of virtualised GL
which doesn't work in qemumips currently, drop the memory back to 256MB for
qemumips.
(From OE-Core rev: 499a31cf06c934b40b5866d5eb77c9ad20c9a15f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to bitbake, implement a 'keepalive' output to the console to
ensure CI systems do not kill the process. The default timeout for
bitbake is 5000s.
(From OE-Core rev: 77939cca96fa5467c88eafa3ac0db2db4aef09d6)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating some 5.2 configuration changes (for new board supprt), and
the following fix:
kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
With this fix, we no longer see:
[ 0.032677] kprobes: failed to populate blacklist: -22
during boot on arm/mips
(From OE-Core rev: 2dc78e805d80bdba8710a6a417fc139e884b9ea9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These two tests relied on the context containing the results information.
This was moved into the OETestResults class.
(From OE-Core rev: ddad00bfec3b10b5a15a2a8eb57612bb5968f51f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At some point the modules in tests/cases/loader/invalid/ were removed,
this test relied on having tests/cases/loader/invalid/oetag.py to
trigger a ImportError in the loader module. Skip this test.
(From OE-Core rev: cf79aa6383e2a2773e53d5b3082154777646cda4)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Correct the 'staging_processfixme' call so that target sysroot and
native sysroot paths are corrected when extracting the stashed build
directory. This is required for 'make check' to work correctly due paths
used in configuration and scripts which point at the native sysroot.
(From OE-Core rev: 2c47ffb65ec16af50112f9c388dc85439c069848)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the path to nologin as with sulogin etc so we don't try to execute binaries
from the build path on the target (as the build finds a nologin in the sysroot
at build time).
(From OE-Core rev: 15d57de00a5c2763cc9ddb71d3e6b52a57f3fcd1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`import numpy.distutils' gives people the following error.
ModuleNotFoundError: No module named 'multiprocessing'
Fix it by adding multiprocessing dependency.
(From OE-Core rev: 08198d658b3617ba5e124f82540eba5e41fdad6c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`import testtools' will give people error for lacking of
doctest module. Add it to RDEPENDS to solve the issue.
(From OE-Core rev: eecde5b90fd8b0315e5f3540b861265fabaf1e73)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch originally came from oe-classic in 2010 with the comment "fix pc file
so that it actually links to the support libraries". If an application wants to
link to the support libraries then it should be using the relevant .pc files to
do so.
oe-core builds successfully with this patch removed and other distributions
don't carry it, so drop the patch.
(From OE-Core rev: f4a544f46e2a58e64e90d92855d1d85966eefa10)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the musl workaround, as upstream has solved this correctly now.
(From OE-Core rev: 6f777c872064cada250043da60d24295153642b6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This dates from when upstream was for some reason refusing the wget user agent,
but this isn't the case anymore:
$ wget http://www.thrysoee.dk/editline/libedit-20190324-3.1.tar.gz
...
HTTP request sent, awaiting response... 200 OK
Length: 521999 (510K) [application/x-gzip]
Saving to: ‘libedit-20190324-3.1.tar.gz’
2019-09-03 11:53:20 (1.22 MB/s) - ‘libedit-20190324-3.1.tar.gz’ saved [521999/521999]
(From OE-Core rev: 491aff847714464f1edf79968d3684e07764636a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current devtool test for the building of an out-of-tree kernel
module uses something which requires several "high order" kconfigs to
be set. This results in the test failing, not for expected reasons,
but rather because it depends on specific kernel configuration.
You will get error messages such as
ERROR: "video_ioctl2"
[.../1.0-r5/testsdkext/workspace/sources/v4l2loopback-driver/v4l2loopback.ko]
undefined!
ERROR: "video_unregister_device"
[.../1.0-r5/testsdkext/workspace/sources/v4l2loopback-driver/v4l2loopback.ko]
undefined!
Using a simpler hello-world kernel module example will only require
that CONFIG_MODULE is enabled, thus avoiding a false positive.
(From OE-Core rev: 48ad9cffa5f9412a8225c61be7e3528e2bdad095)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* noticed on read-only sshfs premirror
* it was showing the warning about renaming the file:
WARNING: laser-geometry-1.6.4-r0 do_fetch: Renaming /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz to /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441
and then failed because of movefile() issue with python3 (fixed in previous commit):
ERROR: laser-geometry-1.6.4-r0 do_fetch: Error executing a python function in exec_python_func() autogenerated:
with movefile() fixed, it let do_fetch continue and re-fetch locally with the right
checksum, but still the renamed file didn't exist, because of movefile failure - add
another warning when the movefile fails - for whatever reason - unfortunately movefile
prints error messages with just print() so the real error is hidden only in log.do_fetch
in this case:
movefile: Failed to move /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz to /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441 [Errno 30] Read-only file system: '/jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz' -> '/jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441'
(Bitbake rev: 9a1bf4ba9ec00c2a222d820f8f83d1f056b021d6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Last commit upstream was in Sep 2014; pull requests have been ignored since.
I believe eglinfo from mesa-demos is an adequate and maintained alternative.
Also this recipe was using an ugly waf blob placed directly into oe-core, which
was also dependent on python 2.
(From OE-Core rev: aa36510ebea93c1f6f327152e5aa63beccad0275)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to generate a rootFS with a large filesystem for use with
QEMU.
(From OE-Core rev: e06439200e44999c1e2f88d7d6c651da13698ca7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let the patch trigger based on target triplet instead of passing via
configure, this lets gcc compile for 64bit otherwise it ends up with
libgcc build errors
error: unable to emulate 'TF'
(From OE-Core rev: 2259bf5366a9ff654dfaf15baa5df2d943383ce6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when compiling for ppc64, build emits additional
STANDARD_STARTFILE_PREFIX_1 and STANDARD_STARTFILE_PREFIX_2 into
gcc/defaults.h which is not conditional because it really want to
override others with this new value, but it ends up with two definitions
since it gets emitted _after_ the definition this patch moves to
default.h and ends up in duplicate defines.
(From OE-Core rev: 2ad649ee9027011ae7bf6fd95417237b86e394e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Default riscv is little-endian moreover most of other arches define
bigendian as tune and treats absense as litteendian, this make risc-v
fall in line
(From OE-Core rev: cd6f377591a7bd7b3c61ce580f997aaeffab3df3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in defining LE tunes and at the same time specifies
endianness on compiler cmdline clearly, clang e.g. defaults to
little-endian always, so unless specified with -mbig-endian won't
compile the code right
(From OE-Core rev: e0fd699d398f0e88fb208970dea7b74e6e9431fe)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed to enable virgl support in qemu with SDL frontend
(From OE-Core rev: 92d9f9a6f6f3e8630fadeee5921126dfd9be147a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
native/nativesdk libepoxy and libsdl2 require this to be set, when they
have the respective opengl features enabled.
(From OE-Core rev: 83432f576731a614385c1c6bae6a0cec5d25c59b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When connman installed to image, /etc/resolv.conf is link to
/etc/resolv-conf.connman. So launch avahi-daemon after connman too
just same as after systemd-resolved.service.
(From OE-Core rev: b4673b5befa339b2ffc3c274b105ab96d730ea2d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| In file included from ../git/lib/alg-des.c:66:
| ../git/lib/alg-des.c: In function '_crypt_des_set_key':
| ../git/lib/byteorder.h:24:1: error: inlining failed in call to 'be32_to_cpu': call is unlikely and code size would grow [-Werror=inline]
| be32_to_cpu (const unsigned char *buf)
| ^~~~~~~~~~~
| ../git/lib/alg-des.c:81:13: note: called from here
| rawkey1 = be32_to_cpu (&key[4]);
| ^~~~~~~~~~~~~~~~~~~~~
(From OE-Core rev: 5d4720dfc8ec29ff3f487f84c5c874678ba20851)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some BSPs use a USB serial port which may or may not actually be
plugged all the time. It is quite useful to have a USB serial port
have a getty running but it does not make sense to wait for it for 90
seconds before completing the system startup if it might never get
plugged in. The typical example is that a USB serial device might
only need to be plugged in when debugging, upgrading, or initially
configuring a device.
This change is somewhat subtle. Systemd uses the "BindsTo" directive
to ensure existence of the device in order to start the service as
well as to terminate the service if the device goes away. The "After"
directive makes that same relationship stronger. When used together
this has the undesired side effect that systemd will wait until its
internal time out value of 90 seconds for the device to come on line
before executing a fail operation or letting other tasks and groups
continue. This is certainly the kind of behavior we want for a disk,
but not for serial ports in general.
The "BindsTo" directive is replaced by the combination of the "PartOf"
and the "ConditionPathExists" directives. The "After" directive is
unchanged because that will wait for the udev rules to process. The
"PartOf" directive will issue a stop to the getty service if the
device goes away, similar to the "BindsTo" directive. The
"ConditionPathExists" is what allows the service to fail fast vs
waiting for the timeout. When a USB device is not plugged in at boot
you would find a message in the system journal like:
systemd[1]: Condition check resulted in Serial Getty on \
ttyUSB0 being skipped.
If you want to observe the problem with qemu, it is easy to replicate.
Simply add the following line to your local.conf for a x86-64 qemu
build.
SERIAL_CONSOLES="115200;ttyS0 115200;ttyUSB0"
Login right after the system boots and observe:
root@qemux86-64:~# systemctl list-jobs |cat
JOB UNIT TYPE STATE
1 multi-user.target start waiting
69 serial-getty@ttyUSB0.service start waiting
64 getty.target start waiting
71 dev-ttyUSB0.device start running
62 systemd-update-utmp-runlevel.service start waiting
5 jobs listed.
You can see above that the dev-ttyUSB0.device will block for 1min 30
seconds. While that might not be a problem for this reference build.
It is certainly a problem for images that have software watchdogs that
verify the system booted up all the way to systemd completion in less
than 90 seconds.
This other nice effect of this change is that the fast fail device
extend to additional serial ports that may not exist on ARM BSPs or
that might be configured in or out by the dtb files on different
boards.
(From OE-Core rev: f0f359ec9210759f6b4dbfb35d3fba8af208c43a)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When extracting the sources for a recipe that has S == WORKDIR and no
local files in the SRC_URI (which, e.g., can happen for a recipe with
a URI that has the unpack=false attribute), the extraction fails with
the following backtrace:
Traceback (most recent call last):
File ".../scripts/devtool", line 344, in <module>
ret = main()
File ".../scripts/devtool", line 331, in main
ret = args.func(args, config, basepath, workspace)
File ".../poky/scripts/lib/devtool/standard.py", line 762, in
modify
initial_rev, _ = _extract_source(srctree, args.keep_temp,
args.branch, False, config, basepath, workspace,
args.fixed_setup, rd, tinfoil, no_overrides=args.no_overrides)
File ".../poky/scripts/lib/devtool/standard.py", line 647, in
_extract_source
bb.process.run('git %s commit -a -m "Committing local file
symlinks\n\n%s"' % (' '.join(useroptions),
oe.patch.GitApplyTree.ignore_commit_prefix), cwd=srctree)
File ".../poky/bitbake/lib/bb/process.py", line 178, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git commit -a -m
"Committing local file symlinks
%% ignore"' failed with exit code 1:
On branch devtool
nothing to commit, working tree clean
This is because no files were found in the oe-local-files directory
and consequently no symbolic links were added using `git add`, but the
`git commit` command was still executed.
(From OE-Core rev: 3fdf304e72a1fb5de8bf9bc21e5b598fefb08648)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years updated.
Drop the backport patch.
(From OE-Core rev: 88fb1140f4b65ed33cdd4152ef506461a33371a5)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The debug output showed the wrong variable.
(From OE-Core rev: 9b404c24ddc6212576b78c9fc56c57baa0fb3745)
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to enable the Panfrost Gallium driver in PACKAGECONFIG
(From OE-Core rev: 1685af76eb5d504e085a6e15fb16b902b89d857b)
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also allows building virglrenderer without python 2.x
(From OE-Core rev: ac1eab26a422136ab12733856de61ce46ca1cdea)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there is no version newer than 3.3-rc0 yet, an exception
from the check is needed.
(From OE-Core rev: 5850d42187de00db4b0c01ba97fe41aaec3f6613)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new recipe matching the tarbal version, there is
no need for an exception from the check.
(From OE-Core rev: 382bd74e69b7824deb5bb08f8559d22bce272bac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts that update my SRCREVs were missing the qemuriscv64. This
SRCREV bump moves it to match the rest of the 5.2 qemu BSPs.
(From OE-Core rev: f6c1b338778e9cb692bd9edf65214f7c355ed6be)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introducing the 5.2 linux-yocto reference kernels. 5.0 is EOL and will
be removed, leaving 4.19 (LTS) and 5.2 as the reference kernels.
This has been build/boot tested on all qemu architectures for
core-image-kernel-dev, and graphics tesed via core-image-sato. No
blocking issues have been found.
(From OE-Core rev: 14472621e4a0d3d3cf4c0bc43a8b7344c10008e3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We drop the patch 0001-arm64-sve-uapi-asm-ptrace.h-should-not-depend-on-uap.patch
since it was a backport and is already part of the 5.2 headers
(From OE-Core rev: c436abca9832f1aa93f30c8d6ff36471d7bc4ca9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had interesting failures where building gcc-cross-powerpc with 5.0 kernel
headers, then building eudev after moving to 5.2 headers failed.
gcc-cross doesn't rebuild when linux-libc-headers changes due to its
listing in SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS. This shouldn't matter but
fixincludes as adding asm-generic/socket.h to its filtered list which
was then replacing the real header with an older version. This mismatch
lead to build failures.
We trust the Linux kernel headers to be ANSI safe so lets just clear out
any headers and trust the originals to be correct.
(From OE-Core rev: f0fcaa88b7b2977c2cb35b060747442ee9ff3dcd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FAIL: test_wget_latest_versionstring (bb.tests.fetch.FetchLatestVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/tests/fetch.py", line 1229, in test_wget_latest_versionstring
self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
AssertionError: '' is not true : Could not find upstream version for db
[YOCTO #13496]
The Oracle UPSTREAM_CHECK_URI used changed and does not work with logic in wget.
Update UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to match the ones used in the
recipe. Also change the version being checked.
(Bitbake rev: 4cf5bb761c561ddea86f2875be35d05abc8486e1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's become more commone for files to be named "readme" or "Readme" on github servers
in recent time. So adjust the scanning to allow any mix of case.
(From OE-Core rev: afe46eca15b6ddfa15c75cb7b707d6dd9aae3eae)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the PACKAGECONFIG item, python3, is enabled, we get the following
QA issue when multilib is enabled.
ERROR: bind-9.11.5-P4-r0 do_package: QA Issue: bind: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/python3.7
/usr/lib/python3.7/site-packages
/usr/lib/python3.7/site-packages/isc-2.0-py3.7.egg-info
/usr/lib/python3.7/site-packages/isc
/usr/lib/python3.7/site-packages/isc/policy.py
[snip]
The thing is, when --with-python is specified with a path instead of 'yes',
the --with-python-install-dir is in fact ignored.
Fix this issue by specifying the correct arguments.
(From OE-Core rev: 2c36b3e5c7caae07ffe0cfb816d37fad52d69fc9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to include a few more small files for on target module
builds for 5.3+ kernels.
(From OE-Core rev: 9b3134995cf054679d573f28f916a629332ce126)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the 5.3+ perf builds, there are multiple unistd.h files that need
to be kept in sync. So not only do we update one, we update both to
ensure that libc-headers and the perf build are in sync.
perf checks some key files itself to be sure they are in sync, and
bits.h can be out of sync. There's no build error that results with
bits.h at the moment, but we still make sure they are in sync to
avoid the configure/compile warning.
(From OE-Core rev: b850ee597e7116cc2a7546853f2b976c891196ef)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream kernel can now handle python3 for the perf scripts, coupled
with the impending EOL of python2, we switch the dependencies in perf
(scripting) to python3.
Outside of dependency changes, we also pass the following two variables
to the perf build: PYTHON=python3 PYTHON_CONFIG=python3-config. To
ensure that our python3 components are used.
For configurations that disable perf scripting, there is no change in
behaviour.
[YOCTO #13358]
(From OE-Core rev: 584af667e0000129bcb5c9e8108485f2f6590eaf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Witht the approaching EOL of python2, the kernel packages need to
be updated to depend on python3.
The core kernel scripts are now python3 safe, making the RDEPENDS
change relatively simple.
but
There are some scripts that are captured in the devsrc files that
are not used, but reference /usr/bin/python. The python3 package
does not provide /usr/bin/python so any package managers with
automatic dependency detection will fail to assemble a rootfs due
to the missing intepreter.
We could drop the scripts from the source capture, but that
risks dropping something that we need in certain operations and
we'd miss when they are updated in tree to explicitly call python3
(since they won't be revisited often). Light testing shows that the
scripts do run with python3, so rather than removing them, we change
the interpreter once they are copied, and automatic dependency
detection won't cause us rootfs assembly issues.
(From OE-Core rev: 6745088b6c9e5c70df59d667347ede470df9a91d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following upstream commit to fix the build against
kernel 5.2+ headers:
[
Subject: [PATCH] tools: Fix build after y2038 changes in glibc
The 32-bit SIOCGSTAMP has been deprecated. Use the deprecated name
to fix the build.
]
Upstream-Status: backport commit f36f71f60b1e68c0f12e615b9b128d089ec3dd19
(From OE-Core rev: b4731a1202cfa45c7e1f635552398b89a37f2eeb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perform two clean builds without sstate instead of one partial rebuild
with sstate and one clean build without. There are some classes of
reproducibility issues that this solves, and while we would like to
resolve them in the long term the direction to do so is not currently
clear.
(From OE-Core rev: e97c529bfa4e1d0038ea44f15ee3298003daf981)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Records the results of the reproducibility analysis in the JSON test
results file. This makes it easier to do post-test analysis on the
packages.
[YOCTO #13324]
(From OE-Core rev: 6c357c8eee322163da96df676a54ff70a0bdc911)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some commands like to look for libraries at runtime manually (e.g.
Python's ctype.utils.find_library() function). For this to work
properly, the libraries in the native sysroot must be findable. To
accomplish this, set LD_LIBRARY_PATH to search library paths in the
native sysroot.
(From OE-Core rev: 3a7305bdfded3c8988484c3f430110cc121123b5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Runs each package class reproducibility test in a separate sub-test.
This allows the other sub tests to still run in the event that one
fails.
(From OE-Core rev: f0095e6c1b915e1e6ded111f4bf77fff0362e29a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleans up the output from the reproducible build before building to
ensure consistent results. Note that the output put is purposely left
after around after the build so that non-reproducible packages can be
diffed.
(From OE-Core rev: f67bb34c8e7950779920b696f8502dbaed9eded5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the following error.
safe_file_ops.c:219: BROK: Expected 3 conversions got 2 at meltdown.c:272
(From OE-Core rev: 372a211657bfddd7f32f30043ec06198f8c27101)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Remove 0001-Do-not-pass-null-pointer-to-freeaddrinfo.patch, the new api
can check the pointer before free it.
- Rmove 0001-makefile.am-update-the-path-of-libnfs.a.patch, it is already in
the source.
- Rmove nfs-utils-musl-limits.patch, it is already fixed.
- Rebased the following patches:
0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch
0001-configure.ac-Do-not-fatalize-Wmissing-prototypes.patch
bugfix-adjust-statd-service-name.patch
nfs-utils-musl-res_querydomain.patch
(From OE-Core rev: 5601523e16ebd35d7de8d22ec5590618ea9f7ffb)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was found to crash the X server on startup under qemu.
(From OE-Core rev: 045011ed29c0ab45892ad0881a4a8987f2adc977)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a discussion about what amount of RAM is appropriate for a
default; the outcome was that for now it is still 256M. Some qemu machine
definitions have however set this to 512M so for the sake of
treating all architectures fairly, they are reset back to 256M.
Also runqemu is adjusted to use 256M if QB_MEM is not set at all.
http://lists.openembedded.org/pipermail/openembedded-core/2019-August/285900.html
(From OE-Core rev: 04c01b6cc5be3e6d45d0e04571640648a5655a8b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is perhaps not the most elegant patch but it be dropped
once rpm is updated to the soon-to-be-released version 4.15
where upstream has removed mono dependency resolution altogether.
(From OE-Core rev: c829e89f99c973787f31422b4c32eeebe8c383d3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This command was dependent on the order of files on the disk and for multilib builds
could result in:
Error: Transaction check error:
file /etc/ca-certificates.conf conflicts between attempted installs of ca-certificates-20190110-r0.core2_32 and lib64-ca-certificates-20190110-r0.x86_64
Sorting the file makes things deterministic.
(From OE-Core rev: c8f329fc562c9eecdcc1cb10d2c7661f44110fb4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LSB has been removed, replace poky-lsb with poky-altcfg, a place
where we can test different configurations on the autobuilder as well
as showing an example of how to subclass a distro configuration.
(From meta-yocto rev: 00fdefff55717331a220fe624f29c387970d31d7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LSB as a standard isn't current and isn't well suited to embedded
anyway. Its putting artifical constraints on the system and with modern
layer technology, would now be better off as its own layer. As such
its time to split it out.
(From meta-yocto rev: 8bb0237a74c2b66d0d0f19e600a5fb39df67894f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LSB as a standard isn't current and isn't well suited to embedded
anyway. Its putting artifical constraints on the system and with modern
layer technology, would now be better off as its own layer. As such
its time to split it out.
The only part with some (marginal) usage is lsb_release,
which is split from the lsb package into an own lsb-release
package.
(From OE-Core rev: fb064356af615d67d85b65942103bf943d84d290)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The information of recipe-depends.dot is misleading.
e.g.
$ grep xz recipe-depends.dot | grep bzip2
"bzip2" -> "xz"
"xz" -> "bzip2"
Users would wonder why they get some circular dependency.
The information is derived from removing the task names
of task-depends.dot. It's not giving people any additonal
information, and it's misleading.
So we remove the generation of this file.
(Bitbake rev: 4c484cc01e3eee7ab2ab0359fd680b4dbd31dc30)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifying the force flag will now cause runall and runonly to
invalidate the tasks before running them. This allows a --runall or
--runonly to force the tasks to run, even if they would have otherwise
been skipped, e.g.:
bitbake -f --runall fetch
Will run all do_fetch tasks even if they wouldn't be necessary (for
example, skipped by setscene)
(Bitbake rev: 71e52d3822016027106f2a2e74b8dfdf20f5dc1e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add additional result types into the dictionary to handle dejagnu style
test results. These include PASS, FAIL, XPASS, XFAIL, UNSUPPORTED,
UNTESTED, UNRESOLVED and ERROR.
(From OE-Core rev: 684fc36402a23760b203f4761f284043031c799c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a nfs module into oeqa utils. This module provides unfs_server which
allows a test case to build unfs3-native and setup the unfs server on a
target directory of the host. This directory is then shared and can be
mounted by the host or a target device attached to the host (e.g. qemu
via tap or slirp). The nfs server is setup over UDP and automatically
assigns user privileged ports. The function provides the UDP ports for
the server as part of a returned python contextmanager which handles
cleanup of the server process on completion or exception.
Also add a 'udp' arg to get_free_port to get a free UDP port.
Note: unfs3 still requires the host to have rpcbind or portmap running.
(From OE-Core rev: c754fd85be85ad0a381b642365eca17cea8eb627)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch incorrectly removes 'mips_elf32_ntrad_le_vec' from the
'targ_selvecs' replacing it with duplicate entries for
'mips_elf32_ntrad_be_vec'. Correct this so that the default binutils can
still handle 'mips_elf32_ntrad_le_vec' binaries.
(From OE-Core rev: cdd499f23c129306da879b6f614ca1b720724300)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reproduce steps:
run fileman under examples, history command not work,
nothing is output.
Fix by increase history_offset when add history, if not,
it will make current history event not align with offset,
and cannot get history correctly.
(From OE-Core rev: a1ff64bee270c151532e68a5151e622de71b5321)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file is giving misleading information. There's a patch
for bitbake to remove the generation of this file. Remove
it from OEQA as well.
(From OE-Core rev: 691a45265a6a451c4bc7720ef39d99b84342822a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This solves the following errors:
src/mips/o32.S: Assembler messages:
src/mips/o32.S:286: Error: opcode not supported on this processor:
mips32r2 (mips32r2) `s.d $f12,((16*4)-10*4)($fp)'
src/mips/o32.S:287: Error: opcode not supported on this processor:
mips32r2 (mips32r2) `s.d $f14,((16*4)-8*4)($fp)'
(From OE-Core rev: 250d85144c0118aebfce105f02425c25cb028087)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It only printed a warning since Yocto 2.4,
documented to be removed in a future release.
(From OE-Core rev: 8976319d5ba0c9d4dbcee9b5226c105df30a2166)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible if a user really has to use it, but not recommended.
(From OE-Core rev: 10c1a27501a32740a03c3c6c0684c7d24374af08)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unless SQLITE_BYTEORDER is predefined, the code falls back to build
time huristics - which are not always correct (e.g. in sqlite 3.28.0
big-endian ARM is mis-detected).
(From OE-Core rev: c0fc43c228acd44499d9a1c257ec5e4cf42ed050)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's not clear that we actually need to call mount -o remount,XX from
the busybox-inittab inittab at all, but as we currently do, let's
respect read-only-rootfs in IMAGE_FEATURES and not remount / as rw.
(From OE-Core rev: 8840a831d47a94f36bb2e173164dbaf9b955e809)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Default values for MACHINE_ESSENTIAL_EXTRA_RDEPENDS and
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS are set from bitbake.conf and so
don't need to be duplicated in the packagegroup-core-boot recipe.
(From OE-Core rev: 82983c94da2446ab86b189a0278156ee884d0976)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Purpose of kernel development is basically to customize our
own recipes kernel by reused existing recipes.
This is an initiative of automating manual kernel development
test cases. Applying a single patch to the Linux kernel source
is one of the manual test cases of kernel development.
Objective of this test is as a developer we can make changes of
a file in kernel source and able to apply a single patch to
the kernel source.
ref:https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases
(From OE-Core rev: 00a5df641b94ef47eec36e742630db7b659102a4)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move still required entries as COMPATIBLE_HOST_libc-musl = 'null'
to individual recipes.
This also gives users a proper error message when trying to build
a known non-building package.
(From OE-Core rev: 8bbb17d2dcafa9b4e26941a55932f4be2782e1d1)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-libarchive/CVE-2018-1000877.patch
-libarchive/CVE-2018-1000878.patch
-libarchive/CVE-2018-1000879.patch
-libarchive/CVE-2018-1000880.patch
-libarchive/CVE-2019-1000019.patch
-libarchive/CVE-2019-1000020.patch
-libarchive/bug1066.patch
-libarchive/non-recursive-extract-and-list.patch
Removed since these are included in 3.4.0.
-License-Update: Copyright year updated to 2018.
(From OE-Core rev: 4f8fa80b6c57f29c68678cabcac5d114d1ff0500)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some notes:
- bjam bootstrap scripts were changed, and the patch for that had to be
adjusted. tools/build/src/engine/build.sh now supports an --debug option
which the bjam-native recipe can use to get the debug build of b2.
- a related patch was added to address a speed regression with the debug
version of bjam
- gcc.jam patch had to be refreshed because boost added more "cpu-flags"
lines.
- since 1.70.0, boost includes new cmake config files which are packaged
in ${PN}-dev now so they make it into the SDK. (although 1.71.0 is needed
to fix some bugs in them)
(From OE-Core rev: 810aded01fc2ae2c27c2573135c20947453e50c6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
compiling systemtap with icecc causes the following build failure
> build/tmp/work/silvermont-64-poky-linux/systemtap/4.0-r0/recipe-sysroot/usr/include/python3.7m/modsupport.h:120:66: note: in definition of macro 'PyModule_AddIntMacro'
> HelperSDT/_HelperSDT.c:145:34: error: 'PyTrace_RETURN' undeclared (first use in this function); did you mean 'PyTrace_C_RETURN'?
(From OE-Core rev: 66719424096eb0d3470647579364efe1556dc7b6)
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the populate-volatile.sh initscript tests if a configured symlink
is already in place, it uses readlink with the '-f' (follow) option:
> [ "$(readlink -f $source)" = "$dest" ]
If the test fails, it proceeds to delete the exisiting folder/file, and
create the configured symlink.
However, the '-f' option to readlink makes it follow symlinks pointing
at symlinks. If the $dest argument is a symlink, the above test fails,
and warnings are printed due to changing a read-only rootfs.
This is the case for /tmp, and /etc/resolv.conf:
> /tmp -> /var/tmp -> /var/volatile/tmp
> /etc/resolv.conf -> /var/run/resolv.conf -> /run/resolv.conf
Fix the warnings by removing the '-f' option, so that the test matches
the configuration.
[ YOCTO #10814 ]
(From OE-Core rev: fb028a0a25c02ab56ad262afd8e6e9495a44673d)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
256M was found to be no longer sufficient, as the X server fails to
start with the modesetting driver and 3D enabled.
Only images that actually include X11 are adjusted.
(From OE-Core rev: 9dd0812acc73287287b48d28e0935baf7f545b58)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building lighttpd with PACKAGECONFIG_append_pn-lighttpd = "lua" in local.conf,
bitbake gives the following error:
ERROR: Nothing PROVIDES 'lua5.1' (but /home/tgamblin/build/oe-core/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'lua5.1']
Removing the "5.1" from the PACKAGECONFIG line in lighttpd_1.4.54.bb fixes the issue.
(From OE-Core rev: 5ee9be17407ae0c23dc056c98b4a6818d2a845d6)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
License-Update: clarified license for numpy/core/src/multiarray/dragon4.c (it is MIT)
(From OE-Core rev: e11982182acc65913c6e3438304e8a15fe3792a2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The quilt "series" option relies on "less -R" but, since that
option is not enabled by busybox in oe-core by default,
hard-code the dependency on 'less'.
>From 'man less':
-r or --raw-control-chars
Causes "raw" control characters to be displayed. ...
-R or --RAW-CONTROL-CHARS
Like -r, but only ANSI "color" escape sequences are
output in "raw" form. ...
In 2018, BusyBox's less added:
8528d3d4f less: optional support of -R
but it is not enable by default for oe-core. While we could
enable the option, all known use-cases involve larger, more
developer-oriented recipes such as quilt or man pages.
(From OE-Core rev: 64f9fd2a1ebfad102140801f8be8b8be33082d61)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The quilt ptest uses a custom Makefile to implement the
"make check" rule, but the ptest Makefile does not export
the variable QUILT_PC, which is user-settable and normally
defaults to ".pc". This causes failures e.g. import.test
with "rm -rf patches/ %{QUILT_PC}/", evaluating to
"rm -rf patches/ /" if the variable is not set by the
Makefile.
These ptests broke in:
73d6034f6b quilt: update to 0.66
when the upstream quilt developers enabled users to specify
their own QUILT_PC string.
(From OE-Core rev: 7ef7923bd9161d562298ace68491a2230210c3e4)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This release ships some files that were previously missing from git but needed
for the test suite.
Add RDEPENDS on locale-base-en-us as some of the tests explictly use it.
No need to depend on liberation-fonts, all of the tests use Cantarell.
With these changes, just one test fails (filed upstream as
https://gitlab.gnome.org/GNOME/pango/issues/405) and there are no skips.
(From OE-Core rev: 6db9109058be33b10d68949fe72273e8a92f9f12)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson build system is importing sysconfig, which requires
having a target confiuguration available.
(From OE-Core rev: 6763c89611f7cc4a1ba9098222069a58148d44d9)
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>
libffi 3.1 release has been a bit aged and new architectures, compilers
have since been come on stage to compile it, we have been carrying
patches, but its better to use the latest 3.3 rc0 which has lot of these
issues handled and is in good shape.
Use 3.3~rc0 for PV to keep room for upgrade path without PE bump
fix the multilib header conflict
file /usr/include/ffi.h from install of libffi-dev-3.2.1+3.3+rc0-r0.core2_32 conflicts with file from package lib64-libffi-dev-3.2.1+3.3+rc0-r0.x86_64
(From OE-Core rev: 06e731bdea527d5c42e99bbcef7f2835e158c0a0)
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>
Remove patch 0001-nis-hosts-Remove-use-of-RES_USE_INET6.patch
since this is included in 3.1
(From OE-Core rev: dd6cdf637819933f5c9eb82298a0442826113234)
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configuration:
MACHINE = qemumips64
bitbake lib32-core-image-minimal
runqemu slirp nographic qemumips64 ext4
Error:
ERROR - Failed to run qemu: qemu-system-mips: unable to find CPU model 'MIPS64R2-generic'
Fixed by moving QB_SYSTEM_NAME to Respective configuration file
(From OE-Core rev: e724e8836ed614ff8eaa0d0d9c51d22ee62576b3)
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>
We put gcclibir to be /usr/lib/<arch>/... and not default
usr/lib/gcc/<arch>, therefore make the include search path also look
into this directory, this should help in finding gcc headers like omp.h
(From OE-Core rev: 121ce09332099ab7ea695a3495daf4f904f69ae5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On systemd, it set RLIMIT_NOFILE to 512k, since do_testimage
for core-image-sato-sdk has memory limitation (256Mib) which
caused rpc.statd failed with out of memory.
[ 531.306146] Out of memory: Kill process 193 (rpc.statd) score 200 or sacrifice child
The rpc.statd and rpc.mountd allocates memory according to
RLIMIT_NOFILE, so decrease it to 4k to keep sync with sysvinit
After applying the patch, the memory cost is the same with sysvinit:
root@qemux86-64:~# systemctl status nfs-statd
* nfs-statd.service - NFS status monitor for NFSv2/3 locking.
Loaded: loaded (/lib/systemd/system/nfs-statd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-08-20 03:16:18 UTC; 3min 26s ago
Main PID: 343 (rpc.statd)
Tasks: 1 (limit: 271)
Memory: 1.0M
root@qemux86-64:~# systemctl status nfs-mountd
* nfs-mountd.service - NFS Mount Daemon
Loaded: loaded (/etc/systemd/system/nfs-mountd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-08-20 03:19:01 UTC; 1min 21s ago
Main PID: 451 (rpc.mountd)
Tasks: 1 (limit: 271)
Memory: 736.0K
Suggested-by: Chen Qi <qi.chen@windriver.com>
(From OE-Core rev: 6d61cd2bdc9e326eaa59082b5dd7423e522b96d3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They remain not as widely known as they should be;
perhaps mentioning them in the environment init banner could help.
(From meta-yocto rev: 66777ed9a12e6a651b95859ecc2919aa88c128ba)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They remain not as widely known as they should be;
perhaps mentioning them in the environment init banner could help.
(From OE-Core rev: b19f8e9eb67894bbac145e807bf2e1b330dc1cd9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG for gnu-efi, by default the meson.build looks explicitly in
/usr/include and /usr/lib for gnu-efi, and if it is present on the host the
build will fail.
[ YOCTO #13487 ]
Original patch by Chin Huat Ang.
(From OE-Core rev: 050cda9f02c6a5c773edf092514b173839569a48)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MIT license files must include the copyright notice.
(From OE-Core rev: 285b91a9b687be2ac6a398f66d7173384d8976af)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BSD license files must include the copyright notice.
(From OE-Core rev: f5cfcaa79fd3a2cfd9299f2c8e7686b502e52551)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BSD license files must include the copyright notice.
(From OE-Core rev: b57f10c08bef1005b4bb195b84e39cab0e251420)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LICENSE file states that some code is licensed under BSD, some under
ISC, and some under MIT. The LICENSE field should reflect all of these.
(From OE-Core rev: 91096392cf46cae369849723cea14a9da1f3053b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using just "BSD" license implies BSD-3-Clause and this recipe appears to
be closer to a BSD-2-Clause.
(From OE-Core rev: b90d9f0c2084cce8d245fe683b45fb344c6f1cb8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following changes:
f632b23 drm: Find a proper modeset device, is none is provided
(From OE-Core rev: 8b77262bdaa8cf825133171f898cc20e89909df7)
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>
Before this patch:
# python3 -m test -v test_locale
[snip]
test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ok
[snip]
After this patch:
# python3 -m test -v test_locale
[snip]
test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9')... ok
[snip]
Make the test ended with "... ok" is common in python
unittest world, we should make it keep consistent
with other test cases in case it may be ignored to
record in the report if we use the common filter
"... ok".
[YOCTO #13298]
(From OE-Core rev: 4e698cf8f3a9c661f5b67c6001ad4d92b574d136)
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>
This is required before enabling p11-kit support by default in gnutls.
(From OE-Core rev: 2a35202dbffd31eac1c00c03497549805853ad6c)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Right now `devtool build` runs populate_sysroot and packagedata tasks.
Adding deploy to this list, if the recipe has the deploy task, so that
the newly built artifacts are available in the deploy directory.
Applicable only for packages with deploy task, such as kernel.
[YOCTO#13382]
(From OE-Core rev: b38a1328f0c7bc4b4102a05daee4058fd3214489)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
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>
Currently, if a test occurs multiple times over different series, the
code will sum these. This can lead to confusion over the desired
results. Change the code to report the redundant tests and skip adding
an additional values.
(From OE-Core rev: caeaa0648dff64c56a33f52e45e82bfab6719e3e)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than repeatedly calling mc_from_tid() do this in the parent,
removing around a million function calls. Takes time spent in this
function from 40s to 36s.
(Bitbake rev: 28b3f0d8867804799420689c314ac4a8f01efb8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are other data structures which can be reprocessed at the same
time as holdoff_tasks, further improving build efficiency in various
places.
(Bitbake rev: 02090b3456b7a2de12e72dfeaabfd3b631609924)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need to process the holdoff task list until we're executing tasks
which saves some data manipulation, at the cost of some data structures
not being correct at all times. This saves significant amounts of time
in various profile charts of larger builds.
(Bitbake rev: 270f076111b12eab358417b0c4cf9c70d7cc787a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've observed do_package and do_package_setscene running in parallel. The
reason is that holdoff_tasks wasn't getting updated. Looking at the code, it
would seem the reason is that the task was in pending_migrations and hence
changed wasn't set and holdoff_tasks wasn't updated.
Fix this. It only affects builds with rehashing enabled.
(Bitbake rev: e26e61e84575669bd223f6ab316798097ed95ec8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we define a metadata siggen it can fail due to the early init here. Move
slightly later to avoid those failures which allows fixes in OE to the
check-layer script related to the hash equiv siggen.
(Bitbake rev: fdf5c341f3393173876a753c46c9bd067eb2b353)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have a -bios option for the RISC-V virt machine in QEMU we
can pass OpenSBI in via -bios and the kernel in via -kernel. We no
longer need to pass the kernel in via -device loader so let's remove
that.
(From OE-Core rev: 65e7f371f19e053d0bac7771a80615f6bada74c7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for specifying a BIOS the same way that the KERNEL variable
is specified. This includes specifying a QB_DEFAULT_BIOS variable.
(From OE-Core rev: fc2a2260aa22a81da6619b4affaf8ae0b5556a34)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale-processing in cross-localedef was proven to be unsafe to
run in parallel due to the way it tried to make hard links to files
that could disappear before the link operation was completed.
To avoid corruption of the pseudo database, and create a
deterministically generated link tree, the operation of the locale
generation and the hard link resolution have been split into two
separate parts. A side effect of this change is that the do_package()
rule for glibc-locale will be slightly smaller because some of the
hard links were missed in the past, particularly if you had a lot of
cpus free to perform the work.
Before the patch:
% du -sk locale-tree
312524 locale-tree
With the patch:
% du -sk locale-tree
290772 locale-tree
A number of comparisons were performed such as diffing the output,
cross checking the link references using tar's listing output, and
comparing against the results with out a parallel build to ensure the
locale-tree is correct in its final form.
[YOCTO #11299]
[YOCTO #12434]
(From OE-Core rev: 93d935927dd0ec0fa6f0a80a71236a7b00a5d1a4)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hard link resolver that is built into localedef cannot be run in
parallel. It will search sibling directories (which are be processed
in parallel) and perform a creation of a .tmp file and remove the
original and move the .tmp file in. The problem is that if a probe
occurs a hard link can be requested to the file that is being removed.
This will lead to a stray copy or potentially, on a loaded system
cause race condition which pseudo cannot deal with, where it is left
with a hard link request to a file that no longer exists. In this
situation psuedo will inherit the permissions of what ever the target
inode had to offer.
In short, there are two problems:
1) You will be left with stray copies when using the hard link
resolution that is built in while running in parallel with
localedef.
2) When running under pseudo the possibility exists for uid/gid
leakage when the source file is removed before the hard link can
be completed.
The solution is to call localedef with --no-hard-links and separately
process the hardlinks at a later point. To do this requires the
inclusion of the hardlink utility found in modern versions of
util-linux. Most host systems do not have this, so it will be
included with the cross-localedef binary.
There are two patches here. The first imports the raw version of
hardlink.c and a couple of header files directly from util-linux. The
second patch applies the fix-ups to make it compile, along with a
change to recipe to package the new binary.
[YOCTO #11299]
[YOCTO #12434]
(From OE-Core rev: 57e2e498ffb675d274aa95b10c14bd81742d2761)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixed a potential security vulnerability on musl and made
the patch obsolete.
(From OE-Core rev: 30b6ae3084f63df437a4d6dd859bca674ca01e12)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /etc/init.d/psplash.sh will be invoked both in boot and
shutdown/reboot. And the psplash tmpfs will be mounted twice. This
will trigger a bug in umount and let the system hang when
shutdown/reboot. I already made a patch [1] to fix the issue in
umount, but there is no reason for the psplash to do the twice mount.
So also fix it.
[Yocto 13461]
[1] https://lore.kernel.org/util-linux/20190819083022.12289-1-kexin.hao@windriver.com/T/#u
(From OE-Core rev: 5cea0448c5c75b9defc5fc2582e9b0c14e26a4e9)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the following failure.
ustat02.c:44: FAIL: ustat(2) failed to produce expected error; 14, errno: EFAULT: EINVAL
(From OE-Core rev: e05f5e1d44293827260541e301ce25d15eb405af)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the followig failure.
tgkill03.c:94: FAIL: Defunct tid should have failed with ESRCH: SUCCESS
(From OE-Core rev: 92e873c63499850f1f9461d3babde13d44bc8f9c)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_package has PKGDESTWORK as a cleandir and do_packagedata has it as an sstate-input
dir. This means do_package wipes out the directory at both do_package and do_package_setscene.
do_package_setscene and do_packagedata_setscene can run in parallel when installing from
sstate which means they can wipe out parts of each other leading to interesting
build failures.
We therefore have to add in a hardlink copy so that the directories can work independently
of each other.
(From OE-Core rev: 692b2046bb60806ee6bbde6ba15bd1637b00efb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The layer checks are designed to work with OEBasicHash so ensure that handler
is in use rather than the new hash equivalency one as an example.
(From OE-Core rev: a10bf92516a4771e2dc49ba9f74323d7a87a1619)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we have installed some lib32 package which depends on perl/bash,
then populating sdk for that image would fail with the following error.
Error:
Problem: package lib32-libxml-namespacesupport-perl-1.12-r0.corei7_32 requires lib32-perl, but none of the providers can be installed
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /usr/bin/perl provided by lib32-perl-5.30.0-r0.corei7_32
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with libperl.so.5 provided by lib32-perl-5.30.0-r0.corei7_32
This could be produced by the following steps:
1. IMAGE_INSTALL_append = " lib32-valgrind"
2. bitbake core-image-minimal -c populate_sdk
We need to extend all packages in DUMMYPROVIDES to avoid such problems.
(From OE-Core rev: 6a38c6aafc2956bb6f7824eff4ac0f630f02da75)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test-bus take long time to finish, sometimes longer than ptest-runner's
timeout limit 300s, so skipped it for now
[YOCTO #13409]
(From OE-Core rev: 76caa7aece5cc8513989f77bb15944a22d17edf5)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These postfuncs cause native recipes to rebuild when changing system
init provider between sysvinit and systemd. Some of these native recipes
are pretty early in dependency chain ( e.g. util-linux ) which can casue
rebuild of pretty much everything including compiler.
Found with bitbake-diffsigs
Hash for dependent task python/python3_3.7.4.bb:do_prepare_recipe_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-devt
ools/python/python3_3.7.4.bb changed from 2a45fe0cd0d3640a88c4a5c8b1880c4e9a089cc7446a91d2a920c1cef6fa916a to bc2a0921cce50da1b7be3b59a3d8211ec
2a31262493ffa5909acbb7116fad3bf
Hash for dependent task util-linux/util-linux_2.34.bb:do_populate_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-
core/util-linux/util-linux_2.34.bb changed from 15d6e165f025f10c2c455df8a875cafe021eaed4214c793e708d4827a58ca89d to 54e542d5da99cacfc9290ef5d27
9de50bdcb9195f67ae6dfff59fe41d10f7bd2
Hash for dependent task util-linux/util-linux_2.34.bb:do_install:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-core/
util-linux/util-linux_2.34.bb changed from e25b1119ce8dd7ca43fbd2db771e04fa6ff6b9d701fd78ac6c443224b036ed9f to bb5b172a83e7edd272402a9dcd80c4e1
29aa1ecb824c2cfa388086cfed24fef5
basehash changed from 62df6610eab9c1b1a17d7132943507641c8538690f26186843c86144d4598e64 to 80471f7c0bded9d1b593da69708b0e0f10882db08
5e1bf769edb3018e6c744d0
Variable rm_sysvinit_initddir value changed:
@@ -11,4 +11,4 @@
shutil.rmtree(sysv_initddir)
DISTRO_FEATURES{systemd} = Unset
-DISTRO_FEATURES{sysvinit} = Set
+DISTRO_FEATURES{sysvinit} = Unset
(From OE-Core rev: f2d60e0f6a8e93cb0779f4719e58b99ad01fb954)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps with a case where a distro builds one image with systemd and
another with sysvinit, it ends up recompiling almost everything since
python3-native gets rebuilt and tracing dependencies with
bitbake-diffsigs shows that the chain ends at util-linux-native being
recompiled because distro features now does or does not have 'pam'
Hash for dependent task python/python3_3.7.4.bb:do_prepare_recipe_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-devt
ools/python/python3_3.7.4.bb changed from 8befaac4f995aaff3f95d27c9caaf1006f86e1344b02c1ae82f5d12f885f2240 to 2a45fe0cd0d3640a88c4a5c8b1880c4e9
a089cc7446a91d2a920c1cef6fa916a
Hash for dependent task util-linux/util-linux_2.34.bb:do_populate_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-
core/util-linux/util-linux_2.34.bb changed from 0db292cb2e37d5788bdcf51038b2802d748b719d860aca3a26d7a793b0cf3905 to 15d6e165f025f10c2c455df8a87
5cafe021eaed4214c793e708d4827a58ca89d
Hash for dependent task util-linux/util-linux_2.34.bb:do_install:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.34.bb changed from 54bb4ee6bdb5c7fc260dabddb4932cb0e554a62cd92aba080a18306291fb470b to e25b1119ce8dd7ca43fbd2db771e04fa
6ff6b9d701fd78ac6c443224b036ed9f basehash changed from 8e8687a866689a697001dedc0a43f478e68e6efe270bd77362f24c6000f9e882 to 62df6610eab9c1b1a17d7132943507641c8538690
f26186843c86144d4598e64
Variable do_install value changed:
rm -f ${D}${bindir}/chkdupexe
- if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
+ if [ "${@bb.utils.filter('PACKAGECONFIG', 'pam', d)}" ]; then
install -d ${D}${sysconfdir}/pam.d
install -m 0644 ${WORKDIR}/runuser.pamd ${D}${sysconfdir}/pam.d/runuser
install -m 0644 ${WORKDIR}/runuser-l.pamd ${D}${sysconfdir}/pam.d/runuser-l
@@ -47,5 +47,4 @@
rm -f ${D}${base_sbindir}/nologin
rm -f ${D}${base_bindir}/kill
-DISTRO_FEATURES{pam} = Unset
PACKAGECONFIG{pam} = Unset
So far it seems this pam conditional code in util-linux is target
specific and would not apply to native or nativesdk recipes
(From OE-Core rev: a57f56576eda4b3ad5496e375b432e06e34ad8b9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in enabling them via packageconfig from SOC layers
(From OE-Core rev: 853179121e0f2149ca6365ac0b8ab5017079d5e6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using gold on mipsn32 still fails. It fails to run
$ bitbake webkitgtk -c configure
with configuration:
MACHINE ?= "qemumips"
DEFAULTTUNE = "mips64-n32"
(From OE-Core rev: d67417ec55f3f580159f2d05322a0444ca466872)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The other active kernel versions have this feature available. To
consistently enable the same video output for qemu, we can cherry
pick the feature to 4.19.
(From OE-Core rev: a777e0f34e106455f963bd58fd8728a16c588c4d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since stress-ng replaces and is compatible with stress,
provide stress to be compatible with the old recipe
and binary packages.
(From OE-Core rev: fd6cf57430b7c88525dc6711dadfbe8f02c44354)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As reported in https://bugzilla.yoctoproject.org/show_bug.cgi?id=12563,
the regex that matches valid CONFIG_ options was missing some of the
ones in net/netfilter/ipvs/Kconfig, and hence triggering invalid
option warnings.
By dropping the trailing space on the regex, we'll cover all the cases
for valid option.
(From OE-Core rev: 461a2f54751ca18e17f897b10d6c3c47dab1733a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the following fragments from meta-security to make them
centrally available and easier to maintain:
283939d5c9e kernel-cache: add yama security fragments
0b86f3fa241 kernel-cache: add ima fragments
731b466654d kernel-cache: add smack
813afe8ff47 kernel-cache: add apparmor fragments
(From OE-Core rev: 3063d64984e993d3e7dc2f4c80fb74005f5d6d7e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From the kernel patch:
[
It was observed that the kernel embeds the path in the x86 boot
artifacts.
From https://bugzilla.yoctoproject.org/show_bug.cgi?id=13458:
[
If you turn on the buildpaths QA test, or try a reproducible build, you
discover that the kernel image contains build paths.
$ strings bzImage-5.0.19-yocto-standard |grep tmp/
out of pgt_buf in
/data/poky-tmp/reproducible/tmp/work-shared/qemux86-64/kernel-source/arch/x86/boot/compressed/kaslr_64.c!?
But what's this in the top-level Makefile:
$ git grep prefix-map
Makefile:KBUILD_CFLAGS += $(call
cc-option,-fmacro-prefix-map=$(srctree)/=)
So the __FILE__ shouldn't be using the full path. However
arch/x86/boot/compressed/Makefile has this:
KBUILD_CFLAGS := -m$(BITS) -O2
So that clears KBUILD_FLAGS, removing the -fmacro-prefix-map option.
]
Other architectures do not clear the flags, but instead prune before
adding boot or specific options. There's no obvious reason why x86 isn't
doing the same thing (pruning vs clearing) and no build or boot issues
have been observed.
So we make x86 can do the same thing, and we no longer have embedded paths.
]
This issue has been reported upstream, and a patch submission is
pending, but for now, we'll soak the proposed patch in linux-yocto to
see if any issues are found
[YOCTO: #13458]
(From OE-Core rev: 78b0ff5960814af935a8089ec49c51d76f148149)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.3 kernel has two changes that require tweaks to the minimal
kernel-devsrc package.
- 4ce97317f [x86/purgatory: Do not use __builtin_memcpy and __builtin_memset]
This change removes the need for arch/x86/purgatory/string.c and
instead reuses a copy in arch/x86/boot/compressed/, so we can't copy
the file anymore. To support older kernels, we make the copy survive
the non-existence of the file.
- b1663d7e [docs: Kbuild/Makefile: allow check for missing docs at build time]
This change adds the sourceing of Documentation/Kbuild to the top
level Kbuild file. So we now leave the copy of Documention/'s Kbuild
in the devsrc.
(From OE-Core rev: 53e975c18a14ddb8ad7eab23c8e18e05517953cd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake <target> --runonly=fetch
failed as the target_tids list included entries which were no longer targeted
task ids. Fix this.
(Bitbake rev: 94e848ae6544e628a19cb97115279b0b1678967c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can cause a huge backlog of closing sockets on the server and
in our case we don't really want/need the protection TCP is trying to
give us so work around it.
(Bitbake rev: 7bc79fdf60519231da7c0c7b5b6143ce090ed830)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The parseBaseConfiguration() raises bb.BBHandledException(), but
BitBakeServer() didn't handle it, so we always got unexpected exceptions when
there were errors. For example:
=== Case 1:
* Add "print "hello"' in base.bbclass' def oe_import() function
def oe_import(d):
print "hello"
[snip]
$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Last 60 lines of server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
File "/buildarea1/lyang1/poky/meta/classes/base.bbclass", line 21
print "hello"
^
SyntaxError: Missing parentheses in call to 'print'
<The first exception>
During handling of the above exception, another exception occurred:
<Tracebacks>
<The second exception>
During handling of the above exception, another exception occurred:
<Tracebacks>
<The third exception>
During handling of the above exception, another exception occurred:
<Tracebacks>
[snip]
Now it looks like:
$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 21:
The code lines resulting in this error were:
0001:def oe_import(d):
*** 0002: print "hello"
0003: import sys
0004:
0005: bbpath = d.getVar("BBPATH").split(":")
0006: sys.path[0:0] = [os.path.join(dir, "lib") for dir in bbpath]
SyntaxError: Missing parentheses in call to 'print' (base.bbclass, line 21)
=== Case 2:
* Add 'HOSTTOOLS += "hello"' to conf/local.conf:
$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
<Tracebacks>
[snip]
During handling of the above exception, another exception occurred:
[snip]
<Tracebacks>
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
hello
The error message is printed by bb.fatal() which raises bb.BBHandledException(),
but BitBakeServer() doesn't handle it, so we got it.
Now it looks like:
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
hello
No unexpected exceptions anymore.
[YOCTO #13267]
(Bitbake rev: 6e6865e6371dbd31a136eae64cc5b1fa5f5bee33)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't appear to have ill effects right now but there is a correctness
issue which this so fix it.
(Bitbake rev: a5e084a266f63c2fd370122327615e49beaeb94e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was overwriting data in the parent which caused all kinds of
odd/weird failures.
(Bitbake rev: 4c5aeb424247a9d0c907524ffacd9c61fcdc0852)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were paths being accidentally included in some of the hashserv tests. Remove
that and update the hashes so the tests work independently of paths.
(Bitbake rev: 6ddb9f09cb60c2354fa6a67cce412c4dc1e7dc2d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SRC_URI was moved from xorg-app-common.inc, since it has hardcoded file
extension (tar.bz2), but upstream stopped publishing tar.bz2 archives
for newer versions of the packages.
(From OE-Core rev: 36fa73a1ab1b4954c962cf6f01bba698f4e7c2f8)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The way this class uses overrides to support generation of multiple
sections is subject to two different issues: 1) labels that conflict
with existing override names causing the value for the conflicting label
to be set for all labels, and 2) reusing the override list through each
iteration, prepending each new label to the list of overrides makes
earlier labels' value take precedence over later labels, making later
labels virtually impossible to customize.
The first issue is resolved by removing all label names from overrides
before iterating over labels. The second issue is resolved by
generating a fresh list of overrides with only the current label added.
The current label is also appended to the list of overrides instead of
prepended, which makes it the highest priority override. This is
matches the behavior of devtool-source.bbclass, which similarly
monkey-patches overrides.
Closes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13469 .
(From OE-Core rev: 42b44fdd9e63b8d39cf83baecec08328275558ff)
Signed-off-by: Will Page <wpage@polysync.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The old URI returns 404, and has an invalid TLS certificate.
(From OE-Core rev: 73ff6aba0a53ffc3ee0a5859a3ad4c8021be4de0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recursive RDEPENDS resolution requires that all of the dependent
recipes' packaging has completed. There is no mechanism to ensure that
and therefore races were observed.
This change effectively requires recipes to list their runtime file
dependencies explicitly rather than have them pulled indirectly.
This may require a bit of fixing in layers, but should result
in a better definition of runtime file dependencies.
(From OE-Core rev: 08e2b5a31b23b98459479caf6ec5f5c6fc19d57a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a very old change as and be inferred from the name in the comment.
We've since had many changes to pkgdata including separating it
to its own sysroot now so the reasons for this blanket exclusion are
likely long gone.
If the shlib provides were really the problem I'd much rather have
a dedicated variable for that too.
Removing this fixes missing dependencies on nativesdk-libc and other
libs which would then happen automatically.
(From OE-Core rev: 096fa15efbcb704451b2f38ceab36508ef64f07e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE does not use the traditional /usr/lib/gcc prefix to store gcc-runtime
it basically is moved into libdir, however some newer files were
installed by newer versions of gcc especially libgomp ( omp.h openacc.h )
into gcclibdir, so we have content in both directories, this confuses
other tools which are trying to guess the gcc installation and its
runtime location, since now we have two directories, the tools either
choose one or other and we get inconsistent behavior, e.g. clang for
aarch64 uses /usr/lib but same clang for riscv64 chose /usr/lib/gcc
This change ensures that OE ends up with single valid location for gcc
runtime files
Move more common bits into common inc file
(From OE-Core rev: e9e5744ba8b0d43c8b874d365f83071ce20bf0a1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given grep expression looks for error strings regardless of the
semantics and this ends up it flagging things like
***********************
Log: /mnt/a/yoe/build/tmp/work/raspberrypi3_64-yoe-linux-musl/yoe-qt5-wayland-image/1.0-r0/target_logs/weston.log
-----------------------
Central error: EGL_KHR_create_context_no_error EGL_KHR_fence_sync
***********************
here EGL_KHR_create_context_no_error is an API, therefore the check
should be tightened a bit so explicitly look for error words so such
false positives don't show up
This helps in fixing wrong matches e.g. on rpi3 dmesg have strings like
above
(From OE-Core rev: e54ecea0a7d309533973b31bdbda178d9af92632)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in skipping this test on images which are not using gtk and
as per the gcalculator website it needs gtk+3 or gtk+2 and libglade as
the build first looks for gtk+3
(From OE-Core rev: 2cdb4b3697e02947352803a9db013d61b812c4fd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below error:
file /usr/lib64/go/src/cmd/cgo/zdefaultcc.go conflicts between attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-dev-1.12.6-r0.core2_64
file /usr/lib64/go/src/cmd/go/internal/cfg/zdefaultcc.go conflicts between attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-dev-1.12.6-r0.core2_64
these 2 files existed in both go-dev and go-runtime-dev
remove it from go-runtime-dev to fix the problem
(From OE-Core rev: 60dcae509a210f2cae8eda525a1b006663aef9bf)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its now past EOL so retire it.
(From meta-yocto rev: 03046c2fe69c399173cf6303abb55264adaee2b9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the task hashes change we need to ensure the stampcache is cleared out
else tasks don't rerun when they should as we're basing decisions on stale
cache data.
(Bitbake rev: 08962092d3bb7887d82f97d442a6103c0677eae7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We weren't marking this special case of setscene task as buildable leading to
runqueue task failures.
(Bitbake rev: 930efbc563443d82df8d692bb8ff172ca2bae192)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further testing shows we should test some extra datastructures to help pinpoint logic
errors more precisely. This adds some further data structure sanity checks.
(Bitbake rev: 83c4370b25c3a14cc946965c5c5f83ea28f488a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This debug statement could result in a long list of tasks which when
repeatedly sent over our IPC, slowed down the builds immensely. Remove
it in favour of other more targeted debugging added recently, bringing
back some lost performance, particularly on builds with large numbers
of tasks.
(Bitbake rev: 85fe627fdb6510f0942917964386fad9d8c479c8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The event from the task notifiing of hash equivalency should only be processed
when the task completes. This can otherwise result in a race where a dependent
task may run before the original task completes causing various failures.
To make this work reliably, the code had to be restructured quite a bit.
(Bitbake rev: 1bf5be46f92f125193638cf41ff207d68f592259)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The changed_setscene variable here is just odd and not needed. Worse,
it could prevent some tasks from being removed from the holdoff tasks
list. The list is being rebuilt and should work as intended just from
the other data, this is a leftover from previous versions of the code
as far as I can tell.
(Bitbake rev: 030b9f2b3ce6ed40e79304eb0ffee6c6613f43be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst we had good runqueue failure mode debug, it hadn't adapted to the
scenequeue changes. Run the scenequeue sanity tests at the end of
a build and output the results regardless of whether all setscene tasks
completed or not. This *massively* improves the ability to debug runqueue
problems.
(Bitbake rev: b9b2177473c0b95a23bd519a201e1d2ba101c6c1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Looking at the profile information, a lot of time is being spent in
next_buildable_task. This is probably due to the generator expressions
not working well with the empty test.
The easiest way to improve things is to switch to using set manipulations.
We also don't need to update self.buildable the way the original code did
as we don't rely on that anywhere.
(Bitbake rev: 3bcf9ad4964b7e42d1a02ce231e9db42a81ead2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If tasks are in the covered list of tasks for a given setscene task,
it needs to wait for those to complete before we can start.
(Bitbake rev: fdee640c26750b852eb68f5c80437377aa300ed8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At exit the hashserv code was causing tracebacks as join() wasn't
being called from the thread that started the process. Ensure that
the hashserver is started from the pre_serve hook which is the
final thread the cooker runs in. This avoids the traceback at the
expense of some horrific poking into data stores which will ultimately
need improving through a proper API.
(Bitbake rev: 05888700e5f6cba48a26c8a4c447634a28e3baa6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some extra hash equivalence runqueue tests based on recent scenarios
that caused problems during testing.
(Bitbake rev: 373b085ead992a725b2230ededd992b4c61a1a05)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous tasks_covered and tasks_notcovered were basically unstable
data structures. We couldn't always tell whether tasks should be covered
or not when trying to repair the sturcture if sstate tasks reran.
In the end its simpler to throw the lists away and rebuild them based upon
current data rather than trying to patch it adhoc. This turns out to be
simpler and much more reliable and I've much more confidence in this code.
(Bitbake rev: 52ee2ba2c617d928569f5afa404925c8b6f317bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to copy this set, not modify the original else all kinds
of weird and bad things break, mostly from circular references.
We'll not go into how much sleep I lost tracking down the fallout
from this.
(Bitbake rev: 49927546d2b306830c98f6f9da4a6ad828f6a3a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #13447]
When running bitbake-layers layerindex-fetch from 'master', there is a
circular dependency between meta-oe and meta-python. This triggered a maximum
recursion depth exception.
To fix the exception, as we walk down a branch (depth first search), we track
the layers we've already seen. If we are about to recurse into a layer we've
already seen we report a warning and then stop recursion.
(Bitbake rev: d6155d095513be3f500d089c4ed4c4b89949d560)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I rebuilt all cmake recipes from poky and meta-oe without issue.
(From OE-Core rev: b1ebf9122a5670044998adb83ca7a5a6c5454eaa)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add switch for building database verification, enable
this, it will solve the following issue:
root@qemux86-64:~# db_verify /var/lib/rpm/Packages
db_verify: BDB0571 library build did not include support for database verification
BDB5105 Verification of /var/lib/rpm/Packages failed.
(From OE-Core rev: a785157c7d78bd4becdc03c93a21a5dba37015b9)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Refresh the following patch:
files/pie-flags.patch
-files/fix_SHAREDDIR.patch
Removed since this is included in 0.52.21.
(From OE-Core rev: 5b7fd7a945f8eeece51f01ad20a6de12fea89433)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before meson conversion this was always enabled; now it needs to
be explicitly switched on.
This un-breaks the virgl headless test in particular, which regressed
with the meson conversion (and the test is not currently run on AB
due to oudated graphics hardware in it).
(From OE-Core rev: 22d3f959e44b77cb6d7375a77cf028ceeb9d6cb4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, 'nographic' was set first, and was overriding anything set via runqemuparams.
Particularly, egl-headless from the virgl headless selftest was overriden,
which broke the test in non-X environments.
(From OE-Core rev: 344c55a58042ecd6ffed8b20add41b6b335c51bf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Like for ARM bjam need some hints about the ABI to properly build on
aarch64. While at it also enable context and coroutine as these are
supported on aarch64.
(From OE-Core rev: 5140e0a64aac8c621fe0d839dea41b7b43a96b4d)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this might be related to:
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
* it's still a bit unclear when and why this happends, but I'm seeing
random tasks sometimes failing with:
WARNING: Exception during build_dependencies for set_icecc_env
WARNING: Error during finalise of /build/meta-oe/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb
ERROR: Traceback (most recent call last):
File "/build/bitbake/lib/bb/data_smart.py", line 411, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/build/bitbake/lib/bb/data_smart.py", line 136, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
File "/build/bitbake/lib/bb/utils.py", line 421, in better_eval
return eval(source, ctx, locals)
File "Var <set_icecc_env>", line 1, in <module>
File "/build/oe-core/meta/classes/icecc.bbclass", line 287, in icecc_get_and_check_tool
link_path = icecc_get_tool_link(t, d)
File "/build/oe-core/meta/classes/icecc.bbclass", line 246, in icecc_get_tool_link
return subprocess.check_output("readlink -f %s" % tool, shell=True).decode("utf-8")[:-1]
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 'readlink -f /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/build/bitbake/bin/bitbake-worker", line 239, in child
the_data = bb_cache.loadDataFull(fn, appends)
File "/build/bitbake/lib/bb/cache.py", line 327, in loadDataFull
bb_data = self.load_bbfile(virtualfn, appends, virtonly=True)
File "/build/bitbake/lib/bb/cache.py", line 340, in load_bbfile
datastores = parse_recipe(bb_data, bbfile, appends, mc)
File "/build/bitbake/lib/bb/cache.py", line 303, in parse_recipe
bb_data = bb.parse.handle(bbfile, bb_data)
File "/build/bitbake/lib/bb/parse/__init__.py", line 107, in handle
return h['handle'](fn, data, include)
File "/build/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 142, in handle
return ast.multi_finalize(fn, d)
File "/build/bitbake/lib/bb/parse/ast.py", line 386, in multi_finalize
finalize(fn, d)
File "/build/bitbake/lib/bb/parse/ast.py", line 351, in finalize
bb.parse.siggen.finalise(fn, d, variant)
File "/build/bitbake/lib/bb/siggen.py", line 147, in finalise
taskdeps = self._build_data(fn, d)
File "/build/bitbake/lib/bb/siggen.py", line 118, in _build_data
tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d)
File "/build/bitbake/lib/bb/data.py", line 388, in generate_dependencies
deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
File "/build/bitbake/lib/bb/data.py", line 317, in build_dependencies
value, parsedvar = d.getVarFlag(key, "_content", False, retparser=True)
File "/build/bitbake/lib/bb/data_smart.py", line 802, in getVarFlag
parser = self.expandWithRefs(value, cachename)
File "/build/bitbake/lib/bb/data_smart.py", line 424, in expandWithRefs
raise ExpansionError(varname, s, exc).with_traceback(tb) from exc
File "/build/bitbake/lib/bb/data_smart.py", line 411, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/build/bitbake/lib/bb/data_smart.py", line 136, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
File "/build/bitbake/lib/bb/utils.py", line 421, in better_eval
return eval(source, ctx, locals)
File "Var <set_icecc_env>", line 1, in <module>
File "/build/oe-core/meta/classes/icecc.bbclass", line 287, in icecc_get_and_check_tool
link_path = icecc_get_tool_link(t, d)
File "/build/oe-core/meta/classes/icecc.bbclass", line 246, in icecc_get_tool_link
return subprocess.check_output("readlink -f %s" % tool, shell=True).decode("utf-8")[:-1]
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)
bb.data_smart.ExpansionError: Failure expanding variable set_icecc_env, expression was if [ "${@use_icecc(bb, d)}" = "no" ]
then
return
fi
ICECC_VERSION="${@icecc_version(bb, d)}"
if [ "x${ICECC_VERSION}" = "x" ]
then
bbwarn "Cannot use icecc: could not get ICECC_VERSION"
return
fi
ICE_PATH="${@icecc_path(bb, d)}"
if [ "x${ICE_PATH}" = "x" ]
then
bbwarn "Cannot use icecc: could not get ICE_PATH"
return
fi
ICECC_BIN="${@get_icecc(d)}"
if [ -z "${ICECC_BIN}" ]; then
bbwarn "Cannot use icecc: icecc binary not found"
return
fi
if [ -z "$(which patchelf patchelf-uninative)" ]; then
bbwarn "Cannot use icecc: patchelf not found"
return
fi
# Create symlinks to icecc in the recipe-sysroot directory
mkdir -p ${ICE_PATH}
if [ -n "${KERNEL_CC}" ]; then
compilers="${@get_cross_kernel_cc(bb,d)}"
else
compilers="x86_64-oe-linux-gcc x86_64-oe-linux-g++"
fi
for compiler in $compilers; do
ln -sf ${ICECC_BIN} ${ICE_PATH}/$compiler
done
ICECC_CC="${@icecc_get_and_check_tool(bb, d, "gcc")}"
ICECC_CXX="${@icecc_get_and_check_tool(bb, d, "g++")}"
# cannot use icecc_get_and_check_tool here because it assumes as without target_sys prefix
ICECC_WHICH_AS="${@bb.utils.which(os.getenv('PATH'), 'as')}"
if [ ! -x "${ICECC_CC}" -o ! -x "${ICECC_CXX}" ]
then
bbwarn "Cannot use icecc: could not get ICECC_CC or ICECC_CXX"
return
fi
ICE_VERSION=`$ICECC_CC -dumpversion`
ICECC_VERSION=`echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g"`
if [ ! -x "/build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/icecc-create-env" ]
then
bbwarn "Cannot use icecc: invalid ICECC_ENV_EXEC"
return
fi
ICECC_AS="`${ICECC_CC} -print-prog-name=as`"
# for target recipes should return something like:
# /OE/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm920tt-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.2/as
# and just "as" for native, if it returns "as" in current directory (for whatever reason) use "as" from PATH
if [ "`dirname "${ICECC_AS}"`" = "." ]
then
ICECC_AS="${ICECC_WHICH_AS}"
fi
if [ ! -f "${ICECC_VERSION}.done" ]
then
mkdir -p "`dirname "${ICECC_VERSION}"`"
# the ICECC_VERSION generation step must be locked by a mutex
# in order to prevent race conditions
if flock -n "${ICECC_VERSION}.lock" \
/build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/icecc-create-env "${ICECC_CC}" "${ICECC_CXX}" "${ICECC_AS}" "${ICECC_VERSION}"
then
touch "${ICECC_VERSION}.done"
elif ! wait_for_file "${ICECC_VERSION}.done" 30
then
# locking failed so wait for ${ICECC_VERSION}.done to appear
bbwarn "Timeout waiting for ${ICECC_VERSION}.done"
return
fi
fi
# Don't let ccache find the icecream compiler links that have been created, otherwise
# it can end up invoking icecream recursively.
export CCACHE_PATH="$PATH"
export CCACHE_DISABLE="1"
export ICECC_VERSION ICECC_CC ICECC_CXX
export PATH="$ICE_PATH:$PATH"
bbnote "Using icecc path: $ICE_PATH"
bbnote "Using icecc tarball: $ICECC_VERSION"
which triggered exception CalledProcessError: Command 'readlink -f /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' returned non-zero exit status 1.
ERROR: Task (virtual:multilib:lib32:/build/meta-oe/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb:do_patch) failed with exit code '1'
(From OE-Core rev: 577919d71f9be3de851c653e6981d715b37042ea)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update e2fsprogs from 1.44.5 to 1.45.3:
* rebase ptest.patch
* remove 0001-create_inode-fix-copying-large-files.patch which merged by upstream
* add new sub-package e2fsprogs-e2scrub and disable cron support
(From OE-Core rev: e5f8c1facfc3507710d7111951fe075e01c58e4e)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the removal of setuputils, there was a missing runtime dependency on pkgutil
which was breaking the selftests for gobject-introspection at runtime. Fix this.
(From OE-Core rev: 50048ff2da2cc209fe6bf1452dc2cf2a545fe886)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-setuptools is an optional build-dependency of pygobject but
it is not necessary to run it, as also documented by the upstream
packaging guide:
https://gitlab.gnome.org/GNOME/pygobject/blob/master/docs/packagingguide.rst
Remove it from RDEPENDS to shrink the runtime dependency chain, as
setuptools includes scripts to download other packages, which might not
be desired on a minimal image.
(From OE-Core rev: 3054791e62c6ac1b03b7658f9c59761b254fa05c)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With removal of python 2.x numpy, nothing needs it anymore.
(From OE-Core rev: 9f07b2836405d86e869780f8f1ae00843eadc409)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core or meta-oe is using it (scons.bbclass is set
to use 3.x version).
(From OE-Core rev: cd2205677fd167be51dc92436fe8f3a5aa440851)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 1.17.0 release of NumPy no longer supports Python 2.x.
(From OE-Core rev: 4e9659f24e2f699effadcbe378b6a746d77ccdbd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Derek Straka has been inactive for about a year; Oleksandr
has been the de facto maintainer meanwhile.
(From OE-Core rev: 90edb9c2e2d5b68ee6923167d96aa957fab97b8b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using DISTRO_FEATURE usrmerge, busybox and something that
requires dpkg-start-stop there is a conflict which prints the
following error.
===
ERROR: core-image-minimal-1.0-r1 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.
Details of the failure are in /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/temp/log.do_rootfs.
ERROR: core-image-minimal-1.0-r1 do_rootfs: Function failed: do_rootfs
===
Looking at the log file, it shows the problem:
update-alternatives: Error: not linking /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/rootfs/usr/sbin/start-stop-daemon to /usr/bin/busybox.nosuid since /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/rootfs/usr/sbin/start-stop-daemon exists and is not a link
===
The solution is to add an update-alternative to start-stop-daemon for dpkg.
(From OE-Core rev: e6d51c9472dab6cbec313ba51f9e8b9271f02eb8)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using different root directories with a wks file wic is using the
value from the original ROOTFS_SIZE which is not correct. Example:
Number Start End Size File system Name Flags
1 20.5kB 318MB 318MB fat16 otaefi legacy_boot, msftdata
2 318MB 636MB 318MB ext4 otaboot
3 636MB 1709MB 1074MB ext4 otaroot
4 1709MB 2027MB 318MB ext4 otaboot_b
5 2027MB 3101MB 1074MB ext4 otaroot_b
6 3101MB 5249MB 2147MB ext4 fluxdata
The partitions 1, 2, and 3 incorrectly inherit the size, instead of using
a computed size. With the patch applied it is working properly:
Number Start End Size File system Name Flags
1 20.5kB 14.5MB 14.5MB fat16 otaefi legacy_boot, msftdata
2 14.5MB 65.3MB 50.8MB ext4 otaboot
3 65.3MB 1139MB 1074MB ext4 otaroot
4 1139MB 1190MB 50.8MB ext4 otaboot_b
5 1190MB 2264MB 1074MB ext4 otaroot_b
6 2264MB 4411MB 2147MB ext4 fluxdata
As for the removal of the bb.warn, if the size is not specified, it is
not something to warn the end user about. Some of my default images
make use of the head room + a computed directory size or while generating
images.
(From OE-Core rev: 8e48b4d6c4d0ed213089a7449fea63aa0656e786)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to create a msdos partition table disk image that can auto
expand after the image is copied to an SD card, wic needs the ability
to have a primary partition as the last entry. The desired use case
is to be able to create an A/B update partition image scheme with a
/var volume that can be auto expanded to the remainder of the SD card
at run time.
The typical .wks file will look similar to the following:
bootloader --ptable msdos
part / --source rawcopy --sourceparams="file=u-boot.imx" \
--ondisk mmcblk --no-table --align 1 --size 1
part /boot --source bootimg-partition \
--ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16
part / --source rawcopy --sourceparams="file=imx6_boot.otaimg" \
--ondisk mmcblk --fstype=ext4 --label otaboot --align 4 --type logical
part / --source rawcopy --sourceparams="file=imx6.otaimg" \
--ondisk mmcblk --fstype=ext4 --label otaroot --align 4 --type logical
part / --source rawcopy --sourceparams="file=imx6_boot.otaimg" \
--ondisk mmcblk --fstype=ext4 --label otaboot_b --align 4 --type logical
part / --source rawcopy --sourceparams="file=imx6.otaimg" \
--ondisk mmcblk --fstype=ext4 --label otaroot_b --align 4 --type logical
part /var --source rawcopy --sourceparams="file=imx6_var.otaimg" \
--ondisk mmcblk --fstype=ext4 --label fluxdata --align 4
Without the patch applied, wic will generate an SD card image that looks like:
Disk boot.img: 890940s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2056s 48001s 45946s primary fat16 lba
2 48008s 132467s 84460s primary ext4
3 132472s 454467s 321996s primary ext4
4 454471s 890939s 436469s extended lba
5 454472s 538931s 84460s logical ext4
6 538936s 860931s 321996s logical ext4
7 860936s 890939s 30004s logical ext4 boot
With the patch applied a primary partition can be created at the end
of the image which can be expanded to fill the free space on the media
where the image has been copied, which looks like:
Disk boot.img: 890940s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2056s 48001s 45946s primary fat16 lba
2 48007s 860931s 812925s extended lba
5 48008s 132467s 84460s logical ext4
6 132472s 454467s 321996s logical ext4
7 454472s 538931s 84460s logical ext4
8 538936s 860931s 321996s logical ext4
3 860936s 890939s 30004s primary ext4 boot
(From OE-Core rev: 56add7cc547e0113cdf980579d1421b14cc233e5)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using a .wks.in file, the only place that the generated .wks file
exists in the tmp/work area. A copy should be left behind in the
deploy directory so that you can easily run the wic tool to
re-generate or modify a new image without running bitbake. Custom
.wks.in files can reference any number of bitbake variables, so it is
important to save the result.
below is an example of using the generated .wks file in the deploy
area. The full name of my generated .wks file was
core-image-minimal-ostree-uboot-ab.wks, but since you usually only
have a single .wks file per image you can use a wild card like:
cd tmp*/deploy/images/*
wic create --vars . -e core-image-minimal -s -m core-image-minimal-*.wks
(From OE-Core rev: 42293d75404486e20db9f7a80d0d1756887b576d)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The EnrollDefaultKeys.efi application (distributed in ovmf-shell-image)
expects the hypervisor to provide a Platform Key and first Key Exchange
Key certificate.
For QEMU, this is done by adding an OEM string in the Type 11 SMBIOS
table. The string contains the EnrollDefaultKeys application GUID followed
by the certificate string. For now, the string is passed in the command
line until QEMU understands OEM strings from regular files (please see
https://bugs.launchpad.net/qemu/+bug/1826200).
If runqemu detects it is given an OVMF binary with support for Secure Boot
(i.e., ovmf.secboot* binaries), extract the certificate string from the
OvmfPkKek1.pem certificate and modify the command-line parameters to
provide the key. Such certificate is created when building OVMF with
support for Secure Boot.
Cc: Ross Burton <ross.burton@intel.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 5e47316ae62f7632fb62bc3b8093ac42f9e3541c)
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit from EDK2 be9470b3c91f ("OvmfPkg/EnrollDefaultKeys: enroll
PK/KEK1 from the Type 11 SMBIOS table") mandates that a Platform Key
and first Key Exchange Key certificate is provided to the
EnrollDefaultKeys application.
Previously, the application was using a hard-coded certificate
from Red Hat embedded in the application.
Create a certificate that can QEMU can subsequently pass to
EnrollDefaultKeys when running qemu-shell-image.
Cc: Ross Burton <ross.burton@intel.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: daaf9d7bd8c3586609ab0eccf49af38dbdb0b02e)
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the variable PYTHON_COMMAND to let know EDK2 base tools that python3
in the host shall be used.
In order build successfully, the host must have installed the
python3-distutils package or equivalent.
Based on an original patch by Ross Burton.
Cc: Ross Burton <ross.burton@intel.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 435d1f8ffe9df86367316d25cb6def2ea2041642)
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13438]
Update OVMF to edk2-stable201905. Since the last update, several things
have changed. Many of the patches we were carrying have now been taken
upstream in EDK2 or become obsolete. See below for details.
Also, as of commit 0c1ffb9504c3("CryptoPkg: Adding OpenSSL as one
submodule of EDKII repo"), openssl is not embedded into EDK2 using a
patching script but a git submodule. Then, use the gitsm bitbabke fetcher
and drop the extra SRC_URI from openssl when building with secureboot
enabled. Also remove all related variables.
OVMF switched to BSD+Patent license as detailed in
https://bugzilla.tianocore.org/show_bug.cgi?id=1373. Hence, update
LIC_FILES_CHKSUM accordingly to reflect this change.
Patches are updated as follows:
Drop 0001-ia32-Dont-use-pie.patch as it is implemented in upstream EDK2
in commits are 11d0cd23dd1b ("BaseTools/tools_def IA32: drop -no-pie linker
option for GCC49" and c25d3905523a ("BaseTools/tools_def IA32: disable PIE
code generation explicitly") for the applicable GCC versions.
Rebase 0003-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch
to edk2-stable201905.
Drop VfrCompile-increase-path-length-limit.patch as it has been taken
upstream in EDK2 in commit ba78032bc8c9f("BaseTools/VfrCompile: Remove the
MAX_PATH limitation").
Rebase no-stack-protector-all-archs.patch to keep behavior on not using
stack protector on all archs.
Drop 0001-BaseTools-header.makefile-add-Wno-stringop-truncatio.patch,
0002-BaseTools-header.makefile-add-Wno-restrict.patch, and
0003-BaseTools-header.makefile-revert-gcc-8-Wno-xxx-optio.patch. These
patches have been taken in upstream EDK2 in commits 9222154ae7b3("BaseTools
/header.makefile: add "-Wno-restrict"), 1d212a83df0e("BaseTools/
header.makefile: add "-Wno-stringop-truncation"), and 777f4aa083e9
("BaseTools/header.makefile: revert gcc-8 '-Wno-xxx' options on OSX"),
respectively.
Also, drop 0004-BaseTools-GenVtf-silence-false-stringop-overflow-war.patch.
GenVtf has been removed from EDK2 in commit 64ab2c82e8f6("BaseTools:
Remove GenVtf"). Also, this patch had been taken in EDK2 upstream in
commit 9de306701312("BaseTools/GenVtf: silence false 'stringop-overflow'
warning with memcpy()").
Drop patch 0007-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch
as it also has been taken by EDK2.
Patches 0002-ovmf-update-path-to-native-BaseTools.patch and
0004-ovmf-enable-long-path-file.patch did not need any update.
Lastly, add a needed dependency on bc.
Cc: Ross Burton <ross.burton@intel.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 1f64ecf92fa77b682b18efe72fb6b27ff64ee052)
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patches were refreshed with devtool.
I rebuilt all cmake recipes from poky and meta-oe without issue.
(From OE-Core rev: 022d642b0c8f464b451c543db50bb93012bce607)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE = qemuarm64
IMAGE_INSTALL_append = ' grub grub-efi'
do_rootfs failed with error:
file /usr/lib64/grub/arm64-efi/acpi.module conflicts between attempted installs of grub-2.02-r0.aarch64 and grub-efi-2.02-r0.aarch64
file /usr/lib64/grub/arm64-efi/adler32.module conflicts between attempted installs of grub-2.02-r0.aarch64 and grub-efi-2.02-r0.aarch64
...
file /usr/lib64/grub/arm64-efi/zfsinfo.module conflicts between attempted installs of grub-2.02-r0.aarch64 and grub-efi-2.02-r0.aarch64
For arm64, grub and grub-efi both compiled GRUBD2 with platform
arm64-efi, arm64 only support platform efi. So both packages have
almost same folder and content /usr/lib64/grub/arm64-efi/*
if Machine set to qemux86_64, do_rootfs will not have this problem,
since for grub, it compiled with platform i386-pc, for grub-efi,
compiled with platform x86-64-efi.
>From commit:
commit 4e9bb03238
Author: Hongxu Jia <hongxu.jia@windriver.com>
Date: Wed Jan 17 03:25:58 2018 -0500
grub/grub-efi: fix conflict
While installing grub and grub-efi, there are conflict files
in ${sysconfdir} ${datadir} ${bindir} ${sbindir}.
- Since all of the conflicted files are tools which is
common for grub and grub-efi, we split them (except
grub-editenv) to grub-common in grub.
common tools for grub and grub-efi are installed into grub-common,
for aarch64, also shipped libdir into this common packages.
in this way, for qemuarm64, package grub is empty, and package grub-efi
use lib in package grub-common
(From OE-Core rev: 933286bdcb9008b75007abedf30cc1b4b6e2f0d0)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
trying to reduce the turnaround times for local builds, i'm trying to
find a way to inject `-Zgzip -z1` into the dkpg-deb command line.
attached patch introduces a `DPKG_BUILDCMD` variable for this purpose.
(i'm not very familiar with the whole bitbake infrastructure, so i'm
wondering: do i have to add it to the `vardeps` of do_package_deb?)
tia,
tim
>From 62d4930d307d5d07844889001e8a1c3111b72b98 Mon Sep 17 00:00:00 2001
From: Tim Blechmann <tim@klingt.org>
Date: Thu, 8 Aug 2019 06:48:54 +0200
Subject: [PATCH] package_deb: allow dpkg-deb to be customized via
DPKG_BUILDCMD
the command line to invoke `dpkg-deb` is hardcoded. there are certain use
cases where we want to tweak how debian packages are compiled: e.g. the
default uses xz compression, which is rather CPU intensive. for local
builds one might want to pass `-Zgzip -z1` to favor speed over compression
ratio.
we therefore introduce a `DPKG_BUILDCMD` variable which allows downstream
code to customize how dpkg-deb is executed
(From OE-Core rev: 4e00ceaf38f2ae338e3b192c3485aaa963f54b99)
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ rm -fr tmp-glibc/cache/default-glibc/qemux86/x86_64/bb_cache.dat* ; bitbake -p
Press the first Ctrl-C when the parsing process is at about 50%:
Keyboard Interrupt, closing down...
Then presss the second Ctrl-C:
File "/path/to/bitbake/bitbake/lib/bb/ui/knotty.py", line 619, in main
event = eventHandler.waitEvent(0.25)
File "/path/to/bitbake/lib/bb/server/process.py", line 591, in waitEvent
self.eventQueueNotify.wait(delay)
File "/usr/lib/python3.5/threading.py", line 549, in wait
signaled = self._cond.wait(timeout)
File "/usr/lib/python3.5/threading.py", line 297, in wait
gotit = waiter.acquire(True, timeout)
KeyboardInterrupt
Capture the second KeyboardInterrupt during stateShutdown is running can fix
the problem. There may be still tracebacks for the third KeyboardInterrupt, but
I'm leaning to not fix it since we aimed for supporting 2 KeyboardInterrupts
only.
(Bitbake rev: 8c26b451f22193ef1c544e2017cc84515566c1b8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ rm -fr tmp-glibc/cache/default-glibc/qemux86/x86_64/bb_cache.dat* ; bitbake -p
Press *one* Ctrl-C when the parsing process is at about 50%, then the processes
are not exited:
Keyboard Interrupt, closing down...
Timeout while waiting for a reply from the bitbake server
It hangs at process.join(), according to:
https://docs.python.org/3.7/library/multiprocessing.html
Cleanup the queue before call process.join() can fix the problem.
(Bitbake rev: 3eddfadd19b2ce4c061861abf0c340e3825b41ff)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After iterating with upstream, this is the patch that landed.
(From OE-Core rev: 30a2af80f5f8c8ddf0f619e4f50451b02baa22dd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
/usr/lib/attr/ptest/test/sort-getfattr-output is a perl script.
(From OE-Core rev: 5843be17fe2ce3d206d7f8338b8d82a09cfe33fd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
/usr/lib/dpkg/methods/apt/setup is a perl script.
(From OE-Core rev: a96de885e122bd31e3382d6ecf6f665680e9db71)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
EXCLUDE_PACKAGES_FROM_SHLIBS is too broad: it suppresses both generation
of required and provided shlibs. We need to suppress only the provided shlibs
(to avoid clashes with the main package providing the same shlibs),
and run the required shlib dependencies generator as usual.
(From OE-Core rev: 7d342fd04266bedc12706c111c5b83d952566bca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the patch to fix the do_patch QA warning.
(From OE-Core rev: 72e6919bab390494103472401a563199ab339e85)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the code is compiled with "-fstack-protector-strong
-D_FORTIFY_SOURCE=2", everytime ftpfd is asked for a non existent file,
it crashes with the following error:
*** buffer overflow detected ***:
Aborted
This seems to be a bug/feature of gcc. A bug has been open on their
bugzilla, and also inetutils have been posted with the proposed patch.
Without this patch, pxelinux fails to boot because it keeps asking the
server for the pxelinux.cfg/00-01-02-03-04 and never jumps to /default.
(From OE-Core rev: 0c3a1251a8aec86f3e877130f926a928e5ca2030)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Add missing dependency on libedit
- Define LLVMVERSION on the same lines as GCCVERSION and other tools
- Use LLVMVERSION in mesa and meson.bbclass to get llvm version instead of
hardcoding it
- Use llvm patches unmodified from meta-clang, helps in keeping them in
sync
- Define PREFERRED_VERSION for llvm, llvm-native, nativesdk-llvm
(From OE-Core rev: 3c08b638348abd543fc92baf56c28ca16ae6aac6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not only grub-efi-native, but also add grub-native to provide
grub utilities on host
(From OE-Core rev: 67dfa11f2d2fb5242814e133346e72515bfc0aca)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QB_SYSTEM_NAME set in qemuboot-x86.inc will be removed,
so set QB_SYSTEM_NAME in these two configuration files.
(From meta-yocto rev: 6748c925817da0e7ae2a84d1214e3595515962b5)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to Meson instead of CMake.
Add PACKAGECONFIG for surfaceless-egl.
Inherit bash-completion for the new wlinfo completion script.
(From OE-Core rev: 96decf673992b1cd1eebac45a5cd534eef27ebd7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gzip-ptest skips the following tests on core-image-sato builds:
- zgrep-context
- zdiff
- zgrep-signal
The same tests pass on core-image-sato-sdk builds. This is due to
the use of busybox tool variants on core-image-sato (zgrep-context,
zdiff) and the absence of the perl and perl-ptest packages
(zgrep-signal). This patch adds the dependencies needed for all
three tests.
(From OE-Core rev: c2559ab9b41b823b23dc675745bbaefd45362a08)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While working with ostree disk generation in conjunction with wic, I
found a problem with pseudo where it tried to resolve a symlink when
it shouldn't, based on openat() flags. A C program has been
constructed to test pseudo to show that it is working properly with
the correct behavior around openat().
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <fcntl.h>
int main()
{
/*
* Tested with: gcc -Wall -o app app.c ; echo "no pseudo" ;
* ./app ; echo "pseudo"; pseudo ./app
*/
system("rm -rf tdir tlink");
system("mkdir tdir");
system("ln -s tdir tlink");
DIR *dir = opendir(".");
int dfd = dirfd(dir);
int target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK |
O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW);
if (target_dfd == -1) {
printf("Test 1 good\n");
} else {
printf("Test 1 failed\n");
close(target_dfd);
}
target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK |
O_DIRECTORY | O_CLOEXEC);
if (target_dfd == -1) {
printf("Test 2 failed\n");
} else {
printf("Test 2 good\n");
close(target_dfd);
}
/* Test 3 make sure the owner of the link is root */
struct stat sbuf;
if (!lstat("tlink", &sbuf) && sbuf.st_uid == 0) {
printf("Test 3 good\n");
} else {
printf("Test 3 failed\n");
}
/* Test 4 tests open with the "rb" flag, owner should not change */
int ofd = openat(dfd,"./tlink", O_RDONLY|O_CLOEXEC);
if (ofd >= 0) {
if (fstat(ofd, &sbuf) != 0)
printf("ERROR in fstat test 4\n");
else if (sbuf.st_uid == 0)
printf("Test 4 good\n");
close(ofd);
} else {
printf("Test 4 failed with openat()\n");
}
/* Test pseudo db to see the fstat() above did not delete the DB entry */
if (!lstat("tlink", &sbuf) && sbuf.st_uid == 0)
printf("Test 5 good\n");
else
printf("Test 5 failed... tlink is owned by %i and not 0\n", sbuf.st_uid);
return 0;
}
int main()
{
/* Tested with: gcc -Wall -o app app.c ; echo "no pseudo" ; ./app ; echo "pseudo"; pseudo ./app */
system("rm -rf tdir tlink");
system("mkdir tdir");
system("ln -s tdir tlink");
DIR *dir = opendir(".");
int dfd = dirfd(dir);
int target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW);
if (target_dfd == -1) {
printf("This is right\n");
} else {
printf("This is broken\n");
}
return 0;
}
Many thanks to Peter Seebach for fixing the problem in the pseudo code
to use the same logic which was already there for the
AT_SYMLINK_NOFOLLOW.
Also updated is the license MD5 checksum since the master branch of
pseudo has had the SPDX data updated.
(From OE-Core rev: a98ea4be5ce19ff380ca500ba1ef3da490ec4556)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sqlite3-native in particular was finding zlib from the host if zlib-devel
was installed. This could lead to races where pseudo-native may or may not
fail to build.
We don't need/use compressed page support with sqlite so disable the dependency
(it doesn't have a configure option so use a autoconf cache variable).
The target binaries were not previously building with zlib, so we will
leave the default being zlib turned off, while the host binaries were
building with it "occasionally", but not for anything at runtime.
(From OE-Core rev: 0af2c6af0d5c060666f7ee6f2ef428c1a414cb86)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is done to require only a single version change if bzip2
is updated and fixes also setting package version 1.0.6 for
bzip2 1.0.8.
(From OE-Core rev: beb4fb0b0e89ce6b80645322ee435a6b4909b652)
Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configrations:
MACHINE: qemux86-64
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
Reproduce steps:
bitbake lib32-core-image-minimal
runqemu qemux86-64 nographic lib32-core-image-minimal
Errors:
qemu cannot bootup since:
Booting from ROM...
This kernel requires an x86-64 CPU, but only detected an i686 CPU.
Unable to boot - please use a kernel appropriate for your CPU.
QEMU: Terminated
For lib32 image, override has x86, so the qemubin set to qemu-system-i386,
fix by move QB_SYSTEM_NAME to corresponding conf, don't use the override
(From OE-Core rev: ffaf86f175b2e6caa3a0067f7b3725930b053715)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch has iterated, so update to the latest revision.
(From OE-Core rev: 042e8e8a7181bb3ca830185c38f9287f62c68fe6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without linux-libc-headers-dev being added to the libc6-dev as a RDEPENDS,
the system may fail to install the necessary libc headers.
This can happen when NO_RECOMMENDATIONS = "1" is defined.
During the 'testsdk' this results in failures that look like:
fatal error: linux/errno.h: No such file or directory
# include <linux/errno.h>
^~~~~~~~~~~~~~~
This also matches the behavior of musl, which does not suffer from this
problem.
(From OE-Core rev: ad31c908c8267166ce6cce9d5085ef2ac099a6c5)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed when build host != x86 box
(From OE-Core rev: 5096f535561d2fd608d622abec5bc2ddb79d49b7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
makefile assumes native toolnames e.g. ar, as, nm etc.
which causes build fails on non-x86 build hosts
objcopy: Unable to recognise the format of the input file `libcom32.elf'
(From OE-Core rev: ee9afb34fb95409148734fda1eea1fe8f81983fd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Seen to fail on musl/mips, this fixes the check to be linux specific
which means it can detect the endianness for musl correctly
(From OE-Core rev: c9559685ebcfb0303fc072c99b3d518427fc5a82)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop backported patches
- Move common pieces between cross-localedef and glibc into a common file
- Move latest checksums to glibc-common.inc and remove duplicates from glibc recipe
- Detailed release notes [1]
[1] https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html
(From OE-Core rev: fe75808dca4bb56ac703d18ebbad4004678f69da)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Inherit deploy bbclass and install files to DEPLOYDIR rather than in
DEPLOY_DIR_IMAGE.
(From OE-Core rev: f03ab9b21c2aeeae0bd020ee94ec9bb1d903500d)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These comments are not valid any more, drop them.
(From OE-Core rev: 39f5a3030a97bdf567ee11091dd4e95ef04585d7)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fathi has as well been inactive for a long time.
(From OE-Core rev: 29ac3e98fdfb7d0d3bb3884b97a0ba5255826904)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
groff has system headers overrides in its sourcecode which it
generates as fallbacks but in some cases when a system header includes
math.h via include <> directive it lands in the override header and
causes compile issues, seen with clang+libc++, this patch makes sure
that right defines are available before including it
(From OE-Core rev: e9beba2a33b46d31bfdd926211d22ebf2abb6c90)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default works fine; not sure why the line was added.
(From OE-Core rev: 66bb9fd36128bb5ce12c7a5e224cfcd69dc2cd06)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't appear to be used anymore, as saving a few hundred k at the expense
of only using ASCII is quite the compromise in the modern world.
(From OE-Core rev: 1a502765db2093e573c9e3ecd6c1bc7621476963)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the metadata to correspond to the bitbake siggen task specification
format change. This standardises on "<fn>:<task>" everywhere rather than
the "." delimiter that was being used in some places.
This is an API breaking change but means we now have a consistent format
being used throughout the codebase without compatibility APIs.
(From OE-Core rev: 23db236a054ee7a989cdbbcb42ad5c6eefd4a6ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake has updated to a cleaned up form of BB_HASHCHECK_FUNCTION,
adapt to this cleanup. This is an API breaking change.
(From OE-Core rev: a4d413d8d809132b0e0a5dd673a36e2bd0e0be4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the code to handle BB_HASHSERV, an autostarted bitbake internal hash
equivalency server suited to local developer usage.
(From OE-Core rev: 9b3d7b0b0ff27281391c2b8f2511d312d6995ed6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream bitbake now hanes preserving the unihash data itself, drop
this usage of persist_data which was extremely problematic due to
concurrent task access issues, particulary on loaded systems.
(From OE-Core rev: 034d91c2c94b201797a7830b0af6141132f9bad1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the hash server settings are incorrect, show the user useful
error messages instead of tracebacks.
(From OE-Core rev: 2df5d95b9b63e30ddaa7c72a4173b9a05b3f15f9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is closely tied with the hash server in bitbake and also means
we can't relibably test the hashserv runqueue functionality without OE
metadata. Moving this to bitbake as a MixIn class makes most sense
and encourages code collaboration and reuse as well as enabling easier
and more accurate testing of the APIs.
(From OE-Core rev: a2a9c6092d4dde706ed071b08a972d1d87184295)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pythonexception argument is no more, and passing True is the new behavior.
[ YOCTO #13468 ]
(From OE-Core rev: b7a34d2b8d684e5b98f5c286de67dc1b5d8df853)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst seemingly a good idea, this exception doesn't really serve any purpose
that bb.fatal() doesn't cover. Wrapping exceptions within exceptions isn't
pythonic.
Its not used in many places, lets clean up those and remove usage of it
entirely. It may ultimately be dropped form bitbake entirely.
(From OE-Core rev: efe87ce4b2154c6f1c591ed9d8f770c229b044ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We depend on a number of bitbake API changes, bump the min bitbake
version requirement.
(From OE-Core rev: 908cdd669b083b172f7cd53dd020629affee360c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test which tests the runqueue adaptations for hash equivalency.
(Bitbake rev: 477321d0780df177c1582db119c2bb6795912fc6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its hard to see what this exception adds in the current codebase. The logfile
attribute is effectively ignored, the exception doesn't serve a defined
purpose and mostly seems to be worked around.
Remove it entirely. If this does cause output problems, we'll figure
out better ways to address those.
(Bitbake rev: cfeffb602dd5319f071cd6bcf84139ec77f2d170)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently siggen uses the format "<filename>.<taskname>" for referencing tasks
whilst runqueue uses "<filename>:<taskname>". This converts to use ":" as the
separator everywhere.
This is an API breaking change since the cache is affected, as are siginfo files
and any custom signature handlers such as those in OE-Core.
Ultimately this will let us clean up and the accessor functions from runqueue,
removing all the ".rsplit(".", 1)[0]" type code currently all over the place.
Once a standard is used everwhere we can update the code over time to be more
optimal.
(Bitbake rev: 07e539e1c566ca3434901e1a00335cb76c69d496)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function uses an old API which uses offsets into lists as a communication
mechanism. Update the API to use "tid" which is used universally in runqueue now.
We can also add kwargs support to the funciton definition to drop some of the
backwards compaiblility hoops we had to jump though with different function
argument combinations.
(Bitbake rev: dc23550047e5078da491ce9a6f30989cb5260df6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were hard to debug lockups when trying to use threading to start
hashserv as a thread. Switch to multiprocessing which doesn't show the
same locking problems.
(Bitbake rev: be23d887c8e244f1ef961298fbc9214d0fd0968a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Experience with the prserv shows that having two threads, one accepting
and queueing connections and one handling the requests leads to much
more reliable behaviour than having everything in a single thread.
(Bitbake rev: a03d60671a53d9ff70e07cc42fe35f6f8776dac2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen PR Server timeouts on the autobuilder, this is likely from the
journal being blocked on disk IO generated by the build.
Since we're running with synchronous off, we may as well put the journal
into memory and avoid any IO related stalls.
(Bitbake rev: ee3fc6030e653f3244b065fc89aafd2a7c36ae04)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing performance problems with hashserv running on a normal build
system. The cause seems to be the large amounts of file IO that builds involve
blocking writes to the database. Since sqlite blocks on the sync calls, this
causes a significant problem.
Since if we lose power we have bigger problems, run with synchronous=off
to avoid locking and put the jounral into memory to avoid any write issues
there too.
This took writes from 120s down to negligible in my tests, which means
hashserv then responds promptly to requests.
(Bitbake rev: 7ae56a4d4fcf66e1da1581c70f75e30bfdf3ed83)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful, particularly in the local developer model of usage, for
bitbake to start and stop a hash equivalence server on local port,
rather than relying on one being started by the user before the build.
The new BB_HASHSERVE variable supports this.
The database handling is moved internally into the hashserv code so that
different threads/processes can be used for the server without errors.
(Bitbake rev: a4fa8f1bd88995ae60e10430316fbed63d478587)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this isn't strictly necessary, its helpful if the log output is
consistent and its also helpful if bugs either appear or don't appear
for a specific configuration. Ensuring the various iterations we make
are deterministic (sorted) helps with this.
(Bitbake rev: 6a901bb904a97ca90d88be2c6901d3d32346282f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a compelling usecase for tasks being able to notify runqueue
that their "unihash" has changed. When this is recieved, the hashes of
all subsequent tasks should be recomputed and their new hashes checked
against existing setscene validity. Any newly available setscene tasks
should then be executed.
Making this work effectively needs several pieces. An event is added
which the cooker listen for. If a new hash becomes available it can
send an event to notify of this.
When such an event is seen, hash recomputations are made. A setscene
task can't be run until all the tasks it "covers" are stopped. The
notion of "holdoff" tasks is therefore added, these are removed from
the buildable list with the assumption that some setscene task will
run and cover them.
The workers need to be notified when taskhashes change to update their
own internal siggen data stores. A new worker command is added to do this
which will affect all newly spawned worker processes from that worker.
An example workflow which tests this code is:
Configuration:
BB_SIGNATURE_HANDLER = "OEEquivHash"
SSTATE_HASHEQUIV_SERVER = "http://localhost:8686"
$ bitbake-hashserv &
$ bitbake automake-native
$ bitbake autoconf-native automake-native -c clean
$ bitbake m4-native -c install -f
$ bitbake automake-native
with the test being whether automake-native is installed from sstate.
(Bitbake rev: 1f630fdf0260db08541d3ca9f25f852931c19905)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than metadata driven sqlite databases for communication, use
bitbake's unitaskhashes variable instead.
(Bitbake rev: a0d941c787cf3ef030d190903279d311bc05d752)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to preserve unihash task hashes between runs. Use the new SimpleCache
class to create such a class within the signature generator which is loaded
at init time and saved when builds complete. The default is unpopulated but
metadata sig handlers can populate this cache.
(Bitbake rev: 1f326f2c29c2664a5daaeeb0c1fd332630efbdba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than a special copy of the data structure which we change, compute
the logic using set operations from other data we have. This means
we can add tasks back into the scenequeue without having to worry about
reversing operations on this variable with all the potential bugs that
might involve.
(Bitbake rev: b707d0cbc25fa336a1e95ff588f1ea37eee063eb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds a simple version of the MultiProcessCache which can be used to
save and load cache data, useful for a new usecase we have in
sigdata/runqueue.
(Bitbake rev: 19a6e35600ae6d2d1bcecca6e68ab8c37674774e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is closely tied with the hash server in bitbake and also means
we can't relibably test the hashserv runqueue functionality without OE
metadata. Moving this to bitbake as a MixIn class makes most sense
and encourages code collaboration and reuse as well as enabling easier
and more accurate testing of the APIs.
(Bitbake rev: 7bb79099a6c1b463d6ae9226c4cab5e76a965675)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implements a number of optimizations to the SQL used in the hash
equivalence server:
1) Two indexes are created for the two methods (method, taskhash and
method outhash) by which rows are found in order to speed up the
lookup
2) An extra SELECT to lookup the just inserted row was removed. This
SELECT is unnecessary since all of the information about the newly
inserted row is already available.
3) A uniqueness constraint was added to the table. This should allow
the server to be multithreaded in the future since duplicate inserts
can be detected (and ignored). This change requires bumping the
database version to '2', since a uniqueness constraint can't be
added to an existing table.
4) Some comments are added to clarify the trick SELECT statement used
when inserting new equivalent hashes
(Bitbake rev: 7aec8632e67b4f0ab7b72692c40a42f6926608c3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we write to the sstate directory we try to do so atomically so
consumers either see one version or another but never an imcomplete file.
Unfortunately this is reliant on filesystem support and with some NFS
configurations a replaced file would be lost from memory even if users held
open descriptors.
It makes sense to try and avoid replacing existing files where we can.
(From OE-Core rev: 18cdc087fd5da30e2b31f3d4e81b153cd36ca844)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the build when the host doesn't have libc.a installed by reverting an
upstream commit, and cherry-pick a build fix from master.
Drop a redundant sed, the expression it removes doesn't exist anymore.
Move most patches to libx11.inc so that they're applied to both libx11 and libx11-diet.
(From OE-Core rev: 8bb48ac237315e83837973ecd1488060ec170588)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generated source file sdksyms.c has a comment with the absolute build path,
which means xserver-xorg-src contains this build path. This is both potential
build information leakage and a source of unreproducibility, so remove the
comment.
(From OE-Core rev: 2086e0f08d920de15ab4065fb43c2281b1dcc57a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No modern drivers nor applications use DGA, so remove the client library.
(From OE-Core rev: 2d7e485fcfbc0dc3d76339baf02f50c3c9e22a91)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DGA (Direct Graphics Access) is an obsolete extension that neither modern X
drivers nor applications support. We'll remove the client library, so remove
the optional dependency on DGA in xdpyinfo.
(From OE-Core rev: b00b1bb1f9394c05268fa10bf0114dc9defc70df)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ideally we'd disable this as no real world client applications actually use DGA
these days, but some drivers (for example fbdev and cirrus) still need DGA
enabled in the server to build.
(From OE-Core rev: e7b1a58a757334d5c73a9b7a8c67e6ead07166c7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xorgproto is mentioned in the PACKAGECONFIG build dependencies because in the
past it was many separate *proto recipes. Now they're all in one recipe, which
is in DEPENDS, so we don't need to depend on it several times.
(From OE-Core rev: 1c072b42525864e26d4ab17a64f925ce3803d583)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extension this client library is for was removed from the X server over a
decade ago:
commit 22e64108ec63ba77779891f8df237913ef9ca731
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Jul 16 06:25:26 2008 +0300
XFree86: Remove XFree86-Misc extension
Its last remaining purpose in life has been destroyed by input
properties. Au revoir: it's been fun, by which I mean awful.
Remove the obsolete dependencies from xset and xdpyinfo, and delete libxx86misc
entirely.
(From OE-Core rev: 4d7677b2f511b2d07fabb1f06213a569c53f839f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
enter the commit message for your changes. Lines starting
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The changes include:
- Drop all autotools related patches.
- Move weston-launch setuid-install to do_install task since it's not
supported yet by meson build.
- Drop cairo-glesv2 package config, it's not supported by meson build,
the recommended value is hard-coded to cairo-image for now in weston
source.
- Introduce remoting package config, to give this option a explicit
value, or else the build would run into gstreamer missing error since
it defaults to be true but gstreamer is not in depends list.
- Default to headless backend if neither x11 nor wayland is in
DISTRO_FEATURES.
To be noticed, the packages built from meson would not be identical
with those built from autotools, for instance, libz dependency has been
dropped from meson build, and systemd-notify is always built in meson
when systemd packageconfig is enabled, which in autotools, it's
optional, and so on, it's not easy to list all the differences, but
you could get them by comparing the pkgdata directories built by meson
and autotools.
(From OE-Core rev: 8d68e3cb315137f73d1b0f5f80180c2d3526f99d)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some people mistakenly use DEPENDS_${PN} and wonder why the dependencies don't
work. Check for this and tell the user to use DEPENDS.
(From OE-Core rev: cfaa104955c4ad0aafbe5d59ef85e4a8e3526c69)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All local patches are now upstream so they have been dropped.
Other upstream commits make ptest-runner build using: clang -Weverything
$ git log --oneline b73bd54..7015e91
7015e91 (HEAD -> oe-core-master, tag: v2.3.2, origin/master, origin/HEAD, master) Fix additional warnings when using clang
dd1daa8 tests: fix clang warnings.
15fd131 main code: fix clang warnings
59381a6 utils: ensure child can be session leader
5fe2c0a utils: Ensure pipes are read after exit
79a9c27 use process groups when spawning
b73bd54 utils: Ensure stdout/stderr are flushed
(From OE-Core rev: 9a80a352a9d0c4ea09de7bb370267672c32771f2)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when runqemu with slirp option on same host with different
users, it will report PermissionError: [Errno 13] Permission
denied: '/tmp/qemu-port-locks/2222.lock'
and during handle this exception, another exception happened since
key not exist. Fix by check if key exist first
(From OE-Core rev: 56f30e5377ebe5cc4544f081e001934706a0d8d3)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable commits that comprise the following
changes:
7250956f6eaf Linux 4.19.61
025eb12bb4b0 dm bufio: fix deadlock with loop device
404f59e265ac dt-bindings: allow up to four clocks for orion-mdio
03e6a668ea1f net: mvmdio: allow up to four clocks to be specified for orion-mdio
dd87cc633ba5 blkcg: update blkcg_print_stat() to handle larger outputs
73efdc5d7d3b blk-iolatency: clear use_delay when io.latency is set to zero
1ab644bd02ab blk-throttle: fix zero wait time for iops throttled group
91da712ff592 usb: Handle USB3 remote wakeup for LPM enabled devices correctly
152ddf9f0458 Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug
98318cd31b95 intel_th: msu: Fix single mode with disabled IOMMU
d6328d7c1a71 mtd: spinand: read returns badly if the last page has bitflips
94f1db42a968 mtd: rawnand: mtk: Correct low level time calculation of r/w cycle
30c6b34759f6 eCryptfs: fix a couple type promotion bugs
92e23f5fc049 mmc: sdhci-msm: fix mutex while in spinlock
01982f7bcc9d powerpc/pseries: Fix oops in hotplug memory notifier
e725502b8548 powerpc/powernv/npu: Fix reference leak
1e3b61cbc30d powerpc/watchpoint: Restore NV GPRs while returning from exception
237ac0d73b55 powerpc/32s: fix suspend/resume when IBATs 4-7 are used
7961981718d6 parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1
a6a0daa775e8 parisc: Ensure userspace privilege for ptraced processes in regset functions
ef5c2e165ab0 crypto: caam - limit output IV to CBC to work around CTR mode DMA issue
376b80276d84 gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM
ef30c0739439 xfs: abort unaligned nowait directio early
669c867972c0 xfs: serialize unaligned dio writes against all other dio writes
d61d885b17b0 xfs: fix reporting supported extra file attributes for statx()
f614ef7a34b0 xfs: reserve blocks for ifree transaction during log recovery
424543a53ae0 xfs: don't ever put nlink > 0 inodes on the unlinked list
3a895cc066c0 xfs: rename m_inotbt_nores to m_finobt_nores
2ab62234e823 xfs: don't overflow xattr listent buffer
1dc8b13cc66d xfs: flush removing page cache in xfs_reflink_remap_prep
788920d12b95 xfs: fix pagecache truncation prior to reflink
41f64437f030 include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
afa3e571cde3 coda: pass the host file in vma->vm_file on mmap
2c0222b48e77 libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields
656d06dab4d6 HID: wacom: correct touch resolution x/y typo
1c871b4006b2 HID: wacom: generic: Correct pad syncing
46f71a15abe7 HID: wacom: generic: only switch the mode on devices with LEDs
cb4c2b94f629 IB/mlx5: Report correctly tag matching rendezvous capability
4bd953241d81 Btrfs: add missing inode version, ctime and mtime updates when punching hole
fffedf5cf67e Btrfs: fix fsync not persisting dentry deletions due to inode evictions
110850fffeb0 Btrfs: fix data loss after inode eviction, renaming it, and fsync it
6b71c62ea9da PCI: qcom: Ensure that PERST is asserted for at least 100 ms
529e71cae929 PCI: Do not poll for PME if the device is in D3cold
4d8504004c86 PCI: hv: Fix a use-after-free bug in hv_eject_device_work()
f0ff76a42ef5 intel_th: pci: Add Ice Lake NNPI support
66a13b5e4e9c drm/edid: parse CEA blocks embedded in DisplayID
9854e06842bc perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs
82c46f7b0918 perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs
a847a5225432 perf/x86/intel: Fix spurious NMI on fixed counter
0d4c0bb70665 x86/boot: Fix memory leak in default_get_smp_config()
b52807e607f1 9p/virtio: Add cleanup path in p9_virtio_init
1253882d64d0 9p/xen: Add cleanup path in p9_trans_xen_init
007e5aaf287c xen/events: fix binding user event channels to cpus
e380170b3b3a dm zoned: fix zone state management race
1e4247d7958b padata: use smp_mb in padata_reorder to avoid orphaned padata jobs
0489d808a5f2 drm/nouveau/i2c: Enable i2c pads & busses during preinit
c77cbc873586 kconfig: fix missing choice values in auto.conf
2c7b50c7b1d0 fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.
ba271659ad42 arm64: tegra: Fix AGIC register range
ba27a25df6df KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed
87bae91a0fe9 media: videobuf2-dma-sg: Prevent size from overflowing
cb2e2b0ae554 media: videobuf2-core: Prevent size alignment wrapping buffer size to 0
deb78bd24e0c media: coda: Remove unbalanced and unneeded mutex unlock
fc0232e24541 media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()
a4c4c06f1755 ALSA: hda/realtek: apply ALC891 headset fixup to one Dell machine
8ba78e4d564e ALSA: hda/realtek - Fixed Headphone Mic can't record on Dell platform
c92212a81617 ALSA: seq: Break too long mutex context in the write loop
eb6c84e4b4f2 raid5-cache: Need to do start() part job after adding journal device
3f42c0000b23 ASoC: dapm: Adapt for debugfs API change
677b2aa3be5c lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE
0b174bac4e43 pnfs: Fix a problem where we gratuitously start doing I/O through the MDS
f64ff5914f00 pNFS: Fix a typo in pnfs_update_layout
603e7497bf27 pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
5347e61954fc NFSv4: Handle the special Linux file open access mode
6825ff011c7c iwlwifi: fix RF-Kill interrupt while FW load for gen2 devices
a32e2ceca0ef iwlwifi: don't WARN when calling iwl_get_shared_mem_conf with RF-Kill
d9ce0788da91 iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X
04c52c105a38 iwlwifi: pcie: don't service an interrupt that was masked
7ebddd5fe217 arm64: tegra: Update Jetson TX1 GPU regulator timings
042451b921b1 regulator: s2mps11: Fix buck7 and buck8 wrong voltages
8da63aa46e26 Input: alps - fix a mismatch between a condition check and its comment
81368a9a98d9 Input: synaptics - whitelist Lenovo T580 SMBus intertouch
cfb9250619c8 Input: alps - don't handle ALPS cs19 trackpoint-only device
d657077eda7b Input: gtco - bounds check collection indent level
f11ba9df8eed bcache: destroy dc->writeback_write_wq if failed to create dc->writeback_thread
2ab14861d2eb bcache: fix mistaken sysfs entry for io_error counter
3c466df8fc59 bcache: ignore read-ahead request failure on backing device
4fc48cd21a31 bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
ab966241d59a bcache: Revert "bcache: fix high CPU occupancy during journal"
58169c189bd6 Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
c3b7d27f3746 crypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe
a9fd1795fee6 crypto: ccp/gcm - use const time tag comparison.
561c4424f1e3 crypto: ccp - memset structure fields to zero before reuse
13805a5df489 crypto: crypto4xx - block ciphers should only accept complete blocks
17e63172d536 crypto: crypto4xx - fix blocksize for cfb and ofb
4598094d24c7 crypto: crypto4xx - fix AES CTR blocksize value
1c9b0a766513 crypto: chacha20poly1305 - fix atomic sleep when using async algorithm
eb99c084da28 crypto: arm64/sha2-ce - correct digest for empty data in finup
4230e09e61e6 crypto: arm64/sha1-ce - correct digest for empty data in finup
52f07c1ac70e crypto: ccp - Validate the the error value used to index error messages
bed97f646997 crypto: ghash - fix unaligned memory access in ghash_setkey()
ce7ec07abaf7 scsi: mac_scsi: Fix pseudo DMA implementation, take 2
de769c762626 scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
3e9534fa5046 scsi: megaraid_sas: Fix calculation of target ID
1334a3e2d6d0 scsi: core: Fix race on creating sense cache
58f59f6072ab Revert "scsi: ncr5380: Increase register polling limit"
7cfded7a705c scsi: NCR5380: Always re-enable reselection interrupt
d91baba81a6e scsi: NCR5380: Reduce goto statements in NCR5380_select()
e73db096691e xen: let alloc_xenballooned_pages() fail if not enough memory free
ff54c44f1038 floppy: fix out-of-bounds read in copy_buffer
a9444d9d0f6f floppy: fix invalid pointer dereference in drive_name
5b565f3276f3 floppy: fix out-of-bounds read in next_valid_format
6e34fd07484a floppy: fix div-by-zero in setup_format_params
7c16c5eae41a iavf: fix dereference of null rx_buffer pointer
e9896b29d010 net: mvmdio: defer probe of orion-mdio if a clock is not ready
5f6c5f5ae25e gtp: fix use-after-free in gtp_newlink()
141222216438 gtp: fix use-after-free in gtp_encap_destroy()
0a5eca2c949c gtp: fix Illegal context switch in RCU read-side critical section.
e117a04133c6 gtp: fix suspicious RCU usage
202de90df2b7 Bluetooth: validate BLE connection interval updates
ca33af18b5fc gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
0fdb922d0ef0 Bluetooth: Check state in l2cap_disconnect_rsp
3b57b7a3a82a perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
c814f618b799 Bluetooth: 6lowpan: search for destination address in all peers
c82c4910e9e6 Bluetooth: Add new 13d3:3501 QCA_ROME device
1cbce19bd697 Bluetooth: Add new 13d3:3491 QCA_ROME device
578658df21d5 Bluetooth: hci_bcsp: Fix memory leak in rx_skb
9d47bd217539 tools: bpftool: Fix json dump crash on powerpc
2ad04d31bb3e gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
157d1c7a1a00 bonding: validate ip header before check IPPROTO_IGMP
88f751b066f2 selftests: bpf: fix inlines in test_lwt_seg6local
ef5b204336b3 bpf, libbpf, smatch: Fix potential NULL pointer dereference
0f2f2cebe64d rxrpc: Fix oops in tracepoint
ca37b9a74689 net: usb: asix: init MAC address buffers
51216937c319 bnx2x: Prevent ptp_task to be rescheduled indefinitely
e358d2ab42f8 perf stat: Fix group lookup for metric group
a64e018be77a perf stat: Make metric event lookup more robust
7343178ccf7d bpf: fix uapi bpf_prog_info fields alignment
af3790a46a55 iwlwifi: mvm: Drop large non sta frames
036184af23e0 igb: clear out skb->tstamp after reading the txtime
0024b12b776c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift
05592b9b7f25 ath10k: destroy sdio workqueue while remove sdio module
26d86b29e806 net: hns3: add some error checking in hclge_tm module
ddfdbcccd71a net: hns3: fix a -Wformat-nonliteral compile warning
95d084809495 bcache: fix potential deadlock in cached_def_free()
4b7758e9c4ed bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush()
81b88c05bc45 bcache: acquire bch_register_lock later in cached_dev_free()
d81080a0bcf8 bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()
57cfb755c356 bcache: check CACHE_SET_IO_DISABLE in allocator code
e78d1d234469 EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec
e54cc89e6f0a wil6210: drop old event after wmi_call timeout
0388597d0627 crypto: asymmetric_keys - select CRYPTO_HASH where needed
1dea395c9e12 crypto: serpent - mark __serpent_setkey_sbox noinline
b346070c72cd ixgbe: Check DDM existence in transceiver before access
0340c621eca8 rslib: Fix handling of of caller provided syndrome
8ba93c59441a rslib: Fix decoding of shortened codes
dad0b17e4a4e xsk: Properly terminate assignment in xskq_produce_flush_desc
e69fac59c493 clocksource/drivers/exynos_mct: Increase priority over ARM arch timer
12e20eca894b libata: don't request sense data on !ZAC ATA devices
6e6bc34f8570 ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
1182ff224847 perf tools: Increase MAX_NR_CPUS and MAX_CACHES
7201cc227d4a ath10k: fix PCIE device wake up failed
8a808fadc9f7 ath10k: add missing error handling
fe2ceeb4cffc ipvs: fix tinfo memory leak in start_sync_thread
20de38d282b3 mt7601u: fix possible memory leak when the device is disconnected
033577880135 x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c
3f7952b275c8 mt7601u: do not schedule rx_tasklet when the device has been disconnected
6f6e126e1995 rtlwifi: rtl8192cu: fix error handle when usb probe failed
41864adfee2e net: stmmac: sun8i: force select external PHY when no internal one
bce037abc29f media: hdpvr: fix locking and a missing msleep
43b9fdc48377 media: vimc: cap: check v4l2_fill_pixfmt return value
d562537dbf0d media: coda: increment sequence offset for the last returned frame
3697c12c4425 media: coda: fix last buffer handling in V4L2_ENC_CMD_STOP
6fd3e9f65db9 media: coda: fix mpeg2 sequence number handling
c647c00f28af acpi/arm64: ignore 5.1 FADTs that are reported as 5.0
b9f547b7bdd9 timer_list: Guard procfs specific code
d86c0b73f75b ntp: Limit TAI-UTC offset
8d8f0b9009d0 media: i2c: fix warning same module names
6439110fbeee media: s5p-mfc: Make additional clocks optional
57de3c78f0b7 ipvs: defer hook registration to avoid leaks
06a3cd416224 ipsec: select crypto ciphers for xfrm_algo
723ba7938492 arm64: Do not enable IRQs for ct_user_exit
010bfbc93424 lightnvm: pblk: fix freeing of merged pages
762bba1b7ee7 nvme-pci: set the errno on ctrl state change error
c876a66553d7 nvme-pci: properly report state change failure in nvme_reset_work
f0c83dd15ee1 nvme: fix possible io failures when removing multipathed ns
10cc3a65a55b EDAC/sysfs: Fix memory leak when creating a csrow object
f6502ce4f050 ACPICA: Clear status of GPEs on first direct enable
3ae98dc2db1e blk-iolatency: only account submitted bios
a952f7c384aa x86/cacheinfo: Fix a -Wtype-limits warning
3252b29ea41b ipoib: correcly show a VF hardware address
0e2af9b06c00 vhost_net: disable zerocopy by default
4c57957ed6c8 perf evsel: Make perf_evsel__name() accept a NULL argument
9e0bcb59b6c0 x86/atomic: Fix smp_mb__{before,after}_atomic()
dd0260fd1e3a perf/x86/intel/uncore: Handle invalid event coding for free-running counter
7fc96cd2b0de sched/fair: Fix "runnable_avg_yN_inv" not used warnings
d8b7db6c5004 sched/core: Add __sched tag for io_schedule()
930655b01367 xfrm: fix sa selector validation
b7d66bbc8ad3 blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
c8f75e753784 block: null_blk: fix race condition for null_del_dev
1a3706d8f800 net: hns3: fix for skb leak when doing selftest
6a47a42f51cf qed: iWARP - Fix tc for MPA ll2 connection
670fb965da03 x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS
366ae49ed78c rcu: Force inlining of rcu_read_lock()
1fb3ce14f28d ASoC: meson: axg-tdm: fix sample clock inversion
32df4043aed4 x86/cpu: Add Ice Lake NNPI to Intel family
914026d58100 selinux: fix empty write to keycreate file
10e3788e6575 media: s5p-mfc: fix reading min scratch buffer size on MFC v6/v7
7c10f8941b95 bpf: silence warning messages in core
b01bf44c363d regmap: fix bulk writes on paged registers
544cd592ca72 gpio: omap: ensure irq is enabled before wakeup
ddeef7a00050 gpio: omap: fix lack of irqstatus_raw0 for OMAP4
79644b600850 iommu: Fix a leak in iommu_insert_resv_region
f2a4624be8f3 media: fdp1: Support M3N and E3 platforms
63e53991d791 media: uvcvideo: Fix access to uninitialized fields on probe error
c844f4da9b92 irqchip/meson-gpio: Add support for Meson-G12A SoC
eac8b39d089a perf report: Fix OOM error in TUI mode on s390
be32a9dc3f62 perf test 6: Fix missing kvm module load for s390
3662d8bca087 perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode
ac510285d40b ipset: Fix memory accounting for hash types on resize
c7bf2df45044 net: sfp: add mutex to prevent concurrent state checks
fa4059c5497e RAS/CEC: Fix pfn insertion
99dcd701465f s390/qdio: handle PENDING state for QEBSM devices
a76f32cbd38c net: axienet: Fix race condition causing TX hang
9d643358386d net: fec: Do not use netdev messages too early
403c43921479 crypto: inside-secure - do not rely on the hardware last bit for result descriptors
50331c64f3dd net: stmmac: modify default value of tx-frames
1a0a837afc41 net: stmmac: dwmac4: fix flow control issue
713737cac327 perf jvmti: Address gcc string overflow warning for strncpy()
fb83987cbe6b arm64: mm: make CONFIG_ZONE_DMA32 configurable
c360eb592938 cpupower : frequency-set -r option misses the last cpu in related cpu list
cac3032062e5 net: hns3: set ops to null when unregister ad_dev
35407917b0bc media: wl128x: Fix some error handling in fm_v4l2_init_video_device()
2fbde2746597 locking/lockdep: Fix merging of hlocks with non-zero references
909034b8ac64 batman-adv: Fix duplicated OGMs on NETDEV_UP
aa2ad8b6fb2f tua6100: Avoid build warnings.
9072450736d0 crypto: talitos - Align SEC1 accesses to 32 bits boundaries.
9d25aedef08f crypto: talitos - properly handle split ICV.
fc25cfb03ea2 net: phy: Check against net_device being NULL
ef10d46d04a5 media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
e36f25627362 media: saa7164: fix remove_proc_entry warning
ea904c9f6a33 media: mc-device.c: don't memset __user pointer contents
a6dd4862b98f perf annotate TUI browser: Do not use member from variable within its own initialization
71b029a5d908 fscrypt: clean up some BUG_ON()s in block encryption/decryption
2c6acf7478aa xfrm: Fix xfrm sel prefix length validation
0544b64ceb64 af_key: fix leaks in key_pol_get_resp and dump_sp.
b397462a010d signal/pid_namespace: Fix reboot_pid_ns to use send_sig not force_sig
1c8e736115cd qed: Set the doorbell address correctly
df6680de7a20 net: stmmac: dwmac4/5: Clear unused address entries
d3969670cb5a net: stmmac: dwmac1000: Clear unused address entries
810441651a8a media: media_device_enum_links32: clean a reserved field
6fb470ace862 media: vpss: fix a potential NULL pointer dereference
70da38e80509 media: marvell-ccic: fix DMA s/g desc number calculation
add712b63185 media: ov7740: avoid invalid framesize setting
b0e199e13495 crypto: talitos - fix skcipher failure due to wrong output IV
6452712f95e3 media: spi: IR LED: add missing of table registration
94f2b518a788 media: dvb: usb: fix use after free in dvb_usb_device_exit
8f855c09e2af batman-adv: fix for leaked TVLV handler.
83d133c96aad regmap: debugfs: Fix memory leak in regmap_debugfs_init
2b5b12c0c1b7 ath: DFS JP domain W56 fixed pulse type 3 RADAR detection
da153c0c5746 wil6210: fix spurious interrupts in 3-msi
a4bf4fecff16 ath10k: add peer id check in ath10k_peer_find_by_id
83c911f4bd68 ath6kl: add some bounds checking
42dcbf20e182 ath9k: Check for errors when reading SREV register
7e19e658e535 ath10k: Do not send probe response template for mesh
009edc622bba wil6210: fix potential out-of-bounds read
09593c25b975 dmaengine: imx-sdma: fix use-after-free on probe error path
06e15cf5aead scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported
37cb02da44dc arm64/efi: Mark __efistub_stext_offset as an absolute symbol explicitly
73ebefc814ef MIPS: fix build on non-linux hosts
7202df6be6ec MIPS: ath79: fix ar933x uart parity mode
be9b6782a9eb Linux 4.19.60
d173ce091c1a x86/entry/32: Fix ENDPROC of common_spurious
466bdfc6c4d6 drm/udl: move to embedding drm device inside udl device.
af48f7d79fae drm/udl: Replace drm_dev_unref with drm_dev_put
cfd99eccede5 drm/udl: introduce a macro to convert dev to udl.
8f14cf159e9f regmap-irq: do not write mask register if mask_base is zero
820b010743ee crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
b24c6403633d crypto: talitos - fix hash on SEC1.
ff1ce8ef1f88 crypto: talitos - move struct talitos_edesc into talitos.h
b578b87bcab6 s390/qdio: don't touch the dsci in tiqdio_add_input_queues()
b1d52630b12a s390/qdio: (re-)initialize tiqdio list entries
02eb533e940a s390: fix stfle zero padding
9db915738e40 ARC: hide unused function unw_hdr_alloc
fc6975ee932b x86/irq: Seperate unused system vectors from spurious entry again
9494cd392885 x86/irq: Handle spurious interrupt after shutdown gracefully
7897f5a443fb x86/ioapic: Implement irq_get_irqchip_state() callback
6074f6043c49 genirq: Add optional hardware synchronization for shutdown
3f10ccc29780 genirq: Fix misleading synchronize_irq() documentation
578db1aa595b genirq: Delay deactivation in free_irq()
2656ee5a5ad5 linux/kernel.h: fix overflow for DIV_ROUND_UP_ULL
9c875e8556d4 pinctrl: mediatek: Update cur_mask in mask/mask ops
f6e01328cb0e cpu/hotplug: Fix out-of-bounds read when setting fail state
fa99487a43cf pinctrl: mediatek: Ignore interrupts that are wake only during resume
cd2646e57ec5 HID: multitouch: Add pointstick support for ALPS Touchpad
9ea3b131441e HID: chicony: add another quirk for PixArt mouse
94968c37b6d3 x86/boot/64: Add missing fixup_pointer() for next_early_pgt access
729d25f43b64 x86/boot/64: Fix crash if kernel image crosses page table boundary
136847140cc8 dm verity: use message limit for data block corruption message
042be78692ae dm table: don't copy from a NULL pointer in realloc_argv()
0fc080bc9a72 pinctrl: mcp23s08: Fix add_data and irqchip_add_nested call order
00640eb0eafa ARM: dts: imx6ul: fix PWM[1-4] interrupts
a8cc2a2c2841 sis900: fix TX completion
3232bccddeba ppp: mppe: Add softdep to arc4
5ec7753c7c9e be2net: fix link failure after ethtool offline test
2a6ee36917f0 x86/apic: Fix integer overflow on 10 bit left shift of cpu_khz
fdfff855cd36 afs: Fix uninitialised spinlock afs_volume::cb_break_lock
d47f06ab0c0e ARM: omap2: remove incorrect __init annotation
5d3c45538151 ARM: dts: gemini Fix up DNS-313 compatible string
afda29dc5ac6 perf/core: Fix perf_sample_regs_user() mm check
627fdcc9b718 efi/bgrt: Drop BGRT status field reserved bits check
cf4deb2d4de6 clk: ti: clkctrl: Fix returning uninitialized data
ff232a47567f irqchip/gic-v3-its: Fix command queue pointer comparison bug
244db54441a1 firmware: improve LSM/IMA security behaviour
079d7f16a973 drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
68048dce650e nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header
86859ef10d25 Input: synaptics - enable SMBUS on T480 thinkpad trackpad
438a3dc6f2c3 e1000e: start network tx queue only when link is up
8020568b404b Revert "e1000e: fix cyclic resets at link up with active tx"
3bd837bfe431 Linux 4.19.59
70bae382b3dc staging: rtl8712: reduce stack usage, again
b46475ecd930 staging: bcm2835-camera: Handle empty EOS buffers whilst streaming
0ee144effcc3 staging: bcm2835-camera: Remove check of the number of buffers supplied
fcbc6ddcd624 staging: bcm2835-camera: Ensure all buffers are returned on disable
4502c43d7f3b staging: bcm2835-camera: Replace spinlock protecting context_map with mutex
22a20b9f6d9f staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work
cc396afa1959 MIPS: Remove superfluous check for __linux__
d202b5adccfb VMCI: Fix integer overflow in VMCI handle arrays
486c32325caa carl9170: fix misuse of device driver API
524ad00e80b7 binder: fix memory leak in error path
294b893a41cd lkdtm: support llvm-objcopy
5c90a2ecd08a HID: Add another Primax PIXART OEM mouse quirk
c04c751bef87 staging: comedi: amplc_pci230: fix null pointer deref on interrupt
4e49c6c91c18 staging: comedi: dt282x: fix a null pointer deref on interrupt
8419fd562a09 drivers/usb/typec/tps6598x.c: fix 4CC cmd write
63b3028cd590 drivers/usb/typec/tps6598x.c: fix portinfo width
57e16e0d8c68 usb: renesas_usbhs: add a workaround for a race condition of workqueue
aa9a8038ea8b usb: dwc2: use a longer AHB idle timeout in dwc2_core_reset()
cac4a04202fb usb: gadget: ether: Fix race between gether_disconnect and rx_submit
449a8d08a4bc p54usb: Fix race between disconnect and firmware loading
135d9ba3b285 Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
0891268f36a2 USB: serial: option: add support for GosunCn ME3630 RNDIS mode
0a1c811bf033 USB: serial: ftdi_sio: add ID for isodebug v1
bb902b6c87ff mwifiex: Don't abort on small, spec-compliant vendor IEs
ffbbd626e1ce mwifiex: Abort at too short BSS descriptor element
a2a24b57c27a Documentation/admin: Remove the vsyscall=native documentation
8a815007f5fe Documentation: Add section about CPU vulnerabilities for Spectre
bd9604022eb3 x86/tls: Fix possible spectre-v1 in do_get_thread_area()
68ff28291a4f x86/ptrace: Fix possible spectre-v1 in ptrace_get_debugreg()
d8e26651ce8d perf pmu: Fix uncore PMU alias list for ARM64
018524b75852 block, bfq: NULL out the bic when it's no longer valid
ff75e5f41e88 ALSA: hda/realtek - Headphone Mic can't record after S3
87c3262b00d8 ALSA: usb-audio: Fix parse of UAC2 Extension Units
ef374f5a2731 media: stv0297: fix frequency range limit
5db079eb0acd udf: Fix incorrect final NOT_ALLOCATED (hole) extent length
0fc3e9b9b603 fscrypt: don't set policy for a dead directory
e9f76b954336 net :sunrpc :clnt :Fix xps refcount imbalance on the error path
810cfc3d9d2e NFS4: Only set creation opendata if O_CREAT
7075654ce7d0 net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6185_g1_vtu_loadpurge()
606561e16186 quota: fix a problem about transfer quota
5ad566af08c1 scsi: qedi: Check targetname while finding boot target information
37232abb6ea3 net: lio_core: fix potential sign-extension overflow on large shift
740b2ac49518 ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL
a02ac12d2d48 drm: return -EFAULT if copy_to_user() fails
4c938a635fc3 bnx2x: Check if transceiver implements DDM before access
270ae00a0346 md: fix for divide error in status_resync
5533d9ed4112 mmc: core: complete HS400 before checking status
2da80536f629 qmi_wwan: extend permitted QMAP mux_id value range
dc84e98393f7 qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode
dbc6a83cf2bc qmi_wwan: add support for QMAP padding in the RX path
292ba5b1faf4 bpf, x64: fix stack layout of JITed bpf code
4c2ce7addda8 bpf, devmap: Add missing RCU read lock on flush
ab44f8bcf2e5 bpf, devmap: Add missing bulk queue free
8d09e862103b bpf, devmap: Fix premature entry free on destroying map
ba0afe520ee9 mac80211: do not start any work during reconfigure flow
de8cf2c0bc64 mac80211: only warn once on chanctx_conf being NULL
9c2dd6d47131 ARM: davinci: da8xx: specify dma_coherent_mask for lcdc
3bbcc8b9ad37 ARM: davinci: da850-evm: call regulator_has_full_constraints()
443250665388 mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed
512bbb114b99 KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy
41420ac584d7 Input: imx_keypad - make sure keyboard can always wake up system
b71f312e9bf7 riscv: Fix udelay in RV32.
122c6a71c08d drm/vmwgfx: fix a warning due to missing dma_parms
d3861d4ca94c drm/vmwgfx: Honor the sg list segment size limitation
c0b12abd1828 s390/boot: disable address-of-packed-member warning
e71daed5176f ARM: dts: am335x phytec boards: Fix cd-gpios active level
822c2ee81c63 ibmvnic: Fix unchecked return codes of memory allocations
0f06004d16be ibmvnic: Refresh device multicast list after reset
e65dd528bb8e ibmvnic: Do not close unopened driver during reset
374180b11b29 net: phy: rename Asix Electronics PHY driver
473a75c7fab5 can: af_can: Fix error path of can_init()
486954277fc1 can: m_can: implement errata "Needless activation of MRAF irq"
270149f78b9c can: mcp251x: add support for mcp25625
33672c74b484 dt-bindings: can: mcp251x: add mcp25625 support
07c96e8e8021 soundwire: intel: set dai min and max channels correctly
c7e427e28a3a mwifiex: Fix heap overflow in mwifiex_uap_parse_tail_ies()
8e115a079940 iwlwifi: Fix double-free problems in iwl_req_fw_callback()
d4c0f752c1d2 mwifiex: Fix possible buffer overflows at parsing bss descriptor
b8588a0981b7 mac80211: free peer keys before vif down in mesh
acc42e5c2322 mac80211: mesh: fix RCU warning
e3868c1a462f staging:iio:ad7150: fix threshold mode config bit
6b1ce3971e05 soundwire: stream: fix out of boundary access on port properties
6be857082611 bpf: sockmap, fix use after free from sleep in psock backlog workqueue
bc84982f977d mac80211: fix rate reporting inside cfg80211_calculate_bitrate_he()
3c24a931e972 samples, bpf: suppress compiler warning
e7779115bbd9 samples, bpf: fix to change the buffer size for read()
fe01e93c3fd1 Input: elantech - enable middle button support on 2 ThinkPads
2883fc1ece69 soc: bcm: brcmstb: biuctrl: Register writes require a barrier
2f1c962a7416 soc: brcmstb: Fix error path for unsupported CPUs
e8250f730410 crypto: talitos - rename alternative AEAD algos.
7a6bfa08b938 Linux 4.19.58
f37de75cb8eb dmaengine: imx-sdma: remove BD_INTR for channel0
018c968de710 dmaengine: qcom: bam_dma: Fix completed descriptors count
870de1499505 MIPS: have "plain" make calls build dtbs for selected platforms
8957895b35de MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
2b8f8a80ca8b MIPS: Fix bounds check virt_addr_valid
80b25628ff26 svcrdma: Ignore source port when computing DRC hash
8129a10ce78f nfsd: Fix overflow causing non-working mounts on 1 TB machines
f25c06955f8d KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC
f6472f50fbfc KVM: x86: degrade WARN to pr_warn_ratelimited
ac0024baf073 netfilter: ipv6: nf_defrag: accept duplicate fragments again
54e8cf41b20b bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
e6c288f7307e net: hns: fix unsigned comparison to less than zero
4f24801ef50b sc16is7xx: move label 'err_spi' to correct section
318244f3641a netfilter: ipv6: nf_defrag: fix leakage of unqueued fragments
a8891c5e2251 ip6: fix skb leak in ip6frag_expire_frag_queue()
382bc84da904 rds: Fix warning.
7e6af1fa80b8 ALSA: hda: Initialize power_state field properly
c8c88293bf72 net: hns: Fixes the missing put_device in positive leg for roce reset
6bf9677300f3 x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting
b91ec6ae14da selftests: fib_rule_tests: Fix icmp proto with ipv6
e2851c3ee0be scsi: tcmu: fix use after free
04096b3beace mac80211: mesh: fix missing unlock on error in table_path_del()
e2379b044d67 f2fs: don't access node/meta inode mapping after iput
e9fde78c3a4f drm/fb-helper: generic: Don't take module ref for fbcon
7821bcce20aa media: s5p-mfc: fix incorrect bus assignment in virtual child device
3ddc2a100706 net/smc: move unhash before release of clcsock
cd54dc4cd37d mlxsw: spectrum: Handle VLAN device unlinking
a8a296abee36 tty: rocket: fix incorrect forward declaration of 'rp_init()'
fb814f215013 btrfs: Ensure replaced device doesn't have pending chunk allocation
27ce6c2675f6 mm/vmscan.c: prevent useless kswapd loops
c854d9b6ef8d ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()
2e716c3b562d drm/imx: only send event on crtc disable if kept disabled
8ec242fd431b drm/imx: notify drm core before sending event during crtc disable
d2d061351d64 drm/etnaviv: add missing failure path to destroy suballoc
ec5d99e18d30 drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
ec6d8c9e6687 drm/amd/powerplay: use hardware fan control if no powerplay fan table
b6d56f4f6a49 arm64: kaslr: keep modules inside module region when KASAN is enabled
7cab3dfa6d74 ARM: dts: armada-xp-98dx3236: Switch to armada-38x-uart serial node
c8790d7f76be tracing/snapshot: Resize spare buffer if size changed
052b31810085 fs/userfaultfd.c: disable irqs for fault_pending and event locks
ea38007107d6 lib/mpi: Fix karactx leak in mpi_powm
7df1e2f59bde ALSA: hda/realtek - Change front mic location for Lenovo M710q
899377c50e60 ALSA: hda/realtek: Add quirks for several Clevo notebook barebones
d9b6936b134e ALSA: usb-audio: fix sign unintended sign extension on left shifts
7f52af5e9baa ALSA: line6: Fix write on zero-sized buffer
3663bf2baa97 ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages
9d2ac58c1ef9 ALSA: seq: fix incorrect order of dest_client/dest_ports arguments
ae3fa28f0938 crypto: cryptd - Fix skcipher instance memory leak
015c20532ace crypto: user - prevent operating on larval algorithms
54435b7fff7b ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME
600d3712ae12 drm/i915/dmc: protect against reading random memory
2b39351e3844 ftrace: Fix NULL pointer dereference in free_ftrace_func_mapper()
938044171949 module: Fix livepatch/ftrace module text permissions race
220adcc0e0ca tracing: avoid build warning with HAVE_NOP_MCOUNT
79fccb9815db mm/mlock.c: change count_mm_mlocked_page_nr return type
4fce0a79e985 scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
b7747ecb82be cpuset: restore sanity to cpuset_cpus_allowed_fallback()
e33aeb9a7c0a i2c: pca-platform: Fix GPIO lookup code
7cf431edfb71 platform/mellanox: mlxreg-hotplug: Add devm_free_irq call to remove flow
c241f3fbfa1a platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration
f853112772b0 platform/x86: intel-vbtn: Report switch events when event wakes device
2ac96173bee0 platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi
027e043f9c78 drm: panel-orientation-quirks: Add quirk for GPD MicroPC
2446563dd6d7 drm: panel-orientation-quirks: Add quirk for GPD pocket2
8be5629b9622 scsi: hpsa: correct ioaccel2 chaining
c1bef204c70a SoC: rt274: Fix internal jack assignment in set_jack callback
1023af0c069d ALSA: hdac: fix memory release for SST and SOF drivers
26a6acde2a42 usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
9be058f5dd70 usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i]
5284327f4e17 x86/CPU: Add more Icelake model numbers
74929087384f ASoC: sun4i-i2s: Add offset to RX channel select
32475634e8a8 ASoC: sun4i-i2s: Fix sun8i tx channel offset mask
7b7486398a32 ASoC: max98090: remove 24-bit format support if RJ is 0
3b60f98ef496 drm/mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()
34e5e1c4874f drm/mediatek: clear num_pipes when unbind driver
a8a86e9a5533 drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
79e095d234bb drm/mediatek: unbind components in mtk_drm_unbind()
319f4699bcaa drm/mediatek: fix unbind functions
dbd94f4938c6 spi: bitbang: Fix NULL pointer dereference in spi_unregister_master
3f8d3c9506a5 ASoC: ak4458: rstn_control - return a non-zero on error only
3c3dd68c48e8 ASoC: soc-pcm: BE dai needs prepare when pause release after resume
4c31b4b4ba65 ASoC: ak4458: add return value for ak4458_probe
0c19bcdb0db9 ASoC : cs4265 : readable register too low
c549680ed59b netfilter: nft_flow_offload: IPCB is only valid for ipv4 family
041c181e6ba0 netfilter: nft_flow_offload: don't offload when sequence numbers need adjustment
48f611ecea0e netfilter: nft_flow_offload: set liberal tracking mode for tcp
3b2734bc839d netfilter: nf_flow_table: ignore DF bit setting
869eec894663 md/raid0: Do not bypass blocking queue entered for raid0 bios
c9d8d3e9d7a0 block: Fix a NULL pointer dereference in generic_make_request()
5dd6139a0aa2 Bluetooth: Fix faulty expression for minimum encryption key size check
(From OE-Core rev: 82f8f52da0bae94c8d6c972352ee93763d75311b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The binutils bug appears to have gone away.
Using gold on powerpc still fails for seemingly unrelated reasons.
(From OE-Core rev: 75c188dda67e69a54cf403e8c3f8093e975d2161)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libedit is needed by llvm on linux and this makes it useful
for both oe-core and clang layer among other users
Thanks to various contributors in maintaing it in meta-oe
(From OE-Core rev: cbbfac2a330ad5577a56b5d0fe74300acff287f8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needing the Windows distutils installer stubs is quite a niche requirement, so
put them into a separate package and just recommend it.
This can save both space and legal pain, as the installers embed an old zlib
that has known CVEs.
(From OE-Core rev: 617331a42fc5bde0c2d8d0f4dd8df652daa28778)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for runtime recommends along with runtime depends to the manifest.
(From OE-Core rev: 16cc9a2ca559d978c6d0e648c18c297255b69dcc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
distutils doesn't ship any static libraries, and the files this should pick up
do not exist. Copy/paste gone wrong maybe?
(From OE-Core rev: afbca8da4ddd6c3dd01bb44af43aee9e80cae512)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With 0.51.0 version these command line options override what is in the cross file (e.g.
the cross-flags). I could not determine what is the scenario when the native flags are
needed (this would be building a native binary in the context of cross build).
If we find such a scenario we would need to find a way to pass native flags
through some other channel.
(From OE-Core rev: 6239b77c78b4b584274019130b715f21ac9defdf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per SPDX 2.1 it should be
'Apache-2.0 WITH LLVM-exception'
but license parser refuses to parse it, so this
is closest we can get
(From OE-Core rev: fc634c41e4b3fbaf29dc0104ae6b15757e77f60a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
latest glibc dropped support for sys/io.h on arm, which is fixed in
upstream xserver, as a bonus we can drop musl specific patch which was
doing something similar up until now.
Fixes
|In file included from ../../../../xorg-server-1.20.4/hw/xfree86/int10/generic.c:15:
| ../../../../xorg-server-1.20.4/hw/xfree86/common/compiler.h:767:10: fatal error: 'sys/io.h' file not found
| #include <sys/io.h>
| ^~~~~~~~~~
| 1 error generated.
(From OE-Core rev: 1c72953b6c890b8411fec997b5c28a17eed82897)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ${FC} instead of constructing the fortran name/arguments explictly, and
clean up installation.
(From OE-Core rev: a0d85e117fb636ffa12253b19f0ab2b5055e6380)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add zstd PACKAGECONFIG to disable the zstd support that upstream
enables by default, zstd is not in oe-core.
(From OE-Core rev: a87cf6a1693bbeac0f03290c1cb0ddf0ad1cf9bd)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For changes in this version, see:
https://gitlab.com/gnutls/libtasn1/-/releases
* Remove the musl patch as it's no longer needed.
* Backport a patch to ensure LDFLAGS are not over-ridden.
License-Update: License clarification, no change in actual terms.
(From OE-Core rev: 243293436d9286f6d9a0f135d569b7b00ccc1078)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perl-cross makes it easy to cleanly disable the use of Berkeley DB if desired,
so add a PACKAGECONFIG for this.
More of the dependencies (such as gdbm) can be controlled in the same way, but
Berkeley DB is a prime contender: it's a large library which we have to ship an
old release for due to licensing issues, so there are users who may want to
strip it out of builds entirely.
(From OE-Core rev: e3860098dadd0b1db97fb0414aae6abfc234b245)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was some tabs embedded in spaces, fix those.
(From OE-Core rev: 96cf9a881405faec5fb6f3f305fd29c5f14fd52f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original stress is no longer maintained and the homepage
went down. This commit replaces it with a maintained
re-implementation by Ubuntu.
Stress-ng preserves command line option compatibility
(for the options that are used in rt-tests), so adjustment
is simply changing the name of the executable. Rt-tests is the only
user of stress(-ng) in oe-core.
(From OE-Core rev: 3fcc10aeba208381166f09861d098d6459d44dfe)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As it is now working, we do not need an exception from the check anymore.
(From OE-Core rev: eede1c8e35e09afd06582312ca88a6413cdccf75)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change ensures that the task signatures changes, and therefore
sstate tasks are rerun, when signing is enabled. This has the
positive outcome that if signing is enabled new signed shared state
objects will be produced, rather than just signing shared state
objects for tasks where no work has been performed yet.
The downside of this change is that enabling/disabling sstate object
signing alters the taskhash and results in rebuilding the world.
(From OE-Core rev: ef60c65e3856682b90b17ae06a1b675756fd4496)
Signed-off-by: Joshua Lock <jlock@vmware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build fails on qemu-native if we're using kernels after commit
0768e17073dc527ccd18ed5f96ce85f9985e9115. This adds an upstream
patch that fixes the issue.
(From OE-Core rev: ef3af3a43d137d1e09e3fe4dbe462197fe7af4bc)
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a single-commit series had a shortlog containing a "/" character then
that prevented putting the shortlog into the subject of the cover letter
message. Use a different separating character with the sed command (one
much less likely to appear) in order to fix it.
(From OE-Core rev: d4c3f93d7407ac1ea20b33149f20153972d631c0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When attempting to create a pull request, we look at the remote URL in
order to extract information to include in the cover letter. However,
the assumption was that the remote is an SSH URL i.e. containing '@'
which is not always the case (the pull and push URLs might be different,
or we might be pushing via https) - if it wasn't the script just gave up
leaving you to manually edit the URLs in the email. With a few minor
tweaks to the regexes the script will work for these cases as well.
(From OE-Core rev: 675e88e6e0bbd5ab2dcd4bdf97b0de59925a1be6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It builds using the generic C_LOOP code.
(From OE-Core rev: 4e601b7f5ca0270495f225987bb1376b1cfe31a1)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All that was left was
inherit gnomebase gtk-icon-cache gconf mime
and especially inheriting the obsolete gconf is usually unwanted.
(From OE-Core rev: ba4304bd269d14cb0df73d657901816293c993cc)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If one has provided external key/certificate for modules signing, Kbuild
will skip creating signing_key.pem and will write only signing_key.x509
certificate. Thus we have to check for .x509 file existence rather than
.pem one.
(From OE-Core rev: 2527e731eba43bd36d0ea268aca6b03155376134)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Change in Copyright Year.
Refresh the patch to apply on configure.ac instead of .in.
(From OE-Core rev: f00b9aad7c3e2e1ec41597539c4fe2307043b6cf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code says that some servers respond with 403 codes when they really
mean 405 codes. But we still need to account for legitimate 403 codes.
Before this change, I noticed that sstate mirror checking was taking a
very long time when I purposely entered incorrect credentials into my
.netrc file for our sstate mirror. Instrumenting the code, I discovered
tracebacks like the following for every mirror access attempt:
File "/home/laplante/yocto/sources/poky/meta/classes/sstate.bbclass", line 839, in checkstatus
fetcher.checkstatus()
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1736, in checkstatus
ret = try_mirrors(self, self.d, ud, mirrors, True)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1077, in try_mirrors
ret = try_mirror_url(fetch, origud, uds[index], ld, check)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 979, in try_mirror_url
found = ud.method.checkstatus(fetch, ud, ld)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 337, in checkstatus
opener.open(r)
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 504, in error
result = self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 280, in http_error_405
unverifiable=True))
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 504, in error
result = self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 280, in http_error_405
unverifiable=True))
... (repeats until recursion depth is reached)
Solution is to make sure we only attempt the GET request once when handling 403/405 error codes.
(Bitbake rev: 18d4a31fdcec1f0e5d2199d6142f0ce833fca1a7)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using npm pack to download the main node module and its dependencies
allow for the use of private npm modules and access to them via .npmrc
(Bitbake rev: e5eda3871893e4eadeb311aeb997e183675598f4)
Signed-off-by: Mads Andreasen <mads@andreasen.cc>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
webkitgtk doesn't work with tune mips and set imcompatible with it.
epiphany depends on webkitgtk and mask it too.
(From OE-Core rev: ce294134a0d7c8fdac92f458e5dc64ecc77c5251)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
subversion checks whether build with boost during do_configure. If boost
exists on build machine, it causes configure-unsafe QA issue:
| ERROR: subversion-1.12.0-r0 do_configure: QA Issue: This autoconf log
| indicates errors, it looked at host include and/or library paths
| while determining system capabilities.
| Rerun configure task after fixing this. [configure-unsafe]
Add a PACKAGECONFIG 'boost' to fix the issue.
(From OE-Core rev: 237478724be75a4efeebafe07b46a353894ee4ca)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no point in shipping it in main libdrm package.
(From OE-Core rev: 458992be46ccf041e6fb862ab1cec0ff65616b0e)
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using systemd, make sure that pulseaudio-server RDEPENDS on
module-systemd-login instead of module-console-kit both of which provide
the same functionality but for different init systems [1][2].
Even though both modules can co-exist, this helps avoid including
consolekit (which has been deprecated) in the images using systemd.
[1] https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index51h3
[2] 860d1cf3a7
(From OE-Core rev: 69d6984159834713ffb56762f50226afe27d22f5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a following runtime error:
| xkbcommon: ERROR: couldn't find a Compose file for locale "C"
(From OE-Core rev: aa3f5bd67f14defc5cdc39ba3c78f825dd85c69f)
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So far libx11 compose data is being required by some non-X11 recipes,
like weston -> libxkbcommon -> libx11-locale. But the libx11-locale
could not build without x11 distro feature enabled. This is not
reasonable.
To fix it, we introduce this new recipe, it uses the same source with
libx11 but dropped X11 dependencies, this makes it to be able to build
without x11 distro feature. It would be skipped if x11 distro feature
is enabled, in which case the libx11-locale would provide the libx11
compose data.
(From OE-Core rev: d8a5b22757ccc76007cda55ee45922a313639258)
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both gzip and pigz implement the --rsyncable option, allowing small changes to
images to save a lot of data when they are transferred using rsync. This patch
enables --rsyncable by default.
(From OE-Core rev: b253101b9400cd12b80b6c5b7d1d0b01b31a6c6b)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When signature verification of shared state objects is enabled
(SSTATE_VERIFY_SIG) use of an unsigned object, even though it produces a
warning, seems unexpected. Instead skip unsigned objects and force the
non-accelerated task to be run.
(From OE-Core rev: 571235978d98552e3734bf382454dd51272db782)
Signed-off-by: Joshua Lock <jlock@vmware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Referring to the sstate object as a staging package is an artefact of the
code's origins. Switch to referring to an "Sstate package" in order to be more
accurate and consistent with the rest of the file.
(From OE-Core rev: 06559c1ed86dbce53505f9ed98111fe9d0b97ed7)
Signed-off-by: Joshua Lock <jlock@vmware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG options for ICU (enabled by default) and BDB (disabled by
default).
Note that this upgrade includes some API breakage.
(From OE-Core rev: 456b6abcbdb05a4b0ffc09458da15e747870ffa8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible in cases with multiple shlib providers we were not being
deterministic. Add in a couple of sorted() calls to fix the shlibs and
pkgconfig cases with this potential issue.
(From OE-Core rev: 5b9a4214ee17e1a39dd5a1742f2ac5ed25a11310)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of multilib, /usr/lib64/tmpfiles.d is not a path
that will be searched. So we need to use nonarch_libdir.
(From OE-Core rev: 2623d9d2f243128e50be9ed6fb5bb222b3fe9fa0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent alsa upgrade stripped /usr/include/alsa directory from include
path reported by pkgconfig. Due to this pulseaudio 12.2 configure script
can find alsa's use-case.h header which in turn results in HAVE_ALSA_UCM
being undefined. This turn results in pa_alsa_ucm_device_update_available
symbol missing even though libalsa-util.so needs it. Once could argue
pulseaudio should not allow undefined symmbols in its shared modules.
Unfortunately it does and due to this current OE builds of pulseaudio
crash when the server tries to dlopen any module using libalsa-util.so.
Fix this by backporting ustream alsa header include fix.
(From OE-Core rev: 58319f6285de41f7b99f5fd97c42d836fb5544f3)
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove "ext4" IMAGE_FSTYPES when generating core-image-minimal
for the bootimg-biosplusefi unittests; "wic" type is enough.
(From OE-Core rev: 73f69585e9f30819d8fb484d458e3408a04c0433)
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When https_proxy is set, use proxy opener to open CVE metadata and
database URLs, otherwise fallback to the urllib.request.urlopen.
Also fix a minor issue where the json database which has been gzip
decompressed as byte object should be decoded as utf-8 string as
expected by update_db.
(From OE-Core rev: 95438d52b732bec217301fbfc2fb019bbc3707c8)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is race condition when multi qemu starting with slirp,
add lockfile for each port to avoid problem like:
runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: Could not set up host forwarding rule 'tcp::2323-:23'
[YOCTO #13364]
(From OE-Core rev: ceb3555a40ba06e58914465376aaf41392c12a7c)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libopts configure script looks for a shell on the build host and assumes
it's good for the target. However in our builds it find $HOSTTOOLS_DIR/bash
which isn't useful, so patch out the detection and force $base_bindir/sh.
(From OE-Core rev: 9aaa1e3bdfd767fe8e19c00c611b34920644df27)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libunistring m4 macros end up putting the full build-time library path into
the .pc file, which is no good on target. Sed it out to stop build paths
leaking onto the target.
[ YOCTO #13403 ]
(From OE-Core rev: 2ab5a34357b86be19a1b1a85eac54fa0cf1e7fd2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure script has already found IPT_LIB_DIR via pkgconfig, so
the configure-cross.patch really just introduces dead and broken
fallback code.
Broken, because the SYSROOT variable does not actually get set to a
sensible value - the argument $1 passed to the configure script when
invoked from the Makefile is KERNEL_INCLUDE, which we set to
${STAGING_INCDIR} in EXTRA_OEMAKE. Obviously that directory does not
have /lib or /usr subdirectories, so we're not really helping the
fallback logic in check_ipt_lib_dir() - in fact, we're more or less
guaranteeing that we won't find those .so files.
(From OE-Core rev: 628de87240e9bc73ad63a32e5f67b58781d87dd0)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All the users in OE-Core have moved to libsdl2. It will be moved to
meta-oe.
(From OE-Core rev: 4f967ade9001111c77ef298372e9b9e435414664)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a backport from 5.2 release upstream, it fixes long standing
build failure on musl/aarch64
(From OE-Core rev: eff0a21a835808c5e2862b820a1ebb200ff100db)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit a725d188b5 (kernel-uboot: compress arm64 kernels)
arm64 Image files are handled exactly like in the default case, making
this special case pointless. Remove it to make the code simpler.
(From OE-Core rev: 60bc7e180e2d44ac026e5537552a567784dc506a)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It do make sense to start rngd early in the boot process because
otherwise we would need to track every service that might need entropy
and explicitly configure it to start after rngd.
When used with systemd rngd blocked the shutdown process because it
simply missed the proper unit configuration. As the systemd
documentation explains, when using DefaultDependencies=no one also
have to explicitly configure the unit to properly stop at some point.
This is normaly achieved by having Before=shutdown.target and
Conflicts=shutdown.target set for the unit.
To have rngd started early again we reverte the changes done to
rngd.service in commit edf7606822 (rng-tools: fix rngd blocks system
shutdown). To have it properly stopped on shutdown we also add
Before=shutdown.target and Conflicts=shutdown.target.
(From OE-Core rev: a74e7df33e2c8ab2152e3217c0a5df3f65971713)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
hdddirect was removed in commit 929ba563f1bc7195c4981b8e139c432b2cc388ea.
(From OE-Core rev: 7a91a9818057d69cba32db2428ffc1a1ebb3876e)
Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently gdk-pixbuf x11 loader is enabled only
for LSB build. But it is needed by other recipes like
Ice window manger(icewm) for X window system.
(From OE-Core rev: 277a2bef8ae41a0314ecad27379b299ba7d90f22)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add unittests for bootimg-biosplusefi SourcePlugin in wic module.
First test check wic creation works correctly.
Second test uses qemu to boot image and checks that it has both
EFI and BIOS files in a single partition.
(From OE-Core rev: e0c3436241afca93f107e325d1b9ffcdebf706cd)
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a source plugin that support both EFI and legacy PC-Bios.
While using this plugin, both bootloaders configurations reside
in the same /boot partitions.
This plugin has very little code : to avoid code duplication,
we simply re-import bootimg-pcbios and bootmg-efi source and
call both their SourcePlugin methods.
(From OE-Core rev: c8545d54139c6c48bffd1dd1d39d79891626c6f7)
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-organize the musl patches in three different areas namely
libs, utils and tests, this will help maintain them in future
version bumps
Add obstack dependency on musl targets which is needed for eu-*
PN and PN-binutils is not empty anymore on musl
(From OE-Core rev: a747239978e63f22d4107e6e12c75b5f78043cce)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
obstacks from GNUlib is used in some OE-Core packages e.g. elfutils
and other packages outside OE-Core, this recipe helps provide this
functionality standalone on musl systems, and helps in getting full
versions of dependent packages
(From OE-Core rev: a0fb9093733a0e7e3e83f9bcedbd0fcbf6e1a0d3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'secure_getenv' api is not uniformly implemented across all C libraries
therefore its good to include missing.h so it can use the alternative
implementation where its not awvailable
Fixes
../git/src/login/pam_systemd.c:344:13: error: implicit declaration of function 'secure_getenv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
v = secure_getenv(key);
(From OE-Core rev: 6cdcb1488a84da6c15145944c2aab3c604252699)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes musl issue
implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration]
which eventually ends up with a linker error
(From OE-Core rev: 6b603924e50a5694421b9142494315799422928d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration]
which eventually ends up with a linker error
(From OE-Core rev: 5841e52e79274b2da17bf7dbd1224d0a3dca2d6f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build for older versions of git (like on CentOS 7) which don't
follow redirects properly if the .git suffix is missing and cause
errors:
| error: RPC failed; result=22, HTTP code = 404
| fatal: The remote end hung up unexpectedly
(From OE-Core rev: f5c6b2d54449d5ea4f65e18e89e40794530e20aa)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Swap is a special filesystem that cannot be mounted, so do not try to,
otherwise we will have service that tries and fails to mount it with
the following error:
systemd[1]: Mounting /run/media/nvme0n1p3...
mount[1229]: mount: /run/media/nvme0n1p3: unknown filesystem type 'swap'.
(From OE-Core rev: 7a2c56da85326043f0663c29535ac3fb555d96fe)
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The psplash binary uses TMPDIR as directory to store the FIFO to
communicate with the psplash tools. This directory can be in any
location an init system determines to be suitable, psplash-init
uses /mnt/ for it. Rather than creating the mount directory in
the recipe, just create it in the init script itself. This allows
other init scripts to use a different location without having
an unnecessary .psplash directory in /mnt.
(From OE-Core rev: dd8c7f2466d94fd8326b962e9bcfc4f42a35da38)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This a backport from upstream
Fixes package_qa on arm
ERROR: QA Issue: ELF binary 'TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/mpeg2dec/0.5.1-r0/packages-split/libmpeg2/usr/lib/libmpeg2.so.0.1.0' has relocations in .text [textrel]
(From OE-Core rev: 190531943ab43758f83ff021caef1f68dbdc3840)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG for the use of XCB and enable by default if X11 is in
DISTRO_FEATURES.
(From OE-Core rev: 69b0f94c117b3ab922e0061255a1814e69b16435)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ffmpeg can generate lookup tables at build time instead of runtime, but this is
no longer a recommended option. The size impact is significant (12% of the
total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't
too costly, and only a few codecs actually use the pre-generated tables (MP3,
notably).
(From OE-Core rev: 51f13afe669638dbf72f464f243adccb22be3d21)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Meson the environment variables are always the native tools, so export
STRIP=${BUILD_STRIP} along with CC et al to silence this Meson warning:
WARNING: Env var STRIP seems to point to the cross compiler.
This is probably wrong, it should always point to the native compiler.
(From OE-Core rev: 8d1557356d2c7d94eeef2a9b61d3c9622e337a9e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also switch SRC_URI to the nongnu mirrors as they're more reliable than
Sourceforge.
(From OE-Core rev: 18875698e182d5eb5a9bc1f95abdc2348f66cedc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the code fetches the compressed JSON, writes it to a temporary file,
uncompresses that with gzip and passes the fake file object to update_db().
Instead, uncompress the gzip'd data in memory and pass the JSON directly to
update_db().
(From OE-Core rev: 9422745979256c442f533770203f62ec071c18fb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The metadata parser is fragile: first it coerces a bytes() to a str() (so the
string is b'LastModifiedDate:2019...'), assumes the first line is the date, and
then uses a regex to parse (which then includes the trailing quote as part of
the date).
Clean this up by parsing the bytes as UTF-8 (ASCII is probably fine, but this is
safer), iterate through the lines and split on colons to find the right
key/value pair.
(From OE-Core rev: bb4e53af33d6ca1e9346464adbdc1b39c47530f3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of calling execute() repeatedly, rewrite the function to be a generator
and use executemany() for performance.
(From OE-Core rev: b309840b6aa3423b909a43499356e929c8761318)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running valgrind against code using Openssl v1.1.1c reports a large number of
uninitialized memory errors. This fix from upstream solves this problem.
(From OE-Core rev: 8081d645353ed934a0158329f2f36ea49d663e19)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the temp dir is left in system, although the temporary
source directory has been cleaned up. So we clean it up too.
(From OE-Core rev: 8a0602327d5afcf4f36850d3f05c9721305852af)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use track_for_cleanup for temp dir to avoid such temp
dir being not cleaned up when something goes wrong, e.g.,
building image failure.
(From OE-Core rev: 7105c9bcceda3e4defbb6aa9fb3e8fd38c1e00a2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append the necessary QB_ flags to the MACHINE configuration of
beaglebone-yocto. Using Qemu with "-machine virt" simplifies things
greatly because for this machine the dtb is compiled into qemu. Since
the beaglebone-yocto kernel config also supports this cpu architecture,
it just works. However, u-boot is not involved and the virt machine is
not 100% equal to a am335x SoC.
A MACHINE configuration suitable for Qemu as well as for the real
hardware allows to provide just one eSDK where both runqemu and devtool
build-image work. Otherwise a qemuarm and a beaglebord-yocto MACHINE
eSDK would be required to support development in Qemu as well as on real
hardware.
(From meta-yocto rev: 48bf40749cc63e8e951c76abbe65b1b9620b2481)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The addition of some debugging code meant that comparisions between sig
files with a taint and without a taint weren't working. Tweak the logic
to avoid tracebacks if one side doesn't have a taint.
(Bitbake rev: f5ea06fc2b6713c9f8e85ecf7cb981ae9a84d896)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe was called -native but didn't inherit native.
(From OE-Core rev: f0d822fad2a163d1ee32ed3b4c0359245140e19b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also avoids maintaining a different set of patches for both.
(From OE-Core rev: b3b1c00cc46b33ddbf7e008267032220e1e298af)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Include the fix by Mark Adler which has also been adopted by Debian.
(From OE-Core rev: 4df4de2ac8bc0e80446e1ad0ce67eb244e2d2a32)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the following patches since the issues have been fixed upstream:
0001-file01.sh-Fix-in-was-not-recognized.patch
0001-lapi-Define-TST_ABI-32-64-to-detect-target-type.patch
0001-syscalls-setrlimit03.c-read-proc-sys-fs-nr_open-for-.patch
0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
0009-fix-redefinition-of-struct-msgbuf-error-building-wit.patch
0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch
0023-ptrace-Use-int-instead-of-enum-__ptrace_request.patch
0024-rt_sigaction-rt_sigprocmark-Define-_GNU_SOURCE.patch
0026-crash01-Define-_GNU_SOURCE.patch
0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
0034-periodic_output.patch
0039-commands-ar01-Fix-for-test-in-deterministic-mode.patch
define-sigrtmin-and-sigrtmax-for-musl.patch
setregid01-security-string-formatting.patch
Refresh the following patches:
0004-build-Add-option-to-select-libc-implementation.patch
0005-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch
0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
0018-guard-mallocopt-with-__GLIBC__.patch
0020-getdents-define-getdents-getdents64-only-for-glibc.patch
0035-fix-test_proc_kill-hang.patch
0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
0001-open_posix_testsuite-mmap24-2-Relax-condition-a-bit.patch
0001-shmctl01-don-t-use-hardcoded-index-0-for-SHM_STAT-te.patch
0001-diotest4-Let-kernel-pick-an-address-when-calling-mma.patch
0001-getrlimit03-adjust-a-bit-of-code-to-compatiable-with.patch
Add patch:
0006-rt_tgsigqueueinfo-disable-test-on-musl.patch
(From OE-Core rev: eb59546c83f4c217de6272a8d3b2fa65e3c84e7f)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to phase out poky-lsb, move the alternate test configurations
to a separate .inc file. This is necessary to avoid maintaining this
configuration in the autobuilder config (such as kernel version numbers).
(From meta-yocto rev: 235f592b44617afcd31211e476428fadf456eaea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the default since -trim was dropped back in 2012 so this extra
configuration is pointless.
(From meta-yocto rev: f2868c6c667c109e416d5e51140f50fd5f0a10bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that people or other tools can easily know which one is being used, just
like what we did for run.do_task and log.do_task, otherwise, we have no way
to know it. I usually use "ls -t", but it isn't reliable since the one which
is being used may not the latest one.
(Bitbake rev: cf286dff653eed542bf347ca46234c224944d5b0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 450335ba5e73a375eb9932b4c4cf37979640dbfc copies the pseudo
database to the working directory in order to have ownership information
when the filesystem is generated.
Unfortunately this does not work anymore. The filenames on the database
are absolute and there is no information about the new directory.
Instead of fixing the database, we could redo a bit the way we patch the
fstab file. Now I am saving the old contents of fstab, modifying the
file and then reverting the changes on exit.
This is faster than the previous approach, although it can cause
indeterminism if the application is killed before finishing.
(From OE-Core rev: dcbf7b864dd1713b54a172d8714ce1508482f086)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
djb2 hash algorithm was found to do collisions, so the database was
sometime missing data. Remove this hash mechanism, clear and populate
elements from scratch in PRODUCTS table if the current year needs an
update.
(From OE-Core rev: 78de2cb39d74b030cd4ec811bf6f9a6daa003d19)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE_CHECK_WHITELIST does not contain version anymore, as it was not
used. This variable should be set per recipe.
(From OE-Core rev: 7069302a4ccbb5b72e1902f284cf078516fd7294)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The master branch's current tip commit as of this writing is [1], see the
squashfs-tool's repo at [0].
Because of commits [2]-[4] which are included in the master branch three
corresponding patches are dropped as they are not needed anymore. The single
remaining patch was rebased on top of [1] to apply cleanly.
Commits [5] & [6] introduced interesting features, namely zstd support and
reproducibility of created SquashFS images. They are reflected in two new
PACKAGECONFIG options now, but only the latter ("reproducible") is appended to
the default options as OE-core does not contain a recipe to build zstd at the
moment (a working zstd recipe can be found e.g. in meta-rauc, see [7]).
[0] https://github.com/plougher/squashfs-tools.git
[1] f95864afe883 ("unsquashfs-4: Add more sanity checks + fix CVE-2015-4645/6")
[2] 46bdc1726e5a ("mksquashfs: Make a load of functions static")
[3] b0ca8a5c98ff ("pseudo.c: add explicit <sys/stat.h> include")
[4] f95864afe883 ("unsquashfs-4: Add more sanity checks + fix CVE-2015-4645/6")
[5] 6113361316d5 ("squashfs-tools: Add zstd support")
[6] e0d74d07bb35 ("Add configuration and Mksquashfs build options for
reproducible builds")
[7] https://layers.openembedded.org/layerindex/recipe/79049/
(From OE-Core rev: 92f34fbe321040db3dc0431dd464747324058e2e)
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Differentiate it from openssl gem for Ruby.
(From OE-Core rev: 2ec481b19d6c9c20ce6573de77ae89e576d6b8cb)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from libpciaccess_0.14.bb to libpciaccess_0.16.bb.
-libpciaccess/0004-Don-t-include-sys-io.h-on-arm.patch
Removed since this is included in 0.16.
(From OE-Core rev: c2140b42c8516100c55c381d98e0f281b562d2db)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from libice_1.0.9.bb to libice_1.0.10.bb.
-libice/CVE-2017-2626.patch
Removed since this is included in 1.0.10.
(From OE-Core rev: d3581b5d5562604ba31fc2b10873b3b0c9bf75fc)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce a new variable INIT_MANAGER and create 4 init-manager-*.inc
files to configure init manager settings. Available values of
INIT_MANAGER are sysvinit, systemd, mdev-busybox and a default of none.
'none' provides backwards compatibility.
The settings of various VIRTUAL-RUNTIME variables are moved into these
files from the packagegroups.
[YOCTO #13031]
[Modifications by RP for backwards compatibility]
(From OE-Core rev: 8d0b4704a526a48cd5e67df61b613424bbbdccde)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recent changes to runqueue, this fuction is unsafe as setscene tasks can run
at the same time as normal ones and doing things before do_fetch no longer
offers any guarantees.
There is other code which cleans out things from the sysroots as tasks rerun so
we should rely upon that instead.
(From OE-Core rev: 27ce69861edb7e52078b59ebf8fefc9201e9a228)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are not using Python2. I removed this instance in the ref
manual. The variable "PYTHON_PN" referenced Python 2. It no
longer does.
(From yocto-docs rev: bd2ed0c640e12e8010ebff0aaba77e8fe367d63e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a typo in the BBMULTICONFIG variable description.
It appeared as "BBMULTIFONFIG". I fixed it.
(From yocto-docs rev: c53b1bb6e588f9ee87cb8ab85fc8c3985257a37a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Enabling GObject Introspection Support" section, a link
existed to the "Known Issues" section further down in the
chapter. The target of the link was missing and appeared as the
placeholder "xxx". I put in the proper link.
(From yocto-docs rev: 8d0d1b2104f08e888075bc0ae0bed4f0ec2f4ea6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes YOCTO #13079
Bug is about making sure the section on the devtool command
talks about oe-local-files. Two devtool commands (modify
and upgrade) needed to mention the role of the oe-local-files
area and how it is used during these commands. I updated the
appropriate sections:
* Use devtool modify to Modify the Source of an Existing Component
* Use devtool upgrade to Create a Version of the Recipe that
Supports a Newer Version of the Software.
(From yocto-docs rev: 70ed68eca6dcb5b1f1b5638fd27a7b513b65661e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing information for some of the releases put back in.
(From yocto-docs rev: f4c09ab9eda925c16946d9d6cf58d1e40d8f6a07)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you specify both setscene and non-setscene tasks on the commandline, the
non-setscene tasks could be missed, e.g. "bitbake X:do_patch X:do_populate_sysroot"
and do_patch would fail to run.
Fix the problem in runqueue and add a testcase.
(Bitbake rev: 75292fdec5d9c0b5b3c554c4b7474a63656f7e12)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the /etc/opkg directory exists before we try to create a
file there.
(From OE-Core rev: 30ff50223cd0b79fd3b8aa393ea1e621282773ac)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of hiding problems in the debug log let's print them as warnings
instead.
(From OE-Core rev: 088f5d97001bd4b573f00cfca93b8d24e814fd64)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following warning by just deleting the files:
WARNING: opensbi-0.4-r0 do_package: QA Issue: opensbi: Files/directories were installed but not shipped in any package:
/lib
/lib/libsbiutils.a
/lib/libsbi.a
(From OE-Core rev: ecbf494b26db71076ad74902a75a3205c849d81e)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error info:
getrlimit03.c:104: FAIL: __NR_prlimit64(0) had rlim_cur =
ffffffffffffffff but __NR_getrlimit(0) had rlim_cur = 7fffffff
According to kernel code: [arch/mips/include/uapi/asm/resource.h]
RLIM_INFINITY is set to 0x7fffffffUL instead of ULONG_MAX on mips32.
/*
* SuS says limits have to be unsigned.
* Which makes a ton more sense anyway,
* but we keep the old value on MIPS32,
* for compatibility:
*/
#ifndef __mips64
# define RLIM_INFINITY 0x7fffffffUL
#endif
Adding conditional statement about mips to fix this.
(From OE-Core rev: 6bb6de711631fb2d339c447c6f88c8e06c17b967)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are many projects called Flex and they have CVEs, so also set the vendor
to remove these false positives.
(From OE-Core rev: 0598ccdcb31e16f1d1227197591b10ba441fcfe2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some product names are too vague to be searched without also matching the
vendor, for example Flex could be the parser compiler we ship, or Adobe Flex, or
Apache Flex, or IBM Flex.
If entries in CVE_PRODUCT contain a colon then split it as vendor:product to improve the search.
Also don't use .format() to construct SQL as that can lead to security
issues. Instead, use ? placeholders and lets sqlite3 handle the escaping.
(From OE-Core rev: e6bf90009877d00243417898700d2320fd87b39c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Layers could be located outside from poky but inside the build directory.
This case should be covered in eSDK.
meta-abc
meta-def/meta-ghi
meta-def/poky
meta-def/meta-oe/meta-oe
...
It should take all enabled layers and put them into 'layers' dir during
build-time with respecting new relative path to poky.
layers/meta-abc
layers/meta-ghi
layers/poky
layers/meta-oe/meta-oe
...
(From OE-Core rev: 55ecf6988d3e3c0935cb6324a6ad2c75f1191a1d)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build failure with core-image-minimal:
Exception: UnboundLocalError: local variable 'to_append' referenced before assignment
(From OE-Core rev: 270ac00cb43d0614dfe1c95f960c76e9e5fa20d4)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While creating and deleting files with unicode or other
encodings works, it's annoying when ls and other core utils
show questionmarks instead of the unicode characters.
In 2019, it's quite common that users of embedded devices
based on yocto need unicode support. Debugging a box with
unicode encoded file names is a bit annoying when core utils
from busybox don't support them.
The unicode config fragment has the same config as Debian in their
deb and udeb builds of version 1:1.30.1-4.
If developers do not want this or other default yocto features in busybox,
or optimize the configuration for size, then they likely run a completely
custom configuration. Thus I think it's safe to enable unicode support
by default.
(From OE-Core rev: a48438422dbe64095bdb379c20428ba87e2a0e99)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot.bin with dtb & signature should be placed in ${B} so that
it can be deployed by u-boot as expected. Otherwise, the version
without signature is installed.
(From OE-Core rev: bfc8c964a9760a2c4a1d1902918908a1e7361c17)
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when INITRAMFS_IMAGE_BUNDLE and INITRAMFS_IMAGE are set, wic should
look for kernel with initramfs image bundled.
Include required variable MACHINE, INITRAMFS_IMAGE_BUNDLE,
INITRAMFS_IMAGE, INITRAMFS_LINK_NAME and KERNEL_IMAGETYPE in WICVARS.
No longer require default value for variable kernel as KERNEL_IMAGETYPE
is not optional variable and included in WICVARS.
image_types_wic to inherit kernel-artifact-names to obtain default
INITRAMFS_LINK_NAME when INITRAMFS_IMAGE_BUNDLE are set.
update wic.Wic2.test_image_env test case to filter optional
variable INITRAMFS_LINK_NAME, INITRAMFS_IMAGE and INITRAMFS_IMAGE_BUNDLE.
(From OE-Core rev: bac984fbb2d5ad5d13ba3275c8a3e878d8753c58)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distributions for various reasons (like for example mounting a
tmpfs over /var at runtime) can't use /var/lib to store the opkg
metadata, so a different path is required to have a functioning
package manager.
${localstatedir} can't be modified to something other than the
hardcoded value in bitbake.conf because other recipes depending on it
will fail to install.
So the only recourse, which is also the least invasive, is to allow
distros to overwrite the OPKGLIBDIR variable just like they are also
allowed to overwrite OPKGBUILDCMD.
(From OE-Core rev: 81eae383c287ad2e74321345c5eba862d5704cc4)
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As glibc will be scanned for CVEs, we don't need to scan glibc-locale,
glibc-mtrace, and glibc-scripts which are all separate recipes for technical
reasons.
Exclude the recipes by setting CVE_PRODUCT in the recipe, instead of using the
global whitelist.
(From OE-Core rev: 1f9a963b9ff7ebe052ba54b9fcbdf7d09478dd17)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2014-2524 is a readline CVE that was fixed in 6.3patch3 onwards, but the
tooling wasn't able to detect this version. As we now ship readline 8 we don't
need to manually whitelist it, and if we did then the whitelisting should be in
the readline recipe.
(From OE-Core rev: 07bb8b25e172aa5c8ae96b6e8eb4ac901b835219)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With kernels >=5.2 systemd-networkd is unable to bring up the link.
eth0: Could not bring up interface: Invalid argument
This is already reported upstream and fixed on master:
https://github.com/systemd/systemd/issues/12784
They recommend Debian to backport two patches.
(From OE-Core rev: 536d54ab46708ef921dbdcb68d1cf644ec639be8)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a command line option to filter out the buildstats-diff report by
one more more tasks. e.g.:
buildstats-diff --only-task do_compile A B
will only show the differences for do_compile tasks. The --only-task
option can be specified multiple times to filter out multiple tasks at
once.
(From OE-Core rev: a8c7960d24c48107fd3703e49c38f890e84e2226)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to compile webkit when default tune is 'mips':
| .../tmp-glibc/work/mips-wrs-linux/webkitgtk/2.24.2-r0/webkitgtk-2.24.2
| /Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:418:23:
| error: static assertion failed: CLZ opcode is not available for this ISA
So don't build webkit when default tune is mips.
(From OE-Core rev: 23573d4e69f4316d5812b5dd35314b5a0aa592e9)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All packages that support the menuconfig task will be able to run
devtool menuconfig command. This would allow the user to modify the
current configure options and create a config fragment which can be
added to a recipe using devtool finish.
1. The patch checks if devtool menuconfig command is called for a valid
package.
2. It checks for oe-local-files dir within source and creates one if
needed, this directory is needed to store the final generated config
fragment so that devtool finish can update the recipe.
3. Menuconfig command is called for users to make necessary changes.
After saving the changes, diffconfig command is run to generate the
fragment.
Syntax:
devtool menuconfig <package name>
Ex: devtool menuconfig linux-yocto
The config fragment is saved as devtool-fragment.cfg within
oe-local-files dir.
Ex:
<workspace_path>/sources/linux-yocto/oe-local-files/devtool-fragment.cfg
Run devtool finish to update the recipe by appending the config fragment
to SRC_URI and place a copy of the fragment within the layer where the
recipe resides.
Ex: devtool finish linux-yocto meta
[YOCTO #10416]
(From OE-Core rev: 417feb559a74b367315e8658d6ba868a4f8d1340)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If kernel source is not already downloaded i.e staging kernel dir is
empty, place a copy of the source when the user runs devtool modify
linux-yocto. This way the kernel source is available for other packages
that use it.
[YOCTO #10416]
(From OE-Core rev: bb42ab90835e8ec2f1dfbb35056c353784693266)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the regular devtool modify flow, the kernel source is fetched by
running do_fetch task. This is an overhead in time and space.
This patch updates modify command to check if the kernel source is
already downloaded. If so, then instead of calling do_fetch, copy the
source from work-shared to devtool workspace by creating hard links
else run the usual devtool modify flow and call do_fetch task.
[YOCTO #10416]
(From OE-Core rev: 3c3a9bae296f849dbfe03942282f44036e6fa1fb)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the logic in bitbake improves, the logic in the tests needs to as well.
Afer we built a task for the first time, allow its setscene hash verification
status to change, mirroring what would happen in a multiconfig build.
(Bitbake rev: 27ec2e69ab3e32972caf8b072b2945736696d83d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if a multiconfig build contains different configurations which
have overlapping sstate artefacts, it will build them multiple times.
This is clearly suboptimal and not what users want/expect.
This adds code to detect this and stall all but one of the setscne tasks
so that once its built, it can be found by the other tasks.
We take care to iterate the multiconfigs in order so try and avoid
dependency loops. We also match on PN+taskname+taskhash since this is
what we know sstate in OE-Core would use. There are some tasks even within
a multiconfig which match hashes (mostly do_populate_lic tasks) but those
have a much higher chance of circular dependency so aren't work attempting
to optimise.
If a deadlock does occur the build will be slower but there is code to
unbreak such a deadlock so it hopefully doens't break anything.
Comments are injected into the test tasks so they have different task
hashes and a new test for this optimisation is added.
(Bitbake rev: a75c5fd6d4ec56836de0be2fe679c81297a080ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull the common pieces of the hash verification code into a single function
and reduce code duplication.
(Bitbake rev: d0c39e05cef841c6f29cc6c919df6cbf271a9bda)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix some unwanted extra indentation.
(Bitbake rev: 460a5c2e3e1d72f2da16fbc96832fadc82e72c52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was left from when task IDs complicated the code, simplify.
(Bitbake rev: ae36b5c693bb9f13c88199e78e3c31616852eafb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
Brazil no longer observes DST.
'zic -b slim' outputs smaller TZif files; please try it out.
Palestine's 2019 spring-forward transition was on 03-29, not 03-30.
Changes to future timestamps
Brazil has canceled DST and will stay on standard time indefinitely.
(Thanks to Steffen Thorsen, Marcus Diniz, and Daniel Soares de
Oliveira.)
Predictions for Morocco now go through 2087 instead of 2037, to
work around a problem on newlib when using TZif files output by
zic 2019a or earlier. (Problem reported by David Gauchard.)
Changes to past and future timestamps
Palestine's 2019 spring transition was 03-29 at 00:00, not 03-30
at 01:00. (Thanks to Sharef Mustafa and Even Scharning.) Guess
future transitions to be March's last Friday at 00:00.
Changes to past timestamps
Hong Kong's 1941-06-15 spring-forward transition was at 03:00, not
03:30. Its 1945 transition from JST to HKT was on 11-18 at 02:00,
not 09-15 at 00:00. In 1946 its spring-forward transition was on
04-21 at 00:00, not the previous day at 03:30. From 1946 through
1952 its fall-back transitions occurred at 04:30, not at 03:30.
In 1947 its fall-back transition was on 11-30, not 12-30.
(Thanks to P Chan.)
Changes to past time zone abbreviations
Italy's 1866 transition to Rome Mean Time was on December 12, not
September 22. This affects only the time zone abbreviation for
Europe/Rome between those dates. (Thanks to Stephen Trainor and
Luigi Rosa.)
Changes affecting metadata only
Add info about the Crimea situation in zone1970.tab and zone.tab.
(Problem reported by Serhii Demediuk.)
Changes to code
zic's new -b option supports a way to control data bloat and to
test for year-2038 bugs in software that reads TZif files.
'zic -b fat' and 'zic -b slim' generate larger and smaller output;
for example, changing from fat to slim shrinks the Europe/London
file from 3648 to 1599 bytes, saving about 56%. Fat and slim
files represent the same set of timestamps and use the same TZif
format as documented in tzfile(5) and in Internet RFC 8536.
Fat format attempts to work around bugs or incompatibilities in
older software, notably software that mishandles 64-bit TZif data
or uses obsolete TZ strings like "EET-2EEST" that lack DST rules.
Slim format is more efficient and does not work around 64-bit bugs
or obsolete TZ strings. Currently zic defaults to fat format
unless you compile with -DZIC_BLOAT_DEFAULT=\"slim\"; this
out-of-the-box default is intended to change in future releases
as the buggy software often mishandles timestamps anyway.
zic no longer treats a set of rules ending in 2037 specially.
Previously, zic assumed that such a ruleset meant that future
timestamps could not be predicted, and therefore omitted a
POSIX-like TZ string in the TZif output. The old behavior is no
longer needed for current tzdata, and caused problems with newlib
when used with older tzdata (reported by David Gauchard).
zic no longer generates some artifact transitions. For example,
Europe/London no longer has a no-op transition in January 1996.
Changes to build procedure
tzdata.zi now assumes zic 2017c or later. This shrinks tzdata.zi
by a percent or so.
Changes to documentation and commentary
The Makefile now documents the POSIXRULES macro as being obsolete,
and similarly, zic's -p POSIXRULES option is now documented as
being obsolete. Although the POSIXRULES feature still exists and
works as before, in practice it is rarely used for its intended
purpose, and it does not work either in the default reference
implementation (for timestamps after 2037) or in common
implementations such as GNU/Linux (for contemporary timestamps).
Since POSIXRULES was designed primarily as a temporary transition
facility for System V platforms that died off decades ago, it is
being decommissioned rather than institutionalized.
New info on Bonin Islands and Marcus (thanks to Wakaba and Phake
Nick).
(From OE-Core rev: bbbb985808e5c301cdb7fdb1ff677706e99b4785)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to improved validation of sysctl settings in recent kernels (5.2+, but
also stable kernels like 4.19.53), systemd will log an error message like
systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
during boot. Backport the bugfix from the systemd master.
(From OE-Core rev: 289a29fc687d1224097f553a6f8c7f1baf903cae)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that we don't create an image test data symlink named
".testdata.json" when IMAGE_LINK_NAME is empty.
(From OE-Core rev: 97e1af51814c63963dc6eee003e0cf0e4dead024)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that we don't create a symlink named ".manifest" if IMAGE_LINK_NAME
is empty.
(From OE-Core rev: 267697f5e1c931e39fd81dd1b14691e364be64f3)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The options in ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} are already passed
via ${CC}/${CXX} and there is no reason to pass them a second time. Thus
we can remove MESON_TOOLCHAIN_ARGS. And when it is removed, the other
MESON_*_ARGS variables revert to the standard CFLAGS, CXXFLAGS and
LDFLAGS, so just use them directly instead.
Apart from the obvious improvement with not passing a lot of options
twice, this also solves a problem where -pie would be passed on the
command line in a way that it would prevent building any dynamic
libraries using meson if using a toolchain that is not built with
--enable-default-pie and if security_flags.inc is used.
(From OE-Core rev: 300f4ac59d4b96fc25a40565b22441b51ab08ede)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patching to make the new libtool work (from 2008) is no longer needed.
(From OE-Core rev: 4210fafa851d011023f5a58ed3887148168f861c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE no longer ships a git snapshot of e2fsprogs,
so use the new upstream default now.
(From OE-Core rev: f5edce401cfb31ebd0200adaba9a201caf7ea705)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are several packages which all provide /usr/lib/sendmail
when lsb is enabled. So use alternative to manage it.
(From OE-Core rev: 0a433802a9b7a41ab6732bc1915571b7a190985f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before commit[80d17497b7 mdadm: improve the run-ptest],
the mdadm ptest just run some tests without
"--keep-going" option. After the option added in
commit 80d17497b7, all test cases have chance to
be called.
But the logic in mdadm upstream commit
[e2a8e9d tests: wait for complete rebuild in integrity checks]
will make the test enter infinite loop especially in
qemu env as commit e2a8e9d update the logic from
"check wait" to "check state 'U*'" for testcase
tests/01r5integ and tests/01raid6integ. Considering all
other cases still use "check wait" logic, so revert e2a8e9d
to make tests/01r5integ and tests/01raid6integ also use
"check wait" logic to avoid the infinite loop.
[YOCTO #13368]
(From OE-Core rev: b507793f4adde0c60588b06520d7d0b70acfd82a)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian 10 is the new stable release and is being tested on the autobuilder, so
add this to the supported distribution list.
[ YOCTO #13432 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the merge of the scenequeue with real tasks, this now confuses the
statistics. The real tasks are the definitive progress so monitor only
those.
(Bitbake rev: 20956b508a082224139c8f56b68299edff6e0443)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need some tests for runqueue, its been something which has been hard to test
for a long time. Add some dummy metadata to allow this, mirroring the OE
structure in spirit.
(Bitbake rev: 37564d7440c5d7aa05ec537f3b79026b1c83bb68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This combines the scqenequeue and normal task execution into one function
and simplifies the state engine accordingly.
This is the final set of cleanup to fully merge things without adding the
extra noise to the previous commits.
(Bitbake rev: 56f3396d8c7cfbebd175877c9d773e4e35f8dea1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since there is now parallel execution of setscene and normal tasks, the way
setscenewhitelist handling worked can't function the way it did. Paul and I
never liked its error output anyway.
This code tries a different approach, checking the task at execution time
but printing the uncovered task list.
This code may need improvement after real world usage but can
work with the new task flows.
(Bitbake rev: a08d8ba5f5194a09391b1904ee31c04c5f0b1e28)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the serious functionality change in this runqueue patch series of
changes.
Rather than two phases of execution, the scenequeue setscene phase, followed
by normal task exeuction, this change allows them to execute in parallel
together.
To do this we need to handle marking of tasks as covered/uncovered in a piecemeal
fashion on a task by task basis rather than in a single function.
The code will block normal task exeuction until any setcene task which could
cover that task is executed and its status is known. There is a slight
optimisation which could be possible here at the risk of races but that
doesn't seem worthwhile.
The state engine isn't entirely cleaned up in this commit (see FIXME) and
the setscenewhitelist functionality is broken by it (see following patches)
however its good enough to test with normal workflows.
(Bitbake rev: 58b3f0847cc2d47e76f74d59dcbbf78fe41b118b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It wasn't clear whether the variable contained just setscene covered
tasks or all covered tasks. We need both sets of data so lets just have
two clearly named variables.
(Bitbake rev: a9fb55627762e7c8b3df30b335ad0b2f1adc080e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code for setting up buildable tasks can be simplified.
(Bitbake rev: ce3cd2df5b034f8dbdcf9834e8b9a393b6b01aad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its now clear a variable is pointless, remove it and tweak the logic
so the data structure of the existing variable matches what we need.
(Bitbake rev: c257c7b93b86dd794d31307e820215301c7ccf3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simplfy some looping code which no longer has any purpose.
(Bitbake rev: 01dfc37095e5c661f275917d22aa1c1ad7f24d8d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some extra comments to build_scenequeue_data() and fix the debug code
so it actually works.
(Bitbake rev: 8ea6d8193fc89b4596da69e400fbc50e5a443f9f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing code to compute the 'unskippable' setscene task list is overcomlicated,
so replace it with something functionally equivalent but simpler and more efficient.
We don't need to process all chains, just the 'top' ones to the first setscene tasks.
This also makes the code more readable.
(Bitbake rev: 06982c82f10cbdbea0b601e5cf0450a2a99c14c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful to have a list of all the tasks a given setscene task covers
and we can easily generate this data whilst doing other data processing.
This is used in later changes to runqueue rather than trying to compute it
on the fly which is difficult.
(Bitbake rev: 63ddc2fec40bd1b456702b97091f9dc5ef70a941)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this class has existed for years, it doesn't have any
users and has a questionable interface. Drop it to allow for further
simplification and changes.
(Bitbake rev: 3ab51764f7965d696bb2c5a872bf161473df4289)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also move the scheduler init over, apart for the builtable tasks part which need
to remain called later.
(Bitbake rev: ad30a16cd30f9eab0224eb271f98f9a24516b621)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup to the _execute_runqueue logic to reduce indentation, drop the
dummy executor class concept and prepare for further changes.
(Bitbake rev: 726e3c61a69fef16e605ba9b911a17cd99f1a2c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the remains of the Tasks and Scenequeue Tasks classes with simple
function calls. Also drop the dummy version of the execution class to
simplify further changes as its not needed.
(Bitbake rev: 33805394310046cd58c2194f6d063b3946811014)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tasks were not being marked as covered/notcovered since internal
calls were being made without using the external call points.
Fix the accounting issues by using the correct external call points.
(Bitbake rev: fe0a7be03e8baed22f6b0915cd5f7956ba3fbf83)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge the unique functions from the Tasks and Scenequeue Tasks classes
into the common base class.
(Bitbake rev: 7539fe22bc831bb835901e3aca77985ab4ebc4c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a seperate stats class for scenequeue tasks and move the setup
into the base class. Update references accordingly.
(Bitbake rev: 32f39bbd5d3b7394689da9ba05be2c15b4523b27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In preparation for merging the setscene and normal task execution,
uniquely namespace the scenequeue specific functions.
For the one shared function, add the "sq_live" variable so we know
which functions to send the results to.
(Bitbake rev: 2cbe9399902ba67dca566c7344b2247412cf4d5c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For ease of refactoring, move this code to its own separate function
until it becomes clear what we should do with it.
(Bitbake rev: 4b96b204f986dd62fba485876b7208665c14268d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function is only used by setscene code so the parameter is pointless,
remove it.
(Bitbake rev: b52dbf5e9cb327f8434213d286ad333f5dbad1d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the bulk of the scenequeue data generation to its own function
allowing for refactoring of the code.
Create the start of an object to represent this data.
(Bitbake rev: 68326e0426f25a1bbfd5ae3aa278656a3744053e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the removal of the setcene verify code, this additional code block
is also now unneeded since tasks can't be forced at this point in the code
any move. This effectively reverts f21910157d873c030b149c4cdc5b57c5062ab5a6.
(Bitbake rev: 4514fe4f045d595cc9b938f9326f66f2b3e99f71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in OE-Core uses this and hasn't since 2017. It wasn't needed by core
metadata since the switch to recipe specific sysroots.
Since this function would be hard to implement with the planned changes to
runqueue, drop it which allows simplification and further code cleanup.
(Bitbake rev: 5deaa5df730a8a846f3192b4a639b7a2a72c1b71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Work off a copy of the 'buildable' class variable, allowing easier
future code changes.
(Bitbake rev: e851169acfebba404514135bf512e6f045739a13)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that runqueue optimises based on task hash, we need to ensure
tasks have unique hashes even in the simplest siggen mode. Use
the task name to calculate a unique hash.
This fixes runqueue tests when hash optimisations are added.
(Bitbake rev: 8ede873ef4ef492fbaf01474685c1ca8b34d80d5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the unihash changes the default signature handler didn't work. Tweak it
to adapt to those changes (allowing the runqueue tests to work).
(Bitbake rev: 7d486d3fb7176a3486f3f2484457724d7185df58)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The provides and rprovides had been set for skipped recipes, packages are
similar to them (all of them provide something), so also set it. This makes it
easier to figure out the RDEPENDS issues, for example, lmsensors
(lmsensors_3.5.0.bb) RRECOMMENDS lmsensors-config-fancontrol
(lmsensors-config_1.0.bb), but lmsensors-config is skipped for some reasons,
then if we run:
$ bitbake lmsensors
ERROR: Nothing RPROVIDES 'lmsensors-config-fancontrol' (but /path/to/lmsensors_3.5.0.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'lmsensors-config-fancontrol' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lmsensors-config-fancontrol']
ERROR: Required build target 'lmsensors' has no buildable providers.
Missing or unbuildable dependency chain was: ['lmsensors', 'lmsensors-config-fancontrol']
We had no way to know who rprovides lmsensors-config-fancontrol, we can figure
it out by bitbake/contrib/dump_cache.py after this patch.
(Bitbake rev: 9cf7a5e5a28e676427970a821893e9d930973969)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whether skip or not, they are always set, so move the lines ahead to avoid
duplicated lines.
(Bitbake rev: c1a8ebb8f83e5108b667f291c924fc2fbd2ac769)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the mission to remove the use of Python 2, explicitly bootstrap Ninja
with Python 3.
(From OE-Core rev: b6a84fff1fbdab49af626d221085f3c052c4021d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the mission to remove the use of Python 2, explicitly use Python 3
when building qemu.
(From OE-Core rev: 9b3ed6f7ab8bf56a05a074162ed37ead12f248cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the mission to remove the use of Python 2, explicitly use Python 3
when building grub.
(From OE-Core rev: f2286cc31bd92d75c7f8662abe816867ab041d50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bluez4 was removed from meta-oe 2 years ago.
Simplfy the setup of the two level bluetooth and bluez4/bluez5
distro features by removing the bluez4/bluez5 distro features.
This also removes the no longer required bluetooth class.
(From OE-Core rev: dcf889e93401f7c4de0055d53271eacc3882eccc)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When handling pid file, qemu would first create the file, stat it,
lock it and then write actually contents to it.
So it's possbile that when reading the pid file, the content is empty.
[YOCTO #13390]
(From OE-Core rev: 170e59b203a02f8438b9aeab3a45f6fcd6608b1f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_rpm_query_nonroot test case was in RpmInstallRemoveTest.
But it should logically belong to RpmBasicTest. So move it there.
(From OE-Core rev: 506388a10a26613524602dcb4e630f216c6fee60)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of systemd, `su -c 'xxx' test1' via ssh will create
several processes owned by test1, e.g. /lib/system/systemd --user.
These processes are actually managed by user@UID.service
(e.g. user@1000.service). And such service is managed
automatically by systemd. In other words, it will be cleaned
up by systemd automatically.
So we need to wait for systemd to clean it up before trying to
use `userdel' to delete the user.
(From OE-Core rev: 9d398be42a69d25277b929d760aaed1679f3cd54)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using bitbake variable syntax (i.e., ${FOO}) for shell variables is
bad practice. First of all it is confusing, but more importantly it
can lead to weird problems if someone actually defines a bitbake
variable with the same name as the shell variable.
Also correct the indentation in stash_locale_cleanup().
(From OE-Core rev: 4e303063db731feae192314bab2ca16d26192dbb)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sysstat.service script in source launchs sysstat-collect and sysstat-summary
services when cron is installed with systemd. At this time, the upstream
sysstat.service must be installed.
(From OE-Core rev: 06a596ff8100f4a6506ff8d7f9ec93dd6aac6cb2)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't actually work as the unit file is only installed if cron support is
enabled.
This reverts commit 721f09d489.
(From OE-Core rev: 559465348de5210c7d29361f79666b62bd6660aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the recent changes in bitbake to runqueue, we need to recheck sstate validity,
particularly in multiconfig builds where tasks have the same checksum.
Avoid printing summary messages in this case. Also avoid multiple events to toaster
which may not be expecting that at later points in the code.
(From OE-Core rev: 227125b96ad6fb0cf6e259e787d83415993db847)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the Adwaita theme for GTK+ 2, which we don't include in oe-core anymore.
(From OE-Core rev: 9481da15c8eb8d5e866d97fdb337323e80d4f9e6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GTK+ 2 is ancient, and shouldn't be used. It will be moved to meta-oe for
people who do need it, but it shouldn't in oe-core.
[ YOCTO #12673 ]
(From OE-Core rev: 3c692e0d77e68908ab0ec421356bd4738c5327db)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current test builds Navit, which uses GTK+ 2. As GTK+ 2 is being removed
from oe-core, change the test to build taglib instead.
(From OE-Core rev: f627bce009dd275df807ffbc53b880c2490559ae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package uses PKG_ variables to map package names to version specific
variants, on target postinstall functionality will be broken.
i.e. something like the following casuses rootfs assembly errors:
d.setVar('pkg_postinst_ontarget_linux-source', 'cd /usr/src/; ln -sf %s linux-source' % source_pkg)
This breakage is due to the fact that the original package name (as specified by
the PACKAGES variable) is logged by the intercept scripts, but the mapped /
specific version is actually installed to the rootfs (and hence logged by the
package manager).
When the runtime listing of on-target scripts is performed, we get a package
manager error due to a missing package, since it checks the generic version
logged by the intercept scripts.
We can fix this by ensuring that the PKG_ variable mapped package name
is logged by the intercept phase, and hence the package manager can locate
and execute the on target postinst script.
This variable check is consistent with other places in the code, and has
no impact if PKG_ variables are not used.
(From OE-Core rev: a6af0886d1be584974086c0ddb4a5bc566eb7984)
Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the linux-yocto 4.19 recipe to the latest -stable and -rt
releases.
We also integrate a configuration change to support ptests on scsci
targets:
scsi-debug: include core scsi support for standalone inclusion
The -stable changes comprise the following commits:
1a0592436669 Linux 4.19.57
3919d91f4d36 arm64: insn: Fix ldadd instruction encoding
9c423fd89a2b usb: dwc3: Reset num_trbs after skipping
2bbb6b547fbe tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb
89c49e7b6b0a RDMA: Directly cast the sockaddr union to sockaddr
a319c8ff4f09 futex: Update comments and docs about return values of arch futex code
4423a82cbde3 bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd
436869e0cd6d arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
ba6340a7297f bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err
79c6a8c09978 bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
613bc37f74c9 bpf: fix unconnected udp hooks
a7177b94aff4 bpf: fix nested bpf tracepoints with per-cpu data
4992d4af5881 bpf: lpm_trie: check left child of last leftmost node for NULL
5e558f9a6d7b bpf: simplify definition of BPF_FIB_LOOKUP related flags
7d2c0ec20cb2 tun: wake up waitqueues after IFF_UP is set
a08b915457d6 tipc: check msg->req data len in tipc_nl_compat_bearer_disable
fdf3e98e1fd9 tipc: change to use register_pernet_device
32b711f57ce7 team: Always enable vlan tx offload
eeb770d6ab77 sctp: change to hold sk after auth shkey is created successfully
9b7b0aab4750 net: stmmac: set IC bit when transmitting frames with HW timestamp
a373bf728188 net: stmmac: fixed new system time seconds value calculation
7d76fc211609 net: remove duplicate fetch in sock_getsockopt
05dceb60e5dd net/packet: fix memory leak in packet_set_ring()
7c92f3efbad0 ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop
0f3451723ddc bonding: Always enable vlan tx offload
a4709127e5dd af_packet: Block execution of tasks waiting for transmit to complete in AF_PACKET
64032e2d9ba8 eeprom: at24: fix unexpected timeout under high load
c22cea5a21b2 irqchip/mips-gic: Use the correct local interrupt map registers
dd9f2fb59e01 SUNRPC: Clean up initialisation of the struct rpc_rqst
b78ad2169282 cpu/speculation: Warn on unsupported mitigations= parameter
27380331755f NFS/flexfiles: Use the correct TCP timeout for flexfiles I/O
01a02a98ab1c KVM: x86/mmu: Allocate PAE root array when using SVM's 32-bit NPT
327460322c7c x86/resctrl: Prevent possible overrun during bitmap operations
1746dc529104 x86/microcode: Fix the microcode load on CPU hotplug for real
690049eddb0c x86/speculation: Allow guests to use SSBD even if host does not
ee71e97285c2 scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck()
2ba0a5009607 dm log writes: make sure super sector log updates are written in order
87cf811ab6fb mm/page_idle.c: fix oops because end_pfn is larger than max_pfn
1192fb703d09 mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge
aab629188848 mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails
bcfed145e583 clk: socfpga: stratix10: fix divider entry for the emac clocks
75f5d78d9fbe fs/binfmt_flat.c: make load_flat_shared_library() work
49e9b499a34d mm/mempolicy.c: fix an incorrect rebind node in mpol_rebind_nodemask
6a811c099186 fs/proc/array.c: allow reporting eip/esp for all coredumping threads
385cacd953b9 usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup
6edcdd0e6d8f usb: dwc3: gadget: remove wait_end_transfer
d7ff2e3ff0e0 usb: dwc3: gadget: move requests to cancelled_list
bba5f9878f67 usb: dwc3: gadget: introduce cancelled_list
65e1f3403108 usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()
56092bd50eb9 usb: dwc3: gadget: use num_trbs when skipping TRBs on ->dequeue()
2a2b1c4dc510 usb: dwc3: gadget: track number of TRBs per request
420b1237c79f usb: dwc3: gadget: combine unaligned and zero flags
62805d31969b Revert "usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup"
3726d8d0b60f qmi_wwan: Fix out-of-bounds read
cfbe930c7142 net/9p: include trans_common.h to fix missing prototype warning.
6518b4126b3f 9p/trans_fd: put worker reqs on destroy
6fad469c84fc 9p/trans_fd: abort p9_read_work if req status changed
39bf142ae0ca 9p: potential NULL dereference
6490cdf9d29d 9p: p9dirent_read: check network-provided name length
e48e7e27e4df 9p/rdma: remove useless check in cm_event_handler
fb0cbbd8dec7 9p: acl: fix uninitialized iattr access
3dc511c9ccb9 9p: Rename req to rreq in trans_fd
04ee7e7b4795 9p/rdma: do not disconnect on down_interruptible EAGAIN
3665a4d9dca1 9p: Add refcount to p9_req_t
fa3625794f1a 9p: rename p9_free_req() function
be87f21e6b25 9p: add a per-client fcall kmem_cache
1555583b63b3 9p: embed fcall in req to round down buffer allocs
3ea4cf422323 9p: Use a slab for allocating requests
f8bc5f1a3aba 9p/xen: fix check for xenbus_read error in front_probe
a8782ce02687 IB/hfi1: Close PSM sdma_progress sleep window
fec1a13bdfa9 Revert "x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP"
85a3b1ef969b arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS
6461a4543b34 perf header: Fix unchecked usage of strncpy()
0bf5d53b53c8 perf help: Remove needless use of strncpy()
6e75d9272c92 perf ui helpline: Use strlcpy() as a shorter form of strncpy() + explicit set nul
aec3002d07fd Linux 4.19.56
cd3e49394cb0 powerpc/mm/64s/hash: Reallocate context ids on fork
8c4fe20091cd x86/resctrl: Don't stop walking closids when a locksetup group is found
d451b505b676 mac80211: Do not use stack memory with scatterlist for GMAC
72dc6786d77a nl80211: fix station_info pertid memory leak
1e1007ac47d8 mac80211: handle deauthentication/disassociation from TDLS peer
ccf6a155844b {nl,mac}80211: allow 4addr AP operation on crypto controlled devices
0e879ef1cb5b mac80211: drop robust management frames from unknown TA
17d941dc3033 cfg80211: fix memory leak of wiphy device name
5293c79c6f60 SMB3: retry on STATUS_INSUFFICIENT_RESOURCES instead of failing write
db7f1076c0bd Bluetooth: Fix regression with minimum encryption key size alignment
5e9a6c68de0f Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
64e370233a07 staging: erofs: add requirements field in superblock
e6803ce36d49 drm/vmwgfx: Use the backdoor port if the HB port is not available
7499528bb078 arm64: ssbd: explicitly depend on <linux/prctl.h>
3e16b5c25466 arm64/sve: <uapi/asm/ptrace.h> should not depend on <uapi/linux/prctl.h>
2296fd59eb30 ARM: dts: am57xx-idk: Remove support for voltage switching for SD card
cc87ab841bb1 ARM: dts: dra76x: Update MMC2_HS200_MANUAL1 iodelay values
03426208d1f9 ARM: imx: cpuidle-imx6sx: Restrict the SW2ISO increase to i.MX6SX
48ee85dc9c52 powerpc/bpf: use unsigned division instruction for 64-bit operations
a96ac5cb8a56 riscv: mm: synchronize MMU after pte change
5ad9a23e6dae can: purge socket error queue on sock destruct
4ea81cc49c59 can: flexcan: fix timeout when set small bitrate
f6a2c8b3c24a can: xilinx_can: use correct bittiming_const for CAN FD core
c592b1c3a994 btrfs: start readahead also in seed devices
17f1dca21d16 nvme: Fix u32 overflow in the number of namespace list calculation
71d019a6dae9 arm64: Silence gcc warnings about arch ABI drift
d72a4c78c124 hwmon: (pmbus/core) Treat parameters as paged if on multiple pages
6029e5818805 hwmon: (core) add thermal sensors only if dev->of_node is present
153f2d97d0d7 s390/qeth: fix VLAN attribute in bridge_hostnotify udev event
cedb209bfa5a net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set
5327e985e61e scsi: smartpqi: unlock on error in pqi_submit_raid_request_synchronous()
04ceb1348973 scsi: ufs: Check that space was properly alloced in copy_query_response
e1a101a9dae9 scripts/checkstack.pl: Fix arm64 wrong or unknown architecture
1f74977c2740 nvmet: fix data_len to 0 for bdev-backed write_zeroes
8388af891e0e drm/arm/hdlcd: Allow a bit of clock tolerance
7c7c88deb14d drm/arm/hdlcd: Actually validate CRTC modes
1fcb0e389538 drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times
377958c3ff2c net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled
ee2f9878bc04 net: ethernet: mediatek: Use hw_feature to judge if HWLRO is supported
16cdab63987c sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD
7b460a9bb13d mdesc: fix a missing-check bug in get_vdev_port_node_info()
6bf97a6cb6ce net: hns: Fix loopback test failed at copper ports
4336ba249b7d net: dsa: mv88e6xxx: avoid error message on remove from VLAN 0
bf51ec92a35e selftests: vm: install test_vmalloc.sh for run_vmtests
a0e8215eb9f8 kselftest/cgroup: fix incorrect test_core skip
59243d6fb45c kselftest/cgroup: fix unexpected testing failure on test_core
9c2eebe31d75 kselftest/cgroup: fix unexpected testing failure on test_memcontrol
ae0d1c08843d xtensa: Fix section mismatch between memblock_reserve and mem_reserve
3089c0ea8a1f MIPS: uprobes: remove set but not used variable 'epc'
63542eb24ab9 IB/hfi1: Validate page aligned for a given virtual address
4d61fc383bb5 IB/{qib, hfi1, rdmavt}: Correct ibv_devinfo max_mr value
830991121773 IB/hfi1: Insure freeze_work work_struct is canceled on shutdown
3fe551cc9e4e IB/rdmavt: Fix alloc_qpn() WARN_ON()
3333e0409424 parisc: Fix compiler warnings in float emulation code
f9dd0f0928a3 parport: Fix mem leak in parport_register_dev_model
4c950c8bb31a fpga: dfl: Add lockdep classes for pdata->lock
505de32ea952 fpga: dfl: afu: Pass the correct device to dma_mapping_error()
7b2145e22247 ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node
15004afd9845 ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node
8f3793bfa3ea dmaengine: sprd: Fix block length overflow
e478abd4ebf7 dmaengine: dw-axi-dmac: fix null dereference when pointer first is null
4c21b761b40e ARC: fix build warnings
d64f99ef010d brcmfmac: sdio: Don't tune while the card is off
0ad82f2eb3f6 brcmfmac: sdio: Disable auto-tuning around commands expected to fail
31c99580687a apparmor: enforce nullbyte at end of tag string
eb2b0bf5c4a4 apparmor: fix PROFILE_MEDIATES for untrusted input
1d08fe254fd6 Input: silead - add MSSL0017 to acpi_device_id
ebd7dda84ec2 Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD
9f3559e4f6cd Input: synaptics - enable SMBus on ThinkPad E480 and E580
e61e41ffcfeb iio: temperature: mlx90632 Relax the compatibility check
303386b31bfb IB/hfi1: Silence txreq allocation warnings
7cc9c9930947 IB/hfi1: Validate fault injection opcode user input
17027034a47b usb: xhci: Don't try to recover an endpoint if port is in error state.
d606a82ccc0a xhci: detect USB 3.2 capable host controllers correctly
e6563039674d usb: chipidea: udc: workaround for endpoint conflict issue
0746b2f50142 scsi: ufs: Avoid runtime suspend possibly being blocked forever
98467b8fda41 mmc: core: Prevent processing SDIO IRQs when the card is suspended
0349dbebbb0b mmc: core: Add sdio_retune_hold_now() and sdio_retune_release()
7ed49e1bf5b3 mmc: core: API to temporarily disable retuning for SDIO CRC errors
4b6d290cc1c1 mmc: sdhci: sdhci-pci-o2micro: Correctly set bus width when tuning
4c15ded55979 s390/ap: rework assembler functions to use unions for in/out register variables
fb48fb155e1b s390/jump_label: Use "jdd" constraint on gcc9
0319ef1d40ff ovl: fix bogus -Wmaybe-unitialized warning
639e8c2f0910 ovl: don't fail with disconnected lower NFS
f1c5aa5eda08 ovl: detect overlapping layers
a00f405e133f ovl: make i_ino consistent with st_ino in more cases
d6623379d895 ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls
3cb5d7fa8f7d ovl: support the FS_IOC_FS[SG]ETXATTR ioctls
76343a1363f8 gcc-9: silence 'address-of-packed-member' warning
6a997c3a239a objtool: Support per-function rodata sections
c493ead38adb tracing: Silence GCC 9 array bounds warning
78778071092e Linux 4.19.55
dad3a9314ac9 tcp: refine memory limit test in tcp_fragment()
63bbbcd8ed53 Linux 4.19.54
e8e448b08450 Abort file_remove_privs() for non-reg. files
465ce9a50f8a coredump: fix race condition between collapse_huge_page() and core dumping
c7fb6b75def2 ocfs2: fix error path kobject memory leak
fedb1b9c9191 mlxsw: spectrum: Prevent force of 56G
114e8135ae00 scsi: libsas: delete sas port if expander discover failed
89ede9d8b5b8 scsi: scsi_dh_alua: Fix possible null-ptr-deref
cb7c6c33d3bb scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask
214c5933ffcf scsi: libcxgbi: add a check for NULL pointer in cxgbi_check_route()
7b9e10944f0d net: phy: dp83867: Set up RGMII TX delay
7698ad8c14c7 net: phylink: ensure consistent phy interface mode
8fb2c7969009 net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/A1 SoCs
467f902643f5 arm64: use the correct function type for __arm64_sys_ni_syscall
98fd62e0a157 arm64: use the correct function type in SYSCALL_DEFINE0
c5fdfaedecc2 arm64: fix syscall_fn_t type
df6384e0f42e KVM: PPC: Book3S HV: Don't take kvm->lock around kvm_for_each_vcpu
b376683f6ab1 KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list
4acce744284c xenbus: Avoid deadlock during suspend due to open transactions
66f33b2bd2d8 xen/pvcalls: Remove set but not used variable
d92ebe0c1d26 ia64: fix build errors by exporting paddr_to_nid()
60a3e3b9e5ec perf record: Fix s390 missing module symbol and warning for non-root users
be0e62666da1 perf namespace: Protect reading thread's namespace
7d523e33f4b6 perf data: Fix 'strncat may truncate' build failure with recent gcc
e9fcebe01822 configfs: Fix use-after-free when accessing sd->s_dentry
ab7a3d9accae ALSA: hda - Force polling mode on CNL for fixing codec communication
7bea5618eaf9 i2c: dev: fix potential memory leak in i2cdev_ioctl_rdwr
197501af7ff3 net: aquantia: fix LRO with FCS error
388534d45f04 net: aquantia: tx clean budget logic error
b7ca3f331d57 drm/etnaviv: lock MMU while dumping core
ee61fb4de955 ACPI/PCI: PM: Add missing wakeup.flags.valid checks
bc19b50b80ca net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE()
9a3208b66cc1 net: stmmac: update rx tail pointer register to fix rx dma hang issue.
3fbcef3350ab gpio: fix gpio-adp5588 build errors
991ea848a5c9 perf/ring-buffer: Always use {READ,WRITE}_ONCE() for rb->user_page data
c133c9db233d perf/ring_buffer: Add ordering to rb->nest increment
cca19ab29a1a perf/ring_buffer: Fix exposing a temporarily decreased data_head
a35e78220a9f x86/CPU/AMD: Don't force the CPB cap when running under a hypervisor
8e5666cdb36b mISDN: make sure device name is NUL terminated
f3885eecd253 usb: xhci: Fix a potential null pointer dereference in xhci_debugfs_create_endpoint()
930d31a6f344 powerpc/powernv: Return for invalid IMC domain
00ed897d618e clk: ti: clkctrl: Fix clkdm_clk handling
ef4ffa0f0b67 selftests: netfilter: missing error check when setting up veth interface
61c83de6e622 ipvs: Fix use-after-free in ip_vs_in
883ce78cded5 netfilter: nf_queue: fix reinject verdict handling
5a9c29cc2140 perf/x86/intel/ds: Fix EVENT vs. UEVENT PEBS constraints
dd9b6de79b67 Staging: vc04_services: Fix a couple error codes
97605ba68790 net: mvpp2: prs: Use the correct helpers when removing all VID filters
b6a1eabf72a0 net: mvpp2: prs: Fix parser range for VID filtering
4642a659ab96 net/mlx5: Avoid reloading already removed devices
1b201b63b647 vsock/virtio: set SOCK_DONE on peer shutdown
b86a5ccda5c3 tipc: purge deferredq list for each grp member in tipc_group_delete
e1b0c311b790 sunhv: Fix device naming inconsistency between sunhv_console and sunhv_reg
d7fcb54ed2a9 sctp: Free cookie before we memdup a new one
4bb4ba362cc1 nfc: Ensure presence of required attributes in the deactivate_target handler
7530c3f3d5b9 net: openvswitch: do not free vport if register_netdevice() is failed.
fc762c999768 net: dsa: rtl8366: Fix up VLAN filtering
103835df6821 neigh: fix use-after-free read in pneigh_get_next
2980196db6c1 lapb: fixed leak of control-blocks.
7eadfacd2be2 ipv6: flowlabel: fl6_sock_lookup() must use atomic_inc_not_zero
a5ae5920426e hv_netvsc: Set probe mode to sync
674dc77bd3ec be2net: Fix number of Rx queues used for flow hashing
10faaa359b41 ax25: fix inconsistent lock state in ax25_destroy_timer
9f31eb60d7a2 Linux 4.19.53
90fc261d509e rtc: pcf8523: don't return invalid date when battery is low
04757d0e3789 drm: add fallback override/firmware EDID modes workaround
29a6026624cd drm/edid: abstract override/firmware EDID retrieval
e93ce57f60ca x86/resctrl: Prevent NULL pointer dereference when local MBM is disabled
0257fc9aa53f x86/mm/KASLR: Compute the size of the vmemmap section properly
5e3d10d9375d x86/kasan: Fix boot with 5-level paging and KASAN
ecec31ce4f33 x86/microcode, cpuhotplug: Add a microcode loader CPU hotplug callback
fa982c692b2f RAS/CEC: Fix binary search function
e40db40e45cc RAS/CEC: Convert the timer callback to a workqueue
ca4c34037bb9 timekeeping: Repair ktime_get_coarse*() granularity
0fcd1432f8b0 USB: serial: option: add Telit 0x1260 and 0x1261 compositions
5080fb4b3828 USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode
d5f20ee10ac0 USB: serial: pl2303: add Allied Telesis VT-Kit3
c00cd066a024 USB: usb-storage: Add new ID to ums-realtek
3c7439e2eab9 USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.
f05b0bf073ef usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)
63feb7e69fdc usb: dwc2: Fix DMA cache alignment issues
15bc8e8d4dad drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()
328648ac6aa5 drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an invalid read
2399b2ac2be7 tools/kvm_stat: fix fields filter for child events
f69f5679ff8f KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION
9d8f338c92cc KVM: x86/pmu: do not mask the value that is written to fixed PMUs
04d2a113a283 KVM: x86/pmu: mask the result of rdpmc according to the width of the counters
60b300975e5f KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation
9366f5dc8409 usbnet: ipheth: fix racing condition
86895090621c tracing: Prevent hist_field_var_ref() from accessing NULL tracing_map_elts
b64df8133c2e selftests/timers: Add missing fflush(stdout) calls
3e1d7417b4d6 selftests: fib_rule_tests: fix local IPv4 address typo
90a564549b4a libnvdimm: Fix compilation warnings with W=1
ccc9ba8d2508 scsi: bnx2fc: fix incorrect cast to u64 on shift operation
d7a32c8a1ce1 platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table
1a80d9ff8253 platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table
c0d3e166e16a nvme: fix memory leak for power latency tolerance
ddda7e850bf1 nvme: release namespace SRCU protection before performing controller ioctls
3188fcebbcbd nvme: merge nvme_ns_ioctl into nvme_ioctl
54261634bdf8 nvme: remove the ifdef around nvme_nvm_ioctl
a6515af9b839 nvme: fix srcu locking on error return in nvme_get_ns_from_disk
c4e97af6bff4 arm64/mm: Inhibit huge-vmap with ptdump
0e50da1e7ced scsi: lpfc: add check for loss of ndlp when sending RRQ
334d1a2373af scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show
32d3f7d9dec1 scsi: qedi: remove set but not used variables 'cdev' and 'udev'
f3a7a1137ffc scsi: qedi: remove memset/memcpy to nfunc and use func instead
ae3787d433f7 f2fs: fix to avoid accessing xattr across the boundary
32f26da4b769 Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var
fcc1ce5b4f42 s390/kasan: fix strncpy_from_user kasan checks
eddfe9672ed2 Revert "ALSA: seq: Protect in-kernel ioctl calls with mutex"
731ebeeda51f ALSA: seq: Fix race of get-subscription call vs port-delete ioctls
b52fd8af8db3 ALSA: seq: Protect in-kernel ioctl calls with mutex
82055ad3d3ed x86/uaccess, kcov: Disable stack protector
b08ec06c94fc drm/i915/sdvo: Implement proper HDMI audio support for SDVO
b7398f45e3d6 ASoC: fsl_asrc: Fix the issue about unsupported rate
d7d15ac38ba6 ASoC: cs42xx8: Add regcache mask dirty
c3b85bda41f0 cgroup: Use css_tryget() instead of css_tryget_online() in task_get_css()
e599bfe54305 bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached
973fc2b3434b bcache: fix stack corruption by PRECEDING_KEY()
da3b915a57c3 i2c: acorn: fix i2c warning
d3e58022c017 iommu/arm-smmu: Avoid constant zero in TLBI writes
31e216cf9dc2 ptrace: restore smp_rmb() in __ptrace_may_access()
662b831dde61 signal/ptrace: Don't leak unitialized kernel memory with PTRACE_PEEK_SIGINFO
54a20289cbfb mm/vmscan.c: fix trying to reclaim unevictable LRU page
6b9aa7ac48d7 fs/ocfs2: fix race in ocfs2_dentry_attach_lock()
553a1f0d3c69 mm/list_lru.c: fix memory leak in __memcg_init_list_lru_node
b7f8bbbbb973 libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
88fe03076062 ALSA: firewire-motu: fix destruction of data for isochronous resources
786b1b40dfb9 ALSA: hda/realtek - Update headset mode for ALC256
27effeff4533 ALSA: oxfw: allow PCM capture for Stanton SCS.1m
b59c93226489 Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops"
9fbd67c56529 HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary
dd1d71ad57a4 HID: wacom: Correct button numbering 2nd-gen Intuos Pro over Bluetooth
529013533d73 HID: wacom: Send BTN_TOUCH in response to INTUOSP2_BT eraser contact
3e9c0eb15932 HID: wacom: Don't report anything prior to the tool entering range
52a7d604615a HID: wacom: Don't set tool type until we're in range
fa212dd5a604 HID: multitouch: handle faulty Elo touch device
9ae306d8dbc8 nouveau: Fix build with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT disabled
d54e1b848e99 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
6500aa436df4 Linux 4.19.52
59222807fcc9 tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
7f9f8a37e563 tcp: add tcp_min_snd_mss sysctl
ec83921899a5 tcp: tcp_fragment() should apply sane memory limits
c09be31461ed tcp: limit payload size of sacked skbs
7aa823a959e1 Linux 4.19.51
b323914cd033 ALSA: seq: Cover unsubscribe_port() in list_mutex
3af96f3497b7 drm/vc4: fix fb references in async update
afec706807cd ovl: support stacked SEEK_HOLE/SEEK_DATA
22dac6cc9549 ovl: check the capability before cred overridden
b616b9dbc5f6 Revert "drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)"
8e5483aeae0d Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections"
526972e95ef9 percpu: do not search past bitmap when allocating an area
d4d5dce6d329 gpio: vf610: Do not share irq_chip
28229df6ad13 soc: renesas: Identify R-Car M3-W ES1.3
db54e08c5832 usb: typec: fusb302: Check vconn is off when we start toggling
ce183fad3aa8 ARM: exynos: Fix undefined instruction during Exynos5422 resume
384642ff6465 pwm: Fix deadlock warning when removing PWM device
7905b2331338 ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8 regulators on Arndale Octa
78002e383be7 pwm: tiehrpwm: Update shadow register for disabling PWMs
9fdcb04e80e1 dmaengine: idma64: Use actual device for DMA transfers
da00c89fce7a ice: Add missing case in print_link_msg for printing flow control
456e3563725a gpio: gpio-omap: add check for off wake capable gpios
47d281bbbff9 PCI: xilinx: Check for __get_free_pages() failure
b5a185ee30d7 block, bfq: increase idling for weight-raised queues
e06d7a92796c video: imsttfb: fix potential NULL pointer dereferences
1f2611af4581 video: hgafb: fix potential NULL pointer dereference
5957f6f5aaa6 scsi: qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags
c2c7b6fee389 PCI: rcar: Fix 64bit MSI message address handling
dd54e70c47de PCI: rcar: Fix a potential NULL pointer dereference
272f8c3ddd31 net: hns3: return 0 and print warning when hit duplicate MAC
5a286ced4911 power: supply: max14656: fix potential use-before-alloc
901daed2f173 platform/x86: intel_pmc_ipc: adding error handling
613752b3a8fb ARM: OMAP2+: pm33xx-core: Do not Turn OFF CEFUSE as PPA may be using it
668440f6ee3f drm/amd/display: Use plane->color_space for dpp if specified
671fc9007c48 PCI: rpadlpar: Fix leaked device_node references in add/remove paths
b531acbd86d2 ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock to SDMA
584cabc69aee ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA
02936545fbea ARM: dts: imx6ul: Specify IMX6UL_CLK_IPG as "ipg" clock to SDMA
36a7fda0595b ARM: dts: imx7d: Specify IMX7D_CLK_IPG as "ipg" clock to SDMA
c84911bb39d1 ARM: dts: imx6sll: Specify IMX6SLL_CLK_IPG as "ipg" clock to SDMA
a2e661f99c4d ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ahb" clock to SDMA
461f4183926c ARM: dts: imx53: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
998860d0384d ARM: dts: imx50: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
70465bbbaeae ARM: dts: imx51: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
57f89084a7e1 soc: rockchip: Set the proper PWM for rk3288
b16594860a30 clk: rockchip: Turn on "aclk_dmac1" for suspend on rk3288
8e9dd864d6a7 soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher
f7c0e67054d8 PCI: keystone: Prevent ARM32 specific code to be compiled for ARM64
a357310a5774 platform/chrome: cros_ec_proto: check for NULL transfer function
b78a9b2818d5 i40e: Queues are reserved despite "Invalid argument" error
aeb743dbe936 x86/PCI: Fix PCI IRQ routing table memory leak
47e6a354e248 net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending
31aa2a7a8566 switchtec: Fix unintended mask of MRPC event
4b19a45eed4d iommu/arm-smmu-v3: Don't disable SMMU in kdump kernel
f7883f9b5a67 vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING"
806e83958482 nfsd: avoid uninitialized variable warning
b4330e4a7c12 nfsd: allow fh_want_write to be called twice
ae35c325d8fd fuse: retrieve: cap requested size to negotiated max_write
1c2e974628d1 nvmem: sunxi_sid: Support SID on A83T and H5
0412a8857198 nvmem: core: fix read buffer in place
962ce4023178 ALSA: hda - Register irq handler after the chip initialization
028b3d8d549e netfilter: nf_flow_table: fix netdev refcnt leak
650a4b7c5d66 netfilter: nf_flow_table: check ttl value in flow offload data path
52d7b067fadf nvme-pci: shutdown on timeout during deletion
6ce2ad24ae9c nvme-pci: unquiesce admin queue on shutdown
e9db931283fd PCI: designware-ep: Use aligned ATU window for raising MSI interrupts
a7f27994b207 misc: pci_endpoint_test: Fix test_reg_bar to be updated in pci_endpoint_test
ed6efdb74438 iommu/vt-d: Set intel_iommu_gfx_mapped correctly
525b5265fd75 blk-mq: move cancel of requeue_work into blk_mq_release
d6c80b609d81 watchdog: fix compile time error of pretimeout governors
0f50c30c8470 watchdog: imx2_wdt: Fix set_timeout for big timeout values
dc58e4027430 netfilter: nf_tables: fix base chain stat rcu_dereference usage
2d433cc9bd31 mips: Make sure dt memory regions are valid
2aed9dfe1e5d netfilter: nf_conntrack_h323: restore boundary check correctness
d0941980fd81 netfilter: nf_flow_table: fix missing error check for rhashtable_insert_fast
217ec4a6e4ef mmc: mmci: Prevent polling for busy detection in IRQ context
06382ad6cf31 ovl: do not generate duplicate fsnotify events for "fake" path
5fbe39bfd1e0 PCI: dwc: Free MSI IRQ page in dw_pcie_free_msi()
a6b79e2c7c02 PCI: dwc: Free MSI in dw_pcie_host_init() error path
a4aa02826701 uml: fix a boot splat wrt use of cpu_all_mask
4dc146d47fea configfs: fix possible use-after-free in configfs_register_group
5329dcafead2 percpu: remove spurious lock dependency between percpu and sched
8d7ebdd109b4 f2fs: fix to do checksum even if inode page is uptodate
640248545436 f2fs: fix to do sanity check on valid block count of segment
101e48feb661 f2fs: fix to use inline space only if inline_xattr is enable
45624f0e8142 f2fs: fix to avoid panic in dec_valid_block_count()
47a92acf9ebf f2fs: fix to clear dirty inode in error path of f2fs_iget()
ca9fcbc5a5f5 f2fs: fix to do sanity check on free nid
f3aa313d0d4f f2fs: fix to avoid panic in f2fs_remove_inode_page()
0325c5cce544 f2fs: fix to avoid panic in f2fs_inplace_write_data()
8490bf2d6176 f2fs: fix to avoid panic in do_recover_data()
0b50d08c5d85 ntp: Allow TAI-UTC offset to be set to zero
102f6e1249fb mailbox: stm32-ipcc: check invalid irq
c5b2c8249ff3 pwm: meson: Use the spin-lock only to protect register modifications
689fe88d51aa EDAC/mpc85xx: Prevent building as a module
f9ee13ce21db bpf: fix undefined behavior in narrow load handling
991b51048c49 drm/nouveau/kms/gv100-: fix spurious window immediate interlocks
20e1a16702d9 objtool: Don't use ignore flag for fake jumps
124c23dca3ac drm/bridge: adv7511: Fix low refresh rate selection
2a3f2b43a9e3 drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders change
f9706dd945e9 perf/x86/intel: Allow PEBS multi-entry in watermark mode
5540d0146151 mfd: twl6040: Fix device init errors for ACCCTL register
3b8892bea9eb drm/nouveau/disp/dp: respect sink limits when selecting failsafe link configuration
e9a8c9805f58 mfd: intel-lpss: Set the device in reset state when init
12c57327a128 mfd: tps65912-spi: Add missing of table registration
1196b79a20f7 drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER
fd77a5117721 thermal: rcar_gen3_thermal: disable interrupt in .remove
c50c4fb0cb62 kernel/sys.c: prctl: fix false positive in validate_prctl_map()
515d18ced8e1 mm/slab.c: fix an infinite loop in leaks_show()
13e1ea0881da mm/cma_debug.c: fix the break condition in cma_maxchunk_get()
38c5fce7fc48 mm: page_mkclean vs MADV_DONTNEED race
77a01e33570c mm/cma.c: fix the bitmap status to show failed allocation reason
25511676362d initramfs: free initrd memory if opening /initrd.image fails
e5f8857ea972 mm/cma.c: fix crash on CMA allocation if bitmap allocation fails
5094a85d6d93 mem-hotplug: fix node spanned pages when we have a node with only ZONE_MOVABLE
ffaafd27b067 hugetlbfs: on restore reserve error path retain subpool reservation
85e1a6c4b3e5 mm/hmm: select mmu notifier when selecting HMM
e0c3fc1f8fe3 ARM: prevent tracing IPI_CPU_BACKTRACE
4d3811a60e10 drm/pl111: Initialize clock spinlock early
20de754a7d88 ipc: prevent lockup on alloc_msg and free_msg
91ae202e2c88 sysctl: return -EINVAL if val violates minmax
5b6619b4d206 fs/fat/file.c: issue flush after the writeback of FAT
2a89e4c5ee2e rapidio: fix a NULL pointer dereference when create_workqueue() fails
768292d05361 Linux 4.19.50
51dc284e2a87 ethtool: check the return value of get_regs_len
645fa685bb20 ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled
ec8a9eb2a6c1 TTY: serial_core, add ->install
6bdc692f5c9e drm/i915/gvt: Initialize intel_gvt_gtt_entry in stack
fbb7e114e6e6 drm: don't block fb changes for async plane updates
6600ec2600d6 drm/i915: Maintain consistent documentation subsection ordering
360e00e290a3 drm/i915/fbc: disable framebuffer compression on GeminiLake
554f4253700e drm/i915: Fix I915_EXEC_RING_MASK
f3dcc88d531f drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in
84c82ab8f133 drm/radeon: prefer lower reference dividers
748a97ec6c15 drm/amdgpu/psp: move psp version specific function pointers to early_init
98a8cb0282ab drm: add non-desktop quirks to Sensics and OSVR headsets.
610382337557 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
490290b0415f drm: add non-desktop quirk for Valve HMDs
ac222e8a50af drm/msm: fix fb references in async update
6470aa05ae15 drm/gma500/cdv: Check vbt config bits when detecting lvds panels
7fbcb7d1031d test_firmware: Use correct snprintf() limit
67bdeb0c6f5c genwqe: Prevent an integer overflow in the ioctl
221c44d2d7fa Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment"
2d9d3ab541a6 MIPS: pistachio: Build uImage.gz by default
eee609635076 MIPS: Bounds check virt_addr_valid
b9b75a460076 xen-blkfront: switch kcalloc to kvcalloc for large array allocation
7aad9269a6e8 s390/mm: fix address space detection in exception handling
7737eff01711 i2c: xiic: Add max_read_len quirk
b598ddc7b9fc x86/insn-eval: Fix use-after-free access to LDT entry
4d166206cf41 x86/power: Fix 'nosmt' vs hibernation triple fault during resume
f4d0227ff170 pstore/ram: Run without kernel crash dump region
aa73a3b205a4 pstore: Set tfm to NULL on free_buf_for_compression
d4128a1b580c pstore: Convert buf_lock to semaphore
c63ce7166daf pstore: Remove needless lock during console writes
a3b8b4ad6db7 fuse: fallocate: fix return with locked inode
56e3f73e838a NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled
ea0327b47754 NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter
384c1d931b5e parisc: Use implicit space register selection for loading the coherence index of I/O pdirs
6726307d2008 rcu: locking and unlocking need to always be at least barriers
39e597d283b0 mtd: spinand: macronix: Fix ECC Status Read
2488b9f9afde ipv6: fix EFAULT on sendto with icmpv6 and hdrincl
0b16d956ee5b ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
d769853dbdaa Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"
396244b6ecf0 pktgen: do not sleep with the thread lock held.
da096fe1a6a4 packet: unconditionally free po->rollover
be0343af1291 net/tls: replace the sleeping lock around RX resync with a bit lock
9740f4ff1a66 net: sfp: read eeprom in maximum 16 byte increments
7700d5afff30 net: rds: fix memory leak in rds_ib_flush_mr_pool
c6a020e0117f net: mvpp2: Use strscpy to handle stat strings
d305d61fcf96 net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query
831d6d077874 net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set
893e2a5f5cf6 neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit
9fd19a3b4f61 ipv6: fix the check before getting the cookie in rt6_get_cookie
daa11cc841d6 ipv4: not do cache for local delivery if bc_forwarding is enabled
05b933f25a83 Fix memory leak in sctp_process_init
d6782b8c5c18 ethtool: fix potential userspace buffer overflow
bb7b450e61a1 Linux 4.19.49
9861e2cd4616 media: uvcvideo: Fix uvc_alloc_entity() allocation alignment
b52ca352489b of: overlay: set node fields from properties when add new overlay node
15151d0013c9 of: overlay: validate overlay properties #address-cells and #size-cells
26dace362e7f scsi: lpfc: Fix backport of faf5a744f4f8 ("scsi: lpfc: avoid uninitialized variable warning")
ca309fef7a69 x86/kprobes: Set instruction page as executable
b49ca4bf1b9c x86/ftrace: Set trampoline pages as executable
6fa953c94882 x86/ftrace: Do not call function graph from dynamic trampolines
9d57cfd4e9d8 binder: fix race between munmap() and direct reclaim
137c838f177b Revert "binder: fix handling of misaligned binder object"
385dab299c8a Revert "x86/build: Move _etext to actual end of .text"
9468870f7cbd include/linux/module.h: copy __init/__exit attrs to init/cleanup_module
2a0f719db71c Compiler Attributes: add support for __copy (gcc >= 9)
390a0fd31b02 drm/lease: Make sure implicit planes are leased
699f0e9d24c8 drm/rockchip: shutdown drm subsystem on shutdown
1ca811507e41 drm/sun4i: Fix sun8i HDMI PHY configuration for > 148.5 MHz
1f1372206e0b drm/sun4i: Fix sun8i HDMI PHY clock initialization
3a20515c3c44 drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set
1715a46322fa drm/tegra: gem: Fix CPU-cache maintenance for BO's allocated using get_pages()
132137d1bfa1 gcc-plugins: Fix build failures under Darwin host
873041930dab Revert "lockd: Show pid of lockd for remote locks"
297a251062c0 CIFS: cifs_read_allocate_pages: don't iterate through whole page array on ENOMEM
32d57c0c063c cifs: fix memory leak of pneg_inbuf on -EOPNOTSUPP ioctl case
f6a39f877feb staging: wlan-ng: fix adapter initialization failure
27a4b6c8c1cf staging: vc04_services: prevent integer overflow in create_pagelist()
3078e80b03c8 serial: sh-sci: disable DMA for uart_console
ff818b449a5b vt/fbcon: deinitialize resources in visual_init() after failed memory allocation
6e322a9e42cd evm: check hash algorithm passed to init_desc()
f85b87a9a2a8 ima: show rules with IMA_INMASK correctly
21158982f6b7 doc: Cope with Sphinx logging deprecations
c0742228bba6 doc: Cope with the deprecation of AutoReporter
301b18edbf56 docs: Fix conf.py for Sphinx 2.0
871953434bd9 arm64: Fix the arm64_personality() syscall wrapper redirection
6f8d26270ce3 kernel/signal.c: trace_signal_deliver when signal_group_exit
8b057ad846c5 memcg: make it work on sparse non-0-node systems
4e29e2ecf186 tty: max310x: Fix external crystal register setup
a071517b85cc tty: serial: msm_serial: Fix XON/XOFF
bb03290431bc i2c: synquacer: fix synquacer_i2c_doxfer() return value
d2d8f6401254 i2c: mlxcpld: Fix wrong initialization order in probe
88ad86b80782 drm/nouveau/i2c: Disable i2c bus access after ->fini()
6a2fbec70766 KVM: s390: Do not report unusabled IDs via KVM_CAP_MAX_VCPU_ID
3834630ef4d3 ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops
9cfd6c36759b ALSA: hda/realtek - Set default power save node to 0
eb2eeec920fb ALSA: line6: Assure canceling delayed work at disconnection
ca221cf9ab6f powerpc/perf: Fix MMCRA corruption by bhrb_filter
55a94d81f536 KVM: PPC: Book3S HV: XIVE: Do not clear IRQ data of passthrough interrupts
badbe1abbd59 s390/crypto: fix possible sleep during spinlock aquired
83c874cf6861 s390/crypto: fix gcm-aes-s390 selftest failures
5dede5c9e605 iio: adc: ti-ads8688: fix timestamp is not updated in buffer
06c5ec6fd0b1 iio: dac: ds4422/ds4424 fix chip verification
8a652fd142c3 Btrfs: incremental send, fix file corruption when no-holes feature is enabled
a81071110d25 Btrfs: fix fsync not persisting changed attributes of a directory
37fe038328a2 Btrfs: fix race updating log root item during fsync
7301bbeae98f Btrfs: fix wrong ctime and mtime of a directory after log replay
da32e0303d5f tracing: Avoid memory leak in predicate_parse()
9756c7e0cdc7 scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs)
e8bd0dffe816 scsi: zfcp: fix missing zfcp_port reference put on -EBUSY from port_remove
c18a0ecc411a brcmfmac: fix NULL pointer derefence during USB disconnect
1f64751af190 media: smsusb: better handle optional alignment
e6df98cafc9c media: usb: siano: Fix false-positive "uninitialized variable" warning
35b104456652 media: usb: siano: Fix general protection fault in smsusb
b4c1b4a61f78 USB: rio500: fix memory leak in close after disconnect
d2d93077bac3 USB: rio500: refuse more than one device at a time
d8c1703932bc USB: Add LPM quirk for Surface Dock GigE adapter
d27ea5e9eb4a USB: sisusbvga: fix oops in error path of sisusb_probe
a43bb9e83155 USB: Fix slab-out-of-bounds write in usb_get_bos_descriptor
2fc485b0008e usbip: usbip_host: fix stub_dev lock context imbalance regression
e3724d69b732 usbip: usbip_host: fix BUG: sleeping function called from invalid context
9690202da222 usb: xhci: avoid null pointer deref when bos field is NULL
8e30ba04a20a xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()
32adfa3d92e7 xhci: Use %zu for printing size_t type
eebcff780603 xhci: update bounce buffer with correct sg num
759766bf2aec include/linux/bitops.h: sanitize rotate primitives
89156c1005d2 sparc64: Fix regression in non-hypervisor TLB flush xcall
e109a984cf38 Linux 4.19.48
ca75a9fc5ba4 tipc: fix modprobe tipc failed after switch order of device registration
ab69a2304210 Revert "tipc: fix modprobe tipc failed after switch order of device registration"
99dcf4a4dd2e xen/pciback: Don't disable PCI_COMMAND on PCI device reset.
0276ebf16675 jump_label: move 'asm goto' support test to Kconfig
753328727cab compiler.h: give up __compiletime_assert_fallback()
fd45cd4530eb include/linux/compiler*.h: define asm_volatile_goto
2bb9c7e42836 crypto: vmx - ghash: do nosimd fallback manually
fb6cf4f3704b net/tls: don't ignore netdev notifications if no TLS features
fb69403ec2ff net/tls: fix state removal with feature flags off
27d8ad1d8ea9 bnxt_en: Fix aggregation buffer leak under OOM condition.
a1a926fc68c7 net: stmmac: dma channel control register need to be init first
1db0bcc27c78 net/mlx5e: Disable rxhash when CQE compress is enabled
e0d95806b05d net/mlx5: Allocate root ns memory using kzalloc to match kfree
4421d31753ec tipc: Avoid copying bytes beyond the supplied data
06442f45e5cf net/mlx5: Avoid double free in fs init error unwinding path
fb836d014e37 usbnet: fix kernel crash after disconnect
191989817df9 net: stmmac: fix reset gpio free missing
6ab968473140 net: sched: don't use tc_action->order during action dump
33f737a4307d net: phy: marvell10g: report if the PHY fails to boot firmware
c2d4b2feb057 net: mvpp2: fix bad MVPP2_TXQ_SCHED_TOKEN_CNTR_REG queue value
de9d6a730cc0 net: mvneta: Fix err code path of probe
39fd0dc4a556 net-gro: fix use-after-free read in napi_gro_frags()
4294c3475035 net: fec: fix the clk mismatch in failed_reset path
566dc17b993d net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT
2d04f32c8861 llc: fix skb leak in llc_build_and_send_ui_pkt()
442176668ecf ipv6: Fix redirect with VRF
ed753b394321 ipv6: Consider sk_bound_dev_if when binding a raw socket to an address
46702dd5d504 ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST
e9f94e480f3e ipv4/igmp: fix another memory leak in igmpv3_del_delrec()
07480da0c8a1 inet: switch IP ID generator to siphash
9c9144e78996 cxgb4: offload VLAN flows regardless of VLAN ethtype
3cde0a250845 bonding/802.3ad: fix slave link initialization transition states
0df021b2e841 Linux 4.19.47
26433652f0e4 NFS: Fix a double unlock from nfs_match,get_client
1a686177acde drm/sun4i: dsi: Enforce boundaries on the start delay
6956c0e3cf33 vfio-ccw: Prevent quiesce function going into an infinite loop
476e87eb7f78 drm/sun4i: dsi: Change the start delay calculation
00734a9e7329 drm: Wake up next in drm_read() chain if we are forced to putback the event
d6dea92a4862 drm/drv: Hold ref on parent device during drm_device lifetime
473bc1af7a22 drm/v3d: Handle errors from IRQ setup.
b9c8f86f50ac ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM
cc211863ac79 spi: Fix zero length xfer bug
8f7f333af9f6 spi: imx: stop buffer overflow in RX FIFO flush
3ae1817a29e7 spi: rspi: Fix sequencer reset during initialization
676aec9b8f11 drm/omap: dsi: Fix PM for display blank with paired dss_pll calls
bdc095631d50 spi : spi-topcliff-pch: Fix to handle empty DMA buffers
98eb1b80fea7 scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
755dc83020a5 media: saa7146: avoid high stack usage with clang
584e06c0ed20 scsi: lpfc: Fix fc4type information for FDMI
aecb245fdd90 scsi: lpfc: Fix FDMI manufacturer attribute value
4192c77f50dc media: vimc: zero the media_device on probe
fd1ade15f299 media: go7007: avoid clang frame overflow warning with KASAN
6d16d2e130e4 media: gspca: do not resubmit URBs when streaming has stopped
acf41fb8df45 media: vimc: stream: fix thread state before sleep
aeea87865aa7 scsi: ufs: fix a missing check of devm_reset_control_get
62e79f4c6bc0 drm/amd/display: Set stream->mode_changed when connectors change
fc5293ab6c48 drm/amd/display: Fix Divide by 0 in memory calculations
91435fce9b24 media: staging: davinci_vpfe: disallow building with COMPILE_TEST
f51db48c1220 media: m88ds3103: serialize reset messages in m88ds3103_set_frontend
e93677055a5a media: dvbsky: Avoid leaking dvb frontend
ab934f0ac158 media: si2165: fix a missing check of return value
561bd5615604 igb: Exclude device from suspend direct complete optimization
b6bc20249423 tinydrm/mipi-dbi: Use dma-safe buffers for all SPI transfers
5ec9ba494db2 e1000e: Disable runtime PM on CNP+
495e34e62c3b thunderbolt: property: Fix a NULL pointer dereference
70611b1b81c4 drm/amd/display: fix releasing planes when exiting odm
988dab7f5778 thunderbolt: Fix to check for kmemdup failure
877a202f9b27 thunderbolt: Fix to check return value of ida_simple_get
b9291078edce hwrng: omap - Set default quality
6b2d1934d1f9 dmaengine: tegra210-adma: use devm_clk_*() helpers
25204fe6a3f8 batman-adv: allow updating DAT entry timeouts on incoming ARP Replies
a2ace9b24387 selinux: avoid uninitialized variable warning
c7595096daf9 scsi: lpfc: avoid uninitialized variable warning
ac9149bc1402 scsi: qla4xxx: avoid freeing unallocated dma memory
239156e0c04a usb: core: Add PM runtime calls to usb_hcd_platform_shutdown
506b28fb9982 rcuperf: Fix cleanup path for invalid perf_type strings
75a96196d4c4 x86/mce: Handle varying MCA bank counts
aa7919e37fee rcutorture: Fix cleanup path for invalid torture_type strings
3d036cbaab92 x86/mce: Fix machine_check_poll() tests for error types
3c2b1ae4410c overflow: Fix -Wtype-limits compilation warnings
19ae270d1ce0 tty: ipwireless: fix missing checks for ioremap
3392cc5f3ce3 virtio_console: initialize vtermno value for ports
e819d4a13688 scsi: qedf: Add missing return in qedf_post_io_req() in the fcport offload check
dc0f37b780e9 timekeeping: Force upper bound for setting CLOCK_REALTIME
ee40c8a3efc2 thunderbolt: Fix to check the return value of kmemdup
c8eecd658220 thunderbolt: property: Fix a missing check of kzalloc
1de8f9653585 efifb: Omit memory map check on legacy boot
356f05fdd490 media: gspca: Kill URBs on USB device disconnect
2a9331ced525 media: wl128x: prevent two potential buffer overflows
6b5693f20dd8 media: video-mux: fix null pointer dereferences
bc75207a54dd kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.
ba906246e38b spi: tegra114: reset controller on probe
2cd236c27157 HID: logitech-hidpp: change low battery level threshold from 31 to 30 percent
fb2c65b4a279 cxgb3/l2t: Fix undefined behaviour
71efe4c70afc ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
b6b7a78cf997 ASoC: eukrea-tlv320: fix a leaked reference by adding missing of_node_put
69f67200cfd6 HID: core: move Usage Page concatenation to Main item
256f63c6806d sh: sh7786: Add explicit I/O cast to sh7786_mm_sel()
8ea279184619 RDMA/hns: Fix bad endianess of port_pd variable
65ec64f28a88 chardev: add additional check for minor range overlap
fc242af86d07 x86/uaccess: Fix up the fixup
5007453c7144 x86/ia32: Fix ia32_restore_sigcontext() AC leak
4614b0bb8f65 x86/uaccess, signal: Fix AC=1 bloat
1a3188d737ce x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP
da30c277c4fd wil6210: fix return code of wmi_mgmt_tx and wmi_mgmt_tx_ext
e667aef54f8a arm64: cpu_ops: fix a leaked reference by adding missing of_node_put
e3980dbef43a drm/panel: otm8009a: Add delay at the end of initialization
cb5946e5c86a scsi: ufs: Avoid configuring regulator with undefined voltage range
31318d4ae3ae scsi: ufs: Fix regulator load and icc-level configuration
c9e44a1a734a rtlwifi: fix potential NULL pointer dereference
bd2ab045df4a rtc: xgene: fix possible race condition
e29aba14e8db brcmfmac: fix Oops when bringing up interface during USB disconnect
8a412ed97184 brcmfmac: fix race during disconnect when USB completion is in progress
ce55a5941ed4 brcmfmac: fix WARNING during USB disconnect in case of unempty psq
4b2f0ebc306b brcmfmac: convert dev_init_lock mutex to completion
59ec3ad30ab8 b43: shut up clang -Wuninitialized variable warning
7c9d97f3b11d brcmfmac: fix missing checks for kmemdup
a27ce4840f89 mwifiex: Fix mem leak in mwifiex_tm_cmd
7be8d4251bf7 rtlwifi: fix a potential NULL pointer dereference
f8f54929bd23 selftests/bpf: ksym_search won't check symbols exists
ef8e5a78406d iio: adc: ti-ads7950: Fix improper use of mlock
36a59a036896 iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data
dd106d198dee iio: hmc5843: fix potential NULL pointer dereferences
d7c773412f4b iio: ad_sigma_delta: Properly handle SPI bus locking vs CS assertion
ce59174d4e69 drm/pl111: fix possible object reference leak
e758471be038 x86/build: Keep local relocations with ld.lld
2b18febc8cdc block: sed-opal: fix IOC_OPAL_ENABLE_DISABLE_MBR
9d8b1d5db780 cpufreq: kirkwood: fix possible object reference leak
f9ead9f4d145 cpufreq: pmac32: fix possible object reference leak
513a7f8e8929 cpufreq/pasemi: fix possible object reference leak
9612f4040f05 cpufreq: ppc_cbe: fix possible object reference leak
f8a91441b2a1 qmi_wwan: Add quirk for Quectel dynamic config
1b6141cd052b selftests: cgroup: fix cleanup path in test_memcg_subtree_control()
9c594cae285c s390: cio: fix cio_irb declaration
c3c614380548 s390/mm: silence compiler warning when compiling without CONFIG_PGSTE
a07de9b98fbf x86/microcode: Fix the ancient deprecated microcode loading method
a3713f2cebdc s390: zcrypt: initialize variables before_use
e91146984939 clk: rockchip: Make rkpwm a critical clock on rk3288
c9aa87e5f345 extcon: arizona: Disable mic detect if running when driver is removed
822342658459 clk: rockchip: Fix video codec clocks on rk3288
cbaab786ee67 PM / core: Propagate dev->power.wakeup_path when no callbacks
d8a36f841803 drm/amdgpu: fix old fence check in amdgpu_fence_emit
e107bc69cc59 mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support
019ca0bf8d91 mmc: sdhci-of-esdhc: add erratum A-009204 support
80118cba1f78 mmc: sdhci-of-esdhc: add erratum eSDHC5 support
fa291e89997a mmc_spi: add a status check for spi_sync_locked
059c2f5326a0 mmc: core: make pwrseq_emmc (partially) support sleepy GPIO controllers
aa06e61237ab scsi: libsas: Do discovery on empty PHY to update PHY info
4e98f3b11a7a hwmon: (f71805f) Use request_muxed_region for Super-IO accesses
8cfe000d0a69 hwmon: (pc87427) Use request_muxed_region for Super-IO accesses
48b31e8a025f hwmon: (smsc47b397) Use request_muxed_region for Super-IO accesses
e7dbe597ea55 hwmon: (smsc47m1) Use request_muxed_region for Super-IO accesses
fbdce79e7c3b hwmon: (vt1211) Use request_muxed_region for Super-IO accesses
1cd4902d9088 perf/x86/intel/cstate: Add Icelake support
ea6ff1bb3d00 perf/x86/intel/rapl: Add Icelake support
3a9a1fd14b27 perf/x86/msr: Add Icelake support
9754bab2057e RDMA/cxgb4: Fix null pointer dereference on alloc_skb failure
b0f6ac8c81e0 arm64: vdso: Fix clock_getres() for CLOCK_REALTIME
9082058b549a ACPI/IORT: Reject platform device creation on NUMA node mapping failure
4a9c84499e11 i40e: don't allow changes to HW VLAN stripping on active port VLANs
e3e8cdacdcce i40e: Able to add up to 16 MAC filters on an untrusted VF
267b3c6b3f45 phy: mapphone-mdm6600: add gpiolib dependency
3ecda6884660 phy: sun4i-usb: Make sure to disable PHY0 passby for peripheral mode
63b4f89d03c2 drm: etnaviv: avoid DMA API warning when importing buffers
f843f848c567 x86/irq/64: Limit IST stack overflow check to #DB stack
97abdfa81f1c USB: core: Don't unbind interfaces following device reset failure
3711c9885278 s390/qeth: handle error from qeth_update_from_chp_desc()
5d5652b51c87 thunderbolt: Take domain lock in switch sysfs attribute callbacks
afee27f38253 irq_work: Do not raise an IPI when queueing work on the local CPU
dee2faf0ac0c drm/msm: a5xx: fix possible object reference leak
e0b75a798651 staging: vc04_services: handle kzalloc failure
355673f80835 sched/core: Handle overflow in cpu_shares_write_u64
7053046e350f sched/rt: Check integer overflow at usec to nsec conversion
925275d0cc5d sched/core: Check quota and period overflow at usec to nsec conversion
4e4d5cea79a7 cgroup: protect cgroup->nr_(dying_)descendants by css_set_lock
944c58523731 random: add a spinlock_t to struct batched_entropy
6fa6381a2da0 random: fix CRNG initialization when random.trust_cpu=1
fec8a09f79ec powerpc/64: Fix booting large kernels with STRICT_KERNEL_RWX
f488832c2099 powerpc/numa: improve control of topology updates
ad393793794e block: fix use-after-free on gendisk
30f8da71c730 iio: adc: stm32-dfsdm: fix unmet direct dependencies detected
11ad52770a42 media: pvrusb2: Prevent a buffer overflow
a90ce66af211 media: au0828: Fix NULL pointer dereference in au0828_analog_stream_enable()
2096b3ba3274 media: stm32-dcmi: fix crash when subdev do not expose any formats
6c21fa849a5a audit: fix a memory leak bug
9fcfaab61420 media: ov2659: make S_FMT succeed even if requested format doesn't match
e3a9d646ecf2 media: au0828: stop video streaming only when last user stops
3ccd89123b67 media: ov6650: Move v4l2_clk_get() to ov6650_video_probe() helper
81a0b6ff0209 media: coda: clear error return value before picture run
83544b04a406 dmaengine: at_xdmac: remove BUG_ON macro in tasklet
bfb9e836cf26 perf/arm-cci: Remove broken race mitigation
2d1df7fada2d clk: rockchip: undo several noc and special clocks as critical on rk3288
86a1de9c8d76 pinctrl: samsung: fix leaked of_node references
c3933fd4a8ee pinctrl: pistachio: fix leaked of_node references
12e7faac49e2 HID: logitech-hidpp: use RAP instead of FAP to get the protocol version
1eafabe144f4 Bluetooth: hci_qca: Give enough time to ROME controller to bootup.
189b396a2580 mm/uaccess: Use 'unsigned long' to placate UBSAN warnings on older GCC versions
f46ae1cd7cec x86/mm: Remove in_nmi() warning from 64-bit implementation of vmalloc_fault()
3dc1e338ae5f smpboot: Place the __percpu annotation correctly
0fcb3cd5af98 x86/build: Move _etext to actual end of .text
58a0c2194bac vfio-ccw: Release any channel program when releasing/removing vfio-ccw mdev
8c1c78109a74 vfio-ccw: Do not call flush_workqueue while holding the spinlock
e0d25d17841a RDMA/cma: Consider scope_id while binding to ipv6 ll address
06740892db92 bcache: avoid clang -Wunintialized warning
330b67980381 bcache: add failure check to run_cache_set() for journal replay
cd83c78897d5 bcache: fix failure in journal relplay
29b166da7a4e bcache: return error immediately in bch_journal_replay()
8034a6b89990 bcache: avoid potential memleak of list of journal_replay(s) in the CACHE_SYNC branch of run_cache_set
e82df5f1e54a crypto: sun4i-ss - Fix invalid calculation of hash end
213e152316ed nvme-rdma: fix a NULL deref when an admin connect times out
c24860f40b66 nvme: set 0 capacity if namespace block size exceeds PAGE_SIZE
31de7f1d07b5 net: cw1200: fix a NULL pointer dereference
eacec4367998 rsi: Fix NULL pointer dereference in kmalloc
9d54cca8f939 mwifiex: prevent an array overflow
c2582f213897 ASoC: fsl_sai: Update is_slave_mode with correct value
67d812fbe303 slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
0cbef22f67ba libbpf: fix samples/bpf build failure due to undefined UINT32_MAX
ca5b9d63e9b1 mac80211/cfg80211: update bss channel on channel switch
1d057fefa045 dmaengine: pl330: _stop: clear interrupt status
cadb16d9e0f3 s390: qeth: address type mismatch warning
99079ceefb7c w1: fix the resume command API
07da741d48c4 sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs
216155aab507 s390/kexec_file: Fix detection of text segment in ELF loader
6697d0b3f5b5 scsi: qedi: Abort ep termination if offload not scheduled
bc90af686912 rtc: stm32: manage the get_irq probe defer case
7fd0d9d10e5d rtc: 88pm860x: prevent use-after-free on device remove
0ea8b7cf9436 iwlwifi: pcie: don't crash on invalid RX interrupt
bd3d8f4cb956 btrfs: Don't panic when we can't find a root key
431cbaec1287 btrfs: fix panic during relocation after ENOSPC before writeback happens
1084fc9afbe3 Btrfs: fix data bytes_may_use underflow with fallocate due to failed quota reserve
8715ce033eb3 x86/modules: Avoid breaking W^X while loading modules
34f3a58f06da scsi: qla2xxx: Fix hardirq-unsafe locking
6ce116871011 scsi: qla2xxx: Avoid that lockdep complains about unsafe locking in tcm_qla2xxx_close_session()
55b95ce89ce7 scsi: qla2xxx: Fix abort handling in tcm_qla2xxx_write_pending()
de3cd35f5195 scsi: qla2xxx: Fix a qla24xx_enable_msix() error path
73026db866db sched/cpufreq: Fix kobject memleak
0fe8ed038e88 powerpc/watchdog: Use hrtimers for per-CPU heartbeat
efa336f785df arm64: Fix compiler warning from pte_unmap() with -Wunused-but-set-variable
9152b0815430 ARM: vdso: Remove dependency with the arch_timer driver internals
2d2017675b1a media: stm32-dcmi: return appropriate error codes during probe
5744fd7fa1d1 drm/nouveau/bar/nv50: ensure BAR is mapped
07bb9a71ee27 ACPI / property: fix handling of data_nodes in acpi_get_next_subnode()
c00f0fbd2e85 brcm80211: potential NULL dereference in brcmf_cfg80211_vndr_cmds_dcmd_handler()
57667dc86bef spi: pxa2xx: fix SCR (divisor) calculation
5cf668cf1110 ASoC: imx: fix fiq dependencies
b8bd069f855f powerpc/perf: Fix loop exit condition in nest_imc_event_init
1a6767f5f152 powerpc/boot: Fix missing check of lseek() return value
741853944fea powerpc/perf: Return accordingly on invalid chip-id in
49c0fa1f35c1 ASoC: hdmi-codec: unlock the device on startup errors
663411719895 usb: dwc3: move synchronize_irq() out of the spinlock protected block
1a7be0fe0777 usb: dwc2: gadget: Increase descriptors count for ISOC's
fc8c5907d8fc ASoC: Intel: kbl_da7219_max98357a: Map BTN_0 to KEY_PLAYPAUSE
b676f6c0b552 pinctrl: zte: fix leaked of_node references
8603d49906b2 Bluetooth: Ignore CC events not matching the last HCI command
6d9cfab853ca hv_netvsc: fix race that may miss tx queue wakeup
83eaba87e73e net: ena: gcc 8: fix compilation warning
19c2dd5025bb dmaengine: tegra210-dma: free dma controller in remove()
7ffd692bfce7 bpftool: exclude bash-completion/bpftool from .gitignore pattern
6d9f8909e540 selftests/bpf: set RLIMIT_MEMLOCK properly for test_libbpf_open.c
f3ed010f2bfe tools/bpf: fix perf build error with uClibc (seen on ARC)
d96a6c31e42e mmc: core: Verify SD bus width
c4b51dbcccfc gfs2: Fix occasional glock use-after-free
fa4aaa09d17e IB/hfi1: Fix WQ_MEM_RECLAIM warning
36296b0034ae NFS: make nfs_match_client killable
506961a7a4ef cxgb4: Fix error path in cxgb4_init_module
bac852089281 gfs2: Fix lru_count going negative
06a67c0f4abb Revert "btrfs: Honour FITRIM range constraints during free space trim"
7c2bcb3cca03 acct_on(): don't mess with freeze protection
7d562a90a88b at76c50x-usb: Don't register led_trigger if usb_register_driver failed
363aa80a51c9 batman-adv: mcast: fix multicast tt/tvlv worker locking
003e2d74c554 bpf: devmap: fix use-after-free Read in __dev_map_entry_free
3de79cb0ceb2 ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit
c8275cbe2bd8 media: vivid: use vfree() instead of kfree() for dev->bitmap_cap
0595e0d173f0 media: vb2: add waiting_in_dqbuf flag
aec118ecf579 media: serial_ir: Fix use-after-free in serial_ir_init_module
bdf3da72ae79 media: cpia2: Fix use-after-free in cpia2_exit
de2d09ebff2f fbdev: fix WARNING in __alloc_pages_nodemask bug
86c43c40fe05 ovl: relax WARN_ON() for overlapping layers use case
9c0339dd381d btrfs: honor path->skip_locking in backref code
2eefb4a3894e arm64: errata: Add workaround for Cortex-A76 erratum #1463225
8783c4128c37 brcmfmac: add subtype check for event handling in data path
cc240e057c1d brcmfmac: assure SSID length from firmware is limited
43caa29c99db bpf: add bpf_jit_limit knob to restrict unpriv allocations
cc1afc1050a9 NFSv4.1 fix incorrect return value in copy_file_range
e1eed6928b3e NFSv4.2 fix unnecessary retry in nfs4_copy_file_range
0bad28e92ced fbdev: fix divide error in fb_var_to_videomode
b8304d918c02 udlfb: fix some inconsistent NULL checking
94e1f96667b4 btrfs: sysfs: don't leak memory when failing add fsid
946ad2ecef61 btrfs: sysfs: Fix error path kobject memory leak
92f907d7d63b Btrfs: fix race between ranged fsync and writeback of adjacent ranges
4f9a774dda97 Btrfs: avoid fallback to transaction commit during fsync of files with holes
7ec747c811ab Btrfs: do not abort transaction at btrfs_update_root() after failure to COW path
ce21e6586eec btrfs: don't double unlock on error in btrfs_punch_hole
fdc78eedc54d gfs2: Fix sign extension bug in gfs2_update_stats
53cd8ae3eeb1 arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable
9c15fff28194 arm64/kernel: kaslr: reduce module randomization range to 2 GB
ee6d3eb31112 libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead
709a93054118 kvm: svm/avic: fix off-by-one in checking host APIC ID
5b69ceee2196 mmc: sdhci-iproc: Set NO_HISPD bit to fix HS50 data hold time problem
227e01537baf mmc: sdhci-iproc: cygnus: Set NO_HISPD bit to fix HS50 data hold time problem
792d65fc49a7 crypto: vmx - CTR: always increment IV as quadword
136b8cef4e4f Revert "scsi: sd: Keep disk read-only when re-reading partition"
ac7480a5b504 sbitmap: fix improper use of smp_mb__before_atomic()
b78255d6cffb bio: fix improper use of smp_mb__before_atomic()
432ec4fa6cd2 KVM: x86: fix return value for reserved EFER
70d33cce97f0 f2fs: Fix use of number of devices
5220582c427b ext4: wait for outstanding dio during truncate in nojournal mode
71e430fd593b ext4: do not delete unlinked inode from orphan list on failed truncate
1d84eb87efce x86: Hide the int3_emulate_call/jmp functions from UML
8b2fc0058255 Linux 4.19.46
fcac71697a15 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
107e215c2962 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
2bb3c5470aaf bpf: add map_lookup_elem_sys_only for lookups from syscall side
3ded3aaa4aa8 bpf: relax inode permission check for retrieving bpf program
c33563e9ec87 Revert "selftests/bpf: skip verifier tests for unsupported program types"
90110ffd86ae driver core: Postpone DMA tear-down until after devres release for probe failure
430908054540 md/raid: raid5 preserve the writeback action after the parity check
3d25b7f5c3be Revert "Don't jump to compute_result state from check_result state"
a0b1dde1e686 perf/x86/intel: Fix race in intel_pmu_disable_event()
7aea2f94cc64 perf bench numa: Add define for RUSAGE_THREAD if not present
a06fdd99a339 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
f037116fe05b x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
290da8e79c83 sched/cpufreq: Fix kobject memleak
2da19da7abb8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
7341daa0548e qmi_wwan: new Wistron, ZTE and D-Link devices
c1528193f643 bpf: Fix preempt_enable_no_resched() abuse
aea54f613534 power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
a1251522a522 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
36ae546a0046 net: ieee802154: fix missing checks for regmap_update_bits
9c045d8c9739 mac80211: Fix kernel panic due to use of txq after free
a0a49d8712de x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
a469646862aa PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
b21ca2769b0f apparmorfs: fix use-after-free on symlink traversal
9a0467e1f671 securityfs: fix use-after-free on symlink traversal
900bf351dd84 power: supply: cpcap-battery: Fix division by zero
b7771cb0143b clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
a654a73de29f xfrm4: Fix uninitialized memory read in _decode_session4
6faa62060624 xfrm: Honor original L3 slave device in xfrmi policy lookup
3716c2625099 esp4: add length check for UDP encapsulation
d410ef75886a xfrm: clean up xfrm protocol checks
159269cc6456 vti4: ipip tunnel deregistration fixes.
64f214ce563f xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
c9516503fe53 xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
fea685000caf fuse: Add FOPEN_STREAM to use stream_open()
f9eccf6ca1e0 dm mpath: always free attached_handler_name in parse_path()
9407680a7bb7 dm integrity: correctly calculate the size of metadata area
3b92ff729cb3 dm delay: fix a crash when invalid device is specified
90cc71127a3c dm zoned: Fix zone report handling
ff0699a5e5d0 dm cache metadata: Fix loading discard bitset
d5c352305d42 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
b51a033317cd PCI: Factor out pcie_retrain_link() function
7bc992e215c8 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
2e7574982502 PCI/AER: Change pci_aer_init() stub to return void
8c30e1499335 PCI: Init PCIe feature bits for managed host bridge alloc
29d031402718 PCI: Mark Atheros AR9462 to avoid bus reset
f4be6b7ee294 PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
2cf1dce1bfa5 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
27968d821368 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
f1c97f633375 fbdev: sm712fb: fix support for 1024x768-16 mode
b415308ae49a fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
02f89dd99c83 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
7e1b9659a43a fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
b0f08070903d fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
d30768975973 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
702156cd1a9a fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
e738fb38cf2e objtool: Allow AR to be overridden with HOSTAR
9ae0f86ceaa7 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
05fab3457210 perf intel-pt: Fix sample timestamp wrt non-taken branches
ba86f8f84fd5 perf intel-pt: Fix improved sample timestamp
3ed850ab2a9c perf intel-pt: Fix instructions sampling rate
5e011f3319fe memory: tegra: Fix integer overflow on tick value calculation
fb8c9c900d4e tracing: Fix partial reading of trace event's id file
07b487eb5762 ftrace/x86_64: Emulate call function while updating in breakpoint handler
ba246f64b0a5 x86_64: Allow breakpoints to emulate call instructions
01b6fdcecd5a x86_64: Add gap to int3 to allow for call emulation
77ca91441696 ceph: flush dirty inodes before proceeding with remount
b18339bc1d05 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
a9676c96e7e0 ovl: fix missing upper fs freeze protection on copy up for ioctl
979d2433b873 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
a452f733f93e fuse: fix writepages on 32bit
42f59b83f0cf udlfb: introduce a rendering mutex
fb36a97654a7 udlfb: fix sleeping inside spinlock
1b8c955691d4 udlfb: delete the unused parameter for dlfb_handle_damage
3487804cf6dc clk: rockchip: fix wrong clock definitions for rk3328
fe082b99d57b clk: mediatek: Disable tuner_en before change PLL rate
5bfba9529cea clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
1a7adc2edb98 clk: hi3660: Mark clk_gate_ufs_subsys as critical
04f34b76368f PNFS fallback to MDS if no deviceid found
d3dd6057d2d6 NFS4: Fix v4.0 client state corruption when mount
5e7f9e905ff8 media: imx: Clear fwnode link struct for each endpoint iteration
ef12f5b54da4 media: imx: csi: Allow unknown nearest upstream entities
77e178708136 media: ov6650: Fix sensor possibly not detected on probe
86d67dbdf0a0 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
939db6fdbea6 cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
a29b8829291e of: fix clang -Wunsequenced for be32_to_cpu()
a36430769ee5 p54: drop device reference count if fails to enable device
88cfd822f9d0 intel_th: msu: Fix single mode with IOMMU
c939121b5435 dcache: sort the freeing-without-RCU-delay mess for good.
10cb519c3e34 md: add mddev->pers to avoid potential NULL pointer dereference
3deaa1dc2f70 md: batch flush requests.
7f6b9285cada Revert "MD: fix lock contention for flush bios"
7928396df91e proc: prevent changes to overridden credentials
bbd559ad3ca7 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
d9ec75d048d7 stm class: Fix channel bitmap on 32-bit systems
44bc4e8815a4 stm class: Fix channel free in stm output free path
85b94de88046 parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
e5621f7e13f6 parisc: Use PA_ASM_LEVEL in boot code
615260c947b4 parisc: Skip registering LED when running in QEMU
9aabffe8c2a6 parisc: Export running_on_qemu symbol for modules
b11efd3262ef net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
79742133aff2 net/mlx5: Imply MLXFW in mlx5_core
9f12f4c922d4 vsock/virtio: Initialize core virtio vsock before registering the driver
4b900077784f tipc: fix modprobe tipc failed after switch order of device registration
4af8a327aeba vsock/virtio: free packets during the socket release
2f7025b0a3b3 tipc: switch order of device registration to fix a crash
2636da604e76 rtnetlink: always put IFLA_LINK for links with a link-netnsid
c73ed24c385a ppp: deflate: Fix possible crash in deflate_init
e4a6df16b441 nfp: flower: add rcu locks when accessing netdev for tunnels
948cd616504c net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
3620e546b177 net: test nouarg before dereferencing zerocopy pointers
0495c8b03545 net/mlx4_core: Change the error print to info print
746f8cd570ba net: avoid weird emergency message
466cadba6013 net: Always descend into dsa/
6bc3240adde5 ipv6: prevent possible fib6 leaks
81a61a95812e ipv6: fix src addr routing with the exception table
c3a072597748 Linux 4.19.45
e8816d3bc595 ext4: don't update s_rev_level if not required
6172ae55a187 ext4: fix compile error when using BUFFER_TRACE
953e826e8d0f pstore: Refactor compression initialization
fea8b84765a1 pstore: Allocate compression during late_initcall()
f4bf101be366 pstore: Centralize init/exit routines
627bb2d93b4d iov_iter: optimize page_copy_sane()
866f011181ff libnvdimm/namespace: Fix label tracking error
756eda9bc8b7 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
98bdd33883db kbuild: turn auto.conf.cmd into a mandatory include file
38f114887ca4 KVM: lapic: Busy wait for timer to expire when using hv_timer
3b5ea2df6cf6 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
5b8567682489 jbd2: fix potential double free
95482af27161 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
e0e1dc65bb13 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
ae3155123704 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
316063bf7d11 ext4: avoid panic during forced reboot due to aborted journal
c19db366c0a8 ext4: fix use-after-free in dx_release()
0db24122bd7f ext4: fix data corruption caused by overlapping unaligned and aligned IO
25d010f4e0ec ext4: zero out the unused memory region in the extent tree block
c907ce3fd552 tty: Don't force RISCV SBI console as preferred console
986d3453bee4 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
a80da82d0840 crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
f6de0a3b1e66 ipmi:ssif: compare block number correctly for multi-part return messages
88681649ed8c bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
ecfc882f6441 bcache: fix a race between cache register and cacheset unregister
8a8f671b3dad Btrfs: do not start a transaction at iterate_extent_inodes()
0388d45afc50 Btrfs: do not start a transaction during fiemap
74ca0a7671cc Btrfs: send, flush dellaloc in order to avoid data loss
8b13bb911f0c btrfs: Honour FITRIM range constraints during free space trim
87dcf0c61985 btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
d8925a1fee71 btrfs: Check the first key and level for cached extent buffer
45123ae534e0 ext4: fix ext4_show_options for file systems w/o journal
f795247578aa ext4: actually request zeroing of inode table after grow
2a18c9c76718 ext4: fix use-after-free race with debug_want_extra_isize
b12a8d80a46e ext4: avoid drop reference to iloc.bh twice
f0f805f8b9e7 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
71478ef67d7c ext4: make sanity check in mballoc more strict
001fe0dab4ea jbd2: check superblock mapped prior to committing
0fd2df64f142 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
d90824ecb887 tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
6a01793e0763 mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
dc6d69bde829 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
5185672f2acf mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
770e46b38ebe ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
8bae43985571 userfaultfd: use RCU to free the task struct when fork fails
3574bc98e2fe ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
a3ccc156f365 hugetlb: use same fault hash key for shared and private mappings
0b16b09a723e mm/hugetlb.c: don't put_page in lock of hugetlb_lock
58db3813680e mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
f580a54bbd52 mm/mincore.c: make mincore() more conservative
681f3695d514 crypto: ccree - handle tee fips error during power management resume
4fb3d87ee7b7 crypto: ccree - add function to handle cryptocell tee fips error
65f5c14a6011 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
1a4fc3d29632 crypto: ccree - pm resume first enable the source clk
120ab825c6fd crypto: ccree - don't map AEAD key and IV on stack
ca687cdb6159 crypto: ccree - use correct internal state sizes for export
766121a0a798 crypto: ccree - don't map MAC key on stack
7560c0adad34 crypto: ccree - fix mem leak on error path
642de1c00a14 crypto: ccree - remove special handling of chained sg
1bfceb375034 bpf, arm64: remove prefetch insn in xadd mapping
f3714257c422 ASoC: codec: hdac_hdmi add device_link to card device
975ef5c2f6ca ASoC: fsl_esai: Fix missing break in switch statement
df9f111db871 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
7295359bd6ac ASoC: max98090: Fix restore of DAPM Muxes
e13bac4031eb ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
d33f6063b7c3 ALSA: hda/realtek - EAPD turn on later
4ac6316a7c0f ALSA: hda/hdmi - Consider eld_valid when reporting jack event
8c827cda2864 ALSA: hda/hdmi - Read the pin sense from register when repolling
30dda277333e ALSA: usb-audio: Fix a memory leak bug
741e3efd8174 ALSA: line6: toneport: Fix broken usage of timer for delayed execution
003cf675eb07 mmc: core: Fix tag set memory leak
d42d342022b1 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
69b9d32d5139 crypto: arm/aes-neonbs - don't access already-freed walk.iv
b7d2adfd0512 crypto: rockchip - update IV buffer to contain the next IV
9a61ab689867 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
63efe31cf544 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
e7fd8a2862e0 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
7a19a4bef218 crypto: crct10dif-generic - fix use via crypto_shash_digest()
aabf86f24d9f crypto: skcipher - don't WARN on unprocessed data after slow walk step
66f5de68cb61 crypto: vmx - fix copy-paste error in CTR mode
07d677ae4db4 crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
fe632ee5ade8 crypto: chacha20poly1305 - set cra_name correctly
3b5ddd5ea016 crypto: salsa20 - don't access already-freed walk.iv
7a32ad34b889 crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
c1ec6beac625 crypto: crypto4xx - fix ctr-aes missing output IV
2ea1a37d0138 sched/x86: Save [ER]FLAGS on context switch
d8d751efec28 arm64: Save and restore OSDLR_EL1 across suspend/resume
f273cd16554a arm64: Clear OSDLR_EL1 on CPU boot
26e7d2ad97b9 arm64: compat: Reduce address limit
6d696ceb15a3 arm64: arch_timer: Ensure counter register reads occur with seqlock held
222abad906ba arm64: mmap: Ensure file offset is treated as unsigned
592127e9c1bb power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
26eb5e7fa08d power: supply: axp288_charger: Fix unchecked return value
921bc15462e2 ARM: exynos: Fix a leaked reference by adding missing of_node_put
6eaeee1e7845 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
e2c436d9268f ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
abea1fb53266 ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
8cf1bbca4467 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
7b72ca6312ab objtool: Fix function fallthrough detection
b185029f5c41 x86/speculation/mds: Improve CPU buffer clear documentation
393ca9ea37fb x86/speculation/mds: Revert CPU buffer clear on double fault exit
7761dbf58d22 locking/rwsem: Prevent decrement of reader count before increment
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
(From OE-Core rev: a2466be459bb97800a83b3f6822ba139161668ec)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While we don't normally do a dual h/w and virt BSP (since they
tend to have conflicting requirements over time). A minimal overhead
option to do this was submitted to linux-yocto. Since it has no
impact on the h/w reference, has SDK testing value and can serve
as a template on how to do this for other arm boards, it is worth
making the configuration available.
The original commit log follows:
[
If the kernel supports Qemu's virt machine, runqemu works almost for free.
The device tree for machine virt is included in Qemu, which simplifies
everything quite a bit.
This change adds ARCH_VIRT=y and some drivers to the beaglebone kernel
configuration which allows to:
export MACHINE="beaglebone-yocto"
bitbake core-image-minimale
runqemu
This also works out of an eSDK. Whithout this feature usually two
different SDKs need to be compiled and maintained. One SDK is used for development
in Qemu, another one is used to develop for the real target hardware.
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
]
(From OE-Core rev: cc1fca6d464775daa15032f11c02d16b99759407)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put libxml2-native dependency in this class and remove
it from recipes inheriting this class.
In fact, if a recipe inherits this class and does not have
libxml2-native, the xmlcatalog_sstate_postinst would fail.
(From OE-Core rev: 5a72c6d5cc1c9896c7425ac20eaf82d3d489e5c7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GTK+ 2 is being removed from oe-core, so remove it from the oe-core LSB
packagegroup.
Also document the fact that GTK+ 2 is no longer part of the LSB packagegroup,
and point to meta-oe for the recipe if required.
(From OE-Core rev: 759af1d5a5c3a0abe907d3875a7f548a6edfb39a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the default configuration so that it doesn't need GTK+ 2 to build, as
GTK+ 2 is obsolete.
(From OE-Core rev: 963a9171c22de402a416016e498d3f266f2f87c6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using sstate, or performing an incremental build any change to
the do_stash_locale() will cause a build failure because
do_stash_locale() was destroying the results obtained from the
do_install() with several mv operations. A recent change to
do_stash_locale() for a different problem illustrated a number of
build failures for users in the community.
To fix the problem, do_stash_locale() must use copy operations instead
of the mv operations. Because this is changed to a copy, the sysroot
and package stage need to remove the files that would have been
previously removed. The correct "fixup" code to deal with the removal
already existed in the previous do_poststash_install_cleanup(). All
that needed change was the path to where to remove the files
from the sysroot and package stages.
In order to force a re-compilation of glibc some unused white space
was removed from do_compile() for glibc. I could not find any other
way around this and we don't want to have all the community folks to
have another iteration where they have to remove their tmp directories
or purge some portion of the sstate. It also makes this change
bisectable. If the change to the glibc is not included, it will fail
with the following message:
=====
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
=====
After this one time change I tested changing only the
do_stash_locale() function and it now works well because it is
deterministically operating off the sstate data or a local build.
(From OE-Core rev: fedc57a41a15bca1d96d14e25e2df0bb1eca904d)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OpenSBI licence was updated to include contributors in the
copyright notice.
The payload logic has been updated to fix some bugs and handle the new
optional dependency on the Linux kernel for device trees
(From OE-Core rev: 76350b19945db458c60d3f233770543c00cb2067)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the SANITIZERS varialbe to "" for the riscv32 machine as it is
already set for the riscv64 machine.
(From OE-Core rev: 12cd545fcbd2e826fb2c33b03b59113f62cad5a6)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depend on vulkan-loader component of the now split-up vulkan.
(From OE-Core rev: 64ee4af8c057dea47cdedf2ae6d1b8f62ecdbc7e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depend on vulkan-loader instead of vulkan which has been deprecated.
(From OE-Core rev: edfd7164ca5954634f45bb05d76104c8dac00731)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Vulkan tools and utilities that can assist development by enabling
developers to verify their applications correct use of the Vulkan API.
DEPENDS on vulkan-headers and vulkan-loader.
(From OE-Core rev: c4db69fc0d8d46a396ee744fddad0300ec730f46)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khronos official Vulkan ICD desktop loader for Windows, Linux, and MacOS.
Adapted from vulkan recipe with the changes done to remove obsolete options.
Needs either of X11 or Wayland to be enabled.
(From OE-Core rev: 4d9b993bd1706a8c29b45f58d513347a3d9f26d6)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
create_symlinks does not create any links if IMAGE_LINK_NAME is empty.
Unfortunately, setup_debugfs_variables unconditionally appends '-dbg' which
results in a previously-empty IMAGE_LINK_NAME containing just '-dbg'. Let's
check that it's not empty before appending.
(From OE-Core rev: e529c45f29bd9a1de21f31fef7acb23eb6e8ebdd)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For various technical reasons, native and cross builds have a prefix that
includes the full path to the sysroot. As these are stripped away before the
files are used in the sysroot, we should also filter them out of the
buildhistory report. This both removes noise when sharing a buildhistory
repository between different build directories, and improves the accuracy of the
reports.
(From OE-Core rev: 8bf53fbb62749b5d77c246fab6e1246b93f8c50f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the sysroot isn't ran inside pseudo the ownership is whoever is running the
builds. In a setup where multiple builders all contribute to a shared
buildhistory writing the ownership data isn't useful, so just replace it with "-
-".
(From OE-Core rev: fadb7ae78876a7cf25c48481ff4ed3131e53415f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
efivar.h is in usr/include/efirvar directory so it should be
added to include search path via -I to compiler cmdline to fix
make[1]: *** No rule to make target 'efivar.h', needed by 'efibootmgr.o'. Stop.
| make[1]: *** Waiting for unfinished jobs....
When running clang to generate dependencies -MM -MG -MF it still
parses the compile unit and complains if certain header is not found
where as gcc does not do that, hence the compile error is only seen
when compiling with clang.
(From OE-Core rev: db4fa7e765cb434119d816d86b943eeb62235601)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sqlite3 is only used by the regression testing tool, which is of limited use
unless you're the developer of libsndfile. Add a PACKAGECONFIG for this, but
disable by default.
(From OE-Core rev: 5f01497dee9fcd5e5fc6bddb061b6cc55909fe65)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output from bitbake will change slightly soon due to runqueue changes,
adpat the test now to account for both the old and new cases.
(From OE-Core rev: 78fcea74517de4793cc0ecc97bce7f5c7dcd44c0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image continues to run out of space on the autobuilder, tweak it a bit
further now the image space requirements were reduced after various ptest
fixes to avoid the error.
(From OE-Core rev: 9f974dd51c18a1387134a9350097dea97ef5f7d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from util-linux_2.33.2.bb to util-linux_2.34.bb.
-util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch
Removed since this is included in 2.34.
(From OE-Core rev: c8685430d81b60c38d43ed20e480b2a0942dc768)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
i2ctransfer is now also provided by busybox.
(From OE-Core rev: 0325aaebb389370f0c5444da1db9c8a179bf97cb)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current go class includes ptest logic by default
and will make the recipe which inherits go class
to support ptest automatically though maybe the
recipe which inherits go class doesn't plan to
support the ptest.
So separate the ptest logic to another specified
class go-ptest to make the recipe which needs to
inherit go class more flexible with regards to
ptest support.
(From OE-Core rev: 099a2a212fed61a24643da63c74c09cef3ba4030)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that cve-update-db added CPE information to NVD database. We can
check for unpatched versions with operators '<', '<=', '>', and '>='.
(From OE-Core rev: bc0195be1b15bcffe60127bc5e8b7011a853c2ed)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using expanded list of affected versions that is not
reliable, use the 'cpe_match' node in the 'configurations' json node.
For cve-check to correctly match affected CVE, the sqlite database need to
contain operator_start, operator_end and the corresponding versions fields.
(From OE-Core rev: f7676e9a38d595564922e5f59acbc69c2109a78f)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the NVD url is not accessible, print a warning on top of the CVE
report, and continue. The database will not be fully updated, but
cve_check can still run on the previous database.
(From OE-Core rev: 0325dd72714f0b447558084f481b77f0ec850eed)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enabling multilib and building lib32-IMAGE which
uses grub-efi, the build fails with the following error.
install: cannot stat '/PROJ_DIR/build/tmp-glibc/deploy/images/intel-x86-64/grub-efi-bootia32.efi': No such file or directory
The grub-efi is in NON_MULTILIB_SCRIPTS. That means we
will use 64bit grub-efi for lib32-IMAGE.
So take into consideration of multilib to fix this problem.
(From OE-Core rev: 3c7b6dfecd22eae369bba54437cdff91fa8542df)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've a nice function to clean up absolute build paths for display, so use it.
(From OE-Core rev: c2f2ea87592d14e7020eff19c11aae2fb644358a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sysroot isn't populated under pseudo, so ownership differences should be ignored.
(From OE-Core rev: 01b816be4adff8f3992c1369810bdcf11a26fd6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to skip _setscene only if they would normally be
executed, without ignoring sstate completely.
Previously, '--no-setscene' would allow a build that completely ignored
sstate and _setscene tasks, and '--setscene-only' would allow a build
that only ran _setscene tasks, but there was no option do a build that
would respect tasks previously restored from sstate and build everything
else. Now one can run:
bitbake --setscene-only IMAGE; bitbake --skip-setscene IMAGE
which is functionally equivalent to:
bitbake IMAGE
The indented use is to allow a build to complete successfully in the
presence of _setscene task failures by splitting apart the two phases
e.g.:
(bitbake -k --setscene-only IMAGE || true) && bitbake --skip-setscene IMAGE
(Bitbake rev: 813ba5b7c13b573a0b813b628a819bdbf0627540)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the server shuts down 'cleanly' due to some issue, the socket will close.
A recently reported example was an invalid PRSERV being set. Doing this silently
and without changing the retries count will case the server startup to loop
infinitely.
Change the code so it triggers the usual retries note messages and times
out eventually pointing the user at the cooker log file.
[YOCTO #12984]
(Bitbake rev: bb696636ef0c59f9e9640bb9460e7cce323cc785)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the UI hasn't started, no messages are printed to the console
until the server starts. This is confusing, particularly if the server
never starts. Flush the UI queue through the simply handler upon connection
retry so the user sees the messages they're supposed to be seeing.
Also point the user at the logfile for hints about why this may be.
(Bitbake rev: 4b9ab675cebb427ab8ad0c56c7b37eed50a2a39e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`devtool create-workspace' would create devtool.conf, so track to
clean it up. Otherwise, this devtool.conf file would mess things up.
e.g.
oe-selftest -r devtool && oe-selftest -r devtool -j 2
AssertionError: '/PROJ_DIR/build-selftest-st-15753/workspace/conf/layer.conf' does not exist : Workspace directory not created
This is because the devtool.conf is also copied to build-selftest-st-xxxx
directory, resulting in devtool to create and use workspace specified
in this file.
(From OE-Core rev: a0a96db23686a38235fb0373e75e8b2951216c18)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The blocks were intended with 3 spaces instead of 4.
(From OE-Core rev: 98fbf61287971319547cc462b7c81f54950df619)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_stash_locale was not working consistently across the 4 build
configurations and the multilib, usrmerge configuration would fail
entirely with the obscure message:
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
| WARNING: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/temp/run.do_prep_locale_tree.124690:1 exit 1 from 'gunzip $i'
Here is the 4 build configurations without the patch applied:
A) x86-64 no multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
B) x86-64 no multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
C) x86-64 multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
885
D) x86-64 multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
864
The issue here is that all the moves should be processed first, then a
copy should be made of the lib directories, but only in the case they
are different when using the usrmerge feature. Even though the build
worked for the multilib configuration without usrmerge, the content
was not the same.
After applying the patch the same number of files are in all the
configurations. The list of files was also diffed, after normalizing
the directory names to ensure all the correct files were copied.
Ultimately there are probably additional files that should be pruned
from what is copied to the stated_locale, but the purpose of this
patch is make it 100% consistent between the build types and fix the
builds.
(From OE-Core rev: 33c2e7b4944af22ca47b53d1f85d03426f169bb7)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the PACKAGE_NO_GCONV is set to 1 an empty directory is left behind from the do_install rule:
=====
ERROR: glibc-locale-2.29-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/locale
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: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.29-r0 do_package: Fatal QA errors found, failing task.
=====
The simple fix is to prune the empty directory.
(From OE-Core rev: 4b3c5ec80e696fc2c7ce7ceba118095f9b8f6439)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using USE_NLS="no" in the local.conf psmisc will fail to
compile as follows:
| autoreconf: Entering directory `.'
| autoreconf: running: autopoint --force
| autoreconf: failed to run autopoint: No such file or directory
| autoreconf: autopoint is needed because this package uses Gettext
| ERROR: autoreconf execution failed.
This is because the gettext.bbclass returns gettext-minimal-native for
the host dependency which does not include autopoint. The autopoint
utility is required to build psmisc, so it needs to list
gettext-native as a dependency.
(From OE-Core rev: 1f163ab451a8a5a5ba1fb426cf5a9eb41f822368)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer export these variables into the environment so we no longer
need this code.
(From OE-Core rev: fd85639bf3092491123e8747e44e7b30648c85cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests the bitbake --skip-setscene option to verify that it correctly
reuses tasks previously restored from sstate, but doesn't execute new
sstate tasks
(From OE-Core rev: af10c620b1496bf5224d0628a92cb42e9cd362a8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some file has "pie" appending after LSB or MSB, which causes mismatch and the
following error.
"file01 10 TFAIL: in: was not recognized"
..."ELF 64-bit LSB pie executable"...
This patches tunes the regulation expression to include those cases.
(From OE-Core rev: 3602a7affd95a22e7e22c9ed4df731f94ed9b64b)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix-rngd-fail-to-stop.patch is added to fix rngd blocks system shutdown
issue. But it causes rngd doesn't release CPU and causes 100% CPU
usage, so drop it.
The block shutdown issue is caused by comit [7cb64b9fe1 rng-tools: start
earlier in the boot process] which updated rngd.service. Revert the
modification of rngd.service.
Update sed expressions in do_install as well which fails to replace
second match in one line.
(From OE-Core rev: edf760682270de36850407c860bea5aea29e30bc)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update to last stable version 1.31.0
- remove and refresh already merged patches
(From OE-Core rev: 1654e8a6ec53799ce55302dfc075d4b1bd5a6cc0)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of upgrading a recipe we create the upgraded recipe file in the
workspace and then try to parse it so we can then make further
modifications. If for some reason that parsing fails then the failure
was not being handled very well - the broken recipe was being left in
place, breaking parsing until it was removed by hand. Fix that by adding
a call to the cleanup function, and fix the following issues:
* Fix the cleanup function which doesn't look like it has ever worked
due to a typo in the function call
* Fix double-printing the error message
* Remove usage of DevtoolError in this case (DevtoolError is for simple
usage errors, not this kind of issue which may be the result of a
bug).
We're still printing a traceback in this scenario but at least it
doesn't break the build system requiring manual cleanup. I also
introduced a command-line option to preserve the broken upgraded recipe
file(s) for debugging purposes.
(The reproducer for this is "devtool upgrade libnewt-python", however
you need to check out revision b82ea144e1
or earlier since that recipe has now been absorbed into the libnewt
recipe. The libnewt-python recipe was causing an issue with the upgrade
because it actually included the libnewt recipe using ${PV} in the
include statement, and of course PV was changing in the upgrade.)
Fixes [YOCTO #13404].
(From OE-Core rev: c519ac360796675d7fc09a5250d21f0f5b6236fc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a setup.py file exists it ought to have something in it before we
consider the source tree to be a Python module and treating it as such.
(A counter-example is https://www.bro.org/downloads/binpac-0.50.tar.gz -
it's not clear why this has a zero-length setup.py in it but we should
pay no attention to it.)
Fixes [YOCTO #12923].
(From OE-Core rev: 548a5c8f42c6ac1b0f7962926d05276e71505678)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
P (which is ${PN}-${PV}) isn't terribly useful in this context - we
don't really care what the version is, but we do want to know what the
recipe is so we can find it or set PACKAGECONFIG_pn-<PN> in our
configuration, so display ${PN} instead.
(From OE-Core rev: 7facaacd145c2924414ad63ddce07602a72d02c1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The blacklist, whilst previously useful for safety, is now becoming
obsolete - on my current system, the main storage is at /dev/nvme* and
if I plug in a USB stick it shows up as /dev/sdb which was previously
blacklisted. To make this more flexible, remove the blacklist and
instead check if the specified device is mounted, has a partition
that is mounted, or is otherwise in use according to the kernel, and
show an appropriate error and quit if so.
To make this robust, also ensure we handle where the specified device is
a symlink to another device.
(From OE-Core rev: 49043de1a7716ad612fb92a2e8a52e43d253c800)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I'm not sure what's going on but having this symlink present is causing
git problems rebasing just by being present; deleting it and checking it
out again does not fix it. In any event this is not the standard way of
sharing files between recipes in the same directory - extending
FILESEXTRAPATHS is, so use that method instead.
(From OE-Core rev: 9ddf0597b4ea40b4c2be2eb0f01f833b5ec23030)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error:
diotest4 10 TBROK : diotest4.c:368: can't mmap file: Invalid argument
diotest4 11 TBROK : diotest4.c:368: Remaining cases broken
This is because the manually specified addr from mmap is invalid.
We should let kernel itself pick an addrress.
(From OE-Core rev: c49e4fd1cc573170fd18c2f6313f8d77f5e68470)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also set LDFLAGS=BUILD_LDFLAGS when compiling makeguids to ensure that any
target compiler flags are not passed to the native compiler.
[ YOCTO #13423 ]
(From OE-Core rev: f61e0676aabba9e006c32f0e53c69426368cd4f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. recently, mdadm has changed to use service file under srcdir,
so remove the one not be used.
2. add -y option to fix below problem
mdadm: No mail address or alert command - not monitoring
(From OE-Core rev: e3cd783f42bff8ac50d4dde560ead999efd01a57)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check the existence of systemd before using systemctl to preset units.
This is because even if 'systemd' is in DISTRO_FEATURES, it's possible
that systemd is not even installed. e.g. container-test-image in
meta-selftest layer.
As systemd DEPENDS on systemd-systemctl-native, the existence of systemd
also ensures the existence of systemd-systemctl-native.
This would fix the following test case when using systemd as the init
manager.
containerimage.ContainerImageTests.test_expected_files
Also remove the IMAGE_EXTRADEPENDS setting, as nothing references this
variable.
(From OE-Core rev: c9854a4ab6af9e60b1a588a87b9a062624af6fae)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses the same code revision in the new repository.
(From OE-Core rev: c7d9991b7536233f33226a729edaf3ba816abc73)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The exit code for "echo q | dc" is 1 for dc-1.4.1;
while the exit code for "echo q | dc" is 0 for dc-1.4.
Here is the answer from ken@gnu.org:
dc-1.4 was right. There was a rewrite of a chunk of code for 1.4.1 to
fix a corner case in the Q command, and somehow the placement of the
clean-up label for the 'q' command got misplaced on the error-handling
branch instead of the clean-exit branch. The patch below fixes this
(it is committed for whenever the next bc/dc release gets made).
Thanks for the report,
--Ken Pizzini
(From OE-Core rev: ab16d9ccaf824fbda5e43c5b3cbdc43ec70be87f)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This switches the code to build pkgdata specific to the current recipe
which means that its filtered to the recipes dependencies and can perform
better as we can drop the lockfile.
It uses a similar method to the staging code to do this, using BB_TASKDEPDATA
to construct a list of packagedata task output which this recipe should "see".
The original pkgdata store is left unaltered so existing code works.
The lock file was there to prevent files disappearing as they were read or as
directories were listed. Since we have a copy of the data and only access output
from completed tasks (as per their manifests), we can remove the lock.
The lock was causing starvation issues on systems with parallelism.
There was also a potential determinism problem as the current code could "see"
data from recipes which it doesn't depend upon.
[YOCTO #13412]
(From OE-Core rev: 1951132576bfb95675b4879287f8b3b7c47524fa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
multiconfig dependencies no longer appear in BB_TASKDEPDATA so we can drop
this code.
(From OE-Core rev: 288b04c8a31fcf257219a57e23663b74178c75f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version is using xsltproc utility
(From OE-Core rev: a8c370a9ff2c6f7d7d516ef69cc2c4c8b8279f61)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
style.css was set to write-only during build which means it wasn't actually
installed or packaged (with only webkitgtk producing a build failure!),
which in turn means generated documentation was broken.
(From OE-Core rev: 946516f5312edaa62fd20162d8c7596f77e9ca64)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build of glibc fails when you have multilibs enabled + the distro
feature usrmerge. Here is an example configuration:
===
MACHINE = "qemux86-64"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_append = " systemd "
DISTRO_FEATURES_append += " usrmerge"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
===
This will fail with the following error:
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: glibc-2.28-r0 do_poststash_install_cleanup: Function failed: do_poststash_install_cleanup (log file is located at /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893)
ERROR: Logfile of failure stored in: /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893
The fix is to not perform the rmdir check when using the multilib + usr/merge, namely:
if [ "${libdir}" != "${exec_prefix}/lib" ] && [ "${root_prefix}/lib" != "${exec_prefix}/lib" ]; then
This will evaluate as follows (collecting the output from bitbake -e glibc)
* no multilibs no usrmerge
if [ "/usr/lib" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* no multilibs yes usrmerge
if [ "/usr/lib" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
* yes multilibs no usrmerge
if [ "/usr/lib64" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* yes multilibs yes user merge
if [ "/usr/lib64" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
(From OE-Core rev: c5640f8c8663c8f81125bf7c5bc2ef8e9fe55315)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Testinfo:
In kernel's builddir:
$ /path/to/oe-core/scripts/tiny/ksum.py
Collecting object files [DONE]
Totals:
vmlinux:
text data bss total
10933110 3824470 1605632 16363212
modules (2004):
text data bss total
46144408 3047516 167580 49359504
vmlinux + modules:
text data bss total
57077518 6871986 1773212 65722716
(From OE-Core rev: a55955f337b4cebf557f96f5dd7c2edc0bfa6d8a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test_git_submodule_dbus_broker, test_git_submodule_CLI11, test_git_submodule_update_CLI11,
test_git_submodule_aktualizr and test_git_submodule_iotedge try to access the network via
git clone, which fails when there is no network available. Add the relevant skip tag.
(Bitbake rev: 9b0538753da0514e6518723dac537007abf7a649)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch to python that makes the pre-compiled .pyc files
generated during the build reproducible.
(From OE-Core rev: 148d54f91f43147f31b16a7c2cb1ade385832366)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To be able to populate NVD database on a fetchall
(bitbake <image> --run-all=fetch), set the do_populate_cve_db task to be
executed before do_fetch.
Do not get CVE_CHECK_DB_DIR, CVE_CHECK_DB_FILE and CVE_CHECK_TMP_FILE
variable because do_populate_cve_db can be called in a context where
cve-check class is not loaded.
(From OE-Core rev: 975793e3825a2a9ca6dc0e43577f680214cb7993)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the sysroot is written into the build history, write it out.
(From OE-Core rev: e9df98ba63e6d2baefee550170dbdd11ed2ad03a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to the sysroot are just as interesting during development, so write the
file listing for the sysroot to buildhistory too.
(From OE-Core rev: b3ac82a27ab70ed6996fe3087a578ac637820329)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently `devtool finish RECIPE meta' will silently succeed even
if there are multiple layers having the same base name of 'meta'.
e.g. meta layer from oe-core and meta layer from meta-secure-core.
We should at least give user a warning in such case. With the patch,
we will get warning like below.
WARNING: Multiple layers have the same base name 'meta', use the first one '<PROJ_DIR>/oe-core/meta'.
WARNING: Consider using path instead of base name to specify layer:
<PROJ_DIR>/oe-core/meta
<PROJ_DIR>/meta-secure-core/meta
(From OE-Core rev: 2c8740f543c38dbaef3345e40827ef48b3f75405)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
populate_packages relies on ``mkdir`` to both create a directory and set
its permissions. However, ``mkdir`` honors the ``umask`` value.
Therefore, some bits may be lost in the operation. In our case, the
setgid bit on the directories were lost.
This commit fixes this by having a distinct call to create the directory
and to set the permissions.
(From OE-Core rev: 0f82b53a650e76e0129fae6ce7581a41d042315b)
Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@easymile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to ensure the existing processes shut down had a clear copy
and paste error. This really fixes syslog to avoid errors on restart.
(From OE-Core rev: 9f674a88c781c7092d5b3460922a1579b9fe4bf9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a loaded builder we've seen the log message not make it to the log file
before the ssh command completes. Add a short delay to try and ensure
this does happen. There is unforunately no way to flush syslog in all
cases we test.
(From OE-Core rev: 66322b689e46520647e2d94d5e3f3ce282a41247)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd-journald process doesn't restart/change the way syslog
does, don't test/error in this case.
(From OE-Core rev: be48190dca0643df4881624d29c2eae453395919)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful to test whether the restart command returned an error code and
exit early from the test if so.
Also add different messages to tell if the syslog processes didn't
die or didn't restart.
(From OE-Core rev: f19e95b8571a0d8213c4dec0da056e3d243fbbd1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing races on the autobuilder where syslogd fails to shut down
fast enough to be restarted leading to failures.
Add some checks to ensure when restarting that processes exit before
being restarted.
(From OE-Core rev: 04de384256ad321834cf5e3dbb9a8d3ea2ab66c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In testing we're seeing sysklogd fail to restart klogd since the original
process hasn't stopped before the new one is started. This means a restart
can result in no process running which is clearly not desireable.
Add extra code to ensure this works correctly. Busybox start-stop-daemon
seems particularly open to this kind of issue, the dpkg version maybe
less so if timeout options are used (which we don't use).
(From OE-Core rev: dc1fcb61f7d89cd066ace2edc143e7a2d329e033)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
syslogd and klogd can occasionally take too long to restart, which
causes tests to fail by starting before the log daemons are ready. To
work around this problem, poll for up to 30 seconds on the processes to
verify the old ones are killed and the new ones are up and running.
Similarly, add checks for rsyslogd and systemd-journald to possibly
catch issues with those daemons.
[YOCTO #13379]
(From OE-Core rev: dc73872b828ea271678fa624c15199364a5cba9e)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With postgresql added to IMAGE_INSTALL, we will get the following
error when building for 64bit BSPs.
Problem: package postgresql-11.3-r0.corei7_64 requires libperl.so.5()(64bit), but none of the providers can be installed
A previous patch has added libperl.so.5 to DUMMY_PROVIDES, but this
is not enough. Because for 64bit BSP, it should also provide libperl.so.5()(64bit).
(From OE-Core rev: ae1414fcbe41a70a56021c4d240976dae0adad33)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake core-image-minimal
update-alternatives: libtool has multiple providers with the same priority,
please check
/path/to/rootfs/usr/lib/opkg/alternatives/libtool for details
Both libtool and lib32-libtool have the same priority (as they're the same
recipe), so update-alternatives won't deterministically pick a provider. This
means you could end up with an image using a 32-bit pkgconfig and 64-bit
libtool, for example.
Make extended recipes reduce priority by 1 (or 2, 3 ... when there are multiple
variants in MULTILIB_VARIANTS) to fix the problem.
[YOCTO #13418]
(From OE-Core rev: a2f53255ed7fb3657c470cd6a4452d883edd11cc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update-alternatives.bbclass' postinst script runs firstly before other
postinst, but busybox needs set basic tools such as sed command firstly,
otherwise, update-alternatives doesn't work, so run busybox' postinst firstly
to fix the problem.
(From OE-Core rev: 3a035bd0a06a6ded4d0ce7e35a3bce42245727d2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes like postfix run command newaliases in postinst, but newaliases is
installed as newaliases.postfix, it needs run update-alternatives to update it
to newaliases, so there was an error when installed postinst on target.
Fixed:
$ opkg install postfix
Configuring postfix.
///var/lib/opkg/info/postfix.postinst: line 4: newaliases: command not found
Run update-alternatives firstly will fix the problem.
(From OE-Core rev: 52c36dd869c605c0065c17f9ed502a319ce3dd84)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream stopped using it in 2010.
(From OE-Core rev: 3583b713884ad7ce39f91b072dc22b8c9730eabd)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream stopped using it in 1.2.6.
(From OE-Core rev: b9353d6fbcd36a671e02bb849553a3791270c742)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream stopped using it in 2008.
(From OE-Core rev: 5a73ba641f2fad8d0afa954e7c1a7d199263fbe0)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KERNEL_VERSION gets expanded at runtime to contain the real kernel
version. There is code to ensure the signatures are determinisic but
the multilib expansion code breaks this.
Exclude the variable from the datastore used for expansion to avoid this.
(From OE-Core rev: c068f907fee16477f59b6e5b168208aa4f677544)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building lttng-modules for a "lib32" multilib, then changing to a "lib64"
multilib with "lib32" removed doesn't rebuild lttng-modules.
This is due to the multilib pieces in RPROVIDES being added after RecipeParsed
which is after the signatures are generated.
Changing this to RecipeTaskPreProcess allows the multilib components to be
accounted for correctly in the task hashes.
This addresses failures on the autobuilder seen in lib64-core-image-sato-sdk
builds where lttng-modules was being reused from qemux86 world build's lib32
version.
(From OE-Core rev: a8dc13d4e4e34b061be5c2dd71f26cc0ad92a72e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Way back in
http://lists.openembedded.org/pipermail/openembedded-core/2014-April/210138.html
a few of us discussed not exporting TARGET_LDFLAGS. There seemed to be
support for this idea, and I modified our tree to not do so. I then seem to
have dropped the ball. :( We've been running like that for over five years,
and not observed any problems.
It seems sensible to stop exporting TARGET_CPPFLAGS, TARGET_CFLAGS and
TARGET_CXXFLAGS too.
I've successfully compile-tested core-image-minimal and core-image-sato for
x86_64 and qemuarm64 with these changes.
(From OE-Core rev: 1b1ab93408c3ba72f855b2f4a028f1a917e9b551)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't just test that we can build the cross-compiler, but test that it actually
can cross-compile some Fortran.
The quadmath dependency is now handled in gcc-runtime and isn't needed in this
test (as per local.conf.sample.extended changes).
There's also no need to build libgfortran explicitly, as fortran-helloworld depends on it.
(From OE-Core rev: 4b43c655ed5ff8b9d2662730526811220b21ff8c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For future runtime testing something more complex is preferred but this is
sufficient to exercise the cross compiler.
(From OE-Core rev: 7d5f39ca717fa1caea357a4366bbf106386432c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop 0001-libopkg-add-add-ignore-recommends-option.patch
- Drop 0001-opkg-add-target-for-testsuite-installation.patch
- Drop 0001-regress-issue72.py-resolve-paths-before-comparision.patch
- Remove test binaries tests\libopkg_test, leftovers from make dist
process
(From OE-Core rev: b14c17e9b1992a7f6c9acfa9ee82037325163b31)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intercept is called update_icon_cache which is vague: rename to
update_gtk_icon_cache to make it clearer what it is for, and add a comment
explaining what class caused it to be used.
(From OE-Core rev: 3158adbe684890adc56af11e19af872e90e09d41)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It doesn't seem to be used.
(From OE-Core rev: 70fa25399503bd43da28d9d98765d354543c8975)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. mdadm: No mail address or alert command - not monitoring
fixed by use option -y to cause all events to be reported
through 'syslog'.
2. cannot create pid file: No such file or directory
fix by create dir before starting.
(From OE-Core rev: d18c937918ec3553cb98743088a37ff080af2491)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
- A bug with Visual Studio 2019
- An issue with target_link_libraries and PRIVATE
- An issue with include_directories
(From OE-Core rev: 116e876ffdb32d107271bb35e15a5ad951f64f65)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adduser in busybox and adduser under meta-openembeded have different
behavior, adduser under meta-openembeded need Interactive Input like
below if you manually run ptest.
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
...
remove the "Interactive Input" by add --gecos "" to align the behavior
also it is better for automation without interactive input
(From OE-Core rev: dd1fb3acf58d9a8d5194941976cad37f88ab2fdf)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of generating a series of indexes via range(len(list)), just iterate the
list.
(From OE-Core rev: 27eb839ee651c2d584db42d23bcf5dd764eb33f1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
urllib3 was used in this recipe but it was not set as a
dependency. As it is not specifically needed, rewrite the recipe with
urllib from the standard library.
(From OE-Core rev: c0eabd30d7b9c2517f4ec9229640be421ecc8a5e)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the scsi-debug fragment to include the core scsi config
options. This allows standalone use of the fragment, since all
supporting options will be enabled simply by including the top
level config in a BSP.
This also removes a configuration warning on qemuarm, since we
will no longer have missing / unavailable options during the
config audit.
(From OE-Core rev: c65826e96a77928938fef69fc0cbc65ec7431cb2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been fixed in the GCC recipe, so remove from
local.conf.sample.extended.
(From meta-yocto rev: f19f3a7a5286cabf42a0f6d0ea8f7841dc043324)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that libmodule-build-perl has moved into oe-core,
make sure it is being tested on the autobuilder.
(From OE-Core rev: 91c4328e9b8d95a2e1b6d85dd7d266150ed6dd12)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash has an internal "build number" that it tracks and automatically
increments ever time a given builds is made from the same sandbox.
However, this can make builds non-reproducible in the event that a build
directory is reused multiple times.
Remove the .build files after every build if reproducible builds have
been requested which will reset the build build number for the next
build.
(From OE-Core rev: 9754be5c22de877bd53226908d03d2eef5751808)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies two patches that are required to improve the reproducibility of
builds.
(From OE-Core rev: 9297cabb0aca8212d3cc74f8d26e43abc02ded87)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reformats the sysconfig file when packaging. This file is output by
using the python pprint function. This function will wrap long lines at
80 characters by default, and will even split strings at whitespace
boundaries to do so, e.g.:
'A': 'B is really'
' long'
This causes a problem for reproducibility however because there might be
lines of differing lengths depending on the build path. These
non-reproducible paths are removed, but their effect on string wrapping
from pprint remains.
To correct this, reformat the entire sysconfig file by re-printing using
pprint with an (effectively) unlimited line length.
(From OE-Core rev: ec8a2b310d5f0b42f60898a5c6d239949842b34c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As pigz is compatible with gzip, but better performing, if it is installed it
should be used by default. Currently gzip has priority of 100 but pigz has
priority of 80, so gzip is still used by default.
Change the pigz priority to 110 so that it wins of gzip.
(From OE-Core rev: 808792122751714de3ba25e463fd8b2709581cfc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since
commit b071a1a209556158bcfcc20e3c8bd4b15373767c
Author: Changqing Li <changqing.li@windriver.com>
Date: Tue Jun 18 15:46:56 2019 +0800
gcc-runtime: fix C++ header mapping for n32/x32 tune
gcc-runtime.do_install is failing with:
ln: failed to create symbolic link 'work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oe-linux-gnueabi/bits': No such file or directory
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_install (log file is located at work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/temp/log.do_install.31049)
There is only empty directory without the -gnueabi suffix:
work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oe-linux/
and
work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oemllib32-linux-gnueabi/
bits ext
* make sure to create correct directory (with -${TARGET_OS suffix instead of -linux suffix)
before creating the symlinks in it
(From OE-Core rev: 41cbf5dc203ba74b06cb4890e1022f3f02fbd6fd)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default GOCACHE is set to $HOME/.cache.
Fixes:
ERROR: go-cross-dbfp4-1.12.1-r0 do_compile: Function failed: do_compile (log file is located at /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120)
ERROR: Logfile of failure stored in: /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120
Log data follows:
| DEBUG: Executing shell function do_compile
| Building Go cmd/dist using /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/recipe-sysroot-native/usr/lib/go.
| failed to initialize build cache at /home/pokyuser/.cache/go-build: mkdir /home/pokyuser/.cache: permission denied
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120)
ERROR: Task (/workdir/repo/poky/meta/recipes-devtools/go/go-cross_1.12.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 23 tasks of which 16 didn't need to be rerun and 1 failed.
(From OE-Core rev: 9a6d208b9979035bbfc1def80fb6558db4bddb12)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d has added support of enable/disable options, which are
expected to keep the previous configuration even after upgrade the packages.
With support for these options, it will only create start/stop link
when there are none, or it will keep the previous configuration.
Our preinst uses "-f remove" to remove any links under the /etc/rcrunlevel.d
which is conflicting behavior with disable/enable options, so remove it.
For example, if a user disabled one service before upgrade,
then after upgrade the service could be started. This happens because during preinst,
all links have been deleted, then postinst may create the link to start service.
With this change, we remove preinst and therefore keep the previous links
so that after upgrade, if a link existed for the package, then the postinst
will not create new start/stop links.
* remove '-f' for postinst. Previously, the keepalived recipe used 'remove'
during postinst, so we needed the -f, but now the keepalived recipe has fixed
this problem, so it's safe to remove '-f'.
[Yocto #12955]
(From OE-Core rev: 7981d5261429cfb06030280460086f9af91876d9)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This pulls in updates to add enable/disable support.
The license is unchanged, code just changed to use an SPDX license
identifier.
(From OE-Core rev: 01df28021baebf6abe25eb5824e0ff45fded88bc)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, even if we have specified to skip the whole module/class via
command line, e.g., `oe-selftest -R gotoolchain', the class setup method
is still run. This at least results in unnecessary builds, and at worst
results in ERROR, if the setup method fails.
So improve the skipping mechanism to avoid class setup method to run
when specified to skip.
(From OE-Core rev: b0b79bf65f5e5e65958090a4a88622b42df896bf)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently `oe-selftest -R a' will skip 'archiver' tests. This is
not expected. Fix it so that the '-R' should be followed by actual
module/class/test names.
(From OE-Core rev: de3b070fc2ddd0b63a324679ec5adbe30142fc22)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enhances dropbear with a new feature "disable-weak-ciphers", on by default.
This feature disables all CBC, SHA1, and diffie-hellman group1 ciphers in
the dropbear ssh server and client.
Disable this feature if you need to connect to the ssh server from older
clients. Additional customization can be done with local_options.h as usual.
Tested: On dropbear_2019.78.
Upstream-Status: Inappropriate [configuration]
(From OE-Core rev: b11521ce1b1d1f8b4dddf830b41f5ea809730d22)
Signed-off-by: Joseph Reynolds <joseph.reynolds1@ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes a few reproducibility issues in the perl ptest package:
1) config.log has a lot of paths encoded in it. This file is
unnecessary for ptest, so it is omitted from the package
2) Makefile.config has a lot of paths encoded in it. This file should
be fixed up using the same rules as several other files that are in
the package
3) Paths in DEBUG_PREFIX_MAP are not being correctly removed from files
because DEBUG_PREFIX_MAP is now several command line arguments.
Instead of requiring an exact match for all arguments, remove any
matching argument.
(From OE-Core rev: 04454faadf5cf18c054c98803380393db42646c4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unchanged patch from glib.git which was added after current release.
(From OE-Core rev: 59ded76363aec9289a007baca52a33b463e02e47)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this is just another test case for issue already fixed in:
commit fef56d28c3efec4876c379898cbc4d4c65303aee
Author: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Sun Feb 24 21:07:28 2019 +0100
Subject: bitbake: fix version comparison when one of the versions ends in .
* The TypeError is triggered not by '.' at the end, but from the extra
numberic component in one of the versions.
* When one version has fewer elements, it's extended by another (0, None)
element where 0 means numeric component. Then the result cannot be
decided by comparing the types (oa < ob, ob > oa) and it continues
to compare values (ca < cb) which fails when one of them is the None
from (0, None) appended before.
======================================================================
ERROR: test_vercmpstring (bb.tests.utils.VerCmpString)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/bb/tests/utils.py", line 32, in test_vercmpstring
result = bb.utils.vercmp_string('1a', '1a1')
File "lib/bb/utils.py", line 131, in vercmp_string
return vercmp(ta, tb)
File "lib/bb/utils.py", line 123, in vercmp
r = vercmp_part(va, vb)
File "lib/bb/utils.py", line 112, in vercmp_part
elif ca < cb:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
----------------------------------------------------------------------
Ran 3 tests in 0.002s
(Bitbake rev: 9767fffe3115a1f1afa3c6a2b39720fefb8dc4d5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
t6001-psep should check for device manager the same way as
other ptests for parted -- look for an environment variable.
(From OE-Core rev: c724a2feaef9030718742c02cb7da5a976e6b6e4)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling PGO for python current causes it to not be reproducible when
building, so disable it for now.
(From OE-Core rev: e53ebf297c86bba727e075c44c595beb061dbfc8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Follow the python3 behaviour, and common sense, by making 'python' install
python-modules instead of python-core. This means a user installing python gets
all of Python, instead of just a fraction of the library.
[ YOCTO #13402 ]
(From OE-Core rev: 778a6b4bf6aa9d0941d52ee05e14b061b659b3df)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When build lib32-qemu for qemumips with multilib:
require conf/multilib.conf
MACHINE = "qemumips64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips"
it fails to compile capstone:
| CC arch/AArch64/AArch64InstPrinter.o
| {standard input}: Assembler messages:
| {standard input}:36033: Error: branch out of range
| {standard input}:36257: Error: branch out of range
Disable capstone for mips o32 in this situation as a workround.
(From OE-Core rev: d741ebf346f265e331722369c8260a0a7af9e8e2)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2.6 release contains both libcrypt.so.1 and libcrypt.so.2 which fixes
compatibility with recent fedora/suse releases.
The difference is one is built with obsolete APIs enabled and one disabled.
We now ship both in uninative for compatibility regardless of which distro
a binary is built on.
(From OE-Core rev: 71ae975c49881174c2cb2a07c66e8468a27e7ac1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed do_configure error when use linux-dummy:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
/bin/sh: bison: command not found
Build make-mod-scripts doesn't make sense when use linux-dummy, but it breaks
"bitbake world", so add bison-native to DEPENDS to fix the problem.
(From OE-Core rev: 4301d533512669834282a6ba43ae8e266a79fe22)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
$ bitbake world
ERROR: Task do_compile in make-mod-scripts_1.0.bb depends upon non-existent task do_compile_kernelmodules in linux-dummy.bb
ERROR: Command execution failed: Exited with 1
(From OE-Core rev: 2e8687174e399bb42e935cd74e08e0da67775704)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some package such as vim depends on iconv.
Without iconv, vim-common which is the
sub-pakcage of vim may include different files
as failed to use iconv to generate the *.po file.
(From OE-Core rev: a7d3650e346e8a6c2c27c567c4c0bf6a47b47317)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
# 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.")
msg=msg+'\nIf this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:\nSRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"\nOtherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.\n'%(ud.md5_name,md5data,ud.sha256_name,sha256data)
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))
s=s[:-1]+s2
# skip comments
ifs[0]=='#':
continue
feeder(lineno,s,abs_fn,statements)
s=f.readline()
ifnots:
break
w=s.strip()
# skip empty lines
ifnotw:
continue
s=s.rstrip()
whiles[-1]=='\\':
s2=f.readline().rstrip()
lineno=lineno+1
if(nots2ors2ands2[0]!="#")ands[0]=="#":
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))
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.