Commit Graph

45501 Commits

Author SHA1 Message Date
Joshua Watt
45ea7b7970 classes/create-spdx: Add special exception for Public Domain license
The Public Domain license (PD) needs a special exception in the license
processing since there is no common license text to be extracted for
these licenses.

(From OE-Core rev: fe5b757712aa99ff1ff10d2304ac320100635200)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
de3b871786 classes/create-spdx: Fix file:// in downloadLocation
file:// URIs should not be included as the downloadLocation. Instead,
loop until a non-file:// URI is found, or set the location to
NOASSERTION if none is found

(From OE-Core rev: 19c61ec3986213b336d965d90b1329085e7d6179)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
beeb0f9e53 classes/create-spdx: Speed up hash calculations
Use the bb.utils.sha* utilities to hash files since they are much faster
than the loops we were rolling ourselves

(From OE-Core rev: a6d9de5350937c7e25899491db59f473345f0b69)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
902480107d classes/create-spdx: Fix up license reporting
Licenses reported in the SPDX documents should be either:
 A) A valid SPDX identifier cross referenced from the SPDX license
    database
 B) A "LicenseRef" to a license described in the SPDX document

The licensing code will now add a placeholder extracted license with
corresponding "LicenseRef" for any licenses that are not matched to the
SPDX database

Parenthesis in the license expression are now handled correctly

(From OE-Core rev: 28d9d035c0ff8fcaf28bc96a976a43a602a47e94)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Saul Wold
0d5c2d9f35 classes/create-spdx: extend DocumentRef to include name
This will create a more uniq DocumentRef, which will allow
the individual spdx files to be merged into a single SBOM
file reflecting the image. Do the same with the runtime dependencies
also

(From OE-Core rev: df7c88a48621d32c02f328eedc314f10d475b758)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
25e41200c7 classes/create-spdx: Fix another creator
Fixes another creator that was missed earlier

(From OE-Core rev: 046c05fec9fc5162d7a14971ed1402d86605d229)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
bdda626481 classes/create-spdx: Add NOASSERTION for unknown debug sources
If a debug source cannot be found, mark it as NOASSERTION so that other
tools at least know we were unable to locate it.

