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>
2020-07-29 00:21:40 +01:00
172 changed files with 2429 additions and 1721 deletions
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.2/bitbake-user-manual/bitbake-user-manual.html" target="_top">BitBake User Manual</a>@BitBake User Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.2/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.2/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.2/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.2/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.2/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.2/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.2/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.3/bitbake-user-manual/bitbake-user-manual.html" target="_top">BitBake User Manual</a>@BitBake User Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.3/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.3/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.3/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.3/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.3/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.3/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1.3/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
# Process a single, rouge occurrence of a linked reference to the Mega-Manual.
# TEST_LOG_DIR contains a command ssh log and may contain infromation about what command is running, output and return codes and for qemu a boot log till login.
# Booting is handled by this class, and it's not a test in itself.
# TEST_QEMUBOOT_TIMEOUT can be used to set the maximum time in seconds the launch code will wait for the login prompt.
# TEST_OVERALL_TIMEOUT can be used to set the maximum time in seconds the tests will be allowed to run (defaults to no limit).
# TEST_QEMUPARAMS can be used to pass extra parameters to qemu, e.g. "-m 1024" for setting the amount of ram to 1 GB.
# TEST_RUNQEMUPARAMS can be used to pass extra parameters to runqemu, e.g. "gl" to enable OpenGL acceleration.