Lee Chee Yang [Thu, 19 Nov 2020 11:00:33 +0000 (19:00 +0800)]
python3: whitelist CVE-2020-15523
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
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a91d2b7d463abfd8f39a9f9d5ddde40a939d6e3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fd180d21ec907726b2fcd7709b93cb8e464390d5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
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.
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>
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.
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>
Mark Jonas [Thu, 12 Nov 2020 19:28:10 +0000 (20:28 +0100)]
libbsd: Remove BSD-4-Clause from main package
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.
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>
Steve Sakoman [Tue, 10 Nov 2020 17:34:01 +0000 (07:34 -1000)]
openssh: whitelist CVE-2014-9278
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.
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>
Denys Zagorui [Wed, 11 Nov 2020 11:03:10 +0000 (11:03 +0000)]
binutils: reproducibility: reuse debug-prefix-map for stabs
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.
Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Konrad Weihmann [Tue, 10 Nov 2020 19:20:16 +0000 (20:20 +0100)]
testimage: print results for interrupted runs
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
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>
Konrad Weihmann [Tue, 10 Nov 2020 19:20:15 +0000 (20:20 +0100)]
oeqa/core/context: initialize _run_end_time
with _run_start_time as value. For partial results of interrupted runs,
this info might be otherwise missing for at least one testcase
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>
Konrad Weihmann [Tue, 10 Nov 2020 19:20:14 +0000 (20:20 +0100)]
oeqa/core/context: expose results as variable
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
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>
clutter-gst-3.0: do not call out to host gstreamer plugin scanner
This is host contamination and can also fail for all kinds of
reasons when running under usermode qemu.
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>
Ross Burton [Wed, 4 Nov 2020 12:02:50 +0000 (12:02 +0000)]
syslinux: add link to upstream discussion in patch
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfc2b114e9d62f0eee04129009a24a8edb2a8dd1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Gratian Crisan [Thu, 5 Nov 2020 21:39:56 +0000 (15:39 -0600)]
kernel-module-split.bbclass: identify kernel modconf files as configuration files
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.
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>
Richard Purdie [Thu, 29 Oct 2020 22:14:53 +0000 (22:14 +0000)]
alsa-utils: Fix license to GPLv2 only
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9a17a991174b732597e21045763ea851f486a01) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 29 Oct 2020 21:45:47 +0000 (21:45 +0000)]
libdnf: Fix license as it contains 'or later' clause
The license headers are clear that the code is "or later", fix LICENSE
to match.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e565e0b908c71ad5106d1c6c73d269b819787e55) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Thu, 29 Oct 2020 21:31:50 +0000 (21:31 +0000)]
ptest-runner: Fix license as it contains 'or later' clause
The license headers are clear that the code is "or later", fix LICENSE
to match.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f0b5cdfcb104ac50222a47652e090ad8770e49f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ricardo Salveti [Mon, 2 Nov 2020 22:34:29 +0000 (19:34 -0300)]
dosfstools: add mkfs.vfat to ALTERNATIVE
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).
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>
Yongxin Liu [Wed, 4 Nov 2020 00:43:33 +0000 (08:43 +0800)]
grub: clean up CVE patches
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.
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: 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>
* services: added isakmp (500/udp) which was removed by mistake in
[YOCTO #14084]
Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8a09c2fcf2f8c91b7e3fea16f5c484e56187bbf) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Max Krummenacher [Mon, 19 Oct 2020 23:06:08 +0000 (01:06 +0200)]
linux-firmware: package nvidia firmware
Add packages for the firmware required by the Nvidia chipsets.
Split it in Tegra K1, all other Tegras and desktop GPU packages.
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>
Max Krummenacher [Mon, 19 Oct 2020 23:06:07 +0000 (01:06 +0200)]
linux-firmware: package marvel sdio 8997 firmware
Add package for the firmware required by the Marvell 8997 chipset when
connected over SDIO.
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>
Neil Armstrong [Fri, 16 Oct 2020 14:28:14 +0000 (14:28 +0000)]
linux-firmware: add Amlogic VDEC firmware package
Add package for the Amlogic VDEC firmwares.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aeb014b50433f254ced275711bee940cde9c1c8a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
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.
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>
meta: fix some unresponsive homepages and bugtracker links
remove some extra whitespaces
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 32ce3716761165b9df12306249418645724122cc) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2895e3e4eabca64cbcc8682e72d25026df5e5f0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Mark Jonas [Mon, 2 Nov 2020 08:34:40 +0000 (09:34 +0100)]
libsdl2: Fix directfb SDL_RenderFillRect
Refactoring of SDL2 internal API has broken SDL_RenderFillRect for
DirectFB. The problem has already been fixed upstream.
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>
Mark Jonas [Mon, 2 Nov 2020 08:34:39 +0000 (09:34 +0100)]
libsdl2: Fix directfb syntax error
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.
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>
Mark Jonas [Tue, 29 Sep 2020 18:06:59 +0000 (20:06 +0200)]
Map license names PSF and PSFv2 to PSF-2.0
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.
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>
Mark Jonas [Tue, 29 Sep 2020 18:06:58 +0000 (20:06 +0200)]
Add license text for PSF-2.0
Signed-off-by: Mark Jonas <toertel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37983b3706bda0c466e7e99e1d088089854f5648) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Yann E. MORIN [Wed, 28 Oct 2020 15:47:56 +0000 (16:47 +0100)]
recipes-core/busybox: fixup licensing information
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.
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>
Yann E. MORIN [Wed, 28 Oct 2020 15:47:55 +0000 (16:47 +0100)]
common-licenses: add bzip2-1.0.4
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.
Changqing Li [Wed, 28 Oct 2020 08:42:48 +0000 (16:42 +0800)]
timezone: upgrade to 2020d
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 365787658cffc3b2dedb88db311a33012be9d70d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Wed, 29 Jan 2020 17:28:46 +0000 (17:28 +0000)]
sstatesig: Log timestamps for hashequiv in reprodubile builds for do_package
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 11e8200ccec765ff6a4263e06512e5751eca261a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* 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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Martin Jansa [Sat, 31 Oct 2020 23:45:32 +0000 (00:45 +0100)]
lib/oe/patch: GitApplyTree: save 1 echo in commit-msg hook
* 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
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>
Martin Jansa [Sat, 31 Oct 2020 23:45:31 +0000 (00:45 +0100)]
lib/oe/patch: prevent applying patches without any subject
* 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:
https://github.com/OSSystems/meta-browser/blob/311067d2d8a50cee5c836892606444f63f2bb3ab/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.
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>
Richard Leitner [Fri, 30 Oct 2020 13:45:51 +0000 (14:45 +0100)]
xcb-proto: backport fix for python gcd function
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)
Switch to using (mostly) standard autotools build.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d13e2713efd5f6cbdc6cf1f86edd0b336ba3ba2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Mon, 26 Oct 2020 18:01:06 +0000 (18:01 +0000)]
glib-2.0: fix parsing of slim encoded tzdata
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 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Mon, 19 Oct 2020 12:50:19 +0000 (13:50 +0100)]
oeqa: Add sync call to command execution
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ceca5ed121e2b54415a7ab3a217882e4ea86923a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Victor Kamensky [Mon, 19 Oct 2020 22:21:46 +0000 (15:21 -0700)]
qemu: change TLBs number to 64 in 34Kf mips cpu model
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.
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>
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]
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>
Martin Jansa [Sat, 17 Oct 2020 09:27:12 +0000 (11:27 +0200)]
siteinfo: Recognize bigendian sh3be and sh4be
* 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
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>
Martin Jansa [Sat, 17 Oct 2020 09:27:11 +0000 (11:27 +0200)]
siteinfo: Recognize 32bit PPC LE
* since this commit, all powerpc little-endians (both 32bit and 64bit) use "le" suffix:
commit b6ac40f1cbabb20896bf113568f7735a462ed1a6
Author: Khem Raj <raj.khem@gmail.com>
Date: Sun Dec 29 10:44:03 2019 -0800
powerpc, powerpc64: Append little-endianness to tune arch
* 64bit variants were already fixed in:
commit e62cdb9b88b575b5cfcdd65ca558edc237c43b2a
Author: Khem Raj <raj.khem@gmail.com>
Date: Sun Dec 29 10:44:02 2019 -0800
Parsing recipes...
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/debianutils/debianutils_4.11.1.bb: Unable to determine endianness for architecture 'powerpcle'
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/debianutils/debianutils_4.11.1.bb: Please add your architecture to siteinfo.bbclass
...
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a31436f38da27883b42810adf3066ea498ca4a5d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Changqing Li [Fri, 16 Oct 2020 02:40:25 +0000 (10:40 +0800)]
toolchain-shar-extract.sh: don't print useless info
useless info "gcc: command not found" is printed when run
buildtools-extended on system without gcc.
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>
Martin Jansa [Fri, 16 Oct 2020 10:00:40 +0000 (12:00 +0200)]
tune-riscv.inc: use nf suffix also for TUNE_PKGARCH
* 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).
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>
* 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).
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>
Martin Jansa [Fri, 16 Oct 2020 09:55:30 +0000 (11:55 +0200)]
tune-mips64r6.inc: fix typo in mipsisa64r6-nf
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63cf38058283395eca1324a2c68701218a2a3768) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* 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
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>
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).
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>
Yoann Congal [Fri, 9 Oct 2020 07:15:45 +0000 (09:15 +0200)]
bitbake-bblayers/create: Make the example recipe print its message
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.
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>
Richard Purdie [Fri, 9 Oct 2020 14:08:53 +0000 (15:08 +0100)]
oe-build-perf-report: Ensure correct data is shown for multiple branch options
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c263d810b7eb47ee90f2adeb5ab6decf7332bec2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Fri, 9 Oct 2020 13:43:34 +0000 (14:43 +0100)]
scripts/oe-build-perf-report: Allow operation with no buildstats
If buildstats is missing, avoid a backtrace.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23c4b21f947c7aae1303ca6526fc5aaaa9fc7bb8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Tue, 6 Oct 2020 19:04:33 +0000 (15:04 -0400)]
linux-yocto/5.4: update to v5.4.69
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()
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>