We don't want cross-canadian to see the native BBCLASSEXTEND as that
generates a recipe which makes no sense. Avoid this.
(From OE-Core rev: f3648d18c4e05f38053bb1fd73796a6e05d61928)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The oeqa selftest test:
sstatetests.SStateTests.test_sstate_sametune_samesigs
which checks if the sstate checksums of two identical machines
(using the same tune) are the same, apart from changes within
the machine specific stamps directory, fails on the assertion:
self.assertCountEqual(files1, files2)
due to the signature of various 32 bit package builds such as:
x86_64-linux/lib32-rust-cross-i686
x86_64-linux/rust-cross-i686
x86-pokymllib32-linux/lib32-libstd-rs
x86-pokymllib32-linux/lib32-rust
differing. Jumping down the rabbit hole past all the bitbake-diffsig
outputs that differ due to dependent hashes, you come to a diff of:
-Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}
+Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}:qemux86
in
stamps/x86_64-linux/rust-cross-i686/1.54.0-r0.do_rust_gen_target.<sig>
This is because there are two rust functions referencing OVERRIDES
related variables (target_is_armv7 and llvm_features_from_tune). These
indirectly influnce the build and should be excluded from the signatures
directly as is done in other toolchain recipes, e.g.:
39bfa0dd32 recipes/*-cross recipes: ignore TARGET_ARCH sstate hash
(From OE-Core rev: 72d67410e92207a98a801ddf0cb9f1297a752975)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We typically only have one version so remove the older
rust toolchain. This also fixes a maintainers oe-selftest.
(From OE-Core rev: d8ff9672d2686801d535a91fa28a92e38d8f0409)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the test_sstate_noop_samesigs oe-selftest that
produces an error like:
core2-64-poky-linux/libstd-rs/1.54.0-r0.do_configure.sigdata differs:
basehash changed from <hash-a> to <hash-b>
Variable http_proxy value changed from '' to 'http://example.com/'
by simply removing the proxy config option. This may be added back
after merge to oe-core if needed and if the diffsigs check passes.
(From OE-Core rev: 81ad8aceaacda726361e953778294de20eeac24e)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The glibc build of "rust-hello-world" throws error in libstd-rs package.
error: unrecognized arch "powerpc64le" in target specification
The same got fixed by changing the arch to "powerpc64".
(From OE-Core rev: 1a28dd447c248f6b7f0efd121160ac798e2abf0c)
Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I'm willing to do the rust package maintenance but
if anyone else wants to sign up, that would be welcome.
(From OE-Core rev: 531d86cf1e11b034e23d1b682e475c1dde7b1a20)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cargo, rust, and rustfmt can't be built for the targets yet
so exclude them from world builds.
(From OE-Core rev: 3ade1015b5bbd6aac9dd9974a6a5712958a5f5ed)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Provide the full link to the meta-rust issue since
the README is no longer part of meta-rust.
(From OE-Core rev: 11cb8e67f356d4758c3aae0e5851a44256459e77)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import the meta-rust/README.md but relocate and rename it.
(From OE-Core rev: a36b43187f9b78c279bdbd0ee9c6f7063a0e7cc7)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has converted from gtk-doc to gi-docgen.
(From OE-Core rev: 7fc1ca1edc9ab6eca7a57588397607b86beb3f07)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop merged 0001-correctly-use-3-parameters-for-close_range.patch
(From OE-Core rev: 592335a75dbf28d2e3c5f0c62ad96d38420ae1f9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This lengthens dependency chains unnecessarily;
also -native versions are already included in DEPENDS via binutils.inc:
DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"
I have also checked that nothing in binutils needs anything from target
sysroots of flex/bison:
https://lists.openembedded.org/g/openembedded-core/message/155131
(From OE-Core rev: 8e9d3b5c8c994d307b2cca6a053b29403af9d5ef)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch was updated
with the 2.13.0 update (commit 5dad15af), but unfortunately it no
longer did what it was intended to do. There is also
0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch, which
was based on the former patch, but it too does not solve the problem.
Unify the two patches, and actually disable building of the kernel
module if CONFIG_TRACEPOINTS is not enabled, the way it was intended.
(From OE-Core rev: f2411917c09a31d154d29060f6c7e4ce7d544fc7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This false positive keeps showing up in our testing but the fix isn't
yet a part of a tagged release, and it is probably too late for doing
an uprev for the fall release anyway.
(From OE-Core rev: f216d7e3e7eb94f53a69e25c805344b04ada60f5)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.61 includes a fix for CVE-2021-3658 (bluez: adapter incorrectly
restores Discoverable state after powered down), as well as other
fixes.
>From the changelog:
ver 5.61:
Fix issue with A2DP while waiting for command response.
Fix issue with A2DP when SetConfiguration fails.
Fix issue with device removal handling.
Fix issue with storing discoverable setting.
Add support for Central Address Resolution characteristic.
Add support for admin policy plugin.
(From OE-Core rev: 5f87fbf13bd35169a488ca564875974681aafd4f)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix
that works around this issue.
(From OE-Core rev: dd3e46a043c81cd4d81731a0f691868d3c059742)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was caused by intermittent reproducibility problems.
(From OE-Core rev: dd7c61ecd79f1439ae20d66cda32c2beb5daf0de)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is probing into what options the /usr/bin/file executable does
and does not support and bakes that into target binaries, so we
need to use a deterministic one we build ourselves.
(From OE-Core rev: 91bb0c4180b0e788b4483f836478b7de948029a0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is a follow on of the the PR server rework in bitbake to add
read-only support. The shift to using the bb.asyncrpc code in the PR
server and client brings issues with respect to reuse of the same
asyncio loop in different processes. This patch removes the PR service
connection caching to avoid one source of this problem. It is believed
that in practice this should have little impact on overall performance.
(From OE-Core rev: 0fc3055027e2a76ac863f1c0e0d52e95748066aa)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is particularly useful for llvm-accelerated GL rendering from qemu guest to
an offscreen buffer (accessible over vnc or spice) using llvmpipe on the
host, rather than using unaccelerated swrast renderer in the guest.
This is the best that can be done in the absence of a host GPU with render node
support (such as old Matrox cards common in servers, or fully virtualized cloud
environments with no GPU at all).
Note: even though NVidia blob drivers do support render nodes, they do not
support gbm (yet?), and so rendering will fall back to llvmpipe as well even when
the system has a 3000 euro NVidia GPU. Cue Linus picture.
(From OE-Core rev: 9b1daa173481f7f560e00e0dc22b4010ff1dc0ec)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: new firmware files, copyright years, file names
(From OE-Core rev: bfceaba4f38771047dfdfdfdbf16b794006dfd78)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop big-inodes-for-small-fs.patch: upstream made the same fix.
Drop 0001-lib-ext2fs-unix_io.c-do-unlock-on-error.patch
0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
(upstream has fixed the issue).
Add 0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
to correct a ptest failure due to incorrectly expected inode size
(recent change that wasn't run against the tests upstream?).
(From OE-Core rev: a4fc0af1050e5e0cc3d241279b92ea8c75aeeb8e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports.
(From OE-Core rev: 29bf058368e4a6336b74d9aa6880d3176cadb913)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch as issue fixed upstream.
(From OE-Core rev: 51ce88191ff3161935b23a4df9805338e4553c5b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch as issue fixed upstream.
(From OE-Core rev: f5ff6ae84dbb11a4f3cfff463b7bc5b0a8046048)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxi is a new requirement.
(From OE-Core rev: fbd4ba957f23970f7b42bdfa01939a3865a5dba4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch changes are all git rearranging chunks on rebase; there are no functional changes.
(From OE-Core rev: 88cfba0762fe3bb6f593901f9a673b373534b756)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virtual/crypt is a hard dependency in meson builds.
ipv6 support is determined automatically.
The rest of the options are converted where available;
not every autoconf option exists in meson.
Modules are now packaged in /usr/lib/lighttpd, so adjust packaging accordingly.
(From OE-Core rev: a0a34524016050a78cb49d6657fcca5a2261d7fe)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file /usr/include/bits/pthread_stack_min.h conflicts between attempted installs of libc6-dev-2.34-r0.aarch64 and lib32-libc6-dev-2.34-r0.armv7ahf_neon
(From OE-Core rev: 40d131ff65d36022ca604d1153c5948eb888a2e3)
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream "fast" tests (tests/cover and tests/pytest) take over
5 minutes to run and do not run cleanly. They also add dependency
on python3-pexpect and python3-ptyprocess (currently in meta-python).
The tests are also not included in the pypi tarball, so it would
require use of git fetcher and other invasive changes to the recipe,
including dropping the pypi inherit.
Instead, use two test suites from examples/
References:
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/testshttps://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/examples
(From OE-Core rev: 1c7f6f444fdcb859a37d3b51a8d47260834d01db)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6.15.0 - 2021-08-22
This release emits a more useful error message when @given() is applied to
a coroutine function, i.e. one defined using async def (issue #3054).
This was previously only handled by the generic return_value health check,
which doesn’t direct you to use either a custom executor or a library such
as pytest-trio or pytest-asyncio to handle it for you.
6.14.9 - 2021-08-20
This patch fixes a regression in Hypothesis 6.14.8, where from_type() failed
to resolve types which inherit from multiple parametrised generic types,
affecting the returns package (issue #3060).
References:
https://github.com/HypothesisWorks/hypothesis/issues/3054https://github.com/HypothesisWorks/hypothesis/issues/3060
(From OE-Core rev: ca0039a6e5524ab1e74df285ce16460dc980da65)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes an annoying segfault seen on rpi4 when launching weston during
boot especially using systemd service or sysvinit script, if weston is
launched manually on VT, it works fine. This backport specifically
addresses the issue described above.
For more details see [1]
[1] https://gitlab.freedesktop.org/wayland/weston/-/issues/314
(From OE-Core rev: 74e0249af85782af436791d1339ce864536d2022)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix bugs found with a duplicate inclusion of feature-arm-simd.inc and
dsp not being defined in feature-arm-dsp.inc
Found by compiling with DEFAULTTUNE set to 'armv8r' and 'cortexm33'
respectively.
(From OE-Core rev: eb49c1847bb063fa5707843e0c2632023b341fcf)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add entries for Android to the mappings.
(From OE-Core rev: 2cec34178d6e5864c5d6280532a77cfb9cb255ea)
Signed-off-by: Hsia-Jun Li <randy.li@synaptics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
utils.bbclass contains create_cmdline_wrapper() function that
creates wrapper script with additional arguments for any passed
"$cmd" command, and uses several calls to "dirname".
Because "dirname" is an external command, in cases of lots of
calls to wrapped "$cmd", each call of "dirname" will incur
significant overhead.
There are three same calls to "dirname": one for saving it`s
output to "realdir" variable, and other two in "exec" command.
So last two "dirname" calls can be replaced with cached value
from "realdir" variable.
(From OE-Core rev: 4b9cf2c80fd14386e0b88a2e6c40a9fa3f1ae0f7)
Signed-off-by: Oleksandr Popovych <opopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were
not reported.
(From OE-Core rev: 366cf8201e36df1ac836e49de04ccda1f763ca9e)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
assimp CMake modules were adding non-existing paths to its CMake modules
breaking builds for users of assimp. Remove the hardcoded paths with
an upstream patch with small tweaks.
(From OE-Core rev: 0dd86e64af7141c51666773265039fd98e2af31b)
Signed-off-by: Purushottam Choudhary <purushottamchoudhary29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we have:
$ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
bash = 5.1.8-r0
This is incorrect as bash provides /bin/bash and /bin/sh. This is caused by
incomplete conversion of new override syntax, which breaks the per-file
parsing of package_rpm.
With this patch, we have:
$ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
/bin/bash
/bin/sh
bash = 5.1.8-r0
(From OE-Core rev: f186d32ff8bf176ad0bd8d49e47cdb017c701a46)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alongside GLIBC and UCLIBC, also relocate the musl loader.
(From OE-Core rev: 24c4e01892df1510e5ba64b89a0060f62f2384e6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In newer gcc versions the headers changed locations and our multiconfig
and nativesdk tweaks to loader paths wasn't working. The broke
buildtools-extended-tarball, particularly on arm. Update to fix this.
Ultimately we should dump the gcc specs and check for hardcoded paths.
This isn't possible quite yet as this patch doesn't fix the musl ones
as we don't use that in mutlilib or nativesdk scenarios at present.
(From OE-Core rev: 4ed6505a18ac76c0aa148deabb143214ac0c4552)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6.14.8 - 2021-08-16
This patch ensures that registering a strategy for a subclass of a
parametrised generic type such as class Lines(Sequence[str]): will not
“leak” into unrelated strategies such as st.from_type(Sequence[int])
(issue #2951). Unfortunately this fix requires PEP 560, meaning Python
3.7 or later.
6.14.7 - 2021-08-14
This patch fixes issue #3050, where attrs classes could cause an internal
error in the ghostwriter.
6.14.6 - 2021-08-07
This patch improves the error message for issue #3016, where PEP 585 builtin
generics with self-referential forward-reference strings cannot be resolved
to a strategy by from_type().
References:
https://github.com/HypothesisWorks/hypothesis/issues/2951https://www.python.org/dev/peps/pep-0560https://github.com/HypothesisWorks/hypothesis/issues/3050https://www.python.org/dev/peps/pep-0585
(From OE-Core rev: 1f2276c6d0312854caacebe1c83dee57474f1bb2)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tune entries for all Arm Cortex-R processors currently supported in
GCC. Also, add the simd feature, which can be used in ARMv7a and
ARMv8a, but currently isn't.
(From OE-Core rev: 67e582379afa9bff8d585b4c7f1bc65a76d088fb)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC has the ability to pass extensions to the march parameter, which
expand the funcationality of the march. For example
"-march=armv7ve+simd" adds SIMD to ARMv7. Currently, there is no way to
expand the march setting without modifying each instance, as you can't
guarantee the ordering when using the existing TUNE_CCARGS. By
introducing two new variables, TUNE_CCARGS_MARCH and
TUNE_CCARGS_MARCH_OPT, we can enforce that these two go together.
Also, expand existing and create new feature files that use these
variables to expand the functionality.
(From OE-Core rev: 794eb617bfd1997e7a3498812c63a20c58a10554)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small golang applications create massive memory overhead if go-runtime
is deployed. So it is helpfull to be able to disable the GO_DYNLINK
option on a per distro/local.conf basis by making it a ?= instead of =.
(From OE-Core rev: 2a7f5843c4ad2a3bd44bf9c262aacab2931b5677)
Signed-off-by: Oliver Kranz <o.kranz.88@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our UPSTREAM_CHECK_URI was looking at SourceForge, but development has
moved to GitHub so update the URI.
Update to 2.0.
Swap musl-decls-compat.patch for a backport of an upstream commit.
Replace do_install commands with a backport of an upstream commit to
install the PAM module correctly.
Don't mess about installing the library into base_libdir as the /lib vs
/usr/lib prefix split is moot these days.
Delete libcgroupfortesting.so as we don't install the test suite.
(From OE-Core rev: 466c1c674e3da1fdbe1eae1cd90637d79a1500f5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shadow 4.9 stops shiping /etc/default/useradd[1] and uses built-in
settings by default. Some settings are not consistent with previous
shadow 4.8.1 in oe-core. e.g. The default shell is /bin/bash rather than
/bin/sh. Per shadow 4.8.1 settings, add /etc/default/useradd back.
[1] bbf4b79bc4
(From OE-Core rev: 736d0b29c6246658a925ea9036ccfe6216d12837)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- bitbake BB_NUMBER_THREADS uses cpu_count from oe utils that uses
the python os.sched_getaffinity and it is more acurrate.
grep -nH ^BB_NUMBER_THREADS meta/conf/bitbake.conf
meta/conf/bitbake.conf:806:BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
- multiprocessing.cpu_count() returns the number of CPUs on the host,
not the number of usable CPUs on the host. If the user is using
scheduler affinity then the number of usable CPUs may be less,
so when determining how many cores we can use check the affinity instead.
(From OE-Core rev: 45c52f08a289c6eb2329de50634a0406204d1d8e)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tests for the --no-fstab-update wic part command.
(From OE-Core rev: 90141d41a370ff377d95fb3dd144b63a85e22f8e)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The elfutils ptests require debug symbols for the libc to be available, else
we see failures such as those on the autobuilder for the fast ptest image
on arm (the dbg symbols are pulled in by other recipes in other images).
Also fix various test skips/error messages due to missing gcc/ld and
development headers.
(From OE-Core rev: 41ecc76c7fab8f9805d3271255bcd027d87298bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Verify that HTTPS connections work in both wget and Python, as this
depends on variables correctly pointing to the certificate chain.
(From OE-Core rev: 5c2b1fb09e786ec392979d21dc7884ca23cd84f0)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In v5.14+, x86 requires not just elfutils, but the elf headers
on the target to build objtool (required for 'scripts parepare'),
so we tweak our RDEPENDS to ensure that the right headers are
on the target.
(From OE-Core rev: 03ccc234386f753e1b0129ec557e67bcd04cc69e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh]
means that x86 no longer has a syscall script to copy, which causes
a build error.
We already copy the generic syscall script (in scripts), so we just
catch errors for the copies to support older and 5.14+ kernels in
the same devsrc recipe.
(From OE-Core rev: 5debc9bc25110b836b76927c61b2455e5e235a84)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to 2.13.0, so we can pick up the latest -stable and
support for 5.14+ kernels.
We refresh one patch for new context, and update the LICENSE
checksum due to commit 2df37e95fa4303 [Cleanup: Move headers from
toplevel to include/lttng/]. which impacted the LICENSE file (but
licensing is the same).
MODULES_MODULE_SYMVERS_LOCATION must also be specified in this
release, as the lttng build has moved the module target to a
'src' subdirectory.
(From OE-Core rev: 5dad15af8b3423ad9631edf3eef6e77902f1b36e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In glibc 2.34, the libraries libpthread, libdl, libutil, libanl have
been integrated into libc. To retain compatibility with old binaries the
shared libaries are still shipped but are empty, and to keep software
building there are empty static libraries.
However, these static libraries get packaged into glibc-staticdev (as
they should be), but by this design they should be in glibc-dev.
https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
(From OE-Core rev: f42658198193dcf88814513e1fa09bf484777079)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The buildtools-extended tarball includes GCC, which relies on being
relocated correctly to work. Add a test case that verifies that the
loader paths have all been relocated, as otherwise there are
hard-to-debug errors at build time.
(From OE-Core rev: fe1f675ea156722a3709b13cd751479c9528134d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GNU grep 3.7 has been released with a fix for a bug causing
"extreme performance degradation" in certain types of search.
https://www.theregister.com/2021/08/16/gnu_grep_37/
(From OE-Core rev: 8a2bfc9da626597e915b774e1dca95ae2929014f)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since upgrade of binutils to 2.37 builds of qtwebengine failed to link even
with ulimits -n 1000000 (!!).
Fix that by applying a patch from stable 'binutils-2_37-branch'.
(From OE-Core rev: 9f4660e1c6b251c55f9e7e8072b602edf843b952)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua's vc4/v3d/dma-patch was applied in 21.1.7
Release notes 21.1.7:
Bug fixes
Miscompilation of a switch case
[radeonsi][regression] CPU is being used ~10 times more than usual after c5478f9067f.
dEQP-VK.wsi.android.swapchain.create#image_swapchain_create_info crash on Android R
The image is distorted while use iGPU(Intel GPU) rendering and output via dGPU (AMD GPU)
lima: regression in plbu scissors cmd
Incorrect rendering
Changes
pan/bi: Restrict swizzles on same cycle temporaries
nir/lower_mediump_io: Don’t remap base unless needed
nir/lower_mediump: Fix metadata in all passes
util/fossilize_db: Update parsed_offset correctly.
util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
util/fossilize_db: Flush files after header write.
util/fossilize_db: Be conservative about header length check for locking.
util/fossilize_db: Only allocate entries after full read.
util/fossilize_db: Use uint64_t for file size.
util/fossilize_db: Unlock the cache file if the entry already exists.
util/fossilize_db: Add extra flock mutex.
radv: Allocate space for inline push constants.
vulkan/wsi/x11: do not inherit last_present_mode
ir3: Preserve gl_ViewportIndex in the binning shader
teximage: return correct desktop GL error for compressedteximage
intel/fs: restrict max push length on older GPUs to a smaller amount
virgl: disable anisotropic filtering.
freedreno/ir3: Add build id to the disassembler test
.pick_status.json: Update to 7055282231cdad23e7b23fb49a2f953a99797f8a
.pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
.pick_status.json: Mark 6ccf11ac2b951963407601b5b1109b45a972e48e as denominated
.pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
.pick_status.json: Update to 353e6323936b812884fa677c25bdba91554881b7
.pick_status.json: Update to 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4
pick-ui: drop assert that optional argument is passed
pick-ui: show nomination type in the UI
pick-ui: show commit date
lima: avoid crash with negative viewport values
zink: make codegen compatible with python 3.5
mesa/main: Check for fbo attachments when importing EGL images to textures
v3d, vc4: Fix dmabuf import for non-scanout buffers
gallium/hud: initialize query
nv30: fix emulated vertex index buffers
gallium: Reset {d,r}Priv in dri_unbind_context
loader/dri3: create linear buffer with scanout support
anv: fix submission batching with perf queries
anv: don’t try to access Android swapchains
renderonly: don’t complain when GPU import fails
etnaviv: always try to create KMS side handles for imported resources
glsl: evaluate switch expression once
zink: use array size in spirv bo length calculations
etnaviv: fix gbm_bo_get_handle_for_plane for multiplanar images
clover/spirv: Properly size 3-component vector args
clover/nir: Set constant buffer pointer size to host
gallium/va: don’t use key=NULL in hash tables
amd/registers: fix fields conflict detection
radeonsi: don’t create an infinite number of variants
nir/algebraic: fix imod by negative power-of-two
radv: fix selecting the first active CU when profiling with SQTT
etnaviv: fix renderonly check in etna_resource_alloc
etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource
freedreno: fail in get_handle(TYPE_KMS) without a scanout resource
panfrost: fail in get_handle(TYPE_KMS) without a scanout resource
lima: fail in get_handle(TYPE_KMS) without a scanout resource
nine: Fix assert in tx_src_param
intel/compiler: make sure swizzle is applied to if condition
glsl: Add operator for .length() method on implicitly-sized arrays
glsl: Properly handle .length() of an unsized array
gallium/vl: don’t leak fd in vl_dri3_screen_create
Release notes 21.1.6:
Bug fixes
[RADV] FSR in Resident Evil: Village looks very pixelated on Polaris
Crash in update_buffers after closing KDE “splash screen” downloader
Crash in update_buffers after closing KDE “splash screen” downloader
radeonsi: persistent, read-only buffer maps are slow to read
substance painter flickering with jagged texture and masks shown black
radv: FP16 mode in FidelityFX FSR doesn’t look right
[RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4
Radeon RX580 and 5700 XT: Reloading ARB assembly shaders causes very glitchy rendering
Changes
targets/graw-xlib: Add missing dep_x11
egl/surfaceless: try kms_swrast before swrast
meson: allow egl_native_platform to be specified
freedreno/computerator: Fix local_size typo
aco/optimizer: ensure to not erase high bits when propagating packed constants
egl/wayland: Error on invalid native window
egl/wayland: Allow EGLSurface to outlive wl_egl_window
softpipe/aniso: move DDQ calculation to after scaling.
llvmpipe: add support for time elapsed queries.
.pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported
.pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06
.pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3
.pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb
zink: remove duplicate format-mapping on little-endian
vulkan: do not map zero-sized region of memory
vulkan: allocate host-visible memory for swapchain images
nir/gcm: Clear out pass_flags before starting
iris: Re-emit MEDIA_VFE_STATE for variable group size shaders
anv: Handle errors properly in anv_i915_query
v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell
lavapipe: Use common Vulkan format helpers
broadcom/compiler: emit TMU flush before a jump
nv50/ir/nir: fix smem size for GL
radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to issues
st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage
egl/android: include “util/compiler.h” for FALLTHROUGH macro
util/foz: stop crashing on destroy if prepare hasn’t been called
radeonsi: Check aux_context on si_destroy_screen()
mesa: clear shader_info::is_lowered in prog_to_nir
mesa: fix bindless uniform samplers update
aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16
freedreno/ir3: Don’t force RTNE if rounding mode is undefined
radv: only init the TC-compat ZRANGE metadata for the depth aspect
glsl: replace some C++ code with C
util: add workaround for Full Bore
glsl: relax rule on varying matching for shaders older than 4.20
lima: handle fp16 vertex formats
(From OE-Core rev: ce202e5f3f0eaceec2e23ebd1697f73c9fa00aaf)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move all of the tune files found in conf/machine/include into their
respective architecture directories in that same location. All
references to these will need to be updated. So, change the relevant
ones for this tree in this commit as well.
For the ARM tunes, nest them one further into armv8a, armv8m, etc. and
rename some to make them uniform with the rest of the tunes.
(From OE-Core rev: b6f15209bcfff953cce69da97a93f9ddff141ced)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With glibc 2.34, the libraries were renamed. Tweak the glob to support both
as this is needed for newer uninative versions.
[RP: tweak commit message]
(From OE-Core rev: 98248306e4b5f023e96375293b60524574ebb686)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds the command line compression tools which are needed by bitbake
(From OE-Core rev: 58f5389e3c6b0e5b29df8850c2056b5fc41b618f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.13 is the latest reference kernel, so let's make it the
default.
(From OE-Core rev: a7ebb5053a5dd7d0989a15cc4dee7116d3ef0948)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have 5.10 and 5.13 as the active recipes in the release/development
branches, so we remove 5.4.
This leaves us with the standard three versions for release (5.10,
5.13 and -dev).
5.4 will continue to be updated in stable/supported releases.
(From OE-Core rev: f4ff7a501df84f15900652703349c0072ef8714c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes pkgdata PKGSIZE info after the overrides change.
(From OE-Core rev: 6964f06e48c7002c9ad788aa04bd8873fb3ee024)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a long standing bug where FILES_INFO isn't written into pkgdata
with a package suffix. This means if the files are read into the datastore
as intended, the last one "wins".
Fix this to work as intended. Most of the call sites using the data need
to be updated to handle this and the overrides change correctly.
Also fix some other problematic references noticed along the way.
(From OE-Core rev: a1190903e0a61a12c9854c96af918ae8d12c6327)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Correct an issue with 2 AVAILTUNES not being separated by a space.
(From OE-Core rev: 72a9ddf85876909d6f22582561a6e1c3a2ccf2fa)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tests to ensure that PKGSIZE and FILELIST fields are set correctly.
(From OE-Core rev: 8e957f9dbf794195af093f3fbc00b4c8d269ee37)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.
(From OE-Core rev: d25b644741f5b941aa3051545e86e16a365c51c3)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch [1] to fix chpasswd, gpasswd and passwd "hang" for
several minutes (10-20min) at 100% cpu usage though they finally
terminate successfully.
[1] https://github.com/shadow-maint/shadow/issues/393
(From OE-Core rev: ad8c62f988017e1e4da1f5ed7fb6f4a5ce44844e)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We dont control the test output and sometimes see badly encoded characters.
These don't affect the operation of the code we're running. Use
errors='replace' to avoid those issues and the resulting test failures.
(From OE-Core rev: 3939b1923387d3bc440118ed1663d28a03a1ea5d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG entries for various compression algorithms to ensure
builds are deterministic.
(From OE-Core rev: 65b847856e44ef83ead3a0efb48ea19dc6c9df4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure builds as deterministic by covering all compression configuration
options.
(From OE-Core rev: c78224b8546aa8d6bd238c2516c445b80de4c205)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:
f259ee2f0379 Linux 5.13.9
4288f43d9e0e spi: mediatek: Fix fifo transfer
fad0494f626f drm/amd/display: Fix ASSR regression on embedded panels
02db470b866f Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
c268b30ff4e0 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
989b27104a97 io_uring: explicitly catch any illegal async queue attempt
f7be9c72d1de io_uring: never attempt iopoll reissue from release path
eb9b9c610f25 drm/amd/display: Fix max vstartup calculation for modes with borders
9cc57c6cdd24 drm/amd/display: Fix comparison error in dcn21 DML
b3b7be424610 nvme: fix nvme_setup_command metadata trace event
d26ac2d83b02 efi/mokvar: Reserve the table only if it is in boot services data
dbdf7e3d5684 ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
f248077aef20 ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
a35d559db687 net: Fix zero-copy head len calculation.
4bf6168d0b6a ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
3cadaeae64dc qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
a6b2ef5b5ffb r8152: Fix a deadlock by doubly PM resume
5feeb2da23e5 r8152: Fix potential PM refcount imbalance
bf7dd85e9e02 regulator: mtk-dvfsrc: Fix wrong dev pointer for devm_regulator_register
ee37879e24c4 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
c2fdcb148e33 spi: stm32h7: fix full duplex irq handler handling
64d62c4e4ccb regulator: rt5033: Fix n_voltages settings for BUCK and LDO
2e4e8df287c1 regulator: rtmv20: Fix wrong mask for strobe-polarity-high
1c5b8c4e4cb5 ASoC: Intel: boards: fix xrun issue on platform with max98373
497a0258df14 ASoC: Intel: boards: create sof-maxim-common module
301f2270d3ac ASoC: Intel: boards: handle hda-dsp-common as a module
c348419f365b net: dsa: sja1105: fix address learning getting disabled on the CPU port
5ee064ade19a net: dsa: sja1105: parameterize the number of ports
1ce09f0ae455 cifs: add missing parsing of backupuid
cf5663d06bc3 cifs: use helpers when parsing uid/gid mount options and validate them
2abe7e0f1983 bpf, sockmap: On cleanup we additionally need to remove cached skb
96b1d399a4f2 skmsg: Pass source psock to sk_psock_skb_redirect()
b82ffbf55977 skmsg: Increase sk->sk_drops when dropping packets
af8884055780 power: supply: ab8500: Call battery population once
5a40048e60b2 Revert "drm/i915: Propagate errors on awaiting already signaled fences"
15c8463df133 drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
3cfdd7252e00 Linux 5.13.8
d92d15c28841 octeontx2-af: Remove unnecessary devm_kfree
187463c4a262 perf pmu: Fix alias matching
5e1fc537c1be can: j1939: j1939_session_deactivate(): clarify lifetime of session object
f27deb33bbdb i40e: Add additional info to PHY type error
e95d994d2f8f io_uring: fix race in unified task_work running
ee6d50cb1c23 Revert "perf map: Fix dso->nsinfo refcounting"
9755a447ec42 powerpc/pseries: Fix regression while building external modules
c73256979654 powerpc/vdso: Don't use r30 to avoid breaking Go lang
52e9158959d2 SMB3: fix readpage for large swap cache
19f60bf08ee3 bpf: Fix pointer arithmetic mask tightening under state pruning
8595837e9df5 bpf: verifier: Allocate idmap scratch in verifier env
738ab7d5e554 bpf: Remove superfluous aux sanitation on subprog rejection
0b27bdf02c40 bpf: Fix leakage due to insufficient speculative store bypass mitigation
ddab060f996e bpf: Introduce BPF nospec instruction for mitigating Spectre v4
9ec54436991f can: hi311x: fix a signedness bug in hi3110_cmd()
dda5c13325f1 sis900: Fix missing pci_disable_device() in probe and remove
6cbc642e6f82 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
c7d5458d5589 sctp: fix return value check in __sctp_rcv_asconf_lookup
fc553003e361 block: delay freeing the gendisk
926fa6598cdd net/mlx5: Fix mlx5_vport_tbl_attr chain from u16 to u32
601c356d1e0a net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
6b35ae3f6b42 net/mlx5: Unload device upon firmware fatal error
9bf4345430b4 net/mlx5e: Fix page allocation failure for ptp-RQ over SF
09f2d23a618e net/mlx5e: Fix page allocation failure for trap-RQ over SF
e6eaea0980ee net/mlx5e: Add NETIF_F_HW_TC to hw_features when HTB offload is available
b0ba8a145d8d net/mlx5e: RX, Avoid possible data corruption when relaxed ordering and LRO combined
4d253ea99fba net/mlx5: E-Switch, handle devcom events only for ports on the same device
0b26a4e2d5dd net/mlx5: E-Switch, Set destination vport vhca id only when merged eswitch is supported
1dc7f1219c13 net/mlx5e: Disable Rx ntuple offload for uplink representor
644c3c58ec77 net/mlx5: Fix flow table chaining
951e41ddd214 bpf, sockmap: Zap ingress queues after stopping strparser
0664f9acc5bf KVM: selftests: Fix missing break in dirty_log_perf_test arg parsing
9e27f578a403 drm/msm/dp: Initialize the INTF_CONFIG register
c122e9371bd6 drm/msm/dp: use dp_ctrl_off_link_stream during PHY compliance test run
58389fac95fb drm/msm/dpu: Fix sm8250_mdp register length
5e8c20b001e8 net: llc: fix skb_over_panic
40e79954edce KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
9eb2c41471e6 drm/i915/bios: Fix ports mask
4689d61012a6 drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c
7d93d6111d0e mlx4: Fix missing error code in mlx4_load_one()
58b30f9e1a48 net: phy: broadcom: re-add check for PHY_BRCM_DIS_TXCRXC_NOENRGY on the BCM54811 PHY
0379d6b0118a octeontx2-pf: Dont enable backpressure on LBK links
4182c0d66639 octeontx2-pf: Fix interface down flag on error
b8a071889fb3 tipc: do not write skb_shinfo frags when doing decrytion
0e99b794c0bc can: mcp251xfd: mcp251xfd_irq(): stop timestamping worker in case error in IRQ
d6892195dfbe ionic: count csum_none when offload enabled
70da7c504236 ionic: fix up dim accounting for tx and rx
e8927398faa1 ionic: remove intr coalesce update from napi
b367a9a2cebe ionic: catch no ptp support earlier
12e88273896d ionic: make all rx_mode work threadsafe
2e618cf6db69 net: qrtr: fix memory leaks
56a5e590b31e loop: reintroduce global lock for safe loop_validate_file() traversal
fcc99d41954f net: dsa: mv88e6xxx: silently accept the deletion of VID 0 too
a6964b4c65c7 net: Set true network header for ECN decapsulation
7b3f85278d90 tipc: fix sleeping in tipc accept routine
a73d03806166 tipc: fix implicit-connect for SYN+
457202b9132f i40e: Fix log TC creation failure when max num of queues is exceeded
a7ce70625f44 i40e: Fix queue-to-TC mapping on Tx
644575296661 i40e: Fix firmware LLDP agent related warning
79c71f5168c5 i40e: Fix logic of disabling queues
367bec7665d1 netfilter: nft_nat: allow to specify layer 4 protocol NAT only
62659ab3563a netfilter: conntrack: adjust stop timestamp to real expiry value
525e6eb9258c mac80211: fix enabling 4-address mode on a sta vif after assoc
13b8ab2f6f84 bpf: Fix OOB read when printing XDP link fdinfo
467c905bb613 netfilter: nf_tables: fix audit memory leak in nf_tables_commit
f7046443c8ac RDMA/rxe: Fix memory leak in error path code
1544d2b86fa7 platform/x86: amd-pmc: Fix missing unlock on error in amd_pmc_send_cmd()
d23677f3da7a platform/x86: amd-pmc: Fix SMU firmware reporting mechanism
91f5c8fb6d8e platform/x86: amd-pmc: Fix command completion code
7113367b2229 RDMA/bnxt_re: Fix stats counters
d68acf353765 cfg80211: Fix possible memory leak in function cfg80211_bss_update
a8d4169f924a io_uring: fix poll requests leaking second poll entries
5db0ca0fbebf io_uring: don't block level reissue off completion path
5bb49c88472f io_uring: fix io_prep_async_link locking
ca324a215bf9 nfc: nfcsim: fix use after free during module unload
caed0df2e52d blk-iocost: fix operation ordering in iocg_wake_fn()
749abc8d274f drm/amdgpu: Fix resource leak on probe error path
070f46bcf6b4 drm/amdgpu: Avoid printing of stack contents on firmware load error
4e7961b3d5fd drm/amdgpu: Check pmops for desired suspend state
0652b1eade53 drm/amd/display: ensure dentist display clock update finished in DCN20
9c2cae70e3a0 NIU: fix incorrect error return, missed in previous revert
633799ddcff4 net: stmmac: add est_irq_status callback function for GMAC 4.10 and 5.10
fa1c5eff378f HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
892ced352e05 alpha: register early reserved memory in memblock
a63d311c966c can: esd_usb2: fix memory leak
d23e7c014cc4 can: ems_usb: fix memory leak
62365842aed3 can: usb_8dev: fix memory leak
78673a83947b can: mcba_usb_start(): add missing urb->transfer_dma initialization
87d268fe1bdb can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
aec236c7147a can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
ea9e6fc2bc5d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
9293727af539 mm/memcg: fix NULL pointer dereference in memcg_slab_free_hook()
87370a9d413a mm: memcontrol: fix blocking rstat function called from atomic cgroup1 thresholding code
3df2bd9978b1 ocfs2: issue zeroout to EOF blocks
c9302ab319ed ocfs2: fix zero out valid data
a9f2d0884d70 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
a80e3243e924 x86/kvm: fix vcpu-id indexed array sizes
3c82e27986af ACPI: DPTF: Fix reading of attributes
cf90e1c4ad57 Revert "ACPI: resources: Add checks for ACPI IRQ override"
1d381aca0d9c btrfs: mark compressed range uptodate only if all bio succeed
c543bced163b btrfs: fix rw device counting in __btrfs_free_extra_devids
9e4417af187e btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
89e34995bdd7 fs/ext2: Avoid page_address on pages returned by ext2_get_page
f0aa1bc37e9a pipe: make pipe writes always wake up readers
5a5aaf4177da selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
(From OE-Core rev: 445892595e8af9296360de561c6bd7a0887ba5de)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
1cd6e30b83d7 Linux 5.10.57
9c645a020bab spi: mediatek: Fix fifo transfer
7254e2d9eb41 selftest/bpf: Verifier tests for var-off access
30ea1c535291 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
98bf2906d3be bpf: Update selftests to reflect new error states
360e5b7af653 bpf, selftests: Adjust few selftest result_unpriv outcomes
5abcd138cbd8 selftest/bpf: Adjust expected verifier errors
83bbf953f66c selftests/bpf: Add a test for ptr_to_map_value on stack for helper access
e2b7a4ccbf7c Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
1b1a00b13c34 firmware: arm_scmi: Add delayed response status check
93ef561406a7 firmware: arm_scmi: Ensure drivers provide a probe function
1812895f17e1 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
cae3fa3d8165 ACPI: fix NULL pointer dereference
98b070694f45 drm/amd/display: Fix max vstartup calculation for modes with borders
f9d875c8c92f drm/amd/display: Fix comparison error in dcn21 DML
91865b458edd nvme: fix nvme_setup_command metadata trace event
06a9092f6647 efi/mokvar: Reserve the table only if it is in boot services data
27ff30c8b3f3 ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
a00bcc5298be ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
e8b287e78381 net: Fix zero-copy head len calculation.
c6bdf7d97d5f ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
74b53ee4b89e qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
f6a2ff040b5c r8152: Fix potential PM refcount imbalance
c98a7916cd37 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
03258515c9eb spi: stm32h7: fix full duplex irq handler handling
cfb8173a23cf regulator: rt5033: Fix n_voltages settings for BUCK and LDO
81dc9a4868a9 regulator: rtmv20: Fix wrong mask for strobe-polarity-high
9e55b9278c47 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
e2419c570986 btrfs: fix race causing unnecessary inode logging during link and rename
118b070bf415 Revert "drm/i915: Propagate errors on awaiting already signaled fences"
6976f3cf34a1 drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
9746c25334cb Linux 5.10.56
55dd22c5d029 can: j1939: j1939_session_deactivate(): clarify lifetime of session object
75ebe1d355b5 i40e: Add additional info to PHY type error
2ca5ec188b20 Revert "perf map: Fix dso->nsinfo refcounting"
c14cee5bc466 powerpc/pseries: Fix regression while building external modules
bfc8e67c60b9 SMB3: fix readpage for large swap cache
be561c0154dc bpf: Fix pointer arithmetic mask tightening under state pruning
ffb9d5c48b4b bpf: verifier: Allocate idmap scratch in verifier env
a11ca29c65c1 bpf: Remove superfluous aux sanitation on subprog rejection
0e9280654aa4 bpf: Fix leakage due to insufficient speculative store bypass mitigation
bea9e2fd1808 bpf: Introduce BPF nospec instruction for mitigating Spectre v4
cd61e665a166 can: hi311x: fix a signedness bug in hi3110_cmd()
65dfa6cb2233 sis900: Fix missing pci_disable_device() in probe and remove
93e5bf4b2925 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
58b8c812c764 sctp: fix return value check in __sctp_rcv_asconf_lookup
362e9d23cf70 net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
bd744f2a2755 net/mlx5: Fix flow table chaining
1b148bd72e50 skmsg: Make sk_psock_destroy() static
645a1d3bef5f drm/msm/dp: Initialize the INTF_CONFIG register
4a6841921cc8 drm/msm/dpu: Fix sm8250_mdp register length
e6097071a4ff net: llc: fix skb_over_panic
01f3581d4400 KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
f5f78ae5f1be mlx4: Fix missing error code in mlx4_load_one()
51b751fc06b8 octeontx2-pf: Fix interface down flag on error
4951ffa3fac8 tipc: do not write skb_shinfo frags when doing decrytion
7eefa0b74f3e ionic: count csum_none when offload enabled
60decbe01d7d ionic: fix up dim accounting for tx and rx
a7c85a516cd0 ionic: remove intr coalesce update from napi
6961323eed46 net: qrtr: fix memory leaks
91350564ea8c net: Set true network header for ECN decapsulation
a41282e82a1d tipc: fix sleeping in tipc accept routine
10f585740cf0 tipc: fix implicit-connect for SYN+
bb6061616211 i40e: Fix log TC creation failure when max num of queues is exceeded
c1cc6bce1afd i40e: Fix queue-to-TC mapping on Tx
4382cca17915 i40e: Fix firmware LLDP agent related warning
e090ffdf0563 i40e: Fix logic of disabling queues
cbc8012902b3 netfilter: nft_nat: allow to specify layer 4 protocol NAT only
3dbda8483f42 netfilter: conntrack: adjust stop timestamp to real expiry value
ac038f4152ef mac80211: fix enabling 4-address mode on a sta vif after assoc
076bc6ebce48 bpf: Fix OOB read when printing XDP link fdinfo
e6a06a13ec6f RDMA/bnxt_re: Fix stats counters
c8667cb406fd cfg80211: Fix possible memory leak in function cfg80211_bss_update
9ab284bc3530 nfc: nfcsim: fix use after free during module unload
ea04a3b5727e blk-iocost: fix operation ordering in iocg_wake_fn()
fc2756cce06f drm/amdgpu: Fix resource leak on probe error path
ccc7a1bb322e drm/amdgpu: Avoid printing of stack contents on firmware load error
63570e578094 drm/amd/display: ensure dentist display clock update finished in DCN20
2eab387507fd NIU: fix incorrect error return, missed in previous revert
cb71730a6312 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
7bca5da00539 alpha: register early reserved memory in memblock
30e19d072ea0 can: esd_usb2: fix memory leak
88b40258162b can: ems_usb: fix memory leak
f58ac91ff87d can: usb_8dev: fix memory leak
a6ebfbdaca3d can: mcba_usb_start(): add missing urb->transfer_dma initialization
2fc2c2816cb7 can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
afe2ffd92061 can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
a9c02d0e1513 can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
da4f4916dab2 ocfs2: issue zeroout to EOF blocks
943014593061 ocfs2: fix zero out valid data
52acb6c147b3 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
7d67d4ab28e3 x86/kvm: fix vcpu-id indexed array sizes
2388c7674fbd ACPI: DPTF: Fix reading of attributes
0d6afa25975e Revert "ACPI: resources: Add checks for ACPI IRQ override"
0a421a2fc516 btrfs: mark compressed range uptodate only if all bio succeed
4e1a57d75264 btrfs: fix rw device counting in __btrfs_free_extra_devids
27aa7171fe2b pipe: make pipe writes always wake up readers
02210a5e1894 x86/asm: Ensure asm/proto.h can be included stand-alone
65b2658634fe io_uring: fix null-ptr-deref in io_sq_offload_start()
e44d22fdf756 selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
(From OE-Core rev: 6ab4c36223e62ad99efb76863a703c83fb6da324)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e350cd02e293 Linux 5.4.139
03ff8a4f9db6 spi: mediatek: Fix fifo transfer
a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
d3796e8f6b3d bpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones
8dec99abcd74 bpf: Test_verifier, add alu32 bounds tracking tests
fd568de5806f bpf: Fix leakage under speculation on mispredicted branches
d2f790327f83 bpf: Do not mark insn as seen under speculative path verification
283d742988f6 bpf: Inherit expanded/patched seen count from old aux data
a0a9546aaec3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
76f5314d7859 firmware: arm_scmi: Add delayed response status check
1b38f70bbc7c firmware: arm_scmi: Ensure drivers provide a probe function
44f522298c94 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
38f54217b423 ACPI: fix NULL pointer dereference
0ea2f55babb7 nvme: fix nvme_setup_command metadata trace event
b508b652d4f3 net: Fix zero-copy head len calculation.
bf692e7ef657 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
6bc48348eca7 r8152: Fix potential PM refcount imbalance
a57c75ff0700 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
e2cccb839a18 spi: stm32h7: fix full duplex irq handler handling
b72f2d9e91e1 regulator: rt5033: Fix n_voltages settings for BUCK and LDO
86f2a3e9aae9 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
b7f0fa2192c5 btrfs: fix race causing unnecessary inode logging during link and rename
cb006da62a9e btrfs: do not commit logs and transactions during link and rename operations
174c27d0f9ef btrfs: delete duplicated words + other fixes in comments
7b90d57b09fa Linux 5.4.138
7eef18c0479b can: j1939: j1939_session_deactivate(): clarify lifetime of session object
18b536de3b97 i40e: Add additional info to PHY type error
d21eb931109a Revert "perf map: Fix dso->nsinfo refcounting"
16447b2f5c66 powerpc/pseries: Fix regression while building external modules
265883d1d839 PCI: mvebu: Setup BAR0 in order to fix MSI
21734a31c9a0 can: hi311x: fix a signedness bug in hi3110_cmd()
f4fa45b0f91e sis900: Fix missing pci_disable_device() in probe and remove
dff00ce44891 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
e0310bbeaaa2 sctp: fix return value check in __sctp_rcv_asconf_lookup
408614108abd net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
ac4983230616 net/mlx5: Fix flow table chaining
527feae56fe6 net: llc: fix skb_over_panic
ede4c93860e6 mlx4: Fix missing error code in mlx4_load_one()
acb97d4b2d0e net: Set true network header for ECN decapsulation
851946a68136 tipc: fix sleeping in tipc accept routine
194b71d28b26 i40e: Fix log TC creation failure when max num of queues is exceeded
834af62212c7 i40e: Fix queue-to-TC mapping on Tx
74aea4b7159a i40e: Fix firmware LLDP agent related warning
b2ab34e862eb i40e: Fix logic of disabling queues
519582e44e6a netfilter: nft_nat: allow to specify layer 4 protocol NAT only
3a7a4cee7bec netfilter: conntrack: adjust stop timestamp to real expiry value
1c043783403c cfg80211: Fix possible memory leak in function cfg80211_bss_update
6cf2abea1018 nfc: nfcsim: fix use after free during module unload
6b313d0ffa71 NIU: fix incorrect error return, missed in previous revert
c4663c162778 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
e9e2ce00aeda can: esd_usb2: fix memory leak
43726620b2f6 can: ems_usb: fix memory leak
819867389276 can: usb_8dev: fix memory leak
a051dbd17b5b can: mcba_usb_start(): add missing urb->transfer_dma initialization
793581441b5c can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
c621638d0e6d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
a24d87b429a9 ocfs2: issue zeroout to EOF blocks
eaaa4284e288 ocfs2: fix zero out valid data
9bd1092148b5 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
7a94dfe5e2a0 x86/kvm: fix vcpu-id indexed array sizes
2dc291582cce Revert "ACPI: resources: Add checks for ACPI IRQ override"
a8eec6979734 btrfs: mark compressed range uptodate only if all bio succeed
57429c1ec770 btrfs: fix rw device counting in __btrfs_free_extra_devids
61f2cbc792eb x86/asm: Ensure asm/proto.h can be included stand-alone
99372c38a948 net_sched: check error pointer in tcf_dump_walker()
(From OE-Core rev: d5455d9e201e324b7cf7bb19381bfebb0e892312)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
11fe69a17195 Linux 5.10.55
984e93b8e207 ipv6: ip6_finish_output2: set sk into newly allocated nskb
a74054ca7553 ARM: dts: versatile: Fix up interrupt controller node names
3510b9b41c70 iomap: remove the length variable in iomap_seek_hole
8659186e72d0 iomap: remove the length variable in iomap_seek_data
65039407489c cifs: fix the out of range assignment to bit fields in parse_server_interfaces
fe5fe0b1c8b9 firmware: arm_scmi: Fix range check for the maximum number of pending messages
8f8e5475a369 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
d01328fef6af hfs: add lock nesting notation to hfs_find_init
06b3d9923fa0 hfs: fix high memory mapping in hfs_bnode_read
680b2917e60e hfs: add missing clean-up in hfs_fill_super
5c3d753b872a drm/ttm: add a check against null pointer dereference
2323690eb058 ipv6: allocate enough headroom in ip6_finish_output2()
86cb49e7314e rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()
55ddab2bfd70 rcu-tasks: Don't delete holdouts within trc_inspect_reader()
4d972881f8d8 sctp: move 198 addresses from unusable to private scope
915226f31fd4 net: annotate data race around sk_ll_usec
92289f58f01d net/802/garp: fix memleak in garp_request_join()
5d93810761b4 net/802/mrp: fix memleak in mrp_request_join()
df34f888628e cgroup1: fix leaked context root causing sporadic NULL deref in LTP
dcd00801f3d9 workqueue: fix UAF in pwq_unbound_release_workfn()
93c5951e0ce1 af_unix: fix garbage collect vs MSG_PEEK
dee8119eaa9e KVM: x86: determine if an exception has an error code only when injecting it.
6f5d7a45f58d io_uring: fix link timeout refs
475312897ea6 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
08277b9dde63 Linux 5.10.54
c9f8e17990e0 skbuff: Fix build with SKB extensions disabled
ba28765d338a xhci: add xhci_get_virt_ep() helper
624290f368af sfc: ensure correct number of XDP queues
1df4fe5a8871 drm/i915/gvt: Clear d3_entered on elsp cmd submission.
c938e65768e0 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
25af91a806d2 perf inject: Close inject.output on exit
fb35426d123e Documentation: Fix intiramfs script name
570341f10ecc skbuff: Release nfct refcount on napi stolen or re-used skbs
31828ffdab19 bonding: fix build issue
c9d97b7bb897 PCI: Mark AMD Navi14 GPU ATS as broken
f7ee361182e0 net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
30f1d4d03641 net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
fc31b5be1383 drm/amdgpu: update golden setting for sienna_cichlid
69a603aa170e drm: Return -ENOTTY for non-drm ioctls
2831eeb7bc3d driver core: Prevent warning when removing a device link from unregistered consumer
0e759383236a nds32: fix up stack guard gap
7497f4c91da3 misc: eeprom: at24: Always append device id even if label property is set.
8571daace5a6 rbd: always kick acquire on "acquired" and "released" notifications
2f3731de5e69 rbd: don't hold lock_rwsem while running_list is being drained
92291fa2d144 hugetlbfs: fix mount mode command line processing
1a25c5738d0c memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
0b591c020d28 userfaultfd: do not untag user pointers
fca5343b4892 io_uring: remove double poll entry on arm failure
9eef9029151c io_uring: explicitly count entries for poll reqs
1077e2b15283 selftest: use mmap instead of posix_memalign to allocate memory
6e81e2c38a38 posix-cpu-timers: Fix rearm racing against process tick
3efec3b4b16f bus: mhi: core: Validate channel ID when processing command completions
b3f3a58a86c4 ixgbe: Fix packet corruption due to missing DMA sync
e991457afdcb media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
755971dc7ee8 btrfs: check for missing device in btrfs_trim_fs
552b053f1a53 tracing: Synthetic event field_pos is an index not a boolean
757bdba8026b tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
a5e1aff58943 tracing/histogram: Rename "cpu" to "common_cpu"
0edad8b9f65d tracepoints: Update static_call before tp_funcs when adding a tracepoint
4ed4074c6c6c firmware/efi: Tell memblock about EFI iomem reservations
647e26b03ee9 usb: typec: stusb160x: register role switch before interrupt registration
a206167bd638 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
f2c04f6b21ef usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
7073acb51a3b usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
1bf7371b9004 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
45c87a94336f USB: serial: cp210x: fix comments for GE CS1000
f528521c1574 USB: serial: option: add support for u-blox LARA-R6 family
311fd7f7f186 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
7af54a4e221e usb: max-3421: Prevent corruption of freed memory
69da81a96442 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
e6343aab3ee7 usb: hub: Fix link power management max exit latency (MEL) calculations
8f087b4cf1a3 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
709137c85327 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
c1fbdf0f3c26 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
e3eb672c169d xhci: Fix lost USB 2 remote wake
02e2e96ba56c usb: xhci: avoid renesas_usb_fw.mem when it's unusable
9e9cf23b77d4 Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
ebaa67086fae ALSA: pcm: Fix mmap capability check
431e31105579 ALSA: pcm: Call substream ack() method upon compat mmap commit
3c9afa23f3fc ALSA: hdmi: Expose all pins on MSI MS-7C94 board
253759df8082 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
2b3cdf581993 ALSA: sb: Fix potential ABBA deadlock in CSP driver
5858c8a46421 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
2de518548de1 ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
37a88b41dc29 s390/boot: fix use of expolines in the DMA code
d1ab96288061 s390/ftrace: fix ftrace_update_ftrace_func implementation
3b4009b49634 mmc: core: Don't allocate IDA for OF aliases
fc6ac92cfcab proc: Avoid mixing integer types in mem_rw()
76f7eae7ec80 cifs: fix fallocate when trying to allocate a hole.
c26372b8a8c3 cifs: only write 64kb at a time when fallocating a small region of a file
b91e5b63470d drm/panel: raspberrypi-touchscreen: Prevent double-free
9e0373945ed6 net: sched: cls_api: Fix the the wrong parameter
c8ebf135c199 net: dsa: sja1105: make VID 4095 a bridge VLAN too
164294d09c47 tcp: disable TFO blackhole logic by default
8eb225873246 sctp: update active_key for asoc when old key is being replaced
ef799bd8ff5a nvme: set the PRACT bit when using Write Zeroes with T10 PI
7850f03ed814 r8169: Avoid duplicate sysfs entry creation error
0f5dc3971473 afs: Fix tracepoint string placement with built-in AFS
711057846aa7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
8985dc2cabd6 nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
fb28b1592098 ceph: don't WARN if we're still opening a session to an MDS
ce8fafb68051 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
071729150be9 net/sched: act_skbmod: Skip non-Ethernet packets
ee36bb471389 spi: spi-bcm2835: Fix deadlock
432738c9740c net: hns3: fix rx VLAN offload state inconsistent issue
3e903e0b578b net: hns3: fix possible mismatches resp of mailbox
f4305375f031 ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
41a839437a07 net/tcp_fastopen: fix data races around tfo_active_disable_stamp
ba3336397677 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
320dcbdec4c6 bnxt_en: Check abort error state in bnxt_half_open_nic()
134a0536f0a4 bnxt_en: Validate vlan protocol ID on RX packets
4f7da0f97beb bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
927370485e98 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
ab830c3bae19 bnxt_en: don't disable an already disabled PCI device
26463689445d ACPI: Kconfig: Fix table override from built-in initrd
113ce8c5043a spi: cadence: Correct initialisation of runtime PM again
3ea448b62b49 scsi: target: Fix protect handling in WRITE SAME(32)
b82a1a26aaee scsi: iscsi: Fix iface sysfs attr detection
6811744bd0ef netrom: Decrease sock refcount when sock timers expire
096a8dca8ca5 sctp: trim optlen when it's a huge value in sctp_setsockopt
8e9662fde6d6 net: sched: fix memory leak in tcindex_partial_destroy_work
e14ef1095387 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
fcbad8e18d31 KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
30b830215158 net: decnet: Fix sleeping inside in af_decnet
d402c60da0fd efi/tpm: Differentiate missing and invalid final event log table.
898376690310 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
115e4f5b64ae usb: hso: fix error handling code of hso_create_net_device
1582a02fecff net: fix uninit-value in caif_seqpkt_sendmsg
2fc8048265ce bpftool: Check malloc return value in mount_bpffs_for_pin
3b5b0afd8d97 bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
c260442431b4 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
715f378f4290 bpf, sockmap: Fix potential memory leak on unlikely error case
e3a9548ae538 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
9264bebe9ef9 liquidio: Fix unintentional sign extension issue on left shift of u16
0ff2ea9d8fa3 timers: Fix get_next_timer_interrupt() with no timers pending
ca9ba1de8f09 xdp, net: Fix use-after-free in bpf_xdp_link_release
39f1735c8107 bpf: Fix tail_call_reachable rejection for interpreter when jit failed
2b4046e64f7d bpf, test: fix NULL pointer dereference on invalid expected_attach_type
3dba72d1fc01 ASoC: rt5631: Fix regcache sync errors on resume
2435dcfd16ac spi: mediatek: fix fifo rx mode
a9a85bfedd83 regulator: hi6421: Fix getting wrong drvdata
5cdc986aad95 regulator: hi6421: Use correct variable type for regmap api val argument
23811b75fdb8 spi: stm32: fixes pm_runtime calls in probe/remove
844ab04b62a5 spi: imx: add a check for speed_hz before calculating the clock
3b6c430d1248 ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
57efe4f82a76 perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
61f2e1e79578 perf data: Close all files in close_dir()
7c91e0ce2601 perf probe-file: Delete namelist in del_events() on the error path
a6c32317cd3d perf lzma: Close lzma stream on exit
2ae8f40a8fdf perf script: Fix memory 'threads' and 'cpus' leaks on exit
51077d315a46 perf report: Free generated help strings for sort option
2bfa3c53ea8a perf env: Fix memory leak of cpu_pmu_caps
a2f0da3af614 perf test maps__merge_in: Fix memory leak of maps
b7bfd8aeb956 perf dso: Fix memory leak in dso__new_map()
c9c101da3e83 perf test event_update: Fix memory leak of evlist
b768db7f8070 perf test session_topology: Delete session->evlist
b8892d16a928 perf env: Fix sibling_dies memory leak
306411a8bf75 perf probe: Fix dso->nsinfo refcounting
f21987d7bb58 perf map: Fix dso->nsinfo refcounting
7337ff2093e0 perf inject: Fix dso->nsinfo refcounting
a87d42ae7f5d KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
b990585f9b7a nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
0fa11e1a20c7 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
3714e0bb0dcf cxgb4: fix IRQ free race during driver unload
d92337bf54f2 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
f1edbcc47f46 selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
906bbb18db78 selftests: icmp_redirect: remove from checking for IPv6 route get
bb737eceb9a4 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
79ec7b5b2f4f ipv6: fix 'disable_policy' for fwd packets
35eaefb44ed7 bonding: fix incorrect return value of bond_ipsec_offload_ok()
13626bad63e8 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
56ccdf868ab6 bonding: Add struct bond_ipesc to manage SA
b3bd1f5e5037 bonding: disallow setting nested bonding + ipsec offload
43511a6a164a bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
6ca0e55a1310 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
ba7bfcdff1ad bonding: fix null dereference in bond_ipsec_add_sa()
3ae639af3626 bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
4a31baf55f6a net: add kcov handle to skb extensions
78e4baff950d gve: Fix an error handling path in 'gve_probe()'
813449fb85f6 igb: Fix position of assignment to *ring
44171801d39c igb: Check if num of q_vectors is smaller than max before array access
cb9292445d23 iavf: Fix an error handling path in 'iavf_probe()'
a6756d637b40 e1000e: Fix an error handling path in 'e1000_probe()'
dea695a2ee23 fm10k: Fix an error handling path in 'fm10k_probe()'
a099192fe7e1 igb: Fix an error handling path in 'igb_probe()'
db4c32c1b926 igc: Fix an error handling path in 'igc_probe()'
7bc9fb1f8019 ixgbe: Fix an error handling path in 'ixgbe_probe()'
02d1af0bee65 igc: change default return of igc_read_phy_reg()
f153664d8e70 igb: Fix use-after-free error during reset
e15f629036ba igc: Fix use-after-free error during reset
(From OE-Core rev: 9a56f6566208517e458e5279992abe9664c4ae67)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5b1de8e15f0f Linux 5.4.137
ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb
6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node names
befa900533a9 iomap: remove the length variable in iomap_seek_hole
83fb41b2f6e4 iomap: remove the length variable in iomap_seek_data
302e1acd4c26 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
02a470e3c64a firmware: arm_scmi: Fix range check for the maximum number of pending messages
289dd584319f firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
e3acb292f092 hfs: add lock nesting notation to hfs_find_init
af1178296d77 hfs: fix high memory mapping in hfs_bnode_read
89136a47e2e7 hfs: add missing clean-up in hfs_fill_super
ded37d03440d ipv6: allocate enough headroom in ip6_finish_output2()
f65b7f377cca sctp: move 198 addresses from unusable to private scope
c8d32973ee6a net: annotate data race around sk_ll_usec
c23b9a5610f9 net/802/garp: fix memleak in garp_request_join()
88c4cae3ed25 net/802/mrp: fix memleak in mrp_request_join()
eef99860c677 cgroup1: fix leaked context root causing sporadic NULL deref in LTP
7f0365b4daaa workqueue: fix UAF in pwq_unbound_release_workfn()
85abe0d47fe6 af_unix: fix garbage collect vs MSG_PEEK
af45f3527aa0 KVM: x86: determine if an exception has an error code only when injecting it.
828cab3c8c23 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
525c5513b60d selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
253dccefb5cb Linux 5.4.136
587f86b7a2a0 xhci: add xhci_get_virt_ep() helper
f9d0c35556cd perf inject: Close inject.output on exit
a9c103fa91e4 PCI: Mark AMD Navi14 GPU ATS as broken
11561d2f7b9d btrfs: compression: don't try to compress if we don't have enough pages
4980301e1c1f iio: accel: bma180: Fix BMA25x bandwidth register values
d04f2582c47e iio: accel: bma180: Use explicit member assignment
4e0afa88954b net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
2a4865d1547e net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
7d8c06b8d2d2 drm: Return -ENOTTY for non-drm ioctls
b5d7bebd96a3 nds32: fix up stack guard gap
ba378b796088 rbd: always kick acquire on "acquired" and "released" notifications
13066d6628f0 rbd: don't hold lock_rwsem while running_list is being drained
b12ead825f6c hugetlbfs: fix mount mode command line processing
60dbbd76f110 userfaultfd: do not untag user pointers
540eee8cbb3d selftest: use mmap instead of posix_memalign to allocate memory
e706ac3fc82e ixgbe: Fix packet corruption due to missing DMA sync
e617fa62f6cf media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
77713fb336ca btrfs: check for missing device in btrfs_trim_fs
f899f24d34d9 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
59a9f75fb2b6 tracing/histogram: Rename "cpu" to "common_cpu"
379d8da3353e firmware/efi: Tell memblock about EFI iomem reservations
281a94362bbe usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
167079fbfaa7 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
811c4cdf2917 USB: serial: cp210x: fix comments for GE CS1000
f54ee7e16d0d USB: serial: option: add support for u-blox LARA-R6 family
e28d28eb9be6 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
863d071dbcd5 usb: max-3421: Prevent corruption of freed memory
e4077a90e600 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
da6f6769ee0f usb: hub: Fix link power management max exit latency (MEL) calculations
fea6b53e631a usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
962ce043ef92 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
2b9ffddd70b4 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
c968f563ccde xhci: Fix lost USB 2 remote wake
a660ecde5c55 ALSA: hdmi: Expose all pins on MSI MS-7C94 board
f73696354d59 ALSA: sb: Fix potential ABBA deadlock in CSP driver
7aa2dfbc6bd0 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
46d62c3fe2ab ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
f1754f96ab41 s390/boot: fix use of expolines in the DMA code
8eb521d19248 s390/ftrace: fix ftrace_update_ftrace_func implementation
268132b070d9 Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one"
f323809e3108 proc: Avoid mixing integer types in mem_rw()
b71a75209f6a drm/panel: raspberrypi-touchscreen: Prevent double-free
2e6ab87f8e63 net: sched: cls_api: Fix the the wrong parameter
b60461696a0b sctp: update active_key for asoc when old key is being replaced
9fa89c2caee2 nvme: set the PRACT bit when using Write Zeroes with T10 PI
c50141b3d769 r8169: Avoid duplicate sysfs entry creation error
f726817d6b42 afs: Fix tracepoint string placement with built-in AFS
b22c9e433bb7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
69a49e7b5baf nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
830251361425 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
a88414fb1117 net/sched: act_skbmod: Skip non-Ethernet packets
c278b954ccc7 net: hns3: fix rx VLAN offload state inconsistent issue
006ed6f4d00b net/tcp_fastopen: fix data races around tfo_active_disable_stamp
3942ba235693 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
f11f12decd55 bnxt_en: Check abort error state in bnxt_half_open_nic()
16ce6cb78690 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
c993e7aadc50 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
6ee8e6be3067 bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence.
35637acc9810 spi: cadence: Correct initialisation of runtime PM again
2f2150bf41c1 scsi: target: Fix protect handling in WRITE SAME(32)
a6cb717f8534 scsi: iscsi: Fix iface sysfs attr detection
25df44e90ff5 netrom: Decrease sock refcount when sock timers expire
8d7924ce85ba net: sched: fix memory leak in tcindex_partial_destroy_work
f38527f18905 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
b85dadd4347b KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
b3224bd31861 net: decnet: Fix sleeping inside in af_decnet
bd2b3b13aa2a efi/tpm: Differentiate missing and invalid final event log table.
9413c0abb57f net: fix uninit-value in caif_seqpkt_sendmsg
6d56299ff911 bpftool: Check malloc return value in mount_bpffs_for_pin
edec10098675 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
58259e8b6e85 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
cc876a5618bc liquidio: Fix unintentional sign extension issue on left shift of u16
42fe8f433b31 ASoC: rt5631: Fix regcache sync errors on resume
d99aaf07365f spi: mediatek: fix fifo rx mode
08cdda8d8972 regulator: hi6421: Fix getting wrong drvdata
b25be6bf6419 regulator: hi6421: Use correct variable type for regmap api val argument
a1ade24cccb5 spi: stm32: fixes pm_runtime calls in probe/remove
40e203ce74eb spi: stm32: Use dma_request_chan() instead dma_request_slave_channel()
24b78097a837 spi: imx: add a check for speed_hz before calculating the clock
52cff6123aa0 perf data: Close all files in close_dir()
0f63857d1099 perf probe-file: Delete namelist in del_events() on the error path
8b92ea243bbf perf lzma: Close lzma stream on exit
51351c6d5a18 perf script: Fix memory 'threads' and 'cpus' leaks on exit
d2bfc3eda914 perf dso: Fix memory leak in dso__new_map()
05804a7d223d perf test event_update: Fix memory leak of evlist
d257f3abdc71 perf test session_topology: Delete session->evlist
89d1762a4a21 perf env: Fix sibling_dies memory leak
fd335143befb perf probe: Fix dso->nsinfo refcounting
6513dee46f80 perf map: Fix dso->nsinfo refcounting
ff9fc81fa884 nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
d029df83c61a cxgb4: fix IRQ free race during driver unload
ae9b64434441 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
a37ca2a076ec selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
05364a2794fb selftests: icmp_redirect: remove from checking for IPv6 route get
7f4848229e91 ipv6: fix 'disable_policy' for fwd packets
c67fb96f5431 gve: Fix an error handling path in 'gve_probe()'
e33da4eeaa35 igb: Fix position of assignment to *ring
7dd897773618 igb: Check if num of q_vectors is smaller than max before array access
d3d7cceee841 iavf: Fix an error handling path in 'iavf_probe()'
7a13a8a8a5fb e1000e: Fix an error handling path in 'e1000_probe()'
9fc381db7583 fm10k: Fix an error handling path in 'fm10k_probe()'
5d6a04927b08 igb: Fix an error handling path in 'igb_probe()'
cddd53237de8 igc: Fix an error handling path in 'igc_probe()'
47f69d8828e7 igc: Prefer to use the pci_release_mem_regions method
83b2d55a512a ixgbe: Fix an error handling path in 'ixgbe_probe()'
ba4fbb68fcfe igc: change default return of igc_read_phy_reg()
88e0720133d4 igb: Fix use-after-free error during reset
a9508e0edfe3 igc: Fix use-after-free error during reset
(From OE-Core rev: d308f120891e23c34fa8ae38a7e87aa3810518ae)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:
f17352f54186 Linux 5.13.7
f2cd12e7fd48 ipv6: ip6_finish_output2: set sk into newly allocated nskb
0f448675132a ARM: dts: versatile: Fix up interrupt controller node names
0ad0e62e74ce iomap: remove the length variable in iomap_seek_hole
521168b44c08 iomap: remove the length variable in iomap_seek_data
84342d6983f2 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
a46f1f66cfcb firmware: arm_scmi: Fix range check for the maximum number of pending messages
ec67007e7406 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
ca03de06def9 hfs: add lock nesting notation to hfs_find_init
8a2d2974d002 hfs: fix high memory mapping in hfs_bnode_read
c2820b902115 hfs: add missing clean-up in hfs_fill_super
37ac00a0d358 drm/ttm: add a check against null pointer dereference
f11bec89ad63 nvme-pci: fix multiple races in nvme_setup_io_queues
b34c668a867f ipv6: allocate enough headroom in ip6_finish_output2()
3ba36f82d50d rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()
1dccf9d5a724 rcu-tasks: Don't delete holdouts within trc_inspect_reader()
83af97f61527 sctp: move 198 addresses from unusable to private scope
7fd4d15f11b3 net: annotate data race around sk_ll_usec
18f12f741d09 net/802/garp: fix memleak in garp_request_join()
7184851762b3 net/802/mrp: fix memleak in mrp_request_join()
141cf6c82b4f cgroup1: fix leaked context root causing sporadic NULL deref in LTP
c294c83fb614 workqueue: fix UAF in pwq_unbound_release_workfn()
72d0df0831ff af_unix: fix garbage collect vs MSG_PEEK
6fdb13a7e573 Linux 5.13.6
2db604ff60dd skbuff: Fix build with SKB extensions disabled
429826249d80 sfc: ensure correct number of XDP queues
b1ea64337fde spi: spi-cadence-quadspi: Fix division by zero warning - try2
c4443564f8f6 drm/i915/gvt: Clear d3_entered on elsp cmd submission.
9bad2eae08e2 perf inject: Close inject.output on exit
5cf3d397fcf6 arm64: entry: fix KCOV suppression
12b439933302 Documentation: Fix intiramfs script name
337deea6460d ARM: multi_v7_defconfig: Make NOP_USB_XCEIV driver built-in
a5fd9d3d35bc skbuff: Release nfct refcount on napi stolen or re-used skbs
8f738d2d51cf mptcp: fix 'masking a bool' warning
ecc9318db5ff bonding: fix build issue
da510a38cb60 spi: spi-cadence-quadspi: Revert "Fix division by zero warning"
bc93e9909cc8 drm/amdgpu: update golden setting for sienna_cichlid
52ee22ce8af2 drm/amdgpu: update the golden setting for vangogh
72097f7beefd drm/amdgpu: update gc golden setting for dimgrey_cavefish
75ab00b813e4 drm: Return -ENOTTY for non-drm ioctls
c9d31f7d17e4 driver core: Prevent warning when removing a device link from unregistered consumer
9d06d3d2a16d nds32: fix up stack guard gap
7544d21b4014 misc: eeprom: at24: Always append device id even if label property is set.
6ef92931cc5b rbd: always kick acquire on "acquired" and "released" notifications
8b334d74fbbd rbd: don't hold lock_rwsem while running_list is being drained
79da14fac0b5 hugetlbfs: fix mount mode command line processing
4861f6d3b90f mm: fix the deadlock in finish_fault()
5d4b4d2e3c8d memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
0e88a5bee0f5 mm: page_alloc: fix page_poison=1 / INIT_ON_ALLOC_DEFAULT_ON interaction
ee791f0bba88 mm: call flush_dcache_page() in memcpy_to_page() and memzero_page()
5040926bc22d kfence: skip all GFP_ZONEMASK allocations
e9adaed2f126 kfence: move the size check to the beginning of __kfence_alloc()
60e7f63de337 userfaultfd: do not untag user pointers
a6ead78130ad io_uring: fix early fdput() of file
81cebadedc37 io_uring: remove double poll entry on arm failure
0d80ae099a49 io_uring: explicitly count entries for poll reqs
2f13b6fece9a selftest: use mmap instead of posix_memalign to allocate memory
fae0c4bb0366 posix-cpu-timers: Fix rearm racing against process tick
52db60a983d2 bus: mhi: pci_generic: Fix inbound IPCR channel
aed4f5b51aba bus: mhi: core: Validate channel ID when processing command completions
a88270680663 bus: mhi: pci_generic: Apply no-op for wake using sideband wake boolean
ce5b3de58fc2 driver core: auxiliary bus: Fix memory leak when driver_register() fail
423123e428a1 ixgbe: Fix packet corruption due to missing DMA sync
b9a178f189bb media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
f5ef2fe05d38 btrfs: fix lock inversion problem when doing qgroup extent tracing
6f919907e92e btrfs: fix unpersisted i_size on fsync after expanding truncate
a02b54480573 btrfs: check for missing device in btrfs_trim_fs
020d8ceab341 tracing: Synthetic event field_pos is an index not a boolean
917a5bdd114a tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
29ecaddb8655 tracing/histogram: Rename "cpu" to "common_cpu"
58f47cfe5210 tracepoints: Update static_call before tp_funcs when adding a tracepoint
0ea2fd39f119 firmware/efi: Tell memblock about EFI iomem reservations
68a4037d5dd0 usb: typec: stusb160x: Don't block probing of consumer of "connector" nodes
eeb18490e8f4 usb: typec: stusb160x: register role switch before interrupt registration
703527bf8391 usb: typec: tipd: Don't block probing of consumer of "connector" nodes
61c129211a3d usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
bd062872040b usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
36b53430c97f usb: dwc2: Skip clock gating on Samsung SoCs
b85e8638ba15 usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
7138b108ecdb USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
f1a01c2b4628 USB: serial: cp210x: fix comments for GE CS1000
8a55cb17e401 USB: serial: option: add support for u-blox LARA-R6 family
c9d143a3d8aa usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
d4179cdb769a usb: max-3421: Prevent corruption of freed memory
3b5d8c72ffd5 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
9499b2d2cc60 usb: hub: Fix link power management max exit latency (MEL) calculations
c7affd5b0226 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
1408e47ab233 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
35e114e6f84a KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
3d98808e2414 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
2c476bab2818 xhci: Fix lost USB 2 remote wake
6c15cef90a45 usb: xhci: avoid renesas_usb_fw.mem when it's unusable
62b022edb187 Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
0def8cf06098 ALSA: pcm: Fix mmap capability check
7ca1bb5bace3 ALSA: pcm: Call substream ack() method upon compat mmap commit
7810cd82b1ad ALSA: hdmi: Expose all pins on MSI MS-7C94 board
7b75c0f0a668 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
ac8ea355df6d ALSA: sb: Fix potential ABBA deadlock in CSP driver
ecdaa9716666 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
498129dedee0 ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
ca4c5e5c7beb s390/boot: fix use of expolines in the DMA code
fde6627ce6dc s390/ftrace: fix ftrace_update_ftrace_func implementation
93af4d65538c mmc: core: Don't allocate IDA for OF aliases
025b6262dc96 io_uring: Fix race condition when sqp thread goes to sleep
ccf23a088807 ACPI: fix NULL pointer dereference
343b467acb55 proc: Avoid mixing integer types in mem_rw()
11b40c8a67fe cifs: fix fallocate when trying to allocate a hole.
a803678bd60e cifs: only write 64kb at a time when fallocating a small region of a file
ea826bd778f5 dpaa2-switch: seed the buffer pool after allocating the swp
a0f2f2bf424d drm/panel: raspberrypi-touchscreen: Prevent double-free
6cd7bb123703 net: sched: cls_api: Fix the the wrong parameter
c95f925b0c7e RISC-V: load initrd wherever it fits into memory
0bc325702d70 net: dsa: sja1105: make VID 4095 a bridge VLAN too
ec7be4fdd8e1 tcp: disable TFO blackhole logic by default
ad9bfbe97bde riscv: Fix 32-bit RISC-V boot failure
fecd81c2e62f ibmvnic: Remove the proper scrq flush
fee8c811ab34 udp: check encap socket in __udp_lib_err
c1de376423a7 sctp: update active_key for asoc when old key is being replaced
65bd5af10d02 nvme: set the PRACT bit when using Write Zeroes with T10 PI
bc08be0ed085 r8169: Avoid duplicate sysfs entry creation error
2131ea612692 afs: Fix setting of writeback_index
8dda575c8912 afs: check function return
3d888afffcf3 afs: Fix tracepoint string placement with built-in AFS
6bd6db23b44d Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
de3a841649ae nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
a521c15683c1 drm/ttm: Force re-init if ttm_global_init() fails
e7732c5a19a1 scsi: target: Fix NULL dereference on XCOPY completion
2ed13e8f7829 i2c: mpc: Poll for MCF
a706c12da916 ceph: don't WARN if we're still opening a session to an MDS
115784bcccf1 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
34f1e1f657fa net/sched: act_skbmod: Skip non-Ethernet packets
502731a03f27 io_uring: fix memleak in io_init_wq_offload()
23c492a50418 spi: spi-bcm2835: Fix deadlock
140e0dbad4cf net: hns3: fix rx VLAN offload state inconsistent issue
1e3b38761394 net: hns3: fix possible mismatches resp of mailbox
e52445629c2e ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
ce9f267d9e8a net/tcp_fastopen: fix data races around tfo_active_disable_stamp
b9d21b9b46bd net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
a24886feddba bnxt_en: Check abort error state in bnxt_half_open_nic()
c2ed50ff29f8 bnxt_en: Validate vlan protocol ID on RX packets
a1a54e07e63c bnxt_en: fix error path of FW reset
c8c2eed44e41 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
4564b85633b2 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
52b6ad30a026 bnxt_en: don't disable an already disabled PCI device
8ac2e2d69b35 ACPI: utils: Fix reference counting in for_each_acpi_dev_match()
587c2751068a efi/dev-path-parser: Switch to use for_each_acpi_dev_match()
4657af6770c0 ACPI: Kconfig: Fix table override from built-in initrd
24376facf2fd spi: cadence: Correct initialisation of runtime PM again
6128d746d705 scsi: target: Fix protect handling in WRITE SAME(32)
868ffb5f290f scsi: iscsi: Fix iface sysfs attr detection
bc1660206c37 netrom: Decrease sock refcount when sock timers expire
c9437655302c sctp: trim optlen when it's a huge value in sctp_setsockopt
cac71d27745f net: sched: fix memory leak in tcindex_partial_destroy_work
a4a488915fea KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
cdf4a0589eaf KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
69f253c44401 net: decnet: Fix sleeping inside in af_decnet
626cb6d84ba2 efi/tpm: Differentiate missing and invalid final event log table.
f6eeb0829e1a ASoC: soc-pcm: add a flag to reverse the stop sequence
57df79dd0b47 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
eeaa4b8d1e2e usb: hso: fix error handling code of hso_create_net_device
d20ce763c690 spi: spi-cadence-quadspi: Fix division by zero warning
d4c7797ab151 net: fix uninit-value in caif_seqpkt_sendmsg
3d6f06fb19fb bpftool: Check malloc return value in mount_bpffs_for_pin
464c306367cb bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
600b122a690b bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
6c508a1c6c62 bpf, sockmap: Fix potential memory leak on unlikely error case
6be4502a80e3 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
7006eabb4044 liquidio: Fix unintentional sign extension issue on left shift of u16
1dd68ece22ba net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX
5bd05b57e901 drm/vc4: hdmi: Drop devm interrupt handler for CEC interrupts
3ba73cb98302 timers: Fix get_next_timer_interrupt() with no timers pending
364ec7249d01 ASoC: SOF: Intel: Update ADL descriptor to use ACPI power states
a7537dc73e69 xdp, net: Fix use-after-free in bpf_xdp_link_release
cbb086074dab bpf: Fix tail_call_reachable rejection for interpreter when jit failed
cd12f874ae10 bpf, test: fix NULL pointer dereference on invalid expected_attach_type
bc813a1ae95c ASoC: rt5631: Fix regcache sync errors on resume
09b8cc781058 spi: mediatek: fix fifo rx mode
edd1b2b19214 regulator: hi6421: Fix getting wrong drvdata
ae58c13a6b24 regulator: hi6421: Use correct variable type for regmap api val argument
ffb6e766e200 spi: stm32: fixes pm_runtime calls in probe/remove
5b64a59c2c6e ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
14e7330ad106 Kbuild: lto: fix module versionings mismatch in GNU make 3.X
4fc85eb66086 perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
a83d04c140e3 perf data: Close all files in close_dir()
ed0bdfef4ba5 perf probe-file: Delete namelist in del_events() on the error path
871c7043aa52 perf lzma: Close lzma stream on exit
e4518a4141f2 perf script: Fix memory 'threads' and 'cpus' leaks on exit
a412ae547ed5 perf script: Release zstd data
f50f139670f9 perf report: Free generated help strings for sort option
97bb58171315 perf env: Fix memory leak of cpu_pmu_caps
9f29d864b4ad perf test maps__merge_in: Fix memory leak of maps
976804a726c7 perf dso: Fix memory leak in dso__new_map()
e39103cfa102 perf test event_update: Fix memory leak of unit
4db1e70516a4 perf test event_update: Fix memory leak of evlist
19239ff4c98d perf test session_topology: Delete session->evlist
76b70b7987e7 perf env: Fix sibling_dies memory leak
1e338fb1f779 perf probe: Fix dso->nsinfo refcounting
7ec2746ef5c6 perf map: Fix dso->nsinfo refcounting
54dc8a81b785 perf inject: Fix dso->nsinfo refcounting
ebeae3340557 firmware: arm_scmi: Ensure drivers provide a probe function
1824f2a7d4a7 ARM: dts: aspeed: Update e3c246d4i vuart properties
9fe5024f5738 arm64: mte: fix restoration of GCR_EL1 from suspend
3a2c492e7528 KVM: SVM: Fix sev_pin_memory() error checks in SEV migration utilities
9d85689380b6 KVM: SVM: Return -EFAULT if copy_to_user() for SEV mig packet header fails
319b79706f63 KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
916450b2101b sfc: fix lack of XDP TX queues - error XDP TX failed (-22)
14a3ed8ef868 net: ocelot: fix switchdev objects synced for wrong netdev with LAG offload
d1f7e509dc3a nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
b093e56f137c net: phy: marvell10g: fix differentiation of 88X3310 from 88X3340
b2fe6fc671ea mptcp: properly account bulk freed memory
cd7f1414f170 mptcp: refine mptcp_cleanup_rbuf
b24550868ff6 mptcp: use fast lock for subflows when possible
c888aa863218 selftests: mptcp: fix case multiple subflows limited by server
fe2350115a5f mptcp: avoid processing packet if a subflow reset
1dabd873933f mptcp: add sk parameter for mptcp_get_options
89aa6912f2cf mptcp: fix syncookie process if mptcp can not_accept new subflow
1aa3ffb95fdc mptcp: remove redundant req destruct in subflow_check_req()
688984fc1af1 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
5a870ea6e8b7 drm/vmwgfx: Fix a bad merge in otable batch takedown
441b2f191e9f cxgb4: fix IRQ free race during driver unload
efdf9d46bc15 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
6c75b21b2aab selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
84d37878814b selftests: icmp_redirect: remove from checking for IPv6 route get
b11b6ecda552 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
350e10d21733 ipv6: fix 'disable_policy' for fwd packets
8994e395fc39 bonding: fix incorrect return value of bond_ipsec_offload_ok()
4ac748c4b224 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
42ec69b9cd7d bonding: Add struct bond_ipesc to manage SA
d5e9ed0855a4 bonding: disallow setting nested bonding + ipsec offload
c24d04866549 bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
a1f01d2ddb55 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
9863701fa0ec bonding: fix null dereference in bond_ipsec_add_sa()
9ae2584fdd67 bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
08d21fa872ec bpf, samples: Fix xdpsock with '-M' parameter missing unload process
b2a6c45d44e9 gve: Fix an error handling path in 'gve_probe()'
2f2b3b953b43 net: stmmac: Terminate FPE workqueue in suspend
317de567c112 igb: Fix position of assignment to *ring
6c82171aa35b igb: Check if num of q_vectors is smaller than max before array access
e2b71652a5e3 iavf: Fix an error handling path in 'iavf_probe()'
2f5343365d17 e1000e: Fix an error handling path in 'e1000_probe()'
b928fdcafad9 fm10k: Fix an error handling path in 'fm10k_probe()'
a0169ebdb140 igb: Fix an error handling path in 'igb_probe()'
67ad97444580 igc: Fix an error handling path in 'igc_probe()'
67a846441f8e ixgbe: Fix an error handling path in 'ixgbe_probe()'
9d81d1be9f31 igc: change default return of igc_read_phy_reg()
8e24c12f2ff6 igb: Fix use-after-free error during reset
ea5e36b7367e igc: Fix use-after-free error during reset
(From OE-Core rev: ff80cef03f5a9cdf658ca7e81308042503d4f4ba)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These two CVEs are specific to the Node package node-tar.
(From OE-Core rev: bc7216e8148d0dee7b56e6851da6615e93647a0a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://gitlab.freedesktop.org/dbus/dbus/-/issues/1986072f8b241
Currently, if the "dbus" security class or the associated AV doesn't
exist, dbus-daemon fails to initialize and exits immediately. Also the
security classes or access vector cannot be reordered in the policy.
This can be a problem for people developing their own policy or trying
to access a machine where, for some reasons, there is not policy defined
at all.
The code here copy the behaviour of the selinux_check_access() function.
We cannot use this function here as it doesn't allow us to define the
AVC entry reference.
See the discussion at https://marc.info/?l=selinux&m=152163374332372&w=2
(From OE-Core rev: 0441b53d55a919b5ac42e997f4092053b017b553)
Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkgdata no longer includes FILERPROVIDES* nor
FILERDEPENDS*. Fix with new override syntax.
Also apply to FILERPROVIDESLIST and FILERDEPENDSLIST.
(From OE-Core rev: 8f96a2d13bbae8fb70ed7feafdcff26544e3710d)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since shell_trap_code in build.py sets /bin/sh as the interpreter
we will die a silent death if our environment contains things like
"export -f bodilyfunction" and /bin/sh is really /bin/dash.
Fixes this for the case of devshell.
(From OE-Core rev: 23d296b3567aa31bad7b2a8558d4bd3e4505843b)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_create_rdepends_inc function is used to recreate
the perl-rdepends.txt file. Update RDEPENDS_ to RDEPENDS:
for the new override syntax.
(From OE-Core rev: efc6ff1053aad393bbbd031f2504feb02891ae37)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test uses the broken out time and can only handle about 59s of delay,
use a UNIX timestamp to allow for up to a 300s delay.
[YOCTO #14463]
(From OE-Core rev: b705e9373acd4119da75af4eb96ec92cc964aa86)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix read_subpkgdata_dict to account for the new override operator being
":" instead of "_"
(From OE-Core rev: 0b04ae769d4fad2caaa858803d8fbbbaec689541)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moving the function will allow other classes to capture which CVEs have
been patched, in particular SBoM generation.
Also add a function to capture the CPE ID from the CVE Product and
Version
(From OE-Core rev: 75d34259a715120be1d023e4fd7b6b4b125f2443)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A few variables and messages were not migrated over to the new override
syntax (_ to :).
Let's fix that.
(From OE-Core rev: c595d6040d2e0ef94d7da043b41226e90dddf318)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a time that util-linux requres asciidoctor to be there
to have man pages. However, now the tarball ships generated man
pages and will use them. So add back the related settings. Otherwise,
we get the following error when enabling 'doc-pkgs' image feature.
+ update-alternatives --install /usr/share/man/man1/kill.1 kill.1 /usr/share/man/man1/kill.1.procps 200
update-alternatives: Error: not linking /.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/share/man/man1/kill.1 \
to /usr/share/man/man1/kill.1.procps since /.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/share/man/man1/kill.1 exists and is not a link
(From OE-Core rev: 3d66fcc425495b5b68caf1a63c7118c692236cc4)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch the default PACKAGECONFIG for compression feature from xz
to zstd. zstd is significantly faster than xz with only slightly
worse compression ratios. It is therefore much better suited for
activities like systemd-journald.
(From OE-Core rev: b1558bb058243f3a3de600ef5cf04bfaeac4fdeb)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd supports using zstd compression for journald and core files.
Add the necessary PACKAGECONFIG to enable zstd.
(From OE-Core rev: 0e0f8b708beeb1f6add5168b92a5a6a2c8ce96cd)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for audit and selinux rather than disable them
directly. This is useful for selinux distro feature.
(From OE-Core rev: 0a0c6cfc5a17ed442aad9e71e627e0fa39e60ead)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.
(From OE-Core rev: a4544876ad08c5169c07c49d351bedf6f2a16ce4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tune entries for all Arm Cortex-M processors currently supported in
GCC (that are not currently present). The ARMv7 entries were added in
conf/machine/include/ to match the existing Cortex-M and Cortex-A tune
files. The ARMv8 entries were added to conf/machine/include/arm/armv8-m
to match how ARMv8 was done for Cortex-A processor tune files.
(From OE-Core rev: a9ff58f4cc1b45145fc1576c7eacabaea64b7bd4)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Install SDK to non-default dir, sysmlink mkfs.vfat is invalid
$ ./sdk.sh -y -d ./dnf-2 -S -D
$ ls sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -al
lrwxrwxrwx 1 hjia users 99 Aug 10 20:38 sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -> /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools
Since commit [bc4ee54535 sdk: Decouple default install path from
built in path] applied, sdk relocates symlink failed, it should
replace $SDK_BUILD_PATH rather than $DEFAULT_INSTALL_DIR, just
like above commit did
Without this commit:
...
|+ for l in $($SUDO_EXEC find $native_sysroot -type l)
|++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
|++ sed -e s:/usr/local/oecore-x86_64:path-to:
|+ ln -sfn /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/
usr/bin/mkfs.vfat.dosfstools path-to//sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
...
After appling this commit:
...
|+ for l in $($SUDO_EXEC find $native_sysroot -type l)
|++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
|++ sed -e s:/opt/windriver/wrlinux-graphics/21.31:path-to:
|+ ln -sfn path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools
path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
...
(From OE-Core rev: 942c06a7348070b92f722fa5c439c8c4404485b7)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Other keys (UBOOT_SIGN_IMG_KEYNAME) are required to sign individually the images
nodes, and these keys must be different from the ones used to sign the
configurations nodes (UBOOT_SIGN_KEYNAME), then fitimage tests need to be
updated.
(From OE-Core rev: dbaca2c2522ed0dc3d0a2f80dc4510aaec177afc)
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the "required" property, from UBOOT_DTB_BINARY, will be set to "conf"
and no error will be raised in case of error.
(From OE-Core rev: 080e0dfed710035b2e40187d9d639ecf5ab84be2)
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some packages on PyPI don't follow the usual expectations for archive
naming. For example, the archive for asyncio-mqtt 0.10.0 is named
asyncio_mqtt-0.10.0.tar.gz (with an underscore instead of the dash used
in the package name).
To handle these edge cases a new PYPI_ARCHIVE_NAME variable is
introduced. By default this is set to the expected archive name based on
the PyPI package name, version and extension but it can be set to a
different value if needed in a recipe which inherits the pypi class.
(From OE-Core rev: 9659f5a51a2d094b45b52136feac4402d501b4f2)
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG for audit and selinux rather than disable them
directly. This is useful for selinux distro feature.
(From OE-Core rev: 139e9a0fe59413fc98f1fb6112765a7a40192a4f)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A separate u-boot-extlinux package is created for the extlinux.conf file
so that it can be installed on its own if needed. If this package is
populated, it is added as a dependency of the main u-boot package so
that installing just u-boot still results in the extlinux.conf file
being present in the rootfs.
(From OE-Core rev: 40de891259e5b335e636cfa6f831b62415127e4c)
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update patch as setup.cfg changes are now in upstream.
License-Update: Update Copyright years
NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support.
Python 3.5 support will be dropped in the next major release.
RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700
From Byron Platt:
- Fix Install() issue when copytree recursion gives bad arguments
that can lead to install side-effects including keeping dangling
symlinks and silently failing to copy directories (and their
subdirectories) when the directory already exists in the target.
From Joseph Brill:
- Internal MSVS update: Remove unnecessary calls to find all
installed versions of msvc when constructing the installed visual
studios list.
From William Deegan:
- Improve Subst()'s logic to check for proper callable function or
class's argument list. It will now allow callables with expected
args, and any extra args as long as they have default arguments.
Additionally functions with no defaults for extra arguments as
long as they are set using functools.partial to create a new
callable which set them.
- Fix Issue #3035 - mingw with SHLIBVERSION set fails with either
not a dll error or "Multiple ways to build the same target were
specified for:". Now mingw will disable creating the symlinks
(and adding version string to ) dlls. It sets
SHLIBNOVERSIONSYMLINKS, IMPLIBNOVERSIONSYMLINKS and
LDMODULENOVERSIONSYMLINKS to True.
- Added --experimental flag, to enable various experimental
features/tools. You can specify 'all', 'none', or any combination
of available experimental features.
- Fix Issue #3933 - Remove unguarded print of debug information in
SharedLibrary logic when SHLIBVERSION is specified.
- Fix versioned shared library naming for MacOS platform.
(Previously was libxyz.dylib.1.2.3, has been fixed to
libxyz.1.2.3.dylib. Additionally the sonamed symlink had the same
issue, that is now resolved as well)
- Add experimental ninja builder. (Contributed by MongoDB, Daniel
Moody and many others).
- Fix#3955 - _LIBDIRFLAGS leaving $( and $) in *COMSTR output.
Added affect_signature flag to _concat function. If set to False,
it will prepend and append $( and $). That way the various
Environment variables can use that rather than
"$( _concat(...)$)".
- Fix issue with exparimental ninja tool which would fail on windows
or when ninja package wasn't installed but --experimental=ninja was
specified.
- As part of experimental ninja tool, allow SetOption() to set both
disable_execute_ninja and disable_ninja.
From David H:
- Fix Issue #3906 - `IMPLICIT_COMMAND_DEPENDENCIES` was not properly
disabled when set to any string value (For example ['none','false',
'no','off']) Also previously 'All' wouldn't have the desired affect.
From Ivan Kravets:
- Provide a custom argument escape function for `TempFileMunge`
using a new `TEMPFILEARGESCFUNC` variable. Useful if you need to
apply extra operations on a command argument before writing to a
temporary file (fix Windows slashes, normalize paths, etc.)
From Henrik Maier:
- DocbookXslt tool: The XSLT stylesheet file is now initialized to an
env.File() Node, such that dependencies work correctly in hierarchical
builds (eg when using DocbookXslt in SConscript('subdir/SConscript')
context.
From Daniel Moody:
- Update CacheDir to use uuid for tmpfile uniqueness instead of pid.
This fixes cases for shared cache where two systems write to the
same cache tmpfile at the same time because the happened to get the
same pid.
- Added support for passing custom CacheDir derived classes to
SCons. Moved copy_from_cache attribute from the Environment class to
CacheDir class. Code contributed by MongoDB.
- Update BuildTask to pass all targets to the progress object fixing
an issue where multi-target build nodes only got the first target
passed to the progress object.
- Fix a potential race condition in shared cache environments where
the permissions are not writeable for a moment after the file has
been renamed and other builds (users) will copy it out of the cache.
Small reorganization of logic to copy files from cachedir. Moved
CacheDir writeable permission code for copy to cache behind the atomic
rename operation.
- Added marking of intermediate and and multi target nodes generated
from SConf tests so that is_conftest() is more accurate.
- Added test for configure check failing to ensure it didn't break
generating and running ninja.
From Mats Wichmann:
- Initial support in tests for Python 3.10 - expected bytecode and
one changed expected exception message. Change some more regexes
to be specified as rawstrings in response to DeprecationWarnings.
- Add an example of adding an emitter to User Guide (concept from
Jeremy Elson)
- Add timing information for sconsign database dump when --debug=time
is selected. Also switch to generally using time.perf_counter,
which is the Python recommended way for timing short durations.
- Drop remaining definitions of dict-like has_key methods, since
Python 3 doesn't have a dictionary has_key (maintenance)
- Do not treat --site-dir=DIR and --no-site-dir as distinct options.
Allows a later instance to override an earlier one.
- Ignore empty cmdline arguments when computing targets (issue 2986)
- Remove long-deprecated construction variables PDFCOM, WIN32_INSERT_DEF,
WIN32DEFPREFIX, WIN32DEFSUFFIX, WIN32EXPPREFIX, WIN32EXPSUFFIX.
All have been replaced by other names since at least 1.0.
- Add a __iadd__ method to the CLVar class so that inplace adds
(+=) also work as expected (issue 2399)
- Remove local copy of CLVar in EnvironmentTests unittest file -
should be testing against the production version, and they
didn't really differ.
- Don't strip spaces in INSTALLSTR by using raw subst (issue 2018)
- Deprecate Python 3.5 as a supported version.
- CPPDEFINES now expands construction variable references (issue
2363)
- Restore behavior that Install()'d files are writable (issue 3927)
- Simplified Mkdir(), the internal mkdir_func no longer needs to
handle existing directories, it can now pass exist_ok=True to
os.makedirs().
- Avoid WhereIs exception if user set a tool name to empty (from
issue 1742)
- Maintenance: remove obsolete __getslice__ definitions (Py3 never
calls); add Node.fs.scandir to call new (Py3.5) os.scandir;
Node.fs.makedirs now passes the exist_ok flag; Cachedir creation
now uses this flag.
- Maintenance: remove unneeded imports and reorganize some. Fix
uses of warnings in some tools which instantiated the class but did
nothing with them, need to instead call SCons.Warnings.warn with the
warn class.
- Drop overridden changed_since_last_build method in Value class.
- Resync the SetOption implementation and the manpage, making sure
new options are available and adding a notes column for misc
information. SetOption equivalents to --hash-chunksize,
--implicit-deps-unchanged and --implicit-deps-changed are enabled.
- Add tests for SetOption failing on disallowed options and value
types.
- Maintenance: eliminate lots of checker complaints about Util.py.
- Maintenance: fix checker-spotted issues in Environment (apply_tools)
and EnvironmentTests (asserts comparing with self). For consistency,
env.Tool() now returns a tool object the same way Tool() has done.
- Change SConscript() missing SConscript behavior - if must_exist=False,
the warning is suppressed.
- Make sure TEMPFILEPREFIX can be set to an empty string (issue 3964)
From Dillan Mills:
- Add support for the
(TARGET,SOURCE,TARGETS,SOURCES,CHANGED_TARGETS,CHANGED_SOURCES}.relpath
property. This will provide a path relative to the top of the build
tree (where the SConstruct is located) Fixes#396
From Andrew Morrow:
- Fix issue #3790: Generators in CPPDEFINES now have access to
populated source and target lists
(From OE-Core rev: 37a0a8821838a15cc24e1fc84b632bebacb44fb0)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure with -Dvmx=enabled/disabled based on the Altivec feature.
(From OE-Core rev: f6996bb609beb0fae621dfd88f581c0a1c6e38fa)
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These should always be in /lib, regardless of the configuration.
(From OE-Core rev: 63877226c09a674d3794fdc171adf12fe604a3c9)
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to 32/64 bit big endian PowerPC, build with -DWITH_SIMD=False
if the Altivec feature is not available.
(From OE-Core rev: 12f6273cb30b62af2da5edfb600abf8b28491f7a)
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0 dropped the iwmmxt
disable as part of the meson conversion and said: "we can add this
back again if it fails." It does.
| cc1: warning: switch '-mcpu=arm1176jz-s' conflicts with switch '-march=iwmmxt2'
| FAILED: pixman/libpixman-1.so.0.40.0
| lto1: fatal error: target specific builtin not available
| compilation terminated.
(From OE-Core rev: afa713033a7fc9b7c4ac3d703ea9218b4d775def)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia1278d18543493a3f9eace6c2dd2f84701b9c2b1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
the 'virtclass-multilib-xxx' is an override, so use ':' instead of
'_' for TARGET_VENDOR and DEFAULTTUNE.
(From OE-Core rev: a522972821339f42dcdddb334e843e21584bfbea)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit dd555537fc
'sstate.bbclass: fix errors about read-only sstate mirrors'
adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.
The exception handler checks the error type with the python module errno
but this module needs to be imported as it don't exist.
Example of the error:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:sstate_task_postfunc(d)
0003:
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 778, function: sstate_task_postfunc
0774:
0775: omask = os.umask(0o002)
0776: if omask != 0o002:
0777: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
*** 0778: sstate_package(shared_state, d)
0779: os.umask(omask)
0780:
0781: sstateinst = d.getVar("SSTATE_INSTDIR")
0782: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 708, function: sstate_package
0704: except PermissionError:
0705: pass
0706: except OSError as e:
0707: # Handle read-only file systems gracefully
*** 0708: if e.errno != errno.EROFS:
0709: raise e
0710:
0711: return
0712:
Exception: NameError: name 'errno' is not defined
(From OE-Core rev: 15f30ad144fbe25e9a5e71bc7e42e746d2039992)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Old homepage is bad link, cannot be accessed. Now this project is
development on github, and the new homepage is get from
https://github.com/gbarr/perl-Convert-ASN1
Old SRC_URI is not used any more, the lastest update is in 2014.
>From 0.28, the download link changed to:
https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/
(From OE-Core rev: 558a7999dc138c6d51025cc3508e2ccb2556b7a9)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These two tests are designed to exercise the buildtools-tarball.
SanityTests simply verifies that inside the SDK, some commands are used
from the SDK.
BuildTests creates a new OE build directory and builds virtual/libc to
verify that a basic build works correctly. DL_DIR is reused to avoid
needless downloading, but sstate is not shared to ensure a build does
happen.
(From OE-Core rev: 6157d6ffa32d6df383c29d4b6de07feb9d619913)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a testsdk task, which is essentially the same as testsdk.bbclass but
the test case directory is changed. This lets us exercise the
buildtools tarballs at build time.
(From OE-Core rev: 39a0e45ced42826832f84cfbf1cf50ed7c334997)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch has now been submitted to parted-devel.
(From OE-Core rev: c9a958104c526806d38ab2f6f45a07c428d027fe)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch doesn't appear to be needed anymore, so drop it.
(From OE-Core rev: d8c6a87a568ba9b9e84a661989d5b26e07394641)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
e2fsprogs calls filesystems larger than 3MB but smaller than 512MB
"small", which has some implications:
- blocksize 1024 instead of 4096
- inode_ratio 4096 instead of 16384
- inode_size 128 instead of 256
The outcome of the inode size dropping to 128 bytes is that they cannot
store 64-bit timestamps, so are not Y2038-safe.
A previous attempt to solve this problem[1] changed some of the canned
wic files to pass -T default to mkfs.ext4, but this only covered wic
images and not traditional images. Also, actually small filesystems,
for example a core-image-minimal, will happily be tens of megabytes and
with the "default" options will result in an image which runs out of
blocks before it runs out of space:
mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
Considering that many OpenEmbedded images are in fact "small", being
2038-safe is worth the marginal increase is disk usage. This patch
alters the small configuration in native builds so that it also has
256-byte inodes. Target is unchanged so that standard behaviour is
maintained outside of the build.
This is actually the same underlying patch that Mathieu Dubois-Briand
sent in April, but the wic change in [1] was accepted instead. I believe
that is the wrong approach and this approach covers more cases.
[ YOCTO #14478 ]
[1] openembedded-core eecbe62
[2] https://lists.openembedded.org/g/openembedded-core/message/150298
(From OE-Core rev: 9ab0ae83a24ee99e69f8ac54256b253a122aef8a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The check is conditional and only enabled when overlayfs is set in
DISTRO_FEATURES
(From OE-Core rev: 4734799bacf0a5d2487e1cde3ae1c00223b032b2)
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's often desired in Embedded System design to have a read-only rootfs.
But a lot of different applications might want to have a read-write access
to some parts of a filesystem. It can be especially useful when your update
mechanism overwrites the whole rootfs, but you want your application data
to be preserved between updates. This class provides a way to achieve that
by means of overlayfs and at the same time keeping the base rootfs read-only.
(From OE-Core rev: 18377d6f09fc8855c71f2e5c097cbbbccf5632ce)
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable has been deprecated since Yocto Project version 3.0.
(From OE-Core rev: f8ac58568b2dceef54a743369460019b3a3eeccd)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If lto is enabled, we need the prefix-map variables to be passed to the linker.
Add these to the list of options libtool passes through.
(From OE-Core rev: 2c26d2c00b47df856fb2d9c35486b135094d46ac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we add DEBUG_PREFIX_MAP into LDFLAGS, curl-dev is no longer reproducible.
Fix this.
(From OE-Core rev: 3a30b7ad413de0e8f60504ba2be76107e4324640)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we add DEBUG_PREFIX_MAP into LDFLAGS, ruby and ruby-dbg are no
longer reproducible. Fix this.
(From OE-Core rev: c34d5e409b291e69d6ff28ee71acba7055ef3f08)
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we add DEBUG_PREFIX_MAP into LDFLAGS, gettext-ptest is no longer reproducible.
Fix this.
(From OE-Core rev: c759bae9c3b360e0ca5321469e8d77512cadaf1e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-f*-prefix-map flags are required when linking with LTO enabled to make
the output binary reproducible.
See discussion here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101473
[YOCTO #14481]
(From OE-Core rev: fddaecc88979967d0e00e2fafdbaaabec030da9f)
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Skip tests that are problematic for glibc-2.34.
The list of problematic ptests was found by Richard after
patching several to work with the new glibc version.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14500
(From OE-Core rev: c177c7f9ef6f90ca49074f003accb8e9a1a645aa)
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was needed for very old centos distros which are no longer supported
(From OE-Core rev: 24663490adbb0434e810c13ab627a4903c018ca7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this has been removed in 2.34 onwards
(From OE-Core rev: 1ca248f0b894b95b7fc9f0c0c76b5efe3555e386)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bump localedef to get __attr_access_none and __attr_access definitions
replace /bin/bash instead of @BASH@ in ldd as @BASH@ has been substituted with /bin/bash now
package libc_malloc_debug.so.0
Detailed changelog [1]
[1] https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
(From OE-Core rev: af4e1306a78cf8c508dd911f02c103af81bc1af5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a reference that should have been part of the override syntax change
causing packages to be written out incorrectly.
(From OE-Core rev: 0f978b4f03e71267ad0a8a5054141e7727f2944f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This implements various fixes in comments in cve-check.bbclass
In particular, the "whitlisted" typo is important as the "whitelisted"
word is going to be replaced in a near future.
(From OE-Core rev: 5eecd2bf942254d08c252388594e5ec7ae330f45)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests such as lttng-tools are marginal and timing out on the autobuilder
with the current 300s default. Increase to avoid this noise in the ptest
failures list.
(From OE-Core rev: 5fb902a52e35130af6b0735a087c709daa35655f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport ustream gcc patch that enables -fdebug-prefix-map to cover
additional cases with LTO enabled to make LTO builds more reproducible.
[YOCTO #14481]
(From OE-Core rev: 8923253b9bc91b14b474abc4923ca916fb8a12ec)
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With gcc 11.1, compiling grub with LTO causes an internal compiler error
(ICE), and with gcc 10.2, files under /usr/lib/grub/i386-pc/*.mod are not
binary reproducible.
[YOCTO #14490] (gcc 11.1 ICE)
[YOCTO #14481] (LTO and binary reproducibility)
(From OE-Core rev: d1fd3693411d83214f0f88b2f9d7aef12ecd6e02)
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch being discussed upstream to fix a ptest issue with glibc 2.34.
(From OE-Core rev: 8921f2acfd566d2c03cea7bdb9f0b1883994148b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes changes to work with glibc 2.34.
(From OE-Core rev: 58cdb3ff8689c5e87769eb53d154a395492cdeb5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since the upgrade to 249.1 in:
https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c
the builds with ld-is-gold are failing with:
[17/21] Generating linuxx64.elf.stub with a custom command
FAILED: src/boot/efi/linuxx64.elf.stub
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld -o src/boot/efi/linuxx64.elf.stub -T /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld: internal error in segment_precedes, at ../../gold/layout.cc:3721
[18/21] Generating boot.c.o with a custom command
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
as reported in:
https://lists.openembedded.org/g/openembedded-core/message/154246
* if someone is using lld or ld.lld in ${LD} then it would fail as well:
e39288193f
* work around this by always using ld.bfd instead of whatever is set in ${LD}
* it needs to be prefixed with ${HOST_PREFIX} to match how LD is constructed:
$ bitbake-getvar -r systemd-boot LD
#
# $LD [2 operations]
# exported /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523
# [export] "1"
# set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523
# "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
# pre-expansion value:
# "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
export LD="x86_64-oe-linux-ld --sysroot=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot "
$ bitbake-getvar -r systemd-boot EFI_LD
#
# $EFI_LD
# set /OE/build/oe-core/openembedded-core/meta/recipes-core/systemd/systemd-boot_249.1.bb:23
# "${HOST_PREFIX}ld.bfd"
EFI_LD="x86_64-oe-linux-ld.bfd"
otherwise first ld.bfd it will find will be from HOSTTOOLS_NONFATAL and
fail when host's binutils isn't compatible as in:
https://autobuilder.yoctoproject.org/typhoon/#/builders/104/builds/2673/steps/11/logs/stdio
FAILED: src/boot/efi/linuxx64.elf.stub
/home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd -o src/boot/efi/linuxx64.elf.stub -T /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-poky-linux/11.2.0/libgcc.a
/home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
/home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
/home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line
/home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line
/home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: file not recognized: File format not recognized
(From OE-Core rev: 603e50f3db224a0e36a65decb9a98df41b9e22b3)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
v4.6.3
Moved workaround for #327 to _compat module.
v4.6.2
bpo-44784: Avoid errors in test suite when DeprecationWarnings are
treated as errors.
References:
https://github.com/python/importlib_metadata/issues/327https://bugs.python.org/issue44784
(From OE-Core rev: 9ac45967b0e739d7480ac432bab0b0ca0341b24b)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6.14.5 - 2021-07-27
This patch fixes hypothesis.strategies._internal.types.is_a_new_type. It
was failing on Python 3.10.0b4, where NewType is a function.
6.14.4 - 2021-07-26
This patch fixes from_type() and register_type_strategy() for
typing.NewType on Python 3.10, which changed the underlying
implementation (see bpo-44353 for details).
References:
https://bugs.python.org/issue44353
(From OE-Core rev: 19bc156c8f9d43c963b2db3535d11d05c6916600)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The timeout for threading.Lock, threading.Condition, etc, is not using
a monotonic clock, it is affected if the system time (realtime clock)
is set.
This patch will make condvar use monotonic clock.
Refence: https://bugs.python.org/issue41710
(From OE-Core rev: 5a268f95a5bf5ee8c244a8af685d6c84aad9a4ac)
Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In sdk, call createrepo-c failed with:
...
$ createrepo_c --update ./test_repo/rpm
Directory walk started Critical: Failed to detect compression for file
./test_repo/rpm/cortexa72/hello-2.10-r0.cortexa72.rpm: magic_load() failed: could not find any valid magic files!
...
Since commit [ea666fbc74 createrepo-c: set path to magic database for
native and nativesdk] applied, the MAGIC is incorrectly assigned.
The variable datadir will be expanded automatically for nativesdk,
do not need to add prefix ${SDKPATHNATIVE} to MAGIC
(From OE-Core rev: 54368f1b02e1ac4aa068515730a8c8bcd3683eb3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is useful to be able to use the class with recipes using BBCLASSEXTEND
for native extensions. This adds the magic required to do that.
[YOCTO #11449]
(From OE-Core rev: 17bab13b0f2431757d8ddd66489bb720c13a0320)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was replaced by CONVERSION_CMD a long time ago and is no longer referenced
in core. Remove the references to it.
(From OE-Core rev: 576d52cdaca047d290c3b10b26aa2244da230dbb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For consistency, use override syntax for these variables as well since
it is more consistent with the rest of the image code. We may be able to use
these as proper overrides in due course.
(From OE-Core rev: 52674c4b1fdf79829095031b2e342d44fb0dc181)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The IMAGE_TYPEDEP variable would make more sense to match the form of the
other image override variables, convert it to use the overrides format.
(From OE-Core rev: 8573f6b2a7af9867da0b21936ffd2cd2a417de1d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If 'testimage' and 'testsdk' are not inherited, the 'ip'
comamnd will not be in HOSTTOOLS. This results in do_configure
failure of iputils. Backport a patch and skipping building
tests to fix the problem.
(From OE-Core rev: 99cbd4eb95599abdceb7cbb228ff7e74a6a29a09)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The PKG value should only be munged for DEBIAN_NAMES during
populate_packages. Otherwise, native packages can have the wrong value.
(From OE-Core rev: e77dc392a33d93ab2becd438b6b17705c675dcd5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe was ported from another layer, which had special handling for rpi.
OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' DISTRO_FEATURES
and overall, BSP-specifics should be handled in downstream layers, not in OE-Core.
(From OE-Core rev: 80ef74e47bee58efc9b5c46bf76b2bceab0957fe)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Those were missed in previous rounds of automated and manual conversion.
(From OE-Core rev: 22f9c7268b542baf6cd8aa0e34c8fb7aa1579e08)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 297f8c4eb4ff209b5ea69910902d216d86dbe2bf)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of replacing '_<pkg>', we should be replacing ':<pkg>'.
Otherwise, when we meet a 'file-rdeps' QA error, the error message would be
like below.
QA Issue: /usr/lib64/libatopology.so.2.0.0:libatopology contained in package libatopology ...
The ':libatopology' should not be in the error message.
(From OE-Core rev: d65541c13b1346468dce749523b1dc04cfb7f70e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Along with the other license exclusions, we need to exclude the
top level COPYING.MIT file else when:
COPY_LIC_DIRS = "1"
COPY_LIC_MANIFEST = "1"
is set, we see eSDK failures from a pseudo abort.
[YOCTO #14366]
(From OE-Core rev: 3eb580843de3f055e42fcce60b0f15c4190c0542)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Process
The source distribution re-installation feature removal has been delayed to 21.3.
(From OE-Core rev: bc744bad1e338445d5fa02471cdd6389ce44fabf)
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some machines may not define this variable, in such cases bitbake fails
to parse
run.do_configure.3766843: line 164: -Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}: bad substitution
(From OE-Core rev: b68790713fee4de4fa81762526b941ba76b66866)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove libmetalink configure option as this rarely used option is
removed in the new version [1].
[1] 265b14d6b3
(From OE-Core rev: a40524a5c5ad441eebd6b751c2fd66637509ae9d)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the kernel sources are not fetched via git, a local git repository is
created in do_kernel_checkout. In this case we know that there will be
no remote branches and we will already be on the correct branch (since
only one branch will exist). So we can simplify things by skipping these
steps.
This also removes the assumption that the default git branch name will
be "master". Prior to this change, the final git checkout command in
do_kernel_checkout could fail if a local git repo was created and the
user had changed init.defaultBranch in their gitconfig.
(From OE-Core rev: af2a9c92d4498492ca23388c7b4bbed48abdc4d7)
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tricky of using BPN in a common inc file is rather hard to understand.
Simplfy this by moving it to the base vim recipe and use the standard
variable form.
(From OE-Core rev: cffa5930d86a464aceb4764eec510a2b8f5c44a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It does not show correct version info of python3-pytest:
$ pip3 list | grep pytest
pytest 0.0.0
pytest requires setuptools-scm in setup.cfg. It could be met by adding
python3-setuptools-scm-native to dependency and then it will not
download egg file of setuptools-scm during do_compile any more. So
remove 0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
and depend on python3-setuptools-scm-native to make it show the correct
version info.
(From OE-Core rev: 9159db64d3b3c7633deb135e683317fd3e98852c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current way TOOLCHAIN_HOST_TASK is handled within eSDK builds is
causing much confusion, even to people who should understand the code.
For a normal SDK, some layers append to TOOLCHAIN_HOST_TASK unconditionally
which is fine, until the eSDK tries to override the variable to it's own
values. It does not support or use packages installed using this variable
and would use native recipes instead, it is a very different approach.
In the referenced bug, binaries are added but not relocated leading to
confusing errors.
To fix this, add a new variables for the eSDK TOOLCHAIN_HOST_TASK
to be explict and force the eSDK code to use this instead. The setVar
in non-parsing context will clear out any appends resolving the current
issues. The patch also gets rid of some dubious task override use.
[YCOTO #14047]
(From OE-Core rev: 30912ba084aa8600156edddbe4f2db0b85e869d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps it compile with glibc 2.34+
(From OE-Core rev: 9150933dc524b6cedc42b063b7a2092e202f3672)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state
hashes were changing when they should not. This was caused by wider use
of setscene_depvalid which means the dependency on the variable was seen
when it was previously not.
Exclude the variable since this should be be included in the hashes.
(From OE-Core rev: 09725a29365c69ccbd603fe3a1de72189f26d5ac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add SDKPATHINSTALL which is used as the default install location of the SDK
instead of SDKPATH. This means the default install path isn't encoded into
every SDK binary, meaning if a date is used there the entire SDK doesn't
have to rebuild. Most distros can switch to only customise SDKPATHINSTALL
meaning more sstate reuse too.
[YOCTO #14100]
(From OE-Core rev: bc4ee5453560dcefc4a4ecc5657df5cc1666e153)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This bug has been around for a long time (2011) but fix it to do
what was intended originally. The postrm is changed by classes but
those should append to existing entries.
(From OE-Core rev: 7762b07bf3b0c77b91ad91963ab39d3c73770ebf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update gcc, drop patches that have been merged upstream
(From OE-Core rev: 8979de58dc49fb4f8bc55743a1a4bf613c675a4e)
Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make the usbc fragment more generally usable, we enable
the Type-C Port Controller driver for TCPCI-compliant controller.
(From OE-Core rev: 485baca981188896a555d3a48c8b560718bb6e9d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make the usbc fragment more generally usable, we enable
the Type-C Port Controller driver for TCPCI-compliant controller.
(From OE-Core rev: 52d98bdaa2a243ce0b3c6dfaff76ecfaf89a0b30)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>