(From OE-Core rev: 0e6bdd3f208c50153087c2baca67e9fd64a458d0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
0b871c57b8 classes/create-spdx: Add runtime dependency mapping
(From OE-Core rev: 82f3229bce41dc101c79865033432161dac269d8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
69faca3df6 classes/create-spdx: Add index to DEPLOYDIR
Add the index to DEPLOYDIR in addition to adding it to the SPDX archive

(From OE-Core rev: 374dc08c0f22e98a267676f71308592d17f77d64)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f1cd4f264d classes/create-spdx: Add SHA1 to index file
(From OE-Core rev: ebfe78ad26b643ce0fb22ba5b3ede43da4a78987)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f3796b4524 classes/create-spdx: Change creator
Update the creator name since this no longer lives in meta-doubleopen

(From OE-Core rev: 6fdea64ef53eb4de3d0e58e70ae6b391fdff6cd0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f1a34a63e4 classes/create-spdx: Add class
Adds a class as a first attempt to create SPDX SBoM documents during the
build. This initial work was influenced by [meta-doubleopen][1],
although almost completely rewritten.

[1]: https://github.com/doubleopen-project/meta-doubleopen

(From OE-Core rev: 78c79821ae7e2f060b9a74ea9aefce98102bb00e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
7ec54b1743 classes/package: Add extended packaged data
Adds extended package data which is encoded as JSON which allows it to
encode more structure than the "flat" package data files. The extended
data might be much larger than the standard package data, so it is not
read by default and instead requires
oe.packagedata.read_subpkgdata_extended() to be called

Currently, the file sizes and ELF debug sources are saved off into the
extended package data

(From OE-Core rev: db9cf430e54ae68da80fbc3fba80ce88d8df164d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
d521ba8c32 Add SPDX licenses
Adds the SPDX license database from https://github.com/spdx/license-list-data

(From OE-Core rev: a8048931701438e2f267a52a43869c27743907e3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Ross Burton
2220839599 common-licenses: add missing SPDX licences
As part of the work to converge our license support with SPDX, ensure
that we have all of the licenses that SPDX supports.

(From OE-Core rev: e2f9092c37395f4e3ee9d0777e28c83cce6007ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
8d25cd30ac wpebackend-fdo: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 391895306c44545843dca1ab8ac5b299194f18a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
d209ae8887 libwpe: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 521664fea3f21c1fe08ab19227519cbb224f353c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
4e794f99fc webkitgtk: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: fea814494865976e78be308642db553102ca9e02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
d3f2e9d8ec libx11-compose-data: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-2-Clause BSD-4-Clause.

(From OE-Core rev: e55bc3bdb8698ea6673174d33f659518b55f1ff2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
f5e78cb2ca iputils: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: e3ece26a268e0f7b69221ce1da2f5be613b5826f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
6dc9c606f6 python3-packaging: fix license statement
This is licensed as Apache OR BSD, not AND.

Also use the precise license BSD-2-Clause.

(From OE-Core rev: b7b406287dc05ae7228ef66dbada71c439bce4fb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
7eaab4b261 openssh: remove redundant BSD license
The license statement already includes BSD-2-Clause and BSD-3-Clause, so
remove the redundant and ambiguous BSD license.

(From OE-Core rev: 5c0b03cda19bcebfc71e1e601a4336fcda4bfc2b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
359fc85454 libevent: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 924d1d9ca51f2a45cdf0094c50434e25c0437c6a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
df0997688a acpica: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 0cfa82ca0df9b711521f7e47a22a7650871e5883)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
aa58df18bb dtc: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 4765c9be0ccc883d3b803b0695b8bf986d9b105f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
1d0ef6010a nfs-utils: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 5214d23cf0d316d501a147a09edfb46df42d6cb7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
e54618d010 quota: remove BSD license
Only the 'quot' tool was BSD licensed, and this was removed upstream in
commit 5d30a29 (since 4.05).

(From OE-Core rev: 3dfe4fe43a3bb5d90d6d7cb1ee56db3b0657821e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
95e494cefc python3-numpy: remove redundant BSD license
The license list already includes BSD-2-Clause and BSD-3-Clause, so
remove the redundant and ambiguous BSD license.

(From OE-Core rev: 7026bfa36aa07aa95e0e4ecf1787c09001a752bf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
e3be13ae57 lz4: remove redundant BSD license
The upstream license is BSD-2-Clause or GPLv2, so remove the redundant
and ambiguous BSD license.

(From OE-Core rev: 53cf640e72118d0a7916b165d78c68090aa06381)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Alexander Kanavin
359e1cb62f mesa: enable crocus driver for older intel graphics
See here for the full story:
https://www.phoronix.com/scan.php?page=news_item&px=Intel-Crocus-Default-Gallium3D

Once crocus does become the default over i965, upstream is likely to retire
classic pre-gallium drivers altogether, which (with the exception of
i965, superseded by crocus) are all for retrocomputing hardware.

(From OE-Core rev: dfc5f935b5b1759f73b2ddd86d2b291436dbc705)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Martin Jansa
a1c9d67c2b rust: remove unused patches
* 0001-nfc-Fix-missing-include.patch was only used in 1.51.0 version recently removed
* 0001-rustc_target-Fix-dash-vs-underscore-mismatches-in-op.patch was only used in 1.49.0 version in meta-rust

(From OE-Core rev: 52b12dac55a3747d8d6f2e799c669ef2bcda57ae)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Richard Purdie
63b1fd2226 rust-common: Hack around LD_LIBRARY_PATH issues on centos7
When building cargo-native on centos7 with buildtools tarball installed,
we see failures:

/bin/sh: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /home/pokybuild/yocto-worker/reproducible-centos/build/build-st/tmp/work/x86_64-linux/cargo-native/1.54.0-r0/recipe-sysroot-native/usr/lib/libtinfo.so.5)

We also see this for libstd-rs once cargo-native is fixed.

The reason for this is that the wrapper script
cargo-native/1.54.0-r0/wrapper/target-rust-ccld has /bin/sh as it's
interpreter and cargo calls this with LD_LIBRARY_PATH set to include the
recipe-sysroot-native. The host /bin/sh links to libtinfo from the host
but it finds the version in the sysroot which needs a newer libc. This
results in the above error since the loader is an older libc and the two
are incompatible.

Our ccld wrapper calls gcc/ld which don't need the LD_LIBRARY_PATH
variable set. We can't patch this out the source since we're using
a prebuilt binary to generate a new cargo binary so this is impossible
to bootstrap.

Instead, put a binary wrapper into place which removes LD_LIBRARY_PATH
from the environment before calling the original wrapper (left in shell
as it is simpler to maintain).

(From OE-Core rev: 8feeeb7f76c6725e5226458c8f22999b67c52694)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Richard Purdie
640136a72b cargo: Apply uninative fix to snapshot as with rust
Also add the interpreter relocation trick from uninative to the prebuilt
cargo binary to match rust-native, just in case that causes other problems
later too.

(From OE-Core rev: e3cb3958cc14672feef5d4d8953131f55db68573)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Marek Vasut
1603585cd2 weston: Add rdp PACKAGECONFIG
Weston has RDP backend support. This can be used e.g. for screen mirroring.
Add PACKAGECONFIG so it can be enabled by the user. By default, this is not
enabled, to retain the old behavior of the recipe.

Below is an example testcase of using the RDP backend for screen mirroring,
i.e. two devices display the same content across ethernet link, input on
either is passed across the link.

- Add the following to weston.ini:
  [core]
  modules=screen-share.so
  screen-share=true
  [screen-share]
  command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config

- Generate keys on the board (the board.key and board.crt above):
  $ winpr-makecert -rdp -path /path/to/

- Restart weston on the board. To start screen sharing, press
  Ctrl-Alt-S
  on the keyboard (see weston compositor/screen-share.c).

- Connect to the weston using freerdp, e.g.:
  $ xfreerdp /v:192.168.1.300

(From OE-Core rev: 05706a487c2e57fb26935276a2ec650405900243)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Ross Burton
b3dcbdc4d6 ptest: allow the ptest-packagelists.inc warning to be disabled
ptest.bbclass has a sanity check that all recipes in oe-core which
inherit ptest are also listed in the ptest-packagelists.inc file, and
the build fails if this is not the case.

Whilst this is a laudable goal, it is over-zealous as if the recipe has
a bbappend in another layer which inherits ptest, the build will fail.

By changing the combination of anonymous Python and bb.error() to a
recipe-scope QA test, this can be handled with the other sanity checks
and bbappends can skip the test if desired.

(From OE-Core rev: abe45c8c0a6da56a278796654d0520250dfd2a97)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Kristian Klausen
75d9a77eba systemd: Add repart PACKAGECONFIG
systemd-repart[1] is useful for partitioning the disk:
"systemd-repart grows and adds partitions to a partition table, based on
the configuration files described in repart.d(5)."[1]

openssl is required by repart, so it can be enabled like so:
PACKAGECONFIG += "openssl repart"

[1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html

(From OE-Core rev: a9fb51b75d4536d13734d91222bb0bc612555ae2)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Ross Burton
e1986db49b mesa: fix build on Arm V5 with soft float
Since 80923e8d ("util/format: Add some NEON intrinsics-based
u_format_unpack.") upstream the build fails on Arm platforms which use
the soft-float ABI, such as qemuarmv5:

 arm_neon.h:31:2: error: #error "NEON intrinsics not available with the
 soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"

Take a patch from upstream to check the ABI being used before trying to
use NEON instructions.

(From OE-Core rev: f3d82abb781c2642a50a60033641194d1e40c212)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
9facca6e30 u-boot: Make UBOOT_BINARYNAME configurable
Make the u-boot binary name configurable. Use the existing variable
UBOOT_BINARYNAME which is evaluated from the UBOOT_BINARY.

(From OE-Core rev: e588cde6aed1e699a055e3481df0f3dc719c9774)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
7c08a9e3cd u-boot: Make SPL suffix configurable
Make the SPL suffix configurable via SPL_SUFFIX variable to support SPL
binaries with suffix. The suffix is optional and empty per default. The
delimiter in front of the suffix is added automatically if the suffix
is not empty. A new variable SPL_BINARYFILE contains the binary file
name inclusive optional delimiter and suffix and the old variable
SPL_BINARYNAME contains only the name of the binary without directory,
delimiter and specified suffix. This behavior is backward compatible
with empty SPL_SUFFIX variable.

(From OE-Core rev: e4cfec633c20d6406523da905530e887b853f7ed)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
b8b43622e8 u-boot: Remove misplaced configuration type variable
(From OE-Core rev: 3fe8adbad5226d673f22f31f4903149cf3376ae5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Stefan Herbrechtsmeier
a65d092ee3 u-boot: Remove redundancy from installed and deployed SPL artifact names
Remove redundant parts from the deployed and installed SPL artifact
names of multi config configurations to match the other U-Boot artifact
names.

(From OE-Core rev: 74f1f84d09ec5b435942e2a83697834677055343)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
79147c27fd swig: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 01354672728aff07ae146b19e1a4a98977aac52b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
79eb0333fe flac: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 0442d87d5c6c467ba0e35d4ee20bd907f4dd9fdf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
8948100ce7 font-util: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 828bca22d9a4b995d9961d3cc8c3aedcb5ef577d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
40cd87df6e libx11: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 44fd2aa731956fe0a0f74d36959c88b0b87adab5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
f9bf930496 libjitterentropy: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: a352473138dd2396bc33eff3d738c41ff24f52fe)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
ca7e12eb49 libxfont2: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: e340bad91f3220a156572bde3c337425f5c36cfc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
55ebfb1909 libpam: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: d9948d0439cf26af9f570e9a9d0d214294bae504)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
b1596d37ba sudo: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: ff27ea21d7c14086335da5c3e2fac353e44438da)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
995d672317 libcap: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 9e8b2bc55792932e23d3b053b393b7ff88bffd6b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
d19e9f86d5 shadow: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 65e3b23e1b266653fd30c90222e953f7e37fba0c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
c6170c9cfe e2fsprogs: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 966fb77981e4fed0ab7998439940b1e05dd0ee43)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
ca099bad72 glib-2.0: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 91cd1ef01a3f3883c04bac67af2672ec60e20fb8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
bb25d14e53 tzdata: Remove BSD License specifier
The code in question is licensed under the BSD-3-Clause license, so
including the generic "BSD" license is unnecessary.

(From OE-Core rev: c39fc075ce3fd5b53c2a2fccb43500ee0a12f39d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
970895763c conf/licenses: Add FreeType SPDX mapping
The FreeType license maps to the FTL SPDX identifier

(From OE-Core rev: 7b0b745d7c1841b9af3b90d3e41e31606a72435e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Michael Halstead
961073a302 uninative: Upgrade to 3.4
This adds a patch to glibc which allows it to work with Docker and
clone3 syscall issues cased by EPERM vs ENOSYS.

(From OE-Core rev: 06d55ee67ef81a9f9da178b06bb797cc62881643)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:47 +01:00
Michael Opdenacker
e6365c9f52 meta: stop using "virtual/" in RPROVIDES and RDEPENDS
Fixes [YOCTO #14538]

Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS.

That's confusing because "virtual/" has no special meaning in
RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS).

Instead, using "virtual-" instead of "virtual/"
as already done in the glibc recipe.

(From OE-Core rev: 93ac180d8c389f16964bce8bd5538d9389e970e6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:47 +01:00
Andrey Zhizhikin
1326991282 nativesdk-packagegroup-sdk-host: add perl integer module
Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at
build time instead of shipping them") uses perl to generate assembler
files for crypto functionality, which relies on the integer.pm module to
be provided.

Add perl module to package group and export it in SDK.

(From OE-Core rev: 9f4c95a874f6a463b7d56bacea9ba321e29499f9)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:46 +01:00
Richard Purdie
29fcb0dfc9 oeqa/buildtools-cases: Allow bitbake time to shutdown
bitbake may still be shutting down when the UI exits. Wait for the lock
to disappear before trying to delete the directory to avoid errors.

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/buildtools/build/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 23, in test_libc
    self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir))
  File "/usr/lib64/python3.7/tempfile.py", line 807, in __exit__
    self.cleanup()
  File "/usr/lib64/python3.7/tempfile.py", line 811, in cleanup
    _shutil.rmtree(self.name)
  File "/usr/lib64/python3.7/shutil.py", line 494, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib64/python3.7/shutil.py", line 452, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib64/python3.7/shutil.py", line 450, in _rmtree_safe_fd
    os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock'

(From OE-Core rev: 94df60cc97058444188ec8372c2d9849e74b76c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:46 +01:00
Trevor Woerner
d7140d5375 distro_features_check: expand with IMAGE_FEATURES
In addition to checking DISTRO_, MACHINE_, and COMBINED_ FEATURES for required
or conflicting features, extend this functionality in order to check
IMAGE_FEATURES in the same way.

(From OE-Core rev: 96a9702a24a73c152c8e7398c3774e63c53a92a9)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:18 +01:00
Andres Beltran
157462fc2a buildhistory: Label packages providing per-file dependencies in depends.dot
Currently, depends.dot includes per-file dependencies but not the packages
providing those files. This makes it hard to obtain all package
dependencies by just looking at depends.dot.

Parse the RPROVIDES and FILERPROVIDES fields from pkgdata to map each of
their values to the package providing the component. Include runtime
packages as dependencies in depends.dot, together with the component
provided by the package as a label.

(From OE-Core rev: 2ba33093017574bbe29eeba699eb90628614d03a)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:18 +01:00
Ross Burton
39b4f7efa9 cpio: backport fix for CVE-2021-38185
(From OE-Core rev: 4accf77ea5b5810cb2330acc6773690ec1b1c71b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Kai Kang
fc3d511cf5 rustfmt: fix SRC_URI
(From OE-Core rev: 9f92fcb502aeae26c2e35832d5414a6096c20961)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Khem Raj
380eff02da musl: Update to latest tip of trunk
Drop upstream patch

This brings in following fixes

  * 3f701faa (upstream/master, origin/master) fix libc-internal signal blocking on mips archs
  * 0fbd7d66 fix broken struct shmid_ds on powerpc (32-bit)
  * 4f3d346b math: fix fmaf not to depend on FE_TOWARDZERO
  * 937822ab fix TZ parsing logic for identifying POSIX-form strings
  * 1f0c7cb1 riscv: rename __NR_fstatat __NR_newfstatat
  * d8cb888d remove return with expression in void function
  * b7a130e0 remove unnecessary cast for map_library return
  * bd3b9c4c add pthread_getname_np function
  * e1a51185 fix popen not to leak pipes from one child to another
  * e74acd59 remove spurious lock in popen
  * 9a40e842 define __STDC_UTF_{16,32}__ macros

(From OE-Core rev: da8fcd0155f1cf3394d0886c940bee77669009d4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Tim Orling
2226d3db15 rust-common.bbclass: export RUST_TARGET_PATH
Running 'rustc --print <foo>' in -c devshell environment
the target specifications are not known, unless the
RUST_TARGET_PATH (absolute path to rustlib/) is defined.

(From OE-Core rev: 6d0603ffe18c1a5999db854abb668b05aff47f67)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Jon Mason
a4b23e131e tune-*: Use more specific DEFAULTTUNE
These files are using a more generic DEFAULTTUNE in their targeted tune
file.  This is contrary to what is being done in other tune files, and
this changes them to match.  It is still possible to use the more
generic DEFAULTTUNE in a machine's config file by simply specifying it.

(From OE-Core rev: e35205a9803692d72eb92b86d740821c667b527e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Alexander Kanavin
d2b0f230e0 rust: fix upstream version checks
(From OE-Core rev: e2e87d82ad1ec071077f29613e2e568196912daa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Armin Kuster
af0beedc6f lz4: remove rest of ptest artifacts
Commit: 953f6d9a71 lz4: remove ptest changes

missed removing the run-ptest file

(From OE-Core rev: 28aaf1223396820f8fcd9a6aade46b5007b030a6)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Armin Kuster
61a42047e5 lz4: Security Fix for CVE-2021-3520
Source: https://github.com/lz4/lz4
MR: 111604
Type: Security Fix
Disposition: Backport from 8301a21773 (diff-7055e9cf14c488aea9837aaf9f528b58ee3c22988d7d0d81d172ec62d94a88a7)
ChangeID: 58492f950164e75954a97cf084df6f9af3d88244
Description:

(From OE-Core rev: 6d6a089a2f637051333e0137d2e748c823e2aa98)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Zoltán Böszörményi
e492d55d02 base/kernel: Support zstd-compressed squashfs and cpio initramfs
Enable zstd PACKAGECONFIG knob for squashfs-tools and add support for zstd
compressed initramfs and squashfs.

(From OE-Core rev: fa146049eec5f9730781830270cc9dc55a2146f7)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Richard Purdie
3d2904cab5 kernel: Use unexpanded EXTENDPKGV
EXTENDPKGV can contain AUTOINC so use an expanded form in the variables allowing
for later expansion during packaging to avoid race issues over the variable and
the build failures that can result.

(From OE-Core rev: 1f93d2426d22c74893e8daec9bb939133c5737c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 12:07:38 +01:00
Hongxu Jia
40305d389e glibc: fix create thread failed in unprivileged process
Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.

In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined.  If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.

As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)

[1] https://man7.org/linux/man-pages/man2/clone3.2.html

So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
fix the issue.

(From OE-Core rev: 234a3e84640c1bb6df5fa4d3d7089a854b19d108)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-31 20:51:11 +01:00
Andres Beltran
37e0565c11 buildhistory: Add output file listing package information
Currently, buildhistory does not produce a single file combining relevant
information of installed packages. Produce an output file
"installed-package-info.txt" listing a package's runtime name, buildtime name,
its recipe, version, and size to avoid having to look up each package externally.
Leave the existing package list files as-is for backwards compatibility.

In order to support this efficiently, extend oe-pkgdata-util to accept multiple keys
for its read-value argument.

(From OE-Core rev: 1e18b514bf1f960d324a21db608c8e8e5af007ef)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
51a174f501 parselogs.py: ignore intermittent CD/DVDROM identification failure
We don't use the CD/DVD ROM drive in any of our tests, but it
periodically fails discovery and that leads to a QA error:

    [    6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)

The only way to disable the optical ROM drive in qemu is to use
the '-nodefaults' option, which disables the CDROM (among other things).
We can't be sure that none of our tests, or extended users are relying
on default devices, so using that option is more of a risk than adding
the message to our ignore list.

To date, no one has sent a patch to just disable the optical drive
(either in qemu or the BIOS), but that is something we could consider
in the future.

[YOCTO #14528]

(From OE-Core rev: 143fc5504539c69752ca87717507c197a8920ce5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
fec65c5f98 linux-yocto/5.10: update to v5.10.60
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    2c5bd949b1df Linux 5.10.60
    3a24e121304a net: dsa: microchip: ksz8795: Use software untagging on CPU port
    1e78179d75fb net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
    5033d5e23155 net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
    60c007b52779 net: dsa: microchip: ksz8795: Fix PVID tag insertion
    f365d53c8687 net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port
    3dc5666baf2a KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
    c0883f693187 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
    b5f05bdfda28 vmlinux.lds.h: Handle clang's module.{c,d}tor sections
    2fe07584a623 ceph: take snap_empty_lock atomically with snaprealm refcount change
    a23aced54c2c ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
    b0efc93271ca ceph: add some lockdep assertions around snaprealm handling
    dcdb587ac470 vboxsf: Add support for the atomic_open directory-inode op
    7cd14c1a7fed vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
    433f0b31ebec KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
    0ab67e3dfc4d KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
    4a948c579ed6 efi/libstub: arm64: Double check image alignment at entry
    fc7da433fa16 powerpc/smp: Fix OOPS in topology_init()
    312730cd15e0 PCI/MSI: Protect msi_desc::masked for multi-MSI
    724d0a985086 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
    923368751866 PCI/MSI: Correct misleading comments
    e42fb8e6161e PCI/MSI: Do not set invalid bits in MSI mask
    042e03c9cdab PCI/MSI: Enforce MSI[X] entry updates to be visible
    0b2509d7a90c PCI/MSI: Enforce that MSI-X table entry is masked for update
    aa8092c1d1f1 PCI/MSI: Mask all unused MSI-X entries
    7e90e81a4b59 PCI/MSI: Enable and mask MSI-X early
    2d2c66848027 genirq/timings: Prevent potential array overflow in __irq_timings_store()
    355754194b48 genirq/msi: Ensure deactivation on teardown
    f0736bed18fb x86/resctrl: Fix default monitoring groups reporting
    25216ed97da8 x86/ioapic: Force affinity setup before startup
    19fb5dabedca x86/msi: Force affinity setup before startup
    4e52a4fe6f44 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
    2a28b52306f2 x86/tools: Fix objdump version check again
    4acc0d987141 powerpc/kprobes: Fix kprobe Oops happens in booke
    015e2c900b5d efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
    feb4a01d3ece efi/libstub: arm64: Force Image reallocation if BSS was not reserved
    afcb84e6cf8c arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    e0ee8d9c31b5 nbd: Aovid double completion of a request
    f5cefe9a52a6 vsock/virtio: avoid potential deadlock when vsock device remove
    dff830e5e723 xen/events: Fix race in set_evtchn_to_irq
    65395b053d03 drm/i915: Only access SFC_DONE when media domain is not fused off
    4344440d91b3 net: igmp: increase size of mr_ifc_count
    696afe28dc51 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
    8976606ca347 net: linkwatch: fix failure to restore device state across suspend/resume
    4c2af90119ea net: bridge: fix memleak in br_add_if()
    f333a5ca71c3 net: bridge: fix flags interpretation for extern learn fdb entries
    e3b949b86d09 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
    1cad01aca1fa net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
    56cc3408ff2a net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
    f7720b35cd32 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
    24e1b7dbb174 net: igmp: fix data-race in igmp_ifc_timer_expire()
    69b13167a636 net: Fix memory leak in ieee802154_raw_deliver
    dbfaf7a6a23a net: dsa: microchip: ksz8795: Fix VLAN filtering
    ccc1fe82c878 net: dsa: microchip: Fix ksz_read64()
    558092b8ed31 drm/meson: fix colour distortion from HDR set during vendor u-boot
    6e1886465dea net/mlx5: Fix return value from tracer initialization
    303ba011f5e1 net/mlx5: Synchronize correct IRQ when destroying CQ
    00a0c11ddd72 bareudp: Fix invalid read beyond skb's linear data
    30b1fc47f765 psample: Add a fwd declaration for skbuff
    b3f0b170842c iavf: Set RSS LUT and key in reset handle path
    a6192bae12e4 ice: don't remove netdev->dev_addr from uc sync list
    bae5b521feaa ice: Prevent probing virtual functions
    059238c52c61 net: sched: act_mirred: Reset ct info when mirror/redirect skb
    f15f7716b047 net/smc: fix wait on already cleared link
    51f4965d775e ppp: Fix generating ifname when empty IFLA_IFNAME is specified
    046579c9fc28 net: phy: micrel: Fix link detection on ksz87xx switch"
    e95620c3bdff bpf: Fix integer overflow involving bucket_size
    1960c3ac5268 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
    a3e9a3e22844 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
    53ebbfdd0e37 net: mvvp2: fix short frame size on s390
    784320edb6c5 net: dsa: mt7530: add the missing RxUnicast MIB counter
    20a80319028c ASoC: cs42l42: Fix LRCLK frame start edge
    750503aecf4e pinctrl: tigerlake: Fix GPIO mapping for newer version of software
    be49d5437d1a netfilter: nf_conntrack_bridge: Fix memory leak when error
    aa6b17bfefbc ASoC: cs42l42: Remove duplicate control for WNF filter frequency
    b268f9f6b73f ASoC: cs42l42: Fix inversion of ADC Notch Switch control
    2386a8cde18e ASoC: SOF: Intel: hda-ipc: fix reply size checking
    0e47f99e8680 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
    576939671f74 ASoC: cs42l42: Correct definition of ADC Volume control
    a21963c35f16 pinctrl: mediatek: Fix fallback behavior for bias_set_combo
    27188a938291 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
    528f17c02db9 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
    95de3592f87e drm/amdgpu: don't enable baco on boco platforms in runpm
    bd80d11a516c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
    ae311a7418f1 drm/amd/display: Remove invalid assert for ODM + MPC case
    c2351e5faa3e libnvdimm/region: Fix label activation vs errors
    366de90ccfa2 ACPI: NFIT: Fix support for virtual SPA ranges
    f3fcf9d1b759 ceph: reduce contention in ceph_check_delayed_caps()
    ca6dea44bd8c ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
    4716a2145bbf net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
    561d13128bb8 seccomp: Fix setting loaded filter count during TSYNC
    54916988a0fb scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    3db5cb922800 cifs: create sd context must be a multiple of 8
    d1398e3715b1 i2c: dev: zero out array used for i2c reads from userspace
    b8bceace43dd ASoC: intel: atom: Fix reference to PCM buffer address
    261613ef340b ASoC: tlv320aic31xx: Fix jack detection after suspend
    7e5a7fa68b27 ASoC: uniphier: Fix reference to PCM buffer address
    209eb62b45fe ASoC: xilinx: Fix reference to PCM buffer address
    c419c4c91b30 ASoC: amd: Fix reference to PCM buffer address
    0c9adae11701 iio: adc: Fix incorrect exit of for-loop
    632279e5057c iio: humidity: hdc100x: Add margin to the conversion time
    45de224b1332 iio: adis: set GPIO reset pin direction
    d0532ed064d1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels

(From OE-Core rev: 94fef82258d02285009d08b7a1791de124ff8f45)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
2ddefea9e7 linux-yocto/5.13: update to v5.13.12
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f428e49b8cb1 Linux 5.13.12
    639a033fd765 KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
    a0949ee63cf9 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
    874213144352 kasan, slub: reset tag when printing address
    ac0e79584d41 ceph: take snap_empty_lock atomically with snaprealm refcount change
    dcd02a1248cc ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
    36b361cb1966 ceph: add some lockdep assertions around snaprealm handling
    90d215367156 KVM: x86/mmu: Protect marking SPs unsync when using TDP MMU with spinlock
    0f4bf029494d KVM: x86/mmu: Don't leak non-leaf SPTEs when zapping all SPTEs
    bd043e754f4d KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
    1163cd462e1f KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
    a3040e7e9ff2 locking/rtmutex: Use the correct rtmutex debugging config option
    b636a0d1e5c8 efi/libstub: arm64: Double check image alignment at entry
    0e1d1392f381 powerpc/32: Fix critical and debug interrupts on BOOKE
    4ce6f022df43 powerpc/xive: Do not skip CPU-less nodes when creating the IPIs
    3b1700551dee powerpc/smp: Fix OOPS in topology_init()
    115ff78c3a03 powerpc/32s: Fix napping restore in data storage interrupt (DSI)
    3eda59bcee6e powerpc/pseries: Fix update of LPAR security flavor after LPM
    33971cedf1d9 powerpc/interrupt: Do not call single_step_exception() from other exceptions
    11aa5db61e9b PCI/MSI: Protect msi_desc::masked for multi-MSI
    b82047e5d807 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
    849b6a5bde32 PCI/MSI: Correct misleading comments
    ea6cc94e8807 PCI/MSI: Do not set invalid bits in MSI mask
    78225ed700df PCI/MSI: Enforce MSI[X] entry updates to be visible
    0b51d4c16a27 PCI/MSI: Enforce that MSI-X table entry is masked for update
    6c971252f090 PCI/MSI: Mask all unused MSI-X entries
    f800bb380fea PCI/MSI: Enable and mask MSI-X early
    73d8b5769514 powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt()
    9dac5f65caaf genirq/timings: Prevent potential array overflow in __irq_timings_store()
    0c081d4a6a13 genirq/msi: Ensure deactivation on teardown
    0abb63311246 x86/resctrl: Fix default monitoring groups reporting
    55cd80f4928c x86/ioapic: Force affinity setup before startup
    067ef0204880 x86/msi: Force affinity setup before startup
    24ed8f291d59 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
    560051d8f439 x86/tools: Fix objdump version check again
    d8f9d8c4be6e i2c: iproc: fix race between client unreg and tasklet
    daf371e74d36 powerpc/kprobes: Fix kprobe Oops happens in booke
    2bfb303470e0 efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
    bfc48d02d915 efi/libstub: arm64: Force Image reallocation if BSS was not reserved
    f3409e925da2 KVM: arm64: Fix off-by-one in range_is_memory
    14034883d058 arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    98f73989055f nbd: Aovid double completion of a request
    09625c5badd2 vsock/virtio: avoid potential deadlock when vsock device remove
    128e480afe78 xen/events: Fix race in set_evtchn_to_irq
    950429a4d346 drm/i915: Only access SFC_DONE when media domain is not fused off
    9977d0baadc8 net: igmp: increase size of mr_ifc_count
    4391389526a1 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
    53201f2902ee net: linkwatch: fix failure to restore device state across suspend/resume
    59cabc513b8a net: bridge: fix memleak in br_add_if()
    ff6c9aad3599 net: bridge: fix flags interpretation for extern learn fdb entries
    c7c9cc4a6016 pinctrl: sunxi: Don't underestimate number of functions
    735e90f3efa6 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
    8398aab49ba3 net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
    c6cbf5672cc0 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
    22ecb3423f9c net: dsa: hellcreek: fix broken backpressure in .port_fdb_dump
    52133524d807 net: igmp: fix data-race in igmp_ifc_timer_expire()
    44c8aa996911 net: Fix memory leak in ieee802154_raw_deliver
    74b264b342a5 net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table lookup
    1c4f28207fab net: dsa: microchip: ksz8795: Fix VLAN filtering
    3cc015794dab net: dsa: microchip: ksz8795: Use software untagging on CPU port
    9674dc6724c5 net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
    159948c423aa net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
    3149f9edddf9 net: dsa: microchip: ksz8795: Fix PVID tag insertion
    8154453a4be5 net: dsa: microchip: Fix ksz_read64()
    037570c9adab bpf: Fix potentially incorrect results with bpf_get_local_storage()
    1d1808fae2e0 ovl: fix deadlock in splice write
    75004b47fba4 drm/meson: fix colour distortion from HDR set during vendor u-boot
    11e249ce5e3e net/mlx5: Fix return value from tracer initialization
    436f4a1c6d17 net/mlx5: Synchronize correct IRQ when destroying CQ
    9b0b9c9da810 net/mlx5e: TC, Fix error handling memory leak
    89163e392e57 net/mlx5: Block switchdev mode while devlink traps are active
    09ab613d4996 net/mlx5e: Destroy page pool after XDP SQ to fix use-after-free
    c0cb7d8be945 net/mlx5e: Avoid creating tunnel headers for local route
    3f20768c9fdc net/mlx5: DR, Add fail on error check on decap
    df712c5d591a net/mlx5: Don't skip subfunction cleanup in case of error in module init
    f49d457950b9 io-wq: fix IO_WORKER_F_FIXED issue in create_io_worker()
    815a0fe3f415 io-wq: fix bug of creating io-wokers unconditionally
    3cedeb691b74 bareudp: Fix invalid read beyond skb's linear data
    ed277fbd3053 psample: Add a fwd declaration for skbuff
    792e7591d308 iavf: Set RSS LUT and key in reset handle path
    f2b15898012a ice: don't remove netdev->dev_addr from uc sync list
    8a0814243362 ice: Stop processing VF messages during teardown
    e266d4c43b95 ice: Prevent probing virtual functions
    00735401c918 net: sched: act_mirred: Reset ct info when mirror/redirect skb
    e04669e14c5a net/smc: Correct smc link connection counter in case of smc client
    9b8f136b88f3 net/smc: fix wait on already cleared link
    6a4b92821135 io_uring: clear TIF_NOTIFY_SIGNAL when running task work
    1e19d18189fe ppp: Fix generating ifname when empty IFLA_IFNAME is specified
    2a4a96afa7b5 net: phy: micrel: Fix link detection on ksz87xx switch"
    d8431e3fa7b3 net: dsa: qca: ar9331: make proper initial port defaults
    ada7135e6d99 bpf: Fix integer overflow involving bucket_size
    621d81cfbb0c libbpf: Do not close un-owned FD 0 on errors
    51f19580f5f4 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
    466f5509f62a drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()'
    fd0b94e6b1c7 perf/x86/intel: Apply mid ACK for small core
    736e0445f921 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
    a4de486958ff net: mvvp2: fix short frame size on s390
    f67f34a86375 net: dsa: mt7530: add the missing RxUnicast MIB counter
    141af64cf768 ASoC: cs42l42: Fix mono playback
    d57b00645556 ASoC: cs42l42: Fix LRCLK frame start edge
    6e61f4d51d38 ASoC: cs42l42: PLL must be running when changing MCLK_SRC_SEL
    22af0d2a5e5e pinctrl: tigerlake: Fix GPIO mapping for newer version of software
    deff14bdcc54 netfilter: nf_conntrack_bridge: Fix memory leak when error
    71805c36336a ASoC: cs42l42: Remove duplicate control for WNF filter frequency
    9c272596189c ASoC: cs42l42: Fix inversion of ADC Notch Switch control
    710490222c69 ASoC: SOF: Intel: hda-ipc: fix reply size checking
    ba216b210f26 ASoC: SOF: Intel: Kconfig: fix SoundWire dependencies
    d82c88a44bb6 selftests/sgx: Fix Q1 and Q2 calculation in sigstruct.c
    67488f5c9613 ASoC: cs42l42: Fix bclk calculation for mono
    b4f870447de1 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
    918bbb32c823 ASoC: cs42l42: Correct definition of ADC Volume control
    676b96483576 pinctrl: mediatek: Fix fallback behavior for bias_set_combo
    73e81f7219aa drm/mediatek: Fix cursor plane no update
    30df59b45cac ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
    bb0c87658dd1 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
    73248a01ae14 drm/amdgpu: handle VCN instances when harvesting (v2)
    7e73eac2bd90 drm/amdgpu: don't enable baco on boco platforms in runpm
    fcd957aa8b32 drm/amdgpu: Add preferred mode in modeset when freesync video mode's enabled.
    7b69bee4817c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
    164759f4070e drm/amd/display: Remove invalid assert for ODM + MPC case
    3565f42dc8e2 drm/i915/display: Fix the 12 BPC bits for PIPE_MISC reg
    01478e251732 drm/i915/gvt: Fix cached atomics setting for Windows VM
    21fcf2f1ced4 vmlinux.lds.h: Handle clang's module.{c,d}tor sections
    33d2301ad61b riscv: kexec: do not add '-mno-relax' flag if compiler doesn't support it
    1579656b0141 libnvdimm/region: Fix label activation vs errors
    4debaa9f577a ACPI: NFIT: Fix support for virtual SPA ranges
    fbe28d4afbda pinctrl: k210: Fix k210_fpioa_probe()
    3d33960c8d66 ceph: reduce contention in ceph_check_delayed_caps()
    01b2ec534d38 ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
    30a5d06dc3dd net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
    2bb154128d14 net: wwan: mhi_wwan_ctrl: Fix possible deadlock
    8610d75c4db6 seccomp: Fix setting loaded filter count during TSYNC
    bf77f479cd4c cgroup: rstat: fix A-A deadlock on 32bit around u64_stats_sync
    5028bdb679c4 scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    3e35c7dbf706 io_uring: fix ctx-exit io_rsrc_put_work() deadlock
    e1c5046e341d io_uring: drop ctx->uring_lock before flushing work item
    000cb600dabf cifs: use the correct max-length for dentry_path_raw()
    0ca6ac8a2691 cifs: Call close synchronously during unlink/rename/lease break.
    10290043f377 cifs: create sd context must be a multiple of 8
    3c420ec43971 cifs: Handle race conditions during rename
    cc3a5a27e811 i2c: dev: zero out array used for i2c reads from userspace
    2693a747960b ASoC: intel: atom: Fix reference to PCM buffer address
    145951900b76 ASoC: kirkwood: Fix reference to PCM buffer address
    8e4a0581e288 ASoC: tlv320aic31xx: Fix jack detection after suspend
    3380a37484eb ASoC: uniphier: Fix reference to PCM buffer address
    4cf1b08e6889 ASoC: xilinx: Fix reference to PCM buffer address
    c43e0f97f5fc ASoC: amd: Fix reference to PCM buffer address
    b37adfb2c760 iio: adc: Fix incorrect exit of for-loop
    88f5acc1f2af iio: humidity: hdc100x: Add margin to the conversion time
    29ccbb4684e9 iio: adis: set GPIO reset pin direction
    51289a499dd1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
    c7ee0c9854fd Revert "usb: dwc3: gadget: Use list_replace_init() before traversing lists"
    95f4fb3ef0b9 lib: use PFN_PHYS() in devmem_is_allowed()

(From OE-Core rev: c89d577e1c447d1be72720aa499408a9e988fdab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
7cf486b247 linux-yocto/5.10: update to v5.10.59
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    5805e5eec901 Linux 5.10.59
    25cff25ec606 net: xilinx_emaclite: Do not print real IOMEM pointer
    6a002d48a660 ovl: prevent private clone if bind mount is not allowed
    bffead8d3648 ppp: Fix generating ppp unit id when ifname is not specified
    5df85901fe45 ALSA: hda: Add quirk for ASUS Flow x13
    8930f2c60a45 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
    98c3fa3a9d7a ALSA: pcm: Fix mmap breakage without explicit buffer setup
    cc1a4dff23a4 USB:ehci:fix Kunpeng920 ehci hardware problem
    bd909fd3878d vboxsf: Make vboxsf_dir_create() return the handle for the created file
    971703fc19cf vboxsf: Honor excl flag to the dir-inode create op
    96b2232cb7e5 arm64: dts: renesas: beacon: Fix USB ref clock references
    e0dd4a0ab072 arm64: dts: renesas: beacon: Fix USB extal reference
    0f47027d1b9b arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H
    eaa7feecd366 mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM
    0e709390372f Revert "selftests/resctrl: Use resctrl/info for feature detection"
    d8c38598701f bpf: Add lockdown check for probe_write_user helper
    5b5064ea9a94 firmware: tee_bnxt: Release TEE shm, session, and context during kexec
    c5a625c6a4ac tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
    9f105d2d4f6c KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
    132a8267adab Linux 5.10.58
    3d7d1b0f5f41 arm64: fix compat syscall return truncation
    bb65051dcd1f drm/amdgpu/display: only enable aux backlight control for OLED panels
    c8b7cfa674ee smb3: rc uninitialized in one fallocate path
    8cfdd039ca18 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
    fbbb209268e5 alpha: Send stop IPI to send to online CPUs
    13d0a9b3b917 net: qede: Fix end of loop tests for list_for_each_entry
    1478e902bcbc virt_wifi: fix error on connect
    ecd8614809eb reiserfs: check directory items on read from disk
    dbe4f82fedc6 reiserfs: add check for root_inode in reiserfs_fill_super
    0f05e0ffa247 libata: fix ata_pio_sector for CONFIG_HIGHMEM
    11891adab23d drm/i915: avoid uninitialised var in eb_parse()
    a3e6bd0c71bb sched/rt: Fix double enqueue caused by rt_effective_prio
    c797b8872bb9 perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
    2d94cffc94a5 soc: ixp4xx/qmgr: fix invalid __iomem access
    7397034905ac drm/i915: Correct SFC_DONE register offset
    16aecf1e36d9 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
    22b4917c85af interconnect: Always call pre_aggregate before aggregate
    ccfe4f62ff9f interconnect: Zero initial BW after sync-state
    05565b469358 spi: meson-spicc: fix memory leak in meson_spicc_remove
    1a084e78217d interconnect: Fix undersized devress_alloc allocation
    dcc23e58511b soc: ixp4xx: fix printing resources
    37cbd27ef4b2 arm64: vdso: Avoid ISB after reading from cntvct_el0
    7a2b5bb00f54 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
    32f55c25ee29 KVM: Do not leak memory for duplicate debugfs directories
    309a31127bef KVM: x86: accept userspace interrupt only if no event is injected
    a786282b55b4 md/raid10: properly indicate failure when ending a failed write request
    3d7d2d2b069b ARM: omap2+: hwmod: fix potential NULL pointer access
    9851ad2f7107 Revert "gpio: mpc8xxx: change the gpio interrupt flags."
    57c44e7ac788 bus: ti-sysc: AM3: RNG is GP only
    f4984f60acc7 selinux: correct the return value when loads initial sids
    100f8396d154 pcmcia: i82092: fix a null pointer dereference bug
    afcd5a0e015f net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
    f08b2d078cbb xfrm: Fix RCU vs hash_resize_mutex lock inversion
    23e36a8610ca timers: Move clearing of base::timer_running under base:: Lock
    9a69d0d24d69 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
    bfb5f1a12325 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
    0f30fedced7c serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
    17f3c64f707b MIPS: Malta: Do not byte-swap accesses to the CBUS UART
    8a1624f4a8d3 serial: 8250: Mask out floating 16/32-bit bus bits
    c03cef67157a serial: 8250_mtk: fix uart corruption issue when rx power off
    a4f8bfc919ee serial: tegra: Only print FIFO error message when an error occurs
    cc7300776808 ext4: fix potential htree corruption when growing large_dir directories
    6b5a3d2c2b89 pipe: increase minimum default pipe size to 2 pages
    556e7f204d34 media: rtl28xxu: fix zero-length control request
    551e0c5d6b2e drivers core: Fix oops when driver probe fails
    faec2c68ea5f staging: rtl8712: error handling refactoring
    e468a357af68 staging: rtl8712: get rid of flush_scheduled_work
    369101e39911 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
    1628b64efb36 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
    2a879ff9719f optee: fix tee out of memory failure seen during kexec reboot
    ad80c25987fe optee: Refuse to load the driver under the kdump kernel
    1340dc3fb75e optee: Fix memory leak when failing to register shm pages
    6b2ded93d35c tee: add tee_shm_alloc_kernel_buf()
    5e9d82021425 optee: Clear stale cache entries during initialization
    e5d8fd87091c arm64: stacktrace: avoid tracing arch_stack_walk()
    7799ad4d181f tracepoint: Fix static call function vs data state mismatch
    14673e19291c tracepoint: static call: Compare data on transition from 2->1 callees
    046e12323ab4 tracing: Fix NULL pointer dereference in start_creating
    b2aca8daa50e tracing: Reject string operand in the histogram expression
    b10ccc2c5888 tracing / histogram: Give calculation hist_fields a size
    f97274528037 scripts/tracing: fix the bug that can't parse raw_trace_func
    fd3afb81f448 clk: fix leak on devm_clk_bulk_get_all() unwind
    948ff2f214fb usb: otg-fsm: Fix hrtimer list corruption
    8f8645de092a usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
    5b4318885a43 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
    1f2015506d9c usb: gadget: f_hid: idle uses the highest byte for duration
    825ac3f0bc35 usb: gadget: f_hid: fixed NULL pointer dereference
    683702dff7c8 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
    051518d9cfe3 usb: cdns3: Fixed incorrect gadget state
    822bec5cbb05 usb: gadget: remove leaked entry from udc driver list
    98c83d72614e usb: dwc3: gadget: Avoid runtime resume if disabling pullup
    79e9389038c4 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
    b7532db2d458 ALSA: usb-audio: Fix superfluous autosuspend recovery
    80b7aa2651bc ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
    de30786fb25a ALSA: hda/realtek: add mic quirk for Acer SF314-42
    c0b626f0a29a ALSA: pcm - fix mmap capability check for the snd-dummy driver
    dd3f7c5c8904 drm/amdgpu/display: fix DMUB firmware version info
    ecb739cf15a9 firmware_loader: fix use-after-free in firmware_fallback_sysfs
    5019f5812bbf firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
    aa3b8bc17e2a USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
    d245a76719cf USB: serial: ch341: fix character loss at high transfer rates
    0470385e63bb USB: serial: option: add Telit FD980 composition 0x1056
    ba4a395668b5 USB: usbtmc: Fix RCU stall warning
    f2f856b65ac4 Bluetooth: defer cleanup of resources in hci_unregister_dev()
    821e6a613354 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
    c5a499b8607a net: vxge: fix use-after-free in vxge_device_unregister
    fb49d67262ca net: fec: fix use-after-free in fec_drv_remove
    f12b6b6bc15f net: pegasus: fix uninit-value in get_interrupt_interval
    c66d273b70fe bnx2x: fix an error code in bnx2x_nic_load()
    f76f9caccb46 mips: Fix non-POSIX regexp
    f93b7b000044 MIPS: check return value of pgtable_pmd_page_ctor
    9b2b2f07712b net: sched: fix lockdep_set_class() typo error for sch->seqlock
    d1f2abe57bc1 net: dsa: qca: ar9331: reorder MDIO write sequence
    a45ee8ed0c7d net: ipv6: fix returned variable type in ip6_skb_dst_mtu
    f87be69b7fe9 nfp: update ethtool reporting of pauseframe control
    44f2e360e784 sctp: move the active_key update after sh_keys is added
    e74551ba938a RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
    1242ca9369b1 gpio: tqmx86: really make IRQ optional
    4ef549dc9c1a net: natsemi: Fix missing pci_disable_device() in probe and remove
    1dc3eef381c1 net: phy: micrel: Fix detection of ksz87xx switch
    e09dba75cafd net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
    c0b14a0e61e7 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
    00bf923dce2a net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
    de425f1c3a60 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
    74bcf85ff1e2 net, gro: Set inner transport header offset in tcp/udp GRO hook
    80fd533ac3f9 dmaengine: imx-dma: configure the generic DMA type to make it work
    163e6d87216d ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
    442f7e04d592 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
    449991df08d5 media: videobuf2-core: dequeue if start_streaming fails
    3e8bba601212 scsi: sr: Return correct event when media event code is 3
    aaaf6e6e4174 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
    cd989e119272 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
    281514da66a4 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
    bbce3c99f622 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
    84656b4c27bf clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
    edf1b7911af2 dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
    4ebd11d1c782 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
    9bf056b99fa0 ARM: dts: am437x-l4: fix typo in can@0 node
    e79a30f71d95 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    71f39badc898 ALSA: usb-audio: fix incorrect clock source setting
    c4fcda128780 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
    8d13f6a0a656 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
    f239369f37d9 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
    ee6f7084324d ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
    e1011b9c597d ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
    c0f61abbefdf arm64: dts: ls1028: sl28: fix networking for variant 2
    54555c399668 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
    3790f940981d ARM: imx: add missing clk_disable_unprepare()
    a28569b510e5 ARM: imx: add missing iounmap()
    9189d77f0e21 arm64: dts: ls1028a: fix node name for the sysclk
    d61dc8c634bb net: xfrm: fix memory leak in xfrm_user_rcv_msg
    8efe3a635f22 bus: ti-sysc: Fix gpt12 system timer issue with reserved status
    e32a291736fc ALSA: seq: Fix racy deletion of subscriber
    b917f123b50d Revert "ACPICA: Fix memory leak caused by _CID repair function"

(From OE-Core rev: 07c7379180a5cda5a2b056aab99826469f41810a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
d0afa65ba3 linux-yocto/5.13: update to v5.13.11
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    a3f1a03f54fc Linux 5.13.11
    41812f4b8448 ovl: prevent private clone if bind mount is not allowed
    2b187b56d531 ppp: Fix generating ppp unit id when ifname is not specified
    9153106ca7e3 ALSA: hda: Add quirk for ASUS Flow x13
    1252406498a6 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
    c67b3ee8ca46 ALSA: pcm: Fix mmap breakage without explicit buffer setup
    95421b33f9a2 bpf: Add lockdown check for probe_write_user helper
    ea56b15b909c firmware: tee_bnxt: Release TEE shm, session, and context during kexec
    a37da2be8e6c Linux 5.13.10
    65485c34aa43 HID: ft260: fix device removal due to USB disconnect
    6cf4cab9db7e platform/x86: gigabyte-wmi: add support for B550 Aorus Elite V2
    37d363b3f6f7 drm/amdgpu/display: only enable aux backlight control for OLED panels
    0505f8c628b9 smb3: rc uninitialized in one fallocate path
    b092186eb9e6 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
    23f50e8ea008 alpha: Send stop IPI to send to online CPUs
    dd62ad1e49cc net: qede: Fix end of loop tests for list_for_each_entry
    f4c5021e7b3a virt_wifi: fix error on connect
    cd5a60de176c reiserfs: check directory items on read from disk
    42b81b2b6766 reiserfs: add check for root_inode in reiserfs_fill_super
    aa54be4d1716 libata: fix ata_pio_sector for CONFIG_HIGHMEM
    fb9501ef203d riscv: dts: fix memory size for the SiFive HiFive Unmatched
    aa11124534b9 sched/rt: Fix double enqueue caused by rt_effective_prio
    bfdb06df02df perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
    1de1a42a8590 soc: ixp4xx/qmgr: fix invalid __iomem access
    8db20e539486 drm/i915: Correct SFC_DONE register offset
    9f01d090be13 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
    019387e3c21f interconnect: Always call pre_aggregate before aggregate
    39382972e727 interconnect: Zero initial BW after sync-state
    f2ca988aba4e spi: meson-spicc: fix memory leak in meson_spicc_remove
    e170a01152d2 usb: cdnsp: Fix incorrect supported maximum speed
    95108645a282 usb: cdnsp: Fix the IMAN_IE_SET and IMAN_IE_CLEAR macro
    e9b413776d32 interconnect: Fix undersized devress_alloc allocation
    6d74664e9843 soc: ixp4xx: fix printing resources
    7a822dd050b1 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
    16375248cec6 KVM: Do not leak memory for duplicate debugfs directories
    9a6772458f8e KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
    82c9a3098bbc KVM: x86: accept userspace interrupt only if no event is injected
    642ffd390d67 s390/dasd: fix use after free in dasd path handling
    6ed983ea4a12 io-wq: fix race between worker exiting and activating free worker
    08ed8d676c94 md/raid10: properly indicate failure when ending a failed write request
    d6e1229a1bbb ARM: omap2+: hwmod: fix potential NULL pointer access
    b5f6bab9522e arm64: fix compat syscall return truncation
    a62784c80b1b Revert "gpio: mpc8xxx: change the gpio interrupt flags."
    383d2836d2fa bus: ti-sysc: AM3: RNG is GP only
    6e8de6c62763 selinux: correct the return value when loads initial sids
    f730f081a49b scsi: ibmvfc: Fix command state accounting and stale response detection
    1cbbe89e6123 pcmcia: i82092: fix a null pointer dereference bug
    60cd03514038 net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
    d6bfaf682860 xfrm: Fix RCU vs hash_resize_mutex lock inversion
    662a1fd0ec69 perf: Fix required permissions if sigtrap is requested
    711f71b661ff virt: acrn: Do hcall_destroy_vm() before resource release
    9ae78810a2b4 timers: Move clearing of base::timer_running under base:: Lock
    fafe9cf51f80 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
    03d6da7c923f serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
    134cbd486ac4 serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
    9b2967bd9888 MIPS: Malta: Do not byte-swap accesses to the CBUS UART
    b321bb83a2c6 serial: 8250: fix handle_irq locking
    979bd0e11d88 serial: 8250: Mask out floating 16/32-bit bus bits
    19364aeb0b63 serial: 8250_mtk: fix uart corruption issue when rx power off
    b188f699e036 serial: tegra: Only print FIFO error message when an error occurs
    ddbd617df071 Revert "thunderbolt: Hide authorized attribute if router does not support PCIe tunnels"
    bc3c6b55a4ea ext4: fix potential htree corruption when growing large_dir directories
    e745e3033999 pipe: increase minimum default pipe size to 2 pages
    e58376a283bd media: rtl28xxu: fix zero-length control request
    e10d4de4ff5e drivers core: Fix oops when driver probe fails
    9f57b942c4f3 staging: rtl8712: error handling refactoring
    e7565488445d staging: rtl8712: get rid of flush_scheduled_work
    125b1d808b98 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
    7a4e7a65d088 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
    156dc5bd1c8d optee: fix tee out of memory failure seen during kexec reboot
    7a710ab78bb8 optee: Refuse to load the driver under the kdump kernel
    255e17923b22 optee: Fix memory leak when failing to register shm pages
    55dac0db5316 tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
    a256c244187a tee: add tee_shm_alloc_kernel_buf()
    dca5025908f7 optee: Clear stale cache entries during initialization
    c7003666555d arm64: stacktrace: avoid tracing arch_stack_walk()
    ab19b258d68b tracepoint: Use rcu get state and cond sync for static call updates
    21acfdc21754 tracepoint: Fix static call function vs data state mismatch
    ee6f51d74e11 tracepoint: static call: Compare data on transition from 2->1 callees
    1483ce6d8ffd tracing: Fix NULL pointer dereference in start_creating
    aa9876e40cb6 tracing: Reject string operand in the histogram expression
    53e512b6c563 tracing / histogram: Give calculation hist_fields a size
    b907f0dd99cc scripts/tracing: fix the bug that can't parse raw_trace_func
    00fcd7f7a28b clk: fix leak on devm_clk_bulk_get_all() unwind
    8bb9022e0737 usb: otg-fsm: Fix hrtimer list corruption
    8ac3e4bdc284 usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
    f6f2d875a557 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
    74cd6464d6ad usb: gadget: f_hid: idle uses the highest byte for duration
    b27bb0d8988e usb: gadget: f_hid: fixed NULL pointer dereference
    12620d8780dd usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
    39129dc820d0 usb: cdnsp: Fixed issue with ZLP
    36d3bb59f3c6 usb: cdns3: Fixed incorrect gadget state
    271a4a35c61d usb: gadget: remove leaked entry from udc driver list
    fadfc2b17a1d usb: dwc3: gadget: Avoid runtime resume if disabling pullup
    cde7b3b1ddd4 usb: dwc3: gadget: Use list_replace_init() before traversing lists
    22952d4d1ae2 ALSA: usb-audio: Avoid unnecessary or invalid connector selection at resume
    11ebf7631eb6 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
    8691bda37729 ALSA: usb-audio: Fix superfluous autosuspend recovery
    6537805a71cd ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
    4cb3b665fa39 ALSA: hda/realtek: add mic quirk for Acer SF314-42
    fb78a577d5e5 ALSA: pcm - fix mmap capability check for the snd-dummy driver
    797bcd3d678b drm/amdgpu/display: fix DMUB firmware version info
    8330879408e5 drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled
    c14a54675db7 firmware_loader: fix use-after-free in firmware_fallback_sysfs
    34311eaec13b firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
    44b8abfb1c0f USB: serial: pl2303: fix GT type detection
    654b54e72cb3 USB: serial: pl2303: fix HX type detection
    ccc55e1df78b USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
    9fc923d27852 USB: serial: ch341: fix character loss at high transfer rates
    a07d3a2a57de USB: serial: option: add Telit FD980 composition 0x1056
    e7cf487c5f05 USB: usbtmc: Fix RCU stall warning
    d92eaad3ed95 io-wq: fix lack of acct->nr_workers < acct->max_workers judgement
    ebad5646c059 io-wq: fix no lock protection of acct->nr_worker
    75dd00b755eb Bluetooth: defer cleanup of resources in hci_unregister_dev()
    5c4139e2e299 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
    fc443dec3786 net: vxge: fix use-after-free in vxge_device_unregister
    5969dc53160a net: fec: fix use-after-free in fec_drv_remove
    91c159168dbd net: pegasus: fix uninit-value in get_interrupt_interval
    a4e2310d171e net: ethernet: ti: am65-cpsw: fix crash in am65_cpsw_port_offload_fwd_mark_update()
    6e2de0ad1d17 bnx2x: fix an error code in bnx2x_nic_load()
    9884f6096c4a kbuild: cancel sub_make_done for the install target to fix DKMS
    cb1f2a9b52d6 mips: Fix non-POSIX regexp
    a047015d4b23 x86/tools/relocs: Fix non-POSIX regexp
    b50d4d2b6fc6 MIPS: check return value of pgtable_pmd_page_ctor
    367c5c9d53e4 drm/i915: fix i915_globals_exit() section mismatch error
    8cc7b4cbce30 net: sched: fix lockdep_set_class() typo error for sch->seqlock
    04c35b1c155d riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled
    57b76a8fec62 net: dsa: qca: ar9331: reorder MDIO write sequence
    60dd525573d5 RDMA/hns: Fix the double unlock problem of poll_sem
    c3aba13b0e21 net: ipv6: fix returned variable type in ip6_skb_dst_mtu
    2841b3001376 nfp: update ethtool reporting of pauseframe control
    0294ca659bce drm/i915: Call i915_globals_exit() if pci_register_device() fails
    d73959cc5d98 sctp: move the active_key update after sh_keys is added
    8a9099d737d1 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
    29d04e9cf568 RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
    84a55bb25b8c gpio: tqmx86: really make IRQ optional
    be4b1c034ce7 net: natsemi: Fix missing pci_disable_device() in probe and remove
    a8c78e76c426 net: phy: micrel: Fix detection of ksz87xx switch
    6986053b6f33 net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
    731993ae08c3 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
    8a9e4d4e6ede net: dsa: sja1105: ignore the FDB entry for unknown multicast when adding a new address
    f072c44eb10b net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
    8395e1c53494 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
    1e6eab0aa13b net, gro: Set inner transport header offset in tcp/udp GRO hook
    64b81fcfd37f dmaengine: imx-dma: configure the generic DMA type to make it work
    6cb60082664e ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
    3957b6192d01 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
    941212f8762b ARM: dts: stm32: Prefer HW RTC on DHCOM SoM
    938b3e21c01a media: videobuf2-core: dequeue if start_streaming fails
    5258b116b485 scsi: sr: Return correct event when media event code is 3
    c298b61f6524 drm/kmb: Enable LCD DMA for low TVDDCV
    1d9f0250c73c spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
    de77638ae9ac spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
    64df529b50d0 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
    748fb4387195 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
    e03d177b32d8 clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
    a4240c4f23fb dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
    50836f77ccc2 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
    4b0843e94e86 ARM: dts: am437x-l4: fix typo in can@0 node
    36fec2753f39 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    747d62a533b5 riscv: stacktrace: Fix NULL pointer dereference
    b28fd0f0b5cf ALSA: usb-audio: fix incorrect clock source setting
    f98f80297a05 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
    71ecd71e4e6e ext4: fix potential uninitialized access to retval in kmmpd
    b49b428e9462 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
    710be2446523 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
    15d9eb484ebd ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
    50f5768127aa ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
    c9658f4ddfce arm64: dts: ls1028: sl28: fix networking for variant 2
    d882c91b1585 dmaengine: idxd: fix submission race window
    1f2b17134c7c dmaengine: idxd: fix sequence for pci driver remove() and shutdown()
    6c3b6b10a84f dmaengine: idxd: fix desc->vector that isn't being updated
    48b425d005b5 Revert "soc: imx8m: change to use platform driver"
    ad6ef82f5695 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
    b1137318a18c ARM: imx: add missing clk_disable_unprepare()
    f6624656c389 ARM: imx: add missing iounmap()
    e1045d5ac6ad dmaengine: idxd: fix setup sequence for MSIXPERM table
    1c8a2fa0600a dmaengine: idxd: fix array index when int_handles are being used
    84e5c5ccd6ef arm64: dts: ls1028a: fix node name for the sysclk
    e95a18d6f83a net: xfrm: fix memory leak in xfrm_user_rcv_msg
    c03d1a2a4b99 bus: ti-sysc: Fix gpt12 system timer issue with reserved status
    3419672f00c8 ALSA: seq: Fix racy deletion of subscriber
    873180433191 Revert "ACPICA: Fix memory leak caused by _CID repair function"

(From OE-Core rev: 66da39e1c965d944a5bdf1955bae716956c56bb7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Andrej Valek
4e2da1699e vim: add option to disable NLS support
- Some distributions with UTF-8 locale have problem when National Language
Support is enabled. Add there an option to disable it.

(From OE-Core rev: da630d6d81a396c3e1635fbd7b8103df47ed2732)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Alexander Kanavin
ecf8795519 qemurunner.py: handle getOutput() having nothing to read
(From OE-Core rev: f4abfdeea175cfcadd6f73a69a676632ab4334a6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Alexander Kanavin
e4aa695cea qemurunner.py: print output from runqemu/qemu-system in stop()
This is done when starting up qemu has failed, but is not done
when qemu started ok, but fails later in QMP communication.

Output from runqemu does contain valuable information to find out
why, so rather than fix all the QMP fails to include it, let's just
print it in stop().

(From OE-Core rev: 6e2bf68e4401db747484c2c8ba0f77500b1d2d49)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Peter Kjellerstedt
e61c030679 meson.bbclass: Make the default buildtype "debug" if DEBUG_BUILD is 1
Setting the Meson buildtype to "debug" will by default only enable the
-g option to the compiler, which should not matter for OE-Core as it is
already enabled by setting DEBUG_BUILD to 1 in the first place. However,
if the package uses get_option('debug') in its meson.build files to
enable package specific debug code, this will now trigger as intended.

(From OE-Core rev: 7c7c353858a020153be5dba78480b91a28c7a05b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Andrey Zhizhikin
91a29ab9e9 lttng-modules: do not search in non-existing folder during install
When CONFIG_TRACEPOINTS is not enabled in kernel config - module
compilation is skipped, which causes the ${D}/${nonarch_base_libdir} not
to be created.

This fails later in do_install:append() due to the fact that find
command in executed for non-existing folder.

Check for folder existence before find command in executed.

(From OE-Core rev: de0aa1700ed4e6f04b0a233eb1f6d2ac598e7ed8)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Zoltán Böszörményi
7768da3fe8 kernel.bbclass: Use full versions for inter-package dependencies
If the kernel configuration enables module signing but no key
is provided, then the kernel generates one during the kernel build.

The current runtime-dependency references (with only package names
without full versions) allow mixed package installations from different
rebuilds of the same kernel version.

This creates an issue because then the modules either don't work
or taint the kernel.

Tighten RDEPENDS with the full package version, i.e. use (= ${EXTENDPKGV})
markers for inter-package dependencies.

The kernel will pull in the kernel-modules subpackage of the same
exact version automatically if KERNEL_SPLIT_MODULES="0" is set.
Otherwise the situation is the same as with the old default with
one subpackage per kernel module where they have to be upgraded
manually.

(From OE-Core rev: 56428d15803733e14d6f1faf5f77eb933ef966f3)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Zoltán Böszörményi
e6fae346ea Allow opt-out of split kernel modules
For some use cases, a monolithic kernel-modules package containing
all modules built from the kernel sources may be preferred.
For one, download time is shorter and installation time is faster.

Set KERNEL_SPLIT_MODULES="0" for this in. The default is one subpackage
per module.

Also, adapt kernel.bbclass to KERNEL_SPLIT_MODULES != "1" case
Extra RDEPENDS and other inter-package references are needed in
this case.

(From OE-Core rev: 4b13409d82e9d576e32b978f7a42a143127ab894)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Zoltán Böszörményi
2190abe8bb kernel-module-split.bbclass: Support zstd-compressed modules
(From OE-Core rev: 796d4661a6121dba878c29d2388258c795be3aeb)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Andrej Valek
95f0ce92b6 busybox: 1.33.1 -> 1.34.0
- update to next stable version 1.34.0
- refresh defconfig
- remove and refresh already merged patches

(From OE-Core rev: d0e694ef4ec7bd862bdefee494210e3878152b44)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Kai Kang
d270dfde25 libcgroup: fix installed-vs-shipped qa issue
When pam is enabled, it complains installed-vs-shipped QA issue:

| ERROR: libcgroup-2.0-r0 do_package: QA Issue: libcgroup:
         Files/directories were installed but not shipped in any package:
|  /lib/security/pam_cgroup.a

(From OE-Core rev: 21eccd79bdaa93b407da9cf0902d57fd225141ee)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Hongxu Jia
b3d2fde4f3 nativesdk-pseudo: Fix to work with glibc 2.34 systems
Since commit [df313aa810 pseudo: Fix to work with glibc 2.34
systems] applied, it fixed native only. And nativesdk has
the similar issue

Tweak library search order, make prebuilt lib ahead of recipe lib,
after apply the fix:
...
$ readelf -a lib/pseudo/lib64/libpseudo.so | grep 'Shared library'
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library:[libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
...

(From OE-Core rev: d6d116b5db78645958ea30be3d0572e0f6d7bd92)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Tim Orling
64f0fcb236 python3-pytest: allow python3-pluggy >=1.0.0
Fixes ptest failures in python3-jinja2.

Backport patch from upstream, for now.

Modify upstream patch to use toml and not tomli.
We will add the new recipe for python3-tomli when
we have an upgrade to python3-pytest.

Remove this when we upgrade pytest to a version containing
the commit: fbba504cd5e1a74d528a41a11a7b82297cd7da74

(From OE-Core rev: b4cfb0b0dab6bc7f43bab04cdf4f16c145be0223)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Tim Orling
df27e9928c python3-pluggy: upgrade 0.13.1 -> 1.0.0
* All ptests pass on qemux86-64

pluggy 1.0.0 (2021-08-25)

Deprecations and Removals

    #116: Remove deprecated implprefix support. Decorate hook
	  implementations using an instance of HookimplMarker instead.
The deprecation was announced in release 0.7.0.
    #120: Remove the deprecated proc argument to call_historic. Use
	  result_callback instead, which has the same behavior. The
deprecation was announced in release 0.7.0.
    #265: Remove the _Result.result property. Use _Result.get_result()
	  instead. Note that unlike result, get_result() raises the
exception if the hook raised. The deprecation was announced in release
0.6.0.
    #267: Remove official support for Python 3.4.
    #272: Dropped support for Python 2. Continue to use pluggy 0.13.x
	  for Python 2 support.
    #308: Remove official support for Python 3.5.
    #313: The internal pluggy.callers, pluggy.manager and pluggy.hooks
	  are now explicitly marked private by a _ prefix (e.g.
pluggy._callers). Only API exported by the top-level pluggy module is
considered public.
    #59: Remove legacy __multicall__ recursive hook calling system. The
	 deprecation was announced in release 0.5.0.

Features

    #282: When registering a hookimpl which is declared as
	  hookwrapper=True but whose function is not a generator
function, a PluggyValidationError exception is now raised.

    Previously this problem would cause an error only later, when
calling the hook.

    In the unlikely case that you have a hookwrapper that returns a
generator instead of yielding directly, for example:

    def my_hook_real_implementation(arg):
        print("before")
        yield
        print("after")

    @hookimpl(hookwrapper=True)
    def my_hook(arg):
        return my_hook_implementation(arg)

    change it to use yield from instead:

    @hookimpl(hookwrapper=True)
    def my_hook(arg):
        yield from my_hook_implementation(arg)

    #309: Add official support for Python 3.9.

(From OE-Core rev: 4cb9623933e3daeb754c06263167be61100f6c0a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Peter Kjellerstedt
f42b404a99 bitbake.conf: Use the new variable override syntax in a comment
It is probably a good idea if the comment that describes how variable
overrides work use the new override syntax...

(From OE-Core rev: 1fd8882db9011a6fe18da7611fba3426fd5cb00d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
0e6b9a1e5f oeqa/selftest/reproducibile: Exclude rust packages
rust-llvm-liblto and rust-llvm-staticdev sometimes vary in contents. Exclude
them from the test for now until we can work on and resolve the issues.

(From OE-Core rev: 60c12da5aae2534c972df851f26e4523fed03afc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
b7fc3113a7 rust-common: Add LDFLAGS to cc wrapper
The -cc wrapper can be used for linking and can fail if key flags are missing:

| error: linking with `[path]/tmp/work/x86_64-linux/rust-native/1.54.0-r0/wrapper/target-rust-cc`

Add the flags to fix builds even if that is counter-intuitive (cc would
normally be used for compiling and ccld for linking).

(From OE-Core rev: 62242e83c49b81a9ea65c9a1f5957a7c309d910a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
fe90461e2d rust: Avoid buildtools+uninative issues with glibc symbols mismatches
If we use an external buildtools tarball, that combined with uninative results
in build failures with symbol mismatches. This was tracked down to the prebuilt
rust binaries that are downloaded. The libc/loader used to load them is used to
execute target binaries/libraries and therefore anything with built with a newer
libc would fail.

Add code to use patchelf to change the interpreter to our own uninative one if
present which ensures the newer libc and loader are used, hence avoiding the issue.

(From OE-Core rev: 099c761ffddcc828329d3083cc8f3d24b43e9277)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
c9de49fb80 oeqa/selftest/distrodata: Fix up rust maintainer testing
Since the target rust recipe is skipped but the native variant is not,
this confuses the test. Add rust to the list of special cases to avoid
test failures as the current code can't handle the skip.

(From OE-Core rev: 842cba1820416d79e30e3f1940e2486707fc7cff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
d6f10a5d65 rust: Skip target recipe since it doesn't work
The target rust recipe is known not to work. Add a SkipRecipe entry for
that so world builds don't include something known to be broken and
hence give users a sensible message if they do try and build it rather
than a build failure.

(From OE-Core rev: 16c77c82ff6635b0180690ea117e2eff8fd63afb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
a4d2b03d3b rust-llvm: Add missing HOMEPAGE
Add a missing HOMEPAGE entry to the recipe (fixing a selftest failure).

(From OE-Core rev: 71782d90cff825bd9c20d49590245565a6194bf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
f37be5cafa rust-native: Avoid stripped warning
Instead of giving the following warning, hide it since we don't plan to change it.

WARNING: rust-native-1.54.0-r0 do_populate_sysroot: File '/media/build1/poky/build/tmp/work/x86_64-linux/rust-native/1.54.0-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-linux/bin/rust-llvm-dwp' from rust-native was already stripped, this will prevent future debugging!

(From OE-Core rev: ec5f0c77882ccbd5797519f5ded4e528eb687008)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
cfc8d6dd64 cargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions
native/nativesdk variants of a cross-canadian recipe don't make any
sense so avoid these recipe variants.

(From OE-Core rev: 4ba7fb0b6a5021bca73aade4af390e8e017b491a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
37b2059a7f rust-cross-canadian-common: Use rust.inc directly, not rust-target
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>
2021-08-26 22:09:44 +01:00
Richard Purdie
857cf2d7b3 rust-cross*: Fix OVERRRIDE references in task signature computation
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>
2021-08-26 22:09:44 +01:00
Randy MacLeod
9632185627 rust: remove Rust version 1.51.0 toolchain
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>
2021-08-26 22:09:44 +01:00
Randy MacLeod
83651eda51 cargo_common: remove http_proxy
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>
2021-08-26 22:09:44 +01:00
Vinay Kumar
766f9eca83 rust-common.inc: Fix build failure with qemuppc64.
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>
2021-08-26 22:09:44 +01:00
Randy MacLeod
16093ecf50 maintainers: Add myself as maintainer for rust pkgs
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>
2021-08-26 22:09:44 +01:00
Randy MacLeod
284f0b11a5 cargo/rust/rustfmt: exclude from world
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>
2021-08-26 22:09:43 +01:00
Randy MacLeod
3550bfe387 rust: update the README to conform to being in oe-core
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>
2021-08-26 22:09:43 +01:00
Randy MacLeod
e9263ee764 rust: mv README.md to recipes-devtools/rust/README-rust.md
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>
2021-08-26 22:09:43 +01:00
Randy MacLeod
61e1570c6a rust: initial merge of most of meta-rust
In the meta-rust repo at commit:
   448047c Upgrade to 1.54.0 (#359)

Make the required directories:
  mkdir ../oe-core/meta/recipes-devtools/rust
  mkdir ../oe-core/meta/recipes-devtools/cargo
  mkdir ../oe-core/meta/recipes-example
and then:
  cp recipes-devtools/rust/* ../oe-core/meta/recipes-devtools/rust
  cp recipes-devtools/cargo/* ../oe-core/meta/recipes-devtools/cargo
  cp lib/crate.py ../oe-core/meta/lib
  cp recipes-example/* ../oe-core/meta/recipes-example
  cp conf/distro/include/rust_* ../oe-core/meta/conf/distro/include/
  cp classes/* ../oe-core/meta/classes/
  cp recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb ../oe-core/meta/recipes-core/packagegroups

(From OE-Core rev: 3ed57578cca93ff1ba4e0bf3f25566e10659a2f9)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Alexander Kanavin
29b3fe80ee harfbuzz: upgrade 2.8.2 -> 2.9.0
(From OE-Core rev: 1e99e5cd02c628db4f7058a98fe33670f6f85e96)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
16b2d77a57 bind: upgrade 9.16.19 -> 9.16.20
(From OE-Core rev: 58bcdd72ccd21d598008cdbde4a0f27e4d3740cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
b8c69b9a31 json-glib: upgrade 1.6.2 -> 1.6.4
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>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
62d28cc254 gi-docgen: upgrade 2021.6 -> 2021.7
(From OE-Core rev: 3d1a76f28160a6a56f26e360c010096c763d40dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
d587428e48 libnsl2: upgrade 1.3.0 -> 2.0.0
(From OE-Core rev: 5420eebf63ed142a3c1897913410beb8bfce9ed9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
fa6573092f vala: upgrade 0.52.4 -> 0.52.5
(From OE-Core rev: 7e33b8ca62122cd04d6c7f28183da7cd2c678775)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
63daa467d5 python3-mako: upgrade 1.1.4 -> 1.1.5
(From OE-Core rev: 55e168eb2961dc4c1ae99a3ddee31b36d84c8fa9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
1ddfa92934 ell: upgrade 0.42 -> 0.43
(From OE-Core rev: 40ffd1e0e581868bee90f5c43ea84dfa470eda78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
426bc4fefa openssh: upgrade 8.6p1 -> 8.7p1
(From OE-Core rev: e744b59d6ba40ba1b810d8912ea65778655103bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
1280c8191c git: upgrade 2.32.0 -> 2.33.0
(From OE-Core rev: 94ea5d103a8941d710814f6e2c579626b54a40eb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
4de67aba89 ccache: upgrade 4.3 -> 4.4
License-Update: formatting
(From OE-Core rev: 1c30f8005a69fcb910d70fa257bdf305c1220696)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
ab1d826a70 util-linux: upgrade 2.37.1 -> 2.37.2
(From OE-Core rev: d469dfa08ae52ca720ef1315994050f956b6ea50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
e617435893 glib-2.0: upgrade 2.68.3 -> 2.68.4
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>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
3ae0b7c128 gnu-efi: update 3.0.13 -> 3.0.14
Removed non-existent header from licensing.

(From OE-Core rev: 2e768f1dc6fa96cb2155eb0c1f168c4405032948)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
bcdaf2486b binutils: drop target flex/bison from build dependencies
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>
2021-08-26 08:07:55 +01:00
Randy MacLeod
e4905f5566 openssl: upgrade from 1.1.1k to 1.1.1l
Includes fixes for:

CVE: CVE-2021-3711
CVE: CVE-2021-3712

as described by:
   https://www.openssl.org/news/secadv/20210824.txt

Ptest results on qemux86-64 with kvm:
   All tests successful.
   Files=158, Tests=2532, 137 wallclock secs \
     ( 2.59 usr  0.33 sys + 104.71 cusr 44.19 csys = 151.82 CPU)
   Result: PASS
   DURATION: 137

(From OE-Core rev: fdb6d8c0604e7170ad0c361d54ce9a19253afe36)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Peter Kjellerstedt
85a97d3985 lttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again
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>
2021-08-26 08:07:55 +01:00
Paul Gortmaker
ef3ad59d2a ltp: backport ioctl_ns05 fix from upstream
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>
2021-08-26 08:07:55 +01:00
Trevor Gamblin
120e36e89c bluez: upgrade 5.60 -> 5.61
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>
2021-08-26 08:07:55 +01:00
Richard Purdie
4cc61c81f7 pseudo: Fix to work with glibc 2.34 systems
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>
2021-08-25 21:53:34 +01:00
Alexander Kanavin
c3e72164e7 libjitterentropy: remove contaminated hashequiv entry
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>
2021-08-24 09:37:22 +01:00
Alexander Kanavin
47d982e36f mc: fix reproducibility
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>
2021-08-24 09:37:21 +01:00
Scott Murray
3874ce6ee5 prservice: remove connection caching
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>
2021-08-23 08:30:55 +01:00
Alexander Kanavin
46a8566183 qemu: add a hint on how to enable CPU render nodes when a suitable GPU is absent
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>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
6f4afe940c kea: backport a patch to fix build errors exposed by latest update batch
(From OE-Core rev: 043e32278e91843277143777b27a498fa27f0a8f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
70cf1cf5e5 rng-tools: upgrade 6.13 -> 6.14
(From OE-Core rev: 28b3d8c01966d16f8ab8d61beaf9527f987f1ec6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
fd6760fb5f re2c: upgrade 2.1.1 -> 2.2
(From OE-Core rev: de48dcc93f83af37ea2c0d07a53e9cbb10279dca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
3ca3a89957 enchant2: upgrade 2.3.0 -> 2.3.1
(From OE-Core rev: c712c0d57f432eadea4e903d7712155b748a5e56)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
f2f0c68aab diffoscope: upgrade 179 -> 181
(From OE-Core rev: 8052c4a0f39846b4565de0a2ba466e15e39f656b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
20cb0b322d boost: upgrade 1.76.0 -> 1.77.0
(From OE-Core rev: ef0531a6ac74bb45ed4bfd4a2d870bedecca02cb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
5dadf29a7d webkitgtk: upgrade 2.32.2 -> 2.32.3
(From OE-Core rev: ea785ab3aabf04acb13ed0162b4807aed0562510)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
218748fcae libwebp: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: fc6b6f8870bd672616a74dc58b8c19a5d4751e18)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
25e0338c65 wireless-regdb: upgrade 2021.04.21 -> 2021.07.14
(From OE-Core rev: 7f4d11e8da6bb79232535c42ad41798a56162ac7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
6496a1b4b8 linux-firmware: upgrade 20210511 -> 20210818
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>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
1a949f5685 xserver-xorg: upgrade 1.20.12 -> 1.20.13
(From OE-Core rev: 5ccfd621415aa4e5a3db55fab0480ba29f35eb29)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
e792577952 libxft: upgrade 2.3.3 -> 2.3.4
(From OE-Core rev: 1e75e8111e33799169b7a137ef7a9a0902c9b690)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
4c99067075 libxfont2: upgrade 2.0.4 -> 2.0.5
(From OE-Core rev: 169fad9174370829a6a06468313675de3b43cac6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
009b7b1d04 libinput: upgrade 1.18.0 -> 1.18.1
(From OE-Core rev: 4451a250741fc5bb916322e8b86e514b1d5aed50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
10e15f62c1 mesa: upgrade 21.1.5 -> 21.2.1
(From OE-Core rev: 0d0a0902fe8db8a87c16be3b722e3b8d5f193785)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
fbc6717a2e pango: upgrade 1.48.7 -> 1.48.9
(From OE-Core rev: 882a4ed75e08cf704fdd4c4f19579b6300c4411d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